1document.createElement("picture"),$(document).ready(function(){var searchInput,searchDropdown,searchIcon,closeIcon,SMCarousel,SMCarouselTwo,thisHeight,contentTop,navbar,burger,toTopBtn,anchorNavElem,hiddenElements,hiddenAccordion,teaserAnchorNavElem,applyVoucherForm;function initProductFeatures(){var productFeaturesElem,productfeatures=$(".productfeatures"),pfElements=$(".productfeatures .carousel__item");$(window).width()<helperObj.breakpointSM?(productFeaturesElem=$(".productfeatures .swiper-container"),$(".break").remove(),productFeaturesElem.each(function(index){var productFeaturesCarousel;$(this).hasClass("initialized")||1==$(this).find(".carousel__item").length||(productFeaturesCarousel=new Swiper($(this),{effect:"coverflow",coverflowEffect:{rotate:0,slideShadows:!1,stretch:100},roundLengths:!0,centeredSlides:!0,setWrapperSize:!0,slidesPerView:1,slideToClickedSlide:!0,pagination:{el:".swiper-container .swiper-pagination",type:"bullets",dynamicBullets:!0},breakpoints:{768:{slidesPerView:1,spaceBetween:20},1023:{slidesPerView:1,spaceBetween:150}},on:{init:function(){$(this.el).addClass("initialized")},resize:function(){window.innerWidth>helperObj.breakpointSM&&productFeaturesCarousel.destroy()},beforeDestroy:function(){$(this.el).removeClass("initialized"),productfeatures.removeClass("initializedTablet").removeClass("initializedDesktop")}}}))})):$(window).width()<helperObj.breakpointMD&&$(window).width()>=helperObj.breakpointSM?productfeatures.hasClass("initializedTablet")||($(".break").remove(),productfeatures.addClass("initializedTablet").removeClass("initializedDesktop"),pfElements.each(function(i,l){i%3==0&&0!=i&&$(l).before('<span class="break w-100"><span class="clearfix"></span><hr/></span>')})):productfeatures.hasClass("initializedDesktop")||($(".break").remove(),productfeatures.addClass("initializedDesktop").removeClass(" initializedTablet"),pfElements.each(function(i,l){i%4==0&&0!=i&&$(l).before('<span class="break w-100"><span class="clearfix"></span><hr/></span>')}))}function initSellingSlot(){new Swiper(".pdp-carousel .swiper-container",{preventClicks:!1,preventClicksPropagation:!1,slidesPerView:1,loop:!0,pagination:{el:".pdp-carousel .swiper-pagination",type:"bullets",dynamicBullets:!0,clickable:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}}).on("slideChange",function(){$("#videoplayerMobile > iframe").attr("src",$("#videoplayerMobile > iframe").attr("data-src"))});var zoomType="mouseover",zoomType=$(window).width()<helperObj.breakpointMD?"none":($(".zoom").trigger("zoom.destroy"),$(".zoom").zoom({on:"mouseover"}),"mouseover"),thumbs=$(".selling-slot .thumbs");thumbs.find("img").on({click:function(event){thumbs.find("img").removeClass("active"),$(this).addClass("active"),!0===$(this).hasClass("video")?($(".zoom").trigger("zoom.destroy"),$("#videoplayer > iframe").attr("src",$(this).attr("data-src")),$("#videoplayer").show(),$(".zoom").hide(),$(".custom-badge").hide()):($("#videoplayer > iframe").attr("src",""),$("#videoplayer").hide(),$(".zoom").trigger("zoom.destroy"),$(".zoom").show(),$(".custom-badge").show(),$("#bigProductImg").attr("src",$(this).attr("data-src")),"mouseover"===zoomType&&$(".zoom").zoom({on:zoomType}))}})}function checkMobileNav(){var headerContent,logoWidth,mainNav,metaNav;$(window).width()<helperObj.breakpointMD?helperObj.navbar.addClass("not-fixed-top"):(helperObj.navbar.removeClass("fixed-top"),$(".header__usernav").fadeIn("fast"),$(".navbar-nav").removeAttr("style"),"true"==$(".navbar-toggler").attr("aria-expanded")&&$(".navbar-toggler").trigger("click"),logoWidth=(headerContent=$(".header__wrapper")).find(".header__logo").outerWidth(),mainNav=headerContent.find(".navbar"),metaNav=headerContent.find(".metanav__wrapper"),logoWidth+mainNav.outerWidth()+metaNav.outerWidth()+20>headerContent.outerWidth()?headerContent.addClass("break-nav"):headerContent.removeClass("break-nav"))}function initGridCarousel(){$(window).width()<helperObj.breakpointSM&&$(".grid-carousel .swiper-container").each(function(index){var gridCarousel;$(this).hasClass("initialized")||1==$(this).find(".carousel__item").length||(gridCarousel=new Swiper($(this),{effect:"coverflow",coverflowEffect:{rotate:0,slideShadows:!1},roundLengths:!0,centeredSlides:!0,setWrapperSize:!0,slidesPerView:1,slideToClickedSlide:!0,pagination:{el:".grid-carousel .swiper-pagination",type:"bullets",dynamicBullets:!0},breakpoints:{768:{slidesPerView:1},1023:{slidesPerView:1}},on:{init:function(){$(this.el).addClass("initialized")},resize:function(){window.innerWidth>=helperObj.breakpointSM&&gridCarousel.destroy()},slideChange:function(){if("undefined"!=typeof YT)for(var i=0;i<vids.length;
1i++)vids[i][VILEDA.videos.DOM_ELEMENT_OBJECT_PROPERTY_NAME].closest(".swiper-slide")&&this.el.dataset.carouselId===vids[i][VILEDA.videos.DOM_ELEMENT_OBJECT_PROPERTY_NAME].closest(".swiper-slide").dataset.carouselId&&vids[i]&&"true"==vids[i][VILEDA.videos.DOM_ELEMENT_OBJECT_PROPERTY_NAME].dataset.ytReady&&(vids[i].stopVideo(),VILEDA.videos.enableImageOverlay)&&setOverlayBackground(vids[i].a.nextElementSibling)},beforeDestroy:function(){$(this.el).removeClass("initialized")}}}),VILEDA.sliders.push(gridCarousel))})}function updateTextNav(carousel,elemIndex,slideDelayVal){slideDelay=slideDelayVal+500;slideDelayVal=parseInt(helperObj.contentWidthLG/$(carousel).find(".item__textnav").length);$(carousel).find(".item__textnav").removeClass("active").eq(elemIndex).addClass("active"),$(carousel).find(".indicator__progress").animate({width:"100%",marginRight:"0"},slideDelay,function(){$(carousel).find(".indicator__progress").css({width:"0",marginRight:"100%"})}),window.innerWidth>=helperObj.breakpointLG?($(carousel).find(".item__textnav, .textnav__wrapper").css({width:slideDelayVal,flex:"none"}),$(carousel).find(".item__textnav:first-child, .item__textnav:last-child").css({"flex-grow":"1"})):$(carousel).find(".item__textnav, .textnav__wrapper").removeAttr("style")}function initCarousel(){$(".suggested-products-carousel .swiper-container").each(function(){new Swiper($(this),{observer:!0,observeParents:!0,slidesPerView:3,spaceBetween:1,watchOverflow:!0,pagination:{el:".suggested-products-carousel .swiper-pagination",type:"bullets",dynamicBullets:!0},navigation:{nextEl:$(this).find(".swiper-button-next"),prevEl:$(this).find(".swiper-button-prev")},breakpoints:{767:{slidesPerView:1},1023:{slidesPerView:2}}}).update()})}function anchorScroll(targetElem,scrollModifier){scrollModifier=null!=scrollModifier?scrollModifier:70,targetElem=($this=targetElem).hash.replace("#",""),targetElem=$('a[name="'+targetElem+'"]').offset();$(window).width()<helperObj.breakpointMD&&(scrollModifier=0),anchorNavElem.removeClass("active"),$($this).addClass("active"),TweenLite.to($("html,body"),.4,{scrollTop:targetElem.top-scrollModifier})}$(".cookie-bar").cookieBar({closeButton:".my-close-button"}),helperObj={breakpointXS:"320",breakpointSM:"768",breakpointMD:"1024",breakpointLG:"1440",contentWidthLG:"1280",navbar:$("header"),searchIsActive:!1},$('input[type="checkbox"].switch').bootstrapSwitch({size:"small",onText:"ON",offText:"OFF",onSwitchChange:function(event,state){return event.preventDefault(),console.log(state,event.isDefaultPrevented())}}),null!=navigator.userAgent.match(/iPad/i)&&($("body").css("cursor","pointer"),$(document).on("touchmove",function(e){$(".navbar-default .navbar-nav > li.dropdown").hasClass("open")&&$(".navbar-default .navbar-nav > li.dropdown").removeClass("open")})),window.addEventListener("load",function(){var forms=document.getElementsByClassName("needs-validation");Array.prototype.filter.call(forms,function(form){form.addEventListener("submit",function(event){!1===form.checkValidity()?(event.preventDefault(),event.stopPropagation(),$("body").addClass("not-valid")):(event.preventDefault(),event.stopPropagation(),$("body").addClass("valid"),$("#exampleModalLong").modal("hide"),$("#modalConfirm").modal("show")),form.classList.add("was-validated")},!1)})},!1),$(window).resize(function(){initGridCarousel(),initProductFeatures(),checkMobileNav(),initSellingSlot()}),searchInput=$(".search input"),searchDropdown=$(".search .dropdown-menu"),searchIcon=searchInput.siblings(".search-icon"),closeIcon=searchInput.siblings(".close-icon"),$(".dropdown").on("hide.bs.dropdown",function(){$(".modal-backdrop").remove()}),$(".dropdown").on("show.bs.dropdown",function(){$("body").append('<div class="modal-backdrop nav fade show"></div>')}),searchInput.on("click touchstart",function(event){event.stopPropagation(),helperObj.searchIsActive||$(this).addClass("expand")}),searchInput.on("focus",function(){helperObj.searchIsActive||(helperObj.searchIsActive=!0,$(this).addClass("expand"),$("body").append('<div class="modal-backdrop nav fade"></div>'),$(".modal-backdrop").addClass("show").fadeIn(),searchDropdown.fadeIn("fast"),$(this).siblings(".search-icon").addClass("d-none"),$(this).siblings(".close-icon").removeClass("d-none"))}),$(document).on({"click touchstart":function(event){helperObj.searchIsActive&&(searchDropdown.fadeOut("fast"),searchInput.removeClass("expand"),$(".modal-backdrop").remove(),searchIcon.removeClass("d-none"),closeIcon.addClass("d-none"),helperObj.searchIsActive=!1)}}),closeIcon.on("click touchstart",function(event){searchInput.val(""),$(document).trigger("click")}),searchDropdown.on("click touchstart",function(event){event.stopPropagation()}),$(".stage-carousel .swiper-container").each(function(index){var slideDelayVal=$(this).closest(".stage-carousel").data("autoslide"),stageCarousel=(slideDelay="number"==typeof slideDelayVal&&{delay:slideDelayVal},new Swiper($(this),{loop:!0,speed:600,roundLengths:!0,disableOnInteraction:!0,slidesPerView:1,parallax:!0,autoplay:slideDelay,pagination:{el:".stage-carousel .swiper-pagination",type:"bullets",dynamicBullets:!0},on:{init:function(){var carousel;carousel=this,$(carousel.el).find(".item__textnav").on({click:function(event){event.preventDefault();event=$(this).index()+1;carousel.slideTo(event)}}),updateTextNav(this.el,this.realIndex,slideDelayVal)},slideChange:function(){if(updateTextNav(this.el,this.realIndex,slideDelayVal),"undefined"!=typeof YT)for(var i=0;i<vids.length;i++)this.el.dataset.carouselId===vids[i][VILEDA.videos.DOM_ELEMENT_OBJ
1ECT_PROPERTY_NAME].dataset.carouselId&&vids[i]&&"true"==vids[i][VILEDA.videos.DOM_ELEMENT_OBJECT_PROPERTY_NAME].dataset.ytReady&&(vids[i].stopVideo(),VILEDA.videos.enableImageOverlay)&&setOverlayBackground(vids[i][VILEDA.videos.DOM_ELEMENT_OBJECT_PROPERTY_NAME].nextElementSibling)},sliderMove:function(){updateTextNav(this.el,this.realIndex,slideDelayVal)},resize:function(){updateTextNav(this.el,this.realIndex,slideDelayVal)}}}));VILEDA.sliders.push(stageCarousel)}),$(".product-carousel .swiper-container").each(function(){new Swiper($(this),{slidesPerView:3,pagination:{el:".product-carousel .swiper-pagination",type:"bullets",dynamicBullets:!0},navigation:{nextEl:$(this).parent().next(".swiper-button-next"),prevEl:$(this).parent().prev(".swiper-button-prev")},breakpoints:{767:{slidesPerView:1},1023:{slidesPerView:2}}})}),$(".swiper-button-next").on("click",function(){$(this).closest(".product-carousel").slideNext?.()}),$(".product-carousel .swiper-container").find(".carousel__item").on({mouseover:function(event){$(this).find(".carousel__img").attr("src",$(this).find(".carousel__img").attr("data-hover-src"))},mouseout:function(event){$(this).find(".carousel__img").attr("src",$(this).find(".carousel__img").attr("data-src"))}}),$(document).on("show.bs.modal","#modalAddToBasketPDP",initCarousel),$(document).on("show.bs.modal","#modalAddToBasket",initCarousel),$(document).on("show.bs.modal","#js-popup-notification",function(){$(".js-product-popup-mobile .swiper-container").each(function(){new Swiper($(this),{observer:!0,observeParents:!0,slidesPerView:1,spaceBetween:1,watchOverflow:!0,pagination:{el:".js-product-popup-mobile .swiper-pagination",type:"bullets",dynamicBullets:!0}}).update()})}),new Swiper(".content-carousel .swiper-container",{preventClicks:!1,preventClicksPropagation:!1,speed:400,roundLengths:!0,setWrapperSize:!0,slidesPerView:1,centeredSlides:!0,spaceBetween:100,slidesOffsetBefore:0,slidesOffsetAfter:0,effect:"coverflow",coverflowEffect:{rotate:0,slideShadows:!0},pagination:{el:".content-carousel .swiper-pagination",type:"bullets",dynamicBullets:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},breakpoints:{1023:{spaceBetween:-60}}}),initGridCarousel(),new Swiper(".order-form .swiper-container",{preventClicks:!1,preventClicksPropagation:!1,speed:400,roundLengths:!0,setWrapperSize:!0,slidesPerView:3,slidesOffsetBefore:50,spaceBetween:30,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},breakpoints:{768:{spaceBetween:0}}}),0==$(".sm-carousel.no-carousel").length?((SMCarousel=new Swiper(".sm-carousel-three .swiper-container",{slidesPerView:3,spaceBetween:10,navigation:{nextEl:".sm-carousel .swiper-button-next",prevEl:".sm-carousel .swiper-button-prev"},breakpoints:{767:{slidesPerView:1,spaceBetween:0},1023:{slidesPerView:2,spaceBetween:10}},on:{resize:function(){var thisHeight=SMCarousel.height+"px";SMCarousel.slides.each(function(index){$(this).css("height",thisHeight)})}}})).height&&(thisHeight=SMCarousel.height+"px",SMCarousel.slides.each(function(index){$(this).css("height",thisHeight)})),(SMCarouselTwo=new Swiper(".sm-carousel-two .swiper-container",{slidesPerView:2,spaceBetween:10,navigation:{nextEl:".sm-carousel-two .swiper-button-next",prevEl:".sm-carousel-two .swiper-button-prev"},breakpoints:{767:{slidesPerView:1,spaceBetween:0}},on:{resize:function(){var thisHeight=SMCarouselTwo.height+"px";SMCarouselTwo.slides.each(function(index){$(this).css("height",thisHeight)})}}})).height&&(thisHeight=SMCarouselTwo.height+"px",SMCarouselTwo.slides.each(function(index){$(this).css("height",thisHeight)}))):(thisHeight=$(".sm-carousel.no-carousel").height()+"px",$(".sm-carousel.no-carousel .carousel__item").each(function(index){$(this).css("height",thisHeight)})),new Swiper(".image-carousel-xs .swiper-container",{speed:400,roundLengths:!0,setWrapperSize:!0,slidesPerView:1,centeredSlides:!1,spaceBetween:-100,slidesOffsetBefore:0,slidesOffsetAfter:0,effect:"coverflow",coverflowEffect:{rotate:5,slideShadows:!1},pagination:{el:".image-carousel .swiper-pagination",type:"bullets",dynamicBullets:!0}}),new Swiper(".image-carousel-md .swiper-container",{speed:400,roundLengths:!0,setWrapperSize:!0,slidesPerView:5,centeredSlides:!1,spaceBetween:10,effect:"slide",navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}}),$(".search-results .results, .mywishlist .wishlist").find(".card").on({mouseover:function(event){$(this).find(".img-fluid").attr("src",$(this).find(".img-fluid").attr("data-hover-src"))},mouseout:function(event){$(this).find(".img-fluid").attr("src",$(this).find(".img-fluid").attr("data-src"))}}),0<$(".productcomparison").length&&$(".productcomparison").each(function(index){var alignmentModifier=3<$(this).find(".productcomparison--wrapper .content:first > div").length?"end":"start";$(this).find(".content").removeClass("justify-content-start justify-content-end ml-auto").addClass("justify-content-"+alignmentModifier+" ml-auto")}),navbar=$("header"),0<$("content").length?(contentTop=$("content").position().top,$("content").position().top,navbar.height()):contentTop=0,burger=$(".navbar-toggler"),(toTopBtn=$(".to-top-btn")).on({"click touchstart":function(event){return event.preventDefault(),TweenLite.to($("html,body"),.6,{scrollTop:"0"}),!1}}),burger.on({click:function(event){return event.preventDefault(),"true"==burger.attr("aria-expanded")?($("body").removeClass("no-scroll"),$(".header__usernav").removeClass("invisible")):(event=$(window).height()-$(".header__wrapper").outerHeight()+5,$(window).scrollTop(),$(".navbar-nav").height(event),$(".header__usernav").addClass("invisible")),!0}}),$(window).scroll(function(){var navStatus=$("#navbarContent").hasClass("show");$(window).scrollTop()<=contentTop||1==navStatus?toTopBtn.removeClass("active"):toTopBtn.addClass("active"),$(window).width()>helperObj.breakpointMD-1?$(window).scrollTop()<=contentTop||1==navStatus?navbar.removeClass("fixed-top"):navbar.addClass("fixed-top"):navbar.addClass("not-fixed-top").removeClass("fixed-top")}),checkMobileNav(),anchorNavElem=$('.anchornav a[href^="#"]'),teaserAnchorNavElem=$(".teaser-panel__elem.anchornav"),anch
1orNavElem.first().addClass("active"),anchorNavElem.on({click:function(event){event.preventDefault(),anchorScroll(this)}}),teaserAnchorNavElem.each(function(index){var elemLinks=$(this).find("a");$(this).off().on({click:function(event){event.preventDefault(),anchorScroll(elemLinks[0])}}),elemLinks.off().on({click:function(event){event.preventDefault(),anchorScroll(this)}})}),$(".to-top").on({click:function(event){TweenLite.to($(".mobileNav .navbar-nav"),.6,{scrollTop:"0"})}}),$(".add-to-cart").each(function(){var minus=$(this).find(".minus"),plus=$(this).find(".plus"),maxItems=$(this).find(".cart").attr("data-max"),minItems=$(this).find(".cart").attr("data-min"),thisCart=$(this).find(".cart"),thisMinItem=$(this).find(".minItems"),thisMaxItem=$(this).find(".maxItems");plus.on({"click touchstart":function(event){event.preventDefault();event=parseInt(thisCart.val());event<maxItems?(thisMinItem.addClass("d-none"),thisCart.val(++event),VILEDA.productDetail.handleActiveVolumePrice(VILEDA.productDetail.findMatchingVolumePrice(event),!thisCart.closest(".stickyfooter").length)):thisMaxItem.removeClass("d-none")}}),minus.on({"click touchstart":function(event){event.preventDefault();event=parseInt(thisCart.val());minItems<event?(thisMaxItem.addClass("d-none"),thisCart.val(--event),VILEDA.productDetail.handleActiveVolumePrice(VILEDA.productDetail.findMatchingVolumePrice(event),!thisCart.closest(".stickyfooter").length)):thisMinItem.removeClass("d-none")}}),thisCart.on({input:function(event){var items=parseInt(thisCart.val());minItems<=items&&items<=maxItems?(thisMaxItem.addClass("d-none"),thisMinItem.addClass("d-none"),thisCart.val(items),VILEDA.productDetail.handleActiveVolumePrice(VILEDA.productDetail.findMatchingVolumePrice(items),!thisCart.closest(".stickyfooter").length)):maxItems<items?(thisMaxItem.removeClass("d-none"),thisCart.val(maxItems)):items<minItems&&(thisMinItem.removeClass("d-none"),thisCart.val(minItems))}}),thisCart.on({focusout:function(event){var items=parseInt(thisCart.val());isNaN(items)&&(thisMaxItem.addClass("d-none"),thisMinItem.addClass("d-none"),thisCart.val(minItems),VILEDA.productDetail.handleActiveVolumePrice(VILEDA.productDetail.findMatchingVolumePrice(minItems),!thisCart.closest(".stickyfooter").length))}})}),(teaserAnchorNavElem=$(".minElems")).each(function(){var $this=$(this),paragraphs=$this.find("p").length,textArr=[],text_more="";if(1<paragraphs){$this.find("p").each(function(i,e){textArr.push($(e).text())});for(var paragraphs=textArr[0],i=1,l=textArr.length;i<l;i++)text_more+="<p>"+textArr[i]+"</p>";$(this).html("<p>"+paragraphs+"</p>").find("p").append('<a href="#" class="more">more +</a>'),$(this).append('<div style="display:none;" class="text-more">'+text_more+"</div>").find(".text-more p:last").append('<a href="#" class="less">less -</a>')}}),$("a.more",teaserAnchorNavElem).click(function(event){event.preventDefault(),$(this).parent().parent().find(".text-more").show(),$(this).hide()}),$("a.less",teaserAnchorNavElem).click(function(event){event.preventDefault(),$(this).parent().parent().hide().parent().find("a.more").show()}),initSellingSlot(),initProductFeatures(),teaserAnchorNavElem=$(".toggle-button"),hiddenElements=$(".hidden-elements"),$(teaserAnchorNavElem).click(function(event){event.preventDefault(),hiddenElements.hasClass("closed")?(hiddenElements.slideDown().removeClass("closed").addClass("open"),$(this).attr("data-orig",$(this).html()),$(this).html("Show less")):(hiddenElements.slideUp().removeClass("open").addClass("closed"),$(this).html($(this).attr("data-orig")))}),teaserAnchorNavElem=$(".toggle-accordion"),hiddenAccordion=$(".hidden-accordion"),teaserAnchorNavElem.on({"click touchstart":function(event){event.preventDefault(),hiddenAccordion.hasClass("closed")?(hiddenAccordion.slideDown().removeClass("closed").addClass("open"),$(this).attr("data-orig",$(this).html()),$(this).html($(this).data("show-less"))):(hiddenAccordion.slideUp().removeClass("open").addClass("closed"),$(this).html($(this).attr("data-orig")))}});{let stickyFooter=$(".stickyfooter"),sellingSlotTop=$(window).scrollTop();
10!==$(".selling-slot").length&&(sellingSlotTop=$(".selling-slot").position().top),$(window).scroll(function(){var footerHeight;$(window).scrollTop()>sellingSlotTop?(stickyFooter.addClass("active"),footerHeight=stickyFooter.outerHeight(),$("body").css("margin-bottom",footerHeight)):(stickyFooter.removeClass("active"),$("body").css("margin-bottom",0))})}teaserAnchorNavElem=$(".toggle_voucher"),applyVoucherForm=$("#apply-voucher"),$(teaserAnchorNavElem).click(function(event){event.preventDefault(),applyVoucherForm.hasClass("closed")?(applyVoucherForm.removeClass("closed").addClass("open"),$(this).find(".icon").addClass("icon-contract ").removeClass("icon-plus")):(applyVoucherForm.removeClass("open").addClass("closed"),$(this).find(".icon").removeClass("icon-contract ").addClass("icon-plus"))}),$(applyVoucherForm).submit(function(event){event.preventDefault(),$(".voucher-row").removeClass("d-none").addClass("d-table-row")})}),((t,e,i)=>{function n(i,n,o){i=e.createElement(i);return n&&(i.id=Z+n),o&&(i.style.cssText=o),t(i)}function o(){return i.innerHeight||t(i).height()}function r(e,i){i!==Object(i)&&(i={}),this.cache={},this.el=e,this.value=function(e){var n;return void 0===this.cache[e]&&(void 0!==(n=t(this.el).attr("data-cbox-"+e))?this.cache[e]=n:void 0!==i[e]?this.cache[e]=i[e]:void 0!==X[e]&&(this.cache[e]=X[e])),this.cache[e]},this.get=function(e){e=this.value(e);return t.isFunction(e)?e.call(this.el,this):e}}function h(t){var e=W.length,t=(A+t)%e;return t<0?e+t:t}function a(t,e){return Math.round((/%/.test(t)?("x"===e?E.width():o())/100:1)*parseInt(t,10))}function s(t,e){return t.get("photo")||t.get("photoRegex").test(e)}function l(t,e){return t.get("retinaUrl")&&1<i.devicePixelRatio?e.replace(t.get("photoRegex"),t.get("retinaSuffix")):e}function d(t){"contains"in x[0]&&!x[0].contains(t.target)&&t.target!==v[0]&&(t.stopPropagation(),x.focus())}function c(t){c.str!==t&&(x.add(v).removeClass(c.str).addClass(t),c.str=t)}function u(i){t(e).trigger(i),ae.triggerHandler(i)}function f(i){var f,o,l;G||(o=t(i).data(Y),(e=>{A=0,e&&!1!==e&&"nofollow"!==e?(W=t("."+te).filter(function(){return new r(this,t.data(this,Y)).get("rel")===e}),-1===(A=W.index(_.el))&&(W=W.add(_.el),A=W.length-1)):W=t(_.el)})((_=new r(i,o)).get("rel")),U||(U=$=!0,c(_.get("className")),x.css({visibility:"hidden",display:"block",opacity:""}),I=n(se,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),b.css({width:"",height:""}).append(I),j=T.height()+k.height()+b.outerHeight(!0)-b.height(),D=C.width()+H.width()+b.outerWidth(!0)-b.width(),N=I.outerHeight(!0),z=I.outerWidth(!0),i=a(_.get("initialWidth"),"x"),o=a(_.get("initialHeight"),"y"),l=_.get("maxWidth"),f=_.get("maxHeight"),_.w=Math.max((!1!==l?Math.min(i,a(l,"x")):i)-z-D,0),_.h=Math.max((!1!==f?Math.min(o,a(f,"y")):o)-N-j,0),I.css({width:"",height:_.h}),J.position(),u(ee),_.get("onOpen"),O.add(F).hide(),x.focus(),_.get("trapFocus")&&e.addEventListener&&(e.addEventListener("focus",d,!0),ae.one(re,function(){e.removeEventListener("focus",d,!0)})),_.get("returnFocus")&&ae.one(re,function(){t(_.el).focus()})),l=parseFloat(_.get("opacity")),v.css({opacity:l==l?l:"",cursor:_.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),_.get("closeButton")?B.html(_.get("close")).appendTo(b):B.appendTo("<div/>"),w())}function p(){x||(V=!1,E=t(i),x=n(se).attr({id:Y,class:!1===t.support.opacity?Z+"IE":"",role:"dialog",tabindex:"-1"}).hide(),v=n(se,"Overlay").hide(),L=t([n(se,"LoadingOverlay")[0],n(se,"LoadingGraphic")[0]]),y=n(se,"Wrapper"),b=n(se,"Content").append(F=n(se,"Title"),R=n(se,"Current"),P=t('<button type="button"/>').attr({id:Z+"Previous"}),K=t('<button type="button"/>').attr({id:Z+"Next"}),S=t('<button type="button"/>').attr({id:Z+"Slideshow"}),L),B=t('<button type="button"/>').attr({id:Z+"Close"}),y.append(n(se).append(n(se,"TopLeft"),T=n(se,"TopCenter"),n(se,"TopRight")),n(se,!1,"clear:left").append(C=n(se,"MiddleLeft"),b,H=n(se,"MiddleRight")),n(se,!1,"clear:left").append(n(se,"BottomLeft"),k=n(se,"BottomCenter"),n(se,"BottomRight"))).find("div div").css({float:"left"}),M=n(se,!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),O=K.add(P).add(R).add(S)),e.body&&!x.parent().length&&t(e.body).append(v,x.append(y,M))}function m(){function i(t){1<t.which||t.shiftKey||t.altKey||t.metaKey||t.ctrlKey||(t.preventDefault(),f(this))}return x&&(V||(V=!0,K.click(function(){J.next()}),P.click(function(){J.prev()}),B.click(function(){J.close()}),v.click(function(){_.get("overlayClose")&&J.close()}),t(e).bind("keydown."+Z,function(t){var e=t.keyCode;U&&_.get("escKey")&&27===e&&(t.preventDefault(),J.close()),U&&_.get("arrowKey")&&W[1]&&!t.altKey&&
vendor: 4,143 bytes, line 1
1(37===e?(t.preventDefault(),P.click()):39===e&&(t.preventDefault(),K.click()))}),t.isFunction(t.fn.on)?t(e).on("click."+Z,"."+te,i):t("."+te).live("click."+Z,i)),1)}function w(){var e,o,c,r,h=J.prep,d=++le;q=!($=!0),u(he),u(ie),_.get("onLoad"),_.h=_.get("height")?a(_.get("height"),"y")-N-j:_.get("innerHeight")&&a(_.get("innerHeight"),"y"),_.w=_.get("width")?a(_.get("width"),"x")-z-D:_.get("innerWidth")&&a(_.get("innerWidth"),"x"),_.mw=_.w,_.mh=_.h,_.get("maxWidth")&&(_.mw=a(_.get("maxWidth"),"x")-z-D,_.mw=_.w&&_.w<_.mw?_.w:_.mw),_.get("maxHeight")&&(_.mh=a(_.get("maxHeight"),"y")-N-j,_.mh=_.h&&_.h<_.mh?_.h:_.mh),e=_.get("href"),Q=setTimeout(function(){L.show()},100),_.get("inline")?(c=t(e).eq(0),r=t("<div>").hide().insertBefore(c),ae.one(he,function(){r.replaceWith(c)}),h(c)):_.get("iframe")?h(" "):_.get("html")?h(_.get("html")):s(_,e)?(e=l(_,e),q=_.get("createImg"),t(q).addClass(Z+"Photo").bind("error."+Z,function(){h(n(se,"Error").html(_.get("imgError")))}).one("load",function(){d===le&&setTimeout(function(){var e;_.get("retinaImage")&&1<i.devicePixelRatio&&(q.height=q.height/i.devicePixelRatio,q.width=q.width/i.devicePixelRatio),_.get("scalePhotos")&&(o=function(){q.height-=q.height*e,q.width-=q.width*e},_.mw&&q.width>_.mw&&(e=(q.width-_.mw)/q.width,o()),_.mh)&&q.height>_.mh&&(e=(q.height-_.mh)/q.height,o()),_.h&&(q.style.marginTop=Math.max(_.mh-q.height,0)/2+"px"),W[1]&&(_.get("loop")||W[A+1])&&(q.style.cursor="pointer",t(q).bind("click."+Z,function(){J.next()})),q.style.width=q.width+"px",q.style.height=q.height+"px",h(q)},1)}),q.src=e):e&&M.load(e,_.get("data"),function(e,i){d===le&&h("error"===i?n(se,"Error").html(_.get("xhrError")):t(this).contents())})}var v,x,y,b,T,C,H,k,W,E,I,M,L,F,R,S,K,P,B,O,_,j,D,N,z,A,q,U,$,G,Q,J,V,X={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return t(this).attr("href")},title:function(){return this.title},createImg:function(){var e=new Image,i=t(this).data("cbox-img-attrs");return"object"==typeof i&&t.each(i,function(t,i){e[t]=i}),e},createIframe:function(){var i=e.createElement("iframe"),n=t(this).data("cbox-iframe-attrs");return"object"==typeof n&&t.each(n,function(t,e){i[t]=e}),"frameBorder"in i&&(i.frameBorder=0),"allowTransparency"in i&&(i.allowTransparency="true"),i.name=(new Date).getTime(),i.allowFullscreen=!0,i}},Y="colorbox",Z="cbox",te=Z+"Element",ee=Z+"_open",ie=Z+"_load",ne=Z+"_complete",oe=Z+"_cleanup",re=Z+"_closed",he=Z+"_purge",ae=t("<a/>"),se="div",le=0,de={},ce=(()=>{function t(){clearTimeout(h)}function e(){(_.get("loop")||W[A+1])&&(t(),h=setTimeout(J.next,_.get("slideshowSpeed")))}function i(){S.html(_.get("slideshowStop")).unbind(s).one(s,n),ae.bind(ne,e).bind(ie,t),x.removeClass(a+"off").addClass(a+"on")}function n(){t(),ae.unbind(ne,e).unbind(ie,t),S.html(_.get("slideshowStart")).unbind(s).one(s,function(){J.next(),i()}),x.removeClass(a+"on").addClass(a+"off")}function o(){r=!1,S.hide(),t(),ae.unbind(ne,e).unbind(ie,t),x.removeClass(a+"off "+a+"on")}var r,h,a=Z+"Slideshow_",s="click."+Z;return function(){r?_.get("slideshow")||(ae.unbind(oe,o),o()):_.get("slideshow")&&W[1]&&(r=!0,ae.one(oe,o),(_.get("slideshowAuto")?i:n)(),S.show())}})();t[Y]||(t(p),(J=t.fn[Y]=t[Y]=function(e,i){var o=this;return e=e||{},t.isFunction(o)&&(o=t("<a/>
1"),e.open=!0),o[0]&&(p(),m())&&(i&&(e.onComplete=i),o.each(function(){var i=t.data(this,Y)||{};t.data(this,Y,t.extend(i,e))}).addClass(te),new r(o[0],e).get("open"))&&f(o[0]),o}).position=function(e,i){function n(){T[0].style.width=k[0].style.width=b[0].style.width=parseInt(x[0].style.width,10)-D+"px",b[0].style.height=C[0].style.height=H[0].style.height=parseInt(x[0].style.height,10)-j+"px"}var r,h,s,g,l=0,d=0,c=x.offset();E.unbind("resize."+Z),x.css({top:-9e4,left:-9e4}),h=E.scrollTop(),s=E.scrollLeft(),_.get("fixed")?(c.top-=h,c.left-=s,x.css({position:"fixed"})):(l=h,d=s,x.css({position:"absolute"})),d+=!1!==_.get("right")?Math.max(E.width()-_.w-z-D-a(_.get("right"),"x"),0):!1!==_.get("left")?a(_.get("left"),"x"):Math.round(Math.max(E.width()-_.w-z-D,0)/2),l+=!1!==_.get("bottom")?Math.max(o()-_.h-N-j-a(_.get("bottom"),"y"),0):!1!==_.get("top")?a(_.get("top"),"y"):Math.round(Math.max(o()-_.h-N-j,0)/2),x.css({top:c.top,left:c.left,visibility:"visible"}),y[0].style.width=y[0].style.height="9999px",r={width:_.w+z+D,height:_.h+N+j,top:l,left:d},e&&(g=0,t.each(r,function(t){return r[t]!==de[t]?void(g=e):void 0}),e=g),de=r,e||x.css(r),x.dequeue().animate(r,{duration:e||0,complete:function(){n(),$=!1,y[0].style.width=_.w+z+D+"px",y[0].style.height=_.h+N+j+"px",_.get("reposition")&&setTimeout(function(){E.bind("resize."+Z,J.position)},1),t.isFunction(i)&&i()},step:n})},J.resize=function(t){var e;U&&((t=t||{}).width&&(_.w=a(t.width,"x")-z-D),t.innerWidth&&(_.w=a(t.innerWidth,"x")),I.css({width:_.w}),t.height&&(_.h=a(t.height,"y")-N-j),t.innerHeight&&(_.h=a(t.innerHe
1ight,"y")),t.innerHeight||t.height||(e=I.scrollTop(),I.css({height:"auto"}),_.h=I.height()),I.css({height:_.h}),e&&I.scrollTop(e),J.position("none"===_.get("transition")?0:_.get("speed")))},J.prep=function(i){var d,g;U&&(g="none"===_.get("transition")?0:_.get("speed"),I.remove(),(I=n(se,"LoadedContent").append(i)).hide().appendTo(M.show()).css({width:(_.w=_.w||I.width(),_.w=_.mw&&_.mw<_.w?_.mw:_.w,_.w),overflow:_.get("scrolling")?"auto":"hidden"}).css({height:(_.h=_.h||I.height(),_.h=_.mh&&_.mh<_.h?_.mh:_.h,_.h)}).prependTo(b),M.hide(),t(q).css({float:"none"}),c(_.get("className")),d=function(){function i(){!1===t.support.opacity&&x[0].style.removeAttribute("filter")}var n,o,a=W.length;U&&(o=function(){clearTimeout(Q),L.hide(),u(ne),_.get("onComplete")},F.html(_.get("title")).show(),I.show(),1<a?("string"==typeof _.get("current")&&R.html(_.get("current").replace("{current}",A+1).replace("{total}",a)).show(),K[_.get("loop")||A<a-1?"show":"hide"]().html(_.get("next")),P[_.get("loop")||A?"show":"hide"]().html(_.get("previous")),ce(),_.get("preloading")&&t.each([h(-1),h(1)],function(){var n=W[this],n=new r(n,t.data(n,Y)),h=n.get("href");h&&s(n,h)&&(h=l(n,h),e.createElement("img").src=h)})):O.hide(),_.get("iframe")?(n=_.get("createIframe"),_.get("scrolling")||(n.scrolling="no"),t(n).attr({src:_.get("href"),class:Z+"Iframe"}).one("load",o).appendTo(I),ae.one(he,function(){n.src="//about:blank"}),_.get("fastIframe")&&t(n).trigger("load")):o(),"fade"===_.get("transition")?x.fadeTo(g,1,i):i())},"fade"===_.get("transition")?x.fadeTo(g,0,function(){J.position(0,d)}):J.position(g,d))},J.next=function(){!$&&W[1]&&(_.get("loop")||W[A+1])&&(A=h(1),f(W[A]))},J.prev=function(){!$&&W[1]&&(_.get("loop")||A)&&(A=h(-1),f(W[A]))},J.close=function(){U&&!G&&(U=!(G=!0),u(oe),_.get("onCleanup"),E.unbind("."+Z),v.fadeTo(_.get("fadeOut")||0,0),x.stop().fadeTo(_.get("fadeOut")||0,0,function(){x.hide(),v.hide(),u(he),I.remove(),setTimeout(function(){G=!1,u(re),_.get("onClosed")},1)}))},J.remove=function(){x&&(x.stop(),t[Y].close(),x.stop(!1,!0).remove(),v.remove(),G=!1,x=null,t("."+te).removeData(Y).removeClass(te),t(e).unbind("click."+Z).unbind("keydown."+Z))},J.element=function(){return t(_.el)},J.settings=X)})(jQuery,document,window),(o=>{var t={url:!1,callback:!1,target:!1,duration:120,on:"mouseover",touch:!0,onZoomIn:!1,onZoomOut:!1,magnify:1};o.zoom=function(t,n,e,i){var u,c,a,r,m,l,s,f=o(t),h=f.css("position"),d=o(n);return t.style.position=/(absolute|fixed)/.test(h)?h:"relative",t.style.overflow="hidden",e.style.width=e.style.height="",o(e).addClass("zoomImg").css({position:"absolute",top:0,left:0,opacity:0,width:e.width*i,height:e.height*i,border:"none",maxWidth:"none",maxHeight:"none"}).appendTo(t),{init:function(){c=f.outerWidth(),u=f.outerHeight(),a=n===t?(r=c,u):(r=d.outerWidth(),d.outerHeight()),m=(e.width-c)/r,l=(e.height-u)/a,s=d.offset()},move:function(o){var t=o.pageX-s.left,o=o.pageY-s.top,o=Math.max(Math.min(o,a),0),t=Math.max(Math.min(t,r),0);e.style.left=t*-m+"px",e.style.top=o*-l+"px"}}},o.fn.zoom=function(n){return this.each(function(){var e=o.extend({},t,n||{}),i=e.target&&o(e.target)[0]||this,u=this,c=o(u),a=document.createElement("img"),r=o(a),m="mousemove.zoom",l=!1,s=!1;if(!e.url){var f=u.querySelector("img");if(f&&(e.url=f.getAttribute("data-src")||f.currentSrc||f.src),!e.url)return}c.one("zoom.destroy",function(o,t){c.off(".zoom"),i.style.position=o,i.style.overflow=t,a.onload=null,r.remove()}.bind(this,i.style.position,i.style.overflow)),a.onload=function(){function t(t){f.init(),f.move(t),r.stop().fadeTo(o.support.opacity?e.duration:0,1,!!o.isFunction(e.onZoomIn)&&e.onZoomIn.call(a))}function n(){r.stop().fadeTo(e.duration,0,!!o.isFunction(e.onZoomOut)&&e.onZoomOut.call(a))}var f=o.zoom(i,u,a,e.magnify);"grab"===e.on?c.on("mousedown.zoom",function(e){1===e.which&&(o(document).one("mouseup.zoom",function(){n(),o(document).off(m,f.move)}),t(e),o(document).on(m,f.move),e.preventDefault())}):"click"===e.on?c.on("click.zoom",function(e){return l?void 0:(l=!0,t(e),o(document).on(m,f.move),o(document).one("click.zoom",function(){n(),l=!1,o(document).off(m,f.move)}),!1)}):"toggle"===e.on?c.on("click.zoom",function(o){l?n():t(o),l=!l}):"mouseover"===e.on&&(f.init(),c.on("mouseenter.zoom",t).on("mouseleave.zoom",n).on(m,f.move)),e.touch&&c.on("touchstart.zoom",function(o){o.preventDefault(),s?(s=!1,n()):(s=!0,t(o.originalEvent.touches[0]||o.originalEvent.changedTouches[0]))}).on("touchmove.zoom",function(o){o.preventDefault(),f.move(o.originalEvent.touches[0]||o.originalEvent.changedTouches[0])}).on("touchend.zoom",function(o){o.preventDefault(),s&&(s=!1,n())}),o.isFunction(e.callback)&&e.callback.call(a)},a.setAttribute("role","presentation"),a.alt="",a.src=e.url})},o.fn.zoom.defaults=t})(window.jQuery),($=>{$.cookie=function(key,value,options){var days,t;if(1<arguments.length&&(!/Object/.test(Object.prototype.toString.call(value))||null==value))return options=$.extend({},options),null==value&&(options.expires=-1),"number"==typeof options.expires&&(days=options.expires,(t=options.expires=new Date).setDate(t.getDate()+days)),value=String(value),document.cookie=[encodeURIComponent(key),"=",options.raw?value:encodeURIComponent(value),options.expires?"; expires="+options.expires.toUTCString():"",options.path?"; path="+options.path:"",options.domain?"; domain="+options.domain:"",options.secure?"; secure":""].join("");for(var pair,decode=(options=value||{}).raw?function(s){return s}:decodeURIComponent,pairs=document.cookie.split("; "),i=0;pair=pairs[i]&&pairs[i].split("=");i++)if(decode(pair[0])===key)return decode(pair[1]||"");return null},$.fn.cookieBar=function(options){var settings=$.extend({closeButton:"none",hideOnClose:!0,secure:!1,path:"/",domain:""},options);return this.each(function(){var cookiebar=$(this);cookiebar.hide(),$("body").removeClass("cookiebar"),"none"==settings.closeButton&&(cookiebar.append('<a class="cookiebar-close">Continue</a>'),$.extend(settings,{closeButton:".cookiebar-close"})),"hide"!=$.cookie("cookiebar")&&(cookiebar.show(),$("body").addClass("cookiebar")),cookiebar.find(settings.closeButton).click(function(){return settings.hideOnClose&&cookiebar.hide(),$.cookie("cookiebar","hide",{path:settings.path,secure:settings.secure,domain:settings.domain,expires:30}),$("body").removeClass("cookiebar"),cookiebar.trigger("cookieBar-close"),!1})})},$.cookieBar=function(options){$("body").prepend('<div class="ui-widget"><div style="display: none;" class="cookie-message ui-widget-header blue"><p>By using this website you allow us to place cookies on your computer. They are harmless and never personally identify you.</p></div></div>'),$(".cookie-message").cookieBar(options)}})(jQuery);var hljs=new function(){function k(v){return v.replace(/&/gm,"&").replace(/</gm,"<").replace(/>/gm,">")}function t(v){return v.nodeName.toLowerCase()}function i(w,x){w=w&&w.exec(x);return w&&0==w.index}function o(x,y){var v={};for(w in x)v[w]=x[w];if(y)for(var w in y)v[w]=y[w];return v}function u(x){var v=[];return function w(y,z){for(var A=y.firstChild;A;
1A=A.nextSibling)3==A.nodeType?z+=A.nodeValue.length:"br"==t(A)?z+=1:1==A.nodeType&&(v.push({event:"start",offset:z,node:A}),z=w(A,z),v.push({event:"stop",offset:z,node:A}));return z}(x,0),v}function q(w,y,C){var x=0,F="",z=[];function B(){return w.length&&y.length?w[0].offset!=y[0].offset?w[0].offset<y[0].offset?w:y:"start"==y[0].event?w:y:w.length?w:y}function A(H){F+="<"+t(H)+Array.prototype.map.call(H.attributes,function(I){return" "+I.nodeName+'="'+k(I.value)+'"'}).join("")+">"}function E(G){F+="</"+t(G)+">"}function v(G){("start"==G.event?A:E)(G.node)}for(;w.length||y.length;){var D=B();if(F+=k(C.substr(x,D[0].offset-x)),x=D[0].offset,D==w){for(z.reverse().forEach(E);v(D.splice(0,1)[0]),(D=B())==w&&D.length&&D[0].offset==x;);z.reverse().forEach(A)}else"start"==D[0].event?z.push(D[0].node):z.pop(),v(D.splice(0,1)[0])}return F+k(C.substr(x))}function m(y){function v(z){return z&&z.source||z}function w(A,z){return RegExp(v(A),"m"+(y.cI?"i":"")+(z?"g":""))}!function x(D,C){var z,B;function E(G,F){(F=y.cI?F.toLowerCase():F).split(" ").forEach(function(H){H=H.split("|"),z[H[0]]=[G,H[1]?Number(H[1]):1]})}D.compiled||(D.compiled=!0,D.k=D.k||D.bK,D.k&&(z={},"string"==typeof D.k?E("keyword",D.k):Object.keys(D.k).forEach(function(F){E(F,D.k[F])}),D.k=z),D.lR=w(D.l||/\b[A-Za-z0-9_]+\b/,!0),C&&(D.bK&&(D.b=D.bK.split(" ").join("|")),D.b||(D.b=/\B|\b/),D.bR=w(D.b),D.e||D.eW||(D.e=/\B|\b/),D.e&&(D.eR=w(D.e)),D.tE=v(D.e)||"",D.eW)&&C.tE&&(D.tE+=(D.e?"|":"")+C.tE),D.i&&(D.iR=w(D.i)),void 0===D.r&&(D.r=1),D.c||(D.c=[]),B=[],D.c.forEach(function(F){F.v?F.v.forEach(function(G){B.push(o(F,G))}):B.push("self"==F?D:F)}),D.c=B,D.c.forEach(function(F){x(F,D)}),D.starts&&x(D.starts,C),C=D.c.map(function(F){return F.bK?"\\.?\\b("+F.b+")\\b\\.?":F.b}).concat([D.tE]).concat([D.i]).map(v).filter(Boolean),D.t=C.length?w(C.join("|"),!0):{exec:function(F){return null}},D.continuation={})}(y)}function c(S,L,J,R){function w(Z,X,W,V){V='<span class="'+(V?"":b.classPrefix);return(V+=Z+'">')+X+(W?"":"</span>")}function N(){var U=k(C);if(!I.k)return U;for(var T="",X=0,V=(I.lR.lastIndex=0,I.lR.exec(U));V;){T+=U.substr(X,V.index-X);var W=((V,T)=>(T=M.cI?T[0].toLowerCase():T[0],V.k.hasOwnProperty(T)&&V.k[T]))(I,V);W?(H+=W[1],T+=w(W[0],V[0])):T+=V[0],X=I.lR.lastIndex,V=I.lR.exec(U)}return T+U.substr(X)}function Q(){return void 0!==I.sL?I.sL&&!f[I.sL]?k(C):(T=I.sL?c(I.sL,C,!0,I.continuation.top):g(C),0<I.r&&(H+=T.r),"continuous"==I.subLanguageMode&&(I.continuation.top=T.top),w(T.language,T.value,!1,!0)):N();var T}function P(V,U){var T=V.cN?w(V.cN,"",!0):"";C=V.rB?(D+=T,""):V.eB?(D+=k(U)+T,""):(D+=T,U),I=Object.create(V,{parent:{value:I}})}function G(T,X){if(C+=T,void 0===X)return D+=Q(),0;T=((U,V)=>{for(var T=0;T<V.c.length;T++)if(i(V.c[T].bR,U))return V.c[T]})(X,I);if(T)return D+=Q(),P(T,X),T.rB?0:X.length;var W=function z(U,T){return i(U.eR,T)?U:U.eW?z(U.parent,T):void 0}(I,X);if(W){T=I;for(T.rE||T.eE||(C+=X),D+=Q();I.cN&&(D+="</span>"),H+=I.r,(I=I.parent)!=W.parent;);return T.eE&&(D+=k(X)),C="",W.starts&&P(W.starts,""),T.rE?0:X.length}if(((T,U)=>!J&&i(U.iR,T))(X,I))throw new Error('Illegal lexeme "'+X+'" for mode "'+(I.cN||"<unnamed>")+'"');return C+=X,X.length||1}var M=j(S);if(!M)throw new Error('Unknown language: "'+S+'"');m(M);for(var I=R||M,D="",K=I;K!=M;K=K.parent)K.cN&&(D=w(K.cN,D,!0));var C="",H=0;try{for(var B,y,x=0;;){if(I.t.lastIndex=x,!(B=I.t.exec(L)))break;y=G(L.substr(x,B.index-x),B[0]),x=B.index+y}G(L.substr(x));for(K=I;K.parent;K=K.parent)K.cN&&(D+="</span>");return{r:H,value:D,language:S,top:I}}catch(O){if(-1!=O.message.indexOf("Illegal"))return{r:0,value:k(L)};throw O}}function g(y,x){x=x||b.languages||Object.keys(f);var v={r:0,value:k(y)},w=v;return x.forEach(function(z){var A;j(z)&&((A=c(z,y,!1)).language=z,A.r>w.r&&(w=A),A.r>v.r)&&(w=v,v=A)}),w.language&&(v.second_best=w),v}function h(v){return b.tabReplace&&(v=v.replace(/^((<[^>]+>|\t)+)/gm,function(w,z,y,x){return z.replace(/\t/g,b.tabReplace)})),v=b.useBR?v.replace(/\n/g,"<br>"):v}function p(z){var v,w,x,y=function d(v){return Array.prototype.map.call(v.childNodes,function(w){return 3==w.nodeType?b.useBR?w.nodeValue.replace(/\n/g,""):w.nodeValue:"br"==t(w)?"\n":d(w)}).join("")}(z),A=(w=>(w.className+" "+(w.parentNode?w.parentNode.className:"")).split(/\s+/).map(function(x){return x.replace(/^language-/,"")}).filter(function(x){return j(x)||"no-highlight"==x})[0])(z);"no-highlight"!=A&&(v=A?c(A,y,!0):g(y),(w=u(z)).length&&((x=document.createElementNS("http://www.w3.org/1999/xhtml","pre")).innerHTML=v.value,v.value=q(w,u(x),y)),v.value=h(v.value),z.innerHTML=v.value,z.className+=" hljs "+(!A&&v.language||""),z.result={language:v.language,re:v.r},v.second_best)&&(z.second_best={language:v.second_best.language,re:v.second_best.r})}var b={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0};function l(){var v;l.called||(l.called=!0,v=document.querySelectorAll("pre code"),Array.prototype.forEach.call(v,p))}var f={},n={};function j(v){return f[v]||f[n[v]]}this.highlight=c,this.highlightAuto=g,this.fixMarkup=h,this.highlightBlock=p,this.configure=function(v){b=o(b,v)},this.initHighlighting=l,this.initHighlightingOnLoad=function(){addEventListener("DOMContentLoaded",l,!1),addEventListener("load",l,!1)},this.registerLanguage=function(v,x){(x=f[v]=x(this)).aliases&&x.aliases.forEac
1h(function(y){n[y]=v})},this.getLanguage=j,this.inherit=o,this.IR="[a-zA-Z][a-zA-Z0-9_]*",this.UIR="[a-zA-Z_][a-zA-Z0-9_]*",this.NR="\\b\\d+(\\.\\d+)?",this.CNR="(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",this.BNR="\\b(0b[01]+)",this.RSR="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",this.BE={b:"\\\\[\\s\\S]",r:0},this.ASM={cN:"string",b:"'",e:"'",i:"\\n",c:[this.BE]},this.QSM={cN:"string",b:'"',e:'"',i:"\\n",c:[this.BE]},this.CLCM={cN:"comment",b:"//",e:"$"},this.CBLCLM={cN:"comment",b:"/\\*",e:"\\*/"},this.HCM={cN:"comment",b:"#",e:"$"},this.NM={cN:"number",b:this.NR,r:0},this.CNM={cN:"number",b:this.CNR,r:0},this.BNM={cN:"number",b:this.BNR,r:0},this.REGEXP_MODE={cN:"regexp",b:/\//,e:/\/[gim]*/,i:/\n/,c:[this.BE,{b:/\[/,e:/\]/,r:0,c:[this.BE]}]},this.TM={cN:"title",b:this.IR,r:0},this.UTM={cN:"title",b:this.UIR,r:0}},_gsScope=(hljs.registerLanguage("bash",function(b){var a={cN:"variable",v:[{b:/\$[\w\d#@][\w\d_]*/},{b:/\$\{(.*?)\}/}]},d={cN:"string",b:/"/,e:/"/,c:[b.BE,a,{cN:"variable",b:/\$\(/,e:/\)/,c:[b.BE]}]};return{l:/-?[a-z\.]+/,k:{keyword:"if then else elif fi for break continue while in do done exit return set declare case esac export exec",literal:"true false",built_in:"printf echo read cd pwd pushd popd dirs let eval unset typeset readonly getopts source shopt caller type hash bind help sudo",operator:"-ne -eq -lt -gt -f -d -e -s -l -a"},c:[{cN:"shebang",b:/^#![^\n]+sh\s*$/,r:10},{cN:"function",b:/\w[\w\d_]*\s*\(\s*\)\s*\{/,rB:!0,c:[b.inherit(b.TM,{b:/\w[\w\d_]*/})],r:0},b.HCM,b.NM,d,{cN:"string",b:/'/,e:/'/},a]}}),hljs.registerLanguage("javascript",function(a){return{aliases:["js"],k:{keyword:"in if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const class",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require"},c:[{cN:"pi",b:/^\s*('|")use strict('|")/,r:10},a.ASM,a.QSM,a.CLCM,a.CBLCLM,a.CNM,{b:"("+a.RSR+"|\\b(case|return|throw)\\b)\\s*",k:"return throw case",c:[a.CLCM,a.CBLCLM,a.REGEXP_MODE,{b:/</,e:/>;/,r:0,sL:"xml"}],r:0},{cN:"function",bK:"function",e:/\{/,c:[a.inherit(a.TM,{b:/[A-Za-z$_][0-9A-Za-z$_]*/}),{cN:"params",b:/\(/,e:/\)/,c:[a.CLCM,a.CBLCLM],i:/["'\(]/}],i:/\[|%/},{b:/\$[(.]/},{b:"\\."+a.IR,r:0}]}}),hljs.registerLanguage("xml",function(a){var d={b:/<\?(php)?(?!\w)/,e:/\?>/,sL:"php",subLanguageMode:"continuous"},b={eW:!0,i:/</,r:0,c:[d,{cN:"attribute",b:"[A-Za-z0-9\\._:-]+",r:0},{b:"=",r:0,c:[{cN:"value",v:[{b:/"/,e:/"/},{b:/'/,e:/'/},{b:/[^\s\/>]+/}]}]}]};return{aliases:["html"],cI:!0,c:[{cN:"doctype",b:"<!DOCTYPE",e:">",r:10,c:[{b:"\\[",e:"\\]"}]},{cN:"comment",b:"\x3c!--",e:"--\x3e",r:10},{cN:"cdata",b:"<\\!\\[CDATA\\[",e:"\\]\\]>",r:10},{cN:"tag",b:"<style(?=\\s|>|$)",e:">",k:{title:"style"},c:[b],starts:{e:"</style>",rE:!0,sL:"css"}},{cN:"tag",b:"<script(?=\\s|>|$)",e:">",k:{title:"script"},c:[b],starts:{e:"<\/script>",rE:!0,sL:"javascript"}},{b:"<%",e:"%>",sL:"vbscript"},d,{cN:"pi",b:/<\?\w+/,e:/\?>/,r:10},{cN:"tag",b:"</?",e:"/?>",c:[{cN:"title",b:"[^ /><]+",r:0},b]}]}}),((global,factory)=>{"function"==typeof define&&define.amd?define(["jquery"],factory):"undefined"!=typeof exports?factory(require("jquery")):(factory(global.jquery),global.bootstrapSwitch={})})(this,function(_jquery){_jquery=(_jquery=_jquery)&&_jquery.__esModule?_jquery:{default:_jquery};var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var key,source=arguments[i];for(key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor};function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}var $=_jquery.default||window.jQuery||window.$,BootstrapSwitch=(()=>{function BootstrapSwitch(element){var _this=this,options=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},instance=this,Constructor=BootstrapSwitch;if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function");this.$element=$(element),this.options=$.extend({},$.fn.bootstrapSwitch.defaults,this._getElementOptions(),options),this.prevOptions={},this.$wrapper=$("<div>",{class:function(){var classes=[];return classes.push(_this.options.state?"on":"off"),_this.options.size&&classes.push(_this.options.size),_this.options.disabled&&classes.push("disabled"),_this.options.readonly&&classes.push("readonly"),_this.options.indeterminate&&classes.push("indeterminate"),_this.options.inverse&&classes.push("inverse"),_this.$element.attr("id")&&classes.push("id-"+_this.$element.attr("id")),classes.map(_this._getClass.bind(_this)).concat([_this.options.baseClass],_this._getClasses(_this.options.wrapperClass)).join(" ")}}),this.$container=$("<div>",{class:this._getClass("container")}),this.$on=$("<span>",{html:this.options.onText,class:this._getClass("handle-on")+" "+this._getClass(this.options.onColor)}),this.$off=$("<span>",{html:this.options.offText,class:this._getClass("handle-off")+" "+this._getClass(this.options.offColor)}),this.$label=$("<span>",{html:this.options.labelText,class:this._getClass("label")}),this.$element.on("init.bootstrapSwitch",this.options.onInit.bind(this,element)),this.$element.on("switchChange.bootstrapSwitch",function(){for(var _len=arguments.length,args=Array(_len),_
1key=0;_key<_len;_key++)args[_key]=arguments[_key];!1===_this.options.onSwitchChange.apply(element,args)&&(_this.$element.is(":radio")?$('[name="'+_this.$element.attr("name")+'"]'):_this.$element).trigger("previousState.bootstrapSwitch",!0)}),this.$container=this.$element.wrap(this.$container).parent(),this.$wrapper=this.$container.wrap(this.$wrapper).parent(),this.$element.before(this.options.inverse?this.$off:this.$on).before(this.$label).before(this.options.inverse?this.$on:this.$off),this.options.indeterminate&&this.$element.prop("indeterminate",!0),this._init(),this._elementHandlers(),this._handleHandlers(),this._labelHandlers(),this._formHandler(),this._externalLabelHandler(),this.$element.trigger("init.bootstrapSwitch",this.options.state)}return _createClass(BootstrapSwitch,[{key:"setPrevOptions",value:function(){this.prevOptions=_extends({},this.options)}},{key:"state",value:function(value,skip){return void 0===value?this.options.state:(this.options.disabled||this.options.readonly||this.options.state&&!this.options.radioAllOff&&this.$element.is(":radio")||((this.$element.is(":radio")?$('[name="'+this.$element.attr("name")+'"]'):this.$element).trigger("setPreviousOptions.bootstrapSwitch"),this.options.indeterminate&&this.indeterminate(!1),this.$element.prop("checked",Boolean(value)).trigger("change.bootstrapSwitch",skip)),this.$element)}},{key:"toggleState",value:function(skip){return this.options.disabled||this.options.readonly?this.$element:this.options.indeterminate?(this.indeterminate(!1),this.state(!0)):this.$element.prop("checked",!this.options.state).trigger("change.bootstrapSwitch",skip)}},{key:"size",value:function(value){return void 0===value?this.options.size:(null!=this.options.size&&this.$wrapper.removeClass(this._getClass(this.options.size)),value&&this.$wrapper.addClass(this._getClass(value)),this._width(),this._containerPosition(),this.options.size=value,this.$element)}},{key:"animate",value:function(value){return void 0===value?this.options.animate:this.options.animate===Boolean(value)?this.$element:this.toggleAnimate()}},{key:"toggleAnimate",value:function(){return this.options.animate=!this.options.animate,this.$wrapper.toggleClass(this._getClass("animate")),this.$element}},{key:"disabled",value:function(value){return void 0===value?this.options.disabled:this.options.disabled===Boolean(value)?this.$element:this.toggleDisabled()}},{key:"toggleDisabled",value:function(){return this.options.disabled=!this.options.disabled,this.$element.prop("disabled",this.options.disabled),this.$wrapper.toggleClass(this._getClass("disabled")),this.$element}},{key:"readonly",value:function(value){return void 0===value?this.options.readonly:this.options.readonly===Boolean(value)?this.$element:this.toggleReadonly()}},{key:"toggleReadonly",value:function(){return this.options.readonly=!this.options.readonly,this.$element.prop("readonly",this.options.readonly),this.$wrapper.toggleClass(this._getClass("readonly")),this.$element}},{key:"indeterminate",value:function(value){return void 0===value?this.options.indeterminate:this.options.indeterminate===Boolean(value)?this.$element:this.toggleIndeterminate()}},{key:"toggleIndeterminate",value:function(){return this.options.indeterminate=!this.options.indeterminate,this.$element.prop("indeterminate",this.options.indeterminate),this.$wrapper.toggleClass(this._getClass("indeterminate")),this._containerPosition(),this.$element}},{key:"inverse",value:function(value){return void 0===value?this.options.inverse:this.options.inverse===Boolean(value)?this.$element:this.toggleInverse()}},{key:"toggleInverse",value:function(){this.$wrapper.toggleClass(this._getClass("inverse"));var $on=this.$on.clone(!0),$off=this.$off.clone(!0);return this.$on.replaceWith($off),this.$off.replaceWith($on),this.$on=$off,this.$off=$on,this.options.inverse=!this.options.inverse,this.$element}},{key:"onColor",value:function(value){return void 0===value?this.options.onColor:(this.options.onColor&&this.$on.removeClass(this._getClass(this.options.onColor)),this.$on.addClass(this._getClass(value)),this.options.onColor=value,this.$element)}},{key:"offColor",value:function(value){return void 0===value?this.options.offColor:(this.options.offColor&&this.$off.removeClass(this._getClass(this.options.offColor)),this.$off.addClass(this._getClass(value)),this.options.offColor=value,this.$element)}},{key:"onText",value:function(value){return void 0===value?this.options.onText:(this.$on.html(value),this._width(),this._containerPosition(),this.options.onText=value,this.$element)}},{key:"offText",value:function(value){return void 0===value?this.options.offText:(this.$off.html(value),this._width(),this._containerPosition(),this.options.offText=value,this.$element)}},{key:"labelText",value:function(value){return void 0===value?this.options.labelText:(this.$label.html(value),this._width(),this.options.labelText=value,this.$element)}},{key:"handleWidth",value:function(value){return void 0===value?this.options.handleWidth:(this.options.handleWidth=value,this._width(),this._containerPosition(),this.$element)}},{key:"labelWidth",value:function(value){return void 0===value?this.options.labelWidth:(this.options.labelWidth=value,this._width(),this._containerPosition(),this.$element)}},{key:"baseClass",value:function(value){return this.options.baseClass}},{key:"wrapperClass",value:function(value){return void 0===value?this.options.wrapperClass:(value=value||$.fn.bootstrapSwitch.defaults.wrapperClass,this.$wrapper.removeClass(this._getClasses(this.options.wrapperClass).join(" ")),this.$wrapper.addClass(this._getClasses(value).join(" ")),this.options.wrapperClass=value,this.$element)}},{key:"radioAllOff",value:function(value){return void 0===value?this.options.radioAllOff:(value=Boolean(value),this.options.radioAllOff!==value&&(this.options.radioAllOff=value),this.$element)}},{key:"onInit",value:function(value){return void 0===value?this.options.onInit:(value=value||$.fn.bootstrapSwitch.defaults.onInit,this.options.onInit=value,this.$element)}},{key:"onSwitchChange",value:function(value){return void 0===value?this.options.onSwitchChange:(value=value||$.fn.bootstrapSwitch.defaults.onSwitchChange,this.options.onSwitchChange=value,this.$element)}},{key:"destroy",value:function(){var $form=this.$element.closest("form");return $form.length&&$form.off("reset.bootstrapSwitch").removeData("bootstrap-switch"),this.$container.children().not(this.$element).remove(),this.$element.unwrap().unwrap().off(".bootstrapSwitch").removeData("bootstrap-switch"),this.$element}},{key:"_getElementOptions",value:function(){return{state:this.$element.is(":checked"),size:this.$element.data("size"),animate:this.$element.data("animate"),disabled:this.$element.is(":disabled"),readonly:this.$element.is("[readonly]"),indeterminate:this.$element.data("indeterminate"),inverse:this.$element.data("inverse"),radioAllOff:this.$element.data("radio-all-off"),onColor:this.$element.data("on-color"),offColor:this.$element.data("off-color"),onText:this.$element.data("on-text"),offText:this.$element.data("off-text"),labelText:this.$element.data("label-text"),handleWidth:this.$element.data("handle-width"),labelWidth:this.$element.data("label-width"),baseClass:this.$element.data("base-class"),wrapperClass:this.$element.data("wrapper-class")}}},{key:"_width",value:function(){var _this2=this,$handles=this.$on.add(this.$off).add(this.$label).css("width",""),handleWidth="auto"===this.options.handleWidth?Math.round(Math.max(this.$on.width(),this.$off.width())):this.options.handleWidth;
1return $handles.width(handleWidth),this.$label.width(function(index,width){return"auto"!==_this2.options.labelWidth?_this2.options.labelWidth:width<handleWidth?handleWidth:width}),this._handleWidth=this.$on.outerWidth(),this._labelWidth=this.$label.outerWidth(),this.$container.width(2*this._handleWidth+this._labelWidth),this.$wrapper.width(this._handleWidth+this._labelWidth)}},{key:"_containerPosition",value:function(){var _this3=this,state=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.options.state;this.$container.css("margin-left",function(){var values=[0,"-"+_this3._handleWidth+"px"];return _this3.options.indeterminate?"-"+_this3._handleWidth/2+"px":state?_this3.options.inverse?values[1]:values[0]:_this3.options.inverse?values[0]:values[1]})}},{key:"_init",value:function(){function init(){_this4.setPrevOptions(),_this4._width(),_this4._containerPosition(),setTimeout(function(){if(_this4.options.animate)return _this4.$wrapper.addClass(_this4._getClass("animate"))},50)}var initInterval,_this4=this;this.$wrapper.is(":visible")?init():initInterval=window.setInterval(function(){if(_this4.$wrapper.is(":visible"))return init(),window.clearInterval(initInterval)},50)}},{key:"_elementHandlers",value:function(){var _this5=this;return this.$element.on({"setPreviousOptions.bootstrapSwitch":this.setPrevOptions.bind(this),"previousState.bootstrapSwitch":function(){_this5.options=_this5.prevOptions,_this5.options.indeterminate&&_this5.$wrapper.addClass(_this5._getClass("indeterminate")),_this5.$element.prop("checked",_this5.options.state).trigger("change.bootstrapSwitch",!0)},"change.bootstrapSwitch":function(event,skip){event.preventDefault(),event.stopImmediatePropagation();event=_this5.$element.is(":checked");_this5._containerPosition(event),event===_this5.options.state||(_this5.options.state=event,_this5.$wrapper.toggleClass(_this5._getClass("off")).toggleClass(_this5._getClass("on")),skip)||(_this5.$element.is(":radio")&&$('[name="'+_this5.$element.attr("name")+'"]').not(_this5.$element).prop("checked",!1).trigger("change.bootstrapSwitch",!0),_this5.$element.trigger("switchChange.bootstrapSwitch",[event]))},"focus.bootstrapSwitch":function(event){event.preventDefault(),_this5.$wrapper.addClass(_this5._getClass("focused"))},"blur.bootstrapSwitch":function(event){event.preventDefault(),_this5.$wrapper.removeClass(_this5._getClass("focused"))},"keydown.bootstrapSwitch":function(event){!event.which||_this5.options.disabled||_this5.options.readonly||37!==event.which&&39!==event.which||(event.preventDefault(),event.stopImmediatePropagation(),_this5.state(39===event.which))}})}},{key:"_handleHandlers",value:function(){var _this6=this;return this.$on.on("click.bootstrapSwitch",function(event){return event.preventDefault(),event.stopPropagation(),_this6.state(!1),_this6.$element.trigger("focus.bootstrapSwitch")}),this.$off.on("click.bootstrapSwitch",function(event){return event.preventDefault(),event.stopPropagation(),_this6.state(!0),_this6.$element.trigger("focus.bootstrapSwitch")})}},{key:"_labelHandlers",value:function(){var _this7=this;this.$label.on({click:function(event){event.stopPropagation()},"mousedown.bootstrapSwitch touchstart.bootstrapSwitch":function(event){_this7._dragStart||_this7.options.disabled||_this7.options.readonly||(event.preventDefault(),event.stopPropagation(),_this7._dragStart=(event.pageX||event.originalEvent.touches[0].pageX)-parseInt(_this7.$container.css("margin-left"),10),_this7.options.animate&&_this7.$wrapper.removeClass(_this7._getClass("animate")),_this7.$element.trigger("focus.bootstrapSwitch"))},"mousemove.bootstrapSwitch touchmove.bootstrapSwitch":function(event){var difference;null==_this7._dragStart||(difference=(event.pageX||event.originalEvent.touches[0].pageX)-_this7._dragStart,event.preventDefault(),difference<-_this7._handleWidth)||0<difference||(_this7._dragEnd=difference,_this7.$container.css("margin-left",_this7._dragEnd+"px"))},"mouseup.bootstrapSwitch touchend.bootstrapSwitch":function(event){_this7._dragStart&&(event.preventDefault(),_this7.options.animate&&_this7.$wrapper.addClass(_this7._getClass("animate")),_this7._dragEnd?(event=_this7._dragEnd>-_this7._handleWidth/2,_this7._dragEnd=!1,_this7.state(_this7.options.inverse?!event:event)):_this7.state(!_this7.options.state),_this7._dragStart=!1)},"mouseleave.bootstrapSwitch":function(){_this7.$label.trigger("mouseup.bootstrapSwitch")}})}},{key:"_externalLabelHandler",value:function(){var _this8=this,$externalLabel=this.$element.closest("label");$externalLabel.on("click",function(event){event.preventDefault(),event.stopImmediatePropagation(),event.target===$externalLabel[0]&&_this8.toggleState()})}},{key:"_formHandler",value:function(){var $form=this.$element.closest("form");$form.data("bootstrap-switch")||$form.on("reset.bootstrapSwitch",function(){window.setTimeout(function(){$form.find("input").filter(function(){return $(this).data("bootstrap-switch")}).each(function(){return $(this).bootstrapSwitch("state",this.checked)})},1)}).data("bootstrap-switch",!0)}},{key:"_getClass",value:function(name){return this.options.baseClass+"-"+name}}
1,{key:"_getClasses",value:function(classes){return $.isArray(classes)?classes.map(this._getClass.bind(this)):[this._getClass(classes)]}}]),BootstrapSwitch})();$.fn.bootstrapSwitch=function(option){for(var _len2=arguments.length,args=Array(1<_len2?_len2-1:0),_key2=1;_key2<_len2;_key2++)args[_key2-1]=arguments[_key2];return Array.prototype.reduce.call(this,function(ret,next){var $this=$(next),existingData=$this.data("bootstrap-switch"),next=existingData||new BootstrapSwitch(next,option);return existingData||$this.data("bootstrap-switch",next),"string"==typeof option?next[option].apply(next,args):ret},this)},$.fn.bootstrapSwitch.Constructor=BootstrapSwitch,$.fn.bootstrapSwitch.defaults={state:!0,size:null,animate:!0,disabled:!1,readonly:!1,indeterminate:!1,inverse:!1,radioAllOff:!1,onColor:"primary",offColor:"default",onText:"ON",offText:"OFF",labelText:" ",handleWidth:"auto",labelWidth:"auto",baseClass:"bootstrap-switch",wrapperClass:"wrapper",onInit:function(){},onSwitchChange:function(){}}}),((t,e)=>{"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],e):e(t.bootstrap={},t.jQuery)})(this,function(t,e){function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function s(t,e,n){e&&i(t.prototype,e),n&&i(t,n)}function c(r){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},e=Object.keys(o);(e="function"==typeof Object.getOwnPropertySymbols?e.concat(Object.getOwnPropertySymbols(o).filter(function(t){return Object.getOwnPropertyDescriptor(o,t).enumerable})):e).forEach(function(t){var e=r,i=o[t=t];t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i})}return r}for(var r,n,o,l,f,p,g,m,_,y,b,S,N,k,L,P,x,M,R,H,W,F,K,Q,J,Z,$,tt,et,it,rt,ot,st,at,lt,ct,ft,dt,pt,gt=(i=>{var e="transitionend",l={TRANSITION_END:"bsTransitionEnd",getUID:function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");e&&"#"!==e||(e=t.getAttribute("href")||"");try{return 0<i(document).find(e).length?e:null}catch(t){return null}},getTransitionDurationFromElement:function(t){return t&&(t=i(t).css("transition-duration"),parseFloat(t))?(t=t.split(",")[0],1e3*parseFloat(t)):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){i(t).trigger(e)},supportsTransitionEnd:function(){return Boolean(e)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var r=n[i],o=e[i],o=o&&l.isElement(o)?"element":{}.toString.call(o).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(r).test(o))throw new Error(t.toUpperCase()+': Option "'+i+'" provided type "'+o+'" but expected type "'+r+'".')}}};return i.fn.emulateTransitionEnd=function(t){var e=this,n=!1;return i(this).one(l.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||l.triggerTransitionEnd(e)},t),this},i.event.special[l.TRANSITION_END]={bindType:e,delegateType:e,handle:function(t){if(i(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}},l})(e=e&&e.hasOwnProperty("default")?e.default:e),a=(a="."+(o="bs.alert"),l=(r=e).fn[n="alert"],f={CLOSE:"close"+a,CLOSED:"closed"+a,CLICK_DATA_API:"click"+a+".data-api"},p=(()=>{function i(t){this._element=t}var t=i.prototype;return t.close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},t.dispose=function(){r.removeData(this._element,o),this._element=null},t._getRootElement=function(t){var e=gt.getSelectorFromElement(t),n=!1;return n=(n=e?r(e)[0]:n)||r(t).closest(".alert")[0]},t._triggerCloseEvent=function(t){var e=r.Event(f.CLOSE);return r(t).trigger(e),e},t._removeElement=function(e){var t,n=this;r(e).removeClass("show"),r(e).hasClass("fade")?(t=gt.getTransitionDurationFromElement(e),r(e).one(gt.TRANSITION_END,function(t){return n._destroyElement(e,t)}).emulateTransitionEnd(t)):this._destroyElement(e)},t._destroyElement=function(t){r(t).detach().trigger(f.CLOSED).remove()},i._jQueryInterface=function(n){return this.each(function(){var t=r(this),e=t.data(o);e||(e=new i(this),t.data(o,e)),"close"===n&&e[n](this)})},i._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},s(i,null,[{key:"VERSION",get:function(){return"4.1.1"}}]),i})(),r(document).on(f.CLICK_DATA_API,'[data-dismiss="alert"]',p._handleDismiss(new p)),r.fn[n]=p._jQueryInterface,r.fn[n].
1Constructor=p,r.fn[n].noConflict=function(){return r.fn[n]=l,p._jQueryInterface},p),E=(v="."+(_="bs.button"),y=(g=e).fn[m="button"],b="active",w='[data-toggle^="button"]',S=".btn",v={CLICK_DATA_API:"click"+v+(E=".data-api"),FOCUS_BLUR_DATA_API:"focus"+v+E+" blur"+v+E},N=(()=>{function n(t){this._element=t}var t=n.prototype;return t.toggle=function(){var t=!0,e=!0,n=g(this._element).closest('[data-toggle="buttons"]')[0];if(n){var r,i=g(this._element).find("input")[0];if(i){if("radio"===i.type&&(i.checked&&g(this._element).hasClass(b)?t=!1:(r=g(n).find(".active")[0])&&g(r).removeClass(b)),t){if(i.hasAttribute("disabled")||n.hasAttribute("disabled")||i.classList.contains("disabled")||n.classList.contains("disabled"))return;i.checked=!g(this._element).hasClass(b),g(i).trigger("change")}i.focus(),e=!1}}e&&this._element.setAttribute("aria-pressed",!g(this._element).hasClass(b)),t&&g(this._element).toggleClass(b)},t.dispose=function(){g.removeData(this._element,_),this._element=null},n._jQueryInterface=function(e){return this.each(function(){var t=g(this).data(_);t||(t=new n(this),g(this).data(_,t)),"toggle"===e&&t[e]()})},s(n,null,[{key:"VERSION",get:function(){return"4.1.1"}}]),n})(),g(document).on(v.CLICK_DATA_API,w,function(t){t.preventDefault();t=t.target;g(t).hasClass("btn")||(t=g(t).closest(S)),N._jQueryInterface.call(g(t),"toggle")}).on(v.FOCUS_BLUR_DATA_API,w,function(t){var e=g(t.target).closest(S)[0];g(e).toggleClass("focus",/^focus(in)?$/.test(t.type))}),g.fn[m]=N._jQueryInterface,g.fn[m].Constructor=N,g.fn[m].noConflict=function(){return g.fn[m]=y,N._jQueryInterface},N),w=(x="."+(P="bs.carousel"),M=(k=e).fn[L="carousel"],R={interval:5e3,keyboard:!0,slide:!(v=".data-api"),pause:"hover",wrap:!0},H={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},W="next",F="prev",K={SLIDE:"slide"+x,SLID:"slid"+x,KEYDOWN:"keydown"+x,MOUSEENTER:"mouseenter"+x,MOUSELEAVE:"mouseleave"+x,TOUCHEND:"touchend"+x,LOAD_DATA_API:"load"+x+v,CLICK_DATA_API:"click"+x+v},Q="active",J={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},Z=(()=>{function o(t,e){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this._config=this._getConfig(e),this._element=k(t)[0],this._indicatorsElement=k(this._element).find(J.INDICATORS)[0],this._addEventListeners()}var t=o.prototype;return t.next=function(){this._isSliding||this._slide(W)},t.nextWhenVisible=function(){!document.hidden&&k(this._element).is(":visible")&&"hidden"!==k(this._element).css("visibility")&&this.next()},t.prev=function(){this._isSliding||this._slide(F)},t.pause=function(t){t||(this._isPaused=!0),k(this._element).find(J.NEXT_PREV)[0]&&(gt.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},t.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},t.to=function(t){var e=this,n=(this._activeElement=k(this._element).find(J.ACTIVE_ITEM)[0],this._getItemIndex(this._activeElement));t>this._items.length-1||t<0||(this._isSliding?k(this._element).one(K.SLID,function(){return e.to(t)}):n===t?(this.pause(),this.cycle()):this._slide(n<t?W:F,this._items[t]))},t.dispose=function(){k(this._element).off(x),k.removeData(this._element,P),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},t._getConfig=function(t){return t=c({},R,t),gt.typeCheckConfig(L,t,H),t},t._addEventListeners=function(){var e=this;this._config.keyboard&&k(this._element).on(K.KEYDOWN,function(t){return e._keydown(t)}),"hover"===this._config.pause&&(k(this._element).on(K.MOUSEENTER,function(t){return e.pause(t)}).on(K.MOUSELEAVE,function(t){return e.cycle(t)}),"ontouchstart"in document.documentElement)&&k(this._element).on(K.TOUCHEND,function(){e.pause(),e.touchTimeout&&clearTimeout(e.touchTimeout),e.touchTimeout=setTimeout(function(t){return e.cycle(t)},500+e._config.interval)})},t._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},t._getItemIndex=function(t){return this._items=k.makeArray(k(t).parent().find(J.ITEM
1)),this._items.indexOf(t)},t._getItemByDirection=function(t,e){var n=t===W,i=t===F,r=this._getItemIndex(e),o=this._items.length-1;return(i&&0===r||n&&r===o)&&!this._config.wrap?e:-1==(i=(r+(t===F?-1:1))%this._items.length)?this._items[this._items.length-1]:this._items[i]},t._triggerSlideEvent=function(t,e){var n=this._getItemIndex(t),i=this._getItemIndex(k(this._element).find(J.ACTIVE_ITEM)[0]),t=k.Event(K.SLIDE,{relatedTarget:t,direction:e,from:i,to:n});return k(this._element).trigger(t),t},t._setActiveIndicatorElement=function(t){this._indicatorsElement&&(k(this._indicatorsElement).find(J.ACTIVE).removeClass(Q),t=this._indicatorsElement.children[this._getItemIndex(t)])&&k(t).addClass(Q)},t._slide=function(t,e){var n,i,h,o=this,s=k(this._element).find(J.ACTIVE_ITEM)[0],a=this._getItemIndex(s),l=e||s&&this._getItemByDirection(t,s),e=this._getItemIndex(l),f=Boolean(this._interval),t=t===W?(n="carousel-item-left",i="carousel-item-next","left"):(n="carousel-item-right",i="carousel-item-prev","right");l&&k(l).hasClass(Q)?this._isSliding=!1:!this._triggerSlideEvent(l,t).isDefaultPrevented()&&s&&l&&(this._isSliding=!0,f&&this.pause(),this._setActiveIndicatorElement(l),h=k.Event(K.SLID,{relatedTarget:l,direction:t,from:a,to:e}),k(this._element).hasClass("slide")?(k(l).addClass(i),gt.reflow(l),k(s).addClass(n),k(l).addClass(n),t=gt.getTransitionDurationFromElement(s),k(s).one(gt.TRANSITION_END,function(){k(l).removeClass(n+" "+i).addClass(Q),k(s).removeClass(Q+" "+i+" "+n),o._isSliding=!1,setTimeout(function(){return k(o._element).trigger(h)},0)}).emulateTransitionEnd(t)):(k(s).removeClass(Q),k(l).addClass(Q),this._isSliding=!1,k(this._element).trigger(h)),f)&&this.cycle()},o._jQueryInterface=function(i){return this.each(function(){var t=k(this).data(P),e=c({},R,k(this).data()),n=("object"==typeof i&&(e=c({},e,i)),"string"==typeof i?i:e.slide);if(t||(t=new o(this,e),k(this).data(P,t)),"number"==typeof i)t.to(i);else if("string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n]()}else e.interval&&(t.pause(),t.cycle())})},o._dataApiClickHandler=function(t){var i,r,e=gt.getSelectorFromElement(this);e&&(e=k(e)[0])&&k(e).hasClass("carousel")&&(i=c({},k(e).data(),k(this).data()),(r=this.getAttribute("data-slide-to"))&&(i.interval=!1),o._jQueryInterface.call(k(e),i),r&&k(e).data(P).to(r),t.preventDefault())},s(o,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return R}}]),o})(),k(document).on(K.CLICK_DATA_API,J.DATA_SLIDE,Z._dataApiClickHandler),k(window).on(K.LOAD_DATA_API,function(){k(J.DATA_RIDE).each(function(){var t=k(this);Z._jQueryInterface.call(t,t.data())})}),k.fn[L]=Z._jQueryInterface,k.fn[L].Constructor=Z,k.fn[L].noConflict=function(){return k.fn[L]=M,Z._jQueryInterface},Z),v=(v="."+(et="bs.collapse"),it=($=e).fn[tt="collapse"],rt={toggle:!0,parent:""},ot={toggle:"boolean",parent:"(string|element)"},st={SHOW:"show"+v,SHOWN:"shown"+v,HIDE:"hide"+v,HIDDEN:"hidden"+v,CLICK_DATA_API:"click"+v+".data-api"},at="show",lt="collapse",ct="collapsing",ft="collapsed",dt={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},pt=(()=>{function a(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=$.makeArray($('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var n=$(dt.DATA_TOGGLE),i=0;i<n.length;i++){var r=n[i],o=gt.getSelectorFromElement(r);null!==o&&0<$(o).filter(t).length&&(this._selector=o,this._triggerArray.push(r))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var t=a.prototype;return t.toggle=function(){$(this._element).hasClass(at)?this.hide():this.show()},t.show=function(){var t,r,i,e,n=this;this._isTransitioning||$(this._element).hasClass(at)||(t=this._parent&&0===(t=$.makeArray($(this._parent).find(dt.ACTIVES).filter('[data-parent="'+this._config.parent+'"]'))).length?null:t)&&(e=$(t).not(this._selector).data(et))&&e._isTransitioning||(i=$.Event(st.SHOW),$(this._element).trigger(i),i.isDefaultPrevented()||(t&&(a._jQueryInterface.call($(t).not(this._selector),"hide"),e||$(t).data(et,null)),r=this._getDimension(),$(this._element).removeClass(lt).addClass(ct),(this._element.style[r]=0)<this._triggerArray.length&&$(this._triggerArray).removeClass(ft).attr("aria-expanded",!0),this.setTransitioning(!0),i="scroll"+(r[0].toUpperCase()+r.slice(1)),e=gt.getTransitionDurationFromElement(this._element),$(this._element).one(gt.TRANSITION_END,function(){$(n._element).removeClass(ct).addClass(lt).addClass(at),n._element.style[r]="",n.setTransitioning(!1),$(n._element).trigger(st.SHOWN)}).emulateTransitionEnd(e),this._element.style[r]=this._element[i]+"px"))},t.hide=function(){var t=this;if(!this._isTransitioning&&$(this._element).hasClass(at)){var e=$.Event(st.HIDE);if($(this._element).trigger(e),!e.isDefaultPrevented()){e=this._getDimension();if(this._element.style[e]=this._element.getBoundingClientRect()[e]+"px",gt.reflow(this._element),$(this._element).addClass(ct).removeClass(lt).removeClass(at),0<this._triggerArray.length)for(var i=0;i<this._triggerArray.length;i++){var r=this._triggerArray[i],o=gt.getSelectorFromElement(r);null===o||$(o).hasClass(at)||$(r).addClass(ft).attr("aria-expanded",!1)}this.setTransitioning(!0),this._element.style[e]="";e=gt.getTransitionDurationFromElement(this._element);$(this._element).one(gt.TRANSITION_END,function(){t.setTransitioning(!1),$(t._element).removeClass(ct).addClass(lt).trigger(st.HIDDEN)}).emulateTransitionEnd(e)}}},t.setTransitioning=function(t){this._isTransitioning=t},t.dispose=function(){$.removeData(this._element,et),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},t._getConfig=function(t){return(t=c({},rt,t)).toggle=Boolean(t.toggle),gt.typeCheckConfig(tt,t,ot),t},t._getDimension=function(){return $(this._element).hasClass("width")?"width":"height"},t._getParent=function(){var n=this,t=null,e=(gt.isElement(this._config.parent)?(t=this._config.parent,void 0!==this._config.parent.jquery&&(t=this._config.parent[0])):t=$(this._config.parent)[0],'[data-toggle="collapse"][data-parent="'+this._config.parent+'"]');return $(t).find(e).each(function(t,e){n._addAriaAndCollapsedClass(a._getTargetFromElement(e),[e])}),t},t._addAriaAndCollapsedClass=function(t,e){t&&(t=$(t).hasClass(at),0<e.length)&&$(e).toggleClass(ft,!t).attr("aria-expanded",t)},a._getTargetFromElement=function(t){t=gt.getSelectorFromElement(t);return t?$(t)[0]:null},a._jQueryInterface=function(i){return this.each(function(){var t=$(this),e=t.data(et),n=c({},rt,t.data(),"object"==typeof i&&i?i:{});if(!e&&n.toggle&&/show|hide/.test(i)&&(n.toggle=!1),e||(e=new a(this,n),t.data(et,e)),"string"==typeof i){if(void 0===e[i])throw new TypeError('No method n
1amed "'+i+'"');e[i]()}})},s(a,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return rt}}]),a})(),$(document).on(st.CLICK_DATA_API,dt.DATA_TOGGLE,function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var n=$(this),t=gt.getSelectorFromElement(this);$(t).each(function(){var t=$(this),e=t.data(et)?"toggle":n.data();pt._jQueryInterface.call(t,e)})}),$.fn[tt]=pt._jQueryInterface,$.fn[tt].Constructor=pt,$.fn[tt].noConflict=function(){return $.fn[tt]=it,pt._jQueryInterface},pt),yt="undefined"!=typeof window&&"undefined"!=typeof document,bt=["Edge","Trident","Firefox"],Tt=0,Ct=0;Ct<bt.length;Ct+=1)if(yt&&0<=navigator.userAgent.indexOf(bt[Ct])){Tt=1;break}var wt=yt&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},Tt))}};function It(t){return t&&"[object Function]"==={}.toString.call(t)}function Dt(t,e){return 1!==t.nodeType?[]:(t=getComputedStyle(t,null),e?t[e]:t)}function At(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function St(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=Dt(t),n=e.overflow;return/(auto|scroll|overlay)/.test(n+e.overflowY+e.overflowX)?t:St(At(t))}var Ot=yt&&!(!window.MSInputMethodContext||!document.documentMode),Nt=yt&&/MSIE 10/.test(navigator.userAgent);function kt(t){return 11===t?Ot:10!==t&&Ot||Nt}function Lt(t){if(!t)return document.documentElement;for(var e=kt(10)?document.body:null,n=t.offsetParent;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TD","TABLE"].indexOf(n.nodeName)&&"static"===Dt(n,"position")?Lt(n):n:(t?t.ownerDocument:document).documentElement}function Pt(t){return null!==t.parentNode?Pt(t.parentNode):t}function xt(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?t:e,n=n?e:t,o=document.createRange();o.setStart(i,0),o.setEnd(n,0);o=o.commonAncestorContainer;return t!==o&&e!==o||i.contains(n)?"BODY"===(n=(i=o).nodeName)||"HTML"!==n&&Lt(i.firstElementChild)!==i?Lt(o):o:(n=Pt(t)).host?xt(n.host,e):xt(t,Pt(e).host)}function jt(t,argument_1){var argument_1="top"===(1<arguments.length&&void 0!==argument_1?argument_1:"top")?"scrollTop":"scrollLeft",n=t.nodeName;return("BODY"===n||"HTML"===n?(n=t.ownerDocument.documentElement,t.ownerDocument.scrollingElement||n):t)[argument_1]}function Mt(t,e){var e="x"===e?"Left":"Top",i="Left"==e?"Right":"Bottom";return parseFloat(t["border"+e+"Width"],10)+parseFloat(t["border"+i+"Width"],10)}function Rt(t,e,n,i){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],kt(10)?n["offset"+t]+i["margin"+("Height"===t?"Top":"Left")]+i["margin"+("Height"===t?"Bottom":"Right")]:0)}function Ht(){var t=document.body,e=document.documentElement,n=kt(10)&&getComputedStyle(e);return{height:Rt("Height",t,e,n),width:Rt("Width",t,e,n)}}function Ut(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ft=(()=>{function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}})(),Bt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i,n=arguments[e];for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t};function Kt(t){return Bt({},t,{right:t.left+t.width,bottom:t.top+t.height})}function Vt(t){var e={};try{kt(10)?(e=t.getBoundingClientRect(),n=jt(t,"top"),i=jt(t,"left"),e.top+=n,e.left+=i,e.bottom+=n,e.right+=i):e=t.getBoundingClientRect()}catch(t){}var f,n={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},i="HTML"===t.nodeName?Ht():{},e=i.width||t.clientWidth||n.right-n.left,i=i.height||t.clientHeight||n.bottom-n.top,e=t.offsetWidth-e,i=t.offsetHeight-i;return(e||i)&&(e-=Mt(f=Dt(t),"x"),i-=Mt(f,"y"),n.width-=e,n.height-=i),Kt(n)}
1function Qt(t,e,argument_2){var argument_2=2<arguments.length&&void 0!==argument_2&&argument_2,i=kt(10),r="HTML"===e.nodeName,o=Vt(t),s=Vt(e),t=St(t),l=Dt(e),c=parseFloat(l.borderTopWidth,10),f=parseFloat(l.borderLeftWidth,10),s=(argument_2&&"HTML"===e.nodeName&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0)),Kt({top:o.top-s.top-c,left:o.left-s.left-f,width:o.width,height:o.height}));return s.marginTop=0,s.marginLeft=0,!i&&r&&(o=parseFloat(l.marginTop,10),r=parseFloat(l.marginLeft,10),s.top-=c-o,s.bottom-=c-o,s.left-=f-r,s.right-=f-r,s.marginTop=o,s.marginLeft=r),s=(i&&!argument_2?e.contains(t):e===t&&"BODY"!==t.nodeName)?function(t,e,argument_2){var argument_2=2<arguments.length&&void 0!==argument_2&&argument_2,i=jt(e,"top"),e=jt(e,"left"),argument_2=argument_2?-1:1;return t.top+=i*argument_2,t.bottom+=i*argument_2,t.left+=e*argument_2,t.right+=e*argument_2,t}(s,e):s}function Yt(t){if(!t||!t.parentElement||kt())return document.documentElement;for(var e=t.parentElement;e&&"none"===Dt(e,"transform");)e=e.parentElement;return e||document.documentElement}function Gt(t,e,n,i,argument_4){var a,argument_4=4<arguments.length&&void 0!==argument_4&&argument_4,o={top:0,left:0},s=argument_4?Yt(t):xt(t,e);return"viewport"===i?o=function(t,argument_1){var argument_1=1<arguments.length&&void 0!==argument_1&&argument_1,n=t.ownerDocument.documentElement,t=Qt(t,n),r=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),s=argument_1?0:jt(n),argument_1=argument_1?0:jt(n,"left");return Kt({top:s-t.top+t.marginTop,left:argument_1-t.left+t.marginLeft,width:r,height:o})}(s,argument_4):(a=void 0,"scrollParent"===i?"BODY"===(a=St(At(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===i?t.ownerDocument.documentElement:i,e=Qt(a,s,argument_4),"HTML"!==a.nodeName||function t(e){var n=e.nodeName;return"BODY"!==n&&"HTML"!==n&&("fixed"===Dt(e,"position")||t(At(e)))}(s)?o=e:(i=(t=Ht()).height,argument_4=t.width,o.top+=e.top-e.marginTop,o.bottom=i+e.top,o.left+=e.left-e.marginLeft,o.right=argument_4+e.left)),o.left+=n,o.top+=n,o.right-=n,o.bottom-=n,o}function qt(t,e,i,n,r,argument_5){var a,argument_5=5<arguments.length&&void 0!==argument_5?argument_5:0;return-1===t.indexOf("auto")?t:(n=Gt(i,n,argument_5,r),a={top:{width:n.width,height:e.top-n.top},right:{width:n.right-e.right,height:n.height},bottom:{width:n.width,height:n.bottom-e.bottom},left:{width:e.left-n.left,height:n.height}},(0<(r=(argument_5=Object.keys(a).map(function(t){return Bt({key:t},a[t],{area:(t=a[t]).width*t.height})}).sort(function(t,e){return e.area-t.area})).filter(function(t){return t.width>=i.clientWidth&&t.height>=i.clientHeight})).length?r:argument_5)[0].key+((e=t.split("-")[1])?"-"+e:""))}function zt(t,e,n,argument_3){argument_3=3<arguments.length&&void 0!==argument_3?argument_3:null;return Qt(n,argument_3?Yt(e):xt(e,n),argument_3)}function Xt(t){var e=getComputedStyle(t),n=parseFloat(e.marginTop)+parseFloat(e.marginBottom),e=parseFloat(e.marginLeft)+parseFloat(e.marginRight);return{width:t.offsetWidth+e,height:t.offsetHeight+n}}function Jt(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function Zt(t,e,n){n=n.split("-")[0];var t=Xt(t),r={width:t.width,height:t.height},o=-1!==["right","left"].indexOf(n),s=o?"top":"left",a=o?"left":"top",l=o?"height":"width",o=o?"width":"height";return r[s]=e[s]+e[l]/2-t[l]/2,r[a]=n===a?e[a]-t[o]:e[Jt(a)],r}function $t(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function te(t,n,e){return(void 0===e?t:t.slice(0,((t,e,n)=>{var i;return Array.prototype.findIndex?t.findIndex(function(t){return t[e]===n}):(i=$t(t,function(t){return t[e]===n}),t.indexOf(i))})(t,"name",e))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var e=t.function||t.fn;t.enabled&&It(e)&&(n.offsets.popper=Kt(n.offsets.popper),n.offsets.reference=Kt(n.offsets.reference),n=e(n,t))}),n}function ee(t,n){return t.some(function(t){var e=t.name;return t.enabled&&e===n})}function ne(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),i=0;i<e.length;i++){var r=e[i],r=r?""+r+n:t;if(void 0!==document.body.style[r])return r}return null}function ie(t){t=t.ownerDocument;return t?t.defaultView:window}function se(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}
1function ae(n,i){Object.keys(i).forEach(function(t){var e="";-1!==["width","height","top","right","bottom","left"].indexOf(t)&&se(i[t])&&(e="px"),n.style[t]=i[t]+e})}function le(t,e,n){var o,i=$t(t,function(t){return t.name===e}),t=!!i&&t.some(function(t){return t.name===n&&t.enabled&&t.order<i.order});return t||(o="`"+e+"`",console.warn("`"+n+"`"+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")),t}var ce=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],fe=ce.slice(3);function he(t,argument_1){argument_1=1<arguments.length&&void 0!==argument_1&&argument_1,t=fe.indexOf(t),t=fe.slice(t+1).concat(fe.slice(0,t));return argument_1?t.reverse():t}var ue_FLIP="flip",ue_CLOCKWISE="clockwise",ue_COUNTERCLOCKWISE="counterclockwise";var pe={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var o,r,c,e=t.placement,n=e.split("-")[0],e=e.split("-")[1];return e&&(o=(r=t.offsets).reference,r=r.popper,c=(n=-1!==["bottom","top"].indexOf(n))?"width":"height",n={start:Ut({},n=n?"left":"top",o[n]),end:Ut({},n,o[n]+o[c]-r[c])},t.offsets.popper=Bt({},r,n[e])),t}},offset:{order:200,enabled:!0,fn:function(t,e){var e=e.offset,i=t.placement,r=t.offsets,o=r.popper,r=r.reference,i=i.split("-")[0],e=se(+e)?[+e,0]:((t,r,o,e)=>{var s=[0,0],a=-1!==["right","left"].indexOf(e),t=(e=t.split(/(\+|\-)/).map(function(t){return t.trim()})).indexOf($t(e,function(t){return-1!==t.search(/,|\s/)})),l=(e[t]&&-1===e[t].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),/\s*,\s*|\s+/);return(-1!==t?[e.slice(0,t).concat([e[t].split(l)[0]]),[e[t].split(l)[1]].concat(e.slice(t+1))]:[e]).map(function(t,e){var n=(1===e?!a:a)?"height":"width",i=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,i=!0,t):i?(t[t.length-1]+=e,i=!1,t):t.concat(e)},[]).map(function(t){return((t,e,n,i)=>{var o=+(r=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/))[1],r=r[2];return o?0===r.indexOf("%")?Kt("%p"===r?n:i)[e]/100*o:"vh"===r||"vw"===r?("vh"===r?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o:o:t})(t,n,r,o)})}).forEach(function(n,i){n.forEach(function(t,e){se(t)&&(s[i]+=t*("-"===n[e-1]?-1:1))})}),s})(e,o,r,i);return"left"===i?(o.top+=e[0],o.left-=e[1]):"right"===i?(o.top+=e[0],o.left+=e[1]):"top"===i?(o.left+=e[0],o.top-=e[1]):"bottom"===i&&(o.left+=e[0],o.top+=e[1]),t.popper=o,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,i){var e=i.boundariesElement||Lt(t.instance.popper),n=(t.instance.reference===e&&(e=Lt(e)),ne("transform")),r=t.instance.popper.style,o=r.top,s=r.left,a=r[n],l=(r.top="",r.left="",r[n]="",Gt(t.instance.popper,t.instance.reference,i.padding,e,t.positionFixed)),e=(r.top=o,r.left=s,r[n]=a,i.boundaries=l,i.priority),f=t.offsets.popper,h={primary:function(t){var e=f[t];return f[t]<l[t]&&!i.escapeWithReference&&(e=Math.max(f[t],l[t])),Ut({},t,e)},secondary:function(t){var e="right"===t?"left":"top",n=f[e];return f[t]>l[t]&&!i.escapeWithReference&&(n=Math.min(f[e],l[t]-("right"===t?f.width:f.height))),Ut({},e,n)}};return e.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";f=Bt({},f,h[e](t))}),t.offsets.popper=f,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,e=e.reference,r=t.placement.split("-")[0],o=Math.floor,r=-1!==["top","bottom"].indexOf(r),a=r?"right":"bottom",l=r?"left":"top",r=r?"width":"height";return n[a]<o(e[l])&&(t.offsets.popper[l]=o(e[l])-n[r]),n[l]>o(e[a])&&(t.offsets.popper[l]=o(e[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){if(le(t.instance.modifiers,"arrow","keepTogether")){e=e.element;if("string"==typeof e){if(!(e=t.instance.popper.querySelector(e)))return t}else if(!t.instance.popper.contains(e))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var r=t.placement.split("-")[0],o=t.offsets,s=o.popper,o=o.reference,r=-1!==["left","right"].indexOf(r),c=r?"height":"width",f=r?"Top":"Left",h=f.toLowerCase(),u=r?"left":"top",r=r?"bottom":"right",p=Xt(e)[c],r=(o[r]-p<s[h]&&(t.offsets.popper[h]-=s[h]-(o[r]-p)),o[h]+p>s[r]&&(t.offsets.popper[h]+=o[h]+p-s[r]),t.offsets.popper=Kt(t.offsets.popper),o[h]+o[c]/2-p/2),o=Dt(t.instance.popper),_=parseFloat(o["margin"+f],10),o=parseFloat(o["border"+f+"Width"],10),f=r-t.offsets.popper[h]-_-o,f=Math.max(Math.min(s[c]-p,f),0);t.arrowElement=e,t.offsets.arrow=(Ut(r={},h,Math.round(f)),Ut(r,u,""),r)}return t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(p,g){if(!(ee(p.instance.modifiers,"inner")||p.flipped&&p.placement===p.originalPlacement)){var m=Gt(p.instance.popper,p.instance.reference,g.padding,g.boundariesElement,p.positionFixed),_=p.placement.split("-")[0],v=Jt(_),E=p.placement.split("-")[1]||"",y=[];switch(g.behavior){case ue_FLIP:y=[_,v];break;case ue_CLOCKWISE:y=he(_);break;case ue_COUNTERCLOCKWISE:y=he(_,!0);break;default:y=g.behavior}y.forEach(function(t,e){if(_!==t||y.length===e+1)return p;_=p.placement.split("-")[0],v=Jt(_);var t=p.offsets.popper,r=p.offsets.reference,o=Math.floor,r="left"===_&&o(t.right)>o(r.left)||"right"===_&&o(t.left)<o(r.right)||"top"===_&&o(t.bottom)>o(r.top)||"bottom"===_&&o(t.top)<o(r.bottom),a=o(t.left)<o(m.left),l=o(t.right)>
1o(m.right),c=o(t.top)<o(m.top),t=o(t.bottom)>o(m.bottom),o="left"===_&&a||"right"===_&&l||"top"===_&&c||"bottom"===_&&t,u=-1!==["top","bottom"].indexOf(_),a=!!g.flipVariations&&(u&&"start"===E&&a||u&&"end"===E&&l||!u&&"start"===E&&c||!u&&"end"===E&&t);(r||o||a)&&(p.flipped=!0,(r||o)&&(_=y[e+1]),a&&(E="end"===E?"start":"start"===E?"end":E),p.placement=_+(E?"-"+E:""),p.offsets.popper=Bt({},p.offsets.popper,Zt(p.instance.popper,p.offsets.reference,p.placement)),p=te(p.instance.modifiers,p,"flip"))})}return p},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],i=t.offsets,r=i.popper,i=i.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return r[s?"left":"top"]=i[n]-(a?r[s?"width":"height"]:0),t.placement=Jt(e),t.offsets.popper=Kt(r),t}},hide:{order:800,enabled:!0,fn:function(t){if(le(t.instance.modifiers,"hide","preventOverflow")){var e=t.offsets.reference,n=$t(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,i=e.y,r=t.offsets.popper,o=$t(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration,o=(void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!"),void 0!==o?o:e.gpuAcceleration),e=Vt(Lt(t.instance.popper)),l={position:r.position},r={left:Math.floor(r.left),top:Math.round(r.top),bottom:Math.round(r.bottom),right:Math.floor(r.right)},n="bottom"===n?"top":"bottom",i="right"===i?"left":"right",u=ne("transform"),p="bottom"==n?-e.height+r.bottom:r.top,e="right"==i?-e.width+r.right:r.left,o=(o&&u?(l[u]="translate3d("+e+"px, "+p+"px, 0)",l[n]=0,l[i]=0,l.willChange="transform"):(r="right"==i?-1:1,l[n]=p*("bottom"==n?-1:1),l[i]=e*r,l.willChange=n+", "+i),{"x-placement":t.placement});return t.attributes=Bt({},o,t.attributes),t.styles=Bt({},l,t.styles),t.arrowStyles=Bt({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return ae(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach(function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t)}),t.arrowElement&&Object.keys(t.arrowStyles).length&&ae(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,i,r){r=zt(r,e,t,n.positionFixed),r=qt(n.placement,r,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",r),ae(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},ge=(()=>{function o(t,e){var n=this,i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},t=(((t,e)=>{if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,o),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=wt(this.update.bind(this)),this.options=Bt({},o.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=e&&e.jquery?e[0]:e,this.options.modifiers={},Object.keys(Bt({},o.Defaults.modifiers,i.modifiers)).forEach(function(t){n.options.modifiers[t]=Bt({},o.Defaults.modifiers[t]||{},i.modifiers?i.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return Bt({name:t},n.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&It(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state)}),this.update(),this.options.eventsEnabled);t&&this.enableEventListeners(),this.state.eventsEnabled=t}return Ft(o,[{key:"update",value:function(){return function(){var t;this.state.isDestroyed||((t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}}).offsets.reference=zt(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=qt(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=Zt(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=te(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t)))}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,ee(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[ne("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){var t,n,i;this.state.eventsEnabled||(this.state=(t=this.reference,this.options,n=this.state,i=this.scheduleUpdate,n.updateBound=i,ie(t).addEventListener("resize",n.updateBound,{passive:!0}),function t(e,n,i,r){var o="BODY"===e.nodeName,e=o?e.ownerDocument.defaultView:e;e.addEventListener(n,i,{passive:!0}),o||t(St(e.parentNode),n,i,r),r.push(e)}(i=St(t),"scroll",n.updateBound,n.scrollParents),n.scrollElement=i,n.eventsEnabled=!0,n))}.call(this)}},{key:"disableEventListeners",value:function(){return function(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,ie(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEac
1h(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}.call(this)}}]),o})();ge.Utils=("undefined"!=typeof window?window:global).PopperUtils,ge.placements=ce,ge.Defaults=pe;Ee="."+(ve="bs.dropdown"),ce=".data-api",be=(me=e).fn[_e="dropdown"],Te=new RegExp("38|40|27"),Ce={HIDE:"hide"+Ee,HIDDEN:"hidden"+Ee,SHOW:"show"+Ee,SHOWN:"shown"+Ee,CLICK:"click"+Ee,CLICK_DATA_API:"click"+Ee+ce,KEYDOWN_DATA_API:"keydown"+Ee+ce,KEYUP_DATA_API:"keyup"+Ee+ce},we="disabled",Ie="show",Oe="dropdown-menu-right",ke='[data-toggle="dropdown"]',Pe=".dropdown-menu",Be={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},Ke={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},Ve=(()=>{function l(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var t=l.prototype;return t.toggle=function(){if(!this._element.disabled&&!me(this._element).hasClass(we)){var t=l._getParentFromElement(this._element),e=me(this._menu).hasClass(Ie);if(l._clearMenus(),!e){var e={relatedTarget:this._element},i=me.Event(Ce.SHOW,e);if(me(t).trigger(i),!i.isDefaultPrevented()){if(!this._inNavbar){if(void 0===ge)throw new TypeError("Bootstrap dropdown require Popper.js (https://popper.js.org)");i=this._element;"parent"===this._config.reference?i=t:gt.isElement(this._config.reference)&&(i=this._config.reference,void 0!==this._config.reference.jquery)&&(i=this._config.reference[0]),"scrollParent"!==this._config.boundary&&me(t).addClass("position-static"),this._popper=new ge(i,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===me(t).closest(".navbar-nav").length&&me(document.body).children().on("mouseover",null,me.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),me(this._menu).toggleClass(Ie),me(t).toggleClass(Ie).trigger(me.Event(Ce.SHOWN,e))}}}},t.dispose=function(){me.removeData(this._element,ve),me(this._element).off(Ee),this._element=null,(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},t.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},t._addEventListeners=function(){var e=this;me(this._element).on(Ce.CLICK,function(t){t.preventDefault(),t.stopPropagation(),e.toggle()})},t._getConfig=function(t){return t=c({},this.constructor.Default,me(this._element).data(),t),gt.typeCheckConfig(_e,t,this.constructor.DefaultType),t},t._getMenuElement=function(){var t;return this._menu||(t=l._getParentFromElement(this._element),this._menu=me(t).find(Pe)[0]),this._menu},t._getPlacement=function(){var t=me(this._element).parent(),e="bottom-start";return t.hasClass("dropup")?(e="top-start",me(this._menu).hasClass(Oe)&&(e="top-end")):t.hasClass("dropright")?e="right-start":t.hasClass("dropleft")?e="left-start":me(this._menu).hasClass(Oe)&&(e="bottom-end"),e},t._detectNavbar=function(){return 0<me(this._element).closest(".navbar").length},t._getPopperConfig=function(){var e=this,t={},t=("function"==typeof this._config.offset?t.fn=function(t){return t.offsets=c({},t.offsets,e._config.offset(t.offsets)||{}),t}:t.offset=this._config.offset,{placement:this._getPlacement(),modifiers:{offset:t,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}});return"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),t},l._jQueryInterface=function(e){return this.each(function(){var t=me(this).data(ve);if(t||(t=new l(this,"object"==typeof e?e:null),me(this).data(ve,t)),"string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e]()}})},l._clearMenus=function(t){if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var e=me.makeArray(me(ke)),n=0;n<e.length;n++){var a,i=l._getParentFromElement(e[n]),r=me(e[n]).data(ve),o={relatedTarget:e[n]};r&&(r=r._menu,!me(i).hasClass(Ie)||t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&me.contains(i,t.target)||(a=me.Event(Ce.HIDE,o),me(i).trigger(a),a.isDefaultPrevented())||("ontouchstart"in document.documentElement&&me(document.body).children().off("mouseover",null,me.noop),e[n].setAttribute("aria-expanded","fal
1se"),me(r).removeClass(Ie),me(i).removeClass(Ie).trigger(me.Event(Ce.HIDDEN,o))))}},l._getParentFromElement=function(t){var e,n=gt.getSelectorFromElement(t);return(e=n?me(n)[0]:e)||t.parentNode},l._dataApiKeydownHandler=function(t){var e,r,n;(/input|textarea/i.test(t.target.tagName)?32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||me(t.target).closest(Pe).length):!Te.test(t.which))||(t.preventDefault(),t.stopPropagation(),this.disabled)||me(this).hasClass(we)||(e=l._getParentFromElement(this),((n=me(e).hasClass(Ie))||27===t.which&&32===t.which)&&(!n||27!==t.which&&32!==t.which)?0!==(n=me(e).find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)").get()).length&&(r=n.indexOf(t.target),38===t.which&&0<r&&r--,40===t.which&&r<n.length-1&&r++,n[r=r<0?0:r].focus()):(27===t.which&&(n=me(e).find(ke)[0],me(n).trigger("focus")),me(this).trigger("click")))},s(l,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return Be}},{key:"DefaultType",get:function(){return Ke}}]),l})(),me(document).on(Ce.KEYDOWN_DATA_API,ke,Ve._dataApiKeydownHandler).on(Ce.KEYDOWN_DATA_API,Pe,Ve._dataApiKeydownHandler).on(Ce.CLICK_DATA_API+" "+Ce.KEYUP_DATA_API,Ve._clearMenus).on(Ce.CLICK_DATA_API,ke,function(t){t.preventDefault(),t.stopPropagation(),Ve._jQueryInterface.call(me(this),"toggle")}).on(Ce.CLICK_DATA_API,".dropdown form",function(t){t.stopPropagation()}),me.fn[_e]=Ve._jQueryInterface,me.fn[_e].Constructor=Ve,me.fn[_e].noConflict=function(){return me.fn[_e]=be,Ve._jQueryInterface};var me,_e,ve,Ee,be,Te,Ce,we,Ie,Oe,ke,Pe,Be,Ke,Ve,Qe,Ye,Ge,qe,ze,Xe,Je,Ze,en,nn,rn,on,sn,an,ln,cn,fn,hn,un,dn,pn,gn,mn,_n,En,yn,bn,wn,In,Sn,On,Nn,kn,Ln,Pn,xn,jn,Mn,Rn,Bn,Kn,Vn,Qn,Yn,Gn,qn,zn,Xn,Jn,$n,ti,ni,ii,ri,oi,ai,li,fi,mi,_i,bi,pe=Ve,ce=(qe="."+(Ge="bs.modal"),ze=(Qe=e).fn[Ye="modal"],Xe={backdrop:!0,keyboard:!0,focus:!0,show:!0},Je={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},Ze={HIDE:"hide"+qe,HIDDEN:"hidden"+qe,SHOW:"show"+qe,SHOWN:"shown"+qe,FOCUSIN:"focusin"+qe,RESIZE:"resize"+qe,CLICK_DISMISS:"click.dismiss"+qe,KEYDOWN_DISMISS:"keydown.dismiss"+qe,MOUSEUP_DISMISS:"mouseup.dismiss"+qe,MOUSEDOWN_DISMISS:"mousedown.dismiss"+qe,CLICK_DATA_API:"click"+qe+".data-api"},en="modal-open",nn="fade",rn="show",on={DIALOG:".modal-dialog",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"},sn=(()=>{function r(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=Qe(t).find(on.DIALOG)[0],this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._scrollbarWidth=0}var t=r.prototype;return t.toggle=function(t){return this._isShown?this.hide():this.show(t)},t.show=function(t){var n,e=this;this._isTransitioning||this._isShown||(Qe(this._element).hasClass(nn)&&(this._isTransitioning=!0),n=Qe.Event(Ze.SHOW,{relatedTarget:t}),Qe(this._element).trigger(n),this._isShown)||n.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),Qe(document.body).addClass(en),this._setEscapeEvent(),this._setResizeEvent(),Qe(this._element).on(Ze.CLICK_DISMISS,on.DATA_DISMISS,function(t){return e.hide(t)}),Qe(this._dialog).on(Ze.MOUSEDOWN_DISMISS,function(){Qe(e._element).one(Ze.MOUSEUP_DISMISS,function(t){Qe(t.target).is(e._element)&&(e._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return e._showElement(t)}))},t.hide=function(t){var e=this;t&&t.preventDefault(),!this._isTransitioning&&this._isShown&&(t=Qe.Event(Ze.HIDE),Qe(this._element).trigger(t),this._isShown)&&!t.isDefaultPrevented()&&(this._isShown=!1,(t=Qe(this._element).hasClass(nn))&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),Qe(document).off(Ze.FOCUSIN),Qe(this._element).removeClass(rn),Qe(this._element).off(Ze.CLICK_DISMISS),Qe(this._dialog).off(Ze.MOUSEDOWN_DISMISS),t?(t=gt.getTransitionDurationFromElement(this._element),Qe(this._element).one(gt.TRANSITION_END,function(t){return e._hideModal(t)}).emulateTransitionEnd(t)):this._hideModal())},t.dispose=function(){Qe.removeData(this._element,Ge),Qe(window,document,this._element,this._backdrop).off(qe),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._scrollbarWidth=null},t.handleUpdate=function(){this._adjustDialog()},t._getConfig=function(t){return t=c({},Xe,t),gt.typeCheckConfig(Ye,t,Je),t},t._showElement=function(t){function r(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,Qe(e._element).trigger(i)}var e=this,n=Qe(this._element).hasClass(nn),i=(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.scrollTop=0,n&>.reflow(this._element),Qe(this._element).addClass(rn),this._config.focus&&this._enforceFocus(),Qe.Event(Ze.SHOWN,{relatedTarget:t}));n?(t=gt.getTransitionDurationFromElement(this._element),Qe(this._dialog).one(gt.TRANSITION_END,r).emulateTransitionEnd(t)):r()},t._enforceFocus=function(){var e=this;Qe(document).off(Ze.FOCUSIN).on(Ze.FOCUSIN,function(t){document!==t.target&&e._element!==t.target&&0===Qe(e._element).has(t.target).length&&e._element.focus()})},t._setEscapeEvent=function(){var e=this;this._isShown&&this._config.keyboard?Qe(this._element).on(Ze.KEYDOWN_DISMISS,function(t){27===t.which&&(t.preventDefault(),e.hide())}):this._isShown||Qe(this._element).off(Ze.KEYDOWN_DISMISS)},t._setResizeEvent=function(){var e=this;this._isShown?Qe(window).on(Ze.RESIZE,function(t){return e.handleUpdate(t)}):Qe(window).off(Ze.RESIZE)},t._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._isTransitioning=!1,this._showBackdrop(function(){Qe(document.body).removeClass(en),t._resetAdjustments(),t._resetScrollbar(),Qe(t._element).trigger(Ze.HIDDEN)})},t._removeBackdrop=function(){this._backdrop&&(Qe(this._backdrop).remove(),this._backdrop=null)},t._showBackdrop=function(t){var o,e=this,n=Qe(this._element).hasClass(nn)?nn:"";this._isShown&&this._config.backdrop?(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",n&&Qe(this._backdrop).addClass(n),Qe(this._backdrop).appendTo(document.body),Qe(this._element).on(Ze.CLICK_DISMISS,function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===e._config.backdrop?e._element.focus():e.hide())}),n&>.reflow(this._backdrop),Qe(this._backdrop).addClass(rn),t&&(n?(n=gt.getTransitionDurationFromElement(this._backdrop),Qe(this._backdrop).one(gt.TRANSITION_END,t).emulateTransitionEnd(n)):t())):!this._isShown&&this._backdrop?(Qe(this._backdrop).removeClass(rn),n=function(){e._removeBackdrop(),t&&t()},Qe(this._element).hasClass(nn)?(o=gt.getTransitionDurationFromElement(this._backdrop),Qe(this._backdrop).one(gt.TRANSITION_END,n).emulateTransitionEnd(o)):n()):t&&t()},t._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},t._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},t._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},t._setScrollbar=function(){var t,e,r=this;this._isBodyOverflowing&&(Qe(on.FIXED_CONTENT).each(function(t,e){var n=Qe(e)[0].style.paddingRight,i=Qe(e).css("padding-right");Qe(e).data("padding-right",n).css("padding-right",parseFloat(i)+r._scrollbarWidth+"px")}),Qe(on.STICKY_CONTENT).each(function(t,e){var n=Qe(e)[0].style.marginRight,i=Qe(e).css("margin-right");Qe(e).data("margin-right",n).css("margin-right",parseFloat(i)-r._scrollbarWidth+"px")}),Qe(on.NAVBAR_TOGGLER).each(function(t,e){var n=Qe(e)[0].style.marginRight,i=Qe(e).css("margin-right");Qe(e).data("margin-right",n).css("margin-right",parseFloat(i)+r._scrollbarWidth+"px")}),t=document.body.style.paddingRight,e=Qe(document.body).css("padding-right"),Qe(document.body).data("padding-right",t).css("padding-right",parseFloat(e)+this._scrollbarWidth+"px"))},t._resetScrollbar=function(){Qe(on.FIXED_CONTENT).each(function(t,e){var n=Qe(e).data("padding-right");void 0!==n&&Qe(e).css("padding-right",n).removeData("padding-right")}),Qe(on.STICKY_CONTENT+", "+on.NAVBAR_TOGGLER).each(function(t,e){var n=Qe(e).data("margin-right");void 0!==n&&Qe(e).css("margin-right",n).removeData("margin-right")});var t=Qe(document.body).data("padding-right");void 0!==t&&Qe(document.body).css("padding-right",t).removeData("padding-right")},t._getScrollbarWidth=function(){var t=document.createElement("div"),e=(t.className="modal-scrollbar-measure",document.body.appendChild(t),t.getBoundingClientRect().width-t.clientWidth);return document.body.removeChild(t),e},r._jQueryInterface=function(n,i){return this.each(function(){var t=Qe(this).data(Ge),e=c({},Xe,Qe(this).data(),"object"==typeof n&&n?n:{});if(t||(t=new r(this,e),Qe(this).data(Ge,t)),"string"==typeof n){if(void 0===t[n])throw new TypeError('No method n
1amed "'+n+'"');t[n](i)}else e.show&&t.show(i)})},s(r,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return Xe}}]),r})(),Qe(document).on(Ze.CLICK_DATA_API,on.DATA_TOGGLE,function(t){var e,n=this,i=gt.getSelectorFromElement(this),i=(i&&(e=Qe(i)[0]),Qe(e).data(Ge)?"toggle":c({},Qe(e).data(),Qe(this).data())),o=("A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault(),Qe(e).one(Ze.SHOW,function(t){t.isDefaultPrevented()||o.one(Ze.HIDDEN,function(){Qe(n).is(":visible")&&n.focus()})}));sn._jQueryInterface.call(Qe(e),i,this)}),Qe.fn[Ye]=sn._jQueryInterface,Qe.fn[Ye].Constructor=sn,Qe.fn[Ye].noConflict=function(){return Qe.fn[Ye]=ze,sn._jQueryInterface},sn),wi=(fn="."+(cn="bs.tooltip"),hn=(an=e).fn[ln="tooltip"],un="bs-tooltip",dn=new RegExp("(^|\\s)"+un+"\\S+","g"),mn={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!(gn={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"}),selector:!(pn={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"}),placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},En={HIDE:"hide"+fn,HIDDEN:"hidden"+fn,SHOW:(_n="show")+fn,SHOWN:"shown"+fn,INSERTED:"inserted"+fn,CLICK:"click"+fn,FOCUSIN:"focusin"+fn,FOCUSOUT:"focusout"+fn,MOUSEENTER:"mouseenter"+fn,MOUSELEAVE:"mouseleave"+fn},yn="fade",bn="show",wn="hover",In="focus",Sn=(()=>{function i(t,e){if(void 0===ge)throw new TypeError("Bootstrap tooltips require Popper.js (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var t=i.prototype;return t.enable=function(){this._isEnabled=!0},t.disable=function(){this._isEnabled=!1},t.toggleEnabled=function(){this._isEnabled=!this._isEnabled},t.toggle=function(t){var e,n;this._isEnabled&&(t?(e=this.constructor.DATA_KEY,(n=an(t.currentTarget).data(e))||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),an(t.currentTarget).data(e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)):an(this.getTipElement()).hasClass(bn)?this._leave(null,this):this._enter(null,this))},t.dispose=function(){clearTimeout(this._timeout),an.removeData(this.element,this.constructor.DATA_KEY),an(this.element).off(this.constructor.EVENT_KEY),an(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&an(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,(this._activeTrigger=null)!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},t.show=function(){var e=this;if("none"===an(this.element).css("display"))throw new Error("Please use show on visible elements");var a,n,t=an.Event(this.constructor.Event.SHOW);this.isWithContent()&&this._isEnabled&&(an(this.element).trigger(t),n=an.contains(this.element.ownerDocument.documentElement,this.element),!t.isDefaultPrevented())&&n&&(t=this.getTipElement(),n=gt.getUID(this.constructor.NAME),t.setAttribute("id",n),this.element.setAttribute("aria-describedby",n),this.setContent(),this.config.animation&&an(t).addClass(yn),n="function"==typeof this.config.placement?this.config.placement.call(this,t,this.element):this.config.placement,n=this._getAttachment(n),this.addAttachmentClass(n),a=!1===this.config.container?document.body:an(this.config.container),an(t).data(this.constructor.DATA_KEY,this),an.contains(this.element.ownerDocument.documentElement,this.tip)||an(t).appendTo(a),an(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new ge(this.element,t,{placement:n,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"}
1,preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){e._handlePopperPlacementChange(t)}}),an(t).addClass(bn),"ontouchstart"in document.documentElement&&an(document.body).children().on("mouseover",null,an.noop),a=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,an(e.element).trigger(e.constructor.Event.SHOWN),"out"===t&&e._leave(null,e)},an(this.tip).hasClass(yn)?(n=gt.getTransitionDurationFromElement(this.tip),an(this.tip).one(gt.TRANSITION_END,a).emulateTransitionEnd(n)):a())},t.hide=function(t){function r(){e._hoverState!==_n&&n.parentNode&&n.parentNode.removeChild(n),e._cleanTipClass(),e.element.removeAttribute("aria-describedby"),an(e.element).trigger(e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t()}var e=this,n=this.getTipElement(),i=an.Event(this.constructor.Event.HIDE);an(this.element).trigger(i),i.isDefaultPrevented()||(an(n).removeClass(bn),"ontouchstart"in document.documentElement&&an(document.body).children().off("mouseover",null,an.noop),this._activeTrigger.click=!1,this._activeTrigger[In]=!1,this._activeTrigger[wn]=!1,an(this.tip).hasClass(yn)?(i=gt.getTransitionDurationFromElement(n),an(n).one(gt.TRANSITION_END,r).emulateTransitionEnd(i)):r(),this._hoverState="")},t.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},t.isWithContent=function(){return Boolean(this.getTitle())},t.addAttachmentClass=function(t){an(this.getTipElement()).addClass(un+"-"+t)},t.getTipElement=function(){return this.tip=this.tip||an(this.config.template)[0],this.tip},t.setContent=function(){var t=an(this.getTipElement());this.setElementContent(t.find(".tooltip-inner"),this.getTitle()),t.removeClass(yn+" "+bn)},t.setElementContent=function(t,e){var n=this.config.html;"object"==typeof e&&(e.nodeType||e.jquery)?n?an(e).parent().is(t)||t.empty().append(e):t.text(an(e).text()):t[n?"html":"text"](e)},t.getTitle=function(){return this.element.getAttribute("data-original-title")||("function"==typeof this.config.title?this.config.title.call(this.element):this.config.title)},t._getAttachment=function(t){return gn[t.toUpperCase()]},t._setListeners=function(){var i=this;this.config.trigger.split(" ").forEach(function(t){var e;"click"===t?an(i.element).on(i.constructor.Event.CLICK,i.config.selector,function(t){return i.toggle(t)}):"manual"!==t&&(e=t===wn?i.constructor.Event.MOUSEENTER:i.constructor.Event.FOCUSIN,t=t===wn?i.constructor.Event.MOUSELEAVE:i.constructor.Event.FOCUSOUT,an(i.element).on(e,i.config.selector,function(t){return i._enter(t)}).on(t,i.config.selector,function(t){return i._leave(t)})),an(i.element).closest(".modal").on("hide.bs.modal",function(){return i.hide()})}),this.config.selector?this.config=c({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},t._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");!this.element.getAttribute("title")&&"string"==t||(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},t._enter=function(t,e){var n=this.constructor.DATA_KEY;(e=e||an(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),an(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusin"===t.type?In:wn]=!0),an(e.getTipElement()).hasClass(bn)||e._hoverState===_n?e._hoverState=_n:(clearTimeout(e._timeout),e._hoverState=_n,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===_n&&e.show()},e.config.delay.show):e.show())},t._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||an(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),an(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusout"===t.type?In:wn]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState="out",e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){"out"===e._hoverState&&e.hide()},e.config.delay.hide):e.hide())},t._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},t._getConfig=function(t){return"number"==typeof(t=c({},this.constructor.Default,an(this.element).data(),"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),gt.typeCheckConfig(ln,t,this.constructor.DefaultType),t},t._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},t._cleanTipClass=function(){var t=an(this.getTipElement()),e=t.attr("class").match(dn);null!==e&&0<e.length&&t.removeClass(e.join(""))},t._handlePopperPlacementChange=function(t){this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},t._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(an(t).removeClass(yn),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},i._jQueryInterface=function(n){return this.each(function(){var t=an(this).data(cn),e="object"==typeof n&&n;if((t||!/dispose|hide/.test(n))&&(t||(t=new i(this,e),an(this).data(cn,t)),"string"==typeof n)){if(void 0===t[n])throw new TypeError('No method n
1amed "'+n+'"');t[n]()}})},s(i,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return mn}},{key:"NAME",get:function(){return ln}},{key:"DATA_KEY",get:function(){return cn}},{key:"Event",get:function(){return En}},{key:"EVENT_KEY",get:function(){return fn}},{key:"DefaultType",get:function(){return pn}}]),i})(),an.fn[ln]=Sn._jQueryInterface,an.fn[ln].Constructor=Sn,an.fn[ln].noConflict=function(){return an.fn[ln]=hn,Sn._jQueryInterface},Sn),Ii=(Ln="."+(kn="bs.popover"),Pn=(On=e).fn[Nn="popover"],xn="bs-popover",jn=new RegExp("(^|\\s)"+xn+"\\S+","g"),Mn=c({},wi.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),Rn=c({},wi.DefaultType,{content:"(string|element|function)"}),Bn={HIDE:"hide"+Ln,HIDDEN:"hidden"+Ln,SHOW:"show"+Ln,SHOWN:"shown"+Ln,INSERTED:"inserted"+Ln,CLICK:"click"+Ln,FOCUSIN:"focusin"+Ln,FOCUSOUT:"focusout"+Ln,MOUSEENTER:"mouseenter"+Ln,MOUSELEAVE:"mouseleave"+Ln},Kn=(t=>{var n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),(e.prototype.constructor=e).__proto__=n;var e=i.prototype;return e.isWithContent=function(){return this.getTitle()||this._getContent()},e.addAttachmentClass=function(t){On(this.getTipElement()).addClass(xn+"-"+t)},e.getTipElement=function(){return this.tip=this.tip||On(this.config.template)[0],this.tip},e.setContent=function(){var t=On(this.getTipElement()),e=(this.setElementContent(t.find(".popover-header"),this.getTitle()),this._getContent());"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(".popover-body"),e),t.removeClass("fade show")},e._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},e._cleanTipClass=function(){var t=On(this.getTipElement()),e=t.attr("class").match(jn);null!==e&&0<e.length&&t.removeClass(e.join(""))},i._jQueryInterface=function(n){return this.each(function(){var t=On(this).data(kn),e="object"==typeof n?n:null;if((t||!/destroy|hide/.test(n))&&(t||(t=new i(this,e),On(this).data(kn,t)),"string"==typeof n)){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},s(i,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return Mn}},{key:"NAME",get:function(){return Nn}},{key:"DATA_KEY",get:function(){return kn}},{key:"Event",get:function(){return Bn}},{key:"EVENT_KEY",get:function(){return Ln}},{key:"DefaultType",get:function(){return Rn}}]),i})(wi),On.fn[Nn]=Kn._jQueryInterface,On.fn[Nn].Constructor=Kn,On.fn[Nn].noConflict=function(){return On.fn[Nn]=Pn,Kn._jQueryInterface},Kn),Di=(Gn="."+(Yn="bs.scrollspy"),qn=(Vn=e).fn[Qn="scrollspy"],zn={offset:10,method:"auto",target:""},Xn={offset:"number",method:"string",target:"(string|element)"},Jn={ACTIVATE:"activate"+Gn,SCROLL:"scroll"+Gn,LOAD_DATA_API:"load"+Gn+".data-api"},$n="active",ti={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",NAV_ITEMS:".nav-item",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},ni="position",ii=(()=>{function n(t,e){var n=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" "+ti.NAV_LINKS+","+this._config.target+" "+ti.LIST_ITEMS+","+this._config.target+" "+ti.DROPDOWN_ITEMS,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,Vn(this._scrollElement).on(Jn.SCROLL,function(t){return n._process(t)}),this.refresh(),this._process()}var t=n.prototype;return t.refresh=function(){var e=this,t=this._scrollElement===this._scrollElement.window?"offset":ni,r="auto"===this._config.method?t:this._config.method,o=r===ni?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),Vn.makeArray(Vn(this._selector)).map(function(t){var e,t=gt.getSelectorFromElement(t);if(e=t?Vn(t)[0]:e){var i=e.getBoundingClientRect();if(i.width||i.height)return[Vn(e)[r]().top+o,t]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}
1).forEach(function(t){e._offsets.push(t[0]),e._targets.push(t[1])})},t.dispose=function(){Vn.removeData(this._element,Yn),Vn(this._scrollElement).off(Gn),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},t._getConfig=function(t){var e;return"string"!=typeof(t=c({},zn,"object"==typeof t&&t?t:{})).target&&((e=Vn(t.target).attr("id"))||(e=gt.getUID(Qn),Vn(t.target).attr("id",e)),t.target="#"+e),gt.typeCheckConfig(Qn,t,Xn),t},t._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},t._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},t._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},t._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),n<=t){e=this._targets[this._targets.length-1];this._activeTarget!==e&&this._activate(e)}else if(this._activeTarget&&t<this._offsets[0]&&0<this._offsets[0])this._activeTarget=null,this._clear();else for(var r=this._offsets.length;r--;)this._activeTarget!==this._targets[r]&&t>=this._offsets[r]&&(void 0===this._offsets[r+1]||t<this._offsets[r+1])&&this._activate(this._targets[r])},t._activate=function(e){this._activeTarget=e,this._clear();var t=(t=this._selector.split(",")).map(function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'}),t=Vn(t.join(","));(t.hasClass("dropdown-item")?(t.closest(ti.DROPDOWN).find(ti.DROPDOWN_TOGGLE).addClass($n),t):(t.addClass($n),t.parents(ti.NAV_LIST_GROUP).prev(ti.NAV_LINKS+", "+ti.LIST_ITEMS).addClass($n),t.parents(ti.NAV_LIST_GROUP).prev(ti.NAV_ITEMS).children(ti.NAV_LINKS))).addClass($n),Vn(this._scrollElement).trigger(Jn.ACTIVATE,{relatedTarget:e})},t._clear=function(){Vn(this._selector).filter(ti.ACTIVE).removeClass($n)},n._jQueryInterface=function(e){return this.each(function(){var t=Vn(this).data(Yn);if(t||(t=new n(this,"object"==typeof e&&e),Vn(this).data(Yn,t)),"string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e]()}})},s(n,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return zn}}]),n})(),Vn(window).on(Jn.LOAD_DATA_API,function(){for(var t=Vn.makeArray(Vn(ti.DATA_SPY)),e=t.length;e--;){var n=Vn(t[e]);ii._jQueryInterface.call(n,n.data())}}),Vn.fn[Qn]=ii._jQueryInterface,Vn.fn[Qn].Constructor=ii,Vn.fn[Qn].noConflict=function(){return Vn.fn[Qn]=qn,ii._jQueryInterface},ii),si=(si="."+(oi="bs.tab"),ai=(ri=e).fn.tab,li={HIDE:"hide"+si,HIDDEN:"hidden"+si,SHOW:"show"+si,SHOWN:"shown"+si,CLICK_DATA_API:"click"+si+".data-api"},fi="active",mi=".active",_i="> li > .active",bi=(()=>{function i(t){this._element=t}var t=i.prototype;return t.show=function(){var t,e,r,i,o,a,n=this;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&ri(this._element).hasClass(fi)||ri(this._element).hasClass("disabled")||(e=ri(this._element).closest(".nav, .list-group")[0],r=gt.getSelectorFromElement(this._element),e&&(o="UL"===e.nodeName?_i:mi,i=(i=ri.makeArray(ri(e).find(o)))[i.length-1]),o=ri.Event(li.HIDE,{relatedTarget:this._element}),a=ri.Event(li.SHOW,{relatedTarget:i}),i&&ri(i).trigger(o),ri(this._element).trigger(a),a.isDefaultPrevented())||o.isDefaultPrevented()||(r&&(t=ri(r)[0]),this._activate(this._element,e),a=function(){var t=ri.Event(li.HIDDEN,{relatedTarget:n._element}),e=ri.Event(li.SHOWN,{relatedTarget:i});ri(i).trigger(t),ri(n._element).trigger(e)},t?this._activate(t,t.parentNode,a):a())},t.dispose=function(){ri.removeData(this._element,oi),this._element=null},t._activate=function(t,e,n){function s(){return i._transitionComplete(t,r,n)}var i=this,r=("UL"===e.nodeName?ri(e).find(_i):ri(e).children(mi))[0],e=n&&r&&ri(r).hasClass("fade");r&&e?(e=gt.getTransitionDurationFromElement(r),ri(r).one(gt.TRANSITION_END,s).emulateTransitionEnd(e)):s()},t._transitionComplete=function(t,e,n){var i;e&&(ri(e).removeClass("show "+fi),(i=ri(e.parentNode).find("> .dropdown-menu .active")[0])&&ri(i).removeClass(fi),"tab"===e.getAttribute("role"))&&e.setAttribute("aria-selected",!1),ri(t).addClass(fi),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),gt.reflow(t),ri(t).addClass("show"),t.parentNode&&ri(t.parentNode).hasClass("dropdown-menu")&&((i=ri(t).closest(".dropdown")[0])&&ri(i).find(".dropdown-toggle").addClass(fi),t.setAttribute("aria-expanded",!0)),n&&n()},i._jQueryInterface=function(n){return this.each(function(){var t=ri(this),e=t.data(oi);if(e||(e=new i(this),t.data(oi,e)),"string"==typeof n){if(void 0===e[n])throw new TypeError('No method n
1amed "'+n+'"');e[n]()}})},s(i,null,[{key:"VERSION",get:function(){return"4.1.1"}}]),i})(),ri(document).on(li.CLICK_DATA_API,'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(t){t.preventDefault(),bi._jQueryInterface.call(ri(this),"show")}),ri.fn.tab=bi._jQueryInterface,ri.fn.tab.Constructor=bi,ri.fn.tab.noConflict=function(){return ri.fn.tab=ai,bi._jQueryInterface},bi);(t=>{if(void 0===t)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");if((t=t.fn.jquery.split(" ")[0].split("."))[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||4<=t[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")})(e),t.Util=gt,t.Alert=a,t.Button=E,t.Carousel=w,t.Collapse=v,t.Dropdown=pe,t.Modal=ce,t.Popover=Ii,t.Scrollspy=Di,t.Tab=si,t.Tooltip=wi,Object.defineProperty(t,"__esModule",{value:!0})}),((a,b,c,d)=>{function e(b,c){this.settings=null,this.options=a.extend({},e.Defaults,c),this.$element=a(b),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},a.each(["onResize","onThrottledResize"],a.proxy(function(b,c){this._handlers[c]=a.proxy(this[c],this)},this)),a.each(e.Plugins,a.proxy(function(a,b){this._plugins[a.charAt(0).toLowerCase()+a.slice(1)]=new b(this)},this)),a.each(e.Workers,a.proxy(function(b,c){this._pipe.push({filter:c.filter,run:a.proxy(c.run,this)})},this)),this.setup(),this.initialize()}e.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:b,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},e.Width={Default:"default",Inner:"inner",Outer:"outer"},e.Type={Event:"event",State:"state"},e.Plugins={},e.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(a){a.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(a){var b=this.settings.margin||"",c=!this.settings.autoWidth,d=this.settings.rtl,d={width:"auto","margin-left":d?b:"","margin-right":d?"":b};c||this.$stage.children().css(d),a.css=d}},{filter:["width","items","settings"],run:function(a){var c,b=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,d=this._items.length,e=!this.settings.autoWidth,f=[];for(a.items={merge:!1,width:b};d--;)c=this._mergers[d],c=this.settings.mergeFit&&Math.min(c,this.settings.items)||c,a.items.merge=1<c||a.items.merge,f[d]=e?b*c:this._items[d].width();this._widths=f}},{filter:["items","settings"],run:function(){var b=[],c=this._items,d=this.settings,e=Math.max(2*d.items,4),f=2*Math.ceil(c.length/2),g=d.loop&&c.length?d.rewind?e:Math.max(e,f):0,h="",i="";for(g/=2;0<g;)b.push(this.normalize(b.length/2,!0)),h+=c[b[b.length-1]][0].outerHTML,b.push(this.normalize(c.length-1-(b.length-1)/2,!0)),i=c[b[b.length-1]][0].outerHTML+i,--g;this._clones=b,a(h).addClass("cloned").appendTo(this.$stage),a(i).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var d,e,a=this.settings.rtl?1:-1,b=this._clones.length+this._items.length,c=-1,f=[];++c<b;)d=f[c-1]||0,e=this._widths[this.relative(c)]+this.settings.margin,f.push(d+e*a);this._coordinates=f}},{filter:["width","items","settings"],run:function(){var a=this.settings.stagePadding,b=this._coordinates,b={width:Math.ceil(Math.abs(b[b.length-1]))+2*a,"padding-left":a||"","padding-right":a||""};this.$stage.css(b)}},{filter:["width","items","settings"],run:function(a){var b=this._coordinates.length,c=!this.settings.autoWidth,d=this.$stage.children();if(c&&a.items.merge)for(;b--;)a.css.width=this._widths[this.relative(b)],d.eq(b).css(a.css);else c&&(a.css.width=a.items.width,d.css(a.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(a){a.current=a.current?this.$stage.children().index(a.current):0,a.current=Math.max(this.minimum(),Math.min(this.maximum(),a.current)),this.reset(a.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){for(var a,b,e=this.settings.rtl?1:-1,f=2*this.settings.stagePadding,g=this.coordinates(this.current())+f,h=g+this.width()*e,i=[],c=0,d=this._coordinates.length;c<d;c++)a=this._coordinates[c-1]||0,b=Math.abs(this._coordinates[c])+f*e,(this.op(a,"<=",g)&&this.op(a,">",h)||this.op(b,"<",g)&&this.op(b,">",h))&&i.push(c);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+i.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],e.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=a("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(a("<div/>",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},e.prototype.initializeItems=function(){var b=this.$element.find(".owl-item");b.length?(this._items=b.get().map(function(b){return a(b)}),this._mergers=this._items.map(function(){return 1}),this.refresh()):(this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass))},e.prototype.initialize=function(){var a,b;this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")&&(a=this.$element.find("img"),b=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:d,b=this.$element.children(b).width(),a.length)&&b<=0&&this.preloadAutoWidthImages(a),this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},e.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},e.prototype.setup=function(){var b=this.viewport(),c=this.options.responsive,d=-1,e=null;c?(a.each(c,function(a){a<=b&&d<a&&(d=Number(a))}),"function"==typeof(e=a.extend({},this.options,c[d])).stagePadding&&(e.stagePadding=e.stagePadding()),delete e.responsive,e.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+d))):e=a.extend({},this.options),this.trigger("change",{property:{name:"settings",value:e}}),this._breakpoint=d,this.settings=e,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},e.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},e.prototype.prepare=function(b){var c=this.trigger("prepare",{content:b});return c.data||(c.data=a("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(b)),this.trigger("prepared",{content:c.data}),c.data},e.prototype.update=function(){for(var b=0,c=this._pipe.length,d=a.proxy(function(a){return this[a]},this._invalidated),e={};b<c;)(this._invalidated.all||0<a.grep(this._pipe[b].filter,d).length)&&this._pipe[b].run(e),b++;this._invalidated={},this.is("valid")||this.enter("valid")},e.prototype.width=function(a){switch(a=a||e.Width.Default){case e.Width.Inner:case e.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},e.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},e.prototype.onThrottledResize=function(){b.clearTimeout(this.resizeTimer),this.resizeTimer=b.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},e.prototype.onResize=function(){return!!this._items.length&&this._width!==this.$element.width()&&!!this.isVisible()&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))},e.prototype.registerEventHandlers=function(){a.support.transition&&this.$stage.on(a.support.transition.end+".owl.core",a.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(b,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",a.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",a.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",a.proxy(this.onDragEnd,this)))},e.prototype.onDragStart=function(b){var d=null;3!==b.which&&(d=a.support.transform?{x:(d=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===d.length?12:4],y:d[16===d.length?13:5]}:(d=this.$stage.position(),{x:this.settings.rtl?d.left+this.$stage.width()-this.width()+this.settings.margin:d.left,y:d.top}),this.is("animating")&&(a.support.transform?this.animate(d.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===b.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=a(b.target),this._drag.stage.start=d,this._drag.stage.current=d,this._drag.pointer=this.pointer(b),a(c).on("mouseup.owl.core touchend.owl.core",a.proxy(this.onDragEnd,this)),a(c).one("mousemove.owl.core touchmove.owl.core",a.proxy(function(b){var d=this.difference(this._drag.pointer,this.pointer(b));a(c).on("mousemove.owl.core touchmove.owl.core",a.proxy(this.onDragMove,this)),Math.abs(d.x)<Math.abs(d.y)&&this.is("valid")||(b.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},e.prototype.onDragMove=function(a){var b=null,c=null,e=this.difference(this._drag.pointer,this.pointer(a)),f=this.difference(this._drag.stage.start,e);this.is("dragging")&&(a.preventDefault(),this.settings.loop?(b=this.coordinates(this.minimum()),c=this.coordinates(this.maximum()+1)-b,f.x=((f.x-b)%c+c)%c+b):(b=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),c=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),a=this.settings.pullDrag?-1*e.x/5:0,f.x=Math.max(Math.min(f.x,b+a),c+a)),this._drag.stage.current=f,this.animate(f.x))},e.prototype.onDragEnd=function(b){var b=this.difference(this._drag.pointer,this.pointer(b)),e=this._drag.stage.current,f=0<b.x^this.settings.rtl?"left":"right";a(c).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==b.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(e.x,0!==b.x?f:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=f,3<Math.abs(b.x)||300<(new Date).getTime()-this._drag.time)&&this._drag.target.one("click.owl.core",function(){return!1}),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},e.prototype.closest=function(b,c){var e=-1,g=this.width(),h=this.coordinates();return this.settings.freeDrag||a.each(h,a.proxy(function(a,i){return"left"===c&&i-30<b&&b<i+30?e=a:"right"===c&&i-g-30<b&&b<i-g+30?e=a+1:this.op(b,"<",i)&&this.op(b,">",h[a+1]!==d?h[a+1]:i-g)&&(e="left"===c?a+1:a),-1===e},this)),this.settings.loop||(this.op(b,">",h[this.minimum()])?e=b=this.minimum():this.op(b,"<",h[this.maximum()])&&(e=b=this.maximum())),e},e.prototype.animate=function(b){var c=0<this.speed();this.is("animating")&&this.onTransitionEnd(),c&&(this.enter("animating"),this.trigger("translate")),a.support.transform3d&&a.support.transition?this.$stage.css({transform:"translate3d("+b+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):c?this.$stage.animate({left:b+"px"},this.speed(),this.settings.fallbackEasing,a.proxy(this.onTransitionEnd,this)):this.$stage.css({left:b+"px"})},e.prototype.is=function(a){return this._states.current[a]&&0<this._states.current[a]}
vendor: 5,368 bytes, line 1
1,e.prototype.current=function(a){if(a!==d){if(0===this._items.length)return d;var b;a=this.normalize(a),this._current!==a&&((b=this.trigger("change",{property:{name:"position",value:a}})).data!==d&&(a=this.normalize(b.data)),this._current=a,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}}))}return this._current},e.prototype.invalidate=function(b){return"string"===a.type(b)&&(this._invalidated[b]=!0,this.is("valid"))&&this.leave("valid"),a.map(this._invalidated,function(a,b){return b})},e.prototype.reset=function(a){(a=this.normalize(a))!==d&&(this._speed=0,this._current=a,this.suppress(["translate","translated"]),this.animate(this.coordinates(a)),this.release(["translate","translated"]))},e.prototype.normalize=function(a,b){var c=this._items.length,b=b?0:this._clones.length;return!this.isNumeric(a)||c<1?a=d:(a<0||c+b<=a)&&(a=((a-b/2)%c+c)%c+b/2),a},e.prototype.relative=function(a){return a-=this._clones.length/2,this.normalize(a,!0)},e.prototype.maximum=function(a){var b,c,d,e=this.settings,f=this._coordinates.length;if(e.loop)f=this._clones.length/2+this._items.length-1;else if(e.autoWidth||e.merge){if(b=this._items.length)for(c=this._items[--b].width(),d=this.$element.width();b--&&!((c+=this._items[b].width()+this.settings.margin)>d););f=b+1}else f=e.center?this._items.length-1:this._items.length-e.items;return a&&(f-=this._clones.length/2),Math.max(f,0)},e.prototype.minimum=function(a){return a?0:this._clones.length/2},e.prototype.items=function(a){return a===d?this._items.slice():(a=this.normalize(a,!0),this._items[a])},e.prototype.mergers=function(a){return a===d?this._mergers.slice():(a=this.normalize(a,!0),this._mergers[a])},e.prototype.clones=function(b){function f(a){return a%2==0?e+a/2:c-(a+1)/2}var c=this._clones.length/2,e=c+this._items.length;return b===d?a.map(this._clones,function(a,b){return f(b)}):a.map(this._clones,function(a,c){return a===b?f(c):null})},e.prototype.speed=function(a){return a!==d&&(this._speed=a),this._speed},e.prototype.coordinates=function(b){var c,e=1,f=b-1;return b===d?a.map(this._coordinates,a.proxy(function(a,b){return this.coordinates(b)},this)):(this.settings.center?(this.settings.rtl&&(e=-1,f=b+1),c=this._coordinates[b],c+=(this.width()-c+(this._coordinates[f]||0))/2*e):c=this._coordinates[f]||0,Math.ceil(c))},e.prototype.duration=function(a,b,c){return 0===c?0:Math.min(Math.max(Math.abs(b-a),1),6)*Math.abs(c||this.settings.smartSpeed)},e.prototype.to=function(a,b){var c=this.current(),e=a-this.relative(c),f=(0<e)-(e<0),g=this._items.length,h=this.minimum(),i=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(e)>g/2&&(e+=-1*f*g),(f=(((a=c+e)-h)%g+g)%g+h)!==a&&f-e<=i&&0<f-e&&this.reset(c=(a=f)-e)):a=this.settings.rewind?(a%(i+=1)+i)%i:Math.max(h,Math.min(i,a)),this.speed(this.duration(c,a,b)),this.current(a),this.isVisible()&&this.update()},e.prototype.next=function(a){a=a||!1,this.to(this.relative(this.current())+1,a)},e.prototype.prev=function(a){a=a||!1,this.to(this.relative(this.current())-1,a)},e.prototype.onTransitionEnd=function(a){if(a!==d&&(a.stopPropagation(),(a.target||a.srcElement||a.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},e.prototype.viewport=function(){var d;return this.options.responsiveBaseElement!==b?d=a(this.options.responsiveBaseElement).width():b.innerWidth?d=b.innerWidth:c.documentElement&&c.documentElement.clientWidth?d=c.documentElement.clientWidth:console.warn("Can not detect viewport width."),d},e.prototype.replace=function(b){this.$stage.empty(),this._items=[],b=b&&(b instanceof jQuery?b:a(b)),(b=this.settings.nestedItemSelector?b.find("."+this.settings.nestedItemSelector):b).filter(function(){return 1===this.nodeType}).each(a.proxy(function(a,b){b=this.prepare(b),this.$stage.append(b),this._items.push(b),this._mergers.push(+b.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},e.prototype.add=function(b,c){var e=this.relative(this._current);c=c===d?this._items.length:this.normalize(c,!0),b=b instanceof jQuery?b:a(b),this.trigger("add",{content:b,position:c}),b=this.prepare(b),0===this._items.length||c===this._items.length?(0===this._items.length&&this.$stage.append(b),0!==this._items.length&&this._items[c-1].after(b),this._items.push(b),this._mergers.push(+b.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[c].before(b),this._items.splice(c,0,b),this._mergers.splice(c,0,+b.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[e]&&this.reset(this._items[e].index()),this.invalidate("items"),this.trigger("added",{content:b,position:c})},e.prototype.remove=function(a){(a=this.normalize(a,!0))!==d&&(this.trigger("remove",{content:this._items[a],position:a}),this._items[a].remove(),this._items.splice(a,1),this._mergers.splice(a,1),this.invalidate("items"),this.trigger("removed",{content:null,position:a}))},e.prototype.preloadAutoWidthImages=function(b){b.each(a.proxy(function(b,c){this.enter("pre-loading"),c=a(c),a(new Image).one("load",a.proxy(function(a){c.attr("src",a.target.src),c.css("opacity",1),this.leave("pre-loading"),this.is("pre-loading")||this.is("initializing")||this.refresh()}
vendor: 3,760 bytes, line 1
1,this)).attr("src",c.attr("src")||c.attr("data-src")||c.attr("data-src-retina"))},this))},e.prototype.destroy=function(){for(var d in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),a(c).off(".owl.core"),!1!==this.settings.responsive&&(b.clearTimeout(this.resizeTimer),this.off(b,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[d].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},e.prototype.op=function(a,b,c){var d=this.settings.rtl;switch(b){case"<":return d?c<a:a<c;case">":return d?a<c:c<a;case">=":return d?a<=c:c<=a;case"<=":return d?c<=a:a<=c}},e.prototype.on=function(a,b,c,d){a.addEventListener?a.addEventListener(b,c,d):a.attachEvent&&a.attachEvent("on"+b,c)},e.prototype.off=function(a,b,c,d){a.removeEventListener?a.removeEventListener(b,c,d):a.detachEvent&&a.detachEvent("on"+b,c)},e.prototype.trigger=function(b,c,d,f,g){var h={item:{count:this._items.length,index:this.current()}},i=a.camelCase(a.grep(["on",b,d],function(a){return a}).join("-").toLowerCase()),j=a.Event([b,"owl",d||"carousel"].join(".").toLowerCase(),a.extend({relatedTarget:this},h,c));return this._supress[b]||(a.each(this._plugins,function(a,b){b.onTrigger&&b.onTrigger(j)}),this.register({type:e.Type.Event,name:b}),this.$element.trigger(j),this.settings&&"function"==typeof this.settings[i]&&this.settings[i].call(this,j)),j},e.prototype.enter=function(b){a.each([b].concat(this._states.tags[b]||[]),a.proxy(function(a,b){this._states.current[b]===d&&(this._states.current[b]=0),this._states.current[b]++},this))},e.prototype.leave=function(b){a.each([b].concat(this._states.tags[b]||[]),a.proxy(function(a,b){this._states.current[b]--},this))},e.prototype.register=function(b){var c;b.type===e.Type.Event?(a.event.special[b.name]||(a.event.special[b.name]={}),a.event.special[b.name].owl||(c=a.event.special[b.name]._default,a.event.special[b.name]._default=function(a){return!c||!c.apply||a.namespace&&-1!==a.namespace.indexOf("owl")?a.namespace&&-1<a.namespace.indexOf("owl"):c.apply(this,arguments)},a.event.special[b.name].owl=!0)):b.type===e.Type.State&&(this._states.tags[b.name]?this._states.tags[b.name]=this._states.tags[b.name].concat(b.tags):this._states.tags[b.name]=b.tags,this._states.tags[b.name]=a.grep(this._states.tags[b.name],a.proxy(function(c,d){return a.inArray(c,this._states.tags[b.name])===d},this)))},e.prototype.suppress=function(b){a.each(b,a.proxy(function(a,b){this._supress[b]=!0},this))},e.prototype.release=function(b){a.each(b,a.proxy(function(a,b){delete this._supress[b]},this))},e.prototype.pointer=function(a){var c={x:null,y:null};return(a=(a=a.originalEvent||a||b.event).touches&&a.touches.length?a.touches[0]:a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:a).pageX?(c.x=a.pageX,c.y=a.pageY):(c.x=a.clientX,c.y=a.clientY),c},e.prototype.isNumeric=function(a){return!isNaN(parseFloat(a))},e.prototype.difference=function(a,b){return{x:a.x-b.x,y:a.y-b.y}},a.fn.owlCarousel=function(b){var c=Array.prototype.slice.call(arguments,1);return this.each(function(){var d=a(this),f=d.data("owl.carousel");f||(f=new e(this,"object"==typeof b&&b),d.data("owl.carousel",f),a.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(b,c){f.register({type:e.Type.Event,name:c}
vendor: 18,574 bytes, line 1
1),f.$element.on(c+".owl.carousel.core",a.proxy(function(a){a.namespace&&a.relatedTarget!==this&&(this.suppress([c]),f[c].apply(this,[].slice.call(arguments,1)),this.release([c]))},f))})),"string"==typeof b&&"_"!==b.charAt(0)&&f[b].apply(f,c)})},a.fn.owlCarousel.Constructor=e})(window.Zepto||window.jQuery,window,document),((a,b)=>{function e(b){this._core=b,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)}e.Defaults={autoRefresh:!0,autoRefreshInterval:500},e.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=b.setInterval(a.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},e.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible)&&this._core.invalidate("width")&&this._core.refresh()},e.prototype.destroy=function(){var a,c;for(a in b.clearInterval(this._interval),this._handlers)this._core.$element.off(a,this._handlers[a]);for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},a.fn.owlCarousel.Constructor.Plugins.AutoRefresh=e})(window.Zepto||window.jQuery,window,document),((a,b)=>{function e(b){this._core=b,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":a.proxy(function(b){if(b.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(b.property&&"position"==b.property.name||"initialized"==b.type)){var c=this._core.settings,e=c.center&&Math.ceil(c.items/2)||c.items,f=c.center&&-1*e||0,g=(b.property&&void 0!==b.property.value?b.property.value:this._core.current())+f,h=this._core.clones().length,i=a.proxy(function(a,b){this.load(b)},this);for(0<c.lazyLoadEager&&(e+=c.lazyLoadEager,c.loop)&&(g-=c.lazyLoadEager,e++);f++<e;)this.load(h/2+this._core.relative(g)),h&&a.each(this._core.clones(this._core.relative(g)),i),g++}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)}e.Defaults={lazyLoad:!1,lazyLoadEager:0},e.prototype.load=function(c){var c=this._core.$stage.children().eq(c),e=c&&c.find(".owl-lazy");!e||-1<a.inArray(c.get(0),this._loaded)||(e.each(a.proxy(function(c,d){var f=a(d),g=1<b.devicePixelRatio&&f.attr("data-src-retina")||f.attr("data-src")||f.attr("data-srcset");this._core.trigger("load",{element:f,url:g},"lazy"),f.is("img")?f.one("load.owl.lazy",a.proxy(function(){f.css("opacity",1),this._core.trigger("loaded",{element:f,url:g},"lazy")},this)).attr("src",g):f.is("source")?f.one("load.owl.lazy",a.proxy(function(){this._core.trigger("loaded",{element:f,url:g},"lazy")},this)).attr("srcset",g):((d=new Image).onload=a.proxy(function(){f.css({"background-image":'url("'+g+'")',opacity:"1"}),this._core.trigger("loaded",{element:f,url:g},"lazy")},this),d.src=g)},this)),this._loaded.push(c.get(0)))},e.prototype.destroy=function(){var a,b;for(a in this.handlers)this._core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Lazy=e})(window.Zepto||window.jQuery,window,document),((a,b)=>{function e(c){this._core=c,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&"position"===a.property.name&&this.update()},this),"loaded.owl.lazy":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&a.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var d=this;a(b).on("load",function(){d._core.settings.autoHeight&&d.update()}),a(b).resize(function(){d._core.settings.autoHeight&&(null!=d._intervalId&&clearTimeout(d._intervalId),d._intervalId=setTimeout(function(){d.update()},250))})}e.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},e.prototype.update=function(){var b=this._core._current,c=b+this._core.settings.items,d=this._core.settings.lazyLoad,b=this._core.$stage.children().toArray().slice(b,c),f=[],c=0;a.each(b,function(b,c){f.push(a(c).height())}),(c=Math.max.apply(null,f))<=1&&d&&this._previousHeight&&(c=this._previousHeight),this._previousHeight=c,this._core.$stage.parent().height(c).addClass(this._core.settings.autoHeightClass)},e.prototype.destroy=function(){var a,b;for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.AutoHeight=e})(window.Zepto||window.jQuery,window,document),((a,c)=>{function e(b){this._core=b,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.video&&this.isInFullScreen()&&a.preventDefault()},this),"refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&"position"===a.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":a.proxy(function(b){var c;b.namespace&&(c=a(b.content).find(".owl-video")).length&&(c.css("display","none"),this.fetch(c,a(b.content)))},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",a.proxy(function(a){this.play(a)},this))}e.Defaults={video:!1,videoHeight:!1,videoWidth:!1},e.prototype.fetch=function(a,b){var c=a.attr("data-vimeo-id")?"vimeo":a.attr("data-vzaar-id")?"vzaar":"youtube",d=a.attr("data-vimeo-id")||a.attr("data-youtube-id")||a.attr("data-vzaar-id"),e=a.attr("data-width")||this._core.settings.videoWidth,f=a.attr("data-height")||this._core.settings.videoHeight,g=a.attr("href");if(!g)throw new Error("Missing video URL.");if(-1<(d=g.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu"))c="youtube";else if(-1<d[3].indexOf("vimeo"))c="vimeo";else{if(!(-1<d[3].indexOf("vzaar")))throw new Error("Video URL not supported.");c="vzaar"}d=d[6],this._videos[g]={type:c,id:d,width:e,height:f},b.attr("data-video",g),this.thumbnail(a,this._videos[g])},e.prototype.thumbnail=function(b,c){function l(c){d=k.lazyLoad?a("<div/>",{class:"owl-video-tn "+j,srcType:c}):a("<div/>",{class:"owl-video-tn",style:"opacity:1;background-image:url("+c+")"}),b.after(d),b.after('<div class="owl-video-play-icon"></div>')}var d,f,g=c.width&&c.height?"width:"+c.width+"px;height:"+c.height+"px;":"",h=b.find("img"),i="src",j="",k=this._core.settings;if(b.wrap(a("<div/>",{class:"owl-video-wrapper",style:g})),this._core.settings.lazyLoad&&(i="data-src",j="owl-lazy"),h.length)return l(h.attr(i)),h.remove(),!1;"youtube"===c.type?(f="//img.youtube.com/vi/"+c.id+"/hqdefault.jpg",l(f)):"vimeo"===c.type?a.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+c.id+".json",jsonp:"callback",dataType:"jsonp",success:function(a){f=a[0].thumbnail_large,l(f)}}):"vzaar"===c.type&&a.ajax({type:"GET",url:"//vzaar.com/api/videos/"+c.id+".json",jsonp:"callback",dataType:"jsonp",success:function(a){f=a.framegrab_url,l(f)}})},e.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},e.prototype.play=function(b){var c,b=a(b.target).closest("."+this._core.settings.itemClass),f=this._videos[b.attr("data-video")],g=f.width||"100%",h=f.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),b=this._core.items(this._core.relative(b.index())),this._core.reset(b.index()),(c=a('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>')).attr("height",h),c.attr("width",g),"youtube"===f.type?c.attr("src","//www.youtube.com/embed/"+f.id+"?autoplay=1&rel=0&v="+f.id):"vimeo"===f.type?c.attr("src","//player.vimeo.com/video/"+f.id+"?autoplay=1"):"vzaar"===f.type&&c.attr("src","//view.vzaar.com/"+f.id+"/player?autoplay=true"),a(c).wrap('<div class="owl-video-frame" />').insertAfter(b.find(".owl-video")),this._playing=b.addClass("owl-video-playing"))},e.prototype.isInFullScreen=function(){var b=c.fullscreenElement||c.mozFullScreenElement||c.webkitFullscreenElement;return b&&a(b).parent().hasClass("owl-video-frame")},e.prototype.destroy=function(){var a,b;for(a in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Video=e})(window.Zepto||window.jQuery,document),((a,d)=>{function e(b){this.core=b,this.core.options=a.extend({},e.Defaults,this.core.options),this.swapping=!0,this.previous=d,this.next=d,this.handlers={"change.owl.carousel":a.proxy(function(a){a.namespace&&"position"==a.property.name&&(this.previous=this.core.current(),this.next=a.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":a.proxy(function(a){a.namespace&&(this.swapping="translated"==a.type)},this),"translate.owl.carousel":a.proxy(function(a){a.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)}e.Defaults={animateOut:!1,animateIn:!1},e.prototype.swap=function(){var b,c,d,e,f,g;1===this.core.settings.items&&a.support.animation&&a.support.transition&&(this.core.speed(0),c=a.proxy(this.clear,this),d=this.core.$stage.children().eq(this.previous),e=this.core.$stage.children().eq(this.next),f=this.core.settings.animateIn,g=this.core.settings.animateOut,this.core.current()!==this.previous)&&(g&&(b=this.core.coordinates(this.previous)-this.core.coordinates(this.next),d.one(a.support.animation.end,c).css({left:b+"px"}).addClass("animated owl-animated-out").addClass(g)),f)&&e.one(a.support.animation.end,c).addClass("animated owl-animated-in").addClass(f)},e.prototype.clear=function(b){a(b.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},e.prototype.destroy=function(){var a,b;for(a in this.handlers)this.core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Animate=e})(window.Zepto||window.jQuery,void document),((a,b,c)=>{function e(b){this._core=b,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":a.proxy(function(a){a.namespace&&"settings"===a.property.name?this._core.settings.autoplay?this.play():this.stop():a.namespace&&"position"===a.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":a.proxy(function(a,b,c){a.namespace&&this.play(b,c)},this),"stop.owl.autoplay":a.proxy(function(a){a.namespace&&this.stop()},this),"mouseover.owl.autoplay":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":a.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=a.extend({},e.Defaults,this._core.options)}e.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},e.prototype._next=function(d){this._call=b.setTimeout(a.proxy(this._next,this,d),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||c.hidden||this._core.next(d||this._core.settings.autoplaySpeed)},e.prototype.read=function(){return(new Date).getTime()-this._time},e.prototype.play=function(c,d){var e;this._core.is("rotating")||this._core.enter("rotating"),c=c||this._core.settings.autoplayTimeout,e=Math.min(this._time%(this._timeout||c),c),this._paused?(this._time=this.read(),this._paused=!1):b.clearTimeout(this._call),this._time+=this.read()%c-e,this._timeout=c,this._call=b.setTimeout(a.proxy(this._next,this,d),c-e)},e.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,b.clearTimeout(this._call),this._core.leave("rotating"))},e.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,b.clearTimeout(this._call))},e.prototype.destroy=function(){var a,b;for(a in this.stop(),this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.autoplay=e})(window.Zepto||window.jQuery,window,document),(a=>{function e(b){this._core=b,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":a.proxy(function(b){b.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+a(b.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.splice(a.position,0,this._templates.pop())},this),"remove.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.splice(a.position,1)},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&"position"==a.property.name&&this.draw()},this),"initialized.owl.carousel":a.proxy(function(a){a.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers)}e.Defaults={nav:!1,navText:['<span aria-label="Previous">‹</span>','<span aria-label="Next">›</span>'],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},e.prototype.initialize=function(){var b,c=this._core.settings;for(b in this._controls.$relative=(c.navContainer?a(c.navContainer):a("<div>").addClass(c.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=a("<"+c.navElement+">").addClass(c.navClass[0]).html(c.navText[0]).prependTo(this._controls.$relative).on("click",a.proxy(function(a){this.prev(c.navSpeed)},this)),this._controls.$next=a("<"+c.navElement+">").addClass(c.navClass[1]).html(c.navText[1]).appendTo(this._controls.$relative).on("click",a.proxy(function(a){this.next(c.navSpeed)},this)),c.dotsData||(this._templates=[a('<button role="button">').addClass(c.dotClass).append(a("<span>")).prop("outerHTML")]),this._controls.$absolute=(c.dotsContainer?a(c.dotsContainer):a("<div>").addClass(c.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",a.proxy(function(b){var d=(a(b.target).parent().is(this._controls.$absolute)?a(b.target):a(b.target).parent()).index();b.preventDefault(),this.to(d,c.dotsSpeed)},this)),this._overrides)this._core[b]=a.proxy(this[b],this)},e.prototype.destroy=function(){var a,b,c,d,e=this._core.settings;for(a in this._handlers)this.$element.off(a,this._handlers[a]);for(b in this._controls)"$relative"===b&&e.navContainer?this._controls[b].html(""):this._controls[b].remove();for(d in this.overides)this._core[d]=this._overrides[d];for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},e.prototype.update=function(){var a,b,d=this._core.clones().length/2,e=d+this._core.items().length,f=this._core.maximum(!0),g=this._core.settings,h=g.center||g.autoWidth||g.dotsData?1:g.dotsEach||g.items;if("page"!==g.slideBy&&(g.slideBy=Math.min(g.slideBy,g.items)),g.dots||"page"==g.slideBy)for(this._pages=[],a=d,b=0;a<e;a++){if(h<=b||0===b){if(this._pages.push({start:Math.min(f,a-d),end:a-d+h-1}),Math.min(f,a-d)===f)break;b=0,0}b+=this._core.mergers(this._core.relative(a))}},e.prototype.draw=function(){var c=this._core.settings,d=this._core.items().length<=c.items,e=this._core.relative(this._core.current()),f=c.loop||c.rewind;this._controls.$relative.toggleClass("disabled",!c.nav||d),c.nav&&(this._controls.$previous.toggleClass("disabled",!f&&e<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!f&&e>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!c.dots||d),c.dots&&(f=this._pages.length-this._controls.$absolute.children().length,c.dotsData&&0!=f?this._controls.$absolute.html(this._templates.join("")):0<f?this._controls.$absolute.append(new Array(1+f).join(this._templates[0])):f<0&&this._controls.$absolute.children().slice(f).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(a.inArray(this.current(),this._pages)).addClass("active"))},e.prototype.onTrigger=function(b){var c=this._core.settings;
1b.page={index:a.inArray(this.current(),this._pages),count:this._pages.length,size:c&&(c.center||c.autoWidth||c.dotsData?1:c.dotsEach||c.items)}},e.prototype.current=function(){var b=this._core.relative(this._core.current());return a.grep(this._pages,a.proxy(function(a,c){return a.start<=b&&a.end>=b},this)).pop()},e.prototype.getPosition=function(b){var c,d,e=this._core.settings;return"page"==e.slideBy?(c=a.inArray(this.current(),this._pages),d=this._pages.length,b?++c:--c,c=this._pages[(c%d+d)%d].start):(c=this._core.relative(this._core.current()),d=this._core.items().length,b?c+=e.slideBy:c-=e.slideBy),c},e.prototype.next=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!0),b)},e.prototype.prev=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!1),b)},e.prototype.to=function(b,c,d){!d&&this._pages.length?(d=this._pages.length,a.proxy(this._overrides.to,this._core)(this._pages[(b%d+d)%d].start,c)):a.proxy(this._overrides.to,this._core)(b,c)},a.fn.owlCarousel.Constructor.Plugins.Navigation=e})(window.Zepto||window.jQuery,document),((a,b)=>{function e(c){this._core=c,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":a.proxy(function(c){c.namespace&&"URLHash"===this._core.settings.startPosition&&a(b).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":a.proxy(function(b){var c;b.namespace&&(c=a(b.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash"))&&(this._hashes[c]=b.content)},this),"changed.owl.carousel":a.proxy(function(c){var d;c.namespace&&"position"===c.property.name&&(d=this._core.items(this._core.relative(this._core.current())),c=a.map(this._hashes,function(a,b){return a===d?b:null}).join())&&b.location.hash.slice(1)!==c&&(b.location.hash=c)},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers),a(b).on("hashchange.owl.navigation",a.proxy(function(a){var c=b.location.hash.substring(1),e=this._core.$stage.children(),e=this._hashes[c]&&e.index(this._hashes[c]);void 0!==e&&e!==this._core.current()&&this._core.to(this._core.relative(e),!1,!0)},this))}e.Defaults={URLhashListener:!1},e.prototype.destroy=function(){var c,d;for(c in a(b).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(c,this._handlers[c]);for(d in Object.getOwnPropertyNames(this))"function"!=typeof this[d]&&(this[d]=null)},a.fn.owlCarousel.Constructor.Plugins.Hash=e})(window.Zepto||window.jQuery,window,document),(a=>{function e(b,c){var e=!1,f=b.charAt(0).toUpperCase()+b.slice(1);return a.each((b+" "+h.join(f+" ")+f).split(" "),function(a,b){if(void 0!==g[b])return e=!c||b,!1}),e}function f(a){return e(a,!0)}var g=a("<support>").get(0).style,h="Webkit Moz O ms".split(" "),i={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},j_csstransforms=function(){return!!e("transform")},j_csstransforms3d=function(){return!!e("perspective")},j_cssanimations=function(){return!!e("animation")};!function(){return!!e("transition")}()||(a.support.transition=new String(f("transition")),a.support.transition.end=i.transition.end[a.support.transition]),j_cssanimations()&&(a.support.animation=new String(f("animation")),a.support.animation.end=i.animation.end[a.support.animation]),j_csstransforms()&&(a.support.transform=new String(f("transform")),a.support.transform3d=j_csstransforms3d())})(window.Zepto||window.jQuery,document),((e,t)=>{"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Swiper=t()})(this,function(){function i(e){for(var t=0;t<e.length;t+=1)this[t]=e[t];return this.length=e.length,this}var e="undefined"==typeof document?{body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},location:{hash:""}}:document,t="undefined"==typeof window?{document:e,navigator:{userAgent:""},location:{},history:{},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){}}:window;function s(s,a){var r=[],n=0;if(s&&!a&&s instanceof i)return s;if(s)if("string"==typeof s){var o,l,d=s.trim();if(0<=d.indexOf("<")&&0<=d.indexOf(">")){var h="div";for(0===d.indexOf("<li")&&(h="ul"),0===d.indexOf("<tr")&&(h="tbody"),0!==d.indexOf("<td")&&0!==d.indexOf("<th")||(h="tr"),0===d.indexOf("<tbody")&&(h="table"),0===d.indexOf("<option")&&(h="select"),(l=e.createElement(h)).innerHTML=d,n=0;n<l.childNodes.length;n+=1)r.push(l.childNodes[n])}else for(o=a||"#"!==s[0]||s.match(/[ .<>:~]/)?(a||e).querySelectorAll(s.trim()):[e.getElementById(s.trim().split("#")[1])],n=0;n<o.length;n+=1)o[n]&&r.push(o[n])}else if(s.nodeType||s===t||s===e)r.push(s);else if(0<s.length&&s[0].nodeType)for(n=0;n<s.length;n+=1)r.push(s[n]);return new i(r)}function a(e){for(var t=[],i=0;i<e.length;
vendor: 5,680 bytes, line 1
1i+=1)-1===t.indexOf(e[i])&&t.push(e[i]);return t}s.fn=i.prototype,s.Class=i,s.Dom7=i;var r={addClass:function(e){if(void 0!==e)for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var s=0;s<this.length;s+=1)void 0!==this[s].classList&&this[s].classList.add(t[i]);return this},removeClass:function(e){for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var s=0;s<this.length;s+=1)void 0!==this[s].classList&&this[s].classList.remove(t[i]);return this},hasClass:function(e){return!!this[0]&&this[0].classList.contains(e)},toggleClass:function(e){for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var s=0;s<this.length;s+=1)void 0!==this[s].classList&&this[s].classList.toggle(t[i]);return this},attr:function(e,t){var i=arguments;if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var s=0;s<this.length;s+=1)if(2===i.length)this[s].setAttribute(e,t);else for(var a in e)this[s][a]=e[a],this[s].setAttribute(a,e[a]);return this},removeAttr:function(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},data:function(e,t){var i;if(void 0!==t){for(var s=0;s<this.length;s+=1)(i=this[s]).dom7ElementDataStorage||(i.dom7ElementDataStorage={}),i.dom7ElementDataStorage[e]=t;return this}if(i=this[0])return i.dom7ElementDataStorage&&e in i.dom7ElementDataStorage?i.dom7ElementDataStorage[e]:i.getAttribute("data-"+e)||void 0},transform:function(e){for(var t=0;t<this.length;t+=1){var i=this[t].style;i.webkitTransform=e,i.transform=e}return this},transition:function(e){"string"!=typeof e&&(e+="ms");for(var t=0;t<this.length;t+=1){var i=this[t].style;i.webkitTransitionDuration=e,i.transitionDuration=e}return this},on:function(){for(var t=[],i=arguments.length;i--;)t[i]=arguments[i];var a=t[0],r=t[1],n=t[2],o=t[3];function l(e){var t=e.target;if(t){var i=e.target.dom7EventData||[];if(i.indexOf(e)<0&&i.unshift(e),s(t).is(r))n.apply(t,i);else for(var a=s(t).parents(),o=0;o<a.length;o+=1)s(a[o]).is(r)&&n.apply(a[o],i)}}function d(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),n.apply(this,t)}"function"==typeof t[1]&&(a=t[0],n=t[1],o=t[2],r=void 0);for(var h,o=o||!1,p=a.split(" "),c=0;c<this.length;c+=1){var u=this[c];if(r)for(h=0;h<p.length;h+=1){var v=p[h];u.dom7LiveListeners||(u.dom7LiveListeners={}),u.dom7LiveListeners[v]||(u.dom7LiveListeners[v]=[]),u.dom7LiveListeners[v].push({listener:n,proxyListener:l}),u.addEventListener(v,l,o)}else for(h=0;h<p.length;h+=1){var f=p[h];u.dom7Listeners||(u.dom7Listeners={}),u.dom7Listeners[f]||(u.dom7Listeners[f]=[]),u.dom7Listeners[f].push({listener:n,proxyListener:d}),u.addEventListener(f,d,o)}}return this},off:function(){for(var t=[],i=arguments.length;i--;)t[i]=arguments[i];var s=t[0],a=t[1],r=t[2],n=t[3];"function"==typeof t[1]&&(s=t[0],r=t[1],n=t[2],a=void 0);for(var n=n||!1,o=s.split(" "),l=0;l<o.length;l+=1)for(var d=o[l],h=0;h<this.length;h+=1){var p=this[h],c=void 0;if(!a&&p.dom7Listeners?c=p.dom7Listeners[d]:a&&p.dom7LiveListeners&&(c=p.dom7LiveListeners[d]),c&&c.length)for(var u=c.length-1;0<=u;--u){var v=c[u];(r&&v.listener===r||!r)&&(p.removeEventListener(d,v.proxyListener,n),c.splice(u,1))}}return this},trigger:function(){for(var i=[],s=arguments.length;s--;)i[s]=arguments[s];for(var a=i[0].split(" "),r=i[1],n=0;n<a.length;n+=1)for(var o=a[n],l=0;l<this.length;l+=1){var d=this[l],h=void 0;try{h=new t.CustomEvent(o,{detail:r,bubbles:!0,cancelable:!0})}catch(t){(h=e.createEvent("Event")).initEvent(o,!0,!0),h.detail=r}d.dom7EventData=i.filter(function(e,t){return 0<t}),d.dispatchEvent(h),d.dom7EventData=[],delete d.dom7EventData}return this},transitionEnd:function(e){var t,i=["webkitTransitionEnd","transitionend"],s=this;function a(r){if(r.target===this)for(e.call(this,r),t=0;t<i.length;t+=1)s.off(i[t],a)}if(e)for(t=0;t<i.length;t+=1)s.on(i[t],a);return this},outerWidth:function(e){return 0<this.length?e?(e=this.styles(),this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))):this[0].offsetWidth:null},outerHeight:function(e){return 0<this.length?e?(e=this.styles(),this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))):this[0].offsetHeight:null},offset:function(){var s,r,a,o,i;return 0<this.length?(s=(i=this[0]).getBoundingClientRect(),a=e.body,r=i.clientTop||a.clientTop||0,a=i.clientLeft||a.clientLeft||0,o=i===t?t.scrollY:i.scrollTop,i=i===t?t.scrollX:i.scrollLeft,{top:s.top+o-r,left:s.left+i-a}):null},css:function(e,i){var s;if(1===arguments.length){if("string"!=typeof e){for(s=0;s<this.length;s+=1)for(var a in e)this[s].style[a]=e[a];return this}if(this[0])return t.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e)for(s=0;s<this.length;s+=1)this[s].style[e]=i;return this},each:function(e){if(e)for(var t=0;t<this.length;t+=1)if(!1===e.call(this[t],t,this[t]))return this;return this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:void 0;for(var 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(var t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(a){var r,n,o=this[0];if(o&&void 0!==a)if("string"==typeof a){if(o.matches)return o.matches(a);if(o.webkitMatchesSelector)return o.webkitMatchesSelector(a);if(o.msMatchesSelector)return o.msMatchesSelector(a);for(r=s(a),n=0;n<r.length;n+=1)if(r[n]===o)return!0}else{if(a===e)return o===e;if(a===t)return o===t;if(a.nodeType||a instanceof i)for(r=a.nodeType?[a]:a,n=0;n<r.length;n+=1)if(r[n]===o)return!0}return!1},index:function(){var e,t=this[0];if(t){for(e=0;
1null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){var s;return void 0===e?this:(s=this.length,new i(s-1<e?[]:e<0?(s=s+e)<0?[]:[this[s]]:[this[e]]))},append:function(){for(var s=[],a=arguments.length;a--;)s[a]=arguments[a];for(var r=0;r<s.length;r+=1)for(var t=s[r],n=0;n<this.length;n+=1)if("string"==typeof t){var o=e.createElement("div");for(o.innerHTML=t;o.firstChild;)this[n].appendChild(o.firstChild)}else if(t instanceof i)for(var l=0;l<t.length;l+=1)this[n].appendChild(t[l]);else this[n].appendChild(t);return this},prepend:function(t){for(var a,s=0;s<this.length;s+=1)if("string"==typeof t){var r=e.createElement("div");for(r.innerHTML=t,a=r.childNodes.length-1;0<=a;--a)this[s].insertBefore(r.childNodes[a],this[s].childNodes[0])}else if(t instanceof i)for(a=0;a<t.length;a+=1)this[s].insertBefore(t[a],this[s].childNodes[0]);else this[s].insertBefore(t,this[s].childNodes[0]);return this},next:function(e){return 0<this.length?e?this[0].nextElementSibling&&s(this[0].nextElementSibling).is(e)?new i([this[0].nextElementSibling]):new i([]):this[0].nextElementSibling?new i([this[0].nextElementSibling]):new i([]):new i([])},nextAll:function(e){var t=[],a=this[0];if(!a)return new i([]);for(;a.nextElementSibling;){var r=a.nextElementSibling;e&&!s(r).is(e)||t.push(r),a=r}return new i(t)},prev:function(e){var t;return 0<this.length?(t=this[0],e?t.previousElementSibling&&s(t.previousElementSibling).is(e)?new i([t.previousElementSibling]):new i([]):t.previousElementSibling?new i([t.previousElementSibling]):new i([])):new i([])},prevAll:function(e){var t=[],a=this[0];if(!a)return new i([]);for(;a.previousElementSibling;){var r=a.previousElementSibling;e&&!s(r).is(e)||t.push(r),a=r}return new i(t)},parent:function(e){for(var t=[],i=0;i<this.length;i+=1)null===this[i].parentNode||e&&!s(this[i].parentNode).is(e)||t.push(this[i].parentNode);return s(a(t))},parents:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var r=this[i].parentNode;r;)e&&!s(r).is(e)||t.push(r),r=r.parentNode;return s(a(t))},closest:function(e){var t=this;return void 0===e?new i([]):t=t.is(e)?t:t.parents(e).eq(0)},find:function(e){for(var t=[],s=0;s<this.length;s+=1)for(var a=this[s].querySelectorAll(e),r=0;r<a.length;r+=1)t.push(a[r]);return new i(t)},children:function(e){for(var t=[],r=0;r<this.length;r+=1)for(var n=this[r].childNodes,o=0;o<n.length;o+=1)e?1===n[o].nodeType&&s(n[o]).is(e)&&t.push(n[o]):1===n[o].nodeType&&t.push(n[o]);return new i(a(t))},remove:function(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},add:function(){for(var i,e=[],t=arguments.length;t--;)e[t]=arguments[t];for(i=0;i<e.length;i+=1)for(var r=s(e[i]),a=0;a<r.length;a+=1)this[this.length]=r[a],this.length+=1;return this},styles:function(){return this[0]?t.getComputedStyle(this[0],null):{}}};Object.keys(r).forEach(function(e){s.fn[e]=r[e]});function p(e){var t=this;t.params=e=void 0===e?{}:e,t.eventsListeners={}
1,t.params&&t.params.on&&Object.keys(t.params.on).forEach(function(e){t.on(e,t.params.on[e])})}var l,d={deleteProps:function(e){var t=e;Object.keys(t).forEach(function(e){try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}})},nextTick:function(e,t){return void 0===t&&(t=0),setTimeout(e,t)},now:function(){return Date.now()},getTranslate:function(e,i){void 0===i&&(i="x");var s,a,r,e=t.getComputedStyle(e,null);return t.WebKitCSSMatrix?(6<(a=e.transform||e.webkitTransform).split(",").length&&(a=a.split(", ").map(function(e){return e.replace(",",".")}).join(", ")),r=new t.WebKitCSSMatrix("none"===a?"":a)):s=(r=e.MozTransform||e.OTransform||e.MsTransform||e.msTransform||e.transform||e.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===i&&(a=t.WebKitCSSMatrix?r.m41:16===s.length?parseFloat(s[12]):parseFloat(s[4])),(a="y"===i?t.WebKitCSSMatrix?r.m42:16===s.length?parseFloat(s[13]):parseFloat(s[5]):a)||0},parseUrlQuery:function(e){var i,s,a,r,n={},e=e||t.location.href;if("string"==typeof e&&e.length)for(r=(s=(e=-1<e.indexOf("?")?e.replace(/\S*\?/,""):"").split("&").filter(function(e){return""!==e})).length,i=0;i<r;i+=1)a=s[i].replace(/#\S+/g,"").split("="),n[decodeURIComponent(a[0])]=void 0===a[1]?void 0:decodeURIComponent(a[1])||"";return n},isObject:function(e){return"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object},extend:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var i=Object(e[0]),s=1;s<e.length;s+=1){var a=e[s];if(null!=a)for(var r=Object.keys(Object(a)),n=0,o=r.length;n<o;n+=1){var l=r[n],h=Object.getOwnPropertyDescriptor(a,l);void 0!==h&&h.enumerable&&(d.isObject(i[l])&&d.isObject(a[l])?d.extend(i[l],a[l]):!d.isObject(i[l])&&d.isObject(a[l])?(i[l]={},d.extend(i[l],a[l])):i[l]=a[l])}}return i}},h=(l=e.createElement("div"),{touch:t.Modernizr&&!0===t.Modernizr.touch||!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch),pointerEvents:!(!t.navigator.pointerEnabled&&!t.PointerEvent),prefixedPointerEvents:!!t.navigator.msPointerEnabled,transition:"transition"in(o=l.style)||"webkitTransition"in o||"MozTransition"in o,transforms3d:t.Modernizr&&!0===t.Modernizr.csstransforms3d||"webkitPerspective"in(o=l.style)||"MozPerspective"in o||"OPerspective"in o||"MsPerspective"in o||"perspective"in o,flexbox:(()=>{for(var e=l.style,t="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),i=0;i<t.length;i+=1)if(t[i]in e)return!0;return!1})(),observer:"MutationObserver"in t||"WebkitMutationObserver"in t,passiveListener:(()=>{var e=!1;try{var i=Object.defineProperty({},"passive",{get:function(){e=!0}});t.addEventListener("testPassiveListener",null,i)}catch(e){}return e})(),gestures:"ongesturestart"in t}),o={components:{configurable:!0}},o=(p.prototype.on=function(e,t,i){var a,s=this;return"function"==typeof t&&(a=i?"unshift":"push",e.split(" ").forEach(function(e){s.eventsListeners[e]||(s.eventsListeners[e]=[]),s.eventsListeners[e][a](t)})),s},p.prototype.once=function(e,t,i){var s=this;return"function"!=typeof t?s:s.on(e,function i(){for(var a=[],r=arguments.length;r--;)a[r]=arguments[r];t.apply(s,a),s.off(e,i)},i)},p.prototype.off=function(e,t){var i=this;return i.eventsListeners&&e.split(" ").forEach(function(e){void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e].forEach(function(s,a){s===t&&i.eventsListeners[e].splice(a,1)})}),i},p.prototype.emit=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var i,s,a,r=this;return r.eventsListeners&&(a="string"==typeof e[0]||Array.isArray(e[0])?(i=e[0],s=e.slice(1,e.length),r):(i=e[0].events,s=e[0].data,e[0].context||r),(Array.isArray(i)?i:i.split(" ")).forEach(function(e){var t;r.eventsListeners&&r.eventsListeners[e]&&(t=[],r.eventsListeners[e].forEach(function(e){t.push(e)}),t.forEach(function(e){e.apply(a,s)}))})),r},p.prototype.useModulesParams=function(e){var t=this;t.modules&&Object.keys(t.modules).forEach(function(i){i=t.modules[i];i.params&&d.extend(e,i.params)})},p.prototype.useModules=function(e){void 0===e&&(e={});var t=this;
1t.modules&&Object.keys(t.modules).forEach(function(i){var s=t.modules[i],i=e[i]||{};s.instance&&Object.keys(s.instance).forEach(function(e){var i=s.instance[e];t[e]="function"==typeof i?i.bind(t):i}),s.on&&t.on&&Object.keys(s.on).forEach(function(e){t.on(e,s.on[e])}),s.create&&s.create.bind(t)(i)})},o.components.set=function(e){this.use&&this.use(e)},p.installModule=function(e){for(var t=[],i=arguments.length-1;0<i--;)t[i]=arguments[i+1];var s=this,a=(s.prototype.modules||(s.prototype.modules={}),e.name||Object.keys(s.prototype.modules).length+"_"+d.now());return(s.prototype.modules[a]=e).proto&&Object.keys(e.proto).forEach(function(t){s.prototype[t]=e.proto[t]}),e.static&&Object.keys(e.static).forEach(function(t){s[t]=e.static[t]}),e.install&&e.install.apply(s,t),s},p.use=function(e){for(var t=[],i=arguments.length-1;0<i--;)t[i]=arguments[i+1];var s=this;return Array.isArray(e)?(e.forEach(function(e){return s.installModule(e)}),s):s.installModule.apply(s,[e].concat(t))},Object.defineProperties(p,o),{updateSize:function(){var i=this.$el,e=void 0!==this.params.width?this.params.width:i[0].clientWidth,t=void 0!==this.params.height?this.params.height:i[0].clientHeight;0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt(i.css("padding-left"),10)-parseInt(i.css("padding-right"),10),t=t-parseInt(i.css("padding-top"),10)-parseInt(i.css("padding-bottom"),10),d.extend(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){var T,e=this.params,i=this.$wrapperEl,s=this.size,a=this.rtlTranslate,r=this.wrongRTL,n=this.virtual&&e.virtual.enabled,o=(n?this.virtual:this).slides.length,l=i.children("."+this.params.slideClass),p=(n?this.virtual.slides:l).length,c=[],u=[],v=[],n=e.slidesOffsetBefore,m=("function"==typeof n&&(n=e.slidesOffsetBefore.call(this)),e.slidesOffsetAfter),g=("function"==typeof m&&(m=e.slidesOffsetAfter.call(this)),this.snapGrid.length),b=this.snapGrid.length,w=e.spaceBetween,y=-n,x=0,E=0;if(void 0!==s){"string"==typeof w&&0<=w.indexOf("%")&&(w=parseFloat(w.replace("%",""))/100*s),this.virtualSize=-w,a?l.css({marginLeft:"",marginTop:""}):l.css({marginRight:"",marginBottom:""}),1<e.slidesPerColumn&&(T=Math.floor(p/e.slidesPerColumn)===p/this.params.slidesPerColumn?p:Math.ceil(p/e.slidesPerColumn)*e.slidesPerColumn,"auto"!==e.slidesPerView)&&"row"===e.slidesPerColumnFill&&(T=Math.max(T,e.slidesPerView*e.slidesPerColumn));for(var M=e.slidesPerColumn,z=T/M,k=z-(e.slidesPerColumn*z-p),P=0;P<p;P+=1){var L,I,D,S=0,$=l.eq(P);1<e.slidesPerColumn&&(D=I=L=void 0,"column"===e.slidesPerColumnFill?(D=P-(I=Math.floor(P/M))*M,(k<I||I===k&&D===M-1)&&(D+=1)>=M&&(D=0,I+=1),$.css({"-webkit-box-ordinal-group":L=I+D*T/M,"-moz-box-ordinal-group":L,"-ms-flex-order":L,"-webkit-order":L,order:L})):I=P-(D=Math.floor(P/z))*z,$.css("margin-"+(this.isHorizontal()?"top":"left"),0!==D&&e.spaceBetween&&e.spaceBetween+"px").attr("data-swiper-column",I).attr("data-swiper-row",D)),"none"!==$.css("display")&&("auto"===e.slidesPerView?(L=t.getComputedStyle($[0],null),I=$[0].style.transform,D=$[0].style.webkitTransform,I&&($[0].style.transform="none"),D&&($[0].style.webkitTransform="none"),S=this.isHorizontal()?$[0].getBoundingClientRect().width+parseFloat(L.getPropertyValue("margin-left"))+parseFloat(L.getPropertyValue("margin-right")):$[0].getBoundingClientRect().height+parseFloat(L.getPropertyValue("margin-top"))+parseFloat(L.getPropertyValue("margin-bottom")),I&&($[0].style.transform=I),D&&($[0].style.webkitTransform=D),e.roundLengths&&(S=Math.floor(S))):(S=(s-(e.slidesPerView-1)*w)/e.slidesPerView,e.roundLengths&&(S=Math.floor(S)),l[P]&&(this.isHorizontal()?l[P].style.width=S+"px":l[P].style.height=S+"px")),l[P]&&(l[P].swiperSlideSize=S),v.push(S),e.centeredSlides?(y=y+S/2+x/2+w,0===x&&0!==P&&(y=y-s/2-w),0===P&&(y=y-s/2-w),Math.abs(y)<.001&&(y=0),e.roundLengths&&(y=Math.floor(y)),E%e.slidesPerGroup==0&&c.push(y),u.push(y)):(e.roundLengths&&(y=Math.floor(y)),E%e.slidesPerGroup==0&&c.push(y),u.push(y),y=y+S+w),this.virtualSize+=S+w,x=S,E+=1)}if(this.virtualSize=Math.max(this.virtualSize,s)+m,a&&r&&("slide"===e.effect||"coverflow"===e.effect)&&i.css({width:this.virtualSize+e.spaceBetween+"px"}),h.flexbox&&!e.setWrapperSize||(this.isHorizontal()?i.css({width:this.virtualSize+e.spaceBetween+"px"}):i.css({height:this.virtualSize+e.spaceBetween+"px"})),1<e.slidesPerColumn&&(this.virtualSize=(S+e.spaceBetween)*T,this.virtualSize=Math.ceil(this.virtualSize/e.slidesPerColumn)-e.spaceBetween,this.isHorizontal()?i.css({width:this.virtualSize+e.spaceBetween+"px"}):i.css({height:this.virtualSize+e.spaceBetween+"px"}),e.centeredSlides)){for(var C=[],H=0;H<c.length;H+=1){var N=c[H];e.roundLengths&&(N=Math.floor(N)),c[H]<this.virtualSize+c[0]&&C.push(N)}c=C}if(!e.centeredSlides){C=[];for(var B=0;B<c.length;B+=1){var X=c[B];e.roundLengths&&(X=Math.floor(X)),c[B]<=this.virtualSize-s&&C.push(X)}c=C,1<Math.floor(this.virtualSize-s)-Math.floor(c[c.length-1])&&c.push(this.virtualSize-s)}0===c.length&&(c=[0]),0!==e.spaceBetween&&(this.isHorizontal()?a?l.css({marginLeft:w+"px"}):l.css({marginRight:w+"px"}):l.css({marginBottom:w+"px"})),d.extend(this,{slides:l,snapGrid:c,slidesGrid:u,slidesSizesGrid:v}
1),p!==o&&this.emit("slidesLengthChange"),c.length!==g&&(this.params.watchOverflow&&this.checkOverflow(),this.emit("snapGridLengthChange")),u.length!==b&&this.emit("slidesGridLengthChange"),(e.watchSlidesProgress||e.watchSlidesVisibility)&&this.updateSlidesOffset()}},updateAutoHeight:function(e){var t,r,i=[],s=0;if("number"==typeof e?this.setTransition(e):!0===e&&this.setTransition(this.params.speed),"auto"!==this.params.slidesPerView&&1<this.params.slidesPerView)for(t=0;t<Math.ceil(this.params.slidesPerView);t+=1){var a=this.activeIndex+t;if(a>this.slides.length)break;i.push(this.slides.eq(a)[0])}else i.push(this.slides.eq(this.activeIndex)[0]);for(t=0;t<i.length;t+=1)void 0!==i[t]&&(s=s<(r=i[t].offsetHeight)?r:s);s&&this.$wrapperEl.css("height",s+"px")},updateSlidesOffset:function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this.params,i=this.slides,s=this.rtlTranslate;if(0!==i.length){void 0===i[0].swiperSlideOffset&&this.updateSlidesOffset();var a=s?e:-e;i.removeClass(t.slideVisibleClass);for(var r=0;r<i.length;r+=1){var l,d,n=i[r],o=(a+(t.centeredSlides?this.minTranslate():0)-n.swiperSlideOffset)/(n.swiperSlideSize+t.spaceBetween);t.watchSlidesVisibility&&(d=(l=-(a-n.swiperSlideOffset))+this.slidesSizesGrid[r],0<=l&&l<this.size||0<d&&d<=this.size||l<=0&&d>=this.size)&&i.eq(r).addClass(t.slideVisibleClass),n.progress=s?-o:o}}},updateProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this.params,i=this.maxTranslate()-this.minTranslate(),s=this.progress,a=this.isBeginning,n=a,o=r=this.isEnd,r=0==i?a=!(s=0):(a=(s=(e-this.minTranslate())/i)<=0,1<=s);d.extend(this,{progress:s,isBeginning:a,isEnd:r}),(t.watchSlidesProgress||t.watchSlidesVisibility)&&this.updateSlidesProgress(e),a&&!n&&this.emit("reachBeginning toEdge"),r&&!o&&this.emit("reachEnd toEdge"),(n&&!a||o&&!r)&&this.emit("fromEdge"),this.emit("progress",s)},updateSlidesClasses:function(){var t=this.slides,i=this.params,s=this.$wrapperEl,a=this.activeIndex,r=this.realIndex,n=this.virtual&&i.virtual.enabled,a=(t.removeClass(i.slideActiveClass+" "+i.slideNextClass+" "+i.slidePrevClass+" "+i.slideDuplicateActiveClass+" "+i.slideDuplicateNextClass+" "+i.slideDuplicatePrevClass),(n=n?this.$wrapperEl.find("."+i.slideClass+'[data-swiper-slide-index="'+a+'"]'):t.eq(a)).addClass(i.slideActiveClass),i.loop&&(n.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+r+'"]'):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+r+'"]')).addClass(i.slideDuplicateActiveClass),n.nextAll("."+i.slideClass).eq(0).addClass(i.slideNextClass)),r=(i.loop&&0===a.length&&(a=t.eq(0)).addClass(i.slideNextClass),n.prevAll("."+i.slideClass).eq(0).addClass(i.slidePrevClass));i.loop&&0===r.length&&(r=t.eq(-1)).addClass(i.slidePrevClass),i.loop&&((a.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+a.attr("data-swiper-slide-index")+'"]'):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+a.attr("data-swiper-slide-index")+'"]')).addClass(i.slideDuplicateNextClass),(r.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+r.attr("data-swiper-slide-index")+'"]'):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+r.attr("data-swiper-slide-index")+'"]')).addClass(i.slideDuplicatePrevClass))},updateActiveIndex:function(e){var i=this.rtlTranslate?this.translate:-this.translate,s=this.slidesGrid,a=this.snapGrid,r=this.params,n=this.activeIndex,o=this.realIndex,l=this.snapIndex,h=e;if(void 0===h){for(var p=0;p<s.length;p+=1)void 0!==s[p+1]?i>=s[p]&&i<s[p+1]-(s[p+1]-s[p])/2?h=p:i>=s[p]&&i<s[p+1]&&(h=p+1):i>=s[p]&&(h=p);r.normalizeSlideIndex&&(h<0||void 0===h)&&(h=0)}(e=0<=a.indexOf(i)?a.indexOf(i):Math.floor(h/r.slidesPerGroup))>=a.length&&(e=a.length-1),h!==n?(r=parseInt(this.slides.eq(h).attr("data-swiper-slide-index")||h,10),d.extend(this,{snapIndex:e,realIndex:r,previousIndex:n,activeIndex:h}
1),this.emit("activeIndexChange"),this.emit("snapIndexChange"),o!==r&&this.emit("realIndexChange"),this.emit("slideChange")):e!==l&&(this.snapIndex=e,this.emit("snapIndexChange"))},updateClickedSlide:function(e){var t=this.params,i=s(e.target).closest("."+t.slideClass)[0],a=!1;if(i)for(var r=0;r<this.slides.length;r+=1)this.slides[r]===i&&(a=!0);i&&a?(this.clickedSlide=i,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(s(i).attr("data-swiper-slide-index"),10):this.clickedIndex=s(i).index(),t.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()):(this.clickedSlide=void 0,this.clickedIndex=void 0)}}),v={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this.params,i=this.rtlTranslate,s=this.translate,a=this.$wrapperEl;return t.virtualTranslate?i?-s:s:(t=d.getTranslate(a[0],e),(t=i?-t:t)||0)},setTranslate:function(e,t){var i=this.rtlTranslate,s=this.params,a=this.$wrapperEl,r=this.progress,n=0,o=0,i=(this.isHorizontal()?n=i?-e:e:o=e,s.roundLengths&&(n=Math.floor(n),o=Math.floor(o)),s.virtualTranslate||(h.transforms3d?a.transform("translate3d("+n+"px, "+o+"px, 0px)"):a.transform("translate("+n+"px, "+o+"px)")),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?n:o,this.maxTranslate()-this.minTranslate());(0==i?0:(e-this.minTranslate())/i)!==r&&this.updateProgress(e),this.emit("setTranslate",this.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]}},m={slideTo:function(e,t,i,s){void 0===t&&(t=this.params.speed),void 0===i&&(i=!0);var a=this,r=e=void 0===e?0:e,e=(r<0&&(r=0),a.params),o=a.snapGrid,l=a.slidesGrid,d=a.previousIndex,p=a.activeIndex,c=a.rtlTranslate;if(a.animating&&e.preventIntercationOnTransition)return!1;var u=Math.floor(r/e.slidesPerGroup);u>=o.length&&(u=o.length-1),(p||e.initialSlide||0)===(d||0)&&i&&a.emit("beforeSlideChangeStart");var v,f=-o[u];if(a.updateProgress(f),e.normalizeSlideIndex)for(var m=0;m<l.length;m+=1)-Math.floor(100*f)>=Math.floor(100*l[m])&&(r=m);if(a.initialized&&r!==p){if(!a.allowSlideNext&&f<a.translate&&f<a.minTranslate())return!1;if(!a.allowSlidePrev&&f>a.translate&&f>a.maxTranslate()&&(p||0)!==r)return!1}return v=p<r?"next":r<p?"prev":"reset",c&&-f===a.translate||!c&&f===a.translate?(a.updateActiveIndex(r),e.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),"slide"!==e.effect&&a.setTranslate(f),"reset"!=v&&(a.transitionStart(i,v),a.transitionEnd(i,v)),!1):(0!==t&&h.transition?(a.setTransition(t),a.setTranslate(f),a.updateActiveIndex(r),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,s),a.transitionStart(i,v),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.transitionEnd(i,v))}),a.$wrapperEl[0].addEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].addEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd))):(a.setTransition(0),a.setTranslate(f),a.updateActiveIndex(r),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,s),a.transitionStart(i,v),a.transitionEnd(i,v)),!0)},slideToLoop:function(e,t,i,s){void 0===t&&(t=this.params.speed);e=void 0===e?0:e;return this.params.loop&&(e+=this.loopedSlides),this.slideTo(e,t,i=void 0===i?!0:i,s)},slideNext:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var s=this.params,a=this.animating;return s.loop?!a&&(this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft,this.slideTo(this.activeIndex+s.slidesPerGroup,e,t,i)):this.slideTo(this.activeIndex+s.slidesPerGroup,e,t,i)},slidePrev:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var s=this.params,a=this.animating,r=this.snapGrid,n=this.slidesGrid,o=this.rtlTranslate;if(s.loop){if(a)return!1;this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft}function l(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var d,s=l(o?this.translate:-this.translate),a=r.map(l),o=(n.map(l),r[a.indexOf(s)],r[a.indexOf(s)-1]);return void 0!==o&&(d=n.indexOf(o))<0&&(d=this.activeIndex-1),this.slideTo(d,e,t,i)},slideReset:function(e,t,i){return void 0===e&&(e=this.params.speed),this.slideTo(this.activeIndex,e,t=void 0===t?!0:t,i)},slideToClosest:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var n,s=this.activeIndex,a=Math.floor(s/this.params.slidesPerGroup);return a<this.snapGrid.length-1&&(this.rtlTranslate?this.translate:-this.translate)-(n=this.snapGrid[a])>(this.snapGrid[a+1]-n)/2&&(s=this.params.slidesPerGroup),this.slideTo(s,e,t,i)},slideToClickedSlide:function(){var e,t=this,i=t.params,a=t.$wrapperEl,r="auto"===i.slidesPerView?t.slidesPerViewDynamic():i.slidesPerView,n=t.clickedIndex;i.loop?t.animating||(e=parseInt(s(t.clickedSlide).attr("data-swiper-slide-index"),10),i.centeredSlides?n<t.loopedSlides-r/2||n>t.slides.length-t.loopedSlides+r/2?(t.loopFix(),n=a.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),d.nextTick(function(){t.slideTo(n)})):t.slideTo(n):n>t.slides.length-r?(t.loopFix(),n=a.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),d.nextTick(function(){t.slideTo(n)})):t.slideTo(n)):t.slideTo(n)}},g={loopCreate:function(){var t=this,i=t.params,a=t.$wrapperEl,r=(a.children("."+i.slideClass+"."+i.slideDuplicateClass).remove(),a.children("."+i.slideClass));if(i.loopFillGroupWithBlank){var n=i.slidesPerGroup-r.length%i.slidesPerGroup;if(n!==i.slidesPerGroup){for(var o=0;o<n;o+=1){var l=s(e.createElement("div")).addClass(i.slideClass+" "+i.slideBlankClass);a.append(l)}r=a.children("."+i.slideClass)}}"auto"!==i.slidesPerView||i.loopedSlides||(i.loopedSlides=r.length),t.loopedSlides=parseInt(i.loopedSlides||i.slidesPerView,10),t.loopedSlides+=i.loopAdditionalSlides,t.loopedSlides>r.length&&(t.loopedSlides=r.length);var d=[],h=[];r.each(function(e,i){var a=s(i);e<t.loopedSlides&&h.push(i),e<r.length&&e>=r.length-t.loopedSlides&&d.push(i),a.attr("data-swiper-slide-index",e)});for(var p=0;p<h.length;p+=1)a.append(s(h[p].cloneNode(!0)).addClass(i.slideDuplicateClass));for(var c=d.length-1;0<=c;--c)a.prepend(s(d[c].cloneNode(!0)).addClass(i.slideDuplicateClass))},loopFix:function(){var e,t=this.params,i=this.activeIndex,s=this.slides,a=this.loopedSlides,r=this.allowSlidePrev,n=this.allowSlideNext,o=this.snapGrid,l=this.rtlTranslate,o=(this.allowSlidePrev=!0,this.allowSlideNext=!0,-o[i]-this.getTranslate());i<a?(e=s.length-3*a+i,this.slideTo(e+=a,0,!1,!0)&&0!=o&&this.setTranslate((l?-this.translate:this.translate)-o)):("auto"===t.slidesPerView&&2*a<=i||i>=s.length-a)&&(e=-s.length+i+a,this.slideTo(e+=a,0,!1,!0))&&0!=o&&this.setTranslate((l?-this.translate:this.translate)-o),this.allowSlidePrev=r,this.allowSlideNext=n},loopDestroy:function(){var e=this.$wrapperEl,t=this.params,i=this.slides;e.children("."+t.slideClass+"."+t.slideDuplicateClass).remove(),i.removeAttr("data-swiper-slide-index")}},b={setGrabCursor:function(e){var t;h.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked||((t=this.el).style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab")},unsetGrabCursor:function(){h.touch||this.params.watchOverflow&&this.isLocked||(this.el.style.cursor="")}},w={appendSlide:function(e){var t=this.$wrapperEl,i=this.params;if(i.loop&&this.loopDestroy(),"object"==typeof e&&"length"in e)for(var s=0;s<e.length;s+=1)e[s]&&t.append(e[s]);else t.append(e);i.loop&&this.loopCreate(),i.observer&&h.observer||this.update()},prependSlide:function(e){var t=this.params,i=this.$wrapperEl,s=this.activeIndex,a=(t.loop&&this.loopDestroy(),s+1);if("object"==typeof e&&"length"in e){for(var r=0;r<e.length;r+=1)e[r]&&i.prepend(e[r]);a=s+e.length}else i.prepend(e);t.loop&&this.loopCreate(),t.observer&&h.observer||this.update(),this.slideTo(a,0,!1)},addSlide:function(e,t){var i=this.$wrapperEl,s=this.params,a=this.activeIndex,r=(s.loop&&(a-=this.loopedSlides,this.loopDestroy(),this.slides=i.children("."+s.slideClass)),this.slides.length);if(e<=0)this.prependSlide(t);else if(r<=e)this.appendSlide(t);else{for(var n=e<a?a+1:a,o=[],l=r-1;e<=l;--l){var d=this.slides.eq(l);d.remove(),o.unshift(d)}if("object"==typeof t&&"length"in t){for(var p=0;p<t.length;p+=1)t[p]&&i.append(t[p]);n=e<a?a+t.length:a}else i.append(t);for(var c=0;c<o.length;c+=1)i.append(o[c]);s.loop&&this.loopCreate(),s.observer&&h.observer||this.update(),s.loop?this.slideTo(n+this.loopedSlides,0,!1):this.slideTo(n,0,!1)}},removeSlide:function(e){var t=this.params,i=this.$wrapperEl,s=this.activeIndex;t.loop&&(s-=this.loopedSlides,this.loopDestroy(),this.slides=i.children("."+t.slideClass));var a,r=s;if("object"==typeof e&&"length"in e)for(var n=0;n<e.length;n+=1)this.slides[a=e[n]]&&this.slides.eq(a).remove(),a<r&&--r;else this.slides[a=e]&&this.slides.eq(a).remove(),a<r&&--r;r=Math.max(r,0),t.loop&&this.loopCreate(),t.observer&&h.observer||this.update(),t.loop?this.slideTo(r+this.loopedSlides,0,!1):this.slideTo(r,0,!1)},removeAllSlides:function(){for(var e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}},y=(()=>{var i=t.navigator.userAgent,s={ios:!1,android:!1,androidChrome:!1,desktop:!1,windows:!1,iphone:!1,ipod:!1,ipad:!1,cordova:t.cordova||t.phonegap,phonegap:t.cordova||t.phonegap},a=i.match(/(Windows Phone);?[\s\/]+([\d.]+)?/),r=i.match(/(Android);?[\s\/]+([\d.]+)?/),n=i.match(/(iPad).*OS\s([\d_]+)/),o=i.match(/(iPod)(.*OS\s([\d_]+))?/),l=!n&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/);return a&&(s.os="windows",s.osVersion=a[2],s.windows=!0),r&&!a&&(s.os="android",s.osVersion=r[2],s.android=!0,s.androidChrome=0<=i.toLowerCase().indexOf("chrome")),(n||l||o)&&(s.os="ios",s.ios=!0),l&&!o&&(s.osVersion=l[2].replace(/_/g,"."),s.iphone=!0),n&&(s.osVersion=n[2].replace(/_/g,"."),s.ipad=!0),o&&(s.osVersion=o[3]?o[3].replace(/_/g,"."):null,s.iphone=!0),s.ios&&s.osVersion&&0<=i.indexOf("Version/")&&"10"===s.osVersion.split(".")[0]&&(s.osVersion=i.toLowerCase().split("version/")[1].split(" ")[0]),s.desktop=!(s.os||s.android||s.webView),s.webView=(l||n||o)&&i.match(/.*AppleWeb
1Kit(?!.*Safari)/i),s.os&&"ios"===s.os&&(a=s.osVersion.split("."),r=e.querySelector('meta[name="viewport"]'),s.minimalUi=!s.webView&&(o||l)&&(7==+a[0]?1<=+a[1]:7<+a[0])&&r&&0<=r.getAttribute("content").indexOf("minimal-ui")),s.pixelRatio=t.devicePixelRatio||1,s})();function x(){var s,a,r,e=this.params,t=this.el;t&&0===t.offsetWidth||(e.breakpoints&&this.setBreakpoint(),t=this.allowSlideNext,s=this.allowSlidePrev,a=this.snapGrid,this.allowSlideNext=!0,this.allowSlidePrev=!0,this.updateSize(),this.updateSlides(),e.freeMode?(r=Math.min(Math.max(this.translate,this.maxTranslate()),this.minTranslate()),this.setTranslate(r),this.updateActiveIndex(),this.updateSlidesClasses(),e.autoHeight&&this.updateAutoHeight()):(this.updateSlidesClasses(),("auto"===e.slidesPerView||1<e.slidesPerView)&&this.isEnd&&!this.params.centeredSlides?this.slideTo(this.slides.length-1,0,!1,!0):this.slideTo(this.activeIndex,0,!1,!0)),this.allowSlidePrev=s,this.allowSlideNext=t,this.params.watchOverflow&&a!==this.snapGrid&&this.checkOverflow())}var E={attachEvents:function(){var p,i=this.params,a=this.touchEvents,r=this.el,n=this.wrapperEl,r=(this.onTouchStart=function(i){var h,l,a=this.touchEventsData,r=this.params,n=this.touches;this.animating&&r.preventIntercationOnTransition||((i=i).originalEvent&&(i=i.originalEvent),a.isTouchEvent="touchstart"===i.type,!a.isTouchEvent&&"which"in i&&3===i.which)||a.isTouched&&a.isMoved||(r.noSwiping&&s(i.target).closest(r.noSwipingSelector||"."+r.noSwipingClass)[0]?this.allowClick=!0:r.swipeHandler&&!s(i).closest(r.swipeHandler)[0]||(n.currentX=("touchstart"===i.type?i.targetTouches[0]:i).pageX,n.currentY=("touchstart"===i.type?i.targetTouches[0]:i).pageY,l=n.currentX,h=n.currentY,y.ios&&!y.cordova&&r.iOSEdgeSwipeDetection&&(l<=r.iOSEdgeSwipeThreshold||l>=t.screen.width-r.iOSEdgeSwipeThreshold))||(d.extend(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),n.startX=l,n.startY=h,a.touchStartTime=d.now(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,0<r.threshold&&(a.allowThresholdMove=!1),"touchstart"!==i.type&&(l=!0,s(i.target).is(a.formElements)&&(l=!1),e.activeElement&&s(e.activeElement).is(a.formElements)&&e.activeElement!==i.target&&e.activeElement.blur(),l)&&this.allowTouchMove&&i.preventDefault(),this.emit("touchStart",i)))}.bind(this),this.onTouchMove=function(t){var i=this.touchEventsData,a=this.params,r=this.touches,n=this.rtlTranslate;if(t.originalEvent&&(t=t.originalEvent),i.isTouched){if(!i.isTouchEvent||"mousemove"!==t.type){var l=("touchmove"===t.type?t.targetTouches[0]:t).pageX,h=("touchmove"===t.type?t.targetTouches[0]:t).pageY;if(t.preventedByNestedSwiper)r.startX=l,r.startY=h;else if(this.allowTouchMove){if(i.isTouchEvent&&a.touchReleaseOnEdges&&!a.loop)if(this.isVertical()){if(h<r.startY&&this.translate<=this.maxTranslate()||h>r.startY&&this.translate>=this.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(l<r.startX&&this.translate<=this.maxTranslate()||l>r.startX&&this.translate>=this.minTranslate())return;if(i.isTouchEvent&&e.activeElement&&t.target===e.activeElement&&s(t.target).is(i.formElements))i.isMoved=!0,this.allowClick=!1;else if(i.allowTouchCallbacks&&this.emit("touchMove",t),!(t.targetTouches&&1<t.targetTouches.length)){r.currentX=l,r.currentY=h;var c=r.currentX-r.startX,u=r.currentY-r.startY;if(void 0===i.isScrolling&&(this.isHorizontal()&&r.currentY===r.startY||this.isVertical()&&r.currentX===r.startX?i.isScrolling=!1:25<=c*c+u*u&&(p=180*Math.atan2(Math.abs(u),Math.abs(c))/Math.PI,i.isScrolling=this.isHorizontal()?p>a.touchAngle:90-p>a.touchAngle)),i.isScrolling&&this.emit("touchMoveOpposite",t),"undefined"!=typeof startMoving||r.currentX===r.startX&&r.currentY===r.startY||(i.startMoving=!0),i.isScrolling)i.isTouched=!1;else if(i.startMoving){this.allowClick=!1,t.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&t.stopPropagation(),i.isMoved||(a.loop&&this.loopFix(),i.startTranslate=this.getTranslate(),this.setTransition(0),this.animating&&this.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce
1=!1,!a.grabCursor||!0!==this.allowSlideNext&&!0!==this.allowSlidePrev||this.setGrabCursor(!0),this.emit("sliderFirstMove",t)),this.emit("sliderMove",t),i.isMoved=!0;var p=this.isHorizontal()?c:u,c=(r.diff=p,p*=a.touchRatio,this.swipeDirection=0<(p=n?-p:p)?"prev":"next",i.currentTranslate=p+i.startTranslate,!0),u=a.resistanceRatio;if(a.touchReleaseOnEdges&&(u=0),0<p&&i.currentTranslate>this.minTranslate()?(c=!1,a.resistance&&(i.currentTranslate=this.minTranslate()-1+Math.pow(-this.minTranslate()+i.startTranslate+p,u))):p<0&&i.currentTranslate<this.maxTranslate()&&(c=!1,a.resistance)&&(i.currentTranslate=this.maxTranslate()+1-Math.pow(this.maxTranslate()-i.startTranslate-p,u)),c&&(t.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),0<a.threshold){if(!(Math.abs(p)>a.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);
1if(!i.allowThresholdMove)return i.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,i.currentTranslate=i.startTranslate,void(r.diff=this.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}a.followFinger&&((a.freeMode||a.watchSlidesProgress||a.watchSlidesVisibility)&&(this.updateActiveIndex(),this.updateSlidesClasses()),a.freeMode&&(0===i.velocities.length&&i.velocities.push({position:r[this.isHorizontal()?"startX":"startY"],time:i.touchStartTime}),i.velocities.push({position:r[this.isHorizontal()?"currentX":"currentY"],time:d.now()})),this.updateProgress(i.currentTranslate),this.setTranslate(i.currentTranslate))}}}else this.allowClick=!1,i.isTouched&&(d.extend(r,{startX:l,startY:h,currentX:l,currentY:h}),i.touchStartTime=d.now())}}else i.startMoving&&i.isScrolling&&this.emit("touchMoveOpposite",t)}.bind(this),this.onTouchEnd=function(e){var t=this,i=t.touchEventsData,s=t.params,a=t.touches,r=t.rtlTranslate,n=t.$wrapperEl,o=t.slidesGrid,l=t.snapGrid,h=e;if(h.originalEvent&&(h=h.originalEvent),i.allowTouchCallbacks&&t.emit("touchEnd",h),i.allowTouchCallbacks=!1,i.isTouched){s.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var p,e=d.now(),u=e-i.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(h),t.emit("tap",h),u<300&&300<e-i.lastClickTime&&(i.clickTimeout&&clearTimeout(i.clickTimeout),i.clickTimeout=d.nextTick(function(){t&&!t.destroyed&&t.emit("click",h)},300)),u<300)&&e-i.lastClickTime<300&&(i.clickTimeout&&clearTimeout(i.clickTimeout),t.emit("doubleTap",h)),i.lastClickTime=d.now(),d.nextTick(function(){t.destroyed||(t.allowClick=!0)}),i.isTouched&&i.isMoved&&t.swipeDirection&&0!==a.diff&&i.currentTranslate!==i.startTranslate)if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,p=s.followFinger?r?t.translate:-t.translate:-i.currentTranslate,s.freeMode)if(p<-t.minTranslate())t.slideTo(t.activeIndex);else if(p>-t.maxTranslate())t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1);else{if(s.freeModeMomentum){(!(1<i.velocities.length)||(e=i.velocities.pop(),a=i.velocities.pop(),m=e.position-a.position,a=e.time-a.time,t.velocity=m/a,t.velocity/=2,Math.abs(t.velocity)<s.freeModeMinimumVelocity&&(t.velocity=0),150<a)||300<d.now()-e.time)&&(t.velocity=0),t.velocity*=s.freeModeMomentumVelocityRatio,i.velocities.length=0;var m=1e3*s.freeModeMomentumRatio,a=t.velocity*m,y=t.translate+a;r&&(y=-y);var x,E,e=!1,a=20*Math.abs(t.velocity)*s.freeModeMomentumBounceRatio;if(y<t.maxTranslate())s.freeModeMomentumBounce?(y+t.maxTranslate()<-a&&(y=t.maxTranslate()-a),x=t.maxTranslate(),i.allowMomentumBounce=e=!0):y=t.maxTranslate(),s.loop&&s.centeredSlides&&(E=!0);else if(y>t.minTranslate())s.freeModeMomentumBounce?(y-t.minTranslate()>a&&(y=t.minTranslate()+a),x=t.minTranslate(),i.allowMomentumBounce=e=!0):y=t.minTranslate(),s.loop&&s.centeredSlides&&(E=!0);else if(s.freeModeSticky){for(var C,M=0;M<l.length;M+=1)if(l[M]>-y){C=M;break}y=-(Math.abs(l[C]-y)<Math.abs(l[C-1]-y)||"next"===t.swipeDirection?l[C]:l[C-1])}if(E&&t.once("transitionEnd",function(){t.loopFix()}),0!==t.velocity)m=r?Math.abs((-y-t.translate)/t.velocity):Math.abs((y-t.translate)/t.velocity);else if(s.freeModeSticky)return void t.slideToClosest();s.freeModeMomentumBounce&&e?(t.updateProgress(x),t.setTransition(m),t.setTranslate(y),t.transitionStart(!0,t.swipeDirection),t.animating=!0,n.transitionEnd(function(){t&&!t.destroyed&&i.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(s.speed),t.setTranslate(x),n.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()}))})):t.velocity?(t.updateProgress(y),t.setTransition(m),t.setTranslate(y),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,n.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()}))):t.updateProgress(y),t.updateActiveIndex(),t.updateSlidesClasses()}else if(s.freeModeSticky)return void t.slideToClosest();(!s.freeModeMomentum||u>=s.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var z=0,k=t.slidesSizesGrid[0],P=0;P<o.length;P+=s.slidesPerGroup)void 0!==o[P+s.slidesPerGroup]?p>=o[P]&&p<o[P+s.slidesPerGroup]&&(k=o[(z=P)+s.slidesPerGroup]-o[P]):p>=o[P]&&(z=P,k=o[o.length-1]-o[o.length-2]);a=(p-o[z])/k;u>s.longSwipesMs?s.longSwipes?("next"===t.swipeDirection&&(a>=s.longSwipesRatio?t.slideTo(z+s.slidesPerGroup):t.slideTo(z)),"prev"===t.swipeDirection&&(a>1-s.longSwipesRatio?t.slideTo(z+s.slidesPerGroup):t.slideTo(z))):t.slideTo(t.activeIndex):s.shortSwipes?("next"===t.swipeDirection&&t.slideTo(z+s.slidesPerGroup),"prev"===t.swipeDirection&&t.slideTo(z)):t.slideTo(t.activeIndex)}else i.isTouched=!1,i.isMoved=!1,i.startMoving=!1}else i.isMoved&&s.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1}.bind(this),this.onClick=function(e){this.allowClick||(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}.bind(this),"container"===i.touchEventsTarget?r:n),n=!!i.nested;h.touch||!h.pointerEvents&&!h.prefixedPointerEvents?(h.touch&&(p=!("touchstart"!==a.start||!h.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1},r.addEventListener(a.start,this.onTouchStart,p),r.addEventListener(a.move,this.onTouchMove,h.passiveListener?{passive:!1,capture:n}:n),r.addEventListener(a.end,this.onTouchEnd,p)),(i.simulateTouch&&!y.ios&&!y.android||i.simulateTouch&&!h.touch&&y.ios)&&(r.addEventListener("mousedown",this.onTouchStart,!1),e.addEventListener("mousemove",this.onTouchMove,n),e.addEventListener("mouseup",this.onTouchEnd,!1))):(r.addEventListener(a.start,this.onTouchStart,!1),e.addEventListener(a.move,this.onTouchMove,n),e.addEventListener(a.end,this.onTouchEnd,!1)),(i.preventClicks||i.preventClicksPropagation)&&r.addEventListener("click",this.onClick,!0),this.on(y.ios||y.android?"resize orientationchange observerUpdate":"resize observerUpdate",x,!0)},detachEvents:function(){var o,t=this.params,i=this.touchEvents,s=this.el,a=this.wrapperEl,s="container"===t.touchEventsTarget?s:a,a=!!t.nested;h.touch||!h.pointerEvents&&!h.prefixedPointerEvents?(h.touch&&(o=!("onTouchStart"!==i.start||!h.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1},s.removeEventListener(i.start,this.onTouchStart,o),s.removeEventListener(i.move,this.onTouchMove,a),s.removeEventListener(i.end,this.onTouchEnd,o)),(t.simulateTouch&&!y.ios&&!y.android||t.simulateTouch&&!h.touch&&y.ios)&&(s.removeEventListener("mousedown",this.onTouchStart,!1),e.removeEventListener("mousemove",this.onTouchMove,a),e.removeEventListener("mouseup",this.onTouchEnd,!1))):(s.removeEventListener(i.start,this.onTouchStart,!1),e.removeEventListener(i.move,this.onTouchMove,a),e.removeEventListener(i.end,this.onTouchEnd,!1)),(t.preventClicks||t.preventClicksPropagation)&&s.removeEventListener("click",this.onClick,!0),this.off(y.ios||y.android?"resize orientationchange observerUpdate":"resize observerUpdate",x)}},T={setBreakpoint:function(){var r,e=this.activeIndex,t=this.initialized,i=this.loopedSlides,s=(void 0===i&&(i=0),this.params),a=s.breakpoints;
1a&&0!==Object.keys(a).length&&(r=this.getBreakpoint(a))&&this.currentBreakpoint!==r&&(a=r in a?a[r]:this.originalParams,s=s.loop&&a.slidesPerView!==s.slidesPerView,d.extend(this.params,a),d.extend(this,{allowTouchMove:this.params.allowTouchMove,allowSlideNext:this.params.allowSlideNext,allowSlidePrev:this.params.allowSlidePrev}),this.currentBreakpoint=r,s&&t&&(this.loopDestroy(),this.loopCreate(),this.updateSlides(),this.slideTo(e-i+this.loopedSlides,0,!1)),this.emit("breakpoint",a))},getBreakpoint:function(e){if(e){var i=!1,s=[];Object.keys(e).forEach(function(e){s.push(e)}),s.sort(function(e,t){return parseInt(e,10)-parseInt(t,10)});for(var a=0;a<s.length;a+=1){var r=s[a];r>=t.innerWidth&&!i&&(i=r)}return i||"max"}}},S=(()=>{return{isIE:!!t.navigator.userAgent.match(/Trident/g)||!!t.navigator.userAgent.match(/MSIE/g),isSafari:0<=(e=t.navigator.userAgent.toLowerCase()).indexOf("safari")&&e.indexOf("chrome")<0&&e.indexOf("android")<0,isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)};var e})(),C={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,preventIntercationOnTransition:!1,iOSEdgeSwipeDetection:!1,iOSEdgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!0,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",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},M={update:o,translate:v,transition:{setTransition:function(e,t){this.$wrapperEl.transition(e),this.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);var i=this.activeIndex,s=this.params,a=this.previousIndex;s.autoHeight&&this.updateAutoHeight();s=(s=t)||(a<i?"next":i<a?"prev":"reset");this.emit("transitionStart"),e&&i!==a&&("reset"===s?this.emit("slideResetTransitionStart"):(this.emit("slideChangeTransitionStart"),"next"===s?this.emit("slideNextTransitionStart"):this.emit("slidePrevTransitionStart")))},transitionEnd:function(e,t){void 0===e&&(e=!0);var i=this.activeIndex,s=this.previousIndex;this.animating=!1,this.setTransition(0);t=(t=t)||(s<i?"next":i<s?"prev":"reset");this.emit("transitionEnd"),e&&i!==s&&("reset"===t?this.emit("slideResetTransitionEnd"):(this.emit("slideChangeTransitionEnd"),"next"===t?this.emit("slideNextTransitionEnd"):this.emit("slidePrevTransitionEnd")))}},slide:m,loop:g,grabCursor:b,manipulation:w,events:E,breakpoints:T,checkOverflow:{checkOverflow:function(){var e=this.isLocked;this.isLocked=1===this.snapGrid.length,this.allowSlideNext=!this.isLocked,this.allowSlidePrev=!this.isLocked,e!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock"),e&&e!==this.isLocked&&(this.isEnd=!1,this.navigation.update())}},classes:{addClasses:function(){var e=this.classNames,t=this.params,i=this.rtl,s=this.$el,a=[];a.push(t.direction),t.freeMode&&a.push("free-mode"),h.flexbox||a.push("no-flexbox"),t.autoHeight&&a.push("autoheight"),i&&a.push("rtl"),1<t.slidesPerColumn&&a.push("multirow"),y.android&&a.push("android"),y.ios&&a.push("ios"),S.isIE&&(h.pointerEvents||h.prefixedPointerEvents)&&a.push("wp8-"+t.direction),a.forEach(function(i){e.push(t.containerModifierClass+i)}),s.addClass(e.join(" "))},removeClasses:function(){var e=this.$el,t=this.classNames;e.removeClass(t.join(" "))}},images:{loadImage:function(e,i,s,a,r,n){function l(){n&&n()}(!e.complete||!r)&&i?((e=new t.Image).onload=l,e.onerror=l,a&&(e.sizes=a),s&&(e.srcset=s),i&&(e.src=i)):l()},preloadImages:function(){var 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(
1),e.emit("imagesReady"))}e.imagesToLoad=e.$el.find("img");for(var i=0;i<e.imagesToLoad.length;i+=1){var s=e.imagesToLoad[i];e.loadImage(s,s.currentSrc||s.getAttribute("src"),s.srcset||s.getAttribute("srcset"),s.sizes||s.getAttribute("sizes"),!0,t)}}}},z={},k=(e=>{function t(){for(var r,n=[],o=arguments.length;o--;)n[o]=arguments[o];r=(r=1===n.length&&n[0].constructor&&n[0].constructor===Object?n[0]:(a=n[0],n[1]))||{},r=d.extend({},r),a&&!r.el&&(r.el=a),e.call(this,r),Object.keys(M).forEach(function(e){Object.keys(M[e]).forEach(function(i){t.prototype[i]||(t.prototype[i]=M[e][i])})});var u,l=this,p=(void 0===l.modules&&(l.modules={}),Object.keys(l.modules).forEach(function(e){var i,e=l.modules[e];e.params&&(i=Object.keys(e.params)[0],"object"==typeof(e=e.params[i]))&&i in r&&"enabled"in e&&(!0===r[i]&&(r[i]={enabled:!0}),"object"!=typeof r[i]||"enabled"in r[i]||(r[i].enabled=!0),r[i]||(r[i]={enabled:!1}))}),d.extend({},C)),p=(l.useModulesParams(p),l.params=d.extend({},p,z,r),l.originalParams=d.extend({},l.params),l.passedParams=d.extend({},r),(l.$=s)(l.params.el));if(a=p[0]){if(1<p.length)return u=[],p.each(function(e,i){i=d.extend({},r,{el:i});u.push(new t(i))}),u;a.swiper=l,p.data("swiper",l);var a,m=p.children("."+l.params.wrapperClass);return d.extend(l,{$el:p,el:a,$wrapperEl:m,wrapperEl:m[0],classNames:[],slides:s(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===l.params.direction},isVertical:function(){return"vertical"===l.params.direction},rtl:"rtl"===a.dir.toLowerCase()||"rtl"===p.css("direction"),rtlTranslate:"horizontal"===l.params.direction&&("rtl"===a.dir.toLowerCase()||"rtl"===p.css("direction")),wrongRTL:"-webkit-box"===m.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:l.params.allowSlideNext,allowSlidePrev:l.params.allowSlidePrev,touchEvents:(a=["mousedown","mousemove","mouseup"],h.pointerEvents?a=["pointerdown","pointermove","pointerup"]:h.prefixedPointerEvents&&(a=["MSPointerDown","MSPointerMove","MSPointerUp"]),l.touchEventsTouch={start:(p=["touchstart","touchmove","touchend"])[0],move:p[1],end:p[2]},l.touchEventsDesktop={start:a[0],move:a[1],end:a[2]},h.touch||!l.params.simulateTouch?l.touchEventsTouch:l.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,formElements:"input, select, option, textarea, button, video",lastClickTime:d.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.useModules(),l.params.init&&l.init(),l}}e&&(t.__proto__=e);var i={extendedDefaults:{configurable:!0},defaults:{configurable:!0},Class:{configurable:!0},$:{configurable:!0}};return((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.slidesPerViewDynamic=function(){var e=this.params,t=this.slides,i=this.slidesGrid,s=this.size,a=this.activeIndex,r=1;if(e.centeredSlides){for(var n,o=t[a].swiperSlideSize,l=a+1;l<t.length;l+=1)t[l]&&!n&&(r+=1,(o+=t[l].swiperSlideSize)>s)&&(n=!0);for(var d=a-1;0<=d;--d)t[d]&&!n&&(r+=1,(o+=t[d].swiperSlideSize)>s)&&(n=!0)}else for(var h=a+1;h<t.length;h+=1)i[h]-i[a]<s&&(r+=1);return r},t.prototype.update=function(){var t,i,e=this;function s(){var t=e.rtlTranslate?-1*e.translate:e.translate,t=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(t),e.updateActiveIndex(),e.updateSlidesClasses()}e&&!e.destroyed&&(t=e.snapGrid,(i=e.params).breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(s(),e.params.autoHeight&&e.updateAutoHeight()):(("auto"===e.params.slidesPerView||1<e.params.slidesPerView)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||s(),i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update"))}
1,t.prototype.init=function(){this.initialized||(this.emit("beforeInit"),this.params.breakpoints&&this.setBreakpoint(),this.addClasses(),this.params.loop&&this.loopCreate(),this.updateSize(),this.updateSlides(),this.params.watchOverflow&&this.checkOverflow(),this.params.grabCursor&&this.setGrabCursor(),this.params.preloadImages&&this.preloadImages(),this.params.loop?this.slideTo(this.params.initialSlide+this.loopedSlides,0,this.params.runCallbacksOnInit):this.slideTo(this.params.initialSlide,0,this.params.runCallbacksOnInit),this.attachEvents(),this.initialized=!0,this.emit("init"))},t.prototype.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var i=this,s=i.params,a=i.$el,r=i.$wrapperEl,n=i.slides;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),s.loop&&i.loopDestroy(),t&&(i.removeClasses(),a.removeAttr("style"),r.removeAttr("style"),n)&&n.length&&n.removeClass([s.slideVisibleClass,s.slideActiveClass,s.slideNextClass,s.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index").removeAttr("data-swiper-column").removeAttr("data-swiper-row"),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(function(e){i.off(e)}),!1!==e&&(i.$el[0].swiper=null,i.$el.data("swiper",null),d.deleteProps(i)),i.destroyed=!0),null},t.extendDefaults=function(e){d.extend(z,e)},i.extendedDefaults.get=function(){return z},i.defaults.get=function(){return C},i.Class.get=function(){return e},i.$.get=function(){return s},Object.defineProperties(t,i),t})(p),o={name:"device",proto:{device:y},static:{device:y}},v={name:"support",proto:{support:h},static:{support:h}},m={name:"browser",proto:{browser:S},static:{browser:S}},g={name:"resize",create:function(){var e=this;d.extend(e,{resize:{resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(){t.addEventListener("resize",this.resize.resizeHandler),t.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy:function(){t.removeEventListener("resize",this.resize.resizeHandler),t.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}},D={func:t.MutationObserver||t.WebkitMutationObserver,attach:function(e,t){void 0===t&&(t={});var i=this,s=new D.func(function(e){e.forEach(function(e){i.emit("observerUpdate",e)})});s.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),i.observer.observers.push(s)},init:function(){if(h.observer&&this.params.observer){if(this.params.observeParents)for(var e=this.$el.parents(),t=0;t<e.length;t+=1)this.observer.attach(e[t]);this.observer.attach(this.$el[0],{childList:!1}),this.observer.attach(this.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach(function(e){e.disconnect()}),this.observer.observers=[]}},b={name:"observer",params:{observer:!1,observeParents:!1},create:function(){d.extend(this,{observer:{init:D.init.bind(this),attach:D.attach.bind(this),destroy:D.destroy.bind(this),observers:[]}})},on:{init:function(){this.observer.init()},destroy:function(){this.observer.destroy()}}},A={update:function(e){var t=this,i=t.params,s=i.slidesPerView,a=i.slidesPerGroup,i=i.centeredSlides,n=t.virtual,o=n.from,l=n.to,h=n.slides,p=n.slidesGrid,c=n.renderSlide,n=n.offset;t.updateActiveIndex();var f,g=t.activeIndex||0,v=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",i=i?(f=Math.floor(s/2)+a,Math.floor(s/2)+a):(f=s+(a-1),a),b=Math.max((g||0)-i,0),w=Math.min((g||0)+f,h.length-1),s=(t.slidesGrid[b]||0)-(t.slidesGrid[0]||0);function x(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(d.extend(t.virtual,{from:b,to:w,offset:s,slidesGrid:t.slidesGrid}),o!==b||l!==w||e){if(t.params.virtual.renderExternal)t.params.virtual.renderExternal.call(t,{offset:s,from:b,to:w,slides:(()=>{for(var e=[],t=b;t<=w;t+=1)e.push(h[t]);return e})()});else{var E=[],T=[];
1if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else for(var S=o;S<=l;S+=1)(S<b||w<S)&&t.$wrapperEl.find("."+t.params.slideClass+'[data-swiper-slide-index="'+S+'"]').remove();for(var C=0;C<h.length;C+=1)b<=C&&C<=w&&(void 0===l||e?T.push(C):(l<C&&T.push(C),C<o&&E.push(C)));T.forEach(function(e){t.$wrapperEl.append(c(h[e],e))}),E.sort(function(e,t){return e<t}).forEach(function(e){t.$wrapperEl.prepend(c(h[e],e))}),t.$wrapperEl.children(".swiper-slide").css(v,s+"px")}x()}else t.slidesGrid!==p&&s!==n&&t.slides.css(v,s+"px"),t.updateProgress()},renderSlide:function(e,t){var i=this.params.virtual;return i.cache&&this.virtual.cache[t]?this.virtual.cache[t]:((e=s(i.renderSlide?i.renderSlide.call(this,e,t):'<div class="'+this.params.slideClass+'" data-swiper-slide-index="'+t+'">'+e+"</div>")).attr("data-swiper-slide-index")||e.attr("data-swiper-slide-index",t),i.cache&&(this.virtual.cache[t]=e),e)},appendSlide:function(e){this.virtual.slides.push(e),this.virtual.update(!0)},prependSlide:function(e){var t,i;this.virtual.slides.unshift(e),this.params.virtual.cache&&(t=this.virtual.cache,i={},Object.keys(t).forEach(function(e){i[e+1]=t[e]}),this.virtual.cache=i),this.virtual.update(!0),this.slideNext(0)}},w={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null}},create:function(){d.extend(this,{virtual:{update:A.update.bind(this),appendSlide:A.appendSlide.bind(this),prependSlide:A.prependSlide.bind(this),renderSlide:A.renderSlide.bind(this),slides:this.params.virtual.slides,cache:{}}})},on:{beforeInit:function(){var e;this.params.virtual.enabled&&(this.classNames.push(this.params.containerModifierClass+"virtual"),d.extend(this.params,e={watchSlidesProgress:!0}
1),d.extend(this.originalParams,e),this.virtual.update())},setTranslate:function(){this.params.virtual.enabled&&this.virtual.update()}}},H={handle:function(i){var s=this.rtlTranslate,r=(i=i.originalEvent?i.originalEvent:i).keyCode||i.charCode;if(!this.allowSlideNext&&(this.isHorizontal()&&39===r||this.isVertical()&&40===r))return!1;if(!this.allowSlidePrev&&(this.isHorizontal()&&37===r||this.isVertical()&&38===r))return!1;if(!(i.shiftKey||i.altKey||i.ctrlKey||i.metaKey||e.activeElement&&e.activeElement.nodeName&&("input"===e.activeElement.nodeName.toLowerCase()||"textarea"===e.activeElement.nodeName.toLowerCase()))){if(this.params.keyboard.onlyInViewport&&(37===r||39===r||38===r||40===r)){var n=!1;if(0<this.$el.parents("."+this.params.slideClass).length&&0===this.$el.parents("."+this.params.slideActiveClass).length)return;var o=t.innerWidth,l=t.innerHeight,d=this.$el.offset();s&&(d.left-=this.$el[0].scrollLeft);for(var h=[[d.left,d.top],[d.left+this.width,d.top],[d.left,d.top+this.height],[d.left+this.width,d.top+this.height]],p=0;p<h.length;p+=1){var c=h[p];0<=c[0]&&c[0]<=o&&0<=c[1]&&c[1]<=l&&(n=!0)}if(!n)return}this.isHorizontal()?(37!==r&&39!==r||(i.preventDefault?i.preventDefault():i.returnValue=!1),(39===r&&!s||37===r&&s)&&this.slideNext(),(37===r&&!s||39===r&&s)&&this.slidePrev()):(38!==r&&40!==r||(i.preventDefault?i.preventDefault():i.returnValue=!1),40===r&&this.slideNext(),38===r&&this.slidePrev()),this.emit("keyPress",r)}},enable:function(){this.keyboard.enabled||(s(e).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable:function(){this.keyboard.enabled&&(s(e).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}},E={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create:function(){d.extend(this,{keyboard:{enabled:!1,enable:H.enable.bind(this),disable:H.disable.bind(this),handle:H.handle.bind(this)}})},on:{init:function(){this.params.keyboard.enabled&&this.keyboard.enable()},destroy:function(){this.keyboard.enabled&&this.keyboard.disable()}}},B={lastScrollTime:d.now(),event:-1<t.navigator.userAgent.indexOf("firefox")?"DOMMouseScroll":(()=>{var i,t="onwheel"in e;return t||((i=e.createElement("div")).setAttribute("onwheel","return;"),t="function"==typeof i.onwheel),t=!t&&e.implementation&&e.implementation.hasFeature&&!0!==e.implementation.hasFeature("","")?e.implementation.hasFeature("Events.wheel","3.0"):t})()?"wheel":"mousewheel",normalize:function(e){var t=0,i=0,s=0,a=0;return"detail"in e&&(i=e.detail),"wheelDelta"in e&&(i=-e.wheelDelta/120),"wheelDeltaY"in e&&(i=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=i,i=0),s=10*t,a=10*i,"deltaY"in e&&(a=e.deltaY),((s="deltaX"in e?e.deltaX:s)||a)&&e.deltaMode&&(1===e.deltaMode?(s*=40,a*=40):(s*=800,a*=800)),{spinX:t=s&&!t?s<1?-1:1:t,spinY:i=a&&!i?a<1?-1:1:i,pixelX:s,pixelY:a}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(e){var s=this,a=s.params.mousewheel;if(!s.mouseEntered&&!a.releaseOnEdges)return!0;e.originalEvent&&(e=e.originalEvent);var r=0,n=s.rtlTranslate?-1:1,o=B.normalize(e);if(a.forceToAxis)if(s.isHorizontal()){if(!(Math.abs(o.pixelX)>Math.abs(o.pixelY)))return!0;r=o.pixelX*n}else{if(!(Math.abs(o.pixelY)>Math.abs(o.pixelX)))return!0;r=o.pixelY}else r=Math.abs(o.pixelX)>Math.abs(o.pixelY)?-o.pixelX*n:-o.pixelY;if(0===r)return!0;if(a.invert&&(r=-r),s.params.freeMode){s.params.loop&&s.loopFix();var n=s.getTranslate()+r*a.sensitivity,o=s.isBeginning,p=s.isEnd;if((n=n>=s.minTranslate()?s.minTranslate():n)<=s.maxTranslate()&&(n=s.maxTranslate()),s.setTransition(0),s.setTranslate(n),s.updateProgress(),s.updateActiveIndex(),s.updateSlidesClasses(),(!o&&s.isBeginning||!p&&s.isEnd)&&s.updateSlidesClasses(),s.params.freeModeSticky&&(clearTimeout(s.mousewheel.timeout),s.mousewheel.timeout=d.nextTick(function(){s.slideToClosest()},300)),s.emit("scroll",e),s.params.autoplay&&s.params.autoplayDisableOnInteraction&&s.autoplay.stop(),n===s.minTranslate()||n===s.maxTranslate())return!0}else{if(60<d.now()-s.mousewheel.lastScrollTime)if(r<0)if(s.isEnd&&!s.params.loop||s.animating){if(a.releaseOnEdges)return!0}else s.slideNext(),s.emit("scroll",e);else if(s.isBeginning&&!s.params.loop||s.animating){if(a.releaseOnEdges)return!0}else s.slidePrev(),s.emit("scroll",e);s.mousewheel.lastScrollTime=(new t.Date).getTime()}return e.preventDefault?e.preventDefault():e.returnValue=!1,!1},enable:function(){var e;return!!B.event&&!this.mousewheel.enabled&&(e=this.$el,(e="container"!==this.params.mousewheel.eventsTarged?s(this.params.mousewheel.eventsTarged):e).on("mouseenter",this.mousewheel.handleMouseEnter),e.on("mouseleave",this.mousewheel.handleMouseLeave),e.on(B.event,this.mousewheel.handle),this.mousewheel.enabled=!0)},disable:function(){var e;return!!B.event&&!(!this.mousewheel.enabled||(e=this.$el,(e="container"!==this.params.mousewheel.eventsTarged?s(this.params.mousewheel.eventsTarged):e).off(B.event,this.mousewheel.handle),this.mousewheel.enabled=!1))}},X={update:function(){var i,t,e=this.params.navigation;this.params.loop||(i=(t=this.navigation).$nextEl,(t=t.$prevEl)&&0<t.length&&(this.isBeg
1inning?t.addClass(e.disabledClass):t.removeClass(e.disabledClass),t[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass)),i&&0<i.length&&(this.isEnd?i.addClass(e.disabledClass):i.removeClass(e.disabledClass),i[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass)))},init:function(){var e,t,i=this,a=i.params.navigation;(a.nextEl||a.prevEl)&&(a.nextEl&&(e=s(a.nextEl),i.params.uniqueNavElements)&&"string"==typeof a.nextEl&&1<e.length&&1===i.$el.find(a.nextEl).length&&(e=i.$el.find(a.nextEl)),a.prevEl&&(t=s(a.prevEl),i.params.uniqueNavElements)&&"string"==typeof a.prevEl&&1<t.length&&1===i.$el.find(a.prevEl).length&&(t=i.$el.find(a.prevEl)),e&&0<e.length&&e.on("click",function(e){e.preventDefault(),i.isEnd&&!i.params.loop||i.slideNext()}),t&&0<t.length&&t.on("click",function(e){e.preventDefault(),i.isBeginning&&!i.params.loop||i.slidePrev()}),d.extend(i.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}))},destroy:function(){var e=this.navigation,t=e.$nextEl,e=e.$prevEl;t&&t.length&&(t.off("click"),t.removeClass(this.params.navigation.disabledClass)),e&&e.length&&(e.off("click"),e.removeClass(this.params.navigation.disabledClass))}},Y={update:function(){var e=this.rtl,t=this.params.pagination;if(t.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var i,a=(this.virtual&&this.params.virtual.enabled?this.virtual:this).slides.length,r=this.pagination.$el,n=this.params.loop?Math.ceil((a-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length;if(this.params.loop?((i=Math.ceil((this.activeIndex-this.loopedSlides)/this.params.slidesPerGroup))>a-1-2*this.loopedSlides&&(i-=a-2*this.loopedSlides),n-1<i&&(i-=n),i<0&&"bullets"!==this.params.paginationType&&(i=n+i)):i=void 0!==this.snapIndex?this.snapIndex:this.activeIndex||0,"bullets"===t.type&&this.pagination.bullets&&0<this.pagination.bullets.length){var o,l,d,h=this.pagination.bullets;if(t.dynamicBullets&&(this.pagination.bulletSize=h.eq(0)[this.isHorizontal()?"outerWidth":"outerHeight"](!0),r.css(this.isHorizontal()?"width":"height",this.pagination.bulletSize*(t.dynamicMainBullets+4)+"px"),1<t.dynamicMainBullets&&void 0!==this.previousIndex&&(this.pagination.dynamicBulletIndex+=i-this.previousIndex,this.pagination.dynamicBulletIndex>t.dynamicMainBullets-1?this.pagination.dynamicBulletIndex=t.dynamicMainBullets-1:this.pagination.dynamicBulletIndex<0&&(this.pagination.dynamicBulletIndex=0)),o=i-this.pagination.dynamicBulletIndex,d=((l=o+(Math.min(h.length,t.dynamicMainBullets)-1))+o)/2),h.removeClass(t.bulletActiveClass+" "+t.bulletActiveClass+"-next "+t.bulletActiveClass+"-next-next "+t.bulletActiveClass+"-prev "+t.bulletActiveClass+"-prev-prev "+t.bulletActiveClass+"-main"),1<r.length)h.each(function(e,a){var a=s(a),n=a.index();n===i&&a.addClass(t.bulletActiveClass),t.dynamicBullets&&(o<=n&&n<=l&&a.addClass(t.bulletActiveClass+"-main"),n===o&&a.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),n===l)&&a.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next")});else if(h.eq(i).addClass(t.bulletActiveClass),t.dynamicBullets){for(var a=h.eq(o),c=h.eq(l),u=o;u<=l;u+=1)h.eq(u).addClass(t.bulletActiveClass+"-main");a.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),c.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next")}t.dynamicBullets&&(a=Math.min(h.length,t.dynamicMainBullets+4),c=(this.pagination.bulletSize*a-this.pagination.bulletSize)/2-d*this.pagination.bulletSize,a=e?"right":"left",h.css(this.isHorizontal()?a:"top",c+"px"))}"fraction"===t.type&&(r.find("."+t.currentClass).text(t.formatFractionCurrent(i+1)),r.find("."+t.totalClass).text(t.formatFractionTotal(n))),"progressbar"===t.type&&(d=t.progressbarOpposite?this.isHorizontal()?"vertical":"horizontal":this.isHorizontal()?"horizontal":"vertical",e=(i+1)/n,c=a=1,"horizontal"==d?a=e:c=e,r.find("."+t.progressbarFillClass).transform("translate3d(0,0,0) scaleX("+a+") scaleY("+c+")").transition(this.params.speed)),"custom"===t.type&&t.renderCustom?(r.html(t.renderCustom(this,i+1,n)),this.emit
1("paginationRender",this,r[0])):this.emit("paginationUpdate",this,r[0]),r[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](t.lockClass)}},render:function(){var e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var t=(this.virtual&&this.params.virtual.enabled?this.virtual:this).slides.length,i=this.pagination.$el,s="";if("bullets"===e.type){for(var a=this.params.loop?Math.ceil((t-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length,r=0;r<a;r+=1)e.renderBullet?s+=e.renderBullet.call(this,r,e.bulletClass):s+="<"+e.bulletElement+' class="'+e.bulletClass+'"></'+e.bulletElement+">";i.html(s),this.pagination.bullets=i.find("."+e.bulletClass)}"fraction"===e.type&&(s=e.renderFraction?e.renderFraction.call(this,e.currentClass,e.totalClass):'<span class="'+e.currentClass+'"></span> / <span class="'+e.totalClass+'"></span>',i.html(s)),"progressbar"===e.type&&(s=e.renderProgressbar?e.renderProgressbar.call(this,e.progressbarFillClass):'<span class="'+e.progressbarFillClass+'"></span>',i.html(s)),"custom"!==e.type&&this.emit("paginationRender",this.pagination.$el[0])}},init:function(){var i,e=this,t=e.params.pagination;t.el&&0!==(i=s(t.el)).length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&1<i.length&&1===e.$el.find(t.el).length&&(i=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&i.addClass(t.clickableClass),i.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(i.addClass(""+t.modifierClass+t.type+"-dynamic"),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1)&&(t.dynamicMainBullets=1),"progressbar"===t.type&&t.progressbarOpposite&&i.addClass(t.progressbarOppositeClass),t.clickable&&i.on("click","."+t.bulletClass,function(t){t.preventDefault();t=s(this).index()*e.params.slidesPerGroup;e.params.loop&&(t+=e.loopedSlides),e.slideTo(t)}),d.extend(e.pagination,{$el:i,el:i[0]}))},destroy:function(){var t,e=this.params.pagination;e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length&&((t=this.pagination.$el).removeClass(e.hiddenClass),t.removeClass(e.modifierClass+e.type),this.pagination.bullets&&this.pagination.bullets.removeClass(e.bulletActiveClass),e.clickable)&&t.off("click","."+e.bulletClass)}},V={setTranslate:function(){var t,s,e,r,n,o,l,i;this.params.scrollbar.el&&this.scrollbar.el&&(e=this.scrollbar,t=this.rtlTranslate,i=this.progress,s=e.dragSize,r=e.$dragEl,n=e.$el,o=this.params.scrollbar,i=((e=e.trackSize)-(l=s))*i,t?0<(i=-i)?(l=s-i,i=0):e<-i+s&&(l=e+i):i<0?(l=s+i,i=0):e<i+s&&(l=e-i),this.isHorizontal()?(h.transforms3d?r.transform("translate3d("+i+"px, 0, 0)"):r.transform("translateX("+i+"px)"),r[0].style.width=l+"px"):(h.transforms3d?r.transform("translate3d(0px, "+i+"px, 0)"):r.transform("translateY("+i+"px)"),r[0].style.height=l+"px"),o.hide)&&(clearTimeout(this.scrollbar.timeout),n[0].style.opacity=1,this.scrollbar.timeout=setTimeout(function(){n[0].style.opacity=0,n.transition(400)},1e3))},setTransition:function(e){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(e)},updateSize:function(){var e,t,i,a,r,n,s;this.params.scrollbar.el&&this.scrollbar.el&&(t=(e=this.scrollbar).$dragEl,i=e.$el,t[0].style.width="",t[0].style.height="",a=this.isHorizontal()?i[0].offsetWidth:i[0].offsetHeight,n=(r=this.size/this.virtualSize)*(a/this.size),s="auto"===this.params.scrollbar.dragSize?a*r:parseInt(this.params.scrollbar.dragSize,10),this.isHorizontal()?t[0].style.width=s+"px":t[0].style.height=s+"px",i[0].style.display=1<=r?"none":"",this.params.scrollbarHide&&(i[0].style.opacity=0),d.extend(e,{trackSize:a,divider:r,moveDivider:n,dragSize:s}),e.$el[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](this.params.scrollbar.lockClass))},setDragPosition:function(e){var i=this.scrollbar,s=this.rtlTranslate,a=i.$el,r=i.dragSize,i=i.trackSize,e=((this.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageX:e.pageX||e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageY:e.pageY||e.clientY)-a.offset()[this.isHorizontal()?"left":"top"]-r/2)/(i-r),a=(e=Math.max(Math.min(e,1),0),s&&(e=1-e),this.minTranslate()+(this.maxTranslate()-this.minTranslate())*e);this.updateProgress(a),this.setTranslate(a),this.updateActiveIndex(),this.updateSlidesClasses()}
1,onDragStart:function(e){var t=this.params.scrollbar,i=this.scrollbar,s=this.$wrapperEl,a=i.$el,r=i.$dragEl;this.scrollbar.isTouched=!0,e.preventDefault(),e.stopPropagation(),s.transition(100),r.transition(100),i.setDragPosition(e),clearTimeout(this.scrollbar.dragTimeout),a.transition(0),t.hide&&a.css("opacity",1),this.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this.scrollbar,i=this.$wrapperEl,s=t.$el,a=t.$dragEl;this.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),i.transition(0),s.transition(0),a.transition(0),this.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this.params.scrollbar,i=this.scrollbar.$el;this.scrollbar.isTouched&&(this.scrollbar.isTouched=!1,t.hide&&(clearTimeout(this.scrollbar.dragTimeout),this.scrollbar.dragTimeout=d.nextTick(function(){i.css("opacity",0),i.transition(400)},1e3)),this.emit("scrollbarDragEnd",e),t.snapOnRelease)&&this.slideToClosest()},enableDraggable:function(){var i,s,a,t,n,o;this.params.scrollbar.el&&(t=this.scrollbar,i=this.touchEvents,s=this.touchEventsDesktop,a=this.params,t=t.$el[0],n=!(!h.passiveListener||!a.passiveListener)&&{passive:!1,capture:!1},o=!(!h.passiveListener||!a.passiveListener)&&{passive:!0,capture:!1},h.touch||!h.pointerEvents&&!h.prefixedPointerEvents?(h.touch&&(t.addEventListener(i.start,this.scrollbar.onDragStart,n),t.addEventListener(i.move,this.scrollbar.onDragMove,n),t.addEventListener(i.end,this.scrollbar.onDragEnd,o)),(a.simulateTouch&&!y.ios&&!y.android||a.simulateTouch&&!h.touch&&y.ios)&&(t.addEventListener("mousedown",this.scrollbar.onDragStart,n),e.addEventListener("mousemove",this.scrollbar.onDragMove,n),e.addEventListener("mouseup",this.scrollbar.onDragEnd,o))):(t.addEventListener(s.start,this.scrollbar.onDragStart,n),e.addEventListener(s.move,this.scrollbar.onDragMove,n),e.addEventListener(s.end,this.scrollbar.onDragEnd,o)))},disableDraggable:function(){var i,s,a,t,n,o;this.params.scrollbar.el&&(t=this.scrollbar,i=this.touchEvents,s=this.touchEventsDesktop,a=this.params,t=t.$el[0],n=!(!h.passiveListener||!a.passiveListener)&&{passive:!1,capture:!1},o=!(!h.passiveListener||!a.passiveListener)&&{passive:!0,capture:!1},h.touch||!h.pointerEvents&&!h.prefixedPointerEvents?(h.touch&&(t.removeEventListener(i.start,this.scrollbar.onDragStart,n),t.removeEventListener(i.move,this.scrollbar.onDragMove,n),t.removeEventListener(i.end,this.scrollbar.onDragEnd,o)),(a.simulateTouch&&!y.ios&&!y.android||a.simulateTouch&&!h.touch&&y.ios)&&(t.removeEventListener("mousedown",this.scrollbar.onDragStart,n),e.removeEventListener("mousemove",this.scrollbar.onDragMove,n),e.removeEventListener("mouseup",this.scrollbar.onDragEnd,o))):(t.removeEventListener(s.start,this.scrollbar.onDragStart,n),e.removeEventListener(s.move,this.scrollbar.onDragMove,n),e.removeEventListener(s.end,this.scrollbar.onDragEnd,o)))},init:function(){var e,i,a,t;this.params.scrollbar.el&&(e=this.scrollbar,t=this.$el,a=s((i=this.params.scrollbar).el),0===(t=(a=this.params.uniqueNavElements&&"string"==typeof i.el&&1<a.length&&1===t.find(i.el).length?t.find(i.el):a).find("."+this.params.scrollbar.dragClass)).length&&(t=s('<div class="'+this.params.scrollbar.dragClass+'"></div>'),a.append(t)),d.extend(e,{$el:a,el:a[0],$dragEl:t,dragEl:t[0]}),i.draggable)&&e.enableDraggable()},destroy:function(){this.scrollbar.disableDraggable()}},R={setTransform:function(e,t){var i=this.rtl,e=s(e),i=i?-1:1,n=e.attr("data-swiper-parallax")||"0",o=e.attr("data-swiper-parallax-x"),l=e.attr("data-swiper-parallax-y"),d=e.attr("data-swiper-parallax-scale"),h=e.attr("data-swiper-parallax-opacity");o||l?(o=o||"0",l=l||"0"):this.isHorizontal()?(o=n,l="0"):(l=n,o="0"),o=0<=o.indexOf("%")?parseInt(o,10)*t*i+"%":o*t*i+"px",l=0<=l.indexOf("%")?parseInt(l,10)*t+"%":l*t+"px",null!=h&&(n=h-(h-1)*(1-Math.abs(t)),e[0].style.opacity=n),null==d?e.transform("translate3d("+o+", "+l+", 0px)"):(i=d-(d-1)*(1-Math.abs(t)),e.transform("translate3d("+o+", "+l+", 0px) scale("+i+")"))},setTranslate:function(){var e=this,t=e.$el,i=e.slides,a=e.progress,r=e.snapGrid;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(t,i){e.parallax.setTransform(i,a)}),i.each(function(t,i){var n=i.progress;1<e.params.slidesPerGroup&&"auto"!==e.params.slidesPerView&&(n+=Math.ceil(t/2)-a*(r.length-1)),n=Math.min(Math.max(n,-1),1),s(i).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(t,i){e.parallax.setTransform(i,n)})})},setTransition:function(e){void 0===e&&(e=this.params.speed),this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(t,i){var i=s(i),r=parseInt(i.attr("data-swiper-parallax-duration"),10)||e;0===e&&(r=0),i.transition(r)})}},F={getDistanceBetweenTouches:function(e){var t,i,s;return e.targetTouches.length<2?1:(t=e.targetTouches[0].pageX,i=e.targetTouches[0].pageY,s=e.targetTouches[1].pageX,e=e.targetTouches[1].pageY,Math.sqrt(Math.pow(s-t,2)+Math.pow(e-i,2)))},onGestureStart:function(e){var t=this.params.zoom,i=this.zoom,a=i.gesture;if(i.fakeGestureTouched=!1,i.fakeGestureMoved=!1,!h.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;i.fakeGestureTouched=!0,a.scaleStart=F.getDistanceBetweenTouches(e)}a.$slideEl&&a.$slideEl.length||(a.$slideEl=s(e.target).closest(".swiper-slide"),0===a.$slideEl.length&&(a.$slideEl=this.slides.eq(this.activeIndex)),a.$imageEl=a.$slideEl.find("img, svg, canvas"),a.$imageWrapEl=a.$imageEl.parent("."+t.containerClass),a.maxRatio=a.$imageWrapEl.attr("data-swiper-zoom")||t.maxRatio,0!==a.$imageWrapEl.length)?(a.$imageEl.transition(0),this.zoom.isScaling=!0):a.$imageEl=void 0},onGestureChange:function(e){var t=this.params.zoom,i=this.zoom,s=i.gesture;if(!h.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;i.fakeGestureMoved=!0,s.scaleMove=F.getDistanceBetweenTouches(e)}s.$imageEl&&0!==s.$imageEl.length&&(h.gestures?this.zoom.scale=e.scale*i.currentScale:i.scale=s.scaleMove/s.scaleStart*i.currentScale,i.scale>s.maxRatio&&(i.scale=s.maxRatio-1+Math.pow(i.scale-s.maxRatio+1,.5)),i.scale<t.minRatio&&(i.scale=t.minRatio+1-Math.pow(t.minRatio-i.scale+1,.5)),s.$imageEl.transform("translate3d(0,
10,0) scale("+i.scale+")"))},onGestureEnd:function(e){var t=this.params.zoom,i=this.zoom,s=i.gesture;if(!h.gestures){if(!i.fakeGestureTouched||!i.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!y.android)return;i.fakeGestureTouched=!1,i.fakeGestureMoved=!1}s.$imageEl&&0!==s.$imageEl.length&&(i.scale=Math.max(Math.min(i.scale,s.maxRatio),t.minRatio),s.$imageEl.transition(this.params.speed).transform("translate3d(0,0,0) scale("+i.scale+")"),i.currentScale=i.scale,i.isScaling=!1,1===i.scale)&&(s.$slideEl=void 0)},onTouchStart:function(e){var t=this.zoom,i=t.gesture,t=t.image;i.$imageEl&&0!==i.$imageEl.length&&!t.isTouched&&(y.android&&e.preventDefault(),t.isTouched=!0,t.touchesStart.x=("touchstart"===e.type?e.targetTouches[0]:e).pageX,t.touchesStart.y=("touchstart"===e.type?e.targetTouches[0]:e).pageY)},onTouchMove:function(e){var t=this.zoom,i=t.gesture,s=t.image,a=t.velocity;if(i.$imageEl&&0!==i.$imageEl.length&&(this.allowClick=!1,s.isTouched)&&i.$slideEl){s.isMoved||(s.width=i.$imageEl[0].offsetWidth,s.height=i.$imageEl[0].offsetHeight,s.startX=d.getTranslate(i.$imageWrapEl[0],"x")||0,s.startY=d.getTranslate(i.$imageWrapEl[0],"y")||0,i.slideWidth=i.$slideEl[0].offsetWidth,i.slideHeight=i.$slideEl[0].offsetHeight,i.$imageWrapEl.transition(0),this.rtl&&(s.startX=-s.startX,s.startY=-s.startY));var r=s.width*t.scale,n=s.height*t.scale;if(!(r<i.slideWidth&&n<i.slideHeight)){if(s.minX=Math.min(i.slideWidth/2-r/2,0),s.maxX=-s.minX,s.minY=Math.min(i.slideHeight/2-n/2,0),s.maxY=-s.minY,s.touchesCurrent.x=("touchmove"===e.type?e.targetTouches[0]:e).pageX,s.touchesCurrent.y=("touchmove"===e.type?e.targetTouches[0]:e).pageY,!s.isMoved&&!t.isScaling){if(this.isHorizontal()&&(Math.floor(s.minX)===Math.floor(s.startX)&&s.touchesCurrent.x<s.touchesStart.x||Math.floor(s.maxX)===Math.floor(s.startX)&&s.touchesCurrent.x>s.touchesStart.x))return void(s.isTouched=!1);if(!this.isHorizontal()&&(Math.floor(s.minY)===Math.floor(s.startY)&&s.touchesCurrent.y<s.touchesStart.y||Math.floor(s.maxY)===Math.floor(s.startY)&&s.touchesCurrent.y>s.touchesStart.y))return void(s.isTouched=!1)}e.preventDefault(),e.stopPropagation(),s.isMoved=!0,s.currentX=s.touchesCurrent.x-s.touchesStart.x+s.startX,s.currentY=s.touchesCurrent.y-s.touchesStart.y+s.startY,s.currentX<s.minX&&(s.currentX=s.minX+1-Math.pow(s.minX-s.currentX+1,.8)),s.currentX>s.maxX&&(s.currentX=s.maxX-1+Math.pow(s.currentX-s.maxX+1,.8)),s.currentY<s.minY&&(s.currentY=s.minY+1-Math.pow(s.minY-s.currentY+1,.8)),s.currentY>s.maxY&&(s.currentY=s.maxY-1+Math.pow(s.currentY-s.maxY+1,.8)),a.prevPositionX||(a.prevPositionX=s.touchesCurrent.x),a.prevPositionY||(a.prevPositionY=s.touchesCurrent.y),a.prevTime||(a.prevTime=Date.now()),a.x=(s.touchesCurrent.x-a.prevPositionX)/(Date.now()-a.prevTime)/2,a.y=(s.touchesCurrent.y-a.prevPositionY)/(Date.now()-a.prevTime)/2,Math.abs(s.touchesCurrent.x-a.prevPositionX)<2&&(a.x=0),Math.abs(s.touchesCurrent.y-a.prevPositionY)<2&&(a.y=0),a.prevPositionX=s.touchesCurrent.x,a.prevPositionY=s.touchesCurrent.y,a.prevTime=Date.now(),i.$imageWrapEl.transform("translate3d("+s.currentX+"px, "+s.currentY+"px,0)")}}},onTouchEnd:function(){var n,l,a,r,e=this.zoom,t=e.gesture,i=e.image,s=e.velocity;t.$imageEl&&0!==t.$imageEl.length&&(i.isTouched&&i.isMoved?(i.isTouched=!1,i.isMoved=!1,n=s.x*(a=300),n=i.
1currentX+n,l=s.y*(r=300),l=i.currentY+l,0!==s.x&&(a=Math.abs((n-i.currentX)/s.x)),0!==s.y&&(r=Math.abs((l-i.currentY)/s.y)),s=Math.max(a,r),i.currentX=n,i.currentY=l,a=i.width*e.scale,r=i.height*e.scale,i.minX=Math.min(t.slideWidth/2-a/2,0),i.maxX=-i.minX,i.minY=Math.min(t.slideHeight/2-r/2,0),i.maxY=-i.minY,i.currentX=Math.max(Math.min(i.currentX,i.maxX),i.minX),i.currentY=Math.max(Math.min(i.currentY,i.maxY),i.minY),t.$imageWrapEl.transition(s).transform("translate3d("+i.currentX+"px, "+i.currentY+"px,0)")):(i.isTouched=!1,i.isMoved=!1))},onTransitionEnd:function(){var e=this.zoom,t=e.gesture;t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl.transform("translate3d(0,0,0) scale(1)"),t.$imageWrapEl.transform("translate3d(0,0,0)"),t.$slideEl=void 0,t.$imageEl=void 0,t.$imageWrapEl=void 0,e.scale=1,e.currentScale=1)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,n,l,d,b=this.zoom,w=this.params.zoom,y=b.gesture,x=b.image;y.$slideEl||(y.$slideEl=this.clickedSlide?s(this.clickedSlide):this.slides.eq(this.activeIndex),y.$imageEl=y.$slideEl.find("img, svg, canvas"),y.$imageWrapEl=y.$imageEl.parent("."+w.containerClass)),y.$imageEl&&0!==y.$imageEl.length&&(y.$slideEl.addClass(""+w.zoomedSlideClass),x=void 0===x.touchesStart.x&&e?(t=("touchend"===e.type?e.changedTouches[0]:e).pageX,("touchend"===e.type?e.changedTouches[0]:e).pageY):(t=x.touchesStart.x,x.touchesStart.y),b.scale=y.$imageWrapEl.attr("data-swiper-zoom")||w.maxRatio,b.currentScale=y.$imageWrapEl.attr("data-swiper-zoom")||w.maxRatio,e?(w=y.$slideEl[0].offsetWidth,e=y.$slideEl[0].offsetHeight,t=y.$slideEl.offset().left+w/2-t,x=y.$slideEl.offset().top+e/2-x,l=y.$imageEl[0].offsetWidth,d=y.$imageEl[0].offsetHeight,l=l*b.scale,d=d*b.scale,l=-(w=Math.min(w/2-l/2,0)),d=-(e=Math.min(e/2-d/2,0)),l<(n=(n=t*b.scale)<w?w:n)&&(n=l),d<(l=(l=x*b.scale)<e?e:l)&&(l=d)):l=n=0,y.$imageWrapEl.transition(300).transform("translate3d("+n+"px, "+l+"px,0)"),y.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+b.scale+")"))},out:function(){var e=this.zoom,t=this.params.zoom,i=e.gesture;i.$slideEl||(i.$slideEl=this.clickedSlide?s(this.clickedSlide):this.slides.eq(this.activeIndex),i.$imageEl=i.$slideEl.find("img, svg, canvas"),i.$imageWrapEl=i.$imageEl.parent("."+t.containerClass)),i.$imageEl&&0!==i.$imageEl.length&&(e.scale=1,e.currentScale=1,i.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),i.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),i.$slideEl.removeClass(""+t.zoomedSlideClass),i.$slideEl=void 0)},enable:function(){var t,e=this.zoom;e.enabled||(e.enabled=!0,t=!("touchstart"!==this.touchEvents.start||!h.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1},h.gestures?(this.$wrapperEl.on("gesturestart",".swiper-slide",e.onGestureStart,t),this.$wrapperEl.on("gesturechange",".swiper-slide",e.onGestureChange,t),this.$wrapperEl.on("gestureend",".swiper-slide",e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.on(this.touchEvents.start,".swiper-slide",e.onGestureStart,t),this.$wrapperEl.on(this.touchEvents.move,".swiper-slide",e.onGestureChange,t),this.$wrapperEl.on(this.touchEvents.end,".swiper-slide",e.onGestureEnd,t)),this.$wrapperEl.on(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove))},disable:function(){var t,e=this.zoom;e.enabled&&(this.zoom.enabled=!1,t=!("touchstart"!==this.touchEvents.start||!h.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1},h.gestures?(this.$wrapperEl.off("gesturestart",".swiper-slide",e.onGestureStart,t),this.$wrapperEl.off("gesturechange",".swiper-slide",e.onGestureChange,t),this.$wrapperEl.off("gestureend",".swiper-slide",e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.off(this.touchEvents.start,".swiper-slide",e.onGestureStart,t),this.$wrapperEl.off(this.touchEvents.move,".swiper-slide",e.onGestureChange,t),this.$wrapperEl.off(this.touchEvents.end,".swiper-slide",e.onGestureEnd,t)),this.$wrapperEl.off(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove))}},W={loadInSlide:function(e,t){void 0===t&&(t=!0);var r,i=this,a=i.params.lazy;void 0!==e&&0!==i.slides.length&&(e=(r=i.virtual&&i.params.virtual.enabled?i.$wrapperEl.children("."+i.params.slideClass+'[data-swiper-slide-index="'+e+'"]'):i.slides.eq(e)).find("."+a.elementClass+":not(."+a.loadedClass+"):not(."+a.loadingClass+")"),0!==(e=!r.hasClass(a.elementClass)||r.hasClass(a.loadedClass)||r.hasClass(a.loadingClass)?e:e.add(r[0])).length)&&e.each(function(e,n){var o=s(n),l=(o.addClass(a.loadingClass),o.attr("data-background")),d=o.attr("data-src"),h=o.attr("data-srcset"),p=o.attr("data-sizes");i.loadImage(o[0],d||l,h,p,!1,function(){var e,s;null==i||!i||i&&!i.params||i.destroyed||(l?(o.css("background-image",'url("'+l+'")'),o.removeAttr("data-background")):(h&&(o.attr("srcset",h),o.removeAttr("data-srcset")),p&&(o.attr("sizes",p),o.removeAttr("data-sizes")),d&&(o.attr("src",d),o.removeAttr("data-src"))),o.addClass(a.loadedClass).removeClass(a.loadingClass),r.find("."+a.preloaderClass).remove(),i.params.loop&&t&&(e=r.attr("data-swiper-slide-index"),r.hasClass(i.params.slideDuplicateClass)?(s=i.$wrapperEl.children('[data-swiper-slide-index="'+e+'"]:not(.'+i.params.slideDuplicateClass+")"),i.lazy.loadInSlide(s.index(),!1)):(s=i.$wrapperEl.children("."+i.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]'),i.lazy.loadInSlide(s.index(),!1))),i.emit("lazyImageReady",r[0],o[0]))}),i.emit("lazyImageLoad",r[0],o[0])})},load:function(){var e=this,t=e.$wrapperEl,i=e.params,a=e.slides,r=e.activeIndex,n=e.virtual&&i.virtual.enabled,o=i.lazy,l=i.slidesPerView;function d(e){if(n){if(t.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return 1}else if(a[e])return 1}function h(e){return n?s(e).attr("data-swiper-slide-index"):s(e).index()}if("auto"===l&&(l=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children("."+i.slideVisibleClass).each(function(t,i){i=n?s(i).attr("data-swiper-slide-index"):s(i).index();e.lazy.loadInSlide(i)});else if(1<l)for(var p=r;p<r+l;p+=1)d(p)&&e.lazy.loadInSlide(p);else e.lazy.loadInSlide(r);if(o.loadPrevNext)if(1<l||o.loadPrevNextAmount&&1<o.loadPrevNextAmount){for(var o=o.loadPrevNextAmount,u=l,v=Math.min(r+u+Math.max(o,u),a.length),u=
1Math.max(r-Math.max(u,o),0),m=r+l;m<v;m+=1)d(m)&&e.lazy.loadInSlide(m);for(var g=u;g<r;g+=1)d(g)&&e.lazy.loadInSlide(g)}else{o=t.children("."+i.slideNextClass),u=(0<o.length&&e.lazy.loadInSlide(h(o)),t.children("."+i.slidePrevClass));0<u.length&&e.lazy.loadInSlide(h(u))}}},q={LinearSpline:function(e,t){var i,s,a,r,n;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(n=((e,t)=>{for(s=-1,i=e.length;1<i-s;)e[a=i+s>>1]<=t?s=a:i=a;return i})(this.x,e),r=n-1,(e-this.x[r])*(this.y[n]-this.y[r])/(this.x[n]-this.x[r])+this.y[r]):0},this},getInterpolateFunction:function(e){this.controller.spline||(this.controller.spline=this.params.loop?new q.LinearSpline(this.slidesGrid,e.slidesGrid):new q.LinearSpline(this.snapGrid,e.snapGrid))},setTranslate:function(e,t){var i,s,a=this,r=a.controller.control;function n(e){var t=a.rtlTranslate?-a.translate:a.translate;"slide"===a.params.controller.by&&(a.controller.getInterpolateFunction(e),s=-a.controller.spline.interpolate(-t)),s&&"container"!==a.params.controller.by||(i=(e.maxTranslate()-e.minTranslate())/(a.maxTranslate()-a.minTranslate()),s=(t-a.minTranslate())*i+e.minTranslate()),a.params.controller.inverse&&(s=e.maxTranslate()-s),e.updateProgress(s),e.setTranslate(s,a),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(r))for(var o=0;o<r.length;o+=1)r[o]!==t&&r[o]instanceof k&&n(r[o]);else r instanceof k&&t!==r&&n(r)},setTransition:function(e,t){var i,s=this,a=s.controller.control;function r(t){t.setTransition(e,s),0!==e&&(t.transitionStart(),t.$wrapperEl.transitionEnd(function(){a&&(t.params.loop&&"slide"===s.params.controller.by&&t.loopFix(),t.transitionEnd())}))}if(Array.isArray(a))for(i=0;i<a.length;i+=1)a[i]!==t&&a[i]instanceof k&&r(a[i]);else a instanceof k&&t!==a&&r(a)}},j={makeElFocusable:function(e){return e.attr("tabIndex","0"),e},addElRole:function(e,t){return e.attr("role",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(e){var t=this.params.a11y;13===e.keyCode&&(e=s(e.target),this.navigation&&this.navigation.$nextEl&&e.is(this.navigation.$nextEl)&&(this.isEnd&&!this.params.loop||this.slideNext(),this.isEnd?this.a11y.notify(t.lastSlideMessage):this.a11y.notify(t.nextSlideMessage)),this.navigation&&this.navigation.$prevEl&&e.is(this.navigation.$prevEl)&&(this.isBeginning&&!this.params.loop||this.slidePrev(),this.isBeginning?this.a11y.notify(t.firstSlideMessage):this.a11y.notify(t.prevSlideMessage)),this.pagination)&&e.is("."+this.params.pagination.bulletClass)&&e[0].click()},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){var t,e;this.params.loop||(t=(e=this.navigation).$nextEl,(e=e.$prevEl)&&0<e.length&&(this.isBeginning?this.a11y.disableEl(e):this.a11y.enableEl(e)),t&&0<t.length&&(this.isEnd?this.a11y.disableEl(t):this.a11y.enableEl(t)))},updatePagination:function(){var e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each(function(i,a){a=s(a);e.a11y.makeElFocusable(a),e.a11y.addElRole(a,"button"),e.a11y.addElLabel(a,t.paginationBulletMessage.replace(/{{index}}/,a.index()+1))})},init:function(){this.$el.append(this.a11y.liveRegion);var e,t,i=this.params.a11y;this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&(this.a11y.makeElFocusable(e),this.a11y.addElRole(e,"button"),this.a11y.addElLabel(e,i.nextSlideMessage),e.on("keydown",this.a11y.onEnterKey)),t&&(this.a11y.makeElFocusable(t),this.a11y.addElRole(t,"button"),this.a11y.addElLabel(t,i.prevSlideMessage),t.on("keydown",this.a11y.onEnterKey)),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.on("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)},destroy:function(){var e,t;this.a11y.liveRegion&&0<this.a11y.liveRegion.length&&this.a11y.liveRegion.remove(),this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&e.off("keydown",this.a11y.onEnterKey),t&&t.off("keydown",this.a11y.onEnterKey),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.off("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)}},K={init:function(){var e;this.params.history&&(t.history&&t.history.pushState?((e=this.history).initialized=!0,e.paths=K.getPathValues(),(e.paths.key||e.paths.value)&&(e.scrollToSlide(0,e.paths.value,this.params.runCallbacksOnInit),this.params.history.replaceState||t.addEventListener("popstate",this.history.setHistoryPopState))):(this.params.history.enabled=!1,this.params.hashNavigation.enabled=!0))},destroy:function(){this.params.history.replaceState||t.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){this.history.paths=K.getPathValues(),this.history.scrollToSlide(this.params.speed,this.history.paths.value,!1)},getPathValues:function(){var e=t.location.pathname.slice(1).split("/").filter(function(e){return""!==e}),i=e.length;return{key:e[i-2],value:e[i-1]}},setHistory:function(e,i){this.history.initialized&&this.params.history.enabled&&(i=this.slides.eq(i),i=K.slugify(i.attr("data-history")),t.location.pathname.includes(e)||(i=e+"/"+i),(e=t.history.state)&&e.value===i||(this.params.history.replaceState?t.history.replaceState({value:i},null,i):t.history.pushState({value:i},null,i)))},slugify:function(e){return e.toString().toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,i){if(t)for(var s=0,a=this.slides.length;s<a;s+=1){var r=this.slides.eq(s);K.slugify(r.attr("data-history"))!==t||r.hasClass(this.params.slideDuplicateClass)||(r=r.
1index(),this.slideTo(r,e,i))}else this.slideTo(0,e,i)}},U={onHashCange:function(){var t=e.location.hash.replace("#","");t!==this.slides.eq(this.activeIndex).attr("data-hash")&&this.slideTo(this.$wrapperEl.children("."+this.params.slideClass+'[data-hash="'+t+'"]').index())},setHash:function(){var i;this.hashNavigation.initialized&&this.params.hashNavigation.enabled&&(this.params.hashNavigation.replaceState&&t.history&&t.history.replaceState?t.history.replaceState(null,null,"#"+this.slides.eq(this.activeIndex).attr("data-hash")||""):(i=(i=this.slides.eq(this.activeIndex)).attr("data-hash")||i.attr("data-history"),e.location.hash=i||""))},init:function(){if(!(!this.params.hashNavigation.enabled||this.params.history&&this.params.history.enabled)){this.hashNavigation.initialized=!0;var i=e.location.hash.replace("#","");if(i)for(var a=0,r=this.slides.length;a<r;a+=1){var n=this.slides.eq(a);(n.attr("data-hash")||n.attr("data-history"))!==i||n.hasClass(this.params.slideDuplicateClass)||(n=n.index(),this.slideTo(n,0,this.params.runCallbacksOnInit,!0))}this.params.hashNavigation.watchState&&s(t).on("hashchange",this.hashNavigation.onHashCange)}},destroy:function(){this.params.hashNavigation.watchState&&s(t).off("hashchange",this.hashNavigation.onHashCange)}},_={run:function(){var e=this,t=e.slides.eq(e.activeIndex),i=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(i=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),e.autoplay.timeout=
1d.nextTick(function(){e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay"))},i)},start:function(){return void 0===this.autoplay.timeout&&!this.autoplay.running&&(this.autoplay.running=!0,this.emit("autoplayStart"),this.autoplay.run(),!0)},stop:function(){return!!this.autoplay.running&&void 0!==this.autoplay.timeout&&(this.autoplay.timeout&&(clearTimeout(this.autoplay.timeout),this.autoplay.timeout=void 0),this.autoplay.running=!1,this.emit("autoplayStop"),!0)},pause:function(e){!this.autoplay.running||this.autoplay.paused||(this.autoplay.timeout&&clearTimeout(this.autoplay.timeout),this.autoplay.paused=!0,0!==e&&this.params.autoplay.waitForTransition?(this.$wrapperEl[0].addEventListener("transitionend",this.autoplay.onTransitionEnd),this.$wrapperEl[0].addEventListener("webkitTransitionEnd",this.autoplay.onTransitionEnd)):(this.autoplay.paused=!1,this.autoplay.run()))}},Z={setTranslate:function(){for(var e=this.slides,t=0;t<e.length;t+=1){var i=this.slides.eq(t),s=-i[0].swiperSlideOffset,a=(this.params.virtualTranslate||(s-=this.translate),0),r=(this.isHorizontal()||(a=s,s=0),this.params.fadeEffect.crossFade?Math.max(1-Math.abs(i[0].progress),0):1+Math.min(Math.max(i[0].progress,-1),0));i.css({opacity:r}).transform("translate3d("+s+"px, "+a+"px, 0px)")}},setTransition:function(e){var a,t=this,i=t.slides,s=t.$wrapperEl;i.transition(e),t.params.virtualTranslate&&0!==e&&(a=!1,i.transitionEnd(function(){if(!a&&t&&!t.destroyed){a=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],i=0;i<e.length;i+=1)s.trigger(e[i])}}))}},Q={setTranslate:function(){var t=this.$el,i=this.$wrapperEl,a=this.slides,r=this.width,n=this.height,o=this.rtlTranslate,l=this.size,d=this.params.cubeEffect,h=this.isHorizontal(),p=this.virtual&&this.params.virtual.enabled,c=0;d.shadow&&(h?(0===(e=i.find(".swiper-cube-shadow")).length&&(e=s('<div class="swiper-cube-shadow"></div>'),i.append(e)),e.css({height:r+"px"})):0===(e=t.find(".swiper-cube-shadow")).length&&(e=s('<div class="swiper-cube-shadow"></div>'),t.append(e)));for(var $,u=0;u<a.length;u+=1){var v=a.eq(u),f=u,m=90*(f=p?parseInt(v.attr("data-swiper-slide-index"),10):f),g=Math.floor(m/360),b=(o&&(m=-m,g=Math.floor(-m/360)),Math.max(Math.min(v[0].progress,1),-1)),w=0,y=0,x=0,g=(f%4==0?(w=4*-g*l,x=0):(f-1)%4==0?(w=0,x=4*-g*l):(f-2)%4==0?(w=l+4*g*l,x=l):(f-3)%4==0&&(w=-l,x=3*l+4*l*g),o&&(w=-w),h||(y=w,w=0),"rotateX("+(h?0:-m)+"deg) rotateY("+(h?m:0)+"deg) translate3d("+w+"px, "+y+"px, "+x+"px)");b<=1&&-1<b&&(c=90*f+90*b,o)&&(c=90*-f-90*b),v.transform(g),d.slideShadows&&(m=h?v.find(".swiper-slide-shadow-left"):v.find(".swiper-slide-shadow-top"),w=h?v.find(".swiper-slide-shadow-right"):v.find(".swiper-slide-shadow-bottom"),0===m.length&&(m=s('<div class="swiper-slide-shadow-'+(h?"left":"top")+'"></div>'),v.append(m)),0===w.length&&(w=s('<div class="swiper-slide-shadow-'+(h?"right":"bottom")+'"></div>'),v.append(w)),m.length&&(m[0].style.opacity=Math.max(-b,0)),w.length)&&(w[0].style.opacity=Math.max(b,0))}i.css({"-webkit-transform-origin":"50% 50% -"+l/2+"px","-moz-transform-origin":"50% 50% -"+l/2+"px","-ms-transform-origin":"50% 50% -"+l/2+"px","transform-origin":"50% 50% -"+l/2+"px"}),d.shadow&&(h?e.transform("translate3d(0px, "+(r/2+d.shadowOffset)+"px, "+-r/2+"px) rotateX(90deg) rotateZ(0deg) scale("+d.shadowScale+")"):(t=Math.abs(c)-90*Math.floor(Math.abs(c)/90),r=1.5-(Math.sin(2*t*Math.PI/360)/2+Math.cos(2*t*Math.PI/360)/2),t=d.shadowScale,r=d.shadowScale/r,$=d.shadowOffset,e.transform("scale3d("+t+", 1, "+r+") translate3d(0px, "+(n/2+$)+"px, "+-n/2/r+"px) rotateX(-90deg)")));var e=S.isSafari||S.isUiWebView?-l/2:0;i.transform("translate3d(0px,0,"+e+"px) rotateX("+(this.isHorizontal()?0:c)+"deg) rotateY("+(this.isHorizontal()?-c:0)+"deg)")},setTransition:function(e){var t=this.$el;this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)}},J={setTranslate:function(){for(var e=this.slides,t=this.rtlTranslate,i=0;i<e.length;i+=1){var h,p,a=e.eq(i),r=a[0].progress,n=-180*(r=this.params.flipEffect.limitRotation?Math.max(Math.min(a[0].progress,
11),-1):r),o=0,l=-a[0].swiperSlideOffset,d=0;this.isHorizontal()?t&&(n=-n):(d=l,o=-n,n=l=0),a[0].style.zIndex=-Math.abs(Math.round(r))+e.length,this.params.flipEffect.slideShadows&&(h=this.isHorizontal()?a.find(".swiper-slide-shadow-left"):a.find(".swiper-slide-shadow-top"),p=this.isHorizontal()?a.find(".swiper-slide-shadow-right"):a.find(".swiper-slide-shadow-bottom"),0===h.length&&(h=s('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"left":"top")+'"></div>'),a.append(h)),0===p.length&&(p=s('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"right":"bottom")+'"></div>'),a.append(p)),h.length&&(h[0].style.opacity=Math.max(-r,0)),p.length)&&(p[0].style.opacity=Math.max(r,0)),a.transform("translate3d("+l+"px, "+d+"px, 0px) rotateX("+o+"deg) rotateY("+n+"deg)")}},setTransition:function(e){var r,t=this,i=t.slides,s=t.activeIndex,a=t.$wrapperEl;i.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e&&(r=!1,i.eq(s).transitionEnd(function(){if(!r&&t&&!t.destroyed){r=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],i=0;i<e.length;i+=1)a.trigger(e[i])}}))}},ee={setTranslate:function(){for(var e=this.width,t=this.height,i=this.slides,a=this.$wrapperEl,r=this.slidesSizesGrid,n=this.params.coverflowEffect,o=this.isHorizontal(),l=this.translate,d=o?e/2-l:t/2-l,p=o?n.rotate:-n.rotate,c=n.depth,u=0,v=i.length;u<v;u+=1){var f=i.eq(u),m=r[u],m=(d-f[0].swiperSlideOffset-m/2)/m*n.modifier,b=o?p*m:0,w=o?0:p*m,y=-c*Math.abs(m),x=o?0:n.stretch*m,E=o?n.stretch*m:0,E=(Math.abs(E)<.001&&(E=0),Math.abs(x)<.001&&(x=0),Math.abs(y)<.001&&(y=0),Math.abs(b)<.001&&(b=0),"translate3d("+E+"px,"+x+"px,"+y+"px) rotateX("+(w=Math.abs(w)<.001?0:w)+"deg) rotateY("+b+"deg)");f.transform(E),f[0].style.zIndex=1-Math.abs(Math.round(m)),n.slideShadows&&(x=o?f.find(".swiper-slide-shadow-left"):f.find(".swiper-slide-shadow-top"),y=o?f.find(".swiper-slide-shadow-right"):f.find(".swiper-slide-shadow-bottom"),0===x.length&&(x=s('<div class="swiper-slide-shadow-'+(o?"left":"top")+'"></div>'),f.append(x)),0===y.length&&(y=s('<div class="swiper-slide-shadow-'+(o?"right":"bottom")+'"></div>'),f.append(y)),x.length&&(x[0].style.opacity=0<m?m:0),y.length)&&(y[0].style.opacity=0<-m?-m:0)}(h.pointerEvents||h.prefixedPointerEvents)&&(a[0].style.perspectiveOrigin=d+"px 50%")},setTransition:function(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},T=[o,v,m,g,b,w,E,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){d.extend(this,{mousewheel:{enabled:!1,enable:B.enable.bind(this),disable:B.disable.bind(this),handle:B.handle.bind(this),handleMouseEnter:B.handleMouseEnter.bind(this),handleMouseLeave:B.handleMouseLeave.bind(this),lastScrollTime:d.now()}})},on:{init:function(){this.params.mousewheel.enabled&&this.mousewheel.enable()},destroy:function(){this.mousewheel.enabled&&this.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){d.extend(this,{navigation:{init:X.init.bind(this),update:X.update.bind(this),destroy:X.destroy.bind(this)}})},on:{init:function(){this.navigation.init(),this.navigation.update()},toEdge:function(){this.navigation.update()},fromEdge:function(){this.navigation.update()},destroy:function(){this.navigation.destroy()},click:function(e){var t=this.navigation,i=t.$nextEl,t=t.$prevEl;!this.params.navigation.hideOnClick||s(e.target).is(t)||s(e.target).is(i)||(i&&i.toggleClass(this.params.navigation.hiddenClass),t&&t.toggleClass(this.params.navigation.hiddenClass))}}},{name:"pagination",params:{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:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){d.extend(this,{pagination:{init:Y.init.bind(this),render:Y.render.bind(this),update:Y.update.bind(this),destroy:Y.destroy.bind(this),dynamicBulletIndex:0}})},on:{init:function(){this.pagination.init(),this.pagination.render(),this.pagination.update()},activeIndexChange:function(){!this.params.loop&&void 0!==this.snapIndex||this.pagination.update()},snapIndexChange:function(){this.params.loop||this.pagination.update()},slidesLengthChange:function(){this.params.loop&&(this.pagination.render(),this.pagination.update())},snapGridLengthChange:function(){this.params.loop||(this.pagination.render(),this.pagination.update())},destroy:function(){this.pagination.destroy()},click:function(e){this.params.pagination.el&&this.params.pagination.hideOnClick&&0<this.pagination.$el.length&&!s(e.target).hasClass(this.params.pagination.bulletClass)&&this.pagination.$el.toggleClass(this.params.pagination.hiddenClass)}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){d.extend(this,{scrollbar:{init:V.init.bind(this),destroy:V.destroy.bind(this),updateSize:V.updateSize.bind(this),setTranslate:V.setTranslate.bind(this),setTransition:V.setTransition.bind(this),enableDraggable:V.enableDraggable.bind(this),disableDraggable:V.disableDraggable.bind(this),setDragPosition:V.setDragPosition.bind(this),onDragStart:V.onDragStart.bind(this),onDragMove:V.onDragMove.bind(this),onDragEnd:V.onDragEnd.bind(this),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){this.scrollbar.init(),this.scrollbar.updateSize(),this.scrollbar.setTranslate()},update:function(){this.scrollbar.updateSize()},resize:function(){this.scrollbar.updateSize()},observerUpdate:function(){this.scrollbar.updateSize()},setTranslate:function(){this.scrollbar.setTranslate()},setTransition:function(e){this.scrollbar.setTransition(e)},destroy:function(){this.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){d.extend(this,{parallax:{setTransform:R.setTransform.bind(this),setTranslate:R.setTranslate.bind(this),setTransition:R.setTransition.bind(this)}})},on:{beforeInit:function(){this.params.parallax.enabled&&(this.params.watchSlidesProgress=!0)},init:function(){this.params.parallax&&this.parallax.setTranslate()},setTranslate:function(){this.params.parallax&&this.parallax.setTranslate()},setTransition:function(e){this.params.parallax&&this.parallax.setTransition(e)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var e=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach(function(i){t[i]=F[i].bind(e)}),d.extend(e,{zoom:t})},on:{init:function(){this.params.zoom.enabled&&this.zoom.enable()},destroy:function(){this.zoom.disable()},touchStart:function(e){this.zoom.enabled&&this.zoom.onTouchStart(e)},touchEnd:function(e){this.zoom.enabled&&this.zoom.onTouchEnd(e)},doubleTap:function(e){this.params.zoom.enabled&&this.zoom.enabled&&this.params.zoom.toggle&&this.zoom.toggle(e)},transitionEnd:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){d.extend(this,{lazy:{initialImageLoaded:!1,load:W.load.bind(this),loadInSlide:W.loadInSlide.bind(this)}})},on:{beforeInit:function(){this.params.lazy.enabled&&this.params.preloadImages&&(this.params.preloadImages=!1)},init:function(){this.params.lazy.enabled&&!this.params.loop&&0===this.params.initialSlide&&this.lazy.load()},scroll:function(){this.params.freeMode&&!this.params.freeModeSticky&&this.lazy.load()},resize:function(){this.params.lazy.enabled&&this.lazy.load()},scrollbarDragMove:function(){this.params.lazy.enabled&&this.lazy.load()},transitionStart:function(){this.params.lazy.enabled&&(this.params.lazy.loadOnTransitionStart||!this.params.lazy.loadOnTransitionStart&&!this.lazy.initialImageLoaded)&&this.lazy.load()},transitionEnd:function(){this.params.lazy.enabled&&!this.params.lazy.loadOnTransitionStart&&this.lazy.load()}}},{name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){d.extend(this,{controller:{control:this.params.controller.control,getInterpolateFunction:q.getInterpolateFunction.bind(this),setTranslate:q.setTranslate.bind(this),setTransition:q.setTransition.bind(this)}})},on:{update:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},resize:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},observerUpdate:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},setTranslate:function(e,t){this.controller.control&&this.controller.setTranslate(e,t)},setTransition:function(e,t){this.controller.control&&this.controller.setTransition(e,t)}}},{name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create:function(){var e=this;d.extend(e,{a11y:{liveRegion:s('<span class="'+e.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')}}
1),Object.keys(j).forEach(function(t){e.a11y[t]=j[t].bind(e)})},on:{init:function(){this.params.a11y.enabled&&(this.a11y.init(),this.a11y.updateNavigation())},toEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate:function(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy:function(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){d.extend(this,{history:{init:K.init.bind(this),setHistory:K.setHistory.bind(this),setHistoryPopState:K.setHistoryPopState.bind(this),scrollToSlide:K.scrollToSlide.bind(this),destroy:K.destroy.bind(this)}})},on:{init:function(){this.params.history.enabled&&this.history.init()},destroy:function(){this.params.history.enabled&&this.history.destroy()},transitionEnd:function(){this.history.initialized&&this.history.setHistory(this.params.history.key,this.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){d.extend(this,{hashNavigation:{initialized:!1,init:U.init.bind(this),destroy:U.destroy.bind(this),setHash:U.setHash.bind(this),onHashCange:U.onHashCange.bind(this)}})},on:{init:function(){this.params.hashNavigation.enabled&&this.hashNavigation.init()},destroy:function(){this.params.hashNavigation.enabled&&this.hashNavigation.destroy()},transitionEnd:function(){this.hashNavigation.initialized&&this.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var e=this;d.extend(e,{autoplay:{running:!1,paused:!1,run:_.run.bind(e),start:_.start.bind(e),stop:_.stop.bind(e),pause:_.pause.bind(e),onTransitionEnd:function(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===this&&(e.$wrapperEl[0].removeEventListener("transitionend",e.autoplay.onTransitionEnd),e.$wrapperEl[0].removeEventListener("webkitTransitionEnd",e.autoplay.onTransitionEnd),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&this.autoplay.start()},beforeTransitionStart:function(e,t){this.autoplay.running&&(t||!this.params.autoplay.disableOnInteraction?this.autoplay.pause(e):this.autoplay.stop())},sliderFirstMove:function(){this.autoplay.running&&(this.params.autoplay.disableOnInteraction?this.autoplay.stop():this.autoplay.pause())},destroy:function(){this.autoplay.running&&this.autoplay.stop()}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){d.extend(this,{fadeEffect:{setTranslate:Z.setTranslate.bind(this),setTransition:Z.setTransition.bind(this)}})},on:{beforeInit:function(){var e;"fade"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"fade"),d.extend(this.params,e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0}),d.extend(this.originalParams,e))},setTranslate:function(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition:function(e){"fade"===this.params.effect&&this.fadeEffect.setTransition(e)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){d.extend(this,{cubeEffect:{setTranslate:Q.setTranslate.bind(this),setTransition:Q.setTransition.bind(this)}})},on:{beforeInit:function(){var e;"cube"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"cube"),this.classNames.push(this.params.containerModifierClass+"3d"),d.extend(this.params,e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0}),d.extend(this.originalParams,e))},setTranslate:function(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition:function(e){"cube"===this.params.effect&&this.cubeEffect.setTransition(e)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){d.extend(this,{flipEffect:{setTranslate:J.setTranslate.bind(this),setTransition:J.setTransition.bind(this)}})},on:{beforeInit:function(){var e;"flip"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"flip"),this.classNames.push(this.params.containerModifierClass+"3d"),d.extend(this.params,e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0}),d.extend(this.originalParams,e))},setTranslate:function(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition:function(e){"flip"===this.params.effect&&this.flipEffect.setTransition(e)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create:function(){d.extend(this,{coverflowEffect:{setTranslate:ee.setTranslate.bind(this),setTransition:ee.setTransition.bind(this)}})},on:{beforeInit:function(){"coverflow"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"coverflow"),this.classNames.push(this.params.containerModifierClass+"3d"),this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},setTranslate:function(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition:function(e){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)}}}];return void 0===k.use&&(k.use=k.Class.use,k.installModule=k.Class.installModule),k.use(T),k}),"undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window);(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){_gsScope._gsDefine("easing.Back",["easing.Ease"],function(a){function k(b,c){var e=(b=j("easing."+b,function(){},!0)).prototype=new a;return e.constructor=b,e.getRatio=c,b}function m(a,b,c,d,e){return b=j("easing."+a,{easeOut:new b,easeIn:new c,easeInOut:new d},!0),l(b,a),b}function n(a,b,c){this.t=a,this.v=b,c&&(((this.next=c).prev=this).c=c.v-b,this.gap=c.t-a)}function o(b,c){var d=j("easing."+b,function(a){this._p1=a||0===a?a:1.70158,this._p2=1.525*this._p1},!0);return(b=d.prototype=new a).constructor=d,b.getRatio=c,b.config=function(a){return new d(a)},d}var b,c,d,f=_gsScope.GreenSockGlobals||_gsScope,g=f.com.greensock,h=2*Math.PI,i=Math.PI/2,j=g._class,l=a.register||function(){},g=m("Back",o("BackOut",function(a){return--a*a*((this._p1+1)*a+this._p1)+1}),o("BackIn",function(a){return a*a*((this._p1+1)*a-this._p1)}),o("BackInOut",function(a){return(a*=2)<1?.5*a*a*((this._p2+1)*a-this._p2):.5*((a-=2)*a*((this._p2+1)*a+this._p2)+2)})),q=j("easing.SlowMo",function(a,b,c){b=b||0===b?b:.7,null==a?a=.7:1<a&&(a=1),this._p=1!==a?b:0,this._p1=(1-a)/2,this._p2=a,this._p3=this._p1+this._p2,this._calcEnd=!0===c},!0),r=q.prototype=new a;return r.constructor=q,r.getRatio=function(a){var b=a+(.5-a)*this._p;return a<this._p1?this._calcEnd?1-(a=1-a/this._p1)*a:b-(a=1-a/this._p1)*a*a*a*b:a>this._p3?this._calcEnd?1===a?0:1-(a=(a-this._p3)/this._p1)*a:b+(a-b)*(a=(a-this._p3)/this._p1)*a*a*a:this._calcEnd?1:b},q.ease=new q(.7,.7),r.config=q.config=function(a,b,c){return new q(a,b,c)},(r=(b=j("easing.SteppedEase",function(a,b){this._p1=1/(a=a||1),this._p2=a+(b?0:1),this._p3=b?1:0},!0)).prototype=new a).constructor=b,r.getRatio=function(a){return a<0?a=0:1<=a&&(a=.999999999),((this._p2*a|0)+this._p3)*this._p1},r.config=b.config=function(a,c){return new b(a,c)},(r=(c=j("easing.ExpoScaleEase",function(a,b,c){this._p1=Math.log(b/a),this._p2=b-a,this._p3=a,this._ease=c},!0)).prototype=new a).constructor=c,r.getRatio=function(a){return this._ease&&(a=this._ease.getRatio(a)),(this._p3*Math.exp(this._p1*a)-this._p3)/this._p2},r.config=c.config=function(a,b,d){return new c(a,b,d)},(r=(d=j("easing.RoughEase",function(b){for(var c,d,e,f,g,h,i=(b=b||{}).taper||"none",j=[],k=0,l=0|(b.points||20),m=l,o=!1!==b.randomize,p=!0===b.clamp,q=b.template instanceof a?b.template:null,r="number"==typeof b.strength?.4*b.strength:.4;-1<--m;)c=o?Math.random():1/l*m,d=q?q.getRatio(c):c,e="none"===i?r:"out"===i?(f=1-c)*f*r:"in"===i?c*c*r:(f=c<.5?2*c:2*(1-c))*f*.5*r,o?d+=Math.random()*e-.5*e:m%2?d+=.5*e:d-=.5*e,p&&(1<d?d=1:d<0&&(d=0)),j[k++]={x:c,y:d};for(j.sort(function(a,b){return a.x-b.x}
1),h=new n(1,1,null),m=l;-1<--m;)h=new n((g=j[m]).x,g.y,h);this._prev=new n(0,0,0!==h.t?h:h.next)},!0)).prototype=new a).constructor=d,r.getRatio=function(a){var b=this._prev;if(a>b.t){for(;b.next&&a>=b.t;)b=b.next;b=b.prev}else for(;b.prev&&a<=b.t;)b=b.prev;return(this._prev=b).v+(a-b.t)/b.gap*b.c},r.config=function(a){return new d(a)},d.ease=new d,m("Bounce",k("BounceOut",function(a){return a<1/2.75?7.5625*a*a:a<2/2.75?7.5625*(a-=1.5/2.75)*a+.75:a<2.5/2.75?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375}),k("BounceIn",function(a){return(a=1-a)<1/2.75?1-7.5625*a*a:a<2/2.75?1-(7.5625*(a-=1.5/2.75)*a+.75):a<2.5/2.75?1-(7.5625*(a-=2.25/2.75)*a+.9375):1-(7.5625*(a-=2.625/2.75)*a+.984375)}),k("BounceInOut",function(a){var b=a<.5;return a=(a=b?1-2*a:2*a-1)<1/2.75?7.5625*a*a:a<2/2.75?7.5625*(a-=1.5/2.75)*a+.75:a<2.5/2.75?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375,b?.5*(1-a):.5*a+.5})),m("Circ",k("CircOut",function(a){return Math.sqrt(1- --a*a)}),k("CircIn",function(a){return-(Math.sqrt(1-a*a)-1)}),k("CircInOut",function(a){return(a*=2)<1?-.5*(Math.sqrt(1-a*a)-1):.5*(Math.sqrt(1-(a-=2)*a)+1)})),m("Elastic",(r=function(b,c,d){var e=j("easing."+b,function(a,b){this._p1=1<=a?a:1,this._p2=(b||d)/(a<1?a:1),this._p3=this._p2/h*(Math.asin(1/this._p1)||0),this._p2=h/this._p2},!0),b=e.prototype=new a;return b.constructor=e,b.getRatio=c,b.config=function(a,b){return new e(a,b)},e})("ElasticOut",function(a){return this._p1*Math.pow(2,-10*a)*Math.sin((a-this._p3)*this._p2)+1},.3),r("ElasticIn",function(a){return-(this._p1*Math.pow(2,10*--a)*Math.sin((a-this._p3)*this._p2))},.3),r("ElasticInOut",function(a){return(a*=2)<1?this._p1*Math.pow(2,10*--a)*Math.sin((a-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*--a)*Math.sin((a-this._p3)*this._p2)*.5+1},.45)),m("Expo",k("ExpoOut",function(a){return 1-Math.pow(2,-10*a)}),k("ExpoIn",function(a){return Math.pow(2,10*(a-1))-.001}),k("ExpoInOut",function(a){return(a*=2)<1?.5*Math.pow(2,10*(a-1)):.5*(2-Math.pow(2,-10*(a-1)))})),m("Sine",k("SineOut",function(a){return Math.sin(a*i)}),k("SineIn",function(a){return 1-Math.cos(a*i)}),k("SineInOut",function(a){return-.5*(Math.cos(Math.PI*a)-1)})),j("easing.EaseLookup",{find:function(b){return a.map[b]}},!0),l(f.SlowMo,"SlowMo","ease,"),l(d,"RoughEase","ease,"),l(b,"SteppedEase","ease,"),g},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),(()=>{function a(){return _gsScope.GreenSockGlobals||_gsScope}"undefined"!=typeof module&&module.exports?(require("../TweenLite.min.js"),module.exports=a()):"function"==typeof define&&define.amd&&define(["TweenLite"],a)})(),((a,b)=>{var c={},d=a.document,e=a.GreenSockGlobals=a.GreenSockGlobals||a,f=e[b];if(f)return"undefined"!=typeof module&&module.exports&&(module.exports=f);function l(a){for(var c=a.split("."),d=e,b=0;b<c.length;b++)d[c[b]]=d=d[c[b]]||{};return d}function o(a){for(var c=[],d=a.length,b=0;b!==d;c.push(a[b++]));return c}function p(){}function s(d,f,g,h){this.sc=r[d]?r[d].sc:[],(r[d]=this).gsClass=null,this.func=g;var i=[];this.check=function(j){for(var k,m,n,o,p=f.length,q=p;-1<--p;)(k=r[f[p]]||new s(f[p],[])).gsClass?(i[p]=k.gsClass,q--):j&&k.sc.push(this);if(0===q&&g){if(n=(m=("com.greensock."+d).split(".")).pop(),o=l(m.join("."))[n]=this.gsClass=g.apply(g,i),h)if(e[n]=c[n]=o,"undefined"!=typeof module&&module.exports)if(d===b)for(p in module.exports=c[b]=o,c)o[p]=c[p];else c[b]&&(c[b][n]=o);else"function"==typeof define&&define.amd&&define((a.GreenSockAMDPath?a.GreenSockAMDPath+"/":"")+d.split(".").pop(),[],function(){return o});for(p=0;p<this.sc.length;p++)this.sc[p].check()}},this.check(!0)}var k,m=l("com.greensock"),n=1e-10,q=(()=>{var a=Object.prototype.toString,b=a.call([]);return function(c){return null!=c&&(c instanceof Array||"object"==typeof c&&!!c.push&&a.call(c)===b)}})(),r={},t=a._gsDefine=function(a,b,c,d){return new s(a,b,c,d)},u=m._class=function(a,b,c){return b=b||function(){},t(a,[],function(){return b},c),b},v=(t.globals=e,[0,0,1,1]),w=u("easing.Ease",function(a,b,c,d){this._func=a,this._type=c||0,this._power=d||0,this._params=b?v.concat(b):v},!0),x=w.map={},y=w.register=function(a,b,c,d){for(var e,f,g,h,i=b.split(","),j=i.length,k=(c||"easeIn,easeOut,easeInOut").split(",");-1<--j;)for(f=i[j],e=d?u("easing."+f,null,!0):m.easing[f]||{},g=k.length;-1<--g;)h=k[g],x[f+"."+h]=x[h+f]=e[h]=a.getRatio?a:a[h]||new a},i=w.prototype;for(i._calcEnd=!1,i.getRatio=function(a){var b,c,d;return this._func?(this._params[0]=a,this._func.apply(null,this._params)):(d=1===(b=this._type)?1-a:2===b?a:a<.5?2*a:2*(1-a),1===(c=this._power)?d*=d:2===c?d*=d*d:3===c?d*=d*d*d:4===c&&(d*=d*d*d*d),1===b?1-d:2===b?d:a<.5?d/2:1-d/2)},h=(g=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;-1<--h;)i=g[h]+",Power"+h,y(new w(null,null,1,h),i,"easeOut",!0),y(new w(null,null,2,h),i,"easeIn"+(0===h?",easeNone":"")),y(new w(null,null,3,h),i,"easeInOut");x.linear=m.easing.Linear.easeIn,x.swing=m.easing.Quad.easeInOut;for(var g,z=u("events.EventDispatcher",function(a){this._listeners={},this._eventTarget=a||this}),A=((i=z.prototype).addEventListener=function(a,b,c,d,e){e=e||0;var f,g,h=this._listeners[a],i=0;for(this!==j||k||j.wake(),null==h&&(this._listeners[a]=h=[]),g=h.length;-1<--g;)(f=h[g]).c===b&&f.s===c?h.splice(g,1):0===i&&f.pr<e&&(i=g+1);h.splice(i,0,{c:b,s:c,up:d,pr:e})},i.removeEventListener=function(a,b){var c,d=this._listeners[a];if(d)for(c=d.length;-1<--c;)if(d[c].c===b)return void d.splice(c,1)},i.dispatchEvent=function(a){var b,c,d,e=this._listeners[a];if(e)for(1<(b=e.length)&&(e=e.slice(0)),c=this._eventTarget;-1<--b;)(d=e[b])&&(d.up?d.c.call(d.s||c,{type:a,target:c}):d.c.call(d.s||c))},a.requestAnimationFrame),B=a.cancelAnimationFrame,C=Date.now||function(){return(new Date).getTime()}
1,D=C(),h=(g=["ms","moz","webkit","o"]).length;-1<--h&&!A;)A=a[g[h]+"RequestAnimationFrame"],B=a[g[h]+"CancelAnimationFrame"]||a[g[h]+"CancelRequestAnimationFrame"];function F(){k&&2e3<C()-D&&("hidden"!==(d||{}).visibilityState||!j.lagSmoothing())&&j.wake();var a=setTimeout(F,2e3);a.unref&&a.unref()}function I(b){return b&&b.length&&b!==a&&b[0]&&(b[0]===a||b[0].nodeType&&b[0].style&&!b.nodeType)}function O(a){for(var b,c=this._firstPT;c;)b=c.blob?1===a&&null!=this.end?this.end:a?this.join(""):this.start:c.c*a+c.s,c.m?b=c.m.call(this._tween,b,this._target||c.t,this._tween):b<1e-6&&-1e-6<b&&!c.blob&&(b=0),c.f?c.fp?c.t[c.p](c.fp,b):c.t[c.p](b):c.t[c.p]=b,c=c._next}function P(a,b,c,d){var e,f,h,i,j,k,l=[],m=0,n="",o=0;for(l.start=a,l.end=b,a=l[0]=a+"",b=l[1]=b+"",c&&(c(l),a=l[0],b=l[1]),l.length=0,e=a.match(M)||[],f=b.match(M)||[],d&&(d._next=null,d.blob=1,l._firstPT=l._applyPT=d),i=f.length,h=0;h<i;h++)k=f[h],n+=(j=b.substr(m,b.indexOf(k,m)-m))||!h?j:",",m+=j.length,o?o=(o+1)%5:"rgba("===j.substr(-5)&&(o=1),k===e[h]||e.length<=h?n+=k:(n&&(l.push(n),n=""),j=parseFloat(e[h]),l.push(j),l._firstPT={_next:l._firstPT,t:l,p:l.length-1,s:j,c:("="===k.charAt(1)?parseInt(k.charAt(0)+"1",10)*parseFloat(k.substr(2)):parseFloat(k)-j)||0,f:0,m:o&&o<4?Math.round:0}),m+=k.length;return(n+=b.substr(m))&&l.push(n),l.setRatio=O,N.test(b)&&(l.end=null),l}function Q(a,b,c,d,e,f,g,h,i){"function"==typeof d&&(d=d(i||0,a));var l="function"!=(i=typeof a[b])?"":b.indexOf("set")||"function"!=typeof a["get"+b.substr(3)]?b:"get"+b.substr(3),c="get"!==c?c:l?g?a[l](g):a[l]():a[b],l="string"==typeof d&&"="===d.charAt(1),a={t:a,p:b,s:c,f:"function"==i,pg:0,n:e||b,m:f?"function"==typeof f?f:Math.round:0,pr:0,c:l?parseInt(d.charAt(0)+"1",10)*parseFloat(d.substr(2)):parseFloat(d)-c||0};return"number"==typeof c&&("number"==typeof d||l)||(g||isNaN(c)||!l&&isNaN(d)||"boolean"==typeof c||"boolean"==typeof d?(a.fp=g,a={t:P(c,l?parseFloat(a.s)+a.c+(a.s+"").replace(/[0-9\-\.]/g,""):d,h||H.defaultStringFilter,a),p:"setRatio",s:0,c:1,f:2,pg:0,n:e||b,pr:0,m:0}):(a.s=parseFloat(c),l||(a.c=parseFloat(d)-a.s||0))),a.c?((a._next=this._firstPT)&&(a._next._prev=a),this._firstPT=a):void 0}function aa(a,b,c,d){var e,f,g=a.vars.onOverwrite;return g&&(e=g(a,b,c,d)),(g=H.onOverwrite)&&(f=g(a,b,c,d)),!1!==e&&!1!==f}u("Ticker",function(a,b){var c,e,f,g,h,i=this,l=C(),m=!(!1===b||!A)&&"auto",o=500,q=33,r="tick",s=function(a){var d,j=C()-D;o<j&&(l+=j-q),D+=j,i.time=(D-l)/1e3,j=i.time-h,(!c||0<j||!0===a)&&(i.frame++,h+=j+(g<=j?.004:g-j),d=!0),!0!==a&&(f=e(s)),d&&i.dispatchEvent(r)};z.call(i),i.time=i.frame=0,i.tick=function(){s(!0)},i.lagSmoothing=function(a,b){return arguments.length?(o=a||1/n,void(q=Math.min(b,o,0))):o<1/n},i.sleep=function(){null!=f&&((m&&B?B:clearTimeout)(f),e=p,f=null,i===j)&&(k=!1)},i.wake=function(a){null!==f?i.sleep():a?l+=-D+(D=C()):10<i.frame&&(D=C()-o+5),e=0===c?p:m&&A?A:function(a){return setTimeout(a,1e3*(h-i.time)+1|0)},i===j&&(k=!0),s(2)},i.fps=function(a){return arguments.length?(g=1/((c=a)||60),h=this.time+g,void i.wake()):c},i.useRAF=function(a){return arguments.length?(i.sleep(),m=a,void i.fps(c)):m},i.fps(a),setTimeout(function(){"auto"===m&&i.frame<5&&"hidden"!==(d||{}).visibilityState&&i.useRAF(!1)},1500)}),(i=m.Ticker.prototype=new m.events.EventDispatcher).constructor=m.Ticker;var E=u("core.Animation",function(a,b){this.vars=b=b||{},this._duration=this._totalDuration=a||0,this._delay=Number(b.delay)||0,this._timeScale=1,this._active=!0===b.immediateRender,this.data=b.data,this._reversed=!0===b.reversed,Y&&(k||j.wake(),(a=this.vars.useFrames?X:Y).add(this,a._time),this.vars.paused)&&this.paused(!0)}),j=E.ticker=new m.Ticker;(i=E.prototype)._dirty=i._gc=i._initted=i._paused=!1,i._totalTime=i._time=0,i._rawPrevTime=-1,i._next=i._last=i._onUpdate=i._timeline=i.timeline=null,i._paused=!1,F(),i.play=function(a,b){return null!=a&&this.seek(a,b),this.reversed(!1).paused(!1)},i.pause=function(a,b){return null!=a&&this.seek(a,b),this.paused(!0)},i.resume=function(a,b){return null!=a&&this.seek(a,b),this.paused(!1)},i.seek=function(a,b){return this.totalTime(Number(a),!1!==b)},i.restart=function(a,b){return this.reversed(!1).paused(!1).totalTime(a?-this._delay:0,!1!==b,!0)},i.reverse=function(a,b){return null!=a&&this.seek(a||this.totalDuration(),b),this.reversed(!0).paused(!1)},i.render=function(a,b,c){},i.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},i.isActive=function(){var b=this._timeline,c=this._startTime;return!b||!this._gc&&!this._paused&&b.isActive()&&(b=b.rawTime(!0))>=c&&b<c+this.totalDuration()/this._timeScale-1e-7},i._enabled=function(a,b){return k||j.wake(),this._gc=!a,this._active=this.isActive(),!0!==b&&(a&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!a&&this.timeline&&this._timeline._remove(this,!0)),!1},i._kill=function(a,b){return this._enabled(!1,!1)},i.kill=function(a,b){return this._kill(a,b),this},i._uncache=function(a){for(var b=a?this:this.timeline;b;)b._dirty=!0,b=b.timeline;return this},i._swapSelfInParams=function(a){for(var b=a.length,c=a.concat();-1<--b;)"{self}"===a[b]&&(c[b]=this);return c},i._callback=function(a){var b=this.vars,c=b[a],d=b[a+"Params"],e=b[a+"Scope"]||b.callbackScope||this;switch(d?d.length:0){case 0:c.call(e);break;case 1:c.call(e,d[0]);break;case 2:c.call(e,d[0],d[1]);break;default:c.apply(e,d)}},i.eventCallback=function(a,b,c,d){if("on"===(a||"").substr(0,2)){var e=this.vars;if(1===arguments.length)return e[a];null==b?delete e[a]:(e[a]=b,e[a+"Params"]=q(c)&&-1!==c.join("").indexOf("{self}")?this._swapSelfInParams(c):c,e[a+"Scope"]=d),"onUpdate"===a&&(this._onUpdate=b)}return this},i.delay=function(a){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+a-this._delay),this._delay=a,this):this._delay},i.duration=function(a){return arguments.length?(this._duration=this._totalDuration=a,this._uncache(!0),this._timeline.smoothChildTiming&&0<this._time&&this._time<this._duration&&0!==a&&this.totalTime(this._totalTime*(a/this._duration),!0),this):(this._dirty=!1,this._duration)},i.totalDuration=function(a){return this._dirty=!1,arguments.length?this.duration(a):this._totalDuration},i.time=function(a,b){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(a>this._duration?this._duration:a,b)):this._time},i.totalTime=function(a,b,c){if(k||j.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(a<0&&!c&&(a+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var d=this._totalDuration,e=this._timeline;if(d<a&&!c&&(a=d),this._startTime=(this._paused?this._pauseTime:e._time)-(this._reversed?d-a:a)/this._timeScale,e._dirty||this._uncache(!1),e._timeline)for(;e._timeline;)e._timeline._time!==(e._startTime+e._totalTime)/e._timeScale&&e.totalTime(e._totalTime,!0),e=e._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===a&&0!==this._duration||(K.length&&$(),this.render(a,b,!1),!K.length)||$()}return this},i.progress=i.totalProgress=function(a,b){var c=this.duration();return arguments.length?this.totalTime(c*a,b):c?this._time/c:this.ratio},i.startTime=function(a){return arguments.length?(a!==this._startTime&&(this._startTime=a,this.timeline)&&this.timeline._sortChildren&&this.timeline.add(this,a-this._delay),this):this._startTime},i.endTime=function(a){return this._startTime+(0!=a?this.totalDuration():this.duration())/this._timeScale}
1,i.timeScale=function(a){if(!arguments.length)return this._timeScale;var b,c;for(a=a||n,this._timeline&&this._timeline.smoothChildTiming&&(c=(b=this._pauseTime)||0===b?b:this._timeline.totalTime(),this._startTime=c-(c-this._startTime)*this._timeScale/a),this._timeScale=a,c=this.timeline;c&&c.timeline;)c._dirty=!0,c.totalDuration(),c=c.timeline;return this},i.reversed=function(a){return arguments.length?(a!=this._reversed&&(this._reversed=a,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},i.paused=function(a){var b,c,d;return arguments.length?(d=this._timeline,a!=this._paused&&d&&(k||a||j.wake(),c=(b=d.rawTime())-this._pauseTime,!a&&d.smoothChildTiming&&(this._startTime+=c,this._uncache(!1)),this._pauseTime=a?b:null,this._paused=a,this._active=this.isActive(),!a)&&0!=c&&this._initted&&this.duration()&&(b=d.smoothChildTiming?this._totalTime:(b-this._startTime)/this._timeScale,this.render(b,b===this._totalTime,!0)),this._gc&&!a&&this._enabled(!0,!1),this):this._paused};(i=(f=u("core.SimpleTimeline",function(a){E.call(this,0,a),this.autoRemoveChildren=this.smoothChildTiming=!0})).prototype=new E).constructor=f,i.kill()._gc=!1,i._first=i._last=i._recent=null,i._sortChildren=!1,i.add=i.insert=function(a,b,c,d){var e,f;if(a._startTime=Number(b||0)+a._delay,a._paused&&this!==a._timeline&&(a._pauseTime=this.rawTime()-(a._timeline.rawTime()-a._pauseTime)),a.timeline&&a.timeline._remove(a,!0),a.timeline=a._timeline=this,a._gc&&a._enabled(!0,!0),e=this._last,this._sortChildren)for(f=a._startTime;e&&e._startTime>f;)e=e._prev;return e?(a._next=e._next,e._next=a):(a._next=this._first,this._first=a),a._next?a._next._prev=a:this._last=a,a._prev=e,this._recent=a,this._timeline&&this._uncache(!0),this},i._remove=function(a,b){return a.timeline===this&&(b||a._enabled(!1,!0),a._prev?a._prev._next=a._next:this._first===a&&(this._first=a._next),a._next?a._next._prev=a._prev:this._last===a&&(this._last=a._prev),a._next=a._prev=a.timeline=null,a===this._recent&&(this._recent=this._last),this._timeline)&&this._uncache(!0),this},i.render=function(a,b,c){var d,e=this._first;for(this._totalTime=this._time=this._rawPrevTime=a;e;)d=e._next,(e._active||a>=e._startTime&&!e._paused&&!e._gc)&&(e._reversed?e.render((e._dirty?e.totalDuration():e._totalDuration)-(a-e._startTime)*e._timeScale,b,c):e.render((a-e._startTime)*e._timeScale,b,c)),e=d},i.rawTime=function(){return k||j.wake(),this._totalTime};var H=u("TweenLite",function(b,c,d){if(E.call(this,c,d),this.render=H.prototype.render,null==b)throw"Cannot tween a null target.";this.target=b="string"==typeof b&&H.selector(b)||b;var e,f,g,d=b.jquery||b.length&&b!==a&&b[0]&&(b[0]===a||b[0].nodeType&&b[0].style&&!b.nodeType),i=this.vars.overwrite;if(this._overwrite=i=null==i?W[H.defaultOverwrite]:"number"==typeof i?i>>0:W[i],(d||b instanceof Array||b.push&&q(b))&&"number"!=typeof b[0])for(this._targets=g=o(b),this._propLookup=[],this._siblings=[],e=0;e<g.length;e++)(f=g[e])?"string"!=typeof f?f.length&&f!==a&&f[0]&&(f[0]===a||f[0].nodeType&&f[0].style&&!f.nodeType)?(g.splice(e--,1),this._targets=g=g.concat(o(f))):(this._siblings[e]=_(f,this,!1),1===i&&1<this._siblings[e].length&&ba(f,this,null,1,this._siblings[e])):"string"==typeof(g[e--]=H.selector(f))&&g.splice(e+1,1):g.splice(e--,1);else this._propLookup={},this._siblings=_(b,this,!1),1===i&&1<this._siblings.length&&ba(b,this,null,1,this._siblings);(this.vars.immediateRender||0===c&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-n,this.render(Math.min(0,-this._delay)))},!0),K=((i=H.prototype=new E).constructor=H,i.kill()._gc=!1,i.ratio=0,i._firstPT=i._targets=i._overwrittenProps=i._startAt=null,i._notifyPluginsOfEnabled=i._lazy=!1,H.version="2.0.1",H.defaultEase=i._ease=new w(null,null,1,1),H.defaultOverwrite="auto",H.ticker=j,H.autoSleep=120,H.lagSmoothing=function(a,b){j.lagSmoothing(a,b)},H.selector=a.$||a.jQuery||function(b){var c=a.$||a.jQuery;return c?(H.selector=c)(b):(d=d||a.document)?d.querySelectorAll?d.querySelectorAll(b):d.getElementById("#"===b.charAt(0)?b.substr(1):b):b},[]),L={},M=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,N=/[\+-]=-?[\.\d]/,R=H._internals={isArray:q,isSelector:I,lazyTweens:K,blobDif:P},S=H._plugins={},T=R.tweenLookup={},U=0,V=R.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1,yoyoEase:1},W={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},X=E._rootFramesTimeline=new f,Y=E._rootTimeline=new f,Z=30,$=R.lazyRender=function(){var a,b=K.length;for(L={};-1<--b;)(a=K[b])&&!1!==a._lazy&&(a.render(a._lazy[0],a._lazy[1],!0),a._lazy=!1);K.length=0},_=(Y._startTime=j.time,X._startTime=j.frame,Y._active=X._active=!0,setTimeout($,1),E._updateRoot=H.render=function(){var a,b,c;if(K.length&&$(),Y.render((j.time-Y._startTime)*Y._timeScale,!1,!1),X.render((j.frame-X._startTime)*X._timeScale,!1,!1),K.length&&$(),j.frame>=Z){for(c in Z=j.frame+(parseInt(H.autoSleep,10)||120),T){for(a=(b=T[c].tweens).length;-1<--a;)b[a]._gc&&b.splice(a,1);0===b.length&&delete T[c]}
1if((!(c=Y._first)||c._paused)&&H.autoSleep&&!X._first&&1===j._listeners.tick.length){for(;c&&c._paused;)c=c._next;c||j.sleep()}}},j.addEventListener("tick",E._updateRoot),function(a,b,c){var d,e,f=a._gsTweenID;if(T[f||(a._gsTweenID=f="t"+U++)]||(T[f]={target:a,tweens:[]}),b&&((d=T[f].tweens)[e=d.length]=b,c))for(;-1<--e;)d[e]===b&&d.splice(e,1);return T[f].tweens}),ba=function(a,b,c,d,e){var g,h,i;if(1===d||4<=d){for(i=e.length,f=0;f<i;f++)if((h=e[f])!==b)h._gc||h._kill(null,a,b)&&(g=!0);else if(5===d)break}else{for(var j,k=b._startTime+n,l=[],m=0,o=0===b._duration,f=e.length;-1<--f;)(h=e[f])===b||h._gc||h._paused||(h._timeline!==b._timeline?(j=j||ca(b,0,o),0===ca(h,j,o)&&(l[m++]=h)):h._startTime<=k&&h._startTime+h.totalDuration()/h._timeScale>k&&((o||!h._initted)&&k-h._startTime<=2e-10||(l[m++]=h)));for(f=m;-1<--f;)if(h=l[f],2===d&&h._kill(c,a,b)&&(g=!0),2!==d||!h._firstPT&&h._initted){if(2!==d&&!aa(h,b))continue;h._enabled(!1,!1)&&(g=!0)}}return g},ca=function(a,b,c){for(var d=a._timeline,e=d._timeScale,f=a._startTime;d._timeline;){if(f+=d._startTime,e*=d._timeScale,d._paused)return-100;d=d._timeline}return b<(f/=e)?f-b:c&&f===b||!a._initted&&f-b<2*n?n:(f+=a.totalDuration()/a._timeScale/e)>b+n?0:f-b-n},da=(i._init=function(){var a,b,c,d,e,f,g=this.vars,h=this._overwrittenProps,i=this._duration,j=!!g.immediateRender,k=g.ease;if(g.startAt){for(d in this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),e={},g.startAt)e[d]=g.startAt[d];if(e.data="isStart",e.overwrite=!1,e.immediateRender=!0,e.lazy=j&&!1!==g.lazy,e.startAt=e.delay=null,e.onUpdate=g.onUpdate,e.onUpdateParams=g.onUpdateParams,e.onUpdateScope=g.onUpdateScope||g.callbackScope||this,this._startAt=H.to(this.target||{},0,e),j)if(0<this._time)this._startAt=null;else if(0!==i)return}else if(g.runBackwards&&0!==i)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{for(d in 0!==this._time&&(j=!1),c={},g)V[d]&&"autoCSS"!==d||(c[d]=g[d]);if(c.overwrite=0,c.data="isFromStart",c.lazy=j&&!1!==g.lazy,c.immediateRender=j,this._startAt=H.to(this.target,0,c),j){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=k=k?k instanceof w?k:"function"==typeof k?new w(k,g.easeParams):x[k]||H.defaultEase:H.defaultEase,g.easeParams instanceof Array&&k.config&&(this._ease=k.config.apply(k,g.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(f=this._targets.length,a=0;a<f;a++)this._initProps(this._targets[a],this._propLookup[a]={},this._siblings[a],h?h[a]:null,a)&&(b=!0);else b=this._initProps(this.target,this._propLookup,this._siblings,h,0);if(b&&H._onPluginEvent("_onInitAllProps",this),!h||this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1),g.runBackwards)for(c=this._firstPT;c;)c.s+=c.c,c.c=-c.c,c=c._next;this._onUpdate=g.onUpdate,this._initted=!0},i._initProps=function(b,c,d,e,f){var g,h,i,j,k,l;if(null==b)return!1;for(g in L[b._gsTweenID]&&$(),this.vars.css||b.style&&b!==a&&b.nodeType&&S.css&&!1!==this.vars.autoCSS&&((a,b)=>{var c,d={};for(c in a)V[c]||c in b&&"transform"!==c&&"x"!==c&&"y"!==c&&"width"!==c&&"height"!==c&&"className"!==c&&"border"!==c||S[c]&&(S[c],!S[c]._autoCSS)||(d[c]=a[c],delete a[c]);a.css=d})(this.vars,b),this.vars)if(l=this.vars[g],V[g])l&&(l instanceof Array||l.push&&q(l))&&-1!==l.join("").indexOf("{self}")&&(this.vars[g]=l=this._swapSelfInParams(l,this));else if(S[g]&&(j=new S[g])._onInitTween(b,this.vars[g],this,f)){for(this._firstPT=k={_next:this._firstPT,t:j,p:"setRatio",s:0,c:1,f:1,n:g,pg:1,pr:j._priority,m:0},h=j._overwriteProps.length;-1<--h;)c[j._overwriteProps[h]]=this._firstPT;(j._priority||j._onInitAllProps)&&(i=!0),(j._onDisable||j._onEnable)&&(this._notifyPluginsOfEnabled=!0),k._next&&(k._next._prev=k)}else c[g]=Q.call(this,b,g,"get",l,g,0,null,this.vars.stringFilter,f);return e&&this._kill(e,b)?this._initProps(b,c,d,e,f):1<this._overwrite&&this._firstPT&&1<d.length&&ba(b,this,c,this._overwrite,d)?(this._kill(c,b),this._initProps(b,c,d,e,f)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&
1!this._duration)&&(L[b._gsTweenID]=!0),i)},i.render=function(a,b,c){var d,e,f,g,k,l,m,h=this._time,i=this._duration,j=this._rawPrevTime;if(i-1e-7<=a&&0<=a?(this._totalTime=this._time=i,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(d=!0,e="onComplete",c=c||this._timeline.autoRemoveChildren),0!==i||!this._initted&&this.vars.lazy&&!c||(this._startTime===this._timeline._duration&&(a=0),(j<0||a<=0&&-1e-7<=a||j===n&&"isPause"!==this.data)&&j!==a&&(c=!0,n<j)&&(e="onReverseComplete"),this._rawPrevTime=g=!b||a||j===a?a:n)):a<1e-7?(this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==h||0===i&&0<j)&&(e="onReverseComplete",d=this._reversed),a<0&&(this._active=!1,0===i)&&(this._initted||!this.vars.lazy||c)&&(0<=j&&(j!==n||"isPause"!==this.data)&&(c=!0),this._rawPrevTime=g=!b||a||j===a?a:n),(!this._initted||this._startAt&&this._startAt.progress())&&(c=!0)):(this._totalTime=this._time=a,this._easeType?(k=a/i,(1===(l=this._easeType)||3===l&&.5<=k)&&(k=1-k),3===l&&(k*=2),1===(m=this._easePower)?k*=k:2===m?k*=k*k:3===m?k*=k*k*k:4===m&&(k*=k*k*k*k),this.ratio=1===l?1-k:2===l?k:a/i<.5?k/2:1-k/2):this.ratio=this._ease.getRatio(a/i)),this._time!==h||c){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!c&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=h,this._rawPrevTime=j,K.push(this),void(this._lazy=[a,b]);this._time&&!d?this.ratio=this._ease.getRatio(this._time/i):d&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==h&&0<=a&&(this._active=!0),0!==h||(this._startAt&&(0<=a?this._startAt.render(a,!0,c):e=e||"_dummyGS"),!this.vars.onStart)||0===this._time&&0!==i||b||this._callback("onStart"),f=this._firstPT;f;)f.f?f.t[f.p](f.c*this.ratio+f.s):f.t[f.p]=f.c*this.ratio+f.s,f=f._next;this._onUpdate&&(a<0&&this._startAt&&-1e-4!==a&&this._startAt.render(a,!0,c),b||(this._time!==h||d||c)&&this._callback("onUpdate")),!e||this._gc&&!c||(a<0&&this._startAt&&!this._onUpdate&&-1e-4!==a&&this._startAt.render(a,!0,c),d&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!b&&this.vars[e]&&this._callback(e),0!==i)||this._rawPrevTime!==n||g===n||(this._rawPrevTime=0)}},i._kill=function(a,b,c){if(null==(a="all"===a?null:a)&&(null==b||b===this.target))return this._lazy=!1,this._enabled(!1,!1);b="string"!=typeof b?b||this._targets||this.target:H.selector(b)||b;var d,e,f,g,h,i,j,k,l,m=c&&this._time&&c._startTime===this._startTime&&this._timeline===c._timeline;if((q(b)||I(b))&&"number"!=typeof b[0])for(d=b.length;-1<--d;)this._kill(a,b[d],c)&&(i=!0);else{if(this._targets){for(d=this._targets.length;-1<--d;)if(b===this._targets[d]){h=this._propLookup[d]||{},this._overwrittenProps=this._overwrittenProps||[],e=this._overwrittenProps[d]=a?this._overwrittenProps[d]||{}:"all";break}}else{if(b!==this.target)return!1;h=this._propLookup,e=this._overwrittenProps=a?this._overwrittenProps||{}:"all"}if(h){if(j=a||h,k=a!==e&&"all"!==e&&a!==h&&("object"!=typeof a||!a._tempKill),c&&(H.onOverwrite||this.vars.onOverwrite)){for(f in j)h[f]&&(l=l||[],l.push(f));if((l||!a)&&!aa(this,c,b,l))return!1}for(f in j)(g=h[f])&&(m&&(g.f?g.t[g.p](g.s):g.t[g.p]=g.s,i=!0),g.pg&&g.t._kill(j)&&(i=!0),g.pg&&0!==g.t._overwriteProps.length||(g._prev?g._prev._next=g._next:g===this._firstPT&&(this._firstPT=g._next),g._next&&(g._next._prev=g._prev),g._next=g._prev=null),delete h[f]),k&&(e[f]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return i},i.invalidate=function(){return this._notifyPluginsOfEnabled&&H._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],E.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-n,this.render(Math.min(0,-this._delay))),this},i._enabled=function(a,b){if(k||j.wake(),a&&this._gc){var c,d=this._targets;if(d)for(c=d.length;-1<--c;)this._siblings[c]=_(d[c],this,!0);else this._siblings=_(this.target,this,!0)}return E.prototype._enabled.call(this,a,b),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&H._onPluginEvent(a?"_onEnable":"_onDisable",this)},H.to=function(a,b,c){return new H(a,b,c)},H.from=function(a,b,c){return c.runBackwards=!0,c.immediateRender=0!=c.immediateRender,new H(a,b,c)},H.fromTo=function(a,b,c,d){return d.startAt=c,d.immediateRender=0!=d.immediateRender&&0!=c.immediateRender,new H(a,b,d)},H.delayedCall=function(a,b,c,d,e){return new H(b,0,{delay:a,onComplete:b,onCompleteParams:c,callbackScope:d,onReverseComplete:b,onReverseCompleteParams:c,immediateRender:!1,lazy:!1,useFrames:e,overwrite:0})},H.set=function(a,b){return new H(a,0,b)},H.getTweensOf=function(a,b){if(null==a)return[];var c,d,e,f;if(a="string"==typeof a&&H.selector(a)||a,(q(a)||I(a))&&"number"!=typeof a[0]){for(c=a.length,d=[];-1<--c;
1)d=d.concat(H.getTweensOf(a[c],b));for(c=d.length;-1<--c;)for(f=d[c],e=c;-1<--e;)f===d[e]&&d.splice(c,1)}else if(a._gsTweenID)for(c=(d=_(a).concat()).length;-1<--c;)(d[c]._gc||b&&!d[c].isActive())&&d.splice(c,1);return d||[]},H.killTweensOf=H.killDelayedCallsTo=function(a,b,c){"object"==typeof b&&(c=b,b=!1);for(var d=H.getTweensOf(a,b),e=d.length;-1<--e;)d[e]._kill(c,a)},u("plugins.TweenPlugin",function(a,b){this._overwriteProps=(a||"").split(","),this._propName=this._overwriteProps[0],this._priority=b||0,this._super=da.prototype},!0));if(i=da.prototype,da.version="1.19.0",da.API=2,i._firstPT=null,i._addTween=Q,i.setRatio=O,i._kill=function(a){var b,c=this._overwriteProps,d=this._firstPT;if(null!=a[this._propName])this._overwriteProps=[];else for(b=c.length;-1<--b;)null!=a[c[b]]&&c.splice(b,1);for(;d;)null!=a[d.n]&&(d._next&&(d._next._prev=d._prev),d._prev?(d._prev._next=d._next,d._prev=null):this._firstPT===d&&(this._firstPT=d._next)),d=d._next;return!1},i._mod=i._roundProps=function(a){for(var b,c=this._firstPT;c;)(b=a[this._propName]||null!=c.n&&a[c.n.split(this._propName+"_").join("")])&&"function"==typeof b&&(2===c.f?c.t._applyPT.m=b:c.m=b),c=c._next},H._onPluginEvent=function(a,b){var c,d,e,f,g,h=b._firstPT;if("_onInitAllProps"===a){for(;h;){for(g=h._next,d=e;d&&d.pr>h.pr;)d=d._next;(h._prev=d?d._prev:f)?h._prev._next=h:e=h,(h._next=d)?d._prev=h:f=h,h=g}h=b._firstPT=e}for(;h;)h.pg&&"function"==typeof h.t[a]&&h.t[a]()&&(c=!0),h=h._next;return c},da.activate=function(a){for(var b=a.length;-1<--b;)a[b].API===da.API&&(S[(new a[b])._propName]=a[b]);return!0},t.plugin=function(a){if(!(a&&a.propName&&a.init&&a.API))throw"illegal plugin definition.";var b,c=a.propName,d=a.priority||0,e=a.overwriteProps,f={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},g=u("plugins."+c.charAt(0).toUpperCase()+c.substr(1)+"Plugin",function(){da.call(this,c,d),this._overwriteProps=e||[]},!0===a.global),h=g.prototype=new da(c);for(b in(h.constructor=g).API=a.API,f)"function"==typeof a[b]&&(h[f[b]]=a[b]);return g.version=a.version,da.activate([g]),g},g=a._gsQueue){for(h=0;h<g.length;h++)g[h]();for(i in r)r[i].func||a.console.log("GSAP encountered missing dependency: "+i)}k=!1})("undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window,"TweenLite"),(a=>{var b=navigator.userAgent;a.HTMLPictureElement&&/ecko/.test(b)&&b.match(/rv\:(\d+)/)&&RegExp.$1<45&&addEventListener("resize",(()=>{function f(){clearTimeout(b),b=setTimeout(e,99)}function h(){f(),g&&g.addListener&&g.addListener(f)}var b,c=document.createElement("source"),d=function(a){var b,d,e=a.parentNode;"PICTURE"===e.nodeName.toUpperCase()?(b=c.cloneNode(),e.insertBefore(b,e.firstElementChild),setTimeout(function(){e.removeChild(b)})):(!a._pfLastSize||a.offsetWidth>a._pfLastSize)&&(a._pfLastSize=a.offsetWidth,d=a.sizes,a.sizes+=",100vw",setTimeout(function(){a.sizes=d}))},e=function(){for(var b=document.querySelectorAll("picture > img, img[srcset][sizes]"),a=0;a<b.length;a++)d(b[a])},g=a.matchMedia&&matchMedia("(orientation: landscape)");return c.srcset="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",/^[c|i]|d$/.test(document.readyState||"")?h():document.addEventListener("DOMContentLoaded",h),f})())})(window),((a,b,c)=>{function d(a){return" "===a||"\t"===a||"\n"===a||"\f"===a||"\r"===a}function i(a,b){return a.res-b.res}function j(a,b,c){return(c=k(b,c=!c&&b?(c=a[s.ns].sets)&&c[c.length-1]:c))&&(b=s.makeUrl(b),a[s.ns].curSrc=b,(a[s.ns].curCan=c).res||aa(c,c.set.sizes)),c}function k(a,b){var c,d,e;if(a&&b)for(e=s.parseSet(b),a=s.makeUrl(a),c=0;c<e.length;c++)if(a===s.makeUrl(e[c].url)){d=e[c];break}return d}function m(a,b){function c(b){var b=b.exec(a.substring(m));return b?(b=b[0],m+=b.length,b):void 0}function e(){for(var a,c,d,i,f,k,l,m=!1,o={},e=0;e<h.length;e++)i=(f=h[e])[f.length-1],f=f.substring(0,f.length-1),k=parseInt(f,10),l=parseFloat(f),X.test(f)&&"w"===i?((a||c)&&(m=!0),0===k?m=!0:a=k):Y.test(f)&&"x"===i?((a||c||d)&&(m=!0),l<0?m=!0:c=l):!X.test(f)||"h"!==i||((d||c)&&(m=!0),0===k)?m=!0:d=k;m||(o.url=g,a&&(o.w=a),c&&(o.d=c),d&&(o.h=d),d||c||a||(o.d=1),1===o.d&&(b.has1x=!0),o.set=b,n.push(o))}for(var g,h,i,j,k,l=a.length,m=0,n=[];;){if(c(U),l<=m)return n;g=c(V),h=[],(","===g.slice(-1)?(g=g.replace(W,""),e):()=>{for(c(T),i="",j="in descriptor";;){if(k=a.charAt(m),"in descriptor"===j)if(d(k))i&&(h.push(i),i="",j="after descriptor");else{if(","===k)return m+=1,i&&h.push(i),e();
1if("("===k)i+=k,j="in parens";else{if(""===k)return i&&h.push(i),e();i+=k}}else if("in parens"===j)if(")"===k)i+=k,j="in descriptor";else{if(""===k)return h.push(i),e();i+=k}else if("after descriptor"===j&&!d(k)){if(""===k)return e();j="in descriptor",--m}m+=1}})()}}function n(a){for(var h,i,k=/^(?:[+-]?[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?(?:ch|cm|em|ex|in|mm|pc|pt|px|rem|vh|vmin|vmax|vw)$/i,l=/^calc\((?:[0-9a-z \.\+\-\*\/\(\)]+)\)$/i,f=(a=>{function b(){f&&(g.push(f),f="")}function c(){g[0]&&(h.push(g),g=[])}for(var e,f="",g=[],h=[],i=0,j=0,k=!1;;){if(""===(e=a.charAt(j)))return b(),c(),h;if(k)"*"===e&&"/"===a[j+1]?(k=!1,j+=2,b()):j+=1;else{if(d(e)){if(a.charAt(j-1)&&d(a.charAt(j-1))||!f){j+=1;continue}if(0===i){b(),j+=1;continue}e=" "}else if("("===e)i+=1;else if(")"===e)--i;else{if(","===e){b(),c(),j+=1;continue}if("/"===e&&"*"===a.charAt(j+1)){k=!0,j+=2;continue}}f+=e,j+=1}}})(a),g=f.length,e=0;e<g;e++)if((a=>k.test(a)&&0<=parseFloat(a)||l.test(a)||"0"===a||"-0"===a||"+0"===a)(i=(h=f[e])[h.length-1])){if(i=i,h.pop(),0===h.length)return i;if(h=h.join(" "),s.matchesMedia(h))return i}return"100vw"}function u(){}function Z(a,b,c,d){a.addEventListener?a.addEventListener(b,c,d||!1):a.attachEvent&&a.attachEvent("on"+b,c)}function $(a){var b={};return function(c){return c in b||(b[c]=a(c)),b[c]}}function aa(a,b){return a.w?(a.cWidth=s.calcListLength(b||"100vw"),a.res=a.w/a.cWidth):a.res=a.d,a}b.createElement("picture");var p,q,r,s={},t=!1,v=b.createElement("img"),w=v.getAttribute,x=v.setAttribute,y=v.removeAttribute,z=b.documentElement,A={},B={algorithm:""},C="data-pfsrc",D=C+"set",E=navigator.userAgent,F=/rident/.test(E)||/ecko/.test(E)&&E.match(/rv\:(\d+)/)&&35<RegExp.$1,G="currentSrc",H=/\s+\+?\d+(e\d+)?w/,I=/(\([^)]+\))?\s*(.+)/,J=a.picturefillCFG,L="font-size:100%!important;",M=!0,N={},O={},P=a.devicePixelRatio,Q={px:1,in:96},R=b.createElement("a"),S=!1,T=/^[ \t\n\r\u000c]+/,U=/^[, \t\n\r\u000c]+/,V=/^[^ \t\n\r\u000c]+/,W=/[,]+$/,X=/^\d+$/,Y=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,_=(()=>{var a=/^([\d\.]+)(em|vw|px)$/,c=$(function(a){return"return "+function(){for(var a=arguments,b=0,c=a[0];++b in a;)c=c.replace(a[b],a[++b]);return c}((a||"").toLowerCase(),/\band\b/g,"&&",/,/g,"||",/min-([a-z-\s]+):/g,"e.$1>=",/max-([a-z-\s]+):/g,"e.$1<=",/calc([^)]+)/g,"($1)",/(\d+[\.]*[\d]*)([a-z]+)/g,"($1 * e.$2)",/^(?!(e.[a-z]|[0-9\.&=|><\+\-\*\(\)\/])).*/gi,"")+";"});return function(b,d){var e;if(!(b in N))if(N[b]=!1,d&&(e=b.match(a)))N[b]=e[1]*Q[e[2]];else try{N[b]=new Function("e",c(b))(Q)}catch(f){}return N[b]}})(),ba=function(a){if(t){var c,d,e,f=a||{};if(f.elements&&1===f.elements.nodeType&&("IMG"===f.elements.nodeName.toUpperCase()?f.elements=[f.elements]:(f.context=f.elements,f.elements=null)),e=(c=f.elements||s.qsa(f.context||b,f.reevaluate||f.reselect?s.sel:s.selShort)).length){for(s.setupRun(f),S=!0,d=0;d<e;d++)s.fillImg(c[d],f);s.teardownRun(f)}}};a.console&&console.warn,G in v||(G="src"),A["image/jpeg"]=!0,A["image/gif"]=!0,A["image/png"]=!0,A["image/svg+xml"]=b.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1"),s.ns=("pf"+(new Date).getTime()).substr(0,9),s.supSrcset="srcset"in v,s.supSizes="sizes"in v,s.supPicture=!!a.HTMLPictureElement,s.supSrcset&&s.supPicture&&!s.supSizes&&(a=>{v.srcset="data:,a",a.src="data:,a",s.supSrcset=v.complete===a.complete,s.supPicture=s.supSrcset&&s.supPicture})(b.createElement("img")),s.supSrcset&&!s.supSizes?(()=>{function e(){2===d.width&&(s.supSizes=!0),q=s.supSrcset&&!s.supSizes,t=!0,setTimeout(ba)}var c="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",d=b.createElement("img");d.onload=e,d.onerror=e,d.setAttribute("sizes","9px"),d.srcset=c+" 1w,data:image/gif;base64,R0lGODlhAgABAPAAAP///wAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw== 9w",d.src=c})():t=!0,s.selShort="picture>img,img[srcset]",s.sel=s.selShort,s.cfg=B,s.DPR=P||1,s.u=Q,s.types=A,s.setSize=u,s.makeUrl=$(function(a){return R.href=a,R.href}),s.qsa=function(a,b){return"querySelector"in a?a.querySelectorAll(b):[]},s.matchesMedia=function(){return a.matchMedia&&(matchMedia("(min-width: 0.1em)")||{}).matches?s.matchesMedia=function(a){return!a||matchMedia(a).matches}:s.matchesMedia=s.mMQ,s.matchesMedia.apply(this,arguments)},s.mMQ=function(a){return!a||_(a)},s.calcLength=function(a){a=_(a,!0)||!1;return a=a<0?!1:a},s.supportsType=function(a){return!a||A[a]},s.parseSize=$(function(a){a=(a||"").match(I);return{media:a&&a[1],length:a&&a[2]}}),s.parseSet=function(a){return a.cands||(a.cands=m(a.srcset,a)),a.cands},s.getEmValue=function(){var a,c,d,e;
1return!p&&(a=b.body)&&(c=b.createElement("div"),d=z.style.cssText,e=a.style.cssText,c.style.cssText="position:absolute;left:0;visibility:hidden;display:block;padding:0;border:none;font-size:1em;width:1em;overflow:hidden;clip:rect(0px, 0px, 0px, 0px)",z.style.cssText=L,a.style.cssText=L,a.appendChild(c),p=c.offsetWidth,a.removeChild(c),p=parseFloat(p,10),z.style.cssText=d,a.style.cssText=e),p||16},s.calcListLength=function(a){var b;return a in O&&!B.uT||(b=s.calcLength(n(a)),O[a]=b||Q.width),O[a]},s.setRes=function(a){if(a)for(var b,c=0,d=(b=s.parseSet(a)).length;c<d;c++)aa(b[c],a.sizes);return b},s.setRes.res=aa,s.applySetCandidate=function(a,b){if(a.length){var c,d,e,f,h,n,o=b[s.ns],p=s.DPR,k=o.curSrc||b[G],l=o.curCan||j(b,k,a[0].set);if(l&&l.set===a[0].set&&((n=F&&!b.complete&&l.res-.1>p)||(l.cached=!0,l.res>=p&&(h=l))),!h)for(a.sort(i),h=a[(f=a.length)-1],d=0;d<f;d++)if((c=a[d]).res>=p){h=a[e=d-1]&&(n||k!==s.makeUrl(c.url))&&((a,b,c,d)=>{var e,g,d="saveData"===B.algorithm?2.7<a?c+1:(g=(b-c)*(e=Math.pow(a-.6,1.5)),d&&(g+=.1*e),a+g):1<c?Math.sqrt(a*b):a;return c<d})(a[e].res,c.res,p,a[e].cached)?a[e]:c;break}h&&(l=s.makeUrl(h.url),o.curSrc=l,o.curCan=h,l!==k&&s.setSrc(b,h),s.setSize(b))}},s.setSrc=function(a,b){a.src=b.url,"image/svg+xml"===b.set.type&&(b=a.style.width,a.style.width=a.offsetWidth+1+"px",a.offsetWidth+1)&&(a.style.width=b)},s.getSet=function(a){for(var c,d,e=!1,f=a[s.ns].sets,b=0;b<f.length&&!e;b++)if((c=f[b]).srcset&&s.matchesMedia(c.media)&&(d=s.supportsType(c.type))){e=c="pending"===d?d:c;break}return e},s.parseSets=function(a,b,d){var e,f,g,h,i=b&&"PICTURE"===b.nodeName.toUpperCase(),j=a[s.ns];j.src!==c&&!d.src||(j.src=w.call(a,"src"),j.src?x.call(a,C,j.src):y.call(a,C)),j.srcset!==c&&!d.srcset&&s.supSrcset&&!a.srcset||(e=w.call(a,"srcset"),j.srcset=e,h=!0),j.sets=[],i&&(j.pic=!0,((a,b)=>{for(var e,f,g=a.getElementsByTagName("source"),c=0,d=g.length;c<d;c++)(e=g[c])[s.ns]=!0,(f=e.getAttribute("srcset"))&&b.push({srcset:f,media:e.getAttribute("media"),type:e.getAttribute("type"),sizes:e.getAttribute("sizes")})})(b,j.sets)),j.srcset?(f={srcset:j.srcset,sizes:w.call(a,"sizes")}
1,j.sets.push(f),(g=(q||j.src)&&H.test(j.srcset||""))||!j.src||k(j.src,f)||f.has1x||(f.srcset+=", "+j.src,f.cands.push({url:j.src,d:1,set:f}))):j.src&&j.sets.push({srcset:j.src,sizes:null}),j.curCan=null,j.curSrc=c,j.supported=!(i||f&&!s.supSrcset||g&&!s.supSizes),h&&s.supSrcset&&!j.supported&&(e?(x.call(a,D,e),a.srcset=""):y.call(a,D)),j.supported&&!j.srcset&&(!j.src&&a.src||a.src!==s.makeUrl(j.src))&&(null===j.src?a.removeAttribute("src"):a.src=j.src),j.parsed=!0},s.fillImg=function(a,b){var c,d=b.reselect||b.reevaluate;a[s.ns]||(a[s.ns]={}),c=a[s.ns],!d&&c.evaled===r||(c.parsed&&!b.reevaluate||s.parseSets(a,a.parentNode,b),c.supported?c.evaled=r:(a=>{var c=s.getSet(a),d=!1;"pending"!==c&&(d=r,c)&&(c=s.setRes(c),s.applySetCandidate(c,a)),a[s.ns].evaled=d})(a))},s.setupRun=function(){S&&!M&&P===a.devicePixelRatio||(M=!1,P=a.devicePixelRatio,N={},O={},s.DPR=P||1,Q.width=Math.max(a.innerWidth||0,z.clientWidth),Q.height=Math.max(a.innerHeight||0,z.clientHeight),Q.vw=Q.width/100,Q.vh=Q.height/100,r=[Q.height,Q.width,P].join("-"),Q.em=s.getEmValue(),Q.rem=Q.em)},s.supPicture?(ba=u,s.fillImg=u):(()=>{function e(){var a=b.readyState||"";f=setTimeout(e,"loading"===a?200:999),b.body&&(s.fillImgs(),c=c||d.test(a))&&clearTimeout(f)}var c,d=a.attachEvent?/d$|^c/:/d$|^c|^i/,f=setTimeout(e,b.body?9:99),h=z.clientHeight;Z(a,"resize",((a,b)=>{function e(){var f=new Date-d;f<b?c=setTimeout(e,b-f):(c=null,a())}var c,d;return function(){d=new Date,c=c||setTimeout(e,b)}})(function(){M=Math.max(a.innerWidth||0,z.clientWidth)!==Q.width||z.clientHeight!==h,h=z.clientHeight,M&&s.fillImgs()},99)),Z(b,"readystatechange",e)})(),s.picturefill=ba,s.fillImgs=ba,s.teardownRun=u,ba._=s,a.picturefillCFG={pf:s,push:function(a){var b=a.shift();"function"==typeof s[b]?s[b].apply(s,a):(B[b]=a[0],S&&s.fillImgs({reselect:!0}))}};for(;J&&J.length;)a.picturefillCFG.push(J.shift());a.picturefill=ba,"object"==typeof module&&"object"==typeof module.exports?module.exports=ba:"function"==typeof define&&define.amd&&define("picturefill",function(){return ba}),s.supPicture||(A["image/webp"]=((b,c)=>{var d=new a.Image;return d.onerror=function(){A[b]=!1,ba()},d.onload=function(){A[b]=1===d.width,ba()},d.src=c,"pending"})("image/webp","data:image/webp;base64,UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAABBxAR/Q9ERP8DAABWUDggGAAAADABAJ0BKgEAAQADADQlpAADcAD++/1QAA=="))})(window,document),jQuery(document).ready(function(){var options={ui:{container:"#pwd-container",showVerdictsInsideProgressBar:!0,viewports:{progress:".pwstrength_viewport_progress"}},common:{debug:!0,onLoad:function(){$("#messages").text("Start typing password")}}};$("#password").pwstrength(options)}),(jQuery=>{var jsdom,rulesEngine={};try{!jQuery&&module&&module.exports&&(jQuery=require("jquery"),jsdom=require("jsdom").jsdom,jQuery=jQuery(jsdom().parentWindow))}catch(ignore){}(($,rulesEngine)=>{var validation={};rulesEngine.forbiddenSequences=["0123456789","abcdefghijklmnopqrstuvwxyz","qwertyuiop","asdfghjkl","zxcvbnm","!@#$%^&*()_+","qwertzuiop"],validation.wordNotEmail=function(options,word,score){return word.match(/^([\w\!\#$\%\&\'\*\+\-\/\=\?\^\`{\|\}\~]+\.)*[\w\!\#$\%\&\'\*\+\-\/\=\?\^\`{\|\}\~]+@((((([a-z0-9]{1}[a-z0-9\-]{0,62}[a-z0-9]{1})|[a-z])\.)+[a-z]{2,6})|(\d{1,3}\.){3}\d{1,3}(\:\d{1,5})?)$/i)?score:0},validation.wordLength=function(options,word,score){var word=word.length,lenScore=Math.pow(word,options.rules.raisePower);return word<options.common.minChar&&(lenScore+=score),lenScore},validation.wordSimilarToUsername=function(options,word,score){options=$(options.common.usernameField).val();return options&&word.toLowerCase().match(options.toLowerCase())?score:0},validation.wordTwoCharacterClasses=function(options,word,score){return word.match(/([a-z].*[A-Z])|([A-Z].*[a-z])/)||word.match(/([a-zA-Z])/)&&word.match(/([0-9])/)||word.match(/(.[!,@,#,$,%,\^,&,*,?,_,~])/)&&word.match(/[a-zA-Z0-9_]/)?score:0},validation.wordRepetitions=function(options,word,score){return word.match(/(.)\1\1/)?score:0},validation.wordSequences=function(options,word,score){var j,found=!1;return 2<word.length&&($.each(rulesEngine.forbiddenSequences,function(idx,seq){seq=[seq,seq.split("").reverse().join("")];$.each(seq,function(idx,sequence){for(j=0;j<word.length-2;j+=1)-1<sequence.indexOf(word.toLowerCase().substring(j,j+3))&&(found=!0)})}),found)?score:0},validation.wordLowercase=function(options,word,score){return word.match(/[a-z]/)&&score},validation.wordUppercase=function(options,word,score){return word.match(/[A-Z]/)&&score},validation.wordOneNumber=function(options,word,score){return word.match(/\d+/)&&score},validation.wordThreeNumbers=function(options,word,score){return word.match(/(.*[0-9].*[0-9].*[0-9])/)&&score},validation.wordOneSpecialChar=function(options,word,score){return word.match(/.[!,@,#,$,%,\^,&,*,?,_,~]/)&&score},validation.wordTwoSpecialChar=function(options,word,score){return word.match(/(.*[!,@,#,$,%,\^,&,*,?,_,~].*[!,@,#,$,%,\^,&,*,?,_,~])/)&&score},validation.wordUpperLowerCombo=function(options,word,score){return word.match(/([a-z].*[A-Z])|([A-Z].*[a-z])/)&&score},validation.wordLetterNumberCombo=function(options,word,score){return word.match(/([a-zA-Z])/)&&word.match(/([0-9])/)&&score},validation.wordLetterNumberCharCombo=function(options,word,score){return word.match(/([a-zA-Z0-9].*[!,@,#,$,%,\^,&,*,?,_,~])|([!,@,#,$,%,\^,&,*,?,_,~].*[a-zA-Z0-9])/)&&score},rulesEngine.validation=validation,rulesEngine.executeRules=function(options,word){var totalScore=0;return $.each(options.rules.activated,function(rule,active){var funct;active&&(active=options.rules.scores[rule],funct=rulesEngine.validation[rule],$.isFunction(funct)||(funct=options.rules.extra[rule]),$.isFunction(funct))&&((funct=funct(options,word,active))&&(totalScore+=funct),funct<0||!$.isNumeric(funct)&&!funct)&&0<(active=options.ui.spanError(options,rule)).length&&options.instances.errors.push(active)}
1),totalScore}})(jQuery,rulesEngine);try{module&&module.exports&&(module.exports=rulesEngine)}catch(ignore){}var defaultOptions={common:{}},ui=(defaultOptions.common.minChar=6,defaultOptions.common.usernameField="#username",defaultOptions.common.userInputs=[],defaultOptions.common.onLoad=void 0,defaultOptions.common.onKeyUp=void 0,defaultOptions.common.zxcvbn=!1,defaultOptions.common.debug=!1,defaultOptions.rules={},defaultOptions.rules.extra={},defaultOptions.rules.scores={wordNotEmail:-100,wordLength:-50,wordSimilarToUsername:-100,wordSequences:-50,wordTwoCharacterClasses:2,wordRepetitions:-25,wordLowercase:1,wordUppercase:3,wordOneNumber:3,wordThreeNumbers:5,wordOneSpecialChar:3,wordTwoSpecialChar:5,wordUpperLowerCombo:2,wordLetterNumberCombo:2,wordLetterNumberCharCombo:2},defaultOptions.rules.activated={wordNotEmail:!0,wordLength:!0,wordSimilarToUsername:!0,wordSequences:!0,wordTwoCharacterClasses:!1,wordRepetitions:!1,wordLowercase:!0,wordUppercase:!0,wordOneNumber:!0,wordThreeNumbers:!0,wordOneSpecialChar:!0,wordTwoSpecialChar:!0,wordUpperLowerCombo:!0,wordLetterNumberCombo:!0,wordLetterNumberCharCombo:!0},defaultOptions.rules.raisePower=1.4,defaultOptions.ui={},defaultOptions.ui.bootstrap2=!1,defaultOptions.ui.showProgressBar=!0,defaultOptions.ui.showPopover=!1,defaultOptions.ui.showStatus=!1,defaultOptions.ui.spanError=function(options,key){options=options.ui.errorMessages[key];return options?'<span style="color: #d70022">'+options+"</span>":""},defaultOptions.ui.popoverError=function(errors){var message="<div>Errors:<ul class='error-list' style='margin-bottom: 0;'>";return jQuery.each(errors,function(idx,err){message+="<li>"+err+"</li>"}),message+="</ul></div>"},defaultOptions.ui.errorMessages={wordLength:"Your password is too short",wordNotEmail:"Do not use your email as your password",wordSimilarToUsername:"Your password cannot contain your username",wordTwoCharacterClasses:"Use different character classes",wordRepetitions:"Too many repetitions",wordSequences:"Your password contains sequences"},defaultOptions.ui.verdicts=["Weak","Normal","Medium","Strong","Very Strong"],defaultOptions.ui.showVerdicts=!0,defaultOptions.ui.showVerdictsInsideProgressBar=!1,defaultOptions.ui.showErrors=!0,defaultOptions.ui.container=void 0,defaultOptions.ui.viewports={progress:void 0,verdict:void 0,errors:void 0},defaultOptions.ui.scores=[14,26,38,50],{});(($,ui)=>{var barClasses=["danger","warning","success"],statusClasses=["error","warning","success"];ui.getContainer=function(options,$el){options=$(options.ui.container);return options=options&&1===options.length?options:$el.parent()},ui.findElement=function($container,viewport,cssSelector){return(viewport?$container.find(viewport):$container).find(cssSelector)},ui.getUIElements=function(options,$el){var result;return options.instances.viewports||($el=ui.getContainer(options,$el),(result={}).$progressbar=ui.findElement($el,options.ui.viewports.progress,"div.progress"),options.ui.showVerdictsInsideProgressBar&&(result.$verdict=result.$progressbar.find("span.password-verdict")),options.ui.showPopover||(options.ui.showVerdictsInsideProgressBar||(result.$verdict=ui.findElement($el,options.ui.viewports.verdict,"span.password-verdict")),result.$errors=ui.findElement($el,options.ui.viewports.errors,".error-list")),options.instances.viewports=result)},ui.initProgressBar=function(options,$el){var $container=ui.getContainer(options,$el),progressbar="<div class='progress'><div class='";options.ui.bootstrap2||(progressbar+="progress-"),progressbar+="bar'>",options.ui.showVerdictsInsideProgressBar&&(progressbar+="<span class='password-verdict'></span>"),progressbar+="</div></div>",options.ui.viewports.progress?$container.find(options.ui.viewports.progress).append(progressbar):$(progressbar).insertAfter($el)},ui.initHelper=function(options,$el,html,viewport){options=ui.getContainer(options,$el);viewport?options.find(viewport).append(html):$(html).insertAfter($el)},ui.initVerdict=function(options,$el){ui.initHelper(options,$el,"<span class='password-verdict'></span>",options.ui.viewports.verdict)},ui.initErrorList=function(options,$el){ui.initHelper(options,$el,"<div class='error-list'></div>",options.ui.viewports.errors)},ui.initPopover=function(options,$el){$el.popover("destroy"),$el.popover({html:!0,placement:"bottom",trigger:"manual",content:" "})},ui.initUI=function(options,$el){options.ui.showPopover?ui.initPopover(options,$el):(options.ui.showErrors&&ui.initErrorList(options,$el),options.ui.showVerdicts&&!options.ui.showVerdictsInsideProgressBar&&ui.initVerdict(options,$el)),options.ui.showProgressBar&&ui.initProgressBar(options,$el)},ui.possibleProgressBarClasses=["danger","warning","success"],ui.updateProgressBar=function(options,$el,cssClass,percentage){var $el=ui.getUIElements(options,$el).$progressbar,$bar=$el.find(".progress-bar"),cssPrefix="";options.ui.bootstrap2&&($bar=$el.find(".bar"),cssPrefix=""),$.each(ui.possibleProgressBarClasses,function(idx,value){$bar.removeClass(cssPrefix+"bg-"+value)}),$bar.addClass(cssPrefix+"bg-"+barClasses[cssClass]),$bar.css("width",percentage+"%")},ui.updateVerdict=function(options,$el,text){ui.getUIElements(options,$el).$verdict.text(text)},ui.updateErrors=function(options,$el){var $el=ui.getUIElements(options,$el).$errors,html="";$.each(options.instances.errors,function(idx,err){html+=err+"<br/>"}),$el.html(html)},ui.updatePopover=function(options,$el,verdictText){var popover=$el.data("bs.popover"),html="",hide=!0;options.ui.showVerdicts&&!options.ui.showVerdictsInsideProgressBar&&0<verdictText.length&&(html="<h5><span class='password-verdict'>"+verdictText+"</span></h5>",hide=!1),options.ui.showErrors&&(0<options.instances.errors.length&&(hide=!1),html+=options.ui.popoverError(options.instances.errors)),hide?$el.popover("hide"):(popover=options.ui.bootstrap2?$el.data("popover"):popover).$arrow&&0<popover.$arrow.parents("body").length?$el.find("+ .popover .popover-content").html(html):(popover.options.content=html,$el.popover("show"))},ui.updateFieldStatus=function(options,$el,cssClass){var targetClass=options.ui.bootstrap2?".control-group":".form-group",$container=$el.parents(targetClass).first();$.each(statusClasses,function(idx,css){options.ui.bootstrap2||(css="has-"+css),$container.removeClass(css)}),cssClass=statusClasses[cssClass],options.ui.bootstrap2||(cssClass="has-"+cssClass),$container.addClass(cssClass)},ui.percentage=function(score,maximun){score=Math.floor(100*score/maximun);return 100<(score=score<0?0:score)?100:score},ui.getVerdictAndCssClass=function(options,score){var cssClass,level,score=score<=0?(level=-1,options.ui.verdicts[cssClass=0]):score<options.ui.scores[0]?options.ui.verdicts[level=cssClass=0]:score<options.ui.scores[1]?(cssClass=0,options.ui.verdicts[level=1]):score<options.ui.scores[2]?(cssClass=1,options.ui.verdicts[level=2]):score<options.ui.scores[3]?(cssClass=1,options.ui.verdicts[level=3]):(cssClass=2,options.ui.verdicts[level=4]);return[score,cssClass,level]},ui.updateUI=function(options,$el,score){var cssClass=ui.getVerdictAndCssClass(options,score),verdictText=cssClass[0];cssClass=cssClass[1],options.ui.showProgressBar&&(score=ui.percentage(score,options.ui.scores[3]),ui.updateProgressBar(options,$el,cssClass,score),options.ui.showVerdictsInsideProgressBar)&&ui.updateVerdict(options,$el,verdictText),options.ui.showStatus&&ui.updateFieldStatus(options,$el,cssClass),options.ui.showPopover?ui.updatePopover(options,$el,verdictText):(options.ui.showVerdicts&&!options.ui.showVerdictsInsideProgressBar&&ui.updateVerdict(options,$el,verdictText),options.ui.showErrors&&ui.updateErrors(options,$el))}})(jQuery,ui),(($,methods)=>{var applyToAll,onKeyUp=function(event){var userInputs,verdictLevel,$el=$(event.target),options=$el.data("pwstrength-bootstrap"),word=$el.val();void 0!==options&&(options.instances.errors=[],word=options.common.zxcvbn?(userInputs=[],$.each(options.common.userInputs,function(idx,selector){userInputs.push($(selector).val())}),userInputs.push($(options.common.usernameField).val()),zxcvbn(word,userInputs).entropy):rulesEngine.executeRules(options,word),ui.updateUI(options,$el,word),verdictLevel=($el=ui.getVerdictAndCssClass(options,word))[2],$el=$el[0],$.isFunction(options.common.onKeyUp))&&options.common.onKeyUp(event,{score:word,verdictText:$el,verdictLevel:verdictLevel})};methods.init=function(settings){return this.each(function(idx,el){var clonedDefaults=$.extend(!0,{},defaultOptions),clonedDefaults=$.extend(!0,clonedDefaults,settings),el=$(el);clonedDefaults.instances={},el.data("pwstrength-bootstrap",clonedDefaults),el.on("keyup",onKeyUp),el.on("change",onKeyUp),el.on("onpaste",onKeyUp),ui.initUI(clonedDefaults,el),$.trim(el.val())&&el.trigger("keyup"),$.isFunction(clonedDefaults.common.onLoad)&&clonedDefaults.common.onLoad()}),this},methods.destroy=function(){this.each(function(idx,el){var el=$(el),options=el.data("pwstrength-bootstrap"),options=ui.getUIElements(options,el);options.$progressbar.remove(),options.$verdict.remove(),options.$errors.remove(),el.removeData("pwstrength-bootstrap")})},methods.forceUpdate=function(){this.each(function(idx,el){onKeyUp({target:el})})},methods.addRule=function(name,method,score,active){this.each(function(idx,el){el=$(el).data("pwstrength-bootstrap");el.rules.activated[name]=active,el.rules.scores[name]=score,el.rules.extra[name]=method})},applyToAll=function(rule,prop,value){this.each(function(idx,el){$(el).data("pwstrength-bootstrap").rules[prop][rule]=value})},methods.changeScore=function(rule,score){applyToAll.call(this,rule,"scores",score)},methods.ruleActive=function(rule,active){applyToAll.call(this,rule,"activated",active)},$.fn.pwstrength=function(method){var result;return methods[method]?result=methods[method].apply(this,Array.prototype.slice.call(arguments,1
1)):"object"!=typeof method&&method?$.error("Method "+method+" does not exist on jQuery.pwstrength-bootstrap"):result=methods.init.apply(this,arguments),result}})(jQuery,{})})(jQuery); 2//# sourceMappingURL=vendor.min.js.map
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.