;(function($, window, document, undefined){ var AuxinRemoveCartContent=function(){ $(document).on('click', '.aux-remove-cart-content', function(e){ e.preventDefault(); var product_id=$(this).data("product_id"); var cart_item_key=$(this).data("cart_item_key"); var verify_nonce=$(this).data("verify_nonce"); var $cartBoxEl=$(this).closest('.aux-cart-wrapper').addClass('aux-cart-remove-in-progress'); $.ajax({ type: 'POST', dataType: 'json', url: auxin.ajax_url, data: { action: "auxels_remove_from_cart", product_id: product_id, cart_item_key: cart_item_key, verify_nonce: verify_nonce, }, success: function(response){ $(".woocommerce-message, .woocommerce-error").remove(); if(response.success){ $('.aux-hidden-blocks').append(response.data.notif); if(parseInt(response.data.total)===0){ $('.aux-card-dropdown').html(response.data.empty); $('.aux-cart-contents').find('span').remove(); }else{ $('.aux-card-item').filter(function(){ return $(this).data('cart_item_key')==cart_item_key; }).remove(); $('.aux-cart-contents').find('span').text(response.data.count); } $(".aux-cart-subtotal").each(function(){ $(this).find('.woocommerce-Price-amount').contents().filter(function(){ return this.nodeType==3; })[0].nodeValue=response.data.total; }); $cartBoxEl.removeClass('aux-cart-remove-in-progress'); }else{ $('.aux-hidden-blocks').append(response.data); }} }); }); }; var AuxinAjaxAddToCart=function(){ $(document).on('click', '.aux-ajax-add-to-cart', function(e){ var productType=$(this).data("product-type"); if(productType!=='simple'||typeof auxin_cart_options==='undefined'){ return; } e.preventDefault(); var product_id=$(this).data("product_id"); var quantity=$(this).data("quantity"); var verify_nonce=$(this).data("verify_nonce"); var $cartBoxEl=$('.aux-cart-wrapper'); var hasAnimation=$cartBoxEl.hasClass('aux-basket-animation') ? true:false; $cartBoxEl.trigger('AuxCartInProgress'); if($(this).parents('.aux-shop-quicklook-modal')){ quantity=$(this).parents('.aux-shop-quicklook-modal').find('.quantity input').val(); } $.ajax({ type: 'POST', dataType: 'json', url: auxin.ajax_url, data: { action:"auxels_add_to_cart", args:auxin_cart_options, product_id:product_id, quantity:quantity, verify_nonce: verify_nonce }, success: function(response){ $(".woocommerce-message, .woocommerce-error").remove(); if(response.success){ $('.aux-hidden-blocks').append(response.data.notif); setTimeout(function(){ if(hasAnimation){ $cartBoxEl.find('.aux-card-dropdown').html(response.data.items); $cartBoxEl.find('.aux-shopping-basket').html(response.data.total); $cartBoxEl.trigger('AuxCartUpdated'); }else{ $cartBoxEl.find('.aux-card-dropdown').html(response.data.items); $cartBoxEl.find('.aux-shopping-basket').html(response.data.total); $cartBoxEl.trigger('AuxCartUpdated'); }}, 150); }else{ $('.aux-hidden-blocks').append(response.data); }} }); }); }; $(document).ready(function(){ AuxinRemoveCartContent(); AuxinAjaxAddToCart(); }); $.fn.AuxinCartAnimationHandler=function(){ $headerCartWrapper=$(this).find('.aux-cart-wrapper'); $headerCartWrapper.trigger('AuxCartProgressAnimationDone'); if(! $headerCartWrapper.hasClass('aux-basket-animation')){ return } $headerCartWrapper.on('AuxCartInProgress', function(e){ $headerCartWrapper.addClass('aux-cart-in-progress'); }); $headerCartWrapper.on('animationend webkitAnimationEnd oAnimationEnd MSAnimationEnd', function(e){ if(e.originalEvent.animationName==='FillBasket'){ $headerCartWrapper.removeClass('aux-cart-in-progress'); $headerCartWrapper.trigger('AuxCartProgressAnimationDone'); }}); $headerCartWrapper.on('AuxCartUpdated', function(e){ $headerCartWrapper.addClass('aux-cart-updated-animation'); }); } $('body').AuxinCartAnimationHandler(); })(jQuery,window,document); function auxin_is_rtl(){return"undefined"!=typeof auxin&&("1"==auxin.is_rtl||"fa"==auxin.wpml_lang)}function auxin_get_contrast(color){var r,b,g,a=color;return a.match(/^rgb/)?(r=(a=a.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/))[1],g=a[2],b=a[3]):(r=(a=+("0x"+a.slice(1).replace(a.length<5&&/./g,"$&$&")))>>16,b=a>>8&255,g=255&a),200i;i++)UlikeHeart[i].addEventListener("click",auxinUlikeHeartBeat),UlikeHeart[i].addEventListener("animationend",removeAuxinUlikeHeartBeat);!function($){"use strict";$.fn.AuxinCarouselInit=function($scope){($scope=$scope||$(this)).find(".aux-lightbox-frame").photoSwipe({target:".aux-lightbox-btn",bgOpacity:.8,shareEl:!0}),$scope.find(".aux-lightbox-gallery").photoSwipe({target:".aux-lightbox-btn",bgOpacity:.97,shareEl:!0}),$scope.find(".aux-lightbox-video").photoSwipe({target:".aux-open-video",bgOpacity:.97,shareEl:!0}),$scope.find(".master-carousel-slider").AuxinCarousel({autoplay:!1,columns:1,speed:15,inView:15,autohight:!1,rtl:$("body").hasClass("rtl")}).on("auxinCarouselInit",function(){$scope.find(".aux-lightbox-in-slider").photoSwipe({target:".aux-lightbox-btn",bgOpacity:.8,shareEl:!0})}),$scope.find(".master-carousel").AuxinCarousel({speed:30,rtl:$("body").hasClass("rtl")})}}(jQuery,window,document),function($,window,document){$.fn.AuxinTiltElementInit=function($scope){($scope=$scope||$(this)).find(".aux-tilt-box").tilt({maxTilt:$(this).data("max-tilt"),easing:"cubic-bezier(0.23, 1, 0.32, 1)",speed:$(this).data("time"),perspective:2e3})},$.fn.AuxinFitVideosInit=function($scope){($scope=$scope||$(this)).find("main").fitVids(),$scope.find("main").fitVids({customSelector:'iframe[src^="http://w.soundcloud.com"], iframe[src^="https://w.soundcloud.com"]'})},$.fn.AuxinImageBoxInit=function($scope){($scope=$scope||$(this)).find(".aux-image-box").AuxinImagebox()},$.fn.AuxinBeforeAfterInit=function($scope){($scope=$scope||$(this)).find(".aux-before-after").imagesLoaded(function(){$scope.find(".aux-before-after").each(function(){var $slider=$(this);$slider.twentytwenty({default_offset_pct:$slider.data("offset")||.5,orientation:"horizontal"})})})},$.fn.AuxinParallaxBoxInit=function($scope){($scope=$scope||$(this)).find(".aux-parallax-box").AvertaParallaxBox()},$.fn.AuxinParallaxSectionInit=function($scope){var $target=($scope=$scope||$(this)).hasClass("aux-parallax-section")?$scope:$scope.find(".aux-parallax-section");$target.length&&$target.each(function(key,item){var $parallax_box=$(this);$parallax_box.find(".aux-parallax-section").length||$parallax_box.AvertaParallaxBox({targets:"aux-parallax-piece"})})},$.fn.AuxinScrollableAnimsInit=function($scope){var $target=($scope=$scope||$(this)).hasClass("aux-scroll-anim")?$scope:$scope.find(".aux-scroll-anim");$target.length&&$target.each(function(key,item){$(this).AvertaScrollAnims()})},$.fn.AuxinAjaxSearch=function($scope){var $target=($scope=$scope||$(this)).hasClass("is-ajax")?$scope:$scope.find(".is-ajax");if($target.length){var xhr=null;$target.each(function(key,item){!function($scope){var input=$scope.find("input.aux-search-field"),catDropDown=$scope.find("select#cat");input.on("keyup",function(){search($scope,$(this),catDropDown)}),catDropDown.length&&(catDropDown.select2({minimumResultsForSearch:-1,dropdownCssClass:"aux-search-dropdown"}),catDropDown.on("change",function(){search($scope,input,catDropDown)})),$scope.find('input[type="submit"]').on("click",function(){$(this).parents("form").submit()})}($(this))})}function search($scope,input,catDropDown){xhr&&xhr.abort();var value=input.val();if(value.length<3||""==value)return $scope.find(".aux-spinner").removeClass("show"),void($(".aux-search-overlay > .aux-search-field").hasClass("has-result")&&($(".aux-search-overlay .aux-search-result").html(""),$(".aux-search-overlay > .aux-search-field").removeClass("has-result")));$scope.find(".aux-spinner").addClass("show"),$scope.find(".aux-search-result").addClass("hide");var data={action:"auxin_ajax_search",s:value,cat:catDropDown.length?catDropDown.val():0};xhr=$.ajax({type:"get",dataType:"html",url:auxin.ajax_url,data:data}).done(function(response){$scope.find(".aux-spinner").removeClass("show"),$scope.find(".aux-search-result").removeClass("hide"),$(".aux-search-overlay > .aux-search-field").hasClass("has-result")?$scope.find(".aux-search-result").html(response):($(".aux-search-overlay > .aux-search-field").addClass("has-result"),setTimeout(function(){$scope.find(".aux-search-result").html(response)},1e3))})}},$.fn.AuxinModernSearchAjax=function($scope){function ajaxSearchRequest(searchKey,cat,postTypes,outputWrapper,spinner){spinner.removeClass("aux-spinner-hide"),outputWrapper.empty();var data={action:"aux_modern_search_handler",s:searchKey,cat:cat.id,taxonomy:cat.taxonomy,post_type:cat.postType,post_types:postTypes};$.ajax({type:"get",dataType:"html",url:auxin.ajax_url,data:data}).done(function(res){var output=function(postTypes){var output="";return postTypes.forEach(function(postType){var item=postType.results,itemOutput="",title="";item.length?(title=''+postType.fromTitle+"",item.forEach(function(post){itemOutput+=post})):title=''+postType.noResultMessage+"",output+='
'+title+itemOutput+"
"}),output}(JSON.parse(res).data);setTimeout(function(){outputWrapper.html(output),spinner.addClass("aux-spinner-hide")},1500)})}($scope=$scope||$(this)).find(".aux-search-ajax").each(function(){!function(element){var $el=$(element),$popupContainer=$el.parent(".aux-search-popup-content"),$field=$el.find(".aux-search-field"),$spinner=$popupContainer.find(".aux-loading-spinner"),$ajaxOutput=$popupContainer.find(".aux-search-ajax-output"),$cats=$popupContainer.find(".aux-modern-search-cats"),catID=0,taxonomy=$cats.length?$cats.find("option:selected").data("taxonomy"):["category"],postType=$cats.length?$cats.find("option:selected").data("post-type"):["post"],postTypes=$field.data("post-types"),delay=0,fieldValue=$field.val();$field.on("keyup",function(event){var searchKey=event.target.value;searchKey.length<=3||35<=searchKey.length||fieldValue===event.target.value||(delay&&clearTimeout(delay),delay=setTimeout(function(){fieldValue=event.target.value,ajaxSearchRequest(searchKey,{id:catID,taxonomy:taxonomy,postType:postType},postTypes,$ajaxOutput,$spinner)},700))}),$cats.length&&$cats.on("change",function(event){var selectedOption=$(event.target).find("option:selected"),selectedTax=selectedOption.data("taxonomy"),selectedPostType=selectedOption.data("post-type");catID=event.target.value,taxonomy=selectedTax,postType=selectedPostType,ajaxSearchRequest($field.val(),{id:catID,taxonomy:taxonomy,postType:postType},postTypes,$ajaxOutput,$spinner)})}(this)})},$.fn.AuxinElementorSearchElement=function($scope){var $target=($scope=$scope||$(this)).hasClass("aux-search-elementor-element")?$scope:$scope.find(".aux-search-elementor-element");$target.length&&$target.each(function(key,item){$(this).parents(".elementor-element").length&&$(this).parents(".elementor-element").width()<=634?$(this).addClass("responsive"):$(this).hasClass("responsive")&&$(this).removeClass("responsive")})},$.fn.AuxinMediaElementInit=function(){if("function"==typeof MediaElementPlayer){var settings=window._wpmejsSettings||{};settings.features=settings.features||mejs.MepDefaults.features,settings.features.push("AuxinPlayList"),MediaElementPlayer.prototype.buildAuxinPlayList=function(player,controls,layers,media){if(player.container.closest(".wp-video-playlist").length){player.container.closest(".aux-mejs-container").length||(player.container.wrap("
"),player.container.closest(".wp-playlist").addClass("aux-row").find(".wp-playlist-tracks").addClass("aux-2-6 aux-tb-1 aux-mb-1"),new PerfectScrollbar(".wp-playlist-tracks")),player.container.addClass("aux-player-light"),player.options.stretching="none",player.width="100%";var $playlistContainer=player.container.closest(".wp-playlist").find(".wp-playlist-tracks");$playlistContainer.find(".aux-playlist-background").length||$playlistContainer.prepend("
");var $postFormatHeight=$(".aux-primary .content").width();player.height=1600<=$postFormatHeight?720:768<=$postFormatHeight&&$postFormatHeight<1600?480:480<=$postFormatHeight&&$postFormatHeight<768?360:240,$playlistContainer.css("height",player.height)}}}},$.fn.AuxinDynamicDropshadow=function(){var imgFrame,clonedImg,img;if(this instanceof jQuery){if(!this||!this[0])return;img=this[0]}else img=this;img.classList.contains("aux-img-has-shadow")||(imgFrame=document.createElement("div"),(clonedImg=img.cloneNode()).classList.add("aux-img-dynamic-dropshadow-cloned"),clonedImg.classList.remove("aux-img-dynamic-dropshadow"),img.classList.add("aux-img-has-shadow"),imgFrame.classList.add("aux-img-dynamic-dropshadow-frame"),img.parentNode.appendChild(imgFrame),imgFrame.appendChild(img),imgFrame.appendChild(clonedImg))},$.fn.AuxinDynamicDropshadowInit=function($scope){($scope=$scope||$(this)).find(".aux-img-dynamic-dropshadow").each(function(){$(this).AuxinDynamicDropshadow()})},$.fn.AuxinScrollBlurImage=function(blurValue,startFrom,opacitySpeed){var scrollValue,opacityValue,$target,backgroundImage,$this=$(this),prefix=window._jcsspfx||"",bluredImage=function(imgUrl){var bgImgElement=document.createElement("div");$(bgImgElement).appendTo($this),$(bgImgElement).addClass("aux-blured-img"),bgImgElement.style[prefix+"backgroundImage"]=imgUrl,"auto"!=$this.css("background-size")&&(bgImgElement.style[prefix+"backgroundSize"]=$this.css("background-size"));"0% 0%"!=$this.css("background-position")&&(bgImgElement.style[prefix+"backgroundPosition"]=$this.css("background-position"));"repeat"!=$this.css("background-repeat")&&(bgImgElement.style[prefix+"backgroundRepeat"]=$this.css("background-repeat"));return bgImgElement.style[prefix+"filter"]="blur("+blurValue+"px)",$(bgImgElement)}((backgroundImage=($target=$this).css("background-image"),$target.addClass("aux-orginal-blured-img"),backgroundImage)),yVisible=startFrom*$this.outerHeight(),remainHeight=$this.outerHeight()-yVisible;$(window).on("scroll",function(){var winBot=$(window).scrollTop();0<(scrollValue=winBot-$this.offset().top-yVisible)?(opacityValue=scrollValue/remainHeight,opacityValue=Math.min(1,opacityValue*opacitySpeed),bluredImage[0].style[prefix+"opacity"]=opacityValue<1?opacityValue:1):scrollValue<0&&(bluredImage[0].style[prefix+"opacity"]=0)})},$.fn.AuxinScrollBlurImageInit=function($scope){($scope=$scope||$(this)).find(".aux-blur-fade").each(function(){$(this).AuxinScrollBlurImage(15,.3,4)})},$.fn.AuxinOtherElementsInit=function($scope){$scope=$scope||$(this)},$.fn.AuxinLiveTabsInit=function($scope){($scope=$scope||$(this)).find(".widget-tabs .widget-inner").avertaLiveTabs({tabs:"ul.tabs > li",tabsActiveClass:"active",contents:"ul.tabs-content > li",contentsActiveClass:"active",transition:"fade",duration:"500"})},$.fn.AuxinAccordionInit=function($scope){($scope=$scope||$(this)).find(".aux-sidebar .aux-widget-area").each(function(index,el){$(this).avertaAccordion({items:".aux-toggle-widget",itemHeader:".widget-title",itemContent:".widget-title + *",itemActiveClass:"aux-open",contentWrapClass:"aux-toggle-widget-wrapper",oneVisible:!1,onExpand:function($item){var height=0;$item.find(".aux-toggle-widget-wrapper > * ").each(function(index,el){height+=$(el).outerHeight(!0)}),$item.find(".aux-toggle-widget-wrapper").css("height",height)},onCollapse:function($item){var wrapper=$item.find(".aux-toggle-widget-wrapper"),height=wrapper.outerHeight();wrapper.css("height",height)}})}),$scope.find(".widget-toggle .widget-inner").each(function(index,el){$(this).avertaAccordion({itemHeader:".toggle-header",itemContent:".toggle-content",oneVisible:$(this).data("toggle")})}),$scope.find(".aux-widget-faq").each(function(index,el){$(this).avertaAccordion({items:".aux-faq-item",itemHeader:".toggle-header",itemContent:".toggle-content",oneVisible:$(this).data("toggle"),expandHashItem:!1})})},$.fn.AuxinTimelineInit=function($scope){($scope=$scope||$(this)).find(".aux-timeline").each(function(){$(this).hasClass("aux-right")?$(this).AuxinTimeline({responsive:{760:"right"}}):$(this).AuxinTimeline()})},$.fn.AuxinCodeHighlightInit=function($scope){$scope=$scope||$(this),"undefined"!=typeof hljs&&$scope.find("pre code").each(function(i,block){hljs.highlightBlock(block)})},$.fn.AuxinLoadMoreInit=function($scope){($scope=$scope||$(this)).find('.widget-container[class*="aux-ajax-type"]').AuxLoadMore()},$.fn.AuxinVideoBoxInit=function($scope){($scope=$scope||$(this)).find(".aux-video-box").AuxinVideobox()},$.fn.AuxinImageInteractionInit=function($scope){($scope=$scope||$(this)).find(".aux-frame-cube").AuxinCubeHover(),$scope.find(".aux-hover-twoway").AuxTwoWayHover()},$.fn.AuxinToggleListInit=function($scope){($scope=$scope||$(this)).find(".aux-togglable").length&&$scope.find(".aux-togglable").AuxinToggleSelected()},$.fn.AuxinMasonryAnimateInit=function($scope){($scope=$scope||$(this)).find(".aux-product-parallax-wrapper").AuxinMasonryAnimate()},$.fn.AuxinSelect2Init=function($scope){$scope=$scope||$(this),$(".aux-custom-dropdown select").select2({minimumResultsForSearch:1/0}),$(".aux-modern-search-cats").select2({minimumResultsForSearch:1/0,dropdownCssClass:"aux-search-cats-dropdown",dropdownAutoWidth:"true"})},$.fn.AuxinCarouselNavigation=function($scope){($scope=$scope||$(this)).find(".aux-carousel-navigation").each(function(){var $this=$(this),$target=$($this.data("target")).find(".master-carousel")[0];if($target&&AuxinCarousel){var instance=AuxinCarousel[$target.getAttribute("data-element-id")];$this.find(".aux-prev").click({action:"prev"},$.proxy(instance._controlCarousel,instance)),$this.find(".aux-next").click({action:"next"},$.proxy(instance._controlCarousel,instance))}})}}(jQuery,window,document),function($){"use strict";$.fn.AuxinIsotopeInit=function($scope){$scope=$scope||$(this),$.fn.AuxinIsotopeLayoutInit($scope),$.fn.AuxinIsotopeImageLayoutsInit($scope),$.fn.AuxinIsotopeBigGridInit($scope),$.fn.AuxinIsotopeFAQInit($scope)},$.fn.AuxinIsotopeImageLayoutsInit=function($scope){$scope=$scope||$(this),$.fn.AuxinIsotopeGalleryInit($scope),$.fn.AuxinIsotopeMasonryInit($scope),$.fn.AuxinIsotopeTilesInit($scope)},$.fn.AuxinIsotopeLayoutInit=function($scope){($scope=$scope||$(this)).find(".aux-isotope-layout").AuxIsotope({itemSelector:".aux-iso-item",revealTransitionDuration:600,revealBetweenDelay:50,revealTransitionDelay:0,hideTransitionDuration:300,hideBetweenDelay:0,hideTransitionDelay:0,updateUponResize:!0,transitionHelper:!0})},$.fn.AuxinIsotopeGalleryInit=function($scope){($scope=$scope||$(this)).find(".aux-gallery .aux-gallery-container").AuxIsotope({itemSelector:".gallery-item",justifyRows:{maxHeight:340,gutter:0},masonry:{gutter:0},revealTransitionDuration:600,hideTransitionDuration:600,revealBetweenDelay:70,hideBetweenDelay:40,revealTransitionDelay:0,hideTransitionDelay:0,updateUponResize:!0,transitionHelper:!0,deeplink:!1})},$.fn.AuxinIsotopeTilesInit=function($scope){($scope=$scope||$(this)).find(".aux-tiles-layout").AuxIsotope({itemSelector:".aux-post-tile, .aux-iso-item",layoutMode:"packery",revealTransitionDuration:600,hideTransitionDuration:600,revealBetweenDelay:70,hideBetweenDelay:40,revealTransitionDelay:0,hideTransitionDelay:0,updateUponResize:!0,transitionHelper:!0,packery:{gutter:0},containerStyle:{position:""}}).on("auxinIsotopeReveal",function(e,items){items.forEach(function(item,index){item.$element.hasClass("aux-image-box")&&item.$element.AuxinImagebox("update")})})},$.fn.AuxinIsotopeBigGridInit=function($scope){($scope=$scope||$(this)).find(".aux-big-grid-layout").AuxIsotope({itemSelector:".aux-news-big-grid, .aux-iso-item",layoutMode:"packery",revealTransitionDuration:600,hideTransitionDuration:600,revealBetweenDelay:70,hideBetweenDelay:40,revealTransitionDelay:0,hideTransitionDelay:0,updateUponResize:!0,transitionHelper:!0,packery:{gutter:0}}).on("auxinIsotopeReveal",function(e,items){items.forEach(function(item,index){item.$element.hasClass("aux-image-box")&&item.$element.AuxinImagebox("update")})})},$.fn.AuxinIsotopeMasonryInit=function($scope){($scope=$scope||$(this)).find(".aux-masonry-layout").AuxIsotope({itemSelector:".aux-post-masonry",layoutMode:"masonry",updateUponResize:!0,transitionHelper:!1,transitionDuration:0})},$.fn.AuxinIsotopeFAQInit=function($scope){($scope=$scope||$(this)).find(".aux-isotope-faq").AuxIsotope({itemSelector:".aux-iso-item",revealTransitionDuration:600,hideTransitionDuration:600,revealBetweenDelay:70,hideBetweenDelay:40,revealTransitionDelay:0,hideTransitionDelay:0,updateUponResize:!1,transitionHelper:!0}).on("auxinIsotopeReveal",function(){$scope.find(".aux-iso-item").css({position:""})})}}(jQuery,window,document),function($,window,document){"use strict";$.fn.AuxinPagePreloadAnimationInit=function($scope){($scope=$scope||$(this)).find("#inner-body");var transitionTarget,animationConfig,$body=$scope.find("body");if($body.length){var pageAnimationConfig={fade:{eventTarget:".aux-page-animation-overlay",propertyWatch:"opacity",hideDelay:800,loadingHideDuration:810},circle:{eventTarget:"#inner-body",propertyWatch:"transform",hideDelay:1e3,loadingHideDuration:810},cover:{eventTarget:".aux-page-animation-overlay",propertyWatch:"transform",hideDelay:500,loadingHideDuration:810},slideup:{eventTarget:".aux-page-animation-overlay",propertyWatch:"transform",hideDelay:500,loadingHideDuration:810}};if($body.hasClass("aux-page-preload")){var $pageProgressbar=$scope.find("#pagePreloadProgressbar"),pageLoading=document.getElementById("pagePreloadLoading");$(window).on("load.preload",function(instance){if($body.data("page-animation")&&Modernizr&&Modernizr.csstransitions?setupPageAnimate():pageLoading&&setTimeout(function(){pageLoading.style.display="none"},810),$body.addClass("aux-page-preload-done"),$pageProgressbar.length){var pageProgressbar=$pageProgressbar[0];pageProgressbar.style.width=pageProgressbar.offsetWidth+"px",$pageProgressbar.removeClass("aux-no-js"),pageProgressbar.style[window._jcsspfx+"AnimationPlayState"]="paused",setTimeout(function(){pageProgressbar.style.width="100%",$pageProgressbar.addClass("aux-hide"),$body.addClass("aux-progressbar-done")},10),setTimeout(function(){pageProgressbar.style.display="none"},700)}}),window.onerror=function(e){$pageProgressbar.addClass("aux-hide"),$body.addClass("aux-page-preload-done"),$(window).off("load.preload")}}else $(window).unload(function(){$(window).unbind("unload")}),$(window).bind("pageshow",function(event){event.originalEvent.persisted&&window.location.reload()}),setupPageAnimate()}function setupPageAnimate(){if((!Modernizr||Modernizr.csstransitions)&&$body.hasClass("aux-page-animation")){var animType=$body.data("page-animation-type");animationConfig=pageAnimationConfig[animType],(transitionTarget=$(pageAnimationConfig[animType].eventTarget)[0]).addEventListener("transitionend",pageShowAnimationDone),$('a:not([href^="#"]):not([href=""]), .elementor-template-canvas').AuxinAnimateAndRedirect({scrollFixTarget:"#inner-body",delay:animationConfig.hideDelay,animateIn:"aux-page-show-"+animType,animateOut:"aux-page-hide-"+animType,beforeAnimateOut:"aux-page-before-hide-"+animType})}}function pageShowAnimationDone(e){if(e.target===transitionTarget&&-1!==e.propertyName.indexOf(animationConfig.propertyWatch)){$body.addClass("aux-page-animation-done"),"circle"===$body.data("page-animation-type")&&$body.trigger("resize"),transitionTarget.removeEventListener("transitionend",pageShowAnimationDone);var pageAnimationDoneEvent=new CustomEvent("AuxPageAnimationDone");document.body.dispatchEvent(pageAnimationDoneEvent)}}},$.fn.AuxinPageCoverAnimation=function(){var posTop,$this=$(this),$window=$(window),fired=!1,scrollLock=!0;$this.closest("body").addClass("aux-page-cover"),$window.on("scroll",function(){scrollLock&&!fired?($window.scrollTo(0),$("body").addClass("aux-page-cover-off")):window.elementorFrontendConfig&&0===$window.scrollTop()&&window.elementorFrontendConfig.isEditMode&&$("body").removeClass("aux-page-cover-off")}),$this.on("transitionend webkitTransitionEnd oTransitionEnd",function(e){"transform"===e.originalEvent.propertyName&&(posTop=$this.offset().top,scrollLock=0!==posTop?!(fired=!0):!(fired=!1))}),$this.find(".aux-page-cover-footer-text a").on("click",function(){$("body").addClass("aux-page-cover-off")})},$.fn.AuxinPageCoverAnimationInit=function($scope){($scope=$scope||$(this)).hasClass("aux-page-cover-wrapper")?$scope.AuxinPageCoverAnimation():$scope.find(".aux-page-cover-wrapper").each(function(){$(this).AuxinPageCoverAnimation()})},$.fn.AuxinSetOnApearInit=function(){if($.fn.appearl){var appearBuffer=0;$.fn.setOnAppear=function(once,delay){return $(this).each(function(index,element){var $element=$(element);$element.appearl(),$element[once?"one":"on"]("appear",function(){delay&&!$element.hasClass("aux-appeared-once")&&(element.style.transitionDelay=appearBuffer++*delay+"ms",setTimeout(function(){appearBuffer=0},10)),$element.addClass("aux-appeared-once"),$element.addClass("aux-appeared").removeClass("aux-disappeared")}),once||$element.on("disappear",function(){$element.removeClass("aux-appeared").addClass("aux-disappeared")})})}}},$.fn.AuxinAppearTransitionsInit=function($scope){($scope=$scope||$(this)).find(".aux-check-appear, .aux-appear-watch:not(.aux-appear-repeat)").appearl({offset:"150px",insetOffset:"0px"}).one("appear",function(event,data){this.classList.add("aux-appeared"),this.classList.add("aux-appeared-once")}),$scope.find(".aux-check-appear, .aux-appear-watch.aux-appear-repeat").appearl({offset:"150px",insetOffset:"0px"}).on("appear disappear",function(event,data){"disappear"===event.type?(this.classList.remove("aux-appeared"),this.classList.add("aux-disappeared")):(this.classList.remove("aux-disappeared"),this.classList.add("aux-appeared"))})},$.fn.AuxinAppearAnimationsInit=function($scope){var $target=($scope=$scope||$(this)).hasClass("aux-appear-watch-animation")?$scope:$scope.find(".aux-appear-watch-animation"),hasAnimation=$("body").hasClass("aux-page-animation");$target.length&&(hasAnimation?document.body.addEventListener("AuxPageAnimationDone",function(event){$target.appearl({offset:"200px",insetOffset:"0px"}).one("appear",function(event,data){this.classList.add("aux-animated"),this.classList.add("aux-animated-once")})}):$target.appearl({offset:"200px",insetOffset:"0px"}).one("appear",function(event,data){this.classList.add("aux-animated"),this.classList.add("aux-animated-once")}))}}(jQuery,window,document),function($,window,document){$.fn.AuxinPageLayoutInit=function($scope){$scope=$scope||$(this),$(function(){$scope.find(".aux-sticky-side > .entry-side, .aux-sticky-piece").AuxinStickyPosition()});var isResp=$scope.find("body").hasClass("aux-resp");$scope.find(".aux-float-layout").AuxinFloatLayout({autoLocate:isResp})},$.fn.AuxinMatchHeightInit=function($scope){($scope=$scope||$(this)).find(".aux-match-height > .aux-col").matchHeight()},$.fn.AuxinPageHeaderLayoutInit=function($scope){$scope=$scope||$(this);var $window=$(window),$siteHeader=$scope.find("#site-header, #site-elementor-header"),headerStickyHeight=$siteHeader.data("sticky-height")||0;if($siteHeader.find(".secondary-bar").length&&(headerStickyHeight+=35),$scope.find("body").hasClass("aux-top-sticky")&&$siteHeader.AuxinStickyPosition(),$scope.find(".page-header.aux-full-height").AuxinFullscreenHero(),jQuery.fn.scrollTo){var $scrollToTarget=$scope.find("#site-title");$scope.find(".aux-title-scroll-down .aux-arrow-nav").click(function(){var target=$scrollToTarget.offset().top+$scrollToTarget.height()-headerStickyHeight;$window.scrollTo(target,{duration:1500,easing:"easeInOutQuart"})})}},$.fn.AuxinModernForm=function($scope){$scope=$scope||$(this);var groupClass=".aux-input-group",$allFields=$scope.find(groupClass+" input ,"+groupClass+" textarea");$allFields.val()&&$allFields.each(function(){$scope.val()&&$scope.parents(groupClass).addClass("aux-focused")}),$allFields.on("focus",function(){$(this).parents(groupClass).addClass("aux-focused")}).on("blur",function(){""===$(this).val()&&$(this).parents(groupClass).removeClass("aux-focused")}),$scope.find("input, textarea").placeholder()},$.fn.AuxinModernFormInit=function($scope){($scope=$scope||$(this)).find(".aux-modern-form").each(function(){$(this).AuxinModernForm()})},$.fn.AuxinDropdownEffect=function($scope){$basketWrapper=$scope||$(this);var isHover=$basketWrapper.find(".aux-action-on-hover").length,dropdownClass="aux-cart-display-dropdown",$dropdownWrapper=$basketWrapper.find(".aux-card-dropdown");$(window).on("load resize",function(){$dropdownWrapper.length&&($dropdownWrapper.offset().left+$dropdownWrapper.outerWidth()>$(window).width()&&!$dropdownWrapper.hasClass("aux-card-dropdown-resp")?$dropdownWrapper.addClass("aux-card-dropdown-resp"):$dropdownWrapper.removeClass("aux-card-dropdown-resp"))}),isHover?($basketWrapper.mouseover(function(){$basketWrapper.addClass(dropdownClass)}),$(document).mouseover(function(e){$(e.target).closest($basketWrapper).length||$basketWrapper.removeClass(dropdownClass)})):($basketWrapper.click(function(){$basketWrapper.addClass(dropdownClass)}),$(document).click(function(e){$(e.target).closest($basketWrapper).length||$basketWrapper.removeClass(dropdownClass)}))},$.fn.AuxinDropdownEffectInit=function($scope){($scope=$scope||$(this)).find(".aux-top-header .aux-cart-wrapper, .site-header-section .aux-cart-wrapper, .aux-cart-element").each(function(){$(this).AuxinDropdownEffect()})},$.fn.AuxinCartCanvasInit=function($scope){var $headerElement=($scope=$scope||$(this)).find(".site-header-section");function toggleOffcanvasBasket(){$basketContainer.toggleClass("aux-open"),$scope.toggleClass("aux-offcanvas-overlay"),isClosed=!isClosed}$headerElement.length||($headerElement=$scope.find(".aux-cart-element-container")),$headerElement.length&&($cartWrapper=$headerElement.find(".aux-cart-wrapper"),$cartDropdown=$headerElement.find(".aux-card-dropdown"),$burgerBasket=$headerElement.find(".aux-shopping-basket"),$basketContainer=$scope.find("#offcart"),isClosed=!0,$cartDropdown.clone().appendTo($basketContainer.find(".aux-offcart-content")),$cartWrapper.hasClass("aux-cart-type-offcanvas")?$basketContainer.find(".aux-offcart-content .aux-card-dropdown").removeClass("aux-desktop-off aux-tablet-off"):$cartDropdown.hasClass("aux-tablet-off")&&$basketContainer.find(".aux-offcart-content .aux-card-dropdown").removeClass("aux-tablet-off"),$cartDropdown.hasClass("aux-card-dropdown-dark")&&$basketContainer.addClass("aux-offcanvas-dark"),$basketContainer.find(".aux-card-dropdown").removeClass("aux-phone-off"),$burgerBasket.click(toggleOffcanvasBasket),$basketContainer.find(".aux-close").click(toggleOffcanvasBasket),$(window).on("load resize",function(){var $dropDownCheck=!1;767i;i++)$AllOptions[i].addEventListener("click",InsertText);window.addEventListener("click",function(e){e.target.className!=$FilterBy.attr("class")&&e.target.className!=$FilterBy.find(".aux-filter-name").attr("class")&&$DropDown.hasClass("aux-active")&&$DropDown.removeClass("aux-active")})},$.fn.AuxinDropDownSelectInit=function($scope){($scope=$scope||$(this)).find(".aux-filters.aux-dropdown-filter").each(function(){$(this).AuxinDropDownSelect()})},$.fn.AuxinTriggerResize=function($scope){($scope=$scope||$(window)).trigger("resize")},$.fn.AuxinFeaturedColor=function($scope){($scope=$scope||$(this)).find(".aux-featured-color").each(function(){var featuredColor=$(this).data("featured-color");""!=featuredColor&&$(this).css({"background-color":featuredColor,color:auxin_get_contrast(featuredColor)})})},$.fn.AuxinScrollScale=function(start,target,startScale,endScale){$(this);var scrollValue,elBot,scaleValue,$el=$(start),$target=$(target),$window=$(window),targetHeight=(endScale=endScale||1,$target.outerHeight());$window.on("scroll",function(){scrollValue=$window.height()+$window.scrollTop(),(elBot=$el.offset().top+$el.outerHeight()).aux-burger"),isClosed:!0,animDuration:600,type:$(this).data("target-panel"),anim:null};if(!$(this).data("init"))switch($(this).data("init",!0),args.scrollToLinks=args.menu.find('.aux-menu-item > a[href^="#"]'),args.targetWrapper=$(args.menu.data("switch-parent")),args.activeWidth=args.menu.data("switch-width"),args.toggleExpnadableMenu=function(){args.icon.toggleClass("aux-close"),args.anim&&args.anim.stop(!0),args.isClosed?args.anim=CTween.animate(args.targetWrapper,args.animDuration,{height:args.menu.outerHeight()+"px"},{ease:"easeInOutQuart",complete:function(){args.targetWrapper.css("height","auto")}}):(args.targetWrapper.css("height",args.menu.outerHeight()+"px"),args.anim=CTween.animate(args.targetWrapper,args.animDuration,{height:0},{ease:"easeInOutQuart"})),args.isClosed=!args.isClosed},args.toggleOffcanvasMenu=function(){args.icon.toggleClass("aux-close"),args.targetWrapper.toggleClass("aux-open"),args.isClosed=!args.isClosed},args.toggleOverlayMenu=function(){args.icon.toggleClass("aux-close"),args.isClosed&&args.targetWrapper.show(),auxinToggleOverlayContainer(args.targetWrapper,args.isClosed),args.isClosed=!args.isClosed},args.closeOnEsc=function(toggleFunction){$(document).keydown(function(e){27!=e.keyCode||args.isClosed||toggleFunction()})},args.type){case"toggle-bar":$(this).on("click",args.toggleExpnadableMenu);break;case"offcanvas":args.targetWrapper=args.targetWrapper.closest(".aux-offcanvas-menu "),$(this).on("click",args.toggleOffcanvasMenu),args.targetWrapper.find(".aux-close").click(args.toggleOffcanvasMenu),args.dir=args.targetWrapper.hasClass("aux-pin-right")?"right":"left",void 0!==args.activeWidth&&$window.on("resize",function(){window.innerWidth>args.activeWidth?args.targetWrapper.hide():(args.isClosed,args.targetWrapper.show())}),args.closeOnEsc(args.toggleOffcanvasMenu);break;case"overlay":var oldSkinClassName=args.menu.attr("class").match(/aux-skin-\w+/)[0];args.targetWrapper=args.targetWrapper.closest(".aux-fs-popup"),$(this).on("click",args.toggleOverlayMenu),args.targetWrapper.find(".aux-panel-close").click(args.toggleOverlayMenu);function checkForHide(){window.innerWidth>args.activeWidth?(args.targetWrapper.hide(),args.menu.addClass(oldSkinClassName)):(args.isClosed||args.targetWrapper.show(),args.menu.removeClass(oldSkinClassName))}void 0!==args.activeWidth&&(checkForHide(),$window.on("resize",checkForHide)),args.closeOnEsc(args.toggleOverlayMenu)}})},$.fn.AuxinOverlaySearchInit=function($scope){$scope=$scope||$(this);var overlaySearchIsClosed=!0,overlaySearchContainer=$scope.find("#fs-search"),searchField=overlaySearchContainer.find('input[type="text"]');function toggleOverlaySearch(){auxinToggleOverlayContainer(overlaySearchContainer,overlaySearchIsClosed),(overlaySearchIsClosed=!overlaySearchIsClosed)||searchField.focus()}$scope.find(".aux-overlay-search").click(toggleOverlaySearch),overlaySearchContainer.find(".aux-panel-close").click(toggleOverlaySearch),$(document).keydown(function(e){27!=e.keyCode||overlaySearchIsClosed||toggleOverlaySearch()})},$.fn.AuxinOverlayModernSearchInit=function($scope){($scope=$scope||$(this)).find(".aux-search-fullscreen").each(function(){var $this=$(this),target=$this.data("target");if(target){var $target=$scope.find(target);if(target){var $closeBtn=$target.find(".aux-panel-close"),$searchField=$target.find(".aux-search-field"),overlayIsClosed=!0;$this.on("click",function(){auxinToggleOverlayContainer($target,overlayIsClosed),(overlayIsClosed=!overlayIsClosed)||$searchField.focus()}),$closeBtn.on("click",function(){auxinToggleOverlayContainer($target,overlayIsClosed),overlayIsClosed=!overlayIsClosed}),$(document).keydown(function(e){27!=e.keyCode||overlayIsClosed||(auxinToggleOverlayContainer($target,overlayIsClosed),overlayIsClosed=!overlayIsClosed)})}}})},$.fn.AuxinMenuAutoSwitchInit=function($scope){$scope=$scope||$(this),!$("body").hasClass("aux-resp")&&$scope.find(".aux-master-menu").data("switch-width")<7e3&&$scope.find(".aux-master-menu").data("switch-width",0),$scope.find(".aux-fs-popup").hasClass("aux-no-indicator")?$scope.find(".aux-master-menu").mastermenu({useSubIndicator:!1,addSubIndicator:!1}):$("body").hasClass("aux-vertical-menu")?$scope.find(".aux-master-menu").mastermenu({keepSubmenuInView:!1}):$scope.find(".aux-master-menu").mastermenu()}}(jQuery,window,document),function($){var $_window=$(window),$body=$("body"),screenWidth=$_window.width(),$main_content=$("#main"),original_page_layout="",layout_class_names={"right-left-sidebar":"right-sidebar","left-right-sidebar":"left-sidebar","left2-sidebar":"left-sidebar","right2-sidebar":"right-sidebar"};function updateSidebarsHeight(){screenWidth=window.innerWidth;var $content=$(".aux-primary"),$sidebars=$(".aux-sidebar"),max_height=$(".aux-sidebar .sidebar-inner").map(function(){return $(this).outerHeight()}).get();if(max_height=Math.max.apply(null,max_height),max_height=Math.max($content.outerHeight(),max_height),$sidebars.height(768<=screenWidth?max_height:"auto"),screenWidth<=1140){for(original in layout_class_names)if($main_content.hasClass(original))return original_page_layout=original,void $main_content.removeClass(original).addClass(layout_class_names[original])}else""!==original_page_layout&&($main_content.removeClass("left-sidebar").removeClass("right-sidebar").addClass(original_page_layout),original_page_layout="")}if(window.instagramfeed){var _run=instagramfeed.prototype.run;instagramfeed.prototype.run=function(){var $target=$(this.options.target);if(0<$target.parents(".aux-sidebar").length){var _after=this.options.after;this.options.after=function(){_after.apply(this,arguments),$target.find("img").one("load",updateSidebarsHeight)}}_run.apply(this,arguments)}}$body.data("framed")&&$_window.on("debouncedresize",function(){$body.toggleClass("aux-framed",700<$_window.width())}),$body.hasClass("aux-sticky-footer")&&$_window.on("debouncedresize",function(){var marginFrameThickness=$body.hasClass("aux-framed")?$(".aux-side-frames").data("thickness"):0,$footer=$(".aux-site-footer, .aux-elementor-footer"),$subfooter=$(".aux-subfooter"),$subfooterBar=$(".aux-subfooter-bar"),footerHeight=$footer.is(":visible")?$footer.outerHeight():0;subfooterHeight=$subfooter.is(":visible")?$subfooter.outerHeight():0,subfooterBarHeight=$subfooterBar.is(":visible")?$subfooterBar.outerHeight():0,screenWidth<=768?($("body").removeClass("aux-sticky-footer"),$("#main").css("margin-bottom",""),$footer.css("bottom"),$subfooter.css("bottom",""),$subfooterBar.css("bottom","")):($body.hasClass("aux-sticky-footer")||$("body").addClass("aux-sticky-footer"),$("#main").css("margin-bottom",footerHeight+subfooterHeight+subfooterBarHeight),$footer.css("bottom",marginFrameThickness),$subfooter.css("bottom",footerHeight+marginFrameThickness),$subfooterBar.css("bottom",footerHeight+subfooterHeight+marginFrameThickness))}),$_window.on("debouncedresize",updateSidebarsHeight).trigger("debouncedresize"),$(document).on("lazyloaded",function(){$_window.trigger("resize")})}(jQuery),function($,window){"use strict";$.fn.AuxinJsSocialsInit=function($scope){var $shareButtons=($scope=$scope||$(this)).find(".aux-tooltip-socials"),mainWrapperClass="aux-tooltip-socials-container";if($shareButtons.length){for(var i=0,l=$shareButtons.length;i");var $container=$this.parent("."+mainWrapperClass);$container.append("
"),$container.children(".aux-tooltip-socials-wrapper").jsSocials({shares:[{share:"facebook",label:"Facebook",logo:"auxicon-facebook"},{share:"twitter",label:"Tweet",logo:"auxicon-twitter"},{share:"googleplus",label:"Google Plus",logo:"auxicon-googleplus"},{share:"pinterest",label:"Pinterest",logo:"auxicon-pinterest"},{share:"linkedin",label:"LinkedIn",logo:"auxicon-linkedin"},{share:"stumbleupon",label:"Stumbleupon",logo:"auxicon-stumbleupon"},{share:"whatsapp",label:"WhatsApp",logo:"auxicon-whatsapp"},{share:"pocket",label:"Pocket",logo:"auxicon-pocket"},{share:"email",label:"Email",logo:"auxicon-email"},{share:"telegram",label:"Telegram",logo:"auxicon-paperplane"}],shareIn:"blank",showLabel:!1})}$this.parent("."+mainWrapperClass).addClass("aux-tip-open").removeClass("aux-tip-close")});$(window).on("click",function(){$scope.find("."+mainWrapperClass).removeClass("aux-tip-open").addClass("aux-tip-close")})}}}(jQuery,window,document),function($,window,document){window.AuxinInitPageModules=function($scope){$scope=$scope||$(document),$.fn.AuxinSetOnApearInit($scope),$.fn.AuxinJsSocialsInit($scope),$.fn.AuxinPageHeaderLayoutInit($scope),$.fn.AuxinPagePreloadAnimationInit($scope),$.fn.AuxinPageCoverAnimationInit($scope),$.fn.AuxinDropdownEffectInit($scope),$.fn.AuxinCartCanvasInit($scope),$.fn.AuxinDropDownSelectInit($scope),$.fn.AuxinFeaturedColor($scope),$.fn.AuxinScrollScaleInit($scope),$.fn.AuxinMatchHeightInit($scope),$.fn.AuxinPageLayoutInit($scope),$.fn.AuxinMobileMenuInit($scope),$.fn.AuxinMenuAutoSwitchInit($scope),$.fn.AuxinOverlaySearchInit($scope),$.fn.AuxinOverlayModernSearchInit($scope)},window.AuxinInitElements=function($scope){$scope=$scope||$(document),$.fn.AuxinTiltElementInit($scope),$.fn.AuxinFitVideosInit($scope),$.fn.AuxinImageBoxInit($scope),$.fn.AuxinBeforeAfterInit($scope),$.fn.AuxinCarouselInit($scope),$.fn.AuxinModernFormInit($scope),$.fn.AuxinOtherElementsInit($scope),$.fn.AuxinAppearTransitionsInit($scope),$.fn.AuxinAppearAnimationsInit($scope),$.fn.AuxinDynamicDropshadowInit($scope),$.fn.AuxinScrollBlurImageInit($scope)},window.AuxinInitElementsOnReady=function($scope){$scope=$scope||$(document),$.fn.AuxinIsotopeInit($scope),$.fn.AuxinLiveTabsInit($scope),$.fn.AuxinAccordionInit($scope),$.fn.AuxinTimelineInit($scope),$.fn.AuxinCodeHighlightInit($scope),$.fn.AuxinLoadMoreInit($scope),$.fn.AuxinVideoBoxInit($scope),$.fn.AuxinImageInteractionInit($scope),$.fn.AuxinToggleListInit($scope),$.fn.AuxinMasonryAnimateInit($scope),$.fn.AuxinMediaElementInit($scope),$.fn.AuxinParallaxBoxInit($scope),$.fn.AuxinParallaxSectionInit($scope),$.fn.AuxinSelect2Init($scope),$.fn.AuxinScrollableAnimsInit($scope),$.fn.AuxinAjaxSearch($scope),$.fn.AuxinModernSearchAjax($scope),$.fn.AuxinCarouselNavigation($scope)},window.AuxinInitAllModules=function($scope){$scope=$scope||$(document),AuxinInitPageModules($scope),AuxinInitElements($scope),AuxinInitElementsOnReady($scope)},AuxinInitPageModules(),AuxinInitElements(),$(function(){AuxinInitElementsOnReady()})}(jQuery,window,document),function($,window){var $vcWindow,$__window=$(window);"undefined"!=typeof wp&&void 0!==wp.customize&&void 0!==wp.customize.selectiveRefresh&&wp.customize.selectiveRefresh.bind("partial-content-rendered",function(){AuxinInitAllModules($("body"))}),$__window.on("vc_reload",function(){if($vcWindow=$("#vc_inline-frame",window.parent.document).contents().find(".vc_element"),AuxinInitAllModules($vcWindow),"undefined"!=typeof MediaElement&&$vcWindow.find("video,audio").mediaelementplayer(),"undefined"!=typeof sbi_js_exists&&sbi_init(),"undefined"!=typeof fjgwpp_galleriesInit_functions)for(var i in fjgwpp_galleriesInit_functions)fjgwpp_galleriesInit_functions[i]();$__window.trigger("resize")})}(jQuery,window,document); ;(function($){ $(function(){ $.fn.AuxinCountDown=function(){ var $wrapper=$(this).find('.aux-countdown-wrapper '), data={ year:$wrapper.data('countdown-year'), month:$wrapper.data('countdown-month'), day:$wrapper.data('countdown-day'), hour:$wrapper.data('countdown-hour'), min:$wrapper.data('countdown-min'), sec:$wrapper.data('countdown-sec') }, targetDate=new Date(data.year,data.month,data.day,data.hour,data.min,data.sec); $year=$wrapper.find('.aux-countdown-year'), $month=$wrapper.find('.aux-countdown-month'), $day=$wrapper.find('.aux-countdown-day'), $hour=$wrapper.find('.aux-countdown-hour'), $min=$wrapper.find('.aux-countdown-min'), $sec=$wrapper.find('.aux-countdown-sec'); setInterval(function(){ var diffTime=(Date.parse(targetDate) - Date.parse(new Date())) / 1000; if(diffTime < 0) return; $year.text(Math.floor(diffTime /(31536000))); $month.text(Math.floor(( diffTime / 2592000) % 12)); $day.text(Math.floor(( diffTime / 86400) % 365)); $hour.text(Math.floor(( diffTime / 3600) % 24)); $min.text(Math.floor(( diffTime / 60) % 60)); $sec.text(Math.floor(( diffTime) % 60)); },1000) } $('.aux-widget-countdown').each(function(){ $(this).AuxinCountDown(); }); }); })(jQuery); (function($){ $(".auxin-news-element li[data-filter]").click(function(e){ e.preventDefault(); var $this=$(this), $parent=$this .parents(".aux-ajax-view") .addClass("aux-ajax-progress"), data={ term: $this.data("filter"), action: "news_filter_get_content", args: eval($parent.data("element-id") + "AjaxConfig"), n: $(".aux-ajax-filters").data("n") }; $.post(auxnew.ajax_url, data, function(res){ if(res){ $parent .removeClass("aux-ajax-progress") .find(".aux-news-element-main") .html(res); }else{ console.log(res); }}); }); })(jQuery); !function(e,t,r){"use strict";if("undefined"!=typeof wpgdprcData){var n,c,o=function(e,r,n){var c=new Date;r=r||"",n=n||365,c.setTime(c.getTime()+24*n*60*60*1e3),t.cookie=e+"="+encodeURIComponent(r)+"; expires="+c.toGMTString()+"; path="+u},a=function(e){return Object.keys(e).map(function(t){var r=e[t];return"object"==typeof r&&(r=JSON.stringify(r)),t+"="+r}).join("&")},s=!1,i=wpgdprcData.ajaxURL,l=wpgdprcData.ajaxSecurity,d=wpgdprcData.isMultisite,p=wpgdprcData.blogId,u=wpgdprcData.path,g=void 0!==wpgdprcData.consents?wpgdprcData.consents:[],f=function(e,t,r,n){var c=r.querySelector(".wpgdprc-message"),o=t.slice(0,1);if(o.length>0){var s=r.querySelector('tr[data-id="'+o[0]+'"]');s.classList.remove("wpgdprc-status--error"),s.classList.add("wpgdprc-status--processing"),c.setAttribute("style","display: none;"),c.classList.remove("wpgdprc-message--error"),c.innerHTML="",setTimeout(function(){var n=new XMLHttpRequest;e.data.value=o[0],n.open("POST",i),n.setRequestHeader("Content-type","application/x-www-form-urlencoded; charset=UTF-8"),n.send(a(e)),n.addEventListener("load",function(){if(n.response){var o=JSON.parse(n.response);s.classList.remove("wpgdprc-status--processing"),o.error?(s.classList.add("wpgdprc-status--error"),c.innerHTML=o.error,c.classList.add("wpgdprc-message--error"),c.removeAttribute("style")):(t.splice(0,1),s.querySelector('input[type="checkbox"]').remove(),s.classList.add("wpgdprc-status--removed"),f(e,t,r,500))}})},n||0)}},v=function(){var r=t.querySelector("#wpgdprc-consent-modal");if(null!==r&&"undefined"!=typeof MicroModal){var c,a,s,i,l=t.querySelector("[data-micromodal-trigger=wpgdprc-consent-modal]");a=(c=r).querySelectorAll('a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])'),s=a[0],i=a[a.length-1],c.addEventListener("keydown",function(e){("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?t.activeElement===s&&(i.focus(),e.preventDefault()):t.activeElement===i&&(s.focus(),e.preventDefault()))}),MicroModal.init({disableScroll:!0,disableFocus:!0,onShow:function(){l&&l.setAttribute("aria-expanded","true")},onClose:function(e){var t=e.querySelectorAll(".wpgdprc-consent-modal__description"),r=e.querySelectorAll(".wpgdprc-consent-modal__navigation > a"),n=e.querySelectorAll('input[type="checkbox"]');if(t.length>0)for(var c=0;c0)for(c=0;c0)for(c=0;c a");if(p.length>0)for(var u=r.querySelectorAll(".wpgdprc-consent-modal__description"),g=0;g0){for(var s=0;s0?o(n,a):o(n,"decline")}else o(n,"accept");e.location.reload(!0)})}},y=function(){if("undefined"!=typeof postscribe)for(var e=function(e){var r=function(e){var r;switch(e){case"head":r=t.head;break;case"body":if(null===(r=t.querySelector("#wpgdprc-consent-body"))){var n=t.createElement("div");n.id="wpgdprc-consent-body",t.body.prepend(n),r="#"+n.id}break;case"footer":r=t.body}return r}(e.placement);null!==r&&postscribe(r,e.content)},r=null!==c&&"accept"!==c?c.split(","):[],n=0;n=0||o.required||"accept"===c)&&e(o)}},w=function(){var e=t.querySelectorAll(".wpgdprc-form--delete-request");e.length<1||e.forEach(function(e){var t=e.querySelector(".wpgdprc-select-all");e.addEventListener("submit",function(e){e.preventDefault();var r=e.target,n=r.querySelectorAll(".wpgdprc-checkbox"),c={action:"wpgdprc_process_action",security:l,data:{type:"delete_request",token:wpgdprcData.token,settings:JSON.parse(r.dataset.wpgdprc)}};t.checked=!1,f(c,function(e){var t=[];return e.length&&e.forEach(function(e){var r=parseInt(e.value);e.checked&&r>0&&t.push(r)}),t}(n),r)}),null!==t&&t.addEventListener("change",function(t){var r=t.target.checked;e.querySelectorAll(".wpgdprc-checkbox").forEach(function(e){e.checked=r})})})};t.addEventListener("DOMContentLoaded",function(){"object"==typeof g&&g.length>0&&(n=(d?p+"-wpgdprc-consent-":"wpgdprc-consent-")+wpgdprcData.consentVersion,c=function(e){if(e)for(var r=encodeURIComponent(e)+"=",n=t.cookie.split(";"),c=0;c1e3?i=1e3:200>~~i&&(i=200),n.height=i),"link"===a.message)){if(o=t.createElement("a"),c=t.createElement("a"),o.href=n.getAttribute("src"),c.href=a.value,!u.test(c.protocol))continue;c.host===o.host&&t.activeElement===n&&(e.top.location.href=a.value)}}},r&&(e.addEventListener("message",e.wp.receiveEmbedMessage,!1),t.addEventListener("DOMContentLoaded",s,!1),e.addEventListener("load",s,!1)))}(window,document); (typeof navigator!=="undefined")&&(function(root, factory){ if(typeof define==="function"&&define.amd){ define(function(){ return factory(root); }); }else if(typeof module==="object"&&module.exports){ module.exports=factory(root); }else{ root.lottie=factory(root); root.bodymovin=root.lottie; }}((window||{}), function(window){ "use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",initialDefaultFrame=-999999,subframeEnabled=!0,expressionsPlugin,isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),cachedColors={},bm_rounder=Math.round,bm_rnd,bm_pow=Math.pow,bm_sqrt=Math.sqrt,bm_abs=Math.abs,bm_floor=Math.floor,bm_max=Math.max,bm_min=Math.min,blitter=10,BMMath={};function ProjectInterface(){return{}}!function(){var t,e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],i=e.length;for(t=0;t>>=1;return(t+i)/e};return n.int32=function(){return 0|a.g(4)},n.quick=function(){return a.g(4)/4294967296},n.double=n,E(x(a.S),o),(e.pass||i||function(t,e,i,r){return r&&(r.S&&b(r,a),t.state=function(){return b(a,{})}),i?(h[c]=t,e):t})(n,s,"global"in e?e.global:this==h,e.state)},E(h.random(),o)}([],BMMath);var BezierFactory=function(){var t={getBezierEasing:function(t,e,i,r,s){var a=s||("bez_"+t+"_"+e+"_"+i+"_"+r).replace(/\./g,"p");if(o[a])return o[a];var n=new h([t,e,i,r]);return o[a]=n}},o={};var l=11,p=1/(l-1),e="function"==typeof Float32Array;function r(t,e){return 1-3*e+3*t}function s(t,e){return 3*e-6*t}function a(t){return 3*t}function m(t,e,i){return((r(e,i)*t+s(e,i))*t+a(e))*t}function f(t,e,i){return 3*r(e,i)*t*t+2*s(e,i)*t+a(e)}function h(t){this._p=t,this._mSampleValues=e?new Float32Array(l):new Array(l),this._precomputed=!1,this.get=this.get.bind(this)}return h.prototype={get:function(t){var e=this._p[0],i=this._p[1],r=this._p[2],s=this._p[3];return this._precomputed||this._precompute(),e===i&&r===s?t:0===t?0:1===t?1:m(this._getTForX(t),i,s)},_precompute:function(){var t=this._p[0],e=this._p[1],i=this._p[2],r=this._p[3];this._precomputed=!0,t===e&&i===r||this._calcSampleValues()},_calcSampleValues:function(){for(var t=this._p[0],e=this._p[2],i=0;in?-1:1,l=!0;l;)if(r[a]<=n&&r[a+1]>n?(o=(n-r[a])/(r[a+1]-r[a]),l=!1):a+=h,a<0||s-1<=a){if(a===s-1)return i[a];l=!1}return i[a]+(i[a+1]-i[a])*o}var D=createTypedArray("float32",8);return{getSegmentsLength:function(t){var e,i=segments_length_pool.newElement(),r=t.c,s=t.v,a=t.o,n=t.i,o=t._length,h=i.lengths,l=0;for(e=0;ei[0]||!(i[0]>t[0])&&(t[1]>i[1]||!(i[1]>t[1])&&(t[2]>i[2]||!(i[2]>t[2])&&void 0))}var h,i=function(){var r=[4,4,14];function s(t){var e,i,r,s=t.length;for(e=0;e=a.t-r){s.h&&(s=a),f=0;break}if(a.t-r>t){f=c;break}c=i&&i<=t||this._caching.lastFrame=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var r=this.interpolateValue(t,this._caching);this.pv=r}return this._caching.lastFrame=t,this.pv}function d(t){var e;if("unidimensional"===this.propType)e=t*this.mult,1e-5=this.p.keyframes[this.p.keyframes.length-1].t?(e=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/r,0),this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/r,0)):(e=this.p.pv,this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/r,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){e=[],i=[];var s=this.px,a=this.py;s._caching.lastFrame+s.offsetTime<=s.keyframes[0].t?(e[0]=s.getValueAtTime((s.keyframes[0].t+.01)/r,0),e[1]=a.getValueAtTime((a.keyframes[0].t+.01)/r,0),i[0]=s.getValueAtTime(s.keyframes[0].t/r,0),i[1]=a.getValueAtTime(a.keyframes[0].t/r,0)):s._caching.lastFrame+s.offsetTime>=s.keyframes[s.keyframes.length-1].t?(e[0]=s.getValueAtTime(s.keyframes[s.keyframes.length-1].t/r,0),e[1]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/r,0),i[0]=s.getValueAtTime((s.keyframes[s.keyframes.length-1].t-.01)/r,0),i[1]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/r,0)):(e=[s.pv,a.pv],i[0]=s.getValueAtTime((s._caching.lastFrame+s.offsetTime-.01)/r,s.offsetTime),i[1]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/r,a.offsetTime))}else e=i=n;this.v.rotate(-Math.atan2(e[1]-i[1],e[0]-i[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}},precalculateMatrix:function(){if(!this.a.k&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}if(this.r){if(this.r.effectsSequence.length)return;this.pre.rotate(-this.r.v),this.appliedTransformations=4}else this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}},autoOrient:function(){}},extendPrototype([DynamicPropertyContainer],r),r.prototype.addDynamicProperty=function(t){this._addDynamicProperty(t),this.elem.addDynamicProperty(t),this._isDirty=!0},r.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(t,e,i){return new r(t,e,i)}}}();function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(t,e){this.c=t,this.setLength(e);for(var i=0;i=this._maxLength&&this.doubleArrayLength(),i){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o}(!a[r]||a[r]&&!s)&&(a[r]=point_pool.newElement()),a[r][0]=t,a[r][1]=e},ShapePath.prototype.setTripleAt=function(t,e,i,r,s,a,n,o){this.setXYAt(t,e,"v",n,o),this.setXYAt(i,r,"o",n,o),this.setXYAt(s,a,"i",n,o)},ShapePath.prototype.reverse=function(){var t=new ShapePath;t.setPathData(this.c,this._length);var e=this.v,i=this.o,r=this.i,s=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],r[0][0],r[0][1],i[0][0],i[0][1],0,!1),s=1);var a,n=this._length-1,o=this._length;for(a=s;a=c[c.length-1].t-this.offsetTime)r=c[c.length-1].s?c[c.length-1].s[0]:c[c.length-2].e[0],a=!0;else{for(var d,u,y=f,g=c.length-1,v=!0;v&&(d=c[y],!((u=c[y+1]).t-this.offsetTime>t));)y=u.t-this.offsetTime)p=1;else if(tr+i);else p=o.s*s<=r?0:(o.s*s-r)/i,m=o.e*s>=r+i?1:(o.e*s-r)/i,h.push([p,m])}return h.length||h.push([0,0]),h},TrimModifier.prototype.releasePathsData=function(t){var e,i=t.length;for(e=0;ee.e){i.c=!1;break}e.s<=d&&e.e>=d+n.addedLength?(this.addSegment(f[r].v[s-1],f[r].o[s-1],f[r].i[s],f[r].v[s],i,o,y),y=!1):(l=bez.getNewSegment(f[r].v[s-1],f[r].v[s],f[r].o[s-1],f[r].i[s],(e.s-d)/n.addedLength,(e.e-d)/n.addedLength,h[s-1]),this.addSegmentFromArray(l,i,o,y),y=!1,i.c=!1),d+=n.addedLength,o+=1}if(f[r].c&&h.length){if(n=h[s-1],d<=e.e){var g=h[s-1].addedLength;e.s<=d&&e.e>=d+g?(this.addSegment(f[r].v[s-1],f[r].o[s-1],f[r].i[0],f[r].v[0],i,o,y),y=!1):(l=bez.getNewSegment(f[r].v[s-1],f[r].v[0],f[r].o[s-1],f[r].i[0],(e.s-d)/g,(e.e-d)/g,h[s-1]),this.addSegmentFromArray(l,i,o,y),y=!1,i.c=!1)}else i.c=!1;d+=n.addedLength,o+=1}if(i._length&&(i.setXYAt(i.v[p][0],i.v[p][1],"i",p),i.setXYAt(i.v[i._length-1][0],i.v[i._length-1][1],"o",i._length-1)),d>e.e)break;r=d.length&&(m=0,d=u[f+=1]?u[f].points:E.v.c?u[f=m=0].points:(l-=h.partialLength,null)),d&&(c=h,y=(h=d[m]).partialLength));L=T[s].an/2-T[s].add,_.translate(-L,0,0)}else L=T[s].an/2-T[s].add,_.translate(-L,0,0),_.translate(-x[0]*T[s].an/200,-x[1]*V/100,0);for(T[s].l/2,w=0;we));)i+=1;return this.keysIndex!==i&&(this.keysIndex=i),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(t){for(var e,i=FontManager.getCombinedCharacterCodes(),r=[],s=0,a=t.length;sthis.minimumFontSize&&D=u(o)&&(n=c(0,d(t-o<0?d(h,1)-(o-t):h-t,1))),a(n));return n*this.a.v},getValue:function(t){this.iterateDynamicProperties(),this._mdf=t||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,t&&2===this.data.r&&(this.e.v=this._currentTextLength);var e=2===this.data.r?1:100/this.data.totalChars,i=this.o.v/e,r=this.s.v/e+i,s=this.e.v/e+i;if(st-this.layers[e].st&&this.buildItem(e),this.completeLayers=!!this.elements[e]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 13:return this.createCamera(t)}return this.createNull(t)},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.buildAllItems=function(){var t,e=this.layers.length;for(t=0;t=t)return this.threeDElements[e].perspectiveElem;e+=1}},HybridRenderer.prototype.createThreeDContainer=function(t,e){var i=createTag("div");styleDiv(i);var r=createTag("div");styleDiv(r),"3d"===e&&(i.style.width=this.globalData.compSize.w+"px",i.style.height=this.globalData.compSize.h+"px",i.style.transformOrigin=i.style.mozTransformOrigin=i.style.webkitTransformOrigin="50% 50%",r.style.transform=r.style.webkitTransform="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)"),i.appendChild(r);var s={container:r,perspectiveElem:i,startPos:t,endPos:t,type:e};return this.threeDElements.push(s),s},HybridRenderer.prototype.build3dContainers=function(){var t,e,i=this.layers.length,r="";for(t=0;tt?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var t,e=this.renderableComponents.length;for(t=0;t=t.x+t.width&&this.currentBBox.height+this.currentBBox.y>=t.y+t.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var t=this.tempBoundingBox,e=999999;if(t.x=e,t.xMax=-e,t.y=e,t.yMax=-e,this.calculateBoundingBox(this.itemsData,t),t.width=t.xMaxthis.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e,i,r=this.animationData.layers,s=r.length,a=t.layers,n=a.length;for(i=0;ithis.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame()},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded)try{this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},AnimationItem.prototype.play=function(t){t&&this.name!=t||!0===this.isPaused&&(this.isPaused=!1,this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(t){t&&this.name!=t||!1===this.isPaused&&(this.isPaused=!0,this._idle=!0,this.trigger("_idle"))},AnimationItem.prototype.togglePause=function(t){t&&this.name!=t||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(t){t&&this.name!=t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.goToAndStop=function(t,e,i){i&&this.name!=i||(e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier),this.pause())},AnimationItem.prototype.goToAndPlay=function(t,e,i){this.goToAndStop(t,e,i),this.play()},AnimationItem.prototype.advanceTime=function(t){if(!0!==this.isPaused&&!1!==this.isLoaded){var e=this.currentRawFrame+t*this.frameModifier,i=!1;e>=this.totalFrames-1&&0=this.totalFrames?(this.playCount+=1,this.checkSegments(e%this.totalFrames)||(this.setCurrentRawFrameValue(e%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(e):this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(i=!0,e=this.totalFrames-1):e<0?this.checkSegments(e%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(i=!0,e=0):(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(e),i&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.timeCompleted=this.totalFrames=t[1]-t[0],this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+e)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(t,e){var i=-1;this.isPaused&&(this.currentRawFrame+this.firstFramee&&(i=e-t)),this.firstFrame=t,this.timeCompleted=this.totalFrames=e-t,-1!==i&&this.goToAndStop(i,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),"object"==typeof t[0]){var i,r=t.length;for(i=0;idata.k[e].t&&tdata.k[e+1].t-t?(i=e+2,data.k[e+1].t):(i=e+1,data.k[e].t);break}}-1===i&&(i=e+1,r=data.k[e].t)}else r=i=0;var a={};return a.index=i,a.time=r/elem.comp.globalData.frameRate,a}function key(t){var e,i,r;if(!data.k.length||"number"==typeof data.k[0])throw new Error("The property has no keyframe at index "+t);t-=1,e={time:data.k[t].t/elem.comp.globalData.frameRate,value:[]};var s=data.k[t].hasOwnProperty("s")?data.k[t].s:data.k[t-1].e;for(r=s.length,i=0;il.length-1)&&(e=l.length-1),r=p-(s=l[l.length-1-e].t)),"pingpong"===t){if(Math.floor((h-s)/r)%2!=0)return this.getValueAtTime((r-(h-s)%r+s)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var m=this.getValueAtTime(s/this.comp.globalData.frameRate,0),f=this.getValueAtTime(p/this.comp.globalData.frameRate,0),c=this.getValueAtTime(((h-s)%r+s)/this.comp.globalData.frameRate,0),d=Math.floor((h-s)/r);if(this.pv.length){for(n=(o=new Array(m.length)).length,a=0;al.length-1)&&(e=l.length-1),r=(s=l[e].t)-p),"pingpong"===t){if(Math.floor((p-h)/r)%2==0)return this.getValueAtTime(((p-h)%r+p)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var m=this.getValueAtTime(p/this.comp.globalData.frameRate,0),f=this.getValueAtTime(s/this.comp.globalData.frameRate,0),c=this.getValueAtTime((r-(p-h)%r+p)/this.comp.globalData.frameRate,0),d=Math.floor((p-h)/r)+1;if(this.pv.length){for(n=(o=new Array(m.length)).length,a=0;an){var p=o,m=i.c&&o===h-1?0:o+1,f=(n-l)/a[o].addedLength;r=bez.getPointInSegment(i.v[p],i.v[m],i.o[p],i.i[m],f,a[o]);break}l+=a[o].addedLength,o+=1}return r||(r=i.c?[i.v[0][0],i.v[0][1]]:[i.v[i._length-1][0],i.v[i._length-1][1]]),r},vectorOnPath:function(t,e,i){t=1==t?this.v.c?0:.999:t;var r=this.pointOnPath(t,e),s=this.pointOnPath(t+.001,e),a=s[0]-r[0],n=s[1]-r[1],o=Math.sqrt(Math.pow(a,2)+Math.pow(n,2));return 0===o?[0,0]:"tangent"===i?[a/o,n/o]:[-n/o,a/o]},tangentOnPath:function(t,e){return this.vectorOnPath(t,e,"tangent")},normalOnPath:function(t,e){return this.vectorOnPath(t,e,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([i],t),extendPrototype([i],e),e.prototype.getValueAtTime=function(t){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shape_pool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),t*=this.elem.globalData.frameRate,(t-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime=o.clientWidth&&n>=o.clientHeight}),l=0f[e]&&!o.escapeWithReference&&(n=Math.min(l[t],f[e]-("right"===e?l.width:l.height))),x({},t,n)}};return p.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";l=E({},l,u[t](e))}),e.offsets.popper=l,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,o=t.reference,r=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(r),s=a?"right":"bottom",f=a?"left":"top",p=a?"width":"height";return n[s]i(o[s])&&(e.offsets.popper[f]=i(o[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!Y(e.instance.modifiers,"arrow","keepTogether"))return e;var o=t.element;if("string"==typeof o){if(!(o=e.instance.popper.querySelector(o)))return e}else if(!e.instance.popper.contains(o))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var r=e.placement.split("-")[0],i=e.offsets,a=i.popper,s=i.reference,f=-1!==["left","right"].indexOf(r),p=f?"height":"width",l=f?"Top":"Left",u=l.toLowerCase(),d=f?"left":"top",c=f?"bottom":"right",h=F(o)[p];s[c]-ha[c]&&(e.offsets.popper[u]+=s[u]+h-a[c]),e.offsets.popper=O(e.offsets.popper);var m=s[u]+s[p]/2-h/2,g=y(e.instance.popper),v=parseFloat(g["margin"+l],10),b=parseFloat(g["border"+l+"Width"],10),w=m-e.offsets.popper[u]-v-b;return w=Math.max(Math.min(a[p]-h,w),0),e.arrowElement=o,e.offsets.arrow=(x(n={},u,Math.round(w)),x(n,d,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(m,g){if(A(m.instance.modifiers,"inner"))return m;if(m.flipped&&m.placement===m.originalPlacement)return m;var v=d(m.instance.popper,m.instance.reference,g.padding,g.boundariesElement,m.positionFixed),b=m.placement.split("-")[0],w=k(b),y=m.placement.split("-")[1]||"",x=[];switch(g.behavior){case G:x=[b,w];break;case _:x=z(b);break;case X:x=z(b,!0);break;default:x=g.behavior}return x.forEach(function(e,t){if(b!==e||x.length===t+1)return m;b=m.placement.split("-")[0],w=k(b);var n=m.offsets.popper,o=m.offsets.reference,r=Math.floor,i="left"===b&&r(n.right)>r(o.left)||"right"===b&&r(n.left)r(o.top)||"bottom"===b&&r(n.top)r(v.right),f=r(n.top)r(v.bottom),l="left"===b&&a||"right"===b&&s||"top"===b&&f||"bottom"===b&&p,u=-1!==["top","bottom"].indexOf(b),d=!!g.flipVariations&&(u&&"start"===y&&a||u&&"end"===y&&s||!u&&"start"===y&&f||!u&&"end"===y&&p),c=!!g.flipVariationsByContent&&(u&&"start"===y&&s||u&&"end"===y&&a||!u&&"start"===y&&p||!u&&"end"===y&&f),h=d||c;(i||l||h)&&(m.flipped=!0,(i||l)&&(b=x[t+1]),h&&(y=function(e){return"end"===e?"start":"start"===e?"end":e}(y)),m.placement=b+(y?"-"+y:""),m.offsets.popper=E({},m.offsets.popper,H(m.instance.popper,m.offsets.reference,m.placement)),m=B(m.instance.modifiers,m,"flip"))}),m},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],o=e.offsets,r=o.popper,i=o.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return r[a?"left":"top"]=i[n]-(s?r[a?"width":"height"]:0),e.placement=k(t),e.offsets.popper=O(r),e}},hide:{order:800,enabled:!0,fn:function(e){if(!Y(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=C(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottomn.right||t.top>n.bottom||t.right')):e.className=p,e}function Ot(){var t=At();return t.className=o,t.setAttribute("data-state","hidden"),t}function Mt(t,e){t.setAttribute("tabindex","-1"),e.setAttribute("data-interactive","")}function zt(t,e,a){var r=i&&void 0!==document.body.style.webkitTransition?"webkitTransitionEnd":"transitionend";t[e+"EventListener"](r,a)}function Ht(t){var e=t.getAttribute(pt);return e?e.split("-")[0]:""}function Vt(e,a,t){t.split(" ").forEach(function(t){e.classList[a](t+"-theme")})}var _t=1;function Dt(u,r){var e,b,n,a,i,t=Yt(u,r);if(!t.multiple&&u._tippy)return null;var o,s,p,l,y,c=!1,d=!1,f=!1,m=[],v=0d.right&&(f=Math.min(a,window.innerWidth-d.right)),c&&m>d.bottom&&(m=Math.min(r,window.innerHeight-d.bottom)),!nt(t.target,function(t){return t===u})&&w.props.interactive||(w.popperInstance.reference=Q({},w.popperInstance.reference,{getBoundingClientRect:function(){return{width:0,height:0,top:o?n.top:m,bottom:o?n.bottom:m,left:p?n.left:f,right:p?n.right:f}},clientWidth:0,clientHeight:0}),w.popperInstance.scheduleUpdate()),"initial"===i&&w.state.isVisible&&k()}}function z(t){w.state.isEnabled&&!q(t)&&(w.state.isVisible||(e=t.type,t instanceof MouseEvent&&(b=t)),"click"===t.type&&!1!==w.props.hideOnClick&&w.state.isVisible?j():F(t))}function H(t){var e=rt(t.target,mt)===x,a=nt(t.target,function(t){return t===u});e||a||function(t,e,a,r){if(!t)return!0;var n=a.clientX,i=a.clientY,o=r.interactiveBorder,p=r.distance,s=e.top-i>("top"===t?o+p:o),l=i-e.bottom>("bottom"===t?o+p:o),c=e.left-n>("left"===t?o+p:o),d=n-e.right>("right"===t?o+p:o);return s||l||c||d}(Ht(x),x.getBoundingClientRect(),t,w.props)&&(A(),j())}function V(t){if(!q(t))return w.props.interactive?(document.body.addEventListener("mouseleave",j),void document.addEventListener("mousemove",v)):void j()}function _(t){t.target===E()&&(w.props.interactive&&t.relatedTarget&&x.contains(t.relatedTarget)||j())}function D(t){rt(t.target,w.props.target)&&F(t)}function P(t){rt(t.target,w.props.target)&&j()}function q(t){var e="ontouchstart"in window,a=xt(t.type,"touch"),r=w.props.touchHold;return e&&ut&&r&&!a||ut&&!r&&a}function N(){!f&&p&&(f=!0,function(t){t.offsetHeight}(x),p())}function B(){var e=w.props.popperOptions,t=w.popperChildren,o=t.tooltip,a=t.arrow,p=ht(e,"preventOverflow");function r(t){w.props.flip&&!w.props.flipOnUpdate&&(t.flipped&&(w.popperInstance.options.placement=t.placement),kt(w.popperInstance.modifiers,!1)),o.setAttribute(pt,t.placement),!1!==t.attributes[st]?o.setAttribute(st,""):o.removeAttribute(st),s&&s!==t.placement&&d&&(o.style.transition="none",requestAnimationFrame(function(){o.style.transition=""})),s=t.placement,d=w.state.isVisible;var e=Ht(x),a=o.style;a.top=a.bottom=a.left=a.right="",a[e]=function(t){return-(t-10)+"px"}(w.props.distance);var r=p&&void 0!==p.padding?p.padding:ot,n="number"==typeof r,i=Q({top:n?r:r.top,bottom:n?r:r.bottom,left:n?r:r.left,right:n?r:r.right},!n&&r);i[e]=n?r+w.props.distance:(r[e]||0)+w.props.distance,w.popperInstance.modifiers.filter(function(t){return"preventOverflow"===t.name})[0].padding=i,y=i}var n=Q({eventsEnabled:!1,placement:w.props.placement},e,{modifiers:Q({},e?e.modifiers:{},{preventOverflow:Q({boundariesElement:w.props.boundary,padding:ot},p),arrow:Q({element:a,enabled:!!a},ht(e,"arrow")),flip:Q({enabled:w.props.flip,padding:w.props.distance+ot,behavior:w.props.flipBehavior},ht(e,"flip")),offset:Q({offset:w.props.offset},ht(e,"offset"))}),onCreate:function(t){N(),r(t),e&&e.onCreate&&e.onCreate(t)},onUpdate:function(t){N(),r(t),e&&e.onUpdate&&e.onUpdate(t)}});w.popperInstance=new K(u,x,n)}function F(t,e){if(W(),!w.state.isVisible){if(w.props.target)return function(t){if(t){var e=rt(t.target,w.props.target);e&&!e._tippy&&Dt(e,Q({},w.props,{content:wt(r.content,[e]),appendTo:r.appendTo,target:"",showOnInit:!0}))}}(t);if(c=!0,t&&!e&&w.props.onTrigger(w,t),w.props.wait)return w.props.wait(w,t);C()&&!w.state.isMounted&&(w.popperInstance||B(),document.addEventListener("mousemove",M)),X();var a=yt(w.props.delay,0,$.delay);a?n=setTimeout(function(){J()},a):J()}}function j(){if(W(),!w.state.isVisible)return k();c=!1;var t=yt(w.props.delay,1,$.delay);t?a=setTimeout(function(){w.state.isVisible&&G()},t):i=requestAnimationFrame(function(){G()})}function U(t){if(!w.props.interactive||!x.contains(t.target)){if(E().contains(t.target)){if(ut)return;if(w.state.isVisible&&xt(w.props.trigger,"click"))return}!0===w.props.hideOnClick&&(W(),G())}}function W(){clearTimeout(n),clearTimeout(a),cancelAnimationFrame(i)}function R(e){Ct(e=e||{},$),S();var a=w.props,t=Yt(u,Q({},w.props,e,{ignoreAttributes:!0}));t.ignoreAttributes=bt(e,"ignoreAttributes")?e.ignoreAttributes||!1:a.ignoreAttributes,w.props=t,I(),A(),v=vt(H,e.interactiveDebounce||0),function(t,e,a){var r=Tt(t),n=r.tooltip,i=r.content,o=r.backdrop,p=r.arrow;t.style.zIndex=""+a.zIndex,n.setAttribute("data-size",a.size),n.setAttribute("data-animation",a.animation),n.style.maxWidth=a.maxWidth+("number"==typeof a.maxWidth?"px":""),a.role?t.setAttribute("role",a.role):t.removeAttribute("role"),e.content!==a.content&&Lt(i,a),!e.animateFill&&a.animateFill?(n.appendChild(Ot()),n.setAttribute("data-animatefill","")):e.animateFill&&!a.animateFill&&(n.removeChild(o),n.removeAttribute("data-animatefill")),!e.arrow&&a.arrow?n.appendChild(St(a.arrowType)):e.arrow&&!a.arrow&&n.removeChild(p),e.arrow&&a.arrow&&e.arrowType!==a.arrowType&&n.replaceChild(St(a.arrowType),p),!e.interactive&&a.interactive?Mt(t,n):e.interactive&&!a.interactive&&function(t,e){t.removeAttribute("tabindex"),e.removeAttribute("data-interactive")}(t,n),!e.inertia&&a.inertia?It(n):e.inertia&&!a.inertia&&function(t){t.removeAttribute("data-inertia")}(n),e.theme!==a.theme&&(Vt(n,"remove",e.theme),Vt(n,"add",a.theme))}(x,a,t),w.popperChildren=Tt(x),w.popperInstance&&(tt.some(function(t){return bt(e,t)&&e[t]!==a[t]})?(w.popperInstance.destroy(),B(),w.state.isVisible&&w.popperInstance.enableEventListeners(),w.props.followCursor&&b&&M(b)):w.popperInstance.update())}function J(){var t=0e.left&&t.tope.top}function nt(t,e){return t.x<=e.right&&t.x>=e.left&&t.y<=e.bottom&&t.y>=e.top}var rt={ratio:function(t,e,i){var n="width"===e?"height":"width",r={};return r[n]=t[e]?Math.round(i*t[n]/t[e]):t[n],r[e]=i,r},contain:function(i,n){var r=this;return J(i=G({},i),function(t,e){return i=i[e]>n[e]?r.ratio(i,e,n[e]):i}),i},cover:function(i,n){var r=this;return J(i=this.contain(i,n),function(t,e){return i=i[e]+~-]/,_t=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g;function Ct(t){return D(t)&&t.match(Et)}var At=/.*?[^\\](?:,|$)/g;var Mt=ut?Element.prototype:{},Nt=Mt.matches||Mt.webkitMatchesSelector||Mt.msMatchesSelector||et;function zt(t,e){return V(t).some(function(t){return Nt.call(t,e)})}var Dt=Mt.closest||function(t){var e=this;do{if(zt(e,t))return e}while(e=Pt(e))};function Bt(t,e){return w(e,">")&&(e=e.slice(1)),M(t)?Dt.call(t,e):V(t).map(function(t){return Bt(t,e)}).filter(Boolean)}function Pt(t){return(t=W(t))&&M(t.parentNode)&&t.parentNode}var Ot=ut&&window.CSS&&CSS.escape||function(t){return t.replace(/([^\x7f-\uFFFF\w-])/g,function(t){return"\\"+t})};function Ht(t){return D(t)?Ot.call(null,t):""}var Lt={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,menuitem:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};function Ft(t){return V(t).some(function(t){return Lt[t.tagName.toLowerCase()]})}function jt(t){return V(t).some(function(t){return t.offsetWidth||t.offsetHeight||t.getClientRects().length})}var Wt="input,select,textarea,button";function Vt(t){return V(t).some(function(t){return zt(t,Wt)})}function Rt(t,e){return V(t).filter(function(t){return zt(t,e)})}function qt(t,e){return D(e)?zt(t,e)||!!Bt(t,e):t===e||(_(e)?e.documentElement:W(e)).contains(W(t))}function Ut(t,e){for(var i=[];t=Pt(t);)e&&!zt(t,e)||i.push(t);return i}function Yt(t,e){var i=(t=W(t))?V(t.children):[];return e?Rt(i,e):i}function Xt(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i,n,r=Qt(t),o=r[0],s=r[1],a=r[2],h=r[3],u=r[4],o=ne(o);return 1]*>/,_e=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Ce(t){var e=_e.exec(t);if(e)return document.createElement(e[1]);var i=document.createElement("div");return Ee.test(t)?i.insertAdjacentHTML("beforeend",t.trim()):i.textContent=t,1n[u]){var i=p[s]/2,r="center"===l[a]?-m[s]/2:0;return"center"===c[a]&&(o(i,r)||o(-i,-r))||o(t,e)}function o(e,t){var i=(g[h]+e+t-2*d[a]).toFixed(4);if(i>=n[h]&&i+p[s]<=n[u])return g[h]=i,["element","target"].forEach(function(t){f[t][a]=e?f[t][a]===ri[s][1]?ri[s][2]:ri[s][1]:f[t][a]}),!0}})})),si(t,g),f}function si(i,n){if(!n)return ai(i);var r=si(i),o=Re(i,"position");["left","top"].forEach(function(t){var e;t in n&&(e=Re(i,t),Re(i,t,n[t]-r[t]+j("absolute"===o&&"auto"===e?hi(i)[t]:e)))})}function ai(t){if(!t)return{};var e,i,n=R(t),r=n.pageYOffset,o=n.pageXOffset;if(E(t)){var s=t.innerHeight,a=t.innerWidth;return{top:r,left:o,height:s,width:a,bottom:r+s,right:o+a}}jt(t)||"none"!==Re(t,"display")||(e=ot(t,"style"),i=ot(t,"hidden"),ot(t,{style:(e||"")+";display:block !important;",hidden:null}));var h=(t=W(t)).getBoundingClientRect();return H(e)||ot(t,{style:e,hidden:i}),{height:h.height,width:h.width,top:h.top+r,left:h.left+o,bottom:h.bottom+r,right:h.right+o}}function hi(t,e){e=e||W(t).offsetParent||R(t).document.documentElement;var i=si(t),n=si(e);return{top:i.top-n.top-j(Re(e,"borderTopWidth")),left:i.left-n.left-j(Re(e,"borderLeftWidth"))}}function ui(t){var e=[0,0];t=W(t);do{if(e[0]+=t.offsetTop,e[1]+=t.offsetLeft,"fixed"===Re(t,"position")){var i=R(t);return e[0]+=i.pageYOffset,e[1]+=i.pageXOffset,e}}while(t=t.offsetParent);return e}var ci=di("height"),li=di("width");function di(n){var r=p(n);return function(t,e){if(H(e)){if(E(t))return t["inner"+r];if(_(t)){var i=t.documentElement;return Math.max(i["offset"+r],i["scroll"+r])}return(e="auto"===(e=Re(t=W(t),n))?t["offset"+r]:j(e)||0)-fi(t,n)}Re(t,n,e||0===e?+e+fi(t,n)+"px":"")}}function fi(i,t,e){return void 0===e&&(e="border-box"),Re(i,"boxSizing")===e?ri[t].slice(1).map(p).reduce(function(t,e){return t+j(Re(i,"padding"+e))+j(Re(i,"border"+e+"Width"))},0):0}function pi(o,s,a,h){J(ri,function(t,e){var i=t[0],n=t[1],r=t[2];s[i]===r?o[n]+=a[e]*h:"center"===s[i]&&(o[n]+=a[e]*h/2)})}function mi(t){var e=/left|center|right/,i=/top|center|bottom/;return 1===(t=(t||"").split(" ")).length&&(t=e.test(t[0])?t.concat("center"):i.test(t[0])?["center"].concat(t):["center","center"]),{x:e.test(t[0])?t[0]:"center",y:i.test(t[1])?t[1]:"center"}}function gi(t,e,i){var n=(t||"").split(" "),r=n[0],o=n[1];return{x:r?j(r)*(u(r,"%")?e/100:1):0,y:o?j(o)*(u(o,"%")?i/100:1):0}}function vi(t){switch(t){case"left":return"right";case"right":return"left";case"top":return"bottom";case"bottom":return"top";default:return t}}function wi(t,e,i){return void 0===e&&(e="width"),void 0===i&&(i=window),P(t)?+t:u(t,"vh")?bi(ci(R(i)),t):u(t,"vw")?bi(li(R(i)),t):u(t,"%")?bi(ai(i)[e],t):j(t)}function bi(t,e){return t*j(e)/100}var xi={reads:[],writes:[],read:function(t){return this.reads.push(t),$i(),t},write:function(t){return this.writes.push(t),$i(),t},clear:function(t){return Si(this.reads,t)||Si(this.writes,t)},flush:yi};function yi(t){void 0===t&&(t=1),Ii(xi.reads),Ii(xi.writes.splice(0,xi.writes.length)),xi.scheduled=!1,(xi.reads.length||xi.writes.length)&&$i(t+1)}var ki=5;function $i(t){if(!xi.scheduled){if(xi.scheduled=!0,kiMath.round(si(t).height)}).reverse();return n.length?n:[i]}function Fi(t){return t===Wi(t)?window:t}function ji(t){return Li(t,/auto|scroll|hidden/)}function Wi(t){var e=R(t).document;return e.scrollingElement||e.documentElement}Ni.prototype.isVideo=function(){return this.isYoutube()||this.isVimeo()||this.isHTML5()},Ni.prototype.isHTML5=function(){return"VIDEO"===this.el.tagName},Ni.prototype.isIFrame=function(){return"IFRAME"===this.el.tagName},Ni.prototype.isYoutube=function(){return this.isIFrame()&&!!this.el.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)},Ni.prototype.isVimeo=function(){return this.isIFrame()&&!!this.el.src.match(/vimeo\.com\/video\/.*/)},Ni.prototype.enableApi=function(){var e=this;if(this.ready)return this.ready;var i,r=this.isYoutube(),o=this.isVimeo();return r||o?this.ready=new ae(function(t){var n;Kt(e.el,"load",function(){var t;r&&(t=function(){return Di(e.el,{event:"listening",id:e.id})},i=setInterval(t,100),t())}),n=function(t){return r&&t.id===e.id&&"onReady"===t.event||o&&Number(t.player_id)===e.id},new ae(function(i){return Kt(window,"message",function(t,e){return i(e)},!1,function(t){var e=t.data;if(e&&D(e)){try{e=JSON.parse(e)}catch(t){return}return e&&n(e)}})}).then(function(){t(),i&&clearInterval(i)}),ot(e.el,"src",e.el.src+(b(e.el.src,"?")?"&":"?")+(r?"enablejsapi=1":"api=1&player_id="+e.id))}):ae.resolve()},Ni.prototype.play=function(){var t=this;if(this.isVideo())if(this.isIFrame())this.enableApi().then(function(){return Di(t.el,{func:"playVideo",method:"play"})});else if(this.isHTML5())try{var e=this.el.play();e&&e.catch(et)}catch(t){}},Ni.prototype.pause=function(){var t=this;this.isVideo()&&(this.isIFrame()?this.enableApi().then(function(){return Di(t.el,{func:"pauseVideo",method:"pause"})}):this.isHTML5()&&this.el.pause())},Ni.prototype.mute=function(){var t=this;this.isVideo()&&(this.isIFrame()?this.enableApi().then(function(){return Di(t.el,{func:"mute",method:"setVolume",value:0})}):this.isHTML5()&&(this.el.muted=!0,ot(this.el,"muted","")))};var Vi=ut&&window.IntersectionObserver||function(){function t(e,t){var i=this;void 0===t&&(t={});var n=t.rootMargin;void 0===n&&(n="0 0"),this.targets=[];var r,o=(n||"0 0").split(" ").map(j),s=o[0],a=o[1];this.offsetTop=s,this.offsetLeft=a,this.apply=function(){r=r||requestAnimationFrame(function(){return setTimeout(function(){var t=i.takeRecords();t.length&&e(t,i),r=!1})})},this.off=Xt(window,"scroll resize load",this.apply,{passive:!0,capture:!0})}return t.prototype.takeRecords=function(){var i=this;return this.targets.filter(function(t){var e=Bi(t.target,i.offsetTop,i.offsetLeft);if(null===t.isIntersecting||e^t.isIntersecting)return t.isIntersecting=e,!0})},t.prototype.observe=function(t){this.targets.push({target:t,isIntersecting:null}),this.apply()},t.prototype.disconnect=function(){this.targets=[],this.off()},t}();function Ri(t){return!(!w(t,"bdt-")&&!w(t,"data-bdt-"))&&f(t.replace("data-bdt-","").replace("bdt-",""))}function qi(t){this._init(t)}var Ui,Yi,Xi,Gi,Ki,Ji,Zi,Qi,tn;function en(t,e){if(t)for(var i in t)t[i]._connected&&t[i]._callUpdate(e)}function nn(t,e){var i={},n=t.args;void 0===n&&(n=[]);var r=t.props;void 0===r&&(r={});var o=t.el;if(!r)return i;for(var s in r){var a=d(s),h=ht(o,a);H(h)||(h=r[s]===Boolean&&""===h||on(r[s],h),("target"!==a||h&&!w(h,"_"))&&(i[s]=h))}var u=Mi(ht(o,e),n);for(var c in u){var l=f(c);void 0!==r[l]&&(i[l]=on(r[l],u[c]))}return i}function rn(e,i,n){T(i)||(i={name:n,handler:i});var t=i.name,r=i.el,o=i.handler,s=i.capture,a=i.passive,h=i.delegate,u=i.filter,c=i.self,r=$(r)?r.call(e):r||e.$el;k(r)?r.forEach(function(t){return rn(e,G({},i,{el:t}),n)}):!r||u&&!u.call(e)||e._events.push(Xt(r,t,h?D(h)?h:h.call(e):null,D(o)?e[o]:o.bind(e),{passive:a,capture:s,self:c}))}function on(t,e){return t===Boolean?L(e):t===Number?F(e):"list"===t?q(e):t?t(e):e}qi.util=Object.freeze({__proto__:null,ajax:de,getImage:fe,transition:Ze,Transition:Qe,animate:ei,Animation:ni,attr:ot,hasAttr:st,removeAttr:at,data:ht,addClass:De,removeClass:Be,removeClasses:Pe,replaceClass:Oe,hasClass:He,toggleClass:Le,positionAt:oi,offset:si,position:hi,offsetPosition:ui,height:ci,width:li,boxModelAdjust:fi,flipPosition:vi,toPx:wi,ready:pe,index:me,getIndex:ge,empty:ve,html:we,prepend:function(e,t){return(e=Me(e)).hasChildNodes()?ke(t,function(t){return e.insertBefore(t,e.firstChild)}):be(e,t)},append:be,before:xe,after:ye,remove:$e,wrapAll:Ie,wrapInner:Se,unwrap:Te,fragment:Ce,apply:Ae,$:Me,$$:Ne,inBrowser:ut,isIE:ct,isRtl:lt,hasTouch:pt,pointerDown:mt,pointerMove:gt,pointerUp:vt,pointerEnter:wt,pointerLeave:bt,pointerCancel:xt,on:Xt,off:Gt,once:Kt,trigger:Jt,createEvent:Zt,toEventTargets:ne,isTouch:re,getEventPos:oe,fastdom:xi,isVoidElement:Ft,isVisible:jt,selInput:Wt,isInput:Vt,filter:Rt,within:qt,parents:Ut,children:Yt,hasOwn:l,hyphenate:d,camelize:f,ucfirst:p,startsWith:w,endsWith:u,includes:b,findIndex:y,isArray:k,isFunction:$,isObject:I,isPlainObject:T,isWindow:E,isDocument:_,isJQuery:C,isNode:A,isElement:M,isNodeCollection:N,isBoolean:z,isString:D,isNumber:B,isNumeric:P,isEmpty:O,isUndefined:H,toBoolean:L,toNumber:F,toFloat:j,toNode:W,toNodes:V,toWindow:R,toList:q,toMs:U,isEqual:Y,swap:X,assign:G,last:K,each:J,sortBy:Z,uniqueBy:Q,clamp:tt,noop:et,intersectRect:it,pointInRect:nt,Dimensions:rt,MouseTracker:Ti,mergeOptions:Ai,parseOptions:Mi,Player:Ni,Promise:ae,Deferred:se,IntersectionObserver:Vi,query:yt,queryAll:kt,find:It,findAll:St,matches:zt,closest:Bt,parent:Pt,escape:Ht,css:Re,getStyles:qe,getStyle:Ue,getCssVar:Xe,propName:Ke,isInView:Bi,scrollTop:Pi,scrollIntoView:Oi,scrolledOver:Hi,scrollParents:Li,getViewport:Fi}),qi.data="__uikit__",qi.prefix="bdt-",qi.options={},qi.version="3.5.3",Xi=(Ui=qi).data,Ui.use=function(t){if(!t.installed)return t.call(null,this),t.installed=!0,this},Ui.mixin=function(t,e){(e=(D(e)?Ui.component(e):e)||this).options=Ai(e.options,t)},Ui.extend=function(t){t=t||{};function e(t){this._init(t)}return((e.prototype=Object.create(this.prototype)).constructor=e).options=Ai(this.options,t),e.super=this,e.extend=this.extend,e},Ui.update=function(t,e){Ut(t=t?W(t):document.body).reverse().forEach(function(t){return en(t[Xi],e)}),Ae(t,function(t){return en(t[Xi],e)})},Object.defineProperty(Ui,"container",{get:function(){return Yi||document.body},set:function(t){Yi=Me(t)}}),(Gi=qi).prototype._callHook=function(t){var e=this,i=this.$options[t];i&&i.forEach(function(t){return t.call(e)})},Gi.prototype._callConnected=function(){this._connected||(this._data={},this._computeds={},this._frames={reads:{},writes:{}},this._initProps(),this._callHook("beforeConnect"),this._connected=!0,this._initEvents(),this._initObserver(),this._callHook("connected"),this._callUpdate())},Gi.prototype._callDisconnected=function(){this._connected&&(this._callHook("beforeDisconnect"),this._observer&&(this._observer.disconnect(),this._observer=null),this._unbindEvents(),this._callHook("disconnected"),this._connected=!1)},Gi.prototype._callUpdate=function(t){var o=this;void 0===t&&(t="update");var s=t.type||t;b(["update","resize"],s)&&this._callWatches();var e=this.$options.update,i=this._frames,a=i.reads,h=i.writes;e&&e.forEach(function(t,e){var i=t.read,n=t.write,r=t.events;"update"!==s&&!b(r,s)||(i&&!b(xi.reads,a[e])&&(a[e]=xi.read(function(){var t=o._connected&&i.call(o,o._data,s);!1===t&&n?xi.clear(h[e]):T(t)&&G(o._data,t)})),n&&!b(xi.writes,h[e])&&(h[e]=xi.write(function(){return o._connected&&n.call(o,o._data,s)})))})},Gi.prototype._callWatches=function(){var h,u=this,c=this._frames;c._watch||(h=!l(c,"_watch"),c._watch=xi.read(function(){if(u._connected){var t=u.$options.computed,e=u._computeds;for(var i in t){var n=l(e,i),r=e[i];delete e[i];var o=t[i],s=o.watch,a=o.immediate;s&&(h&&a||n&&!Y(r,u[i]))&&s.call(u,u[i],r)}c._watch=null}}))},Ji=0,(Ki=qi).prototype._init=function(t){(t=t||{}).data=function(t,e){var i=t.data,n=(t.el,e.args),r=e.props;void 0===r&&(r={});if(i=k(i)?O(n)?void 0:i.slice(0,n.length).reduce(function(t,e,i){return T(e)?G(t,e):t[n[i]]=e,t},{}):i)for(var o in i)H(i[o])?delete i[o]:i[o]=r[o]?on(r[o],i[o]):i[o];return i}(t,this.constructor.options),this.$options=Ai(this.constructor.options,t,this),this.$el=null,this.$props={},this._uid=Ji++,this._initData(),this._initMethods(),this._initComputeds(),this._callHook("created"),t.el&&this.$mount(t.el)},Ki.prototype._initData=function(){var t=this.$options.data;for(var e in void 0===t&&(t={}),t)this.$props[e]=this[e]=t[e]},Ki.prototype._initMethods=function(){var t=this.$options.methods;if(t)for(var e in t)this[e]=t[e].bind(this)},Ki.prototype._initComputeds=function(){var t=this.$options.computed;if(this._computeds={},t)for(var e in t)!function(n,r,o){Object.defineProperty(n,r,{enumerable:!0,get:function(){var t=n._computeds,e=n.$props,i=n.$el;return l(t,r)||(t[r]=(o.get||o).call(n,e,i)),t[r]},set:function(t){var e=n._computeds;e[r]=o.set?o.set.call(n,t):t,H(e[r])&&delete e[r]}})}(this,e,t[e])},Ki.prototype._initProps=function(t){var e;for(e in t=t||nn(this.$options,this.$name))H(t[e])||(this.$props[e]=t[e]);var i=[this.$options.computed,this.$options.methods];for(e in this.$props)e in t&&function(t,e){return t.every(function(t){return!t||!l(t,e)})}(i,e)&&(this[e]=this.$props[e])},Ki.prototype._initEvents=function(){var i=this;this._events=[];var t=this.$options.events;t&&t.forEach(function(t){if(l(t,"handler"))rn(i,t);else for(var e in t)rn(i,t[e],e)})},Ki.prototype._unbindEvents=function(){this._events.forEach(function(t){return t()}),delete this._events},Ki.prototype._initObserver=function(){var t,n=this,e=this.$options,r=e.attrs,i=e.props,o=e.el;!this._observer&&i&&!1!==r&&(r=k(r)?r:Object.keys(i),this._observer=new MutationObserver(function(t){var i=nn(n.$options,n.$name);t.some(function(t){var e=t.attributeName.replace("data-","");return(e===n.$name?r:[f(e)]).some(function(t){return!H(i[t])&&i[t]!==n.$props[t]})})&&n.$reset()}),t=r.map(d).concat(this.$name),this._observer.observe(o,{attributes:!0,attributeFilter:t.concat(t.map(function(t){return"data-"+t}))}))},Qi=(Zi=qi).data,tn={},Zi.component=function(s,t){var e=d(s);if(s=f(e),!t)return T(tn[s])&&(tn[s]=Zi.extend(tn[s])),tn[s];Zi[s]=function(t,i){for(var e=arguments.length,n=Array(e);e--;)n[e]=arguments[e];var r=Zi.component(s);return r.options.functional?new r({data:T(t)?t:[].concat(n)}):t?Ne(t).map(o)[0]:o(t);function o(t){var e=Zi.getComponent(t,s);if(e){if(!i)return e;e.$destroy()}return new r({el:t,data:i})}};var i=T(t)?G({},t):t.options;return i.name=s,i.install&&i.install(Zi,i,s),Zi._initialized&&!i.functional&&xi.read(function(){return Zi[s]("[bdt-"+e+"],[data-bdt-"+e+"]")}),tn[s]=T(t)?i:t},Zi.getComponents=function(t){return t&&t[Qi]||{}},Zi.getComponent=function(t,e){return Zi.getComponents(t)[e]},Zi.connect=function(t){if(t[Qi])for(var e in t[Qi])t[Qi][e]._callConnected();for(var i=0;i *",active:!1,animation:[!0],collapsible:!0,multiple:!1,clsOpen:"bdt-open",toggle:"> .bdt-accordion-title",content:"> .bdt-accordion-content",transition:"ease",offset:0},computed:{items:{get:function(t,e){return Ne(t.targets,e)},watch:function(t,e){var i,n=this;t.forEach(function(t){return cn(Me(n.content,t),!He(t,n.clsOpen))}),e||He(t,this.clsOpen)||(i=!1!==this.active&&t[Number(this.active)]||!this.collapsible&&t[0])&&this.toggle(i,!1)},immediate:!0}},events:[{name:"click",delegate:function(){return this.targets+" "+this.$props.toggle},handler:function(t){t.preventDefault(),this.toggle(me(Ne(this.targets+" "+this.$props.toggle,this.$el),t.current))}}],methods:{toggle:function(t,r){var o=this,e=[this.items[ge(t,this.items)]],i=Rt(this.items,"."+this.clsOpen);this.multiple||b(i,e[0])||(e=e.concat(i)),(this.collapsible||Rt(e,":not(."+this.clsOpen+")").length)&&e.forEach(function(t){return o.toggleElement(t,!He(t,o.clsOpen),function(e,i){Le(e,o.clsOpen,i);var n=Me((e._wrapper?"> * ":"")+o.content,e);if(!1!==r&&o.hasTransition)return e._wrapper||(e._wrapper=Ie(n,"")),cn(n,!1),hn(o)(e._wrapper,i).then(function(){var t;cn(n,!i),delete e._wrapper,Te(n),i&&(Bi(t=Me(o.$props.toggle,e))||Oi(t,{offset:o.offset}))});cn(n,!i)})})}}};function cn(t,e){ot(t,"hidden",e?"":null)}var ln={mixins:[sn,an],args:"animation",props:{close:String},data:{animation:[!0],selClose:".bdt-alert-close",duration:150,hideProps:G({opacity:0},an.data.hideProps)},events:[{name:"click",delegate:function(){return this.selClose},handler:function(t){t.preventDefault(),this.close()}}],methods:{close:function(){var t=this;this.toggleElement(this.$el).then(function(){return t.$destroy(!0)})}}},dn={args:"autoplay",props:{automute:Boolean,autoplay:Boolean},data:{automute:!1,autoplay:!0},computed:{inView:function(t){return"inview"===t.autoplay}},connected:function(){this.inView&&!st(this.$el,"preload")&&(this.$el.preload="none"),this.player=new Ni(this.$el),this.automute&&this.player.mute()},update:{read:function(){return!!this.player&&{visible:jt(this.$el)&&"hidden"!==Re(this.$el,"visibility"),inView:this.inView&&Bi(this.$el)}},write:function(t){var e=t.visible,i=t.inView;!e||this.inView&&!i?this.player.pause():(!0===this.autoplay||this.inView&&i)&&this.player.play()},events:["resize","scroll"]}},fn={mixins:[sn,dn],props:{width:Number,height:Number},data:{automute:!0},update:{read:function(){var t=this.$el,e=function(t){for(;t=Pt(t);)if("static"!==Re(t,"position"))return t}(t)||t.parentNode,i=e.offsetHeight,n=e.offsetWidth,r=rt.cover({width:this.width||t.naturalWidth||t.videoWidth||t.clientWidth,height:this.height||t.naturalHeight||t.videoHeight||t.clientHeight},{width:n+(n%2?1:0),height:i+(i%2?1:0)});return!(!r.width||!r.height)&&r},write:function(t){var e=t.height,i=t.width;Re(this.$el,{height:e,width:i})},events:["resize"]}};var pn,mn={props:{pos:String,offset:null,flip:Boolean,clsPos:String},data:{pos:"bottom-"+(lt?"right":"left"),flip:!0,offset:!1,clsPos:""},computed:{pos:function(t){var e=t.pos;return(e+(b(e,"-")?"":"-center")).split("-")},dir:function(){return this.pos[0]},align:function(){return this.pos[1]}},methods:{positionAt:function(t,e,i){var n;Pe(t,this.clsPos+"-(top|bottom|left|right)(-[a-z]+)?");var r=this.offset,o=this.getAxis();P(r)||(r=(n=Me(r))?si(n)["x"===o?"left":"top"]-si(e)["x"===o?"right":"bottom"]:0);var s=oi(t,e,"x"===o?vi(this.dir)+" "+this.align:this.align+" "+vi(this.dir),"x"===o?this.dir+" "+this.align:this.align+" "+this.dir,"x"===o?""+("left"===this.dir?-r:r):" "+("top"===this.dir?-r:r),null,this.flip,i).target,a=s.x,h=s.y;this.dir="x"===o?a:h,this.align="x"===o?h:a,Le(t,this.clsPos+"-"+this.dir+"-"+this.align,!1===this.offset)},getAxis:function(){return"top"===this.dir||"bottom"===this.dir?"y":"x"}}},gn={mixins:[mn,an],args:"pos",props:{mode:"list",toggle:Boolean,boundary:Boolean,boundaryAlign:Boolean,delayShow:Number,delayHide:Number,clsDrop:String},data:{mode:["click","hover"],toggle:"- *",boundary:ut&&window,boundaryAlign:!1,delayShow:0,delayHide:800,clsDrop:!1,animation:["bdt-animation-fade"],cls:"bdt-open"},computed:{boundary:function(t,e){return yt(t.boundary,e)},clsDrop:function(t){return t.clsDrop||"bdt-"+this.$options.name},clsPos:function(){return this.clsDrop}},created:function(){this.tracker=new Ti},connected:function(){De(this.$el,this.clsDrop);var t=this.$props.toggle;this.toggle=t&&this.$create("toggle",yt(t,this.$el),{target:this.$el,mode:this.mode}),this.toggle||Jt(this.$el,"updatearia")},disconnected:function(){this.isActive()&&(pn=null)},events:[{name:"click",delegate:function(){return"."+this.clsDrop+"-close"},handler:function(t){t.preventDefault(),this.hide(!1)}},{name:"click",delegate:function(){return'a[href^="#"]'},handler:function(t){var e=t.defaultPrevented,i=t.current.hash;e||!i||qt(i,this.$el)||this.hide(!1)}},{name:"beforescroll",handler:function(){this.hide(!1)}},{name:"toggle",self:!0,handler:function(t,e){t.preventDefault(),this.isToggled()?this.hide(!1):this.show(e,!1)}},{name:"toggleshow",self:!0,handler:function(t,e){t.preventDefault(),this.show(e)}},{name:"togglehide",self:!0,handler:function(t){t.preventDefault(),this.hide()}},{name:wt,filter:function(){return b(this.mode,"hover")},handler:function(t){re(t)||this.clearTimers()}},{name:bt,filter:function(){return b(this.mode,"hover")},handler:function(t){re(t)||this.hide()}},{name:"toggled",self:!0,handler:function(){this.isToggled()&&(this.clearTimers(),this.position())}},{name:"show",self:!0,handler:function(){var o=this;(pn=this).tracker.init(),Jt(this.$el,"updatearia"),Kt(this.$el,"hide",Xt(document,mt,function(t){var r=t.target;return!qt(r,o.$el)&&Kt(document,vt+" "+xt+" scroll",function(t){var e=t.defaultPrevented,i=t.type,n=t.target;e||i!==vt||r!==n||o.toggle&&qt(r,o.toggle.$el)||o.hide(!1)},!0)}),{self:!0}),Kt(this.$el,"hide",Xt(document,"keydown",function(t){27===t.keyCode&&(t.preventDefault(),o.hide(!1))}),{self:!0})}},{name:"beforehide",self:!0,handler:function(){this.clearTimers()}},{name:"hide",handler:function(t){var e=t.target;this.$el===e?(pn=this.isActive()?null:pn,Jt(this.$el,"updatearia"),this.tracker.cancel()):pn=null===pn&&qt(e,this.$el)&&this.isToggled()?this:pn}},{name:"updatearia",self:!0,handler:function(t,e){t.preventDefault(),this.updateAria(this.$el),(e||this.toggle)&&(ot((e||this.toggle).$el,"aria-expanded",this.isToggled()),Le(this.toggle.$el,this.cls,this.isToggled()))}}],update:{write:function(){this.isToggled()&&!ni.inProgress(this.$el)&&this.position()},events:["resize"]},methods:{show:function(t,e){var i,n=this;if(void 0===t&&(t=this.toggle),void 0===e&&(e=!0),this.isToggled()&&t&&this.toggle&&t.$el!==this.toggle.$el&&this.hide(!1),this.toggle=t,this.clearTimers(),!this.isActive()){if(pn){if(e&&pn.isDelaying)return void(this.showTimer=setTimeout(this.show,10));for(;pn&&i!==pn&&!qt(this.$el,pn.$el);)(i=pn).hide(!1)}this.showTimer=setTimeout(function(){return!n.isToggled()&&n.toggleElement(n.$el,!0)},e&&this.delayShow||0)}},hide:function(t){var e=this;void 0===t&&(t=!0);function i(){return e.toggleElement(e.$el,!1,!1)}var n,r;this.clearTimers(),this.isDelaying=(n=this.$el,r=[],Ae(n,function(t){return"static"!==Re(t,"position")&&r.push(t)}),r.some(function(t){return e.tracker.movesTo(t)})),t&&this.isDelaying?this.hideTimer=setTimeout(this.hide,50):t&&this.delayHide?this.hideTimer=setTimeout(i,this.delayHide):i()},clearTimers:function(){clearTimeout(this.showTimer),clearTimeout(this.hideTimer),this.showTimer=null,this.hideTimer=null,this.isDelaying=!1},isActive:function(){return pn===this},position:function(){Be(this.$el,this.clsDrop+"-stack"),Le(this.$el,this.clsDrop+"-boundary",this.boundaryAlign);var t,e=si(this.boundary),i=this.boundaryAlign?e:si(this.toggle.$el);"justify"===this.align?(t="y"===this.getAxis()?"width":"height",Re(this.$el,t,i[t])):this.$el.offsetWidth>Math.max(e.right-i.left,i.right-e.left)&&De(this.$el,this.clsDrop+"-stack"),this.positionAt(this.$el,this.boundaryAlign?this.boundary:this.toggle.$el,this.boundary)}}};var vn={mixins:[sn],args:"target",props:{target:Boolean},data:{target:!1},computed:{input:function(t,e){return Me(Wt,e)},state:function(){return this.input.nextElementSibling},target:function(t,e){var i=t.target;return i&&(!0===i&&this.input.parentNode===e&&this.input.nextElementSibling||yt(i,e))}},update:function(){var t,e,i,n=this.target,r=this.input;!n||n[e=Vt(n)?"value":"textContent"]!==(i=r.files&&r.files[0]?r.files[0].name:zt(r,"select")&&(t=Ne("option",r).filter(function(t){return t.selected})[0])?t.textContent:r.value)&&(n[e]=i)},events:[{name:"change",handler:function(){this.$update()}},{name:"reset",el:function(){return Bt(this.$el,"form")},handler:function(){this.$update()}}]},wn={update:{read:function(t){var e=Bi(this.$el);if(!e||t.isInView===e)return!1;t.isInView=e},write:function(){this.$el.src=""+this.$el.src},events:["scroll","resize"]}},bn={props:{margin:String,firstColumn:Boolean},data:{margin:"bdt-margin-small-top",firstColumn:"bdt-first-column"},update:{read:function(){return{columns:(t=this.$el.children,e=yn(t,"left","right"),lt?e.reverse():e),rows:xn(this.$el.children)};var t,e},write:function(t){var i=this,n=t.columns;t.rows.forEach(function(t,e){return t.forEach(function(t){Le(t,i.margin,0!==e),Le(t,i.firstColumn,b(n[0],t))})})},events:["resize"]}};function xn(t){return yn(t,"top","bottom")}function yn(t,e,i){for(var n=[[]],r=0;r=u[i]-1&&s[e]!==u[e]){n.push([o]);break}if(s[i]-1>u[e]||s[e]===u[e]){h.push(o);break}if(0===a){n.unshift([o]);break}}}return n}function kn(t,e){var i;void 0===e&&(e=!1);var n=t.offsetTop,r=t.offsetLeft,o=t.offsetHeight,s=t.offsetWidth;return e&&(n=(i=ui(t))[0],r=i[1]),{top:n,left:r,bottom:n+o,right:r+s}}var $n={extends:bn,mixins:[sn],name:"grid",props:{masonry:Boolean,parallax:Number},data:{margin:"bdt-grid-margin",clsStack:"bdt-grid-stack",masonry:!1,parallax:0},connected:function(){this.masonry&&De(this.$el,"bdt-flex-top bdt-flex-wrap-top")},update:[{write:function(t){var e=t.columns;Le(this.$el,this.clsStack,e.length<2)},events:["resize"]},{read:function(t){var e=t.columns,i=t.rows,n=Yt(this.$el);if(!n.length||!this.masonry&&!this.parallax)return!1;var r,o,s,a,h,u=n.some(Qe.inProgress),c=!1,l=e.map(function(t){return t.reduce(function(t,e){return t+e.offsetHeight},0)}),d=(r=n,o=this.margin,j((s=r.filter(function(t){return He(t,o)})[0])?Re(s,"marginTop"):Re(r[0],"paddingLeft"))*(i.length-1)),f=Math.max.apply(Math,l)+d;this.masonry&&(e=e.map(function(t){return Z(t,"offsetTop")}),a=e,h=i.map(function(t){return Math.max.apply(Math,t.map(function(t){return t.offsetHeight}))}),c=a.map(function(i){var n=0;return i.map(function(t,e){return n+=e?h[e-1]-i[e-1].offsetHeight:0})}));var p=Math.abs(this.parallax);return{padding:p=p&&l.reduce(function(t,e,i){return Math.max(t,e+d+(i%2?p:p/8)-f)},0),columns:e,translates:c,height:!u&&(this.masonry?f:"")}},write:function(t){var e=t.height,i=t.padding;Re(this.$el,"paddingBottom",i||""),!1!==e&&Re(this.$el,"height",e)},events:["resize"]},{read:function(t){var e=t.height;return{scrolled:!!this.parallax&&Hi(this.$el,e?e-ci(this.$el):0)*Math.abs(this.parallax)}},write:function(t){var e=t.columns,n=t.scrolled,r=t.translates;!1===n&&!r||e.forEach(function(t,i){return t.forEach(function(t,e){return Re(t,"transform",n||r?"translateY("+((r&&-r[i][e])+(n?i%2?n:n/8:0))+"px)":"")})})},events:["scroll","resize"]}]};var In=ct?{props:{selMinHeight:String},data:{selMinHeight:!1,forceHeight:!1},computed:{elements:function(t,e){var i=t.selMinHeight;return i?Ne(i,e):[e]}},update:[{read:function(){Re(this.elements,"height","")},order:-5,events:["resize"]},{write:function(){var i=this;this.elements.forEach(function(t){var e=j(Re(t,"minHeight"));e&&(i.forceHeight||Math.round(e+fi(t,"height","content-box"))>=t.offsetHeight)&&Re(t,"height",e)})},order:5,events:["resize"]}]}:{},Sn={mixins:[In],args:"target",props:{target:String,row:Boolean},data:{target:"> *",row:!0,forceHeight:!0},computed:{elements:function(t,e){return Ne(t.target,e)}},update:{read:function(){return{rows:(this.row?xn(this.elements):[this.elements]).map(Tn)}},write:function(t){t.rows.forEach(function(t){var i=t.heights;return t.elements.forEach(function(t,e){return Re(t,"minHeight",i[e])})})},events:["resize"]}};function Tn(t){var e;if(t.length<2)return{heights:[""],elements:t};var i=En(t),n=i.heights,r=i.max,o=t.some(function(t){return t.style.minHeight}),s=t.some(function(t,e){return!t.style.minHeight&&n[e]"}return zn[t][e]}(t,e)||t);return(t=Me(t.substr(t.indexOf("/g,zn={};function Dn(t){return Math.ceil(Math.max.apply(Math,[0].concat(Ne("[stroke]",t).map(function(t){try{return t.getTotalLength()}catch(t){return 0}}))))}function Bn(t,e){return ot(t,"data-svg")===ot(e,"data-svg")}var Pn={spinner:'',totop:'',marker:'',"close-icon":'',"close-large":'',"navbar-toggle-icon":'',"overlay-icon":'',"pagination-next":'',"pagination-previous":'',"search-icon":'',"search-large":'',"search-navbar":'',"slidenav-next":'',"slidenav-next-large":'',"slidenav-previous":'',"slidenav-previous-large":''},On={install:function(r){r.icon.add=function(t,e){var i,n=D(t)?((i={})[t]=e,i):t;J(n,function(t,e){Pn[e]=t,delete Vn[e]}),r._initialized&&Ae(document.body,function(t){return J(r.getComponents(t),function(t){t.$options.isIcon&&t.icon in n&&t.$reset()})})}},extends:An,args:"icon",props:["icon"],data:{include:["focusable"]},isIcon:!0,beforeConnect:function(){De(this.$el,"bdt-icon")},methods:{getSvg:function(){var t=function(t){if(!Pn[t])return null;Vn[t]||(Vn[t]=Me((Pn[function(t){return lt?X(X(t,"left","right"),"previous","next"):t}(t)]||Pn[t]).trim()));return Vn[t].cloneNode(!0)}(this.icon);return t?ae.resolve(t):ae.reject("Icon not found.")}}},Hn={args:!1,extends:On,data:function(t){return{icon:d(t.constructor.options.name)}},beforeConnect:function(){De(this.$el,this.$name)}},Ln={extends:Hn,beforeConnect:function(){De(this.$el,"bdt-slidenav")},computed:{icon:function(t,e){var i=t.icon;return He(e,"bdt-slidenav-large")?i+"-large":i}}},Fn={extends:Hn,computed:{icon:function(t,e){var i=t.icon;return He(e,"bdt-search-icon")&&Ut(e,".bdt-search-large").length?"search-large":Ut(e,".bdt-search-navbar").length?"search-navbar":i}}},jn={extends:Hn,computed:{icon:function(){return"close-"+(He(this.$el,"bdt-close-large")?"large":"icon")}}},Wn={extends:Hn,connected:function(){var e=this;this.svg.then(function(t){return 1!==e.ratio&&Re(Me("circle",t),"strokeWidth",1/e.ratio)},et)}},Vn={};var Rn={args:"dataSrc",props:{dataSrc:String,dataSrcset:Boolean,sizes:String,width:Number,height:Number,offsetTop:String,offsetLeft:String,target:String},data:{dataSrc:"",dataSrcset:!1,sizes:!1,width:!1,height:!1,offsetTop:"50vh",offsetLeft:0,target:!1},computed:{cacheKey:function(t){var e=t.dataSrc;return this.$name+"."+e},width:function(t){var e=t.width,i=t.dataWidth;return e||i},height:function(t){var e=t.height,i=t.dataHeight;return e||i},sizes:function(t){var e=t.sizes,i=t.dataSizes;return e||i},isImg:function(t,e){return Jn(e)},target:{get:function(t){var e=t.target;return[this.$el].concat(kt(e,this.$el))},watch:function(){this.observe()}},offsetTop:function(t){return wi(t.offsetTop,"height")},offsetLeft:function(t){return wi(t.offsetLeft,"width")}},connected:function(){Qn[this.cacheKey]?qn(this.$el,Qn[this.cacheKey]||this.dataSrc,this.dataSrcset,this.sizes):this.isImg&&this.width&&this.height&&qn(this.$el,function(t,e,i){var n;i&&(n=rt.ratio({width:t,height:e},"width",wi(Yn(i))),t=n.width,e=n.height);return'data:image/svg+xml;utf8,'}(this.width,this.height,this.sizes)),this.observer=new Vi(this.load,{rootMargin:this.offsetTop+"px "+this.offsetLeft+"px"}),requestAnimationFrame(this.observe)},disconnected:function(){this.observer.disconnect()},update:{read:function(t){var e=this,i=t.image;if(i||"complete"!==document.readyState||this.load(this.observer.takeRecords()),this.isImg)return!1;i&&i.then(function(t){return t&&""!==t.currentSrc&&qn(e.$el,Zn(t))})},write:function(t){var e,i,n,r,o;this.dataSrcset&&1!==window.devicePixelRatio&&(!(e=Re(this.$el,"backgroundSize")).match(/^(auto\s?)+$/)&&j(e)!==t.bgSize||(t.bgSize=(i=this.dataSrcset,n=this.sizes,r=wi(Yn(n)),(o=(i.match(Kn)||[]).map(j).sort(function(t,e){return t-e})).filter(function(t){return r<=t})[0]||o.pop()||""),Re(this.$el,"backgroundSize",t.bgSize+"px")))},events:["resize"]},methods:{load:function(t){var e=this;t.some(function(t){return H(t.isIntersecting)||t.isIntersecting})&&(this._data.image=fe(this.dataSrc,this.dataSrcset,this.sizes).then(function(t){return qn(e.$el,Zn(t),t.srcset,t.sizes),Qn[e.cacheKey]=Zn(t),t},et),this.observer.disconnect())},observe:function(){var e=this;this._connected&&!this._data.image&&this.target.forEach(function(t){return e.observer.observe(t)})}}};function qn(t,e,i,n){Jn(t)?(n&&(t.sizes=n),i&&(t.srcset=i),e&&(t.src=e)):e&&!b(t.style.backgroundImage,e)&&(Re(t,"backgroundImage","url("+Ht(e)+")"),Jt(t,Zt("load",!1)))}var Un=/\s*(.*?)\s*(\w+|calc\(.*?\))\s*(?:,|$)/g;function Yn(t){var e,i;for(Un.lastIndex=0;e=Un.exec(t);)if(!e[1]||window.matchMedia(e[1]).matches){e=w(i=e[2],"calc")?i.substring(5,i.length-1).replace(Xn,function(t){return wi(t)}).replace(/ /g,"").match(Gn).reduce(function(t,e){return t+ +e},0):i;break}return e||"100vw"}var Xn=/\d+(?:\w+|%)/g,Gn=/[+-]?(\d+)/g;var Kn=/\s+\d+w\s*(?:,|$)/g;function Jn(t){return"IMG"===t.tagName}function Zn(t){return t.currentSrc||t.src}var Qn,tr="__test__";try{(Qn=window.sessionStorage||{})[tr]=1,delete Qn[tr]}catch(t){Qn={}}var er={props:{media:Boolean},data:{media:!1},computed:{matchMedia:function(){var t=function(t){if(D(t)){if("@"===t[0])t=j(Xe("breakpoint-"+t.substr(1)));else if(isNaN(t))return t}return!(!t||isNaN(t))&&"(min-width: "+t+"px)"}(this.media);return!t||window.matchMedia(t).matches}}};var ir={mixins:[sn,er],props:{fill:String},data:{fill:"",clsWrapper:"bdt-leader-fill",clsHide:"bdt-leader-hide",attrFill:"data-fill"},computed:{fill:function(t){return t.fill||Xe("leader-fill-content")}},connected:function(){var t=Se(this.$el,'');this.wrapper=t[0]},disconnected:function(){Te(this.wrapper.childNodes)},update:{read:function(t){var e=t.changed,i=t.width,n=i;return{width:i=Math.floor(this.$el.offsetWidth/2),fill:this.fill,changed:e||n!==i,hide:!this.matchMedia}},write:function(t){Le(this.wrapper,this.clsHide,t.hide),t.changed&&(t.changed=!1,ot(this.wrapper,this.attrFill,new Array(t.width).join(t.fill)))},events:["resize"]}},nr={props:{container:Boolean},data:{container:!0},computed:{container:function(t){var e=t.container;return!0===e&&this.$container||e&&Me(e)}}},rr=[],or={mixins:[sn,nr,an],props:{selPanel:String,selClose:String,escClose:Boolean,bgClose:Boolean,stack:Boolean},data:{cls:"bdt-open",escClose:!0,bgClose:!0,overlay:!0,stack:!1},computed:{panel:function(t,e){return Me(t.selPanel,e)},transitionElement:function(){return this.panel},bgClose:function(t){return t.bgClose&&this.panel}},beforeDisconnect:function(){this.isToggled()&&this.toggleElement(this.$el,!1,!1)},events:[{name:"click",delegate:function(){return this.selClose},handler:function(t){t.preventDefault(),this.hide()}},{name:"toggle",self:!0,handler:function(t){t.defaultPrevented||(t.preventDefault(),this.isToggled()===b(rr,this)&&this.toggle())}},{name:"beforeshow",self:!0,handler:function(t){if(b(rr,this))return!1;!this.stack&&rr.length?(ae.all(rr.map(function(t){return t.hide()})).then(this.show),t.preventDefault()):rr.push(this)}},{name:"show",self:!0,handler:function(){var o=this;li(window)-li(document)&&this.overlay&&Re(document.body,"overflowY","scroll"),this.stack&&Re(this.$el,"zIndex",Re(this.$el,"zIndex")+rr.length),De(document.documentElement,this.clsPage),this.bgClose&&Kt(this.$el,"hide",Xt(document,mt,function(t){var r=t.target;K(rr)!==o||o.overlay&&!qt(r,o.$el)||qt(r,o.panel)||Kt(document,vt+" "+xt+" scroll",function(t){var e=t.defaultPrevented,i=t.type,n=t.target;e||i!==vt||r!==n||o.hide()},!0)}),{self:!0}),this.escClose&&Kt(this.$el,"hide",Xt(document,"keydown",function(t){27===t.keyCode&&K(rr)===o&&(t.preventDefault(),o.hide())}),{self:!0})}},{name:"hidden",self:!0,handler:function(){var e=this;rr.splice(rr.indexOf(this),1),rr.length||Re(document.body,"overflowY",""),Re(this.$el,"zIndex",""),rr.some(function(t){return t.clsPage===e.clsPage})||Be(document.documentElement,this.clsPage)}}],methods:{toggle:function(){return this.isToggled()?this.hide():this.show()},show:function(){var e=this;return this.container&&this.$el.parentNode!==this.container?(be(this.container,this.$el),new ae(function(t){return requestAnimationFrame(function(){return e.show().then(t)})})):this.toggleElement(this.$el,!0,sr(this))},hide:function(){return this.toggleElement(this.$el,!1,sr(this))}}};function sr(t){var s=t.transitionElement,a=t._toggle;return function(r,o){return new ae(function(i,n){return Kt(r,"show hide",function(){r._reject&&r._reject(),r._reject=n,a(r,o);var t=Kt(s,"transitionstart",function(){Kt(s,"transitionend transitioncancel",i,{self:!0}),clearTimeout(e)},{self:!0}),e=setTimeout(function(){t(),i()},U(Re(s,"transitionDuration")))})})}}var ar={install:function(t){var a=t.modal;function e(t,e,i,n){e=G({bgClose:!1,escClose:!0,labels:a.labels},e);var r=a.dialog(t(e),e),o=new se,s=!1;return Xt(r.$el,"submit","form",function(t){t.preventDefault(),o.resolve(n&&n(r)),s=!0,r.hide()}),Xt(r.$el,"hide",function(){return!s&&i(o)}),o.promise.dialog=r,o.promise}a.dialog=function(t,e){var i=a('
'+t+"
",e);return i.show(),Xt(i.$el,"hidden",function(){return ae.resolve().then(function(){return i.$destroy(!0)})},{self:!0}),i},a.alert=function(i,t){return e(function(t){var e=t.labels;return'
'+(D(i)?i:we(i))+'
"},t,function(t){return t.resolve()})},a.confirm=function(i,t){return e(function(t){var e=t.labels;return'
'+(D(i)?i:we(i))+'
"},t,function(t){return t.reject()})},a.prompt=function(i,n,t){return e(function(t){var e=t.labels;return'
"},t,function(t){return t.resolve(null)},function(t){return Me("input",t.$el).value})},a.labels={ok:"Ok",cancel:"Cancel"}},mixins:[or],data:{clsPage:"bdt-modal-page",selPanel:".bdt-modal-dialog",selClose:".bdt-modal-close, .bdt-modal-close-default, .bdt-modal-close-outside, .bdt-modal-close-full"},events:[{name:"show",self:!0,handler:function(){He(this.panel,"bdt-margin-auto-vertical")?De(this.$el,"bdt-flex"):Re(this.$el,"display","block"),ci(this.$el)}},{name:"hidden",self:!0,handler:function(){Re(this.$el,"display",""),Be(this.$el,"bdt-flex")}}]};var hr={extends:un,data:{targets:"> .bdt-parent",toggle:"> a",content:"> ul"}},ur={mixins:[sn,In],props:{dropdown:String,mode:"list",align:String,offset:Number,boundary:Boolean,boundaryAlign:Boolean,clsDrop:String,delayShow:Number,delayHide:Number,dropbar:Boolean,dropbarMode:String,dropbarAnchor:Boolean,duration:Number},data:{dropdown:".bdt-navbar-nav > li",align:lt?"right":"left",clsDrop:"bdt-navbar-dropdown",mode:void 0,offset:void 0,delayShow:void 0,delayHide:void 0,boundaryAlign:void 0,flip:"x",boundary:!0,dropbar:!1,dropbarMode:"slide",dropbarAnchor:!1,duration:200,forceHeight:!0,selMinHeight:".bdt-navbar-nav > li > a, .bdt-navbar-item, .bdt-navbar-toggle"},computed:{boundary:function(t,e){var i=t.boundary,n=t.boundaryAlign;return!0===i||n?e:i},dropbarAnchor:function(t,e){return yt(t.dropbarAnchor,e)},pos:function(t){return"bottom-"+t.align},dropbar:{get:function(t){var e=t.dropbar;return e?(e=this._dropbar||yt(e,this.$el)||Me("+ .bdt-navbar-dropbar",this.$el))||(this._dropbar=Me("
")):null},watch:function(t){De(t,"bdt-navbar-dropbar")},immediate:!0},dropdowns:{get:function(t,e){return Ne(t.dropdown+" ."+t.clsDrop,e)},watch:function(t){var e=this;this.$create("drop",t.filter(function(t){return!e.getDropdown(t)}),G({},this.$props,{boundary:this.boundary,pos:this.pos,offset:this.dropbar||this.offset}))},immediate:!0}},disconnected:function(){this.dropbar&&$e(this.dropbar),delete this._dropbar},events:[{name:"mouseover",delegate:function(){return this.dropdown},handler:function(t){var e=t.current,i=this.getActive();i&&i.toggle&&!qt(i.toggle.$el,e)&&!i.tracker.movesTo(i.$el)&&i.hide(!1)}},{name:"mouseleave",el:function(){return this.dropbar},handler:function(){var t=this.getActive();t&&!this.dropdowns.some(function(t){return zt(t,":hover")})&&t.hide()}},{name:"beforeshow",capture:!0,filter:function(){return this.dropbar},handler:function(){this.dropbar.parentNode||ye(this.dropbarAnchor||this.$el,this.dropbar)}},{name:"show",filter:function(){return this.dropbar},handler:function(t,e){var i=e.$el,n=e.dir;Le(this.dropbar,"bdt-navbar-dropbar-slide","slide"===this.dropbarMode||Ut(this.$el).some(function(t){return"static"!==Re(t,"position")})),this.clsDrop&&De(i,this.clsDrop+"-dropbar"),"bottom"===n&&this.transitionTo(i.offsetHeight+j(Re(i,"marginTop"))+j(Re(i,"marginBottom")),i)}},{name:"beforehide",filter:function(){return this.dropbar},handler:function(t,e){var i=e.$el,n=this.getActive();zt(this.dropbar,":hover")&&n&&n.$el===i&&t.preventDefault()}},{name:"hide",filter:function(){return this.dropbar},handler:function(t,e){var i=e.$el,n=this.getActive();(!n||n&&n.$el===i)&&this.transitionTo(0)}}],methods:{getActive:function(){var t=this.dropdowns.map(this.getDropdown).filter(function(t){return t&&t.isActive()})[0];return t&&b(t.mode,"hover")&&qt(t.toggle.$el,this.$el)&&t},transitionTo:function(t,e){var i=this,n=this.dropbar,r=jt(n)?ci(n):0;return Re(e=r"),De(this.panel.parentNode,this.clsMode)),Re(document.documentElement,"overflowY",this.overlay?"hidden":""),De(document.body,this.clsContainer,this.clsFlip),Re(document.body,"touch-action","pan-y pinch-zoom"),Re(this.$el,"display","block"),De(this.$el,this.clsOverlay),De(this.panel,this.clsSidebarAnimation,"reveal"!==this.mode?this.clsMode:""),ci(document.body),De(document.body,this.clsContainerAnimation),this.clsContainerAnimation&&(lr().content+=",user-scalable=0")}},{name:"hide",self:!0,handler:function(){Be(document.body,this.clsContainerAnimation),Re(document.body,"touch-action","")}},{name:"hidden",self:!0,handler:function(){var t;this.clsContainerAnimation&&((t=lr()).content=t.content.replace(/,user-scalable=0$/,"")),"reveal"===this.mode&&Te(this.panel),Be(this.panel,this.clsSidebarAnimation,this.clsMode),Be(this.$el,this.clsOverlay),Re(this.$el,"display",""),Be(document.body,this.clsContainer,this.clsFlip),Re(document.documentElement,"overflowY","")}},{name:"swipeLeft swipeRight",handler:function(t){this.isToggled()&&u(t.type,"Left")^this.flip&&this.hide()}}]};function lr(){return Me('meta[name="viewport"]',document.head)||be(document.head,'')}var dr={mixins:[sn],props:{selContainer:String,selContent:String},data:{selContainer:".bdt-modal",selContent:".bdt-modal-dialog"},computed:{container:function(t,e){return Bt(e,t.selContainer)},content:function(t,e){return Bt(e,t.selContent)}},connected:function(){Re(this.$el,"minHeight",150)},update:{read:function(){return!(!this.content||!this.container)&&{current:j(Re(this.$el,"maxHeight")),max:Math.max(150,ci(this.container)-(si(this.content).height-ci(this.$el)))}},write:function(t){var e=t.current,i=t.max;Re(this.$el,"maxHeight",i),Math.round(e)!==Math.round(i)&&Jt(this.$el,"resize")},events:["resize"]}},fr={props:["width","height"],connected:function(){De(this.$el,"bdt-responsive-width")},update:{read:function(){return!!(jt(this.$el)&&this.width&&this.height)&&{width:li(this.$el.parentNode),height:this.height}},write:function(t){ci(this.$el,rt.contain({height:this.height,width:this.width},t).height)},events:["resize"]}},pr={props:{offset:Number},data:{offset:0},methods:{scrollTo:function(t){var e=this;t=t&&Me(t)||document.body,Jt(this.$el,"beforescroll",[this,t])&&Oi(t,{offset:this.offset}).then(function(){return Jt(e.$el,"scrolled",[e,t])})}},events:{click:function(t){t.defaultPrevented||(t.preventDefault(),this.scrollTo(Ht(decodeURIComponent(this.$el.hash)).substr(1)))}}},mr={args:"cls",props:{cls:String,target:String,hidden:Boolean,offsetTop:Number,offsetLeft:Number,repeat:Boolean,delay:Number},data:function(){return{cls:!1,target:!1,hidden:!0,offsetTop:0,offsetLeft:0,repeat:!1,delay:0,inViewClass:"bdt-scrollspy-inview"}},computed:{elements:{get:function(t,e){var i=t.target;return i?Ne(i,e):[e]},watch:function(t){this.hidden&&Re(Rt(t,":not(."+this.inViewClass+")"),"visibility","hidden")},immediate:!0}},update:[{read:function(t){var i=this;t.update&&this.elements.forEach(function(t){var e=t._ukScrollspyState;(e=e||{cls:ht(t,"bdt-scrollspy-class")||i.cls}).show=Bi(t,i.offsetTop,i.offsetLeft),t._ukScrollspyState=e})},write:function(n){var r=this;if(!n.update)return this.$emit(),n.update=!0;this.elements.forEach(function(e){function t(t){Re(e,"visibility",!t&&r.hidden?"hidden":""),Le(e,r.inViewClass,t),Le(e,i.cls),Jt(e,t?"inview":"outview"),i.inview=t,r.$update(e)}var i=e._ukScrollspyState;!i.show||i.inview||i.queued?!i.show&&i.inview&&!i.queued&&r.repeat&&t(!1):(i.queued=!0,n.promise=(n.promise||ae.resolve()).then(function(){return new ae(function(t){return setTimeout(t,r.delay)})}).then(function(){t(!0),setTimeout(function(){i.queued=!1,r.$emit()},300)}))})},events:["scroll","resize"]}]},gr={props:{cls:String,closest:String,scroll:Boolean,overflow:Boolean,offset:Number},data:{cls:"bdt-active",closest:!1,scroll:!1,overflow:!0,offset:0},computed:{links:{get:function(t,e){return Ne('a[href^="#"]',e).filter(function(t){return t.hash})},watch:function(t){this.scroll&&this.$create("scroll",t,{offset:this.offset||0})},immediate:!0},targets:function(){return Ne(this.links.map(function(t){return Ht(t.hash).substr(1)}).join(","))},elements:function(t){var e=t.closest;return Bt(this.links,e||"*")}},update:[{read:function(){var i=this,t=this.targets.length;if(!t||!jt(this.$el))return!1;var e=K(Li(this.targets[0])),n=e.scrollTop,r=e.scrollHeight,o=Fi(e),s=r-si(o).height,a=!1;return n===s?a=t-1:(this.targets.every(function(t,e){if(hi(t,o).top-i.offset<=0)return a=e,!0}),!1===a&&this.overflow&&(a=0)),{active:a}},write:function(t){var e=t.active;this.links.forEach(function(t){return t.blur()}),Be(this.elements,this.cls),!1!==e&&Jt(this.$el,"active",[e,De(this.elements[e],this.cls)])},events:["scroll","resize"]}]},vr={mixins:[sn,er],props:{top:null,bottom:Boolean,offset:String,animation:String,clsActive:String,clsInactive:String,clsFixed:String,clsBelow:String,selTarget:String,widthElement:Boolean,showOnUp:Boolean,targetOffset:Number},data:{top:0,bottom:!1,offset:0,animation:"",clsActive:"bdt-active",clsInactive:"",clsFixed:"bdt-sticky-fixed",clsBelow:"bdt-sticky-below",selTarget:"",widthElement:!1,showOnUp:!1,targetOffset:!1},computed:{offset:function(t){return wi(t.offset)},selTarget:function(t,e){var i=t.selTarget;return i&&Me(i,e)||e},widthElement:function(t,e){return yt(t.widthElement,e)||this.placeholder},isActive:{get:function(){return He(this.selTarget,this.clsActive)},set:function(t){t&&!this.isActive?(Oe(this.selTarget,this.clsInactive,this.clsActive),Jt(this.$el,"active")):t||He(this.selTarget,this.clsInactive)||(Oe(this.selTarget,this.clsActive,this.clsInactive),Jt(this.$el,"inactive"))}}},connected:function(){this.placeholder=Me("+ .bdt-sticky-placeholder",this.$el)||Me('
'),this.isFixed=!1,this.isActive=!1},disconnected:function(){this.isFixed&&(this.hide(),Be(this.selTarget,this.clsInactive)),$e(this.placeholder),this.placeholder=null,this.widthElement=null},events:[{name:"load hashchange popstate",el:ut&&window,handler:function(){var n,r=this;!1!==this.targetOffset&&location.hash&&0this.topOffset?(ni.cancel(this.$el),ni.out(this.$el,this.animation).then(function(){return i.hide()},et)):this.hide()}else this.isFixed?this.update():this.animation?(ni.cancel(this.$el),this.show(),ni.in(this.$el,this.animation).catch(et)):this.show()},events:["resize","scroll"]}],methods:{show:function(){this.isFixed=!0,this.update(),ot(this.placeholder,"hidden",null)},hide:function(){this.isActive=!1,Be(this.$el,this.clsFixed,this.clsBelow),Re(this.$el,{position:"",top:"",width:""}),ot(this.placeholder,"hidden","")},update:function(){var t=0!==this.top||this.scroll>this.top,e=Math.max(0,this.offset);P(this.bottom)&&this.scroll>this.bottom-this.offset&&(e=this.bottom-this.scroll),Re(this.$el,{position:"fixed",top:e+"px",width:this.width}),this.isActive=t,Le(this.$el,this.clsBelow,this.scroll>this.bottomOffset),De(this.$el,this.clsFixed)}}};function wr(t,e){var i=e.$props,n=e.$el,r=e[t+"Offset"],o=i[t];if(o)return D(o)&&o.match(/^-?\d/)?r+wi(o):si(!0===o?n.parentNode:yt(o,n)).bottom}var br,xr,yr,kr={mixins:[an],args:"connect",props:{connect:String,toggle:String,active:Number,swiping:Boolean},data:{connect:"~.bdt-switcher",toggle:"> * > :first-child",active:0,swiping:!0,cls:"bdt-active",clsContainer:"bdt-switcher",attrItem:"bdt-switcher-item"},computed:{connects:{get:function(t,e){return kt(t.connect,e)},watch:function(t){var e=this;t.forEach(function(t){return e.updateAria(t.children)}),this.swiping&&Re(t,"touch-action","pan-y pinch-zoom")},immediate:!0},toggles:{get:function(t,e){return Ne(t.toggle,e).filter(function(t){return!zt(t,".bdt-disabled *, .bdt-disabled, [disabled]")})},watch:function(t){var e=this.index();this.show(~e&&e||t[this.active]||t[0])},immediate:!0},children:function(){var t=this;return Yt(this.$el).filter(function(e){return t.toggles.some(function(t){return qt(t,e)})})}},events:[{name:"click",delegate:function(){return this.toggle},handler:function(t){b(this.toggles,t.current)&&(t.preventDefault(),this.show(t.current))}},{name:"click",el:function(){return this.connects},delegate:function(){return"["+this.attrItem+"],[data-"+this.attrItem+"]"},handler:function(t){t.preventDefault(),this.show(ht(t.current,this.attrItem))}},{name:"swipeRight swipeLeft",filter:function(){return this.swiping},el:function(){return this.connects},handler:function(t){var e=t.type;this.show(u(e,"Left")?"next":"previous")}}],methods:{index:function(){var e=this;return y(this.children,function(t){return He(t,e.cls)})},show:function(t){var i=this,n=this.index(),r=ge(t,this.toggles,n);this.children.forEach(function(t,e){Le(t,i.cls,r===e),ot(i.toggles[e],"aria-expanded",r===e)}),this.connects.forEach(function(t){var e=t.children;return i.toggleElement(V(e).filter(function(t,e){return e!==r&&i.isToggled(t)}),!1,0<=n).then(function(){return i.toggleElement(e[r],!0,0<=n)})})}}},$r={mixins:[sn],extends:kr,props:{media:Boolean},data:{media:960,attrItem:"bdt-tab-item"},connected:function(){var t=He(this.$el,"bdt-tab-left")?"bdt-tab-left":!!He(this.$el,"bdt-tab-right")&&"bdt-tab-right";t&&this.$create("toggle",this.$el,{cls:t,mode:"media",media:this.media})}},Ir={mixins:[er,an],args:"target",props:{href:String,target:null,mode:"list",queued:Boolean},data:{href:!1,target:!1,mode:"click",queued:!0},computed:{target:{get:function(t,e){var i=t.href,n=t.target;return(n=kt(n||i,e)).length&&n||[e]},watch:function(){Jt(this.target,"updatearia",[this])},immediate:!0}},events:[{name:wt+" "+bt,filter:function(){return b(this.mode,"hover")},handler:function(t){re(t)||this.toggle("toggle"+(t.type===wt?"show":"hide"))}},{name:"click",filter:function(){return b(this.mode,"click")||pt&&b(this.mode,"hover")},handler:function(t){var e;(Bt(t.target,'a[href="#"], a[href=""]')||(e=Bt(t.target,"a[href]"))&&(this.cls&&!He(this.target,this.cls.split(" ")[0])||!jt(this.target)||e.hash&&zt(this.target,e.hash)))&&t.preventDefault(),this.toggle()}}],update:{read:function(){return!(!b(this.mode,"media")||!this.media)&&{match:this.matchMedia}},write:function(t){var e=t.match,i=this.isToggled(this.target);(e?!i:i)&&this.toggle()},events:["resize"]},methods:{toggle:function(t){var e,i=this;Jt(this.target,t||"toggle",[this])&&(this.queued?(e=this.target.filter(this.isToggled),this.toggleElement(e,!1).then(function(){return i.toggleElement(i.target.filter(function(t){return!b(e,t)}),!0)})):this.toggleElement(this.target))}}};J(Object.freeze({__proto__:null,Accordion:un,Alert:ln,Cover:fn,Drop:gn,Dropdown:gn,FormCustom:vn,Gif:wn,Grid:$n,HeightMatch:Sn,HeightViewport:_n,Icon:On,Img:Rn,Leader:ir,Margin:bn,Modal:ar,Nav:hr,Navbar:ur,Offcanvas:cr,OverflowAuto:dr,Responsive:fr,Scroll:pr,Scrollspy:mr,ScrollspyNav:gr,Sticky:vr,Svg:An,Switcher:kr,Tab:$r,Toggle:Ir,Video:dn,Close:jn,Spinner:Wn,SlidenavNext:Ln,SlidenavPrevious:Ln,SearchIcon:Fn,Marker:Hn,NavbarToggleIcon:Hn,OverlayIcon:Hn,PaginationNext:Hn,PaginationPrevious:Hn,Totop:Hn}),function(t,e){return qi.component(e,t)}),qi.use(function(r){ut&&pe(function(){var e;r.update(),Xt(window,"load resize",function(){return r.update(null,"resize")}),Xt(document,"loadedmetadata load",function(t){var e=t.target;return r.update(e,"resize")},!0),Xt(window,"scroll",function(t){e||(e=!0,xi.write(function(){return e=!1}),r.update(null,t.type))},{passive:!0,capture:!0});var i,n=0;Xt(document,"animationstart",function(t){var e=t.target;(Re(e,"animationName")||"").match(/^bdt-.*(left|right)/)&&(n++,Re(document.body,"overflowX","hidden"),setTimeout(function(){--n||Re(document.body,"overflowX","")},U(Re(e,"animationDuration"))+100))},!0),Xt(document,mt,function(t){var s,a;i&&i(),re(t)&&(s=oe(t),a="tagName"in t.target?t.target:t.target.parentNode,i=Kt(document,vt+" "+xt,function(t){var e=oe(t),r=e.x,o=e.y;(a&&r&&100=Math.abs(e-n)?0
"}).join("")),e.forEach(function(t,e){return i.children[e].textContent=t}))})}},methods:{start:function(){this.stop(),this.date&&this.units.length&&(this.$update(),this.timer=setInterval(this.$update,1e3))},stop:function(){this.timer&&(clearInterval(this.timer),this.timer=null)}}};var Tr,Er="bdt-animation-target",_r={props:{animation:Number},data:{animation:150},computed:{target:function(){return this.$el}},methods:{animate:function(t){var n=this;!function(){if(Tr)return;(Tr=be(document.head,"