PageSourceSearch

https://www.czasopismokatecheza.pl/js/canvas-scripts.js?v=324

js czasopismokatecheza.pl collected 2026-09-29 22:24:25 UTC 931,102 bytes, 1 lines download raw bytes

1function Article(){this.initializeGalleries=function(){"undefined"!=typeof lightbox&&lightbox.option({albumLabel:"Zdjęcie %1 z %2"}),$(".gallery-slider").owlCarousel({loop:!0,margin:10,dots:!1,nav:!0,items:1,navText:["&#xf104;","&#xf105;"]}),$(".ckeditor-gallery-container:not(.initialized)").each(function(){$(this).addClass("initialized container");var t=$(this)[0],e=t.getAttribute("data-gallery-id");$.ajax({url:Routing.generate("api_front_get_gallery",{id:e})}).done(function(e){t.innerHTML=e.html,$(".gallery-slider").owlCarousel({loop:!0,margin:10,dots:!1,nav:!0,items:1,navText:["&#xf104;","&#xf105;"]})})})},this.initializeSideNotes=function(){$("sup[data-notes-id]").each(function(){var e=$(this).attr("data-notes-id"),t=$(this).attr("data-notes-data"),e=$('<li id="fn:'+e+'"><p>'+t+"</p></li>");$(".footnotes ol").append(e)}),0<$(".footnotes ol li").length&&$(".footnotes").show()}}$(document).ready(function(){Object.keys(alerts).forEach(function(t){alerts[t].map(function(e){switch(t){case"notice":alertify.delay(1e4).log(e);break;case"error":alertify.delay(1e4).error(e);break;case"success":alertify.delay(1e4).success(e)}})})}),$(document).ready(function(){var e=new Article;e.initializeGalleries(),e.initializeSideNotes(),null==document.getElementById("article__content-container")?new SelectionMenu({container:document.getElementById("article__content-no_user"),content:'<a target="_blank" href="/logowanie">Zaloguj się, aby zapisać</a>'}):new SelectionMenu({container:document.getElementById("article__content-container"),content:'<a id="selection-menu__save">Zapisz</a>',handler:function(e){$.ajax({url:Routing.generate("api_save_bookcase"),method:"POST",data:{content:this.selectedText,postId:$("#article__content-container").attr("data-post-id")}}).done(function(e){alertify.delay(1e4).success('Fragment został zapisany do <a href="/biblioteczka" class="bookcase__link">biblioteczki</a>.')}).fail(function(){alertify.delay(1e4).error("Wystąpił problem podczas zapisywania fragmentu")})}}),$("div.open-img-in-lightbox:not(.gallery-slider) img, div.open-img-in-lightbox:not(.lightbox-gallery) img").click(function(){0===$(this).parent("a").length&&0===$(this).parent("picture").parent("a").length&&0===$(this).parents(".promo-sidebar").length&&($(this).wrap('<a href="'+$(this).attr("src")+'" rel="lightbox" />'),$(this).parent("a").trigger("click"))}),$(".footnote").click(function(){var e;window.innerWidth<993&&(e=$(".footnotes").position(),$(window).scrollTop(e.top))}),$(".file-page__download-section input[type=radio]").on("change",function(){$("[data-file-download]").attr("href",$(".file-page__download-section input:checked").attr("value"))})}),$(document).ready(function(){var e,t;function i(){e=document.querySelectorAll(".sections__item[data-toggle='collapse']"),sectionsArr=Array.prototype.slice.call(e),e=$(sectionsArr).filter(".sections__item:not(.collapsed)"),0===(t=$(sectionsArr).index(e))?$(".sections-nav .owl-prev").addClass("disabled"):$(".sections-nav .owl-prev").removeClass("disabled"),t===sectionsArr.length-1?$(".sections-nav .owl-next").addClass("disabled"):$(".sections-nav .owl-next").removeClass("disabled"),sectionsArr}$(".sections-collapse").on("shown.bs.collapse",function(){i()}),$(".sections-nav button").on("click",function(){var e;$(this).hasClass("disabled")||(i(),$(this).hasClass("owl-next")?(e=sectionsArr,$(e[t+1]).click(),$(".sections-carousel").trigger("next.owl.carousel")):(e=sectionsArr,$(e[t-1]).click(),$(".sections-carousel").trigger("prev.owl.carousel")))}),$(".sections__item[data-toggle='collapse']").on("click",function(e){$(this).hasClass("collapsed")||e.stopPropagation()}),$(".authors-carousel").owlCarousel({loop:!1,autoplay:!1,center:!1,margin:13,autoWidth:!0,autoplayTimeout:4500,smartSpeed:450,responsiveClass:!0,nav:!0,dots:!1,navContainer:".authors-carousel-nav",responsive:{0:{items:1,nav:!0},680:{items:2,nav:!0,loop:!1},1e3:{items:5,nav:!0}}}),$(".sections-carousel").owlCarousel({loop:!1,autoplay:!1,center:!1,margin:0,autoWidth:!1,autoplayTimeout:4500,smartSpeed:450,responsiveClass:!0,nav:!1,dots:!1,responsive:{0:{items:3},680:{items:4},1e3:{items:9}}})}),$(document).ready(function(){$(".e-150").dotdotdot({height:150})}),(()=>{function r(e){e=e.replace(/[\[\]]/g,"\\$&");e=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(window.location.href);
1return e?e[2]?decodeURIComponent(e[2].replace(/\+/g," ")):"":null}function i(){var t,i={},e=($("[data-filter]").each(function(){var e=$(this).attr("data-filter");t=$(this).find("input:checkbox:checked").map(function(){return $(this).val()}).get(),i[e]=t}),$.isEmptyObject(i)?null:btoa(JSON.stringify(i))),e=($("#submit-filters").find('[name="filters"]').val(e),$("#submit-filters").serialize());$.ajax({url:Routing.generate("posts_by_filters")+"?"+e,success:function(e){e=JSON.parse(e);$("#posts-list").html(e.view)},type:"POST",dataType:"html"})}$(".clear-all-filters").on("click",function(){var e,t,i=$("[data-use-type]").find("[data-remove-filter]");$.each(i,function(e,t){var t=$(t).attr("data-remove-filter").split(":"),i=t[0],t=t[1];$('input[name="'+i+'"][value="'+t+'"]').prop("checked",!1),t=t,$('[data-use-type="'+i+'"]').find("[data-use-items] span#"+t).remove()}),i="",e=$("[data-listing-id]").attr("data-listing-id"),i=$.isEmptyObject(i)?null:btoa(JSON.stringify(i)),(t=$("#listing-form")).find('[name="filters"]').val(i),i=t.serialize(),history.pushState({},"a","?"+JSON.stringify(i).replace(/\"/g,"")),e&&$.ajax({url:Routing.generate("api_listing",{id:e})+"?"+i,success:function(e){e=JSON.parse(e);$("#new-posts-listing").html(e.view)},type:"POST",dataType:"html"})}),$(document).on("change","#filters",function(){$('#submit-filters [name="page"]').val(1),i()}
1),$(document).on("click","[data-mark]",function(){var e=$(this).attr("data-mark"),t=$(this).parents(".inputs").find("input");"mark"===e?t.prop("checked",!0):t.prop("checked",!1),i()}),$(document).on("click","[data-show-filters]",function(){var e=$(this).attr("data-show-filters");$("[data-id='filters-header']").toggleClass("expanded"),$("[data-filters='"+e+"'").toggle()}),$(document).on("click",".ajax-pagination a[data-go-to-page]",function(e){e.preventDefault();e=$(this).attr("data-go-to-page");$('#submit-filters [name="page"]').val(e),$("html, body").animate({scrollTop:$("#posts-list").offset().top},500),i()}),$(document).on("click","[data-sort] span",function(){var e=$(this);e.hasClass("active")?(e.toggleClass("desc"),e.hasClass("desc")?$('#submit-filters [name="order"]').val("DESC"):$('#submit-filters [name="order"]').val("ASC")):($("[data-sort] span").removeClass("active"),e.addClass("active"),$('#submit-filters [name="sort"]').val(e.attr("data-sort-field")),$('#submit-filters [name="order"]').val("ASC")),i()}),$(document).on("submit","#submit-filters",function(e){e.preventDefault();var t,i={}
1,e=($("[data-filter]").each(function(){var e=$(this).attr("data-filter");t=$(this).find("input:checkbox:checked").map(function(){return $(this).val()}).get(),i[e]=t}),$.isEmptyObject(i)?null:btoa(JSON.stringify(i)));$(this).find('[name="filters"]').val(e),$(this)[0].submit()}),$(document).ready(function(){var e=r("filters"),t=r("sort"),i=r("order"),n=r("query");if(e){var a,s=JSON.parse(atob(e));for(a in s)for(var o in s[a]){o=s[a][o];$('[data-filter="'+a+'"] input[value="'+o+'"]').prop("checked",!0)}}n&&$('#submit-filters [name="query"]').val(n),t&&($('#submit-filters [name="sort"]').val(t),$('#submit-filters [name="order"]').val(i),(e=$('[data-sort-field="'+t+'"]')).addClass("active"),i)&&"DESC"==i&&e.addClass("down"),$(".file-page__download-section input[type=radio]").on("change",function(){$("[data-file-download]").attr("href",$(".file-page__download-section input:checked").attr("value"))})})})(),((e,t,i)=>{"object"==typeof module&&module&&"object"==typeof module.exports?module.exports=i:(e[t]=i,"function"==typeof define&&define.amd&&define(t,[],function(){return i}))})(this,"jRespond",(f=>function(e){function n(e){var t=e.breakpoint,i=e.enter||f;d.push(e),c.push(!1),p(t)&&(i!==f&&i.call(null,{entering:u,exiting:h}),c[d.length-1]=!0)}function a(){var e="number"!=typeof window.innerWidth?(0!==document.documentElement.clientWidth?document.documentElement:document.body).clientWidth:window.innerWidth;if(e!==o){for(var t=e,i=!(r=100),n=0;n<s.length;n++)if(t>=s[n].enter&&t<=s[n].exit){i=!0;break}i&&u!==s[n].label?(h=u,u=s[n].label,l()):i||""===u||(u="",l())}else r=500;o=e,setTimeout(a,r)}var d=[],c=[],s=e,u="",h="",o=0,r=500,l=function(){for(var e=[],t=[],i=0;i<d.length;i++){var n=d[i].breakpoint,a=d[i].enter||f,s=d[i].exit||f;"*"===n?(a!==f&&e.push(a),s!==f&&t.push(s)):p(n)?(a===f||c[i]||e.push(a),c[i]=!0):(s!==f&&c[i]&&t.push(s),c[i]=!1)}for(var o={entering:u,exiting:h},r=0;r<t.length;r++)t[r].call(null,o);for(var l=0;l<e.length;l++)e[l].call(null,o)},p=function(e){return"object"!=typeof e?"*"===e||"string"==typeof e&&u===e||void 0:0<=e.join().indexOf(u)||void 0};return a(),{addFunc:function(e){var t=e;if(t.length===f)n(t);else for(var i=0;i<t.length;i++)n(t[i])},getBreakpoint:function(){return u}}})(void this.document));var $=jQuery.noConflict();function debounce(i,n,a){var s,o,r,l,d;return function(){r=this,o=arguments,l=new Date;var t=function(){var e=new Date-l;e<n?s=setTimeout(t,n-e):(s=null,a||(d=i.apply(r,o)))},e=a&&!s;return s=s||setTimeout(t,n),d=e?i.apply(r,o):d}}function onScrollSliderParallax(){SEMICOLON.slider.sliderParallax(),SEMICOLON.slider.sliderElementsFade()}
1$.fn.scrollEnd=function(t,i){$(this).scroll(function(){var e=$(this);e.data("scrollTimeout")&&clearTimeout(e.data("scrollTimeout")),e.data("scrollTimeout",setTimeout(t,i))})},(()=>{for(var s=0,e=["ms","moz","webkit","o"],t=0;t<e.length&&!window.requestAnimationFrame;++t)window.requestAnimationFrame=window[e[t]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[e[t]+"CancelAnimationFrame"]||window[e[t]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(e,t){var i=(new Date).getTime(),n=Math.max(0,16-(i-s)),a=window.setTimeout(function(){e(i+n)},n);return s=i+n,a}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)})})();var SEMICOLON=SEMICOLON||{},$portfolioAjaxItems=((l=>{SEMICOLON.initialize={init:function(){SEMICOLON.initialize.defaults(),SEMICOLON.initialize.pageTransition(),SEMICOLON.initialize.goToTop(),SEMICOLON.initialize.lazyLoad(),SEMICOLON.initialize.lightbox(),SEMICOLON.initialize.resizeVideos(),SEMICOLON.initialize.dataResponsiveClasses(),SEMICOLON.initialize.dataResponsiveHeights()},execFunc:function(e,t){for(var i=Array.prototype.slice.call(arguments,2),n=e.split("."),a=n.pop(),s=0;s<n.length;s++)t=t[n[s]];if(void 0!==t[a])return t[a].apply(t,i);console.log(e+" Function does not exist")},execPlugin:function(e,t){window.scwEvents=window.scwEvents||{};var i,n=!1;t.trigger&&!scwEvents[t.trigger]?i=setInterval(function e(){return Function("return "+t.pluginfn)()&&(l(window).trigger(t.trigger),scwEvents[t.trigger]=!0,clearInterval(i)),e}(),1e3):n=!0,t.execfn&&(t.trigger&&!n?l(window).on(t.trigger,function(){SEMICOLON.initialize.execFunc(t.execfn,window,e)}):SEMICOLON.initialize.execFunc(t.execfn,window,e)),t.class&&d.addClass(t.class)},jsLinking:function(e,t){var i,n,a;return!(e.length<1||t.hiddendisable&&e.filter(":hidden").length==e.length)&&(i=Function("return "+t.pluginfn)(),a=!(n="js/"),"undefined"!=typeof scwJsPath&&(n=scwJsPath+"/"),"undefined"!=typeof scwDisableJsAJAX&&!0===scwDisableJsAJAX&&(a=!0),n=/^(f|ht)tps?:\/\//i.test(window.decodeURIComponent(t.file))?t.file:n+t.file,void(i?SEMICOLON.initialize.execPlugin(e,t):a?console.log(t.error):l.ajax({url:n,dataType:"script",cache:!0,crossDomain:!0,timeout:5e3}).done(function(){SEMICOLON.initialize.execPlugin(e,t)}).fail(function(){console.log(t.error)})))},functions:function(e){var t,i;"object"==typeof e.element&&null!==e.element&&("undefined"!==e.element.parent&&(t=e.element.parent),"undefined"!==e.element.el)&&(e.element=e.element.el),i=e.element||e.default,t="object"===t?t.find(i):l(i),this.jsLinking(t,e)},defaults:function(){jRespond([{label:"smallest",enter:0,exit:575},{label:"handheld",enter:576,exit:767},{label:"tablet",enter:768,exit:991},{label:"laptop",enter:992,exit:1199},{label:"desktop",enter:1200,exit:1e4}]).addFunc([{breakpoint:"desktop",enter:function(){d.addClass("device-xl")},exit:function(){d.removeClass("device-xl")}},{breakpoint:"laptop",enter:function(){d.addClass("device-lg")},exit:function(){d.removeClass("device-lg")}},{breakpoint:"tablet",enter:function(){d.addClass("device-md")},exit:function(){d.removeClass("device-md")}},{breakpoint:"handheld",enter:function(){d.addClass("device-sm")},exit:function(){d.removeClass("device-sm")}},{breakpoint:"smallest",enter:function(){d.addClass("device-xs")},exit:function(){d.removeClass("device-xs")}}]),SEMICOLON.initialize.functions({default:"body",file:"plugins.easing.js",error:"plugins.easing.js: Plugin could not be loaded",pluginfn:'typeof jQuery.easing["easeOutQuad"] !== "undefined"',trigger:"pluginEasingReady",class:"has-plugin-easing"}),SEMICOLON.initialize.functions({default:"body",file:"plugins.bootstrap.js",error:"plugins.bootstrap.js: Plugin could not be loaded",pluginfn:'typeof bootstrap !== "undefined"',trigger:"pluginBootstrapReady",class:"has-plugin-bootstrap"}),!1 in window&&SEMICOLON.initialize.functions({default:"body",file:"intersection-observer.js",error:"intersection-observer.js: Plugin could not be loaded",pluginfn:'typeof window.IntersectionObserver !== "undefined"',trigger:"intersectObservePolyfill",class:"has-polyfill-intersection-observer"})},goToTop:function(){var e=j.attr("data-speed"),t=j.attr("data-easing"),e=e||700,t=t||"easeOutQuad";j.off("click").on("click",function(){return l("body,html").stop(!0).animate({scrollTop:0},Number(e),t),!1})},goToTopScroll:function(){var e=j.attr("data-mobile"),t=(t=j.attr("data-offset"))||450;if("true"!=e&&(d.hasClass("device-sm")||d.hasClass("device-xs")))return!0;o.scrollTop()>Number(t)?(j.fadeIn(),d.addClass("gototop-active")):(j.fadeOut(),d.removeClass("gototop-active"))}
1,lightbox:function(e){SEMICOLON.initialize.functions({element:e,default:"[data-lightbox]",file:"plugins.lightbox.js",error:"plugins.lightbox.js: Plugin could not be loaded",execfn:"SEMICOLON_lightboxInit",pluginfn:"$().magnificPopup",trigger:"pluginLightboxReady",class:"has-plugin-lightbox"})},modal:function(e){SEMICOLON.initialize.functions({element:e,default:".modal-on-load",file:"plugins.lightbox.js",error:"plugins.lightbox.js: Plugin could not be loaded",execfn:"SEMICOLON_modalInit",pluginfn:"$().magnificPopup",trigger:"pluginLightboxReady",class:"has-plugin-lightbox"})},resizeVideos:function(){SEMICOLON.initialize.functions({default:'iframe[src*="youtube"],iframe[src*="vimeo"],iframe[src*="dailymotion"],iframe[src*="maps.google.com"],iframe[src*="google.com/maps"]',file:"plugins.fitvids.js",error:"plugins.fitvids.js: Plugin could not be loaded",execfn:"SEMICOLON_resizeVideosInit",pluginfn:"$().fitVids",trigger:"pluginfitVidsReady",class:"has-plugin-fitvids"})},pageTransition:function(){SEMICOLON.initialize.functions({default:".page-transition",file:"plugins.pagetransition.js",error:"plugins.pagetransition.js: Plugin could not be loaded",execfn:"SEMICOLON_pageTransitionInit",pluginfn:"$().animsition",trigger:"pluginPageTransitionReady",class:"has-plugin-animsition"})},lazyLoad:function(e){SEMICOLON.initialize.functions({element:e,default:".lazy",file:"plugins.lazyload.js",error:"plugins.lazyload.js: Plugin could not be loaded",execfn:"SEMICOLON_lazyLoadInit",pluginfn:'typeof LazyLoad !== "undefined"',trigger:"pluginlazyLoadReady",class:"has-plugin-lazyload"})},topScrollOffset:function(){var e=0;return!d.hasClass("device-xl")&&!d.hasClass("device-lg")||SEMICOLON.isMobile.any()?e=40:(e=c.hasClass("sticky-header")?I.hasClass("dots-menu")?100:144:I.hasClass("dots-menu")?140:184,I.length||(e=c.hasClass("sticky-header")?100:140)),e},dataResponsiveClasses:function(){SEMICOLON.initialize.functions({default:"[data-class-xl],[data-class-lg],[data-class-md],[data-class-sm],[data-class-xs]",file:"plugins.dataclasses.js",error:"plugins.dataclasses.js: Plugin could not be loaded",execfn:"SEMICOLON_dataClassesInit",pluginfn:'typeof scwDataClassesPlugin !== "undefined"',trigger:"pluginDataClassesReady",class:"has-plugin-dataclasses"})},dataResponsiveHeights:function(){SEMICOLON.initialize.functions({default:"[data-height-xl],[data-height-lg],[data-height-md],[data-height-sm],[data-height-xs]",file:"plugins.dataheights.js",error:"plugins.dataheights.js: Plugin could not be loaded",execfn:"SEMICOLON_dataHeightsInit",pluginfn:'typeof scwDataHeightsPlugin !== "undefined"',trigger:"pluginDataHeightsReady",class:"has-plugin-dataheights"})},stickFooterOnSmall:function(){m.css({"margin-top":""});var e=o.height(),t=r.height();!d.hasClass("sticky-footer")&&0<m.length&&r.has("#footer")&&t<e&&m.css({"margin-top":e-t})}},SEMICOLON.header={init:function(){SEMICOLON.header.initialize(),SEMICOLON.header.menufunctions(),SEMICOLON.header.fullWidthMenu(),SEMICOLON.header.stickyMenu(),SEMICOLON.header.stickyPageMenu(),SEMICOLON.header.sideHeader(),SEMICOLON.header.sidePanel(),SEMICOLON.header.onePageScroll(),SEMICOLON.header.logo(),SEMICOLON.header.topsearch(),SEMICOLON.header.topcart(),SEMICOLON.header.miscFunctions()},initialize:function(){0<u.length&&(l(".header-wrap-clone").length<1&&u.after('<div class="header-wrap-clone"></div>'),f=l(".header-wrap-clone")),0<I.length&&(I.find("#page-menu-wrap").after('<div class="page-menu-wrap-clone"></div>'),U=l(".page-menu-wrap-clone")),l(".menu-item:has(.sub-menu-container)").addClass("sub-menu"),SEMICOLON.header.menuInvert()},menuInvert:function(e){e=e||l(".mega-menu-content, .sub-menu-container, .top-links-section");e.children().css({display:"block"}),e.css({display:"block"}),e.each(function(e,t){var t=l(t),i=t.offset(),n=t.width();g-(n+i.left)<0&&t.addClass("menu-pos-invert")}),e.children().css({display:""}),e.css({display:""})},includeOffset:function(){if(h.length<1)return!0;var e=c.outerHeight();(c.hasClass("floating-header")||h.hasClass("include-topbar"))&&(e+=c.offset().top),h.css({"margin-top":-e}),SEMICOLON.slider.sliderParallax()}
1,menufunctions:function(){var e=l(".menu-item:has(.sub-menu-container)"),t=e.children(".menu-link"),i=".mega-menu-content, .sub-menu-container",n=l(i),a=".menu-item",s=".sub-menu",o=p.attr("data-trigger-speed")||200,r=".sub-menu-trigger",o=Number(o),e=e.children(r);d.hasClass("device-xl")||d.hasClass("device-lg")?(setTimeout(function(){0<f.length&&f.css({height:u.outerHeight()}),SEMICOLON.header.includeOffset()},1e3),p.find(n).css({display:""})):h.css({"margin-top":""}),d.hasClass("overlay-menu")&&p.hasClass("on-click")&&(d.hasClass("device-xl")||d.hasClass("device-lg"))?t.off("click").on("click",function(e){var t=l(this);t.parents(s).siblings().find(n).stop(!0,!0).slideUp(o),t.parent(a).children(i).stop(!0,!0).slideToggle(o),e.preventDefault()}):d.hasClass("side-header")&&p.hasClass("on-click")||d.hasClass("device-md")||d.hasClass("device-sm")||d.hasClass("device-xs")?(e.removeClass("icon-rotate-90"),l(a).find(n).filter(":not(:animated)").stop(!0,!0).slideUp(o,function(){d.toggleClass("primary-menu-open",!1)}),(e=e.add(t.filter('[href^="#"]'))).off("click").on("click",function(e){var t=l(this),t=(t.parents(s).siblings().find(r).removeClass("icon-rotate-90"),t.parents(s).siblings().find(n).filter(":not(:animated)").stop(!0,!0).slideUp(o),t.parent(a).children(i).filter(":not(:animated)").stop(!0,!0).slideToggle(o),t.parent(a).children(r));t.hasClass("icon-rotate-90")?t.removeClass("icon-rotate-90"):t.addClass("icon-rotate-90"),e.preventDefault()})):(d.hasClass("overlay-menu")||d.hasClass("side-header"))&&(d.hasClass("device-xl")||d.hasClass("device-lg"))?(p.find(n).stop(!0,!0).slideUp(o),l(a).hover(function(e){l(this).children(i).stop(!0,!0).slideDown(o)},function(){l(this).children(i).stop(!0,!0).slideUp(o)})):p.hasClass("on-click")&&t.off("click").on("click",function(e){var t=l(this);t.parents(s).siblings().find(n).removeClass("d-block"),t.parent(a).children(i).toggleClass("d-block"),e.preventDefault()}),(l(".top-links").hasClass("on-click")||d.hasClass("device-md")||d.hasClass("device-sm")||d.hasClass("device-xs"))&&l(".top-links-item:has(.top-links-sub-menu,.top-links-section) > a").on("click",function(e){l(this).parents("li").siblings().find(".top-links-sub-menu,.top-links-section").removeClass("d-block"),l(this).parent("li").children(".top-links-sub-menu,.top-links-section").toggleClass("d-block"),e.preventDefault()}),SEMICOLON.header.menuInvert(l(".top-links-section")),l("#primary-menu-trigger").off("click").on("click",function(){return(d.hasClass("device-md")||d.hasClass("device-sm")||d.hasClass("device-xs"))&&(0<p.find(".mobile-primary-menu").length?(l(".primary-menu:not(.mobile-menu-off-canvas) .mobile-primary-menu").stop(!0,!0).slideToggle(o),l(".primary-menu.mobile-menu-off-canvas .mobile-primary-menu")):(l(".primary-menu:not(.mobile-menu-off-canvas) .menu-container").stop(!0,!0).slideToggle(o),l(".primary-menu.mobile-menu-off-canvas .menu-container"))).toggleClass("d-block"),d.toggleClass("primary-menu-open"),!1}),l(".menu-container:not(.mobile-primary-menu)").css({display:""}),(d.hasClass("device-xl")||d.hasClass("device-lg"))&&p.find(".mobile-primary-menu").removeClass("d-block")},fullWidthMenu:function(){if(d.hasClass("device-md")||d.hasClass("device-sm")||d.hasClass("device-xs"))return l(".mega-menu-content, .top-search-form").css({width:""}),!0;var e,t,i=l(".mega-menu:not(.mega-menu-full):not(.mega-menu-small) .mega-menu-content").parents(".header-row").width();0<c.find(".container-fullwidth").length&&l(".mega-menu:not(.mega-menu-full):not(.mega-menu-small) .mega-menu-content").css({width:i}),d.hasClass("stretched")?c.hasClass("floating-header")?l(".mega-menu:not(.mega-menu-full):not(.mega-menu-small) .mega-menu-content, .top-search-form").css({width:i+80}):l(".mega-menu:not(.mega-menu-full):not(.mega-menu-small) .mega-menu-content, .top-search-form").css({width:i}):c.hasClass("full-header")&&l(".mega-menu:not(.mega-menu-full):not(.mega-menu-small) .mega-menu-content").css({width:i-80}),1<c.find(".header-row").length&&(i=l(".menu-container > .mega-menu:not(.mega-menu-small) .mega-menu-content").eq(0),i=".menu-container > .mega-menu:not(.mega-menu-small) .mega-menu-content { top: calc( 100% - "+(u.outerHeight()-i.parents(".header-row").outerHeight())+"px ); }",e=document.head||document.getElementsByTagName("head")[0],t=document.createElement("style"),e.appendChild(t),t.type="text/css",t.appendChild(document.createTextNode(i)))},stickyMenu:function(e){t=o.scrollTop(),(d.hasClass("device-xl")||d.hasClass("device-lg"))&&(e<t?d.hasClass("side-header")||(c.filter(":not(.no-sticky)").addClass("sticky-header"),SEMICOLON.header.stickyMenuClass(),"true"!=H)||c.hasClass("no-sticky")||(t-e>Number(Q)?(c.addClass("sticky-header-shrink"),s&&(b.find("img").css({height:Number(A)}),SEMICOLON.header.menuItemsSpacing(F))):(c.removeClass("sticky-header-shrink"),s&&(b.find("img").css({height:Number(n)}),SEMICOLON.header.menuItemsSpacing(R)))):(SEMICOLON.header.removeStickyness(),s&&(b.find("img").css({height:Number(n)}),SEMICOLON.header.menuItemsSpacing(R)))),(d.hasClass("device-xs")||d.hasClass("device-sm")||d.hasClass("device-md"))&&("true"==Y?e<t?(c.filter(":not(.no-sticky)").addClass("sticky-header"),SEMICOLON.header.stickyMenuClass()):(SEMICOLON.header.removeStickyness(),SEMICOLON.header.responsiveMenuClass()):SEMICOLON.header.removeStickyness(),s)&&(b.find("img").css({height:Number(B)}),SEMICOLON.header.menuItemsSpacing(""))},menuItemsSpacing:function(e){var t=q;d.hasClass("side-header")||d.hasClass("overlay-menu")||(p.hasClass("menu-spacing-margin")?""==e?t.css({"margin-top":"","margin-bottom":""}):t.css({"margin-top":Number(e),"margin-bottom":Number(e)}):""==e?t.css({"padding-top":"","padding-bottom":""}):t.css({"padding-top":Number(e),"padding-bottom":Number(e)}))},stickyPageMenu:function(e){o.scrollTop()>e?d.hasClass("device-xl")||d.hasClass("device-lg")?(I.filter(":not(.dots-menu,.no-sticky)").addClass("sticky-page-menu"),e=u.outerHeight(),0<c.length&&!c.hasClass("no-sticky")&&I.filter(".sticky-page-menu:not(.dots-menu,.no-sticky)").find(V).css({top:e+"px"})):(d.hasClass("device-sm")||d.hasClass("device-xs")||d.hasClass("device-md"))&&"true"==I.attr("data-mobile-sticky")&&I.filter(":not(.dots-menu,.no-sticky)").addClass("sticky-page-menu"):(I.removeClass("sticky-page-menu"),I.find(V).css({top:""}))},removeStickyness:function(){c.hasClass("sticky-header")&&(c.removeClass("sticky-header"),c.removeClass().addClass(v),u.removeClass().addClass(e),u.hasClass("force-not-dark")||u.removeClass("not-dark"),SEMICOLON.slider.swiperSliderMenu(),SEMICOLON.slider.revolutionSliderMenu(),0<f.length)&&u.outerHeight()>f.outerHeight()&&f.css({height:u.outerHeight()}),(d.hasClass("device-sm")||d.hasClass("device-xs")||d.hasClass("device-md"))&&void 0===y&&(c.removeClass().addClass(v),u.removeClass().addClass(e),u.hasClass("force-not-dark")||u.removeClass("not-dark"))},sideHeader:function(){l("#header-trigger").off("click").on("click",function(){return l("body.open-header").toggleClass("side-header-open"),!1})}
1,sidePanel:function(){l(".side-panel-trigger").off("click").on("click",function(){return d.toggleClass("side-panel-open"),d.hasClass("device-touch")&&d.hasClass("side-push-panel")&&d.toggleClass("ohidden"),!1})},onePageScroll:function(e){SEMICOLON.initialize.functions({element:e,default:".one-page-menu",file:"plugins.onepage.js",error:"plugins.onepage.js: Plugin could not be loaded",execfn:"SEMICOLON_onePageModule",pluginfn:'typeof scwOnePageModulePlugin !== "undefined"',trigger:"pluginOnePageModuleReady",class:"has-plugin-onepagemodule"})},logo:function(){var e=w.find("img"),t=C.find("img");!c.hasClass("dark")&&!d.hasClass("dark")||u.hasClass("not-dark")?(T&&e.attr("src")!=T&&e.attr("src",T),_&&t.attr("src")!=_&&t.attr("src",_)):(x&&e.attr("src")!=x&&e.attr("src",x),S&&t.attr("src")!=S&&t.attr("src",S)),c.hasClass("sticky-header")&&(k&&e.attr("src")!=k&&e.attr("src",k),E)&&t.attr("src")!=E&&t.attr("src",E),(d.hasClass("device-md")||d.hasClass("device-sm")||d.hasClass("device-xs"))&&(P&&e.attr("src")!=P&&e.attr("src",P),M)&&t.attr("src")!=M&&t.attr("src",M)},stickyMenuClass:function(){var e="",t=(e=W?W.split(/ +/):e).length;if(0<t)for(var i=0,i=0;i<t;i++)"not-dark"==e[i]?(c.removeClass("dark"),u.filter(":not(.not-dark)").addClass("not-dark")):("dark"==e[i]&&u.removeClass("not-dark force-not-dark"),c.hasClass(e[i])||c.addClass(e[i]))},responsiveMenuClass:function(){if(d.hasClass("device-xl")||d.hasClass("device-lg"))return!0;var e="",t=(e=y?y.split(/ +/):e).length;if(0<t)for(var i=0,i=0;i<t;i++)"not-dark"==e[i]?(c.removeClass("dark"),u.addClass("not-dark")):("dark"==e[i]&&u.removeClass("not-dark force-not-dark"),c.hasClass(e[i])||c.addClass(e[i]));SEMICOLON.header.logo()},topsearch:function(){K.parents(".header-row").addClass("top-search-parent");var t=c.find(".top-search-parent");
1l("#top-search-trigger").off("click").on("click",function(e){clearTimeout(i),d.toggleClass("top-search-open"),L.toggleClass("top-cart-open",!1),(d.hasClass("device-md")||d.hasClass("device-sm")||d.hasClass("device-xs"))&&(p.filter(":not(.mobile-menu-off-canvas)").find(".menu-container").slideUp(200),p.filter(".mobile-menu-off-canvas").find(".menu-container").toggleClass("d-block",!1)),d.hasClass("top-search-open")?t.toggleClass("position-relative",!0):i=setTimeout(function(){t.toggleClass("position-relative",!1)},750),d.toggleClass("primary-menu-open",!1),I.toggleClass("page-menu-open",!1),d.hasClass("top-search-open")&&K.find("input").focus(),e.stopPropagation(),e.preventDefault()})},topcart:function(){if(L.length<1)return!0;l("#top-cart-trigger").off("click").on("click",function(e){I.toggleClass("page-menu-open",!1),L.toggleClass("top-cart-open"),e.stopPropagation(),e.preventDefault()})},miscFunctions:function(){var t=c.find(".top-search-parent");l(document).on("click",function(e){l(e.target).closest(".top-search-form").length||(d.toggleClass("top-search-open",!1),i=setTimeout(function(){t.toggleClass("position-relative",!1)},750)),l(e.target).closest("#top-cart").length||L.toggleClass("top-cart-open",!1),l(e.target).closest("#page-menu").length||I.toggleClass("page-menu-open",!1),l(e.target).closest("#side-panel").length||d.toggleClass("side-panel-open",!1),l(e.target).closest(".primary-menu.on-click").length||p.filter(".on-click").find(".menu-container").find(".d-block").removeClass("d-block"),p.hasClass("mobile-menu-off-canvas")&&!l(e.target).closest(".primary-menu.mobile-menu-off-canvas .menu-container").length&&(p.filter(".mobile-menu-off-canvas").find(".menu-container").toggleClass("d-block",!1),d.toggleClass("primary-menu-open",!1)),l(e.target).closest(".top-links.on-click").length||l(".top-links.on-click").find(".top-links-sub-menu,.top-links-section").removeClass("d-block")})}},SEMICOLON.slider={init:function(){SEMICOLON.slider.sliderDimensions(),SEMICOLON.slider.sliderRun(),SEMICOLON.slider.sliderParallax(),SEMICOLON.slider.sliderElementsFade()},sliderDimensions:function(){var e=$.outerHeight(),t=$.outerWidth(),i=$.find(".slider-inner"),n=O.find(".swiper-wrapper"),a=O.find(".swiper-slide").first(),s=O.hasClass("h-auto")||O.hasClass("min-vh-0");d.hasClass("device-xl")||d.hasClass("device-lg")?(setTimeout(function(){i.height(e),s&&(e=$.find(".slider-inner").children().first().outerHeight(),$.height(e),i.height(e))},500),s&&(a=(a=a.children().first()).hasClass("container")||a.hasClass("container-fluid")?a.children().first():a).outerHeight()>n.outerHeight()&&n.css({height:"auto"}),d.hasClass("side-header")&&i.width(t),d.hasClass("stretched")||(t=r.outerWidth(),i.width(t))):(n.
1css({height:""}),$.css({height:""}),i.css({width:"",height:""}))},sliderRun:function(e){SEMICOLON.initialize.functions({element:e,default:".swiper_wrapper",file:"plugins.swiper.js",error:"plugins.swiper.js: Plugin could not be loaded",execfn:"SEMICOLON_swiperInit",pluginfn:'typeof Swiper !== "undefined"',trigger:"pluginSwiperReady",class:"has-plugin-swiper"})},sliderParallaxOffset:function(){var e=0,t=c.outerHeight();return(d.hasClass("side-header")||0<c.next(".include-header").length)&&(t=0),e=0<J.length?J.outerHeight()+t:t,e=0<O.next("#header").length?0:e},sliderParallaxSet:function(e,t,i){i&&(i.style.transform="translate3d("+e+", "+t+"px, 0)")},sliderParallax:function(){if($.length<1)return!0;var e,t,i=SEMICOLON.slider.sliderParallaxOffset(),n=$.outerHeight();window.pageXOffset,a=window.pageYOffset,!d.hasClass("device-xl")&&!d.hasClass("device-lg")||SEMICOLON.isMobile.any()?(0<$.find(".slider-inner").length?SEMICOLON.slider.sliderParallaxSet(0,0,ie):SEMICOLON.slider.sliderParallaxSet(0,0,ee),SEMICOLON.slider.sliderParallaxSet(0,0,te),$.addClass("slider-parallax-visible").removeClass("slider-parallax-invisible")):(a<n+i+50?($.addClass("slider-parallax-visible").removeClass("slider-parallax-invisible"),i<a?(0<$.find(".slider-inner").length?(e=-.4*(a-i),t=-.15*(a-i),SEMICOLON.slider.sliderParallaxSet(0,e,ie)):(e=(a-i)/1.5,t=(a-i)/7,SEMICOLON.slider.sliderParallaxSet(0,e,ee)),SEMICOLON.slider.sliderParallaxSet(0,t,te)):(0<$.find(".slider-inner").length?SEMICOLON.slider.sliderParallaxSet(0,0,ie):SEMICOLON.slider.sliderParallaxSet(0,0,ee),SEMICOLON.slider.sliderParallaxSet(0,0,te))):$.addClass("slider-parallax-invisible").removeClass("slider-parallax-visible"),requestAnimationFrame(function(){SEMICOLON.slider.sliderParallax(),SEMICOLON.slider.sliderElementsFade()}))},sliderElementsFade:function(){if($.length<1)return!0;var e,t;!d.hasClass("device-xl")&&!d.hasClass("device-lg")||SEMICOLON.isMobile.any()?$.find(".slider-arrow-left,.slider-arrow-right,.slider-caption,.slider-element-fade").css({opacity:1}):(SEMICOLON.slider.sliderParallaxOffset(),e=$.outerHeight(),t=c.hasClass("transparent-header")||d.hasClass("side-header")?100:0,$.filter(".slider-parallax-visible").find(".slider-arrow-left,.slider-arrow-right,.slider-caption,.slider-element-fade").css({opacity:1-1.85*(a-t)/e}))},swiperSliderMenu:function(e){var t;e=void 0!==e&&e,(d.hasClass("device-xl")||d.hasClass("device-lg")||c.hasClass("transparent-header-responsive")&&!d.hasClass("primary-menu-open"))&&(t=O.find(".swiper-slide.swiper-slide-active"),SEMICOLON.slider.headerSchemeChanger(t,e))},revolutionSliderMenu:function(e){var t;e=void 0!==e&&e,(d.hasClass("device-xl")||d.hasClass("device-lg")||c.hasClass("transparent-header-responsive")&&!d.hasClass("primary-menu-open"))&&(t=O.find(".active-revslide"),SEMICOLON.slider.headerSchemeChanger(t,e))},headerSchemeChanger:function(e,t){if(0<e.length){var i,n,a=!1;if(e.hasClass("dark")){if(0<(n=(i=v?v.split(/ +/):"").length))for(var s=0,s=0;s<n;s++)if("dark"==i[s]&&1==t){a=!0;break}l("#header.transparent-header:not(.sticky-header,.semi-transparent,.floating-header)").addClass("dark"),a||l("#header.transparent-header.sticky-header,#header.transparent-header.semi-transparent.sticky-header,#header.transparent-header.floating-header.sticky-header").removeClass("dark"),u.removeClass("not-dark")}else d.hasClass("dark")?(e.addClass("not-dark"),l("#header.transparent-header:not(.semi-transparent,.floating-header)").removeClass("dark"),l("#header.transparent-header:not(.sticky-header,.semi-transparent,.floating-header)").find("#header-wrap").addClass("not-dark")):(l("#header.transparent-header:not(.semi-transparent,.floating-header)").removeClass("dark"),u.removeClass("not-dark"));c.hasClass("sticky-header")&&SEMICOLON.header.stickyMenuClass(),SEMICOLON.header.logo()}}},SEMICOLON.portfolio={init:function(){SEMICOLON.portfolio.revealDesc(),SEMICOLON.portfolio.ajaxload()},revealDesc:function(){var e=l(".portfolio-reveal");if(e<1)return!0;e.each(function(){l(this).find(".portfolio-item").each(function(){var e=l(this).find(".portfolio-desc"),t=e.outerHeight();e.css({"margin-top":"-"+t+"px"})})})},ajaxload:function(){SEMICOLON.initialize.functions({default:".portfolio-ajax",file:"plugins.ajaxportfolio.js",error:"plugins.ajaxportfolio.js: Plugin could not be loaded",execfn:"SEMICOLON_portfolioAjaxloadInit",pluginfn:'typeof scwAjaxPortfolioPlugin !== "undefined"',trigger:"pluginAjaxPortfolioReady",class:"has-plugin-ajaxportfolio"})}},SEMICOLON.widget={init:function(){SEMICOLON.widget.animations(),SEMICOLON.widget.hoverAnimation(),SEMICOLON.widget.youtubeBgVideo(),SEMICOLON.widget.tabs(),SEMICOLON.widget.toggles(),SEMICOLON.widget.accordions(),SEMICOLON.widget.counter(),SEMICOLON.widget.countdown(),SEMICOLON.widget.gmap(),SEMICOLON.widget.roundedSkill
1(),SEMICOLON.widget.progress(),SEMICOLON.widget.twitterFeed(),SEMICOLON.widget.flickrFeed(),SEMICOLON.widget.instagramPhotos(),SEMICOLON.widget.dribbbleShots(),SEMICOLON.widget.navTree(),SEMICOLON.widget.textRotator(),SEMICOLON.widget.carousel(),SEMICOLON.widget.linkScroll(),SEMICOLON.widget.ajaxForm(),SEMICOLON.widget.subscription(),SEMICOLON.widget.shapeDivider(),SEMICOLON.widget.stickySidebar(),SEMICOLON.widget.cookieNotify(),SEMICOLON.widget.cartQuantity(),SEMICOLON.widget.readmore(),SEMICOLON.widget.pricingSwitcher(),SEMICOLON.widget.extras()},parallax:function(e){SEMICOLON.initialize.functions({element:e,default:".parallax,.page-title-parallax,.portfolio-parallax .portfolio-image",file:"plugins.parallax.js",error:"plugins.parallax.js: Plugin could not be loaded",execfn:"SEMICOLON_parallaxInit",pluginfn:'typeof skrollr !== "undefined"',trigger:"pluginParallaxReady",class:"has-plugin-parallax"})},animations:function(e){SEMICOLON.initialize.functions({element:e,default:"[data-animate]",file:"plugins.animations.js",error:"plugins.animations.js: Plugin could not be loaded",execfn:"SEMICOLON_animationsInit",pluginfn:'typeof scwAnimationsPlugin !== "undefined"',trigger:"pluginAnimationsReady",class:"has-plugin-animations"})},hoverAnimation:function(e){SEMICOLON.initialize.functions({element:e,default:"[data-hover-animate]",file:"plugins.hoveranimation.js",error:"plugins.hoveranimation.js: Plugin could not be loaded",execfn:"SEMICOLON_hoverAnimationInit",pluginfn:'typeof scwHoverAnimationPlugin !== "undefined"',trigger:"pluginHoverAnimationReady",class:"has-plugin-hoveranimation"})},gridInit:function(e){SEMICOLON.initialize.functions({element:e,default:".grid-container",file:"plugins.isotope.js",error:"plugins.isotope.js: Plugin could not be loaded",execfn:"SEMICOLON_gridContainerInit",pluginfn:"$().isotope",trigger:"pluginIsotopeReady",class:"has-plugin-isotope"})},filterInit:function(e){SEMICOLON.initialize.functions({element:e,default:".grid-filter,.custom-filter",file:"plugins.gridfilter.js",error:"plugins.gridfilter.js: Plugin could not be loaded",execfn:"SEMICOLON_gridFilterInit",pluginfn:'$().isotope && typeof scwGridFilterPlugin !== "undefined"',trigger:"pluginGridFilterReady",class:"has-plugin-isotope-filter"})},loadFlexSlider:function(e){SEMICOLON.initialize.functions({element:e,default:".fslider",file:"plugins.flexslider.js",error:"plugins.flexslider.js: Plugin could not be loaded",execfn:"SEMICOLON_flexSliderInit",pluginfn:"$().flexslider",trigger:"pluginFlexSliderReady",class:"has-plugin-flexslider"})},html5Video:function(e){SEMICOLON.initialize.functions({element:e,default:".video-wrap:has(video)",file:"plugins.html5video.js",error:"plugins.html5video.js: Plugin could not be loaded",execfn:"SEMICOLON_html5VideoInit",pluginfn:'typeof scwHtml5VideoPlugin !== "undefined"',trigger:"pluginHtml5VideoReady",class:"has-plugin-html5video"})},youtubeBgVideo:function(e){SEMICOLON.initialize.functions({element:e,default:".yt-bg-player",file:"plugins.youtube.js",error:"plugins.youtube.js: Plugin could not be loaded",execfn:"SEMICOLON_youtubeBgVideoInit",pluginfn:"$().YTPlayer",trigger:"pluginYoutubeBgVideoReady",class:"has-plugin-youtubebg"})},tabs:function(e){SEMICOLON.initialize.functions({element:e,default:'.tabs,[data-plugin="tabs"]',file:"plugins.tabs.js",error:"plugins.tabs.js: Plugin could not be loaded",execfn:"SEMICOLON_tabsInit",pluginfn:"$().tabs",trigger:"pluginTabsReady",class:"has-plugin-tabs"})},toggles:function(e){SEMICOLON.initialize.functions({element:e,default:".toggle",file:"plugins.toggles.js",error:"plugins.toggles.js: Plugin could not be loaded",execfn:"SEMICOLON_togglesInit",pluginfn:'typeof scwTogglesPlugin !== "undefined"',trigger:"pluginTogglesReady",class:"has-plugin-toggles"})},accordions:function(e){SEMICOLON.initialize.functions({element:e,default:".accordion",file:"plugins.accordions.js",error:"plugins.accordions.js: Plugin could not be loaded",execfn:"SEMICOLON_accordionsInit",pluginfn:'typeof scwAccordionsPlugin !== "undefined"',trigger:"pluginAccordionsReady",class:"has-plugin-accordions"})}
1,counter:function(e){SEMICOLON.initialize.functions({element:e,default:".counter",file:"plugins.counter.js",error:"plugins.counter.js: Plugin could not be loaded",execfn:"SEMICOLON_counterInit",pluginfn:"$().countTo",trigger:"pluginCounterReady",class:"has-plugin-counter"})},countdown:function(e){var t={element:e,default:".countdown",file:"plugins.countdown.js",error:"plugins.countdown.js: Plugin could not be loaded",execfn:"SEMICOLON_countdownInit",pluginfn:"$().countdown",trigger:"pluginCountdownReady",class:"has-plugin-countdown"};SEMICOLON.initialize.functions({element:e,default:".countdown",file:"components/moment.js",error:"components/moment.js: Plugin could not be loaded",execfn:!1,pluginfn:'typeof moment !== "undefined"',trigger:"pluginMomentReady",class:"has-plugin-moment"}),SEMICOLON.initialize.functions(t)},gmap:function(e){var t={element:e,default:".gmap",file:"plugins.gmap.js",error:"plugins.gmap.js: Plugin could not be loaded",execfn:"SEMICOLON_gmapInit",pluginfn:'typeof google !== "undefined" && $().gMap',hiddendisable:!0,trigger:"pluginGmapReady",class:"has-plugin-gmap"};SEMICOLON.initialize.functions({element:e,default:".gmap",file:"https://maps.google.com/maps/api/js?key="+Z,error:"Google Maps API could not be loaded",execfn:!1,pluginfn:'typeof google !== "undefined"',hiddendisable:!0,class:"has-plugin-gmapapi"}),SEMICOLON.initialize.functions(t)},roundedSkill:function(e){SEMICOLON.initialize.functions({element:e,default:".rounded-skill",file:"plugins.piechart.js",error:"plugins.piechart.js: Plugin could not be loaded",execfn:"SEMICOLON_roundedSkillInit",pluginfn:"$().easyPieChart",trigger:"pluginRoundedSkillReady",class:"has-plugin-piechart"})},progress:function(e){SEMICOLON.initialize.functions({element:e,default:".progress",file:"plugins.progress.js",error:"plugins.progress.js: Plugin could not be loaded",execfn:"SEMICOLON_progressInit",pluginfn:'typeof scwProgressPlugin !== "undefined"',trigger:"pluginProgressReady",class:"has-plugin-progress"})},twitterFeed:function(e){SEMICOLON.initialize.functions({element:e,default:".twitter-feed",file:"plugins.twitter.js",error:"plugins.twitter.js: Plugin could not be loaded",execfn:"SEMICOLON_twitterFeedInit",pluginfn:'typeof sm_format_twitter !== "undefined" && typeof sm_format_twitter3 !== "undefined"',trigger:"pluginTwitterFeedReady",class:"has-plugin-twitter"})},flickrFeed:function(e){SEMICOLON.initialize.functions({element:e,default:".flickr-feed",file:"plugins.flickrfeed.js",error:"plugins.flickrfeed.js: Plugin could not be loaded",execfn:"SEMICOLON_flickrFeedInit",pluginfn:"$().jflickrfeed",trigger:"pluginFlickrFeedReady",class:"has-plugin-flickr"})},instagramPhotos:function(e){SEMICOLON.initialize.functions({element:e,default:".instagram-photos",file:"plugins.instagram.js",error:"plugins.instagram.js: Plugin could not be loaded",execfn:"SEMICOLON_instagramPhotosInit",pluginfn:'typeof scwInstagramPlugin !== "undefined"',trigger:"pluginInstagramReady",class:"has-plugin-instagram"})},dribbbleShots:function(e){var t={element:e,default:".dribbble-shots",file:"plugins.imagesloaded.js",error:"plugins.imagesloaded.js: Plugin could not be loaded",pluginfn:"$().imagesLoaded",trigger:"pluginImagesLoadedReady",class:"has-plugin-imagesloaded"};SEMICOLON.initialize.functions({element:e,default:".dribbble-shots",file:"plugins.dribbble.js",error:"plugins.dribbble.js: Plugin could not be loaded",execfn:"SEMICOLON_dribbbleShotsInit",pluginfn:"$.jribbble",trigger:"pluginDribbbleReady",class:"has-plugin-dribbble"}),SEMICOLON.initialize.functions(t)},navTree:function(e){SEMICOLON.initialize.functions({element:e,default:".nav-tree",file:"plugins.navtree.js",error:"plugins.navtree.js: Plugin could not be loaded",execfn:"SEMICOLON_navtreeInit",pluginfn:'typeof scwNavTreePlugin !== "undefined"',trigger:"pluginNavTreeReady",class:"has-plugin-navtree"})},carousel:function(e){SEMICOLON.initialize.functions({element:e,default:".carousel-widget",file:"plugins.carousel.js",error:"plugins.carousel.js: Plugin could not be loaded",execfn:"SEMICOLON_carouselInit",pluginfn:"$().owlCarousel",trigger:"pluginCarouselReady",class:"has-plugin-carousel"})}
1,masonryThumbs:function(e){SEMICOLON.initialize.functions({element:e,default:".masonry-thumbs",file:"plugins.masonrythumbs.js",error:"plugins.masonrythumbs.js: Plugin could not be loaded",execfn:"SEMICOLON_masonryThumbsInit",pluginfn:'$().isotope && typeof scwMasonryThumbsPlugin !== "undefined"',trigger:"pluginMasonryThumbsReady",class:"has-plugin-masonrythumbs"})},notifications:function(e){SEMICOLON.initialize.functions({element:e,default:!1,file:"plugins.notify.js",error:"plugins.notify.js: Plugin could not be loaded",execfn:"SEMICOLON_notificationInit",pluginfn:'typeof toastr !== "undefined"',trigger:"pluginNotifyReady",class:"has-plugin-toastr"})},textRotator:function(e){SEMICOLON.initialize.functions({element:e,default:".text-rotater",file:"plugins.textrotator.js",error:"plugins.textrotator.js: Plugin could not be loaded",execfn:"SEMICOLON_textRotatorInit",pluginfn:"$().Morphext",trigger:"pluginTextRotatorReady",class:"has-plugin-textrotator"})},linkScroll:function(e){SEMICOLON.initialize.functions({element:e,default:"a[data-scrollto]",file:"plugins.linkscroll.js",error:"plugins.linkscroll.js: Plugin could not be loaded",execfn:"SEMICOLON_linkScrollInit",pluginfn:'typeof scwLinkScrollPlugin !== "undefined"',trigger:"pluginLinkScrollReady",class:"has-plugin-linkscroll"})},ajaxForm:function(e){var t={element:e,default:".form-widget",file:"plugins.ajaxform.js",error:"plugins.ajaxform.js: Plugin could not be loaded",execfn:"SEMICOLON_ajaxFormInit",pluginfn:'typeof scwAjaxFormPlugin !== "undefined"',trigger:"pluginAjaxFormReady",class:"has-plugin-ajaxform"};SEMICOLON.initialize.functions({element:e,default:".form-widget",file:"plugins.form.js",error:"plugins.form.js: Plugin could not be loaded",execfn:!1,pluginfn:"$().validate && $().ajaxSubmit",class:"has-plugin-form"}),SEMICOLON.initialize.functions(t)},subscription:function(e){var t={element:e,default:".subscribe-widget",file:"plugins.subscribe.js",error:"plugins.subscribe.js: Plugin could not be loaded",execfn:"SEMICOLON_subscribeFormInit",pluginfn:'typeof scwSubscribeFormPlugin !== "undefined"',trigger:"pluginSubscribeFormReady",class:"has-plugin-subscribeform"};SEMICOLON.initialize.functions({element:e,default:".subscribe-widget",file:"plugins.form.js",error:"plugins.form.js: Plugin could not be loaded",execfn:!1,pluginfn:"$().validate && $().ajaxSubmit",class:"has-plugin-form"}),SEMICOLON.initialize.functions(t)},shapeDivider:function(e){SEMICOLON.initialize.functions({element:e,default:".shape-divider",file:"plugins.shapedivider.js",error:"plugins.shapedivider.js: Plugin could not be loaded",execfn:"SEMICOLON_shapeDividerInit",pluginfn:'typeof scwShapeDividerPlugin !== "undefined"',trigger:"pluginShapeDividerReady",class:"has-plugin-shapedivider"})},ticker:function(e){SEMICOLON.initialize.functions({element:e,default:".scw-ticker",file:"plugins.ticker.js",error:"plugins.ticker.js: Plugin could not be loaded",execfn:"SEMICOLON_tickerInit",pluginfn:'typeof scwTickerPlugin !== "undefined"',trigger:"pluginTickerReady",class:"has-plugin-ticker"})},stickySidebar:function(e){SEMICOLON.initialize.functions({element:e,default:".sticky-sidebar-wrap",file:"plugins.stickysidebar.js",error:"plugins.stickysidebar.js: Plugin could not be loaded",execfn:"SEMICOLON_stickySidebarInit",pluginfn:"$().scwStickySidebar",trigger:"pluginStickySidebarReady",class:"has-plugin-stickysidebar"})},cookieNotify:function(e){SEMICOLON.initialize.functions({element:e,default:".gdpr-settings,[data-cookies]",file:"plugins.cookie.js",error:"plugins.cookie.js: Plugin could not be loaded",execfn:"SEMICOLON_cookieInit",pluginfn:'typeof Cookies !== "undefined"',trigger:"pluginCookieReady",class:"has-plugin-cookie"})},cartQuantity:function(){SEMICOLON.initialize.functions({default:".qty",file:"plugins.quantity.js",error:"plugins.quantity.js: Plugin could not be loaded",execfn:"SEMICOLON_quantityInit",pluginfn:'typeof scwQuantityPlugin !== "undefined"',trigger:"pluginQuantityReady",class:"has-plugin-quantity"})},readmore:function(){SEMICOLON.initialize.functions({default:"[data-readmore]",file:"plugins.readmore.js",error:"plugins.readmore.js: Plugin could not be loaded",execfn:"SEMICOLON_readmoreInit",pluginfn:'typeof scwReadMorePlugin !== "undefined"',trigger:"pluginReadMoreReady",class:"has-plugin-readmore"})},pricingSwitcher:function(){SEMICOLON.initialize.functions({default:".pts-switcher",file:"plugins.pricingswitcher.js",error:"plugins.pricingswitcher.js: Plugin could not be loaded",execfn:"SEMICOLON_pricingSwitcherInit",pluginfn:'typeof scwPricingSwitcherPlugin !== "undefined"',trigger:"pluginPricingSwitcherReady",class:"has-plugin-pricing-switcher"})},extras:function(){l(window).on("pluginBootstrapReady",function(){l().tooltip?l('[data-toggle="tooltip"]').tooltip({container:"body"}):console.log("extras: Bootstrap Tooltip not defined."),l().popover?l("[data-toggle=popover]").popover():console.log("extras: Bootstrap Popover not defined.")}),l(".style-msg").on("click",".close",function(e){l(this).parents(".style-msg").slideUp(),e.preventDefault()}),l("#page-menu-trigger").off("click").on("click",function(){return d.toggleClass("top-search-open",!1),I.toggleClass("page-menu-open"),!1}),I.find("nav").off("click").on("click",function(e){d.toggleClass("top-search-open",!1),L.toggleClass("top-cart-open",!1)}),SEMICOLON.isMobile.any()&&d.addClass("device-touch")}},SEMICOLON.isMobile={Android:function(){return navigator.userAgent.match(/Android/i)},BlackBerry:function(){return navigator.userAgent.match(/BlackBerry/i)},iOS:function(){return navigator.userAgent.match(/iPhone|iPad|iPod/i)},Opera:function(){return navigator.userAgent.match(/Opera Mini/i)},Windows:function(){return navigator.userAgent.match(/IEMobile/i)},any:function(){return SEMICOLON.isMobile.Android()||SEMICOLON.isMobile.BlackBerry()||SEMICOLON.isMobile.iOS()||SEMICOLON.isMobile.Opera()||SEMICOLON.isMobile.Windows()}},SEMICOLON.customization={onReady:function(){},onLoad:function(){},onResize:function(){}},SEMICOLON.documentOnResize={init:function(){SEMICOLON.header.menufunctions(),SEMICOLON.header.fullWidthMenu(),SEMICOLON.header.stickyMenu(),SEMICOLON.initialize.dataResponsiveHeights(),SEMICOLON.slider.sliderDimensions(),SEMICOLON.slider.sliderParallax(),SEMICOLON.widget.html5Video(),SEMICOLON.widget.masonryThumbs(),SEMICOLON.initialize.dataResponsiveClasses(),SEMICOLON.customization.onResize(),g=o.width(),l(window).trigger("scwWindowResize")}},SEMICOLON.documentOnReady={init:function(){SEMICOLON.initialize.init(
1),SEMICOLON.header.init(),(0<O.length||0<X.length)&&SEMICOLON.slider.init(),0<G.length&&SEMICOLON.portfolio.init(),SEMICOLON.widget.init(),SEMICOLON.documentOnReady.windowscroll(),SEMICOLON.customization.onReady(),d.hasClass("adaptive-color-scheme")&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches&&d.toggleClass("dark",!0),window.matchMedia)&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",function(e){e.matches?d.toggleClass("dark",!0):d.toggleClass("dark",!1)}),d.off("click").on("click",'a[href*="#"]',function(){o.on("beforeunload",function(){o.scrollTop(0)})});var e=location.hash;0<l(e).length&&0<l(".one-page-menu").find('[data-href="'+e+'"]').length&&o.scrollTop(0)},windowscroll:function(){0<c.length&&(ne=c.offset().top,u.addClass("position-absolute"),D=u.offset().top,u.removeClass("position-absolute"));var e,t,i=c.attr("data-sticky-offset"),n=(void 0!==i?"full"==i?(D=o.height(),void 0!==(e=c.attr("data-sticky-offset-negative"))&&(D=D-e-1)):D=Number(i):"undefined"===D&&(D=ne),I.find("#page-menu-wrap"),u.outerHeight()),a=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");0<I.length&&(U.css({height:I.find("#page-menu-wrap").outerHeight()}),setTimeout(function(){0<c.length&&!c.hasClass("no-sticky")&&(d.hasClass("device-xl")||d.hasClass("device-lg")||"true"==Y)?(z=I.offset().top-u.outerHeight(),a.appendChild(s),t="#page-menu.sticky-page-menu:not(.dots-menu) #page-menu-wrap { top: "+n+"px; }",s.type="text/css",s.appendChild(document.createTextNode(t))):z=I.offset().top},1e3)),SEMICOLON.header.stickyMenu(D),SEMICOLON.header.stickyPageMenu(z),window.addEventListener("scroll",function(){SEMICOLON.initialize.goToTopScroll(),l("body.open-header.close-header-on-scroll").removeClass("side-header-open"),SEMICOLON.header.stickyMenu(D),SEMICOLON.header.stickyPageMenu(z),SEMICOLON.header.logo()}),window.addEventListener("DOMContentLoaded",onScrollSliderParallax,!1),o.scrollEnd(function(){var e=u.outerHeight();0<f.length&&e>f.outerHeight()&&(f.css({height:e}),d.hasClass("device-xl")||d.hasClass("device-lg"))&&SEMICOLON.header.includeOffset(),0<I.length&&0<c.length&&!c.hasClass("no-sticky")&&(d.hasClass("device-xl")||d.hasClass("device-lg"))&&I.filter(".sticky-page-menu:not(.dots-menu,.no-sticky)").find(V).css({top:e+"px"})},500),window.onfocus=function(){var e=u.outerHeight();0<f.length&&e>f.outerHeight()&&f.css({height:e})}}},SEMICOLON.documentOnLoad={init:function(){SEMICOLON.slider.swiperSliderMenu(!0),SEMICOLON.slider.revolutionSliderMenu(!0),SEMICOLON.widget.gridInit(),o.on("pluginIsotopeReady",function(){SEMICOLON.widget.filterInit(),SEMICOLON.widget.masonryThumbs()}),SEMICOLON.widget.parallax(),SEMICOLON.widget.loadFlexSlider(),SEMICOLON.widget.html5Video(),SEMICOLON.widget.ticker(),SEMICOLON.header.responsiveMenuClass(),SEMICOLON.initialize.modal(),SEMICOLON.customization.onLoad()}};var t,i,a,N,o=l(window),d=l("body"),r=l("#wrapper"),c=l("#header"),u=l("#header-wrap"),h=l(".include-header"),n=c.attr("data-logo-height")||100,A=c.attr("data-sticky-logo-height")||60,Y=c.attr("data-mobile-sticky")||"false",B=c.attr("data-mobile-logo-height")||Number(n),R=(c.attr("data-mobile-sticky-logo-height")||Number(A),c.attr("data-menu-padding")||39),F=c.attr("data-sticky-menu-padding")||19,s=!(c.hasClass("header-size-lg")||c.hasClass("header-size-md")||c.hasClass("header-size-sm")||c.hasClass("header-size-custom")),H=c.attr("data-sticky-shrink")||"true",Q=c.attr("data-sticky-shrink-offset")||300,p=l(".primary-menu"),q=p.find(".menu-container:not(mobile-primary-menu):not(.custom-spacing)").children(".menu-item").children(".menu-link"),f="",m=(u.outerHeight(),u.find(".header-row:eq(0)"),l("#content"),l("#footer")),g=o.width(),v=c.attr("class"),e=u.attr("class"),W=c.attr("data-sticky-class"),y=c.attr("data-responsive-class"),b=l("#logo"),w=b.find(".standard-logo"),C=(w.find("img").outerWidth(),b.find(".retina-logo")),T=w.find("img").attr("src"),_=C.find("img").attr("src"),x=w.attr("data-dark-logo"),S=C.attr("data-dark-logo"),k=w.attr("data-sticky-logo"),E=C.attr("data-sticky-logo"),P=w.attr("data-mobile-logo"),M=C.attr("data-mobile-logo"),I=l("#page-menu"),U="",V=I.find("#page-menu-wrap"),G=(l(".one-page-menu"),l(".portfolio")),O
1=(l(".shop"),l("#slider")),$=l(".slider-parallax"),X=l(".slider-element"),J=l("#page-title"),K=l(".top-search-form"),L=l("#top-cart"),j=(l("#top-social").find("li"),l("#gotoTop")),Z="YOUR-API-KEY",ee=document.querySelector(".slider-parallax"),te=document.querySelector(".slider-parallax .slider-caption"),ie=document.querySelector(".slider-inner"),ne=0,D=0,z=0;l(document).ready(SEMICOLON.documentOnReady.init),o.on("load",SEMICOLON.documentOnLoad.init),o.on("resize",function(){var e=l(this);clearTimeout(N),N=setTimeout(function(){e.width()!==g&&SEMICOLON.documentOnResize.init()},250)})})(jQuery),$(document).ready(function(){$(".sub-menu-no-children .menu-link").on("click",function(e){e.preventDefault(),e.stopImmediatePropagation()})}),$(document).ready(function(){var e,t,i,n;768<$(window).width()&&(e=$("#main .more"),t=$(".header-row").width(),n=i=0,$(".header-misc").each(function(){n+=$(this).outerWidth(!0)}),$("#menu #main li:not(.more)").each(function(){i+=$(this).outerWidth(!0),t<i+n+80&&($(this).prependTo($("#main .more ul")),e.show())}),$(e).mouseover(function(){$(".menu-container").find(".more-list").css("display","block")}),$(e).mouseleave(function(){$(".menu-container").find(".more-list").css("display","none")}))}),((t,i)=>{"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(e){return i(t,e)}):"object"==typeof module&&module.exports?module.exports=i(t,require("jquery")):t.jQueryBridget=i(t,t.jQuery)})(window,function(e,t){function i(l,d,c){(c=c||t||e.jQuery)&&(d.prototype.option||(d.prototype.option=function(e){c.isPlainObject(e)&&(this.options=c.extend(!0,this.options,e))}),c.fn[l]=function(e){var t,n,a,s,o,r;return"string"==typeof e?(t=u.call(arguments,1),a=t,o="$()."+l+'("'+(n=e)+'")',(t=this).each(function(e,t){var i,t=c.data(t,l);t?(i=t[n])&&"_"!=n.charAt(0)?(i=i.apply(t,a),s=void 0===s?i:s):h(o+" is not a valid method"):h(l+" not initialized. Cannot call methods, i.e. "+o)}),void 0!==s?s:t):(r=e,this.each(function(e,t){var i=c.data(t,l);i?(i.option(r),i._init()):(i=new d(t,r),c.data(t,l,i))}),this)},n(c))}function n(e){e&&!e.bridget&&(e.bridget=i)}var u=Array.prototype.slice,a=e.console,h=void 0===a?function(){}:function(e){a.error(e)};return n(t||e.jQuery),i}),((e,t)=>{"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()})("undefined"!=typeof window?window:this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){var i;if(e&&t)return-1==(i=(i=this._events=this._events||{})[e]=i[e]||[]).indexOf(t)&&i.push(t),this},t.once=function(e,t){var i;if(e&&t)return this.on(e,t),((i=this._onceEvents=this._onceEvents||{})[e]=i[e]||{})[t]=!0,this},t.off=function(e,t){e=this._events&&this._events[e];if(e&&e.length)return-1!=(t=e.indexOf(t))&&e.splice(t,1),this},t.emitEvent=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){i=i.slice(0),t=t||[];for(var n=this._onceEvents&&this._onceEvents[e],a=0;a<i.length;a++){var s=i[a];n&&n[s]&&(this.off(e,s),delete n[s]),s.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e}),((e,t)=>{"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",t):"object"==typeof module&&module.exports?module.exports=t():e.matchesSelector=t()})(window,function(){var i=(()=>{var e=window.Element.prototype;if(e.matches)return"matches";if(e.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],i=0;i<t.length;i++){var n=t[i]+"MatchesSelector";if(e[n])return n}})();return function(e,t){return e[i](t)}}),((t,i)=>{"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["de
1sandro-matches-selector/matches-selector"],function(e){return i(t,e)}):"object"==typeof module&&module.exports?module.exports=i(t,require("desandro-matches-selector")):t.fizzyUIUtils=i(t,t.matchesSelector)})(window,function(i,s){var l={extend:function(e,t){for(var i in t)e[i]=t[i];return e},modulo:function(e,t){return(e%t+t)%t}},t=Array.prototype.slice,d=(l.makeArray=function(e){return Array.isArray(e)?e:null==e?[]:"object"==typeof e&&"number"==typeof e.length?t.call(e):[e]},l.removeFrom=function(e,t){t=e.indexOf(t);-1!=t&&e.splice(t,1)},l.getParent=function(e,t){for(;e.parentNode&&e!=document.body;)if(s(e=e.parentNode,t))return e},l.getQueryElement=function(e){return"string"==typeof e?document.querySelector(e):e},l.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},l.filterFindElements=function(e,n){e=l.makeArray(e);var a=[];return e.forEach(function(e){if(e instanceof HTMLElement)if(n){s(e,n)&&a.push(e);for(var t=e.querySelectorAll(n),i=0;i<t.length;i++)a.push(t[i])}else a.push(e)}),a},l.debounceMethod=function(e,t,n){n=n||100;var a=e.prototype[t],s=t+"Timeout";e.prototype[t]=function(){var e=this[s],t=(clearTimeout(e),arguments),i=this;this[s]=setTimeout(function(){a.apply(i,t),delete i[s]},n)}},l.docReady=function(e){var t=document.readyState;"complete"==t||"interactive"==t?setTimeout(e):document.addEventListener("DOMContentLoaded",e)},l.toDashed=function(e){return e.replace(/(.)([A-Z])/g,function(e,t,i){return t+"-"+i}).toLowerCase()},i.console);return l.htmlInit=function(o,r){l.docReady(function(){var e=l.toDashed(r),n="data-"+e,t=document.querySelectorAll("["+n+"]"),e=document.querySelectorAll(".js-"+e),t=l.makeArray(t).concat(l.makeArray(e)),a=n+"-options",s=i.jQuery;t.forEach(function(t){var e,i=t.getAttribute(n)||t.getAttribute(a);try{e=i&&JSON.parse(i)}catch(e){return void(d&&d.error("Error parsing "+n+" on "+t.className+": "+e))}i=new o(t,e);s&&s.data(t,r,i)})})},l}),((i,n)=>{"function"==typeof define&&define.amd?define("infinite-scroll/js/core",["ev-emitter/ev-emitter","fizzy-ui-utils/utils"],function(e,t){return n(i,e,t)}):"object"==typeof module&&module.exports?module.exports=n(i,require("ev-emitter"),require("fizzy-ui-utils")):i.InfiniteScroll=n(i,i.EvEmitter,i.fizzyUIUtils)})(window,function(t,e,a){function s(e,t){var i,n=a.getQueryElement(e);if(n)return(e=n).infiniteScrollGUID?((i=r[e.infiniteScrollGUID]).option(t),i):(this.element=e,this.options=a.extend({},s.defaults),this.option(t),o&&(this.$element=o(this.element)),void this.create());console.error("Bad element for InfiniteScroll: "+(n||e))}var o=t.jQuery,r={},i=(s.defaults={},s.create={},s.destroy={},s.prototype),n=(a.extend(i,e.prototype),0),l=(i.create=function(){var e=this.guid=++n;if(this.element.infiniteScrollGUID=e,(r[e]=this).pageIndex=1,this.loadCount=0,this.updateGetPath(),this.getPath&&this.getPath())for(var t in this.updateGetAbsolutePath(),this.log("initialized",[this.element.className]),this.callOnInit(),s.create)s.create[t].call(this);else console.error("Disabling InfiniteScroll")},i.option=function(e){a.extend(this.options,e)},i.callOnInit=function(){var e=this.options.onInit;e&&e.call(this,this)},i.dispatchEvent=function(e,t,i){this.log(e,i);var n=t?[t].concat(i):i;this.emitEvent(e,n),o&&this.$element&&(n=e+=".infiniteScroll",t&&((t=o.Event(t)).type=e,n=t),this.$element.trigger(n,i))},{initialized:function(e){return"on "+e},request:function(e){return"URL: "+e},load:function(e,t){return(e.title||"")+". URL: "+t},error:function(e,t){return e+". URL: "+t},append:function(e,t,i){return i.length+" items. URL: "+t},last:function(e,t){return"URL: "+t},history:function(e,t){return"URL: "+t},pageIndex:function(e,t){return"current page determined to be: "+e+" from "+t}}),d=(i.log=function(e,t){var i;this.options.debug&&(i="[InfiniteScroll] "+e,(e=l[e])&&(i+=". "+e.apply(this,t)),console.log(i))},i.updateMeasurements=function(){this.windowHeight=t.innerHeight;var e=this.element.getBoundingClientRect();this.top=e.top+t.pageYOffset},i.updateScroller=function(){var e=this.options.elementScroll;if(e){if(this.scroller=!0===e?this.element:a.getQueryElement(e),!this.scroller)throw"Unable to find elementScroll: "+e}else this.scroller=t},i.updateGetPath=function(){var e=this.options.path;if(e){var t=typeof e;if("function"!=t)return"string"==t&&e.match("{{#}}")?void this.updateGetPathTemplate(e):void this.updateGetPathSelector(e);this.getPath=e}else console.error("InfiniteScroll path option required. Set as: "+e)},i.updateGetPathTemplate=function(t){this.getPath=function(){var e=this.pageIndex+1;return t.replace("{{#}}",e)}.bind(this);var e=t.replace("{{#}}","(\\d\\d?\\d?)"),e=new RegExp(e),e=location.href.match(e);e&&(this.pageIndex=parseInt(e[1],10),this.log("pageIndex",[this.pageIndex,"template string"]))},[/^(.*?\/?page\/?)(\d\d?\d?)(.*?$)/,/^(.*?\/?\?page=)(\d\d?\d?)(.*?$)/,/(.*?)(\d\d?\d?)(?!.*\d)(.*?$)/]);return i.updateGetPathSelector=function(e){var t=document.querySelector(e);
1if(t){for(var i,n=t.getAttribute("href"),a=0;n&&a<d.length;a++){var s=n.match(d[a]);if(s){i=s.slice(1);break}}return i?(this.isPathSelector=!0,this.getPath=function(){var e=this.pageIndex+1;return i[0]+e+i[2]}.bind(this),this.pageIndex=parseInt(i[1],10)-1,void this.log("pageIndex",[this.pageIndex,"next link"])):void console.error("InfiniteScroll unable to parse next link href: "+n)}console.error("Bad InfiniteScroll path option. Next link not found: "+e)},i.updateGetAbsolutePath=function(){var e,t=this.getPath();t.match(/^http/)||t.match(/^\//)?this.getAbsolutePath=this.getPath:(t=location.pathname,e=t.substring(0,t.lastIndexOf("/")),this.getAbsolutePath=function(){return e+"/"+this.getPath()})},s.create.hideNav=function(){var e=a.getQueryElement(this.options.hideNav);e&&(e.style.display="none",this.nav=e)},s.destroy.hideNav=function(){this.nav&&(this.nav.style.display="")},i.destroy=function(){for(var e in this.allOff(),s.destroy)s.destroy[e].call(this);delete this.element.infiniteScrollGUID,delete r[this.guid],o&&this.$element&&o.removeData(this.element,"infiniteScroll")},s.throttle=function(n,a){var s,o;return a=a||200,function(){var e=+new Date,t=arguments,i=function(){s=e,n.apply(this,t)}.bind(this);s&&e<s+a?(clearTimeout(o),o=setTimeout(i,a)):i()}},s.data=function(e){e=(e=a.getQueryElement(e))&&e.infiniteScrollGUID;return e&&r[e]},s.setJQuery=function(e){o=e},a.htmlInit(s,"infinite-scroll"),i._init=function(){},o&&o.bridget&&o.bridget("infiniteScroll",s),s}),((t,i)=>{"function"==typeof define&&define.amd?define("infinite-scroll/js/page-load",["./core"],function(e){return i(t,e)}):"object"==typeof module&&module.exports?module.exports=i(t,require("./core")):i(t,t.InfiniteScroll)})(window,function(n,a){function u(e){for(var t=document.createDocumentFragment(),i=0;e&&i<e.length;i++)t.appendChild(e[i]);return t}var e=a.prototype;return a.defaults.loadOnScroll=!0,a.defaults.checkLastPage=!0,a.defaults.responseType="document",a.create.pageLoad=function(){this.canLoad=!0,this.on("scrollThreshold",this.onScrollThresholdLoad),this.on("load",this.checkLastPage),this.options.outlayer&&this.on("append",this.onAppendOutlayer)},e.onScrollThresholdLoad=function(){this.options.loadOnScroll&&this.loadNextPage()},e.loadNextPage=function(){var t,e,i,n,a,s,o,r;!this.isLoading&&this.canLoad&&(t=this.getAbsolutePath(),this.isLoading=!0,e=function(e){this.onPageLoad(e,t)}.bind(this),i=function(e){this.onPageError(e,t)}.bind(this),n=t,a=this.options.responseType,s=e,o=i,(r=new XMLHttpRequest).open("GET",n,!0),r.responseType=a||"",r.setRequestHeader("X-Requested-With","XMLHttpRequest"),r.onload=function(){var e;200==r.status?s(r.response):(e=new Error(r.statusText),o(e))},r.onerror=function(){var e=new Error("Network error requesting "+n);o(e)},r.send(),this.dispatchEvent("request",null,[t]))},e.onPageLoad=function(e,t){return this.options.append||(this.isLoading=!1),this.pageIndex++,this.loadCount++,this.dispatchEvent("load",null,[e,t]),this.appendNextPage(e,t),e},e.appendNextPage=function(e,t){var i,n,a=this.options.append;"document"==this.options.responseType&&a&&(i=e.querySelectorAll(a),n=u(i),a=function(){this.appendItems(i,n),this.isLoading=!1,this.dispatchEvent("append",null,[e,t,i])}.bind(this),this.options.outlayer?this.appendOutlayerItems(n,a):a())},e.appendItems=function(e,t){if(e&&e.length){for(var i=(t=t||u(e)).querySelectorAll("script"),n=0;n<i.length;n++){for(var a=i[n],s=document.createElement("script"),o=(c=d=l=r=o=void 0,a),r=s,l=o.attributes,d=0;d<l.length;d++){var c=l[d];r.setAttribute(c.name,c.value)}s.innerHTML=a.innerHTML,a.parentNode.replaceChild(s,a)}this.element.appendChild(t)}},e.appendOutlayerItems=function(e,t){var i=a.imagesLoaded||n.imagesLoaded;return i?void i(e,t):(console.error("[InfiniteScroll] imagesLoaded required for outlayer option"),void(this.isLoading=!1))},e.onAppendOutlayer=function(e,t,i){this.options.outlayer.appended(i)},e.checkLastPage=function(e,t){var i=this.options.checkLastPage;if(i){var n,a=this.options.path;if("function"==typeof a)if(!this.getPath())return void this.lastPageReached(e,t);"string"==typeof i?n=i:this.isPathSelector&&(n=a),n&&e.querySelector&&(e.querySelector(n)||this.lastPageReached(e,t))}},e.lastPageReached=function(e,t){this.canLoad=!1,this.dispatchEvent("last",null,[e,t])},e.onPageError=function(e,t){return this.isLoading=!1,this.canLoad=!1,this.dispatchEvent("error",null,[e,t]),e},a.create.prefill=function(){var e;this.options.prefill&&((e=this.options.append)?(this.updateMeasurements(),this.updateScroller(),this.isPrefilling=!0,this.on("append",this.prefill),this.once("error",this.stopPrefill),this.once("last",this.stopPrefill),this.prefill()):console.error("append option required for prefill. Set as :"+e))},e.prefill=function(){var e=this.getPrefillDistance();this.isPrefilling=0<=e,this.isPrefilling?(this.log("prefill"),this.loadNextPage()):this.stopPrefill()},e.getPrefillDistance=function(){return this.options.elementScroll?this.scroller.clientHeight-this.scroller.scrollHeight:this.windowHeight-this.element.clientHeight},e.stopPrefill=function(){this.log("stopPrefill"),this.off("append",this.prefill)},a}),((i,n)=>{"function"==typeof define&&define.amd?define("infinite-scroll/js/scroll-watch",["./core","fizzy-ui-utils/utils"],function(e,t){return n(i,e,t)}):"object"==typeof module&&module.exports?module.exports=n(i,require("./core"),require("fizzy-ui-utils")):n(i,i.InfiniteScroll,i.fizzyUIUtils)}
1)(window,function(t,e,i){var n=e.prototype;return e.defaults.scrollThreshold=400,e.create.scrollWatch=function(){this.pageScrollHandler=this.onPageScroll.bind(this),this.resizeHandler=this.onResize.bind(this);var e=this.options.scrollThreshold;!e&&0!==e||this.enableScrollWatch()},e.destroy.scrollWatch=function(){this.disableScrollWatch()},n.enableScrollWatch=function(){this.isScrollWatching||(this.isScrollWatching=!0,this.updateMeasurements(),this.updateScroller(),this.on("last",this.disableScrollWatch),this.bindScrollWatchEvents(!0))},n.disableScrollWatch=function(){this.isScrollWatching&&(this.bindScrollWatchEvents(!1),delete this.isScrollWatching)},n.bindScrollWatchEvents=function(e){e=e?"addEventListener":"removeEventListener";this.scroller[e]("scroll",this.pageScrollHandler),t[e]("resize",this.resizeHandler)},n.onPageScroll=e.throttle(function(){this.getBottomDistance()<=this.options.scrollThreshold&&this.dispatchEvent("scrollThreshold")}),n.getBottomDistance=function(){return this.options.elementScroll?this.getElementBottomDistance():this.getWindowBottomDistance()},n.getWindowBottomDistance=function(){return this.top+this.element.clientHeight-(t.pageYOffset+this.windowHeight)},n.getElementBottomDistance=function(){return this.scroller.scrollHeight-(this.scroller.scrollTop+this.scroller.clientHeight)},n.onResize=function(){this.updateMeasurements()},i.debounceMethod(e,"onResize",150),e}),((i,n)=>{"function"==typeof define&&define.amd?define("infinite-scroll/js/history",["./core","fizzy-ui-utils/utils"],function(e,t){return n(i,e,t)}):"object"==typeof module&&module.exports?module.exports=n(i,require("./core"),require("fizzy-ui-utils")):n(i,i.InfiniteScroll,i.fizzyUIUtils)})(window,function(t,e,i){var n=e.prototype,a=(e.defaults.history="replace",document.createElement("a"));return e.create.history=function(){if(this.options.history)return a.href=this.getAbsolutePath(),(a.origin||a.protocol+"//"+a.host)==location.origin?void(this.options.append?this.createHistoryAppend():this.createHistoryPageLoad()):void console.error("[InfiniteScroll] cannot set history with different origin: "+a.origin+" on "+location.origin+" . History behavior disabled.")},n.createHistoryAppend=function(){this.updateMeasurements(),this.updateScroller(),this.scrollPages=[{top:0,path:location.href,title:document.title}],this.scrollPageIndex=0,this.scrollHistoryHandler=this.onScrollHistory.bind(this),this.unloadHandler=this.onUnload.bind(this),this.scroller.addEventListener("scroll",this.scrollHistoryHandler),this.on("append",this.onAppendHistory),this.bindHistoryAppendEvents(!0)},n.bindHistoryAppendEvents=function(e){e=e?"addEventListener":"removeEventListener";this.scroller[e]("scroll",this.scrollHistoryHandler),t[e]("unload",this.unloadHandler)},n.createHistoryPageLoad=function(){this.on("load",this.onPageLoadHistory)},e.destroy.history=n.destroyHistory=function(){this.options.history&&this.options.append&&this.bindHistoryAppendEvents(!1)},n.onAppendHistory=function(e,t,i){i&&i.length&&(i=i[0],i=this.getElementScrollY(i),a.href=t,this.scrollPages.push({top:i,path:a.href,title:e.title}))},n.getElementScrollY=function(e){return this.options.elementScroll?this.getElementElementScrollY(e):this.getElementWindowScrollY(e)},n.getElementWindowScrollY=function(e){return e.getBoundingClientRect().top+t.pageYOffset},n.getElementElementScrollY=function(e){return e.offsetTop-this.top},n.onScrollHistory=function(){for(var e,t,i=this.getScrollViewY(),n=0;n<this.scrollPages.length;n++){var a=this.scrollPages[n];if(a.top>=i)break;e=n,t=a}e!=this.scrollPageIndex&&(this.scrollPageIndex=e,this.setHistory(t.title,t.path))},i.debounceMethod(e,"onScrollHistory",150),n.getScrollViewY=function(){return this.options.elementScroll?this.scroller.scrollTop+this.scroller.clientHeight/2:t.pageYOffset+this.windowHeight/2},n.setHistory=function(e,t){var i=this.options.history;i&&history[i+"State"]&&(history[i+"State"](null,e,t),this.options.historyTitle&&(document.title=e),this.dispatchEvent("history",null,[e,t]))},n.onUnload=function(){var e=this.scrollPageIndex;0!==e&&(e=this.scrollPages[e],e=t.pageYOffset-e.top+this.top,this.destroyHistory(),scrollTo(0,e))},n.onPageLoadHistory=function(e,t){this.setHistory(e.title,t)},e}),((i,n)=>{"function"==typeof define&&define.amd?define("infinite-scroll/js/button",["./core","fizzy-ui-utils/utils"],function(e,t){return n(i,e,t)}):"object"==typeof module&&module.exports?module.exports=n(i,require("./core"),require("fizzy-ui-utils")):n(i,i.InfiniteScroll,i.fizzyUIUtils)})(window,function(e,t,i){function n(e,t){this.element=e,this.infScroll=t,this.clickHandler=this.onClick.bind(this),this.element.addEventListener("click",this.clickHandler),t.on("request",this.disable.bind(this)),t.on("load",this.enable.bind(this)),t.on("error",this.hide.bind(this)),t.on("last",this.hide.bind(this))}return t.create.button=function(){var e=i.getQueryElement(this.options.button);e&&(this.button=new n(e,this))},t.destroy.button=function(){this.button&&this.button.destroy()},n.prototype.onClick=function(e){e.preventDefault(),this.infScroll.loadNextPage()},n.prototype.enable=function(){this.element.removeAttribute("disabled")},n.prototype.disable=function(){this.element.disabled="disabled"},n.prototype.hide=function(){this.element.style.display="none"},n.prototype.destroy=function(){this.element.removeEventListener("click",this.clickHandler)},t.Button=n,t}),((i,n)=>{"function"==typeof define&&define.amd?define("infinite-scroll/js/status",["./core","fizzy-ui-utils/utils"],function(e,t){return n(i,e,t)}):"object"==typeof module&&module.exports?module.exports=n(i,require("./core"),require("fizzy-ui-utils")):n(i,i.InfiniteScroll,i.fizzyUIUtils)})(window,function(e,t,i){function n(e){s(e,"none")}function a(e){s(e,"block")}function s(e,t){e&&(e.style.display=t)}var o=t.prototype;return t.create.status=function(){var e=i.getQueryElement(this.options.status);e&&(this.statusElement=e,this.statusEventElements={request:e.querySelector(".infinite-scroll-request"),error:e.querySelector(".infinite-scroll-error"),last:e.querySelector(".infinite-scroll-last")},this.on("request",this.showRequestStatus),this.on("error",this.showErrorStatus),this.on("last",this.showLastStatus),this.bindHideStatus("on"))},o.bindHideStatus=function(e){var t=this.options.append?"append":"load";this[e](t,this.hideAllStatus)},o.showRequestStatus=function(){this.showStatus("request")},o.showErrorStatus=function(){this.showStatus("error")},o.showLastStatus=function(){this.showStatus("last"),this.bindHideStatus("off")},o.showStatus=function(e){a(this.statusElement),this.hideStatusEventElements(),a(this.statusEventElements[e])},o.hideAllStatus=function(){n(this.statusElement),this.hideStatusEventElements()},o.hideStatusEventElements=function(){for(var e in this.statusEventElements)n(this.statusEventElements[e])},t}),(e=>{"function"==typeof define&&define.amd?define(["infinite-scroll/js/core","infinite-scroll/js/page-load","infinite-scroll/js/scroll-watch","infinite-scroll/js/history","infinite-scroll/js/button","infinite-scroll/js/status"],e):"object"==typeof module&&module.exports&&(module.exports=e(require("./core"),require("./page-load"),require("./scroll-watch"),require("./history"),require("./button"),require("./status")))})((window,function(e){return e})),((t,i)=>{"function"==typeof define&&define.amd?define("imagesloaded/imagesloaded",["ev-emitter/ev-emitter"],function(e){return i(t,e)}):"object"==typeof module&&module.exports?module.exports=i(t,require("ev-emitter")):t.imagesLoaded=i(t,t.EvEmitter)})("undefined"!=typeof window?window:this,function(t,e){function s(e,t){for(var i in t)e[i]=t[i];return e}function o(e,t,i){var n,a;return this instanceof o?(n="string"==typeof(n=e)?document.querySelectorAll(e):n)?(this.elements=(a=n,Array.isArray(a)?a:"object"==typeof a&&"number"==typeof a.length?d.call(a):[a]
1),this.options=s({},this.options),"function"==typeof t?i=t:s(this.options,t),i&&this.on("always",i),this.getImages(),r&&(this.jqDeferred=new r.Deferred),void setTimeout(this.check.bind(this))):void l.error("Bad element for imagesLoaded "+(n||e)):new o(e,t,i)}function i(e){this.img=e}function n(e,t){this.url=e,this.element=t,this.img=new Image}var r=t.jQuery,l=t.console,d=Array.prototype.slice,c=((o.prototype=Object.create(e.prototype)).options={},o.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},o.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&c[t]){for(var i=e.querySelectorAll("img"),n=0;n<i.length;n++){var a=i[n];this.addImage(a)}if("string"==typeof this.options.background)for(var s=e.querySelectorAll(this.options.background),n=0;n<s.length;n++){var o=s[n];this.addElementBackgroundImages(o)}}},{1:!0,9:!0,11:!0});return o.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(t.backgroundImage);null!==n;){var a=n&&n[2];a&&this.addBackground(a,e),n=i.exec(t.backgroundImage)}},o.prototype.addImage=function(e){e=new i(e);this.images.push(e)},o.prototype.addBackground=function(e,t){e=new n(e,t);this.images.push(e)},o.prototype.check=function(){function t(e,t,i){setTimeout(function(){n.progress(e,t,i)})}var n=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(e){e.once("progress",t),e.check()}):void this.complete()},o.prototype.progress=function(e,t,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&l&&l.log("progress: "+i,e,t)},o.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred&&(e=this.hasAnyBroken?"reject":"resolve",this.jqDeferred[e](this))},(i.prototype=Object.create(e.prototype)).check=function(){return this.getIsImageComplete()?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},i.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},i.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},i.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},i.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},i.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},i.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},(n.prototype=Object.create(i.prototype)).check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},n.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},n.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},(o.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((r=e).fn.imagesLoaded=function(e,t){return new o(this,e,t).jqDeferred.promise(r(this))})})(),o}),window.scwDisableJsAJAX=!0,jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,t,i,n,a){return jQuery.easing[jQuery.easing.def](e,t,i,n,a)},easeInQuad:function(e,t,i,n,a){return n*(t/=a)*t+i},easeOutQuad:function(e,t,i,n,a){return-n*(t/=a)*(t-2)+i},easeInOutQuad:function(e,t,i,n,a){return(t/=a/2)<1?n/2*t*t+i:-n/2*(--t*(t-2)-1)+i},easeInCubic:function(e,t,i,n,a){return n*(t/=a)*t*t+i},easeOutCubic:function(e,t,i,n,a){return n*((t=t/a-1)*t*t+1)+i},easeInOutCubic:function(e,t,i,n,a){return(t/=a/2)<1?n/2*t*t*t+i:n/2*((t-=2)*t*t+2)+i},easeInQuart:function(e,t,i,n,a){return n*(t/=a)*t*t*t+i},easeOutQuart:function(e,t,i,n,a){return-n*((t=t/a-1)*t*t*t-1)+i},easeInOutQuart:function(e,t,i,n,a){return(t/=a/2)<1?n/2*t*t*t*t+i:-n/2*((t-=2)*t*t*t-2)+i},easeInQuint:function(e,t,i,n,a){return n*(t/=a)*t*t*t*t+i},easeOutQuint:function(e,t,i,n,a){return n*((t=t/a-1)*t*t*t*t+1)+i},easeInOutQuint:function(e,t,i,n,a){return(t/=a/2)<1?n/2*t*t*t*t*t+i:n/2*((t-=2)*t*t*t*t+2)+i},easeInSine:function(e,t,i,n,a){return-n*Math.cos(t/a*(Math.PI/2))+n+i},easeOutSine:function(e,t,i,n,a){return n*Math.sin(t/a*(Math.PI/2))+i},easeInOutSine:function(e,t,i,n,a){return-n/2*(Math.cos(Math.PI*t/a)-1)+i},easeInExpo:function(e,t,i,n,a){return 0==t?i:n*Math.pow(2,10*(t/a-1))+i},easeOutExpo:function(e,t,i,n,a){return t==a?i+n:n*(1-Math.pow(2,-10*t/a))+i},easeInOutExpo:function(e,t,i,n,a){return 0==t?i:t==a?i+n:(t/=a/2)<1?n/2*Math.pow(2,10*(t-1))+i:n/2*(2-Math.pow(2,-10*--t))+i},easeInCirc:function(e,t,i,n,a){return-n*(Math.sqrt(1-(t/=a)*t)-1)+i},easeOutCirc:function(e,t,i,n,a){return n*Math.sqrt(1-(t=t/a-1)*t)+i},easeInOutCirc:function(e,t,i,n,a){return(t/=a/2)<1?-n/2*(Math.sqrt(1-t*t)-1)+i:n/2*(Math.sqrt(1-(t-=2)*t)+1)+i},easeInElastic:function(e,t,i,n,a){var s=1.70158,o=0,r=n;return 0==t?i:1==(t/=a)?i+n:(o=o||.3*a,s=r<Math.abs(n)?(r=n,o/4):o/(2*Math.PI)*Math.asin(n/r),-(r*Math.pow(2,10*--t)*Math.sin(2*Math.PI*(t*a-s)/o))+i)},easeOutElastic:function(e,t,i,n,a){var s=1.70158,o=0,r=n;return 0==t?i:1==(t/=a)?i+n:(o=o||.3*a,s=r<Math.abs(n)?(r=n,o/4):o/(2*Math.PI)*Math.asin(n/r),r*Math.pow(2,-10*t)*Math.sin(2*Math.PI*(t*a-s)/o)+n+i)},easeInOutElastic:function(e,t,i,n,a){var s=1.70158,o=0,r=n;return 0==t?i:2==(t/=a/2)?i+n:(o=o||a*(.3*1.5),s=r<Math.abs(n)?(r=n,o/4):o/(2*Math.PI)*Math.asin(n/r),t<1?r*Math.pow(2,10*--t)*Math.sin(2*Math.PI*(t*a-s)/o)*-.5+i:r*Math.pow(2,-10*--t)*Math.sin(2*Math.PI*(t*a-s)/o)*.5+n+i)},easeInBack:function(e,t,i,n,a,s){return n*(t/=a)*t*(((s=null==s?1.70158:s)+1)*t-s)+i},easeOutBack:function(e,t,i,n,a,s){return n*((t=t/a-1)*t*(((s=null==s?1.70158:s)+1)*t+s)+1)+i},easeInOutBack:function(e,t,i,n,a,s){return null==s&&(s=1.70158),(t/=a/2)<1?n/2*(t*t*((1+(s*=1.525))*t-s))+i:n/2*((t-=2)*t*((1+(s*=1.525))*t+s)+2)+i},easeInBounce:function(e,t,i,n,a){return n-jQuery.easing.easeOutBounce(e,a-t,0,n,a)+i},easeOutBounce:function(e,t,i,n,a){return(t/=a)<1/2.75?n*(7.5625*t*t)+i:t<2/2.75?n*(7.5625*(t-=1.5/2.75)*t+.75)+i:t<2.5/2.75?n*(7.5625*(t-=2.25/2.75)*t+.9375)+i:n*(7.5625*(t-=2.625/2.75)*t+.984375)+i},easeInOutBounce:function(e,t,i,n,a){return t<a/2?.5*jQuery.easing.easeInBounce(e,2*t,0,n,a)+i:.5*jQuery.easing.easeOutBounce(e,2*t-a,0,n,a)+.5*n+i}}),((e,t)=>{"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bootstrap={},e.jQuery)})(this,function(e,t){var c=(t=t)&&"object"==typeof t&&"default"in t?t:{default:t};function z(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t,i){t&&z(e.prototype,t),i&&z(e,i)}function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i,n=arguments[t];for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var u={TRANSITION_END:"bsTransitionEnd",getUID:function(e){for(;e+=~~(1e6*Math.random()),document.getElementById(e););return e},getSelectorFromElement:function(e){var t,i=e.getAttribute("data-target");i&&"#"!==i||(i=(t=e.getAttribute("href"))&&"#"!==t?t.trim():"");try{return document.querySelector(i)?i:null}catch(e){return null}},getTransitionDurationFromElement:function(e){var t,i,n;return e&&(t=c.default(e).css("transition-duration"),e=c.default(e).css("transition-delay"),i=parseFloat(t),n=parseFloat(e),i||n)?(t=t.split(",")[0],e=e.split(",")[0],1e3*(parseFloat(t)+parseFloat(e))):0},reflow:function(e){return e.offsetHeight},triggerTransitionEnd:function(e){c.default(e).trigger("transitionend")},supportsTransitionEnd:function(){return Boolean("transitionend")},isElement:function(e){return(e[0]||e).nodeType},typeCheckConfig:function(e,t,i){for(var n in i)if(Object.prototype.hasOwnProperty.call(i,n)){var a=i[n],s=t[n],s=s&&u.isElement(s)?"element":null==(s=s)?""+s:{}.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(a).test(s))throw new Error(e.toUpperCase()+': Option "'+n+'" provided type "'+s+'" but expected type "'+a+'".')}},findShadowRoot:function(e){var t;return document.documentElement.attachShadow?"function"==typeof e.getRootNode?(t=e.getRootNode())instanceof ShadowRoot?t:null:e instanceof ShadowRoot?e:e.parentNode?u.findShadowRoot(e.parentNode):null:null},jQueryDetection:function(){if(void 0===c.default)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var e=c.default.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1===e[0]&&9===e[1]&&e[2]<1||4<=e[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}},n=(u.jQueryDetection(),c.default.fn.emulateTransitionEnd=function(e){var t=this,i=!1;return c.default(this).one(u.TRANSITION_END,function(){i=!0}),setTimeout(function(){i||u.triggerTransitionEnd(t)},e),this},c.default.event.special[u.TRANSITION_END]={bindType:"transitionend",delegateType:"transitionend",handle:function(e){if(c.default(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}},"alert"),N=c.default.fn[n],a=((t=o.prototype).close=function(e){var t=this._element;e&&(t=this._getRootElement(e)),this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)}
1,t.dispose=function(){c.default.removeData(this._element,"bs.alert"),this._element=null},t._getRootElement=function(e){var t=u.getSelectorFromElement(e),i=!1;return i=(i=t?document.querySelector(t):i)||c.default(e).closest(".alert")[0]},t._triggerCloseEvent=function(e){var t=c.default.Event("close.bs.alert");return c.default(e).trigger(t),t},t._removeElement=function(t){var e,i=this;c.default(t).removeClass("show"),c.default(t).hasClass("fade")?(e=u.getTransitionDurationFromElement(t),c.default(t).one(u.TRANSITION_END,function(e){return i._destroyElement(t,e)}).emulateTransitionEnd(e)):this._destroyElement(t)},t._destroyElement=function(e){c.default(e).detach().trigger("closed.bs.alert").remove()},o._jQueryInterface=function(i){return this.each(function(){var e=c.default(this),t=e.data("bs.alert");t||(t=new o(this),e.data("bs.alert",t)),"close"===i&&t[i](this)})},o._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},i(o,null,[{key:"VERSION",get:function(){return"4.5.3"}}]),o);function o(e){this._element=e}c.default(document).on("click.bs.alert.data-api",'[data-dismiss="alert"]',a._handleDismiss(new a)),c.default.fn[n]=a._jQueryInterface,c.default.fn[n].Constructor=a,c.default.fn[n].noConflict=function(){return c.default.fn[n]=N,a._jQueryInterface};var A=c.default.fn.button,r=((t=l.prototype).toggle=function(){var e,t=!0,i=!0,n=c.default(this._element).closest('[data-toggle="buttons"]')[0];n&&(e=this._element.querySelector('input:not([type="hidden"])'))&&("radio"===e.type&&(e.checked&&this._element.classList.contains("active")?t=!1:(n=n.querySelector(".active"))&&c.default(n).removeClass("active")),t&&("checkbox"!==e.type&&"radio"!==e.type||(e.checked=!this._element.classList.contains("active")),this.shouldAvoidTriggerChange||c.default(e).trigger("change")),e.focus(),i=!1),this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(i&&this._element.setAttribute("aria-pressed",!this._element.classList.contains("active")),t&&c.default(this._element).toggleClass("active"))},t.dispose=function(){c.default.removeData(this._element,"bs.button"),this._element=null},l._jQueryInterface=function(i,n){return this.each(function(){var e=c.default(this),t=e.data("bs.button");t||(t=new l(this),e.data("bs.button",t)),t.shouldAvoidTriggerChange=n,"toggle"===i&&t[i]()})},i(l,null,[{key:"VERSION",get:function(){return"4.5.3"}}]),l);function l(e){this._element=e,this.shouldAvoidTriggerChange=!1}c.default(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(e){var t,i=e.target,n=i;!(i=c.default(i).hasClass("btn")?i:c.default(i).closest(".btn")[0])||i.hasAttribute("disabled")||i.classList.contains("disabled")||(t=i.querySelector('input:not([type="hidden"])'))&&(t.hasAttribute("disabled")||t.classList.contains("disabled"))?e.preventDefault():"INPUT"!==n.tagName&&"LABEL"===i.tagName||r._jQueryInterface.call(c.default(i),"toggle","INPUT"===n.tagName)}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){var t=c.default(e.target).closest(".btn")[0];c.default(t).toggleClass("focus",/^focus(in)?$/.test(e.type))}),c.default(window).on("load.bs.button.data-api",function(){for(var e=[].slice.call(document.querySelectorAll('[data-toggle="buttons"] .btn')),t=0,i=e.length;t<i;t++){var n=e[t],a=n.querySelector('input:not([type="hidden"])');a.checked||a.hasAttribute("checked")?n.classList.add("active"):n.classList.remove("active")}for(var s=0,o=(e=[].slice.call(document.querySelectorAll('[data-toggle="button"]'))).length;s<o;s++){var r=e[s];"true"===r.getAttribute("aria-pressed")?r.classList.add("active"):r.classList.remove("active")}}),c.default.fn.button=r._jQueryInterface,c.default.fn.button.Constructor=r,c.default.fn.button.noConflict=function(){return c.default.fn.button=A,r._jQueryInterface};var d="carousel",Y=c.default.fn[d],B={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},R={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},F={TOUCH:"touch",PEN:"pen"},h=((t=p.prototype).next=function(){this._isSliding||this._slide("next")},t.nextWhenVisible=function(){var e=c.default(this._element);
1!document.hidden&&e.is(":visible")&&"hidden"!==e.css("visibility")&&this.next()},t.prev=function(){this._isSliding||this._slide("prev")},t.pause=function(e){e||(this._isPaused=!0),this._element.querySelector(".carousel-item-next, .carousel-item-prev")&&(u.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},t.cycle=function(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},t.to=function(e){var t=this,i=(this._activeElement=this._element.querySelector(".active.carousel-item"),this._getItemIndex(this._activeElement));e>this._items.length-1||e<0||(this._isSliding?c.default(this._element).one("slid.bs.carousel",function(){return t.to(e)}):i===e?(this.pause(),this.cycle()):this._slide(i<e?"next":"prev",this._items[e]))},t.dispose=function(){c.default(this._element).off(".bs.carousel"),c.default.removeData(this._element,"bs.carousel"),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},t._getConfig=function(e){return e=s({},B,e),u.typeCheckConfig(d,e,R),e},t._handleSwipe=function(){var e=Math.abs(this.touchDeltaX);e<=40||(e=e/this.touchDeltaX,(this.touchDeltaX=0)<e&&this.prev(),e<0&&this.next())},t._addEventListeners=function(){var t=this;this._config.keyboard&&c.default(this._element).on("keydown.bs.carousel",function(e){return t._keydown(e)}),"hover"===this._config.pause&&c.default(this._element).on("mouseenter.bs.carousel",function(e){return t.pause(e)}).on("mouseleave.bs.carousel",function(e){return t.cycle(e)}),this._config.touch&&this._addTouchEventListeners()},t._addTouchEventListeners=function(){var e,t,i=this;this._touchSupported&&(e=function(e){i._pointerEvent&&F[e.originalEvent.pointerType.toUpperCase()]?i.touchStartX=e.originalEvent.clientX:i._pointerEvent||(i.touchStartX=e.originalEvent.touches[0].clientX)},t=function(e){i._pointerEvent&&F[e.originalEvent.pointerType.toUpperCase()]&&(i.touchDeltaX=e.originalEvent.clientX-i.touchStartX),i._handleSwipe(),"hover"===i._config.pause&&(i.pause(),i.touchTimeout&&clearTimeout(i.touchTimeout),i.touchTimeout=setTimeout(function(e){return i.cycle(e)},500+i._config.interval))},c.default(this._element.querySelectorAll(".carousel-item img")).on("dragstart.bs.carousel",function(e){return e.preventDefault()}),this._pointerEvent?(c.default(this._element).on("pointerdown.bs.carousel",e),c.default(this._element).on("pointerup.bs.carousel",t),this._element.classList.add("pointer-event")):(c.default(this._element).on("touchstart.bs.carousel",e),c.default(this._element).on("touchmove.bs.carousel",function(e){(e=e).originalEvent.touches&&1<e.originalEvent.touches.length?i.touchDeltaX=0:i.touchDeltaX=e.originalEvent.touches[0].clientX-i.touchStartX}),c.default(this._element).on("touchend.bs.carousel",t)))},t._keydown=function(e){if(!/input|textarea/i.test(e.target.tagName))switch(e.which){case 37:e.preventDefault(),this.prev();break;case 39:e.preventDefault(),this.next()}},t._getItemIndex=function(e){return this._items=e&&e.parentNode?[].slice.call(e.parentNode.querySelectorAll(".carousel-item")):[],this._items.indexOf(e)},t._getItemByDirection=function(e,t){var i="next"===e,n="prev"===e,a=this._getItemIndex(t),s=this._items.length-1;return(n&&0===a||i&&a===s)&&!this._config.wrap?t:-1==(n=(a+("prev"===e?-1:1))%this._items.length)?this._items[this._items.length-1]:this._items[n]},t._triggerSlideEvent=function(e,t){var i=this._getItemIndex(e),n=this._getItemIndex(this._element.querySelector(".active.carousel-item")),e=c.default.Event("slide.bs.carousel",{relatedTarget:e,direction:t,from:n,to:i});return c.default(this._element).trigger(e),e},t._setActiveIndicatorElement=function(e){var t;this._indicatorsElement&&(t=[].slice.call(this._indicatorsElement.querySelectorAll(".active")),c.default(t).removeClass("active"),t=this._indicatorsElement.children[this._getItemIndex(e)])&&c.default(t).addClass("active")},t._slide=function(e,t){var i,n,a,s=this,o=this._element.querySelector(".active.carousel-item"),r=this._getItemIndex(o),l=t||o&&this._getItemByDirection(e,o),t=this._getItemIndex(l),d=Boolean(this._interval),e="next"===e?(i="carousel-item-left",n="carousel-item-next","left"):(i="carousel-item-right",n="carousel-item-prev","right");l&&c.default(l).hasClass("active")?this._isSliding=!1:!this._triggerSlideEvent(l,e).isDefaultPrevented()&&o&&l&&(this._isSliding=!0,d&&this.pause(),this._setActiveIndicatorElement(l),a=c.default.Event("slid.bs.carousel",{relatedTarget:l,direction:e,from:r,to:t}),c.default(this._element).hasClass("slide")?(c.default(l).addClass(n),u.reflow(l),c.default(o).addClass(i),c.default(l).addClass(i),(e=parseInt(l.getAttribute("data-interval"),10))?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=e):this._config.interval=this._config.defaultInterval||this._config.interval,r=u.getTransitionDurationFromElement(o),c.default(o).one(u.TRANSITION_END,function(){c.default(l).removeClass(i+" "+n).addClass("active"),c.default(o).removeClass("active "+n+" "+i),s._isSli
1ding=!1,setTimeout(function(){return c.default(s._element).trigger(a)},0)}).emulateTransitionEnd(r)):(c.default(o).removeClass("active"),c.default(l).addClass("active"),this._isSliding=!1,c.default(this._element).trigger(a)),d)&&this.cycle()},p._jQueryInterface=function(n){return this.each(function(){var e=c.default(this).data("bs.carousel"),t=s({},B,c.default(this).data()),i=("object"==typeof n&&(t=s({},t,n)),"string"==typeof n?n:t.slide);if(e||(e=new p(this,t),c.default(this).data("bs.carousel",e)),"number"==typeof n)e.to(n);else if("string"==typeof i){if(void 0===e[i])throw new TypeError('No method named "'+i+'"');e[i]()}else t.interval&&t.ride&&(e.pause(),e.cycle())})},p._dataApiClickHandler=function(e){var t,i,n=u.getSelectorFromElement(this);n&&(n=c.default(n)[0])&&c.default(n).hasClass("carousel")&&(t=s({},c.default(n).data(),c.default(this).data()),(i=this.getAttribute("data-slide-to"))&&(t.interval=!1),p._jQueryInterface.call(c.default(n),t),i&&c.default(n).data("bs.carousel").to(i),e.preventDefault())},i(p,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return B}}]),p);function p(e,t){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(t),this._element=e,this._indicatorsElement=this._element.querySelector(".carousel-indicators"),this._touchSupported="ontouchstart"in document.documentElement||0<navigator.maxTouchPoints,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}c.default(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",h._dataApiClickHandler),c.default(window).on("load.bs.carousel.data-api",function(){for(var e=[].slice.call(document.querySelectorAll('[data-ride="carousel"]')),t=0,i=e.length;t<i;t++){var n=c.default(e[t]);h._jQueryInterface.call(n,n.data())}}),c.default.fn[d]=h._jQueryInterface,c.default.fn[d].Constructor=h,c.default.fn[d].noConflict=function(){return c.default.fn[d]=Y,h._jQueryInterface};var f="collapse",H=c.default.fn[f],Q={toggle:!0,parent:""},q={toggle:"boolean",parent:"(string|element)"},m=((t=g.prototype).toggle=function(){c.default(this._element).hasClass("show")?this.hide():this.show()},t.show=function(){var e,t,i,n,a=this;this._isTransitioning||c.default(this._element).hasClass("show")||(e=this._parent&&0===(e=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter(function(e){return"string"==typeof a._config.parent?e.getAttribute("data-parent")===a._config.parent:e.classList.contains("collapse")})).length?null:e)&&(n=c.default(e).not(this._selector).data("bs.collapse"))&&n._isTransitioning||(i=c.default.Event("show.bs.collapse"),c.default(this._element).trigger(i),i.isDefaultPrevented()||(e&&(g._jQueryInterface.call(c.default(e).not(this._selector),"hide"),n||c.default(e).data("bs.collapse",null)),t=this._getDimension(),c.default(this._element).removeClass("collapse").addClass("collapsing"),this._element.style[t]=0,this._triggerArray.length&&c.default(this._triggerArray).removeClass("collapsed").attr("aria-expanded",!0),this.setTransitioning(!0),i="scroll"+(t[0].toUpperCase()+t.slice(1)),n=u.getTransitionDurationFromElement(this._element),c.default(this._element).one(u.TRANSITION_END,function(){c.default(a._element).removeClass("collapsing").addClass("collapse show"),a._element.style[t]="",a.setTransitioning(!1),c.default(a._element).trigger("shown.bs.collapse")}).emulateTransitionEnd(n),this._element.style[t]=this._element[i]+"px"))},t.hide=function(){var e=this;if(!this._isTransitioning&&c.default(this._element).hasClass("show")){var t=c.default.Event("hide.bs.collapse");if(c.default(this._element).trigger(t),!t.isDefaultPrevented()){var t=this._getDimension(),i=(this._element.style[t]=this._element.getBoundingClientRect()[t]+"px",u.reflow(this._element),c.default(this._element).addClass("collapsing").removeClass("collapse show"),this._triggerArray.length);if(0<i)for(var n=0;n<i;n++){var a=this._triggerArray[n],s=u.getSelectorFromElement(a);null===s||c.default([].slice.call(document.querySelectorAll(s))).hasClass("show")||c.default(a).addClass("collapsed").attr("aria-expanded",!1)}this.setTransitioning(!0),this._element.style[t]="";t=u.getTransitionDurationFromElement(this._element);c.default(this._element).one(u.TRANSITION_END,function(){e.setTransitioning(!1),c.default(e._element).removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")}).emulateTransitionEnd(t)}}},t.setTransitioning=function(e){this._isTransitioning=e}
1,t.dispose=function(){c.default.removeData(this._element,"bs.collapse"),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},t._getConfig=function(e){return(e=s({},Q,e)).toggle=Boolean(e.toggle),u.typeCheckConfig(f,e,q),e},t._getDimension=function(){return c.default(this._element).hasClass("width")?"width":"height"},t._getParent=function(){var e,i=this,t=(u.isElement(this._config.parent)?(e=this._config.parent,void 0!==this._config.parent.jquery&&(e=this._config.parent[0])):e=document.querySelector(this._config.parent),'[data-toggle="collapse"][data-parent="'+this._config.parent+'"]'),t=[].slice.call(e.querySelectorAll(t));return c.default(t).each(function(e,t){i._addAriaAndCollapsedClass(g._getTargetFromElement(t),[t])}),e},t._addAriaAndCollapsedClass=function(e,t){e=c.default(e).hasClass("show");t.length&&c.default(t).toggleClass("collapsed",!e).attr("aria-expanded",e)},g._getTargetFromElement=function(e){e=u.getSelectorFromElement(e);return e?document.querySelector(e):null},g._jQueryInterface=function(n){return this.each(function(){var e=c.default(this),t=e.data("bs.collapse"),i=s({},Q,e.data(),"object"==typeof n&&n?n:{});if(!t&&i.toggle&&"string"==typeof n&&/show|hide/.test(n)&&(i.toggle=!1),t||(t=new g(this,i),e.data("bs.collapse",t)),"string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},i(g,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return Q}}]),g);function g(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var i=[].slice.call(document.querySelectorAll('[data-toggle="collapse"]')),n=0,a=i.length;n<a;n++){var s=i[n],o=u.getSelectorFromElement(s),r=[].slice.call(document.querySelectorAll(o)).filter(function(e){return e===t});null!==o&&0<r.length&&(this._selector=o,this._triggerArray.push(s))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}c.default(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(e){"A"===e.currentTarget.tagName&&e.preventDefault();var i=c.default(this),e=u.getSelectorFromElement(this),e=[].slice.call(document.querySelectorAll(e));c.default(e).each(function(){var e=c.default(this),t=e.data("bs.collapse")?"toggle":i.data();m._jQueryInterface.call(e,t)})}),c.default.fn[f]=m._jQueryInterface,c.default.fn[f].Constructor=m,c.default.fn[f].noConflict=function(){return c.default.fn[f]=H,m._jQueryInterface};var W="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,U=(()=>{for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(W&&0<=navigator.userAgent.indexOf(e[t]))return 1;return 0})(),V=W&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},U))}};function G(e){return e&&"[object Function]"==={}.toString.call(e)}function v(e,t){return 1!==e.nodeType?[]:(e=e.ownerDocument.defaultView.getComputedStyle(e,null),t?e[t]:e)}function X(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function J(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=v(e),i=t.overflow;return/(auto|scroll|overlay)/.test(i+t.overflowY+t.overflowX)?e:J(X(e))}function K(e){return e&&e.referenceNode?e.referenceNode:e}var Z=W&&!(!window.MSInputMethodContext||!document.documentMode),ee=W&&/MSIE 10/.test(navigator.userAgent);function y(e){return 11===e?Z:10!==e&&Z||ee}function b(e){if(!e)return document.documentElement;for(var t=y(10)?document.body:null,i=e.offsetParent||null;i===t&&e.nextElementSibling;)i=(e=e.nextElementSibling).offsetParent;var n=i&&i.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(i.nodeName)&&"static"===v(i,"position")?b(i):i:(e?e.ownerDocument:document).documentElement}function te(e){return null!==e.parentNode?te(e.parentNode):e}function ie(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var i=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,n=i?e:t,i=i?t:e,a=document.createRange();a.setStart(n,0),a.setEnd(i,0);a=a.commonAncestorContainer;return e!==a&&t!==a||n.contains(i)?"BODY"===(i=(n=a).nodeName)||"HTML"!==i&&b(n.firstElementChild)!==n?b(a):a:(i=te(e)).host?ie(i.host,t):ie(e,te(t).host)}function w(e,t){var t="top"===(1<arguments.length&&void 0!==t?t:"top")?"scrollTop":"scrollLeft",i=e.nodeName;return("BODY"===i||"HTML"===i?(i=e.ownerDocument.documentElement,e.ownerDocument.scrollingElement||i):e)[t]}function ne(e,t){var t="x"===t?"Left":"Top",i="Left"==t?"Right":"Bottom";return parseFloat(e["border"+t+"Width"])+parseFloat(e["border"+i+"Width"])}function ae(e,t,i,n){return Math.max(t["offset"+e],t["scroll"+e],i["client"+e],i["offset"+e],i["scroll"+e],y(10)?parseInt(i["offset"+e])+parseInt(n["margin"+("Height"===e?"Top":"Left")])+parseInt(n["margin"+("Height"===e?"Bottom":"Right")]):0)}function se(e){var t=e.body,e=e.documentElement,i=y(10)&&getComputedStyle(e);return{height:ae("Height",t,e,i),width:ae("Width",t,e,i)}}function C(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}
1var t=function(e,t,i){return t&&oe(e.prototype,t),i&&oe(e,i),e},T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i,n=arguments[t];for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};function oe(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _(e){return T({},e,{right:e.left+e.width,bottom:e.top+e.height})}function re(e){var t={};try{y(10)?(t=e.getBoundingClientRect(),n=w(e,"top"),a=w(e,"left"),t.top+=n,t.left+=a,t.bottom+=n,t.right+=a):t=e.getBoundingClientRect()}catch(e){}var i,n={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},a="HTML"===e.nodeName?se(e.ownerDocument):{},t=a.width||e.clientWidth||n.width,a=a.height||e.clientHeight||n.height,t=e.offsetWidth-t,a=e.offsetHeight-a;return(t||a)&&(t-=ne(i=v(e),"x"),a-=ne(i,"y"),n.width-=t,n.height-=a),_(n)}function le(e,t,i){var i=2<arguments.length&&void 0!==i&&i,n=y(10),a="HTML"===t.nodeName,s=re(e),o=re(t),e=J(e),r=v(t),l=parseFloat(r.borderTopWidth),d=parseFloat(r.borderLeftWidth),o=(i&&a&&(o.top=Math.max(o.top,0),o.left=Math.max(o.left,0)),_({top:s.top-o.top-l,left:s.left-o.left-d,width:s.width,height:s.height}));return o.marginTop=0,o.marginLeft=0,!n&&a&&(s=parseFloat(r.marginTop),a=parseFloat(r.marginLeft),o.top-=l-s,o.bottom-=l-s,o.left-=d-a,o.right-=d-a,o.marginTop=s,o.marginLeft=a),o=(n&&!i?t.contains(e):t===e&&"BODY"!==e.nodeName)?function(e,t,i){var i=2<arguments.length&&void 0!==i&&i,n=w(t,"top"),t=w(t,"left"),i=i?-1:1;return e.top+=n*i,e.bottom+=n*i,e.left+=t*i,e.right+=t*i,e}(o,t):o}function de(e){if(!e||!e.parentElement||y())return document.documentElement;for(var t=e.parentElement;t&&"none"===v(t,"transform");)t=t.parentElement;return t||document.documentElement}function ce(e,t,i,n,a){var s,a=4<arguments.length&&void 0!==a&&a,o={top:0,left:0},r=a?de(e):ie(e,K(t)),r=("viewport"===n?o=function(e,t){var t=1<arguments.length&&void 0!==t&&t,i=e.ownerDocument.documentElement,e=le(e,i),n=Math.max(i.clientWidth,window.innerWidth||0),a=Math.max(i.clientHeight,window.innerHeight||0),s=t?0:w(i),t=t?0:w(i,"left");return _({top:s-e.top+e.marginTop,left:t-e.left+e.marginLeft,width:n,height:a})}(r,a):(s=void 0,"scrollParent"===n?"BODY"===(s=J(X(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===n?e.ownerDocument.documentElement:n,t=le(s,r,a),"HTML"!==s.nodeName||function e(t){var i=t.nodeName;return"BODY"!==i&&"HTML"!==i&&("fixed"===v(t,"position")||!!(i=X(t))&&e(i))}(r)?o=t:(a=(n=se(e.ownerDocument)).height,s=n.width,o.top+=t.top-t.marginTop,o.bottom=a+t.top,o.left+=t.left-t.marginLeft,o.right=s+t.left)),"number"==typeof(i=i||0));return o.left+=r?i:i.left||0,o.top+=r?i:i.top||0,o.right-=r?i:i.right||0,o.bottom-=r?i:i.bottom||0,o}function ue(e,t,i,n,a,s){var o,s=5<arguments.length&&void 0!==s?s:0;return-1===e.indexOf("auto")?e:(n=ce(i,n,s,a),o={top:{width:n.width,height:t.top-n.top},right:{width:n.right-t.right,height:n.height},bottom:{width:n.width,height:n.bottom-t.bottom},left:{width:t.left-n.left,height:n.height}},(0<(a=(s=Object.keys(o).map(function(e){return T({key:e},o[e],{area:(e=o[e]).width*e.height})}).sort(function(e,t){return t.area-e.area})).filter(function(e){return e.width>=i.clientWidth&&e.height>=i.clientHeight})).length?a:s)[0].key+((t=e.split("-")[1])?"-"+t:""))}function he(e,t,i,n){n=3<arguments.length&&void 0!==n?n:null;return le(i,n?de(t):ie(t,K(i)),n)}function pe(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),i=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),t=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+t,height:e.offsetHeight+i}}function fe(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function me(e,t,i){i=i.split("-")[0];var e=pe(e),n={width:e.width,height:e.height},a=-1!==["right","left"].indexOf(i),s=a?"top":"left",o=a?"left":"top",r=a?"height":"width",a=a?"width":"height";return n[s]=t[s]+t[r]/2-e[r]/2,n[o]=i===o?t[o]-e[a]:t[fe(o)],n}function ge(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function ve(e,i,t){return(void 0===t?e:e.slice(0,(e=e,n=t,Array.prototype.findIndex?e.findIndex(function(e){return e.name===n}):(t=ge(e,function(e){return e.name===n}
1),e.indexOf(t))))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var t=e.function||e.fn;e.enabled&&G(t)&&(i.offsets.popper=_(i.offsets.popper),i.offsets.reference=_(i.offsets.reference),i=t(i,e))}),i;var n}function ye(e,i){return e.some(function(e){var t=e.name;return e.enabled&&t===i})}function be(e){for(var t=[!1,"ms","Webkit","Moz","O"],i=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length;n++){var a=t[n],a=a?""+a+i:e;if(void 0!==document.body.style[a])return a}return null}function we(e){e=e.ownerDocument;return e?e.defaultView:window}function Ce(){var e,t,i;this.state.eventsEnabled||(this.state=(e=this.reference,this.options,t=this.state,i=this.scheduleUpdate,t.updateBound=i,we(e).addEventListener("resize",t.updateBound,{passive:!0}),function e(t,i,n,a){var s="BODY"===t.nodeName,t=s?t.ownerDocument.defaultView:t;t.addEventListener(i,n,{passive:!0}),s||e(J(t.parentNode),i,n,a),a.push(t)}(i=J(e),"scroll",t.updateBound,t.scrollParents),t.scrollElement=i,t.eventsEnabled=!0,t))}function Te(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function _e(i,n){Object.keys(n).forEach(function(e){var t="";-1!==["width","height","top","right","bottom","left"].indexOf(e)&&Te(n[e])&&(t="px"),i.style[e]=n[e]+t})}var xe=W&&/Firefox/i.test(navigator.userAgent);function Se(e,t,i){var n,a=ge(e,function(e){return e.name===t}),e=!!a&&e.some(function(e){return e.name===i&&e.enabled&&e.order<a.order});return e||(n="`"+t+"`",console.warn("`"+i+"`"+" modifier is required by "+n+" modifier in order to work, be sure to include it before "+n+"!")),e}var x=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],ke=x.slice(3);function Ee(e,t){t=1<arguments.length&&void 0!==t&&t,e=ke.indexOf(e),e=ke.slice(e+1).concat(ke.slice(0,e));return t?e.reverse():e}function Pe(e,r,l,t){var a=[0,0],n=-1!==["right","left"].indexOf(t),t=e.split(/(\+|\-)/).map(function(e){return e.trim()}),e=t.indexOf(ge(t,function(e){return-1!==e.search(/,|\s/)})),i=(t[e]&&-1===t[e].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),/\s*,\s*|\s+/);return(-1!==e?[t.slice(0,e).concat([t[e].split(i)[0]]),[t[e].split(i)[1]].concat(t.slice(e+1))]:[t]).map(function(e,t){var o=(1===t?!n:n)?"height":"width",i=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,i=!0,e):i?(e[e.length-1]+=t,i=!1,e):e.concat(t)},[]).map(function(e){return t=o,i=r,n=l,a=(e=e).match(/((?:\-|\+)?\d*\.?\d*)(.*)/),s=+a[1],a=a[2],s?0===a.indexOf("%")?_("%p"===a?i:n)[t]/100*s:"vh"===a||"vw"===a?("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*s:s:e;var t,i,n,a,s})}).forEach(function(i,n){i.forEach(function(e,t){Te(e)&&(a[n]+=e*("-"===i[t-1]?-1:1))})}),a}var S={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t,i,n,a=e.placement,s=a.split("-")[0],a=a.split("-")[1];return a&&(t=(i=e.offsets).reference,i=i.popper,n=(s=-1!==["bottom","top"].indexOf(s))?"width":"height",s={start:C({},s=s?"left":"top",t[s]),end:C({},s,t[s]+t[n]-i[n])},e.offsets.popper=T({},i,s[a])),e}},offset:{order:200,enabled:!0,fn:function(e,t){var t=t.offset,i=e.placement,n=e.offsets,a=n.popper,n=n.reference,i=i.split("-")[0],t=Te(+t)?[+t,0]:Pe(t,a,n,i);return"left"===i?(a.top+=t[0],a.left-=t[1]):"right"===i?(a.top+=t[0],a.left+=t[1]):"top"===i?(a.left+=t[0],a.top-=t[1]):"bottom"===i&&(a.left+=t[0],a.top+=t[1]),e.popper=a,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,n){var t=n.boundariesElement||b(e.instance.popper),i=(e.instance.reference===t&&(t=b(t)),be("transform")),a=e.instance.popper.style,s=a.top,o=a.left,r=a[i],l=(a.top="",a.left="",a[i]="",ce(e.instance.popper,e.instance.reference,n.padding,t,e.positionFixed)),t=(a.top=s,a.left=o,a[i]=r,n.boundaries=l,n.priority),d=e.offsets.popper,c={primary:function(e){var t=d[e];return d[e]<l[e]&&!n.escapeWithReference&&(t=Math.max(d[e],l[e])),C({},e,t)}
1,secondary:function(e){var t="right"===e?"left":"top",i=d[t];return d[e]>l[e]&&!n.escapeWithReference&&(i=Math.min(d[t],l[e]-("right"===e?d.width:d.height))),C({},t,i)}};return t.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";d=T({},d,c[t](e))}),e.offsets.popper=d,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,i=t.popper,t=t.reference,n=e.placement.split("-")[0],a=Math.floor,n=-1!==["top","bottom"].indexOf(n),s=n?"right":"bottom",o=n?"left":"top",n=n?"width":"height";return i[s]<a(t[o])&&(e.offsets.popper[o]=a(t[o])-i[n]),i[o]>a(t[s])&&(e.offsets.popper[o]=a(t[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){if(Se(e.instance.modifiers,"arrow","keepTogether")){t=t.element;if("string"==typeof t){if(!(t=e.instance.popper.querySelector(t)))return e}else if(!e.instance.popper.contains(t))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],n=e.offsets,a=n.popper,n=n.reference,i=-1!==["left","right"].indexOf(i),s=i?"height":"width",o=i?"Top":"Left",r=o.toLowerCase(),l=i?"left":"top",i=i?"bottom":"right",d=pe(t)[s],i=(n[i]-d<a[r]&&(e.offsets.popper[r]-=a[r]-(n[i]-d)),n[r]+d>a[i]&&(e.offsets.popper[r]+=n[r]+d-a[i]),e.offsets.popper=_(e.offsets.popper),n[r]+n[s]/2-d/2),n=v(e.instance.popper),c=parseFloat(n["margin"+o]),n=parseFloat(n["border"+o+"Width"]),o=i-e.offsets.popper[r]-c-n,o=Math.max(Math.min(a[s]-d,o),0);e.arrowElement=t,e.offsets.arrow=(C(i={},r,Math.round(o)),C(i,l,""),i)}return e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(l,d){if(!(ye(l.instance.modifiers,"inner")||l.flipped&&l.placement===l.originalPlacement)){var c=ce(l.instance.popper,l.instance.reference,d.padding,d.boundariesElement,l.positionFixed),u=l.placement.split("-")[0],h=fe(u),p=l.placement.split("-")[1]||"",f=[];switch(d.behavior){case"flip":f=[u,h];break;case"clockwise":f=Ee(u);break;case"counterclockwise":f=Ee(u,!0);break;default:f=d.behavior}f.forEach(function(e,t){if(u!==e||f.length===t+1)return l;u=l.placement.split("-")[0],h=fe(u);var e=l.offsets.popper,i=l.offsets.reference,n=Math.floor,i="left"===u&&n(e.right)>n(i.left)||"right"===u&&n(e.left)<n(i.right)||"top"===u&&n(e.bottom)>n(i.top)||"bottom"===u&&n(e.top)<n(i.bottom),a=n(e.left)<n(c.left),s=n(e.right)>n(c.right),o=n(e.top)<n(c.top),e=n(e.bottom)>n(c.bottom),n="left"===u&&a||"right"===u&&s||"top"===u&&o||"bottom"===u&&e,r=-1!==["top","bottom"].indexOf(u),s=!!d.flipVariations&&(r&&"start"===p&&a||r&&"end"===p&&s||!r&&"start"===p&&o||!r&&"end"===p&&e)||!!d.flipVariationsByContent&&(r&&"start"===p&&s||r&&"end"===p&&a||!r&&"start"===p&&e||!r&&"end"===p&&o);(i||n||s)&&(l.flipped=!0,(i||n)&&(u=f[t+1]),s&&(p="end"===p?"start":"start"===p?"end":p),l.placement=u+(p?"-"+p:""),l.offsets.popper=T({},l.offsets.popper,me(l.instance.popper,l.offsets.reference,l.placement)),l=ve(l.instance.modifiers,l,"flip"))})}return l},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,i=t.split("-")[0],n=e.offsets,a=n.popper,n=n.reference,s=-1!==["left","right"].indexOf(i),o=-1===["top","left"].indexOf(i);return a[s?"left":"top"]=n[i]-(o?a[s?"width":"height"]:0),e.placement=fe(t),e.offsets.popper=_(a),e}},hide:{order:800,enabled:!0,fn:function(e){if(Se(e.instance.modifiers,"hide","preventOverflow")){var t=e.offsets.reference,i=ge(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<i.top||t.left>i.right||t.top>i.bottom||t.right<i.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var i,n,a,s=t.x,o=t.y,r=e.offsets.popper,l=ge(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration,l=(void 0!==l&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!"),void 0!==l?l:t.gpuAcceleration),t=b(e.instance.popper),d=re(t),r={position:r.position},c=(p=e,i=window.devicePixelRatio<2||!xe,u=p.offsets,m=u.popper,c=Math.round,n=Math.floor,u=c(u.reference.width),h=c(m.width),a=-1!==["left","right"].indexOf(p.placement),p=-1!==p.placement.indexOf("-"),a=i?a||p||u%2==h%2?c:n:f,n=i?c:f,{left:a(u%2==1&&h%2==1&&!p&&i?m.left-1:m.left),top:n(m.top),bottom:n(m.bottom),right:a(m.right)}),u="bottom"===s?"top":"bottom",h="right"===o?"left":"right",p=be("transform");function f(e){return e}i="bottom"==u?"HTML"===t.nodeName?-t.clientHeight+c.bottom:-d.height+c.bottom:c.top,n="right"==h?"HTML"===t.nodeName?-t.clientWidth+c.right:-d.width+c.right:c.left,l&&p?(r[p]="translate3d("+n+"px, "+i+"px, 0)",r[u]=0,r[h]=0,r.willChange="transform"):(a="right"==h?-1:1,r[u]=i*("bottom"==u?-1:1),r[h]=n*a,r.willChange=u+", "+h);var m={"x-placement":e.placement};return e.attributes=T({},m,e.attributes),e.styles=T({},r,e.styles),e.arrowStyles=T({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,i;return _e(e.instance.popper,e.styles),t=e.instance.popper,i=e.attributes,Object.keys(i).forEac
1h(function(e){!1!==i[e]?t.setAttribute(e,i[e]):t.removeAttribute(e)}),e.arrowElement&&Object.keys(e.arrowStyles).length&&_e(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,i,n,a){a=he(a,t,e,i.positionFixed),a=ue(i.placement,a,t,e,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return t.setAttribute("x-placement",a),_e(t,{position:i.positionFixed?"fixed":"absolute"}),i},gpuAcceleration:void 0}}},k=(t(E,[{key:"update",value:function(){return function(){var e;this.state.isDestroyed||((e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}}).offsets.reference=he(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=ue(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=me(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=ve(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e)))}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,ye(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[be("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return Ce.call(this)}},{key:"disableEventListeners",value:function(){return function(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,we(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}.call(this)}}]),E);function E(e,t){var i=this,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},a=this,s=E;if(!(a instanceof s))throw new TypeError("Cannot call a class as a function");this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=V(this.update.bind(this)),this.options=T({},E.Defaults,n),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=t&&t.jquery?t[0]:t,this.options.modifiers={},Object.keys(T({},E.Defaults.modifiers,n.modifiers)).forEach(function(e){i.options.modifiers[e]=T({},E.Defaults.modifiers[e]||{},n.modifiers?n.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return T({name:e},i.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&G(e.onLoad)&&e.onLoad(i.reference,i.popper,i.options,e,i.state)}),this.update();a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}k.Utils=("undefined"!=typeof window?window:global).PopperUtils,k.placements=x,k.Defaults=S;var P="dropdown",Me=c.default.fn[P],Ie=new RegExp("38|40|27"),Oe={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},$e={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},M=((t=I.prototype).toggle=function(){var e;this._element.disabled||c.default(this._element).hasClass("disabled")||(e=c.default(this._menu).hasClass("show"),I._clearMenus(),e)||this.show(!0)},t.show=function(e){if(void 0===e&&(e=!1),!(this._element.disabled||c.default(this._element).hasClass("disabled")||c.default(this._menu).hasClass("show"))){var t={relatedTarget:this._element},i=c.default.Event("show.bs.dropdown",t),n=I._getParentFromElement(this._element);if(c.default(n).trigger(i),!i.isDefaultPrevented()){if(!this._inNavbar&&e){if(void 0===k)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");i=this._element;"parent"===this._config.reference?i=n:u.isElement(this._config.reference)&&(i=this._config.reference,void 0!==this._config.reference.jquery)&&(i=this._config.reference[0]),"scrollParent"!==this._config.boun
1dary&&c.default(n).addClass("position-static"),this._popper=new k(i,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===c.default(n).closest(".navbar-nav").length&&c.default(document.body).children().on("mouseover",null,c.default.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),c.default(this._menu).toggleClass("show"),c.default(n).toggleClass("show").trigger(c.default.Event("shown.bs.dropdown",t))}}},t.hide=function(){var e,t,i;this._element.disabled||c.default(this._element).hasClass("disabled")||!c.default(this._menu).hasClass("show")||(e={relatedTarget:this._element},t=c.default.Event("hide.bs.dropdown",e),i=I._getParentFromElement(this._element),c.default(i).trigger(t),t.isDefaultPrevented())||(this._popper&&this._popper.destroy(),c.default(this._menu).toggleClass("show"),c.default(i).toggleClass("show").trigger(c.default.Event("hidden.bs.dropdown",e)))},t.dispose=function(){c.default.removeData(this._element,"bs.dropdown"),c.default(this._element).off(".bs.dropdown"),this._element=null,(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},t.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},t._addEventListeners=function(){var t=this;c.default(this._element).on("click.bs.dropdown",function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},t._getConfig=function(e){return e=s({},this.constructor.Default,c.default(this._element).data(),e),u.typeCheckConfig(P,e,this.constructor.DefaultType),e},t._getMenuElement=function(){var e;return this._menu||(e=I._getParentFromElement(this._element))&&(this._menu=e.querySelector(".dropdown-menu")),this._menu},t._getPlacement=function(){var e=c.default(this._element.parentNode),t="bottom-start";return e.hasClass("dropup")?t=c.default(this._menu).hasClass("dropdown-menu-right")?"top-end":"top-start":e.hasClass("dropright")?t="right-start":e.hasClass("dropleft")?t="left-start":c.default(this._menu).hasClass("dropdown-menu-right")&&(t="bottom-end"),t},t._detectNavbar=function(){return 0<c.default(this._element).closest(".navbar").length},t._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=s({},e.offsets,t._config.offset(e.offsets,t._element)||{}),e}:e.offset=this._config.offset,e},t._getPopperConfig=function(){var e={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(e.modifiers.applyStyle={enabled:!1}),s({},e,this._config.popperConfig)},I._jQueryInterface=function(t){return this.each(function(){var e=c.default(this).data("bs.dropdown");if(e||(e=new I(this,"object"==typeof t?t:null),c.default(this).data("bs.dropdown",e)),"string"==typeof t){if(void 0===e[t])throw new TypeError('No method named "'+t+'"');e[t]()}})},I._clearMenus=function(e){if(!e||3!==e.which&&("keyup"!==e.type||9===e.which))for(var t=[].slice.call(document.querySelectorAll('[data-toggle="dropdown"]')),i=0,n=t.length;i<n;i++){var a,s,o=I._getParentFromElement(t[i]),r=c.default(t[i]).data("bs.dropdown"),l={relatedTarget:t[i]};e&&"click"===e.type&&(l.clickEvent=e),r&&(a=r._menu,!c.default(o).hasClass("show")||e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&&9===e.which)&&c.default.contains(o,e.target)||(s=c.default.Event("hide.bs.dropdown",l),c.default(o).trigger(s),s.isDefaultPrevented())||("ontouchstart"in document.documentElement&&c.default(document.body).children().off("mouseover",null,c.default.noop),t[i].setAttribute("aria-expanded","false"),r._popper&&r._popper.destroy(),c.default(a).removeClass("show"),c.default(o).removeClass("show").trigger(c.default.Event("hidden.bs.dropdown",l))))}},I._getParentFromElement=function(e){var t,i=u.getSelectorFromElement(e);return(t=i?document.querySelector(i):t)||e.parentNode},I._dataApiKeydownHandler=function(e){var t,i,n;(/input|textarea/i.test(e.target.tagName)?32===e.which||27!==e.which&&(40!==e.which&&38!==e.which||c.default(e.target).closest(".dropdown-menu").length):!Ie.test(e.which))||this.disabled||c.default(this).hasClass("disabled")||(t=I._getParentFromElement(this),!(i=c.default(t).hasClass("show"))&&27===e.which)||(e.preventDefault(),e.stopPropagation(),i&&27!==e.which&&32!==e.which?0!==(i=[].slice.call(t.querySelectorAll(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)")).filter(function(e){return c.default(e).is(":visible")})).length&&(n=i.indexOf(e.target),38===e.which&&0<n&&n--,40===e.which&&n<i.length-1&&n++,i[n=n<0?0:n].focus()):(27===e.which&&c.default(t.querySelector('[data-toggle="dropdown"]')).trigger("focus"),c.default(this).trigger("click")))},i(I,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return Oe}},{key:"DefaultType",get:function(){return $e}}]),I);function I(e,t){this._element=e,this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}c.default(document).on("keydown.bs.dropdown.data-api",'[data-toggle="dropdown"]',M._dataApiKeydownHandler).on("keydown.bs.dropdown.data-api",".dropdown-menu",M._dataApiKeydownHandler).on("click.bs.dropdown.data-api keyup.bs.dropdown.data-api",M._clearMenus).on("click.bs.dropdown.data-api",'[data-toggle="dropdown"]',function(e){e.preventDefault(),e.stopPropagation(),M._jQueryInterface.call(c.default(this),"toggle")}).on("click.bs.dropdown.data-api",".dropdown form",function(e){e.stopPropagation()}),c.default.fn[P]=M._jQueryInterface,c.default.fn[P].Constructor=M,c.default.fn[P].noConflict=function(){return c.default.fn[P]=Me,M._jQueryInterface};var Le=c.default.fn.modal,je={backdrop:!0,keyboard:!0,focus:!0,show:!0},De={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},ze=((x=Ne.prototype).toggle=function(e){return this._isShown?this.hide():this.show(e)},x.show=function(e){var t,i=this;this._isShown||this._isTransitioning||(c.default(this._element).hasClass("fade")&&(this._isTransitioning=!0),t=c.default.Event("show.bs.modal",{relatedTarget:e}),c.default(this._element).trigger(t),this._isShown)||t.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),c.default(this._element).on("click.dismiss.bs.modal",'[data-dismiss="modal"]',function(e){return i.hide(e)}),c.default(this._dialog).on("mousedown.dismiss.bs.modal",function(){c.default(i._element).one("mouseup.dismiss.bs.modal",function(e){c.default(e.target).is(i._element)&&(i._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return i._showElement(e)}))},x.hide=function(e){var t=this;e&&e.preventDefault(),this._isShown&&!this._isTransitioning&&(e=c.default.Event("hide.bs.modal"),c.default(this._element).trigger(e),this._isShown)&&!e.isDefaultPrevented()&&(this._isShown=!1,(e=c.default(this._element).hasClass("fade"))&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),c.default(document).off("focusin.bs.modal"),c.default(this._element).removeClass("show"),c.default(this._element).off("
1click.dismiss.bs.modal"),c.default(this._dialog).off("mousedown.dismiss.bs.modal"),e?(e=u.getTransitionDurationFromElement(this._element),c.default(this._element).one(u.TRANSITION_END,function(e){return t._hideModal(e)}).emulateTransitionEnd(e)):this._hideModal())},x.dispose=function(){[window,this._element,this._dialog].forEach(function(e){return c.default(e).off(".bs.modal")}),c.default(document).off("focusin.bs.modal"),c.default.removeData(this._element,"bs.modal"),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},x.handleUpdate=function(){this._adjustDialog()},x._getConfig=function(e){return e=s({},je,e),u.typeCheckConfig("modal",e,De),e},x._triggerBackdropTransition=function(){var e,t,i,n=this;"static"===this._config.backdrop?(e=c.default.Event("hidePrevented.bs.modal"),c.default(this._element).trigger(e),e.isDefaultPrevented()||((t=this._element.scrollHeight>document.documentElement.clientHeight)||(this._element.style.overflowY="hidden"),this._element.classList.add("modal-static"),i=u.getTransitionDurationFromElement(this._dialog),c.default(this._element).off(u.TRANSITION_END),c.default(this._element).one(u.TRANSITION_END,function(){n._element.classList.remove("modal-static"),t||c.default(n._element).one(u.TRANSITION_END,function(){n._element.style.overflowY=""}).emulateTransitionEnd(n._element,i)}).emulateTransitionEnd(i),this._element.focus())):this.hide()},x._showElement=function(e){function t(){i._config.focus&&i._element.focus(),i._isTransitioning=!1,c.default(i._element).trigger(s)}var i=this,n=c.default(this._element).hasClass("fade"),a=this._dialog?this._dialog.querySelector(".modal-body"):null,s=(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),c.default(this._dialog).hasClass("modal-dialog-scrollable")&&a?a.scrollTop=0:this._element.scrollTop=0,n&&u.reflow(this._element),c.default(this._element).addClass("show"),this._config.focus&&this._enforceFocus(),c.default.Event("shown.bs.modal",{relatedTarget:e}));n?(a=u.getTransitionDurationFromElement(this._dialog),c.default(this._dialog).one(u.TRANSITION_END,t).emulateTransitionEnd(a)):t()},x._enforceFocus=function(){var t=this;c.default(document).off("focusin.bs.modal").on("focusin.bs.modal",function(e){document!==e.target&&t._element!==e.target&&0===c.default(t._element).has(e.target).length&&t._element.focus()})},x._setEscapeEvent=function(){var t=this;this._isShown?c.default(this._element).on("keydown.dismiss.bs.modal",function(e){t._config.keyboard&&27===e.which?(e.preventDefault(),t.hide()):t._config.keyboard||27!==e.which||t._triggerBackdropTransition()}):(this._isShown,c.default(this._element).off("keydown.dismiss.bs.modal"))},x._setResizeEvent=function(){var t=this;this._isShown?c.default(window).on("resize.bs.modal",function(e){return t.handleUpdate(e)}):c.default(window).off("resize.bs.modal")},x._hideModal=function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop(function(){c.default(document.body).removeClass("modal-open"),e._resetAdjustments(),e._resetScrollbar(),c.default(e._element).trigger("hidden.bs.modal")})},x._removeBackdrop=function(){this._backdrop&&(c.default(this._backdrop).remove(),this._backdrop=null)},x._showBackdrop=function(e){var t,i=this,n=c.default(this._element).hasClass("fade")?"fade":"";this._isShown&&this._config.backdrop?(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",n&&this._backdrop.classList.add(n),c.default(this._backdrop).appendTo(document.body),c.default(this._element).on("click.dismiss.bs.modal",function(e){i._ignoreBackdropClick?i._ignoreBackdropClick=!1:e.target===e.currentTarget&&i._triggerBackdropTransition()}),n&&u.reflow(this._backdrop),c.default(this._backdrop).addClass("show"),e&&(n?(n=u.getTransitionDurationFromElement(this._backdrop),c.default(this._backdrop).one(u.TRANSITION_END,e).emulateTransitionEnd(n)):e())):!this._isShown&&this._backdrop?(c.default(this._backdrop).removeClass("show"),n=function(){i._removeBackdrop(),e&&e()},c.default(this._element).hasClass("fade")?(t=u.getTransitionDurationFromElement(this._backdrop),c.default(this._backdrop).one(u.TRANSITION_END,n).emulateTransitionEnd(t)):n()):e&&e()}
1,x._adjustDialog=function(){var e=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},x._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},x._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(e.left+e.right)<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},x._setScrollbar=function(){var e,t,a=this;this._isBodyOverflowing&&(e=[].slice.call(document.querySelectorAll(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top")),t=[].slice.call(document.querySelectorAll(".sticky-top")),c.default(e).each(function(e,t){var i=t.style.paddingRight,n=c.default(t).css("padding-right");c.default(t).data("padding-right",i).css("padding-right",parseFloat(n)+a._scrollbarWidth+"px")}),c.default(t).each(function(e,t){var i=t.style.marginRight,n=c.default(t).css("margin-right");c.default(t).data("margin-right",i).css("margin-right",parseFloat(n)-a._scrollbarWidth+"px")}),e=document.body.style.paddingRight,t=c.default(document.body).css("padding-right"),c.default(document.body).data("padding-right",e).css("padding-right",parseFloat(t)+this._scrollbarWidth+"px")),c.default(document.body).addClass("modal-open")},x._resetScrollbar=function(){var e=[].slice.call(document.querySelectorAll(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top")),e=(c.default(e).each(function(e,t){var i=c.default(t).data("padding-right");c.default(t).removeData("padding-right"),t.style.paddingRight=i||""}),[].slice.call(document.querySelectorAll(".sticky-top"))),e=(c.default(e).each(function(e,t){var i=c.default(t).data("margin-right");void 0!==i&&c.default(t).css("margin-right",i).removeData("margin-right")}),c.default(document.body).data("padding-right"));c.default(document.body).removeData("padding-right"),document.body.style.paddingRight=e||""},x._getScrollbarWidth=function(){var e=document.createElement("div"),t=(e.className="modal-scrollbar-measure",document.body.appendChild(e),e.getBoundingClientRect().width-e.clientWidth);return document.body.removeChild(e),t},Ne._jQueryInterface=function(i,n){return this.each(function(){var e=c.default(this).data("bs.modal"),t=s({},je,c.default(this).data(),"object"==typeof i&&i?i:{});if(e||(e=new Ne(this,t),c.default(this).data("bs.modal",e)),"string"==typeof i){if(void 0===e[i])throw new TypeError('No method named "'+i+'"');e[i](n)}else t.show&&e.show(n)})},i(Ne,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return je}}]),Ne);function Ne(e,t){this._config=this._getConfig(t),this._element=e,this._dialog=e.querySelector(".modal-dialog"),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}c.default(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(e){var t,i=this,n=u.getSelectorFromElement(this),n=(n&&(t=document.querySelector(n)),c.default(t).data("bs.modal")?"toggle":s({},c.default(t).data(),c.default(this).data())),a=("A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault(),c.default(t).one("show.bs.modal",function(e){e.isDefaultPrevented()||a.one("hidden.bs.modal",function(){c.default(i).is(":visible")&&i.focus()})}));ze._jQueryInterface.call(c.default(t),n,this)}),c.default.fn.modal=ze._jQueryInterface,c.default.fn.modal.Constructor=ze,c.default.fn.modal.noConflict=function(){return c.default.fn.modal=Le,ze._jQueryInterface};var Ae=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],Ye=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/gi,Be=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;function Re(e,a,t){if(0===e.length)return e;if(t&&"function"==typeof t)return t(e);for(var t=(new window.DOMParser).parseFromString(e,"text/html"),s=Object.keys(a),o=[].slice.call(t.body.querySelectorAll("*")),i=0,n=o.length;i<n;i++)(e=>{var t=o[e],e=t.nodeName.toLowerCase();if(-1===s.indexOf(t.nodeName.toLowerCase()))return t.parentNode.removeChild(t);var i=[].slice.call(t.attributes),n=[].concat(a["*"]||[],a[e]||[]);
1i.forEach(function(e){((e,t)=>{var i=e.nodeName.toLowerCase();if(-1!==t.indexOf(i))return-1===Ae.indexOf(i)||Boolean(e.nodeValue.match(Ye)||e.nodeValue.match(Be));for(var n=t.filter(function(e){return e instanceof RegExp}),a=0,s=n.length;a<s;a++)if(i.match(n[a]))return 1})(e,n)||t.removeAttribute(e.nodeName)})})(i);return t.body.innerHTML}var O="tooltip",Fe=c.default.fn[O],He=new RegExp("(^|\\s)bs-tooltip\\S+","g"),Qe=["sanitize","whiteList","sanitizeFn"],qe={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},We={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},Ue={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},Ve={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},$=((S=Ge.prototype).enable=function(){this._isEnabled=!0},S.disable=function(){this._isEnabled=!1},S.toggleEnabled=function(){this._isEnabled=!this._isEnabled},S.toggle=function(e){var t,i;this._isEnabled&&(e?(t=this.constructor.DATA_KEY,(i=c.default(e.currentTarget).data(t))||(i=new this.constructor(e.currentTarget,this._getDelegateConfig()),c.default(e.currentTarget).data(t,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)):c.default(this.getTipElement()).hasClass("show")?this._leave(null,this):this._enter(null,this))},S.dispose=function(){clearTimeout(this._timeout),c.default.removeData(this.element,this.constructor.DATA_KEY),c.default(this.element).off(this.constructor.EVENT_KEY),c.default(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&c.default(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},S.show=function(){var t=this;if("none"===c.default(this.element).css("display"))throw new Error("Please use show on visible elements");var e,i,n=c.default.Event(this.constructor.Event.SHOW);this.isWithContent()&&this._isEnabled&&(c.default(this.element).trigger(n),i=u.findShadowRoot(this.element),i=c.default.contains(null!==i?i:this.element.ownerDocument.documentElement,this.element),!n.isDefaultPrevented())&&i&&(n=this.getTipElement(),i=u.getUID(this.constructor.NAME),n.setAttribute("id",i),this.element.setAttribute("aria-describedby",i),this.setContent(),this.config.animation&&c.default(n).addClass("fade"),i="function"==typeof this.config.placement?this.config.placement.call(this,n,this.element):this.config.placement,i=this._getAttachment(i),this.addAttachmentClass(i),e=this._getContainer(),c.default(n).data(this.constructor.DATA_KEY,this),c.default.contains(this.element.ownerDocument.documentElement,this.tip)||c.default(n).appendTo(e),c.default(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new k(this.element,n,this._getPopperConfig(i)),c.default(n).addClass("show"),"ontouchstart"in document.documentElement&&c.default(document.body).children().on("mouseover",null,c.default.noop),e=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,c.default(t.element).trigger(t.constructor.Event.SHOWN),"out"===e&&t._leave(null,t)},c.default(this.tip).hasClass("fade")?(i=u.getTransitionDurationFromElement(this.tip),c.default(this.tip).one(u.TRANSITION_END,e).emulateTransitionEnd(i)):e())},S.hide=function(e){function t(){"show"!==i._hoverState&&n.parentNode&&n.parentNode.removeChild(n),i._cleanTipClass(),i.element.removeAttribute("aria-describedby"),c.default(i.element).trigger(i.constructor.Event.HIDDEN),null!==i._popper&&i._popper.destroy(),e&&e()}var i=this,n=this.getTipElement(),a=c.default.Event(this.constructor.Event.HIDE);c.default(this.element).trigger(a),a.isDefaultPrevented()||(c.default(n).removeClass("show"),"ontouchstart"in document.documentElement&&c.default(document.body).children().off("mouseover",null,c.default.noop),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,c.default(this.tip).hasClass("fade")?(a=u.getTransitionDurationFromElement(n),c.default(n).one(u.TRANSITION_END,t).emulateTransitionEnd(a)):t(),this._hoverState="")},S.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},S.isWithContent=function(){return Boolean(this.getTitle())},S.addAttachmentClass=function(e){c.default(this.getTipElement()).addClass("bs-tooltip-"+e)},S.getTipElement=function(){return this.tip=this.tip||c.default(this.config.template)[0],this.tip},S.setContent=function(){var e=this.getTipElement();this.setElementContent(c.default(e.querySelectorAll(".tooltip-inner")),this.getTitle()),c.default(e).removeClass("fade show")},S.setElementContent=function(e,t){"object"!=typeof t||!t.nodeType&&!t.jquery?this.config.html?(this.config.sanitize&&(t=Re(t,this.config.whiteList,this.config.sanitizeFn)),e.html(t)):e.text(t):this.config.html?c.default(t).parent().is(e)||e.empty().append(t):e.text(c.default(t).text())},S.getTitle=function(){return this.element.getAttribute("data-original-title")||("function"==typeof this.config.title?this.config.title.call(this.element):this.config.title)},S._getPopperConfig=function(e){var t=this;return s({},{placement:e,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"}
vendor: 4,282 bytes, line 1
1,preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){return t._handlePopperPlacementChange(e)}},this.config.popperConfig)},S._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=s({},e.offsets,t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},S._getContainer=function(){return!1===this.config.container?document.body:u.isElement(this.config.container)?c.default(this.config.container):c.default(document).find(this.config.container)},S._getAttachment=function(e){return We[e.toUpperCase()]},S._setListeners=function(){var i=this;this.config.trigger.split(" ").forEach(function(e){var t;"click"===e?c.default(i.element).on(i.constructor.Event.CLICK,i.config.selector,function(e){return i.toggle(e)}):"manual"!==e&&(t="hover"===e?i.constructor.Event.MOUSEENTER:i.constructor.Event.FOCUSIN,e="hover"===e?i.constructor.Event.MOUSELEAVE:i.constructor.Event.FOCUSOUT,c.default(i.element).on(t,i.config.selector,function(e){return i._enter(e)}).on(e,i.config.selector,function(e){return i._leave(e)}))}),this._hideModalHandler=function(){i.element&&i.hide()},c.default(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=s({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},S._fixTitle=function(){var e=typeof this.element.getAttribute("data-original-title");!this.element.getAttribute("title")&&"string"==e||(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},S._enter=function(e,t){var i=this.constructor.DATA_KEY;(t=t||c.default(e.currentTarget).data(i))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),c.default(e.currentTarget).data(i,t)),e&&(t._activeTrigger["focusin"===e.type?"focus":"hover"]=!0),c.default(t.getTipElement()).hasClass("show")||"show"===t._hoverState?t._hoverState="show":(clearTimeout(t._timeout),t._hoverState="show",t.config.delay&&t.config.delay.show?t._timeout=setTimeout(function(){"show"===t._hoverState&&t.show()},t.config.delay.show):t.show())},S._leave=function(e,t){var i=this.constructor.DATA_KEY;(t=t||c.default(e.currentTarget).data(i))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),c.default(e.currentTarget).data(i,t)),e&&(t._activeTrigger["focusout"===e.type?"focus":"hover"]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState="out",t.config.delay&&t.config.delay.hide?t._timeout=setTimeout(function(){"out"===t._hoverState&&t.hide()},t.config.delay.hide):t.hide())},S._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},S._getConfig=function(e){var t=c.default(this.element).data();return Object.keys(t).forEach(function(e){-1!==Qe.indexOf(e)&&delete t[e]}),"number"==typeof(e=s({},this.constructor.Default,t,"object"==typeof e&&e?e:{})).delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),u.typeCheckConfig(O,e,this.constructor.DefaultType),e.sanitize&&(e.template=Re(e.template,e.whiteList,e.sanitizeFn)),e},S._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},S._cleanTipClass=function(){var e=c.default(this.getTipElement()),t=e.attr("class").match(He);null!==t&&t.length&&e.removeClass(t.join(""))},S._handlePopperPlacementChange=function(e){this.tip=e.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},S._fixTransition=function(){var e=this.getTipElement(),t=this.config.animation;null===e.getAttribute("x-placement")&&(c.default(e).removeClass("fade"),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},Ge._jQueryInterface=function(n){return this.each(function(){var e=c.default(this),t=e.data("bs.tooltip"),i="object"==typeof n&&n;if((t||!/dispose|hide/.test(n))&&(t||(t=new Ge(this,i),e.data("bs.tooltip",t)),"string"==typeof n)){if(void 0===t[n])throw new TypeError('No method n
1amed "'+n+'"');t[n]()}})},i(Ge,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return Ue}},{key:"NAME",get:function(){return O}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return Ve}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return qe}}]),Ge);function Ge(e,t){if(void 0===k)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}c.default.fn[O]=$._jQueryInterface,c.default.fn[O].Constructor=$,c.default.fn[O].noConflict=function(){return c.default.fn[O]=Fe,$._jQueryInterface};var Xe,L="popover",Je=c.default.fn[L],Ke=new RegExp("(^|\\s)bs-popover\\S+","g"),Ze=s({},$.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),et=s({},$.DefaultType,{content:"(string|element|function)"}),tt={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"},it=(t=Xe=$,(x=j).prototype=Object.create(t.prototype),(x.prototype.constructor=x).__proto__=t,(x=j.prototype).isWithContent=function(){return this.getTitle()||this._getContent()},x.addAttachmentClass=function(e){c.default(this.getTipElement()).addClass("bs-popover-"+e)},x.getTipElement=function(){return this.tip=this.tip||c.default(this.config.template)[0],this.tip},x.setContent=function(){var e=c.default(this.getTipElement()),t=(this.setElementContent(e.find(".popover-header"),this.getTitle()),this._getContent());"function"==typeof t&&(t=t.call(this.element)),this.setElementContent(e.find(".popover-body"),t),e.removeClass("fade show")},x._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},x._cleanTipClass=function(){var e=c.default(this.getTipElement()),t=e.attr("class").match(Ke);null!==t&&0<t.length&&e.removeClass(t.join(""))},j._jQueryInterface=function(i){return this.each(function(){var e=c.default(this).data("bs.popover"),t="object"==typeof i?i:null;if((e||!/dispose|hide/.test(i))&&(e||(e=new j(this,t),c.default(this).data("bs.popover",e)),"string"==typeof i)){if(void 0===e[i])throw new TypeError('No method named "'+i+'"');e[i]()}})},i(j,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return Ze}},{key:"NAME",get:function(){return L}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return tt}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return et}}]),j);function j(){return Xe.apply(this,arguments)||this}c.default.fn[L]=it._jQueryInterface,c.default.fn[L].Constructor=it,c.default.fn[L].noConflict=function(){return c.default.fn[L]=Je,it._jQueryInterface};var D="scrollspy",nt=c.default.fn[D],at={offset:10,method:"auto",target:""},st={offset:"number",method:"string",target:"(string|element)"},ot=((S=rt.prototype).refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?"offset":"position",n="auto"===this._config.method?e:this._config.method,a="position"===n?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(e){var t,e=u.getSelectorFromElement(e);if(t=e?document.querySelector(e):t){var i=t.getBoundingClientRect();if(i.width||i.height)return[c.default(t)[n]().top+a,e]}return null}).filter(function(e){return e}).sort(function(e,t){return e[0]-t[0]}).forEach(function(e){t._offsets.push(e[0]),t._targets.push(e[1])})},S.dispose=function(){c.default.removeData(this._element,"bs.scrollspy"),c.default(this._scrollElement).off(".b
1s.scrollspy"),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},S._getConfig=function(e){var t;return"string"!=typeof(e=s({},at,"object"==typeof e&&e?e:{})).target&&u.isElement(e.target)&&((t=c.default(e.target).attr("id"))||(t=u.getUID(D),c.default(e.target).attr("id",t)),e.target="#"+t),u.typeCheckConfig(D,e,st),e},S._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},S._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},S._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},S._process=function(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),i=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),i<=e){t=this._targets[this._targets.length-1];this._activeTarget!==t&&this._activate(t)}else if(this._activeTarget&&e<this._offsets[0]&&0<this._offsets[0])this._activeTarget=null,this._clear();else for(var n=this._offsets.length;n--;)this._activeTarget!==this._targets[n]&&e>=this._offsets[n]&&(void 0===this._offsets[n+1]||e<this._offsets[n+1])&&this._activate(this._targets[n])},S._activate=function(t){this._activeTarget=t,this._clear();var e=this._selector.split(",").map(function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'}),e=c.default([].slice.call(document.querySelectorAll(e.join(","))));(e.hasClass("dropdown-item")?(e.closest(".dropdown").find(".dropdown-toggle").addClass("active"),e):(e.addClass("active"),e.parents(".nav, .list-group").prev(".nav-link, .list-group-item").addClass("active"),e.parents(".nav, .list-group").prev(".nav-item").children(".nav-link"))).addClass("active"),c.default(this._scrollElement).trigger("activate.bs.scrollspy",{relatedTarget:t})},S._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(e){return e.classList.contains("active")}).forEach(function(e){return e.classList.remove("active")})},rt._jQueryInterface=function(t){return this.each(function(){var e=c.default(this).data("bs.scrollspy");if(e||(e=new rt(this,"object"==typeof t&&t),c.default(this).data("bs.scrollspy",e)),"string"==typeof t){if(void 0===e[t])throw new TypeError('No method named "'+t+'"');e[t]()}})},i(rt,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return at}}]),rt);function rt(e,t){var i=this;this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(t),this._selector=this._config.target+" .nav-link,"+this._config.target+" .list-group-item,"+this._config.target+" .dropdown-item",this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,c.default(this._scrollElement).on("scroll.bs.scrollspy",function(e){return i._process(e)}),this.refresh(),this._process()}c.default(window).on("load.bs.scrollspy.data-api",function(){for(var e=[].slice.call(document.querySelectorAll('[data-spy="scroll"]')),t=e.length;t--;){var i=c.default(e[t]);ot._jQueryInterface.call(i,i.data())}}),c.default.fn[D]=ot._jQueryInterface,c.default.fn[D].Constructor=ot,c.default.fn[D].noConflict=function(){return c.default.fn[D]=nt,ot._jQueryInterface};var lt=c.default.fn.tab,dt=((t=ct.prototype).show=function(){var e,t,i,n,a,s,o=this;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&c.default(this._element).hasClass("active")||c.default(this._element).hasClass("disabled")||(t=c.default(this._element).closest(".nav, .list-group")[0],i=u.getSelectorFromElement(this._element),t&&(a="UL"===t.nodeName||"OL"===t.nodeName?"> li > .active":".active",n=(n=c.default.makeArray(c.default(t).find(a)))[n.length-1]),a=c.default.Event("hide.bs.tab",{relatedTarget:this._element}),s=c.default.Event("show.bs.tab",{relatedTarget:n}),n&&c.default(n).trigger(a),c.default(this._element).trigger(s),s.isDefaultPrevented())||a.isDefaultPrevented()||(i&&(e=document.querySelector(i)),this._activate(this._element,t),s=function(){var e=c.default.Event("hidden.bs.tab",{relatedTarget:o._element}),t=c.default.Event("shown.bs.tab",{relatedTarget:n});c.default(n).trigger(e),c.default(o._element).trigger(t)},e?this._activate(e,e.parentNode,s):s())}
1,t.dispose=function(){c.default.removeData(this._element,"bs.tab"),this._element=null},t._activate=function(e,t,i){function n(){return a._transitionComplete(e,s,i)}var a=this,s=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?c.default(t).children(".active"):c.default(t).find("> li > .active"))[0],t=i&&s&&c.default(s).hasClass("fade");s&&t?(t=u.getTransitionDurationFromElement(s),c.default(s).removeClass("show").one(u.TRANSITION_END,n).emulateTransitionEnd(t)):n()},t._transitionComplete=function(e,t,i){var n;t&&(c.default(t).removeClass("active"),(n=c.default(t.parentNode).find("> .dropdown-menu .active")[0])&&c.default(n).removeClass("active"),"tab"===t.getAttribute("role"))&&t.setAttribute("aria-selected",!1),c.default(e).addClass("active"),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),u.reflow(e),e.classList.contains("fade")&&e.classList.add("show"),e.parentNode&&c.default(e.parentNode).hasClass("dropdown-menu")&&((n=c.default(e).closest(".dropdown")[0])&&(t=[].slice.call(n.querySelectorAll(".dropdown-toggle")),c.default(t).addClass("active")),e.setAttribute("aria-expanded",!0)),i&&i()},ct._jQueryInterface=function(i){return this.each(function(){var e=c.default(this),t=e.data("bs.tab");if(t||(t=new ct(this),e.data("bs.tab",t)),"string"==typeof i){if(void 0===t[i])throw new TypeError('No method named "'+i+'"');t[i]()}})},i(ct,null,[{key:"VERSION",get:function(){return"4.5.3"}}]),ct);function ct(e){this._element=e}c.default(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(e){e.preventDefault(),dt._jQueryInterface.call(c.default(this),"show")}),c.default.fn.tab=dt._jQueryInterface,c.default.fn.tab.Constructor=dt,c.default.fn.tab.noConflict=function(){return c.default.fn.tab=lt,dt._jQueryInterface};var ut=c.default.fn.toast,ht={animation:"boolean",autohide:"boolean",delay:"number"},pt={animation:!0,autohide:!0,delay:500},ft=((x=mt.prototype).show=function(){var e,t=this,i=c.default.Event("show.bs.toast");c.default(this._element).trigger(i),i.isDefaultPrevented()||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),i=function(){t._element.classList.remove("showing"),t._element.classList.add("show"),c.default(t._element).trigger("shown.bs.toast"),t._config.autohide&&(t._timeout=setTimeout(function(){t.hide()},t._config.delay))},this._element.classList.remove("hide"),u.reflow(this._element),this._element.classList.add("showing"),this._config.animation?(e=u.getTransitionDurationFromElement(this._element),c.default(this._element).one(u.TRANSITION_END,i).emulateTransitionEnd(e)):i())},x.hide=function(){var e;this._element.classList.contains("show")&&(e=c.default.Event("hide.bs.toast"),c.default(this._element).trigger(e),e.isDefaultPrevented()||this._close())},x.dispose=function(){this._clearTimeout(),this._element.classList.contains("show")&&this._element.classList.remove("show"),c.default(this._element).off("click.dismiss.bs.toast"),c.default.removeData(this._element,"bs.toast"),this._element=null,this._config=null},x._getConfig=function(e){return e=s({},pt,c.default(this._element).data(),"object"==typeof e&&e?e:{}),u.typeCheckConfig("toast",e,this.constructor.DefaultType),e},x._setListeners=function(){var e=this;c.default(this._element).on("click.dismiss.bs.toast",'[data-dismiss="toast"]',function(){return e.hide()})},x._close=function(){function e(){i._element.classList.add("hide"),c.default(i._element).trigger("hidden.bs.toast")}var t,i=this;this._element.classList.remove("show"),this._config.animation?(t=u.getTransitionDurationFromElement(this._element),c.default(this._element).one(u.TRANSITION_END,e).emulateTransitionEnd(t)):e()},x._clearTimeout=function(){clearTimeout(this._timeout),this._timeout=null},mt._jQueryInterface=function(i){return this.each(function(){var e=c.default(this),t=e.data("bs.toast");if(t||(t=new mt(this,"object"==typeof i&&i),e.data("bs.toast",t)),"string"==typeof i){if(void 0===t[i])throw new TypeError('No method named "'+i+'"');t[i](this)}})},i(mt,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"DefaultType",get:function(){return ht}},{key:"Default",get:function(){return pt}}]),mt);function mt(e,t){this._element=e,this._config=this._getConfig(t),this._timeout=null,this._setListeners()}c.default.fn.toast=ft._jQueryInterface,c.default.fn.toast.Constructor=ft,c.default.fn.toast.noConflict=function(){return c.default.fn.toast=ut,ft._jQueryInterface},e.Alert=a,e.Button=r,e.Carousel=h,e.Collapse=m,e.Dropdown=M,e.Modal=ze,e.Popover=it,e.Scrollspy=ot,e.Tab=dt,e.Toast=ft,e.Tooltip=$,e.Util=u,Object.defineProperty(e,"__esMo
1dule",{value:!0})}),window.scwAccordionsPlugin=window.scwAccordionsPlugin||{},window.SEMICOLON_accordionsInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){var t=$(this),e=t.attr("data-state"),i=t.attr("data-active")||1,n=t.attr("data-active-class")||"",a=t.attr("data-collapsible")||"false",s=location.hash,i=Number(i)-1;void 0!==s&&""!=s&&0<(s=t.find(".accordion-header"+s)).length&&(i=s.index()/2),t.find(".accordion-content").hide(),"closed"!=e&&t.find(".accordion-header:eq("+Number(i)+")").addClass("accordion-active "+n).next().show(),t.find(".accordion-header").off("click").on("click",function(){var e;return $(this).next().is(":hidden")?(t.find(".accordion-header").removeClass("accordion-active "+n).next().slideUp("normal"),e=$(this),$(this).toggleClass("accordion-active "+n).next().stop(!0,!0).slideDown("normal",function(){($("body").hasClass("device-sm")||$("body").hasClass("device-xs"))&&t.hasClass("scroll-on-open")&&$("html,body").stop(!0,!0).animate({scrollTop:e.offset().top-(SEMICOLON.initialize.topScrollOffset()-40)},800,"easeOutQuad")})):"true"==a&&$(this).toggleClass("acctitlec").next().stop(!0,!0).slideUp("normal"),!1})})},(i=>{"function"==typeof define&&define.amd?define(["jquery"],i):"object"==typeof module&&module.exports?module.exports=function(e,t){return void 0===t&&(t="undefined"!=typeof window?require("jquery"):require("jquery")(e)),i(t),t}:i(jQuery)})(function($){var u=/\r?\n/g,m={},L=(m.fileapi=void 0!==$('<input type="file">').get(0).files,m.formdata=void 0!==window.FormData,!!$.fn.prop);function s(e){var t=e.data;e.isDefaultPrevented()||(e.preventDefault(),$(e.target).closest("form").ajaxSubmit(t))}function o(e){var t=e.target,i=$(t);if(!i.is("[type=submit],[type=image]")){var n=i.closest("[type=submit]");if(0===n.length)return;t=n[0]}var a=t.form;"image"===(a.clk=t).type&&(void 0!==e.offsetX?(a.clk_x=e.offsetX,a.clk_y=e.offsetY):"function"==typeof $.fn.offset?(n=i.offset(),a.clk_x=e.pageX-n.left,a.clk_y=e.pageY-n.top):(a.clk_x=e.pageX-t.offsetLeft,a.clk_y=e.pageY-t.offsetTop)),setTimeout(function(){a.clk=a.clk_x=a.clk_y=null},100)}function j(){var e;$.fn.ajaxSubmit.debug&&(e="[jquery.form] "+Array.prototype.join.call(arguments,""),window.console&&window.console.log?window.console.log(e):window.opera&&window.opera.postError&&window.opera.postError(e))}$.fn.attr2=function(){var e;return L&&((e=this.prop.apply(this,arguments))&&e.jquery||"string"==typeof e)?e:this.attr.apply(this,arguments)},$.fn.ajaxSubmit=function(P,e,t,i){if(this.length){var M,I=this,e=("function"==typeof P?P={success:P}:"string"==typeof P||!1===P&&0<arguments.length?(P={url:P,data:e,dataType:t},"function"==typeof i&&(P.success=i)):void 0===P&&(P={}),M=P.method||P.type||this.attr2("method"),t=(t=(t="string"==typeof(e=P.url||this.attr2("action"))?$.trim(e):"")||window.location.href||"")&&(t.match(/^([^#]+)/)||[])[1],i=/(MSIE|Trident)/.test(navigator.userAgent||"")&&/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",P=$.extend(!0,{url:t,success:$.ajaxSettings.success,type:M||$.ajaxSettings.type,iframeSrc:i},P),{});if(this.trigger("form-pre-serialize",[this,P,e]),e.veto)j("ajaxSubmit: submit vetoed via form-pre-serialize trigger");else if(P.beforeSerialize&&!1===P.beforeSerialize(this,P))j("ajaxSubmit: submit aborted via beforeSerialize callback");else{t=P.traditional;void 0===t&&(t=$.ajaxSettings.traditional);var O=[],n=this.formToArray(P.semantic,O,P.filtering);if(P.data&&(i=$.isFunction(P.data)?P.data(n):P.data,P.extraData=i,d=$.param(i,t)),P.beforeSubmit&&!1===P.beforeSubmit(n,this,P))j("ajaxSubmit: submit aborted via beforeSubmit callback");else if(this.trigger("form-submit-validate",[n,this,P,e]),e.veto)j("ajaxSubmit: submit vetoed via form-submit-validate trigger");else{i=$.param(n,t);d&&(i=i?i+"&"+d:d),"GET"===P.type.toUpperCase()?(P.url+=(0<=P.url.indexOf("?")?"&":"?")+i,P.data=null):P.data=i;var s,a,o,r,l=[],e=(P.resetForm&&l.push(function(){I.resetForm()}),P.clearForm&&l.push(function(){I.clearForm(P.includeHidden)}),!P.dataType&&P.target?(s=P.success||function(){},l.push(function(e,t,i){var n=arguments,a=P.replaceTarget?"replaceWith":"html";$(P.target)[a](e).each(function(){s.apply(this,n)})})):P.success&&($.isArray(P.success)?$.merge(l,P.success):l.push(P.success)),P.success=function(e,t,i){for(var n=P.context||this,a=0,s=l.length;a<s;a++)l[a].apply(n,[e,t,i||I,I])},P.error&&(a=P.error,P.error=function(e,t,i){var n=P.context||this;a.apply(n,[e,t,i,I])}),P.complete&&(o=P.complete,P.complete=function(e,t){var i=P.context||this;o.apply(i,[e,t,I])}),0<$("input[type=file]:enabled",this).filter(function(){return""!==$(this).val()}).length),t="multipart/form-data",d=I.attr("enctype")===t||I.attr("encoding")===t,i=m.fileapi&&m.formdata;j("fileAPI :"+i),!1!==P.iframe&&(P.iframe||(e||d)&&!i)?P.closeKeepAlive?$.get(P.closeKeepAlive,function(){r=u(n)}):r=u(n):r=(e||d)&&i?(e=>{for(var i=new FormData,t=0;t<e.length;t++)i.append(e[t].name,e[t].value);if(P.extraData)for(var n=(e=>{for(var t,i=$.param(e,P.traditional).split("&"),n=i.length,a=[],s=0;s<n;s++)i[s]=i[s].replace(/\+/g," "),t=i[s].split("="),a.push([decodeURIComponent(t[0]),decodeURIComponent(t[1])]);return a})(P.extraData),t=0;t<n.length;t++)n[t]&&i.append(n[t][0],n[t][1]);P.data=null;var a=$.extend(!0,{},$.ajaxSettings,P,{contentType:!1,processData:!1,cache:!1,type:M||"POST"}),s=(P.uploadProgress&&(a.xhr=function(){var e=$.ajaxSettings.xhr();return e.upload&&e.upload.addEventListener("progress",function(e){var t=0,i=e.loaded||e.position,n=e.total;e.lengthComputable&&(t=Math.ceil(i/n*100)),P.uploadProgress(e,i,n,t)},!1),e}),a.data=null,a.beforeSend);return a.beforeSend=function(e,t){P.formData?t.data=P.formData:t.data=i,s&&s.call(this,e,t)},$.ajax(a)})(n):$.ajax(P),I.removeData("jqxhr").data("jqxhr",r);for(var c=0;c<O.length;c++)O[c]=null;this.trigger("form-submit-notify",[this,P])}}}
1else j("ajaxSubmit: skipping submit process - no element selected");return this;function u(e){var t,i,c,u,h,p,f,m,g,s=I[0],v=$.Deferred();if(v.abort=function(e){f.abort(e)},e)for(i=0;i<O.length;i++)t=$(O[i]),L?t.prop("disabled",!1):t.removeAttr("disabled");(c=$.extend(!0,{},$.ajaxSettings,P)).context=c.context||c;var y,b,n,w,C,T,_,x,o,S,r="jqFormIO"+(new Date).getTime(),l=s.ownerDocument,d=I.closest("body");return(c.iframeTarget?(n=(h=$(c.iframeTarget,l)).attr2("name"))?r=n:h.attr2("name",r):(h=$('<iframe name="'+r+'" src="'+c.iframeSrc+'" />',l)).css({position:"absolute",top:"-1000px",left:"-1000px"}),p=h[0],f={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(e){var t="timeout"===e?"timeout":"aborted";j("aborting upload... "+t),this.aborted=1;try{p.contentWindow.document.execCommand&&p.contentWindow.document.execCommand("Stop")}catch(e){}h.attr("src",c.iframeSrc),f.error=t,c.error&&c.error.call(c.context,f,t,e),u&&$.event.trigger("ajaxError",[f,c,t]),c.complete&&c.complete.call(c.context,f,t)}},(u=c.global)&&0==$.active++&&$.event.trigger("ajaxStart"),u&&$.event.trigger("ajaxSend",[f,c]),c.beforeSend&&!1===c.beforeSend.call(c.context,f,c))?(c.global&&$.active--,v.reject()):f.aborted?v.reject():((e=s.clk)&&(n=e.name)&&!e.disabled&&(c.extraData=c.extraData||{},c.extraData[n]=e.value,"image"===e.type)&&(c.extraData[n+".x"]=s.clk_x,c.extraData[n+".y"]=s.clk_y),y=1,b=2,e=$("meta[name=csrf-token]").attr("content"),(n=$("meta[name=csrf-param]").attr("content"))&&e&&(c.extraData=c.extraData||{},c.extraData[n]=e),c.forceSync?a():setTimeout(a,10),_=50,x=$.parseXML||function(e,t){return window.ActiveXObject?((t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e)):t=(new DOMParser).parseFromString(e,"text/xml"),t&&t.documentElement&&"parsererror"!==t.documentElement.nodeName?t:null},o=$.parseJSON||function(e){return window.eval("("+e+")")},S=function(e,t,i){var n=e.getResponseHeader("content-type")||"",a=("xml"===t||!t)&&0<=n.indexOf("xml"),e=a?e.responseXML:e.responseText;return a&&"parsererror"===e.documentElement.nodeName&&$.error&&$.error("parsererror"),"string"==typeof(e=i&&i.dataFilter?i.dataFilter(e,t):e)&&(("json"===t||!t)&&0<=n.indexOf("json")?e=o(e):("script"===t||!t)&&0<=n.indexOf("javascript")&&$.globalEval(e)),e}),v;function k(t){var i=null;try{t.contentWindow&&(i=t.contentWindow.document)}catch(e){j("cannot get iframe.contentWindow document: "+e)}if(!i)try{i=t.contentDocument||t.document}catch(e){j("cannot get iframe.contentDocument: "+e),i=t.document}return i}function a(){var e=I.attr2("target"),t=I.attr2("action"),i=I.attr("enctype")||I.attr("encoding")||"multipart/form-data",n=(s.setAttribute("target",r),M&&!/post/i.test(M)||s.setAttribute("method","POST"),t!==c.url&&s.setAttribute("action",c.url),c.skipEncodingOverride||M&&!/post/i.test(M)||I.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"}),c.timeout&&(g=setTimeout(function(){m=!0,E(y)},c.timeout)),[]);try{if(c.extraData)for(var a in c.extraData)c.extraData.hasOwnProperty(a)&&($.isPlainObject(c.extraData[a])&&c.extraData[a].hasOwnProperty("name")&&c.extraData[a].hasOwnProperty("value")?n.push($('<input type="hidden" name="'+c.extraData[a].name+'">',l).val(c.extraData[a].value).appendTo(s)[0]):n.push($('<input type="hidden" name="'+a+'">',l).val(c.extraData[a]).appendTo(s)[0]));c.iframeTarget||h.appendTo(d),p.attachEvent?p.attachEvent("onload",E):p.addEventListener("load",E,!1),setTimeout(function e(){try{var t=k(p).readyState;j("state = "+t),t&&"uninitialized"===t.toLowerCase()&&setTimeout(e,50)}catch(e){j("Server abort: ",e," (",e.name,")"),E(b),g&&clearTimeout(g),g=void 0}},15);try{s.submit()}catch(e){document.createElement("form").submit.apply(s)}}finally{s.setAttribute("action",t),s.setAttribute("enctype",i),e?s.setAttribute("target",e):I.removeAttr("target"),$(n).remove()}}function E(e){if(!f.aborted&&!T)if((C=k(p))||(j("cannot access response document"),e=b),e===y&&f)f.abort("timeout"),v.reject(f,"timeout");else if(e===b&&f)f.abort("server abort"),v.reject(f,"error","server abort");else if(C&&C.location.href!==c.iframeSrc||m){p.detachEvent?p.detachEvent("onload",E):p.removeEventListener("load",E,!1);var t,i="success";try{if(m)throw"timeout";var n="xml"===c.dataType||C.XMLDocument||$.isXMLDoc(C);if(j("isXml="+n),!n&&window.opera&&(null===C.body||!C.body.innerHTML)&&--_)return j("requeing onLoad callback, DOM not available"),void setTimeout(E,250);var a=C.body||C.documentElement;f.responseText=a?a.innerHTML:null,f.responseXML=C.XMLDocument||C,n&&(c.dataType="xml"),f.getResponseHeader=function(e){return{"content-type":c.dataType}[e.toLowerCase()]},a&&(f.status=Number(a.getAttribute("status"))||f.status,f.statusText=a.getAttribute("statusText")||f.statusText);
1var s,o,r,l=(c.dataType||"").toLowerCase(),d=/(json|script|text)/.test(l);d||c.textarea?(s=C.getElementsByTagName("textarea")[0])?(f.responseText=s.value,f.status=Number(s.getAttribute("status"))||f.status,f.statusText=s.getAttribute("statusText")||f.statusText):d&&(o=C.getElementsByTagName("pre")[0],r=C.getElementsByTagName("body")[0],o?f.responseText=o.textContent||o.innerText:r&&(f.responseText=r.textContent||r.innerText)):"xml"===l&&!f.responseXML&&f.responseText&&(f.responseXML=x(f.responseText));try{w=S(f,l,c)}catch(e){i="parsererror",f.error=t=e||i}}catch(e){j("error caught: ",e),i="error",f.error=t=e||i}f.aborted&&(j("upload aborted"),i=null),"success"===(i=f.status?200<=f.status&&f.status<300||304===f.status?"success":"error":i)?(c.success&&c.success.call(c.context,w,"success",f),v.resolve(f.responseText,"success",f),u&&$.event.trigger("ajaxSuccess",[f,c])):i&&(void 0===t&&(t=f.statusText),c.error&&c.error.call(c.context,f,i,t),v.reject(f,"error",t),u)&&$.event.trigger("ajaxError",[f,c,t]),u&&$.event.trigger("ajaxComplete",[f,c]),u&&!--$.active&&$.event.trigger("ajaxStop"),c.complete&&c.complete.call(c.context,f,i),T=!0,c.timeout&&clearTimeout(g),setTimeout(function(){c.iframeTarget?h.attr("src",c.iframeSrc):h.remove(),f.responseXML=null},100)}}}},$.fn.ajaxForm=function(e,t,i,n){var a;return("string"==typeof e||!1===e&&0<arguments.length)&&(e={url:e,data:t,dataType:i},"function"==typeof n)&&(e.success=n),(e=e||{}).delegation=e.delegation&&$.isFunction($.fn.on),e.delegation||0!==this.length?e.delegation?($(document).off("submit.form-plugin",this.selector,s).off("click.form-plugin",this.selector,o).on("submit.form-plugin",this.selector,e,s).on("click.form-plugin",this.selector,e,o),this):(e.beforeFormUnbind&&e.beforeFormUnbind(this,e),this.ajaxFormUnbind().on("submit.form-plugin",e,s).on("click.form-plugin",e,o)):(a={s:this.selector,c:this.context},!$.isReady&&a.s?(j("DOM not ready, queuing ajaxForm"),$(function(){$(a.s,a.c).ajaxForm(e)})):j("terminating; zero elements found by selector"+($.isReady?"":" (DOM not ready)")),this)},$.fn.ajaxFormUnbind=function(){return this.off("submit.form-plugin click.form-plugin")},$.fn.formToArray=function(e,t,i){var n=[];if(0!==this.length){var a,s,o,r,l,d,c,u=this[0],h=this.attr("id"),p=(p=e||void 0===u.elements?u.getElementsByTagName("*"):u.elements)&&$.makeArray(p);if((p=h&&(e||/(Edge|Trident)\//.test(navigator.userAgent))&&(h=$(':input[form="'+h+'"]').get()).length?(p||[]).concat(h):p)&&p.length){for(a=0,l=(p=$.isFunction(i)?$.map(p,i):p).length;a<l;a++)if((c=(r=p[a]).name)&&!r.disabled)if(e&&u.clk&&"image"===r.type)u.clk===r&&(n.push({name:c,value:$(r).val(),type:r.type}),n.push({name:c+".x",value:u.clk_x},{name:c+".y",value:u.clk_y}));else if((o=$.fieldValue(r,!0))&&o.constructor===Array)for(t&&t.push(r),s=0,d=o.length;s<d;s++)n.push({name:c,value:o[s]});else if(m.fileapi&&"file"===r.type){t&&t.push(r);var f=r.files;if(f.length)for(s=0;s<f.length;s++)n.push({name:c,value:f[s],type:r.type});else n.push({name:c,value:"",type:r.type})}else null!=o&&(t&&t.push(r),n.push({name:c,value:o,type:r.type,required:r.required}));!e&&u.clk&&(c=(i=(h=$(u.clk))[0]).name)&&!i.disabled&&"image"===i.type&&(n.push({name:c,value:h.val()}),n.push({name:c+".x",value:u.clk_x},{name:c+".y",value:u.clk_y}))}}return n},$.fn.formSerialize=function(e){return $.param(this.formToArray(e))},$.fn.fieldSerialize=function(a){var s=[];return this.each(function(){var e=this.name;if(e){var t=$.fieldValue(this,a);if(t&&t.constructor===Array)for(var i=0,n=t.length;i<n;i++)s.push({name:e,value:t[i]});else null!=t&&s.push({name:this.name,value:t})}}),$.param(s)},$.fn.fieldValue=function(e){for(var t=[],i=0,n=this.length;i<n;i++){var a=this[i],a=$.fieldValue(a,e);null==a||a.constructor===Array&&!a.length||(a.constructor===Array?$.merge(t,a):t.push(a))}return t},$.fieldValue=function(e,t){var i=e.name,n=e.type,a=e.tagName.toLowerCase();if((t=void 0===t?!0:t)&&(!i||e.disabled||"reset"===n||"button"===n||("checkbox"===n||"radio"===n)&&!e.checked||("submit"===n||"image"===n)&&e.form&&e.form.clk!==e||"select"===a&&-1===e.selectedIndex))return null;if("select"!==a)return $(e).val().replace(u,"\r\n");t=e.selectedIndex;if(t<0)return null;for(var s=[],o=e.options,r="select-one"===n,l=r?t+1:o.length,d=r?t:0;d<l;d++){var c=o[d];if(c.selected&&!c.disabled){c=c.value||(c.attributes&&c.attributes.value&&!c.attributes.value.specified?c.text:c.value);if(r)return c;s.push(c)}}return s},$.fn.clearForm=function(e){return this.each(function(){$("input,select,textarea",this).clearFields(e)})},$.fn.clearFields=$.fn.clearInputs=function(i){var n=/^(?:color|date|datetime|email|month|number|password|range|search|tel|text|time|url|week)$/i;return this.each(function(){var e=this.type,t=this.tagName.toLowerCase();n.test(e)||"textarea"===t?this.value="":"checkbox"===e||"radio"===e?this.checked=!1:"select"===t?this.selectedIndex=-1:"file"===e?/MSIE/.test(navigator.userAgent)?$(this).replaceWith($(this).clone(!0)):$(this).val(""):i&&(!0===i&&/hidden/.test(e)||"string"==typeof i&&$(this).is(i))&&(this.value="")}
1)},$.fn.resetForm=function(){return this.each(function(){var t=$(this),e=this.tagName.toLowerCase();switch(e){case"input":this.checked=this.defaultChecked;case"textarea":return this.value=this.defaultValue,!0;case"option":case"optgroup":var i=t.parents("select");return i.length&&i[0].multiple?"option"===e?this.selected=this.defaultSelected:t.find("option").resetForm():i.resetForm(),!0;case"select":return t.find("option").each(function(e){if(this.selected=this.defaultSelected,this.defaultSelected&&!t[0].multiple)return t[0].selectedIndex=e,!1}),!0;case"label":var i=$(t.attr("for")),n=t.find("input,select,textarea");return i[0]&&n.unshift(i[0]),n.resetForm(),!0;case"form":return"function"!=typeof this.reset&&("object"!=typeof this.reset||this.reset.nodeType)||this.reset(),!0;default:return t.find("form,input,label,select,textarea").resetForm(),!0}})},$.fn.enable=function(e){return void 0===e&&(e=!0),this.each(function(){this.disabled=!e})},$.fn.selected=function(t){return void 0===t&&(t=!0),this.each(function(){var e=this.type;"checkbox"===e||"radio"===e?this.checked=t:"option"===this.tagName.toLowerCase()&&(e=$(this).parent("select"),t&&e[0]&&"select-one"===e[0].type&&e.find("option").selected(!1),this.selected=t)})},$.fn.ajaxSubmit.debug=!1}),window.scwAjaxFormPlugin=window.scwAjaxFormPlugin||{},window.SEMICOLON_ajaxFormInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){var i,n,e=$(this),a=$("body"),s=e.find("form").attr("id"),o=e.attr("data-alert-type"),r=e.attr("data-loader"),l=e.find(".form-result"),d=e.attr("data-redirect"),o=o||"notify";s&&a.addClass(s+"-ready"),e.find("form").validate({errorPlacement:function(e,t){0<t.parents(".form-group").length?e.appendTo(t.parents(".form-group")):e.insertAfter(t)},focusCleanup:!0,submitHandler:function(t){l.hide(),"button"==r?(i=$(t).find("button"),defButtonText=i.html(),i.html('<i class="icon-line-loader icon-spin m-0"></i>')):$(t).find(".form-process").fadeIn(),s&&a.removeClass(s+"-ready "+s+"-complete "+s+"-success "+s+"-error").addClass(s+"-processing"),$(t).ajaxSubmit({target:l,dataType:"json",success:function(e){if("button"==r?i.html(defButtonText):$(t).find(".form-process").fadeOut(),"error"!=e.alert&&d)return window.location.replace(d),!0;"inline"==o?(n="error"==e.alert?"alert-danger":"alert-success",l.removeClass("alert-danger alert-success").addClass("alert "+n).html(e.message).slideDown(400)):"notify"==o&&(l.attr("data-notify-type",e.alert).attr("data-notify-msg",e.message).html(""),SEMICOLON.widget.notifications({el:l})),"error"!=e.alert?($(t).resetForm(),$(t).find(".btn-group > .btn").removeClass("active"),"undefined"!=typeof tinyMCE&&tinyMCE.activeEditor&&!tinyMCE.activeEditor.isHidden()&&tinymce.activeEditor.setContent(""),0<(e=$(t).find(".input-range-slider")).length&&e.each(function(){$(this).data("ionRangeSlider").reset()}),0<(e=$(t).find(".input-rating")).length&&e.each(function(){$(this).rating("reset")}),0<(e=$(t).find(".selectpicker")).length&&e.each(function(){$(this).selectpicker("val",""),$(this).selectpicker("deselectAll")}),$(t).find(".input-select2,select[data-selectsplitter-firstselect-selector]").change(),$(t).trigger("formSubmitSuccess"),a.removeClass(s+"-error").addClass(s+"-success")):($(t).trigger("formSubmitError"),a.removeClass(s+"-success").addClass(s+"-error")),s&&a.removeClass(s+"-processing").addClass(s+"-complete"),0<$(t).find(".g-recaptcha").children("div").length&&grecaptcha.reset()}})}})})},window.scwAjaxPortfolioPlugin=window.scwAjaxPortfolioPlugin||{},$(".portfolio-ajax").find(".portfolio-item")),$portfolioDetails=$("#portfolio-ajax-wrap"),$portfolioDetailsContainer=$("#portfolio-ajax-container"),$portfolioAjaxLoader=$("#portfolio-ajax-loader"),prevPostPortId="";window.SEMICOLON_portfolioAjaxloadInit=function(){if($(".portfolio-ajax").length<1)return!0;$(".portfolio-ajax .portfolio-item a.portfolio-ajax-trigger").off("click").on("click",function(e){var t=$(this).parents(".portfolio-item").attr("id");$(this).parents(".portfolio-item").hasClass("portfolio-active")||SEMICOLON_portfolioLoadItem(t,prevPostPortId),e.preventDefault()})},window.SEMICOLON_portfolionewNextPrev=function(e){var t=SEMICOLON_portfolioGetNextItem(e),e=SEMICOLON_portfolioGetPrevItem(e);$("#next-portfolio").attr("data-id",t),$("#prev-portfolio").attr("data-id",e)},window.SEMICOLON_portfolioLoadItem=function(e,t,i){i=i||!1;var n=SEMICOLON_portfolioGetNextItem(e),a=SEMICOLON_portfolioGetPrevItem(e);0==i&&(SEMICOLON_portfolioCloseItem(),$portfolioAjaxLoader.fadeIn(),i=$("#"+e).attr("data-loader"),$portfolioDetailsContainer.load(i,{portid:e,portnext:n,portprev:a},function(){SEMICOLON_portfolioInitializeAjax(e),SEMICOLON_portfolioOpenItem(),$portfolioAjaxItems.removeClass("portfolio-active"),$("#"+e).addClass("portfolio-active")}))},window.SEMICOLON_portfolioCloseItem=function(){$portfolioDetails&&32<$portfolioDetails.height()&&($portfolioAjaxLoader.fadeIn(),$portfolioDetails.find("#portfolio-ajax-single").fadeOut("600",function(){$(this).remove()}),$portfolioDetails.removeClass("portfolio-ajax-opened"))},window.SEMICOLON_portfolioOpenItem=function(){var e,t=$portfolioDetails.find("img").length,i=0;0<t?$portfolioDetails.find("img").on("load",function(){i++;var e=SEMICOLON.initialize.topScrollOffset();t===i&&($portfolioDetailsContainer.css({display:"block"}),$portfolioDetails.addClass("portfolio-ajax-opened"),$portfolioAjaxLoader.fadeOut(),setTimeout(function(){SEMICOLON.widget.loadFlexSlider(),SEMICOLON.initialize.lightbox({parent:$portfolioDetails}),SEMICOLON.initialize.resizeVideos(),SEMICOLON.widget.masonryThumbs(),$("html,body").stop(!0).animate({scrollTop:$portfolioDetails.offset().top-e}
1,900,"easeOutQuad")},500))}):(e=SEMICOLON.initialize.topScrollOffset(),$portfolioDetailsContainer.css({display:"block"}),$portfolioDetails.addClass("portfolio-ajax-opened"),$portfolioAjaxLoader.fadeOut(),setTimeout(function(){SEMICOLON.widget.loadFlexSlider(),SEMICOLON.initialize.lightbox({parent:$portfolioDetails}),SEMICOLON.initialize.resizeVideos(),SEMICOLON.widget.masonryThumbs(),$("html,body").stop(!0).animate({scrollTop:$portfolioDetails.offset().top-e},900,"easeOutQuad")},500))},window.SEMICOLON_portfolioGetNextItem=function(e){var t="",e=$("#"+e).next();return t=0!=e.length?e.attr("id"):t},window.SEMICOLON_portfolioGetPrevItem=function(e){var t="",e=$("#"+e).prev();return t=0!=e.length?e.attr("id"):t},window.SEMICOLON_portfolioInitializeAjax=function(e){prevPostPortId=$("#"+e),$("#next-portfolio, #prev-portfolio").off("click").on("click",function(){var e=$(this).attr("data-id");return $portfolioAjaxItems.removeClass("portfolio-active"),$("#"+e).addClass("portfolio-active"),SEMICOLON_portfolioLoadItem(e,prevPostPortId),!1}),$("#close-portfolio").off("click").on("click",function(){return $portfolioDetailsContainer.fadeOut("600",function(){$portfolioDetails.find("#portfolio-ajax-single").remove()}),$portfolioDetails.removeClass("portfolio-ajax-opened"),$portfolioAjaxItems.removeClass("portfolio-active"),!1})},window.scwAnimationsPlugin=window.scwAnimationsPlugin||{},window.SEMICOLON_animationsInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;var t="animated",i=new IntersectionObserver(function(e,l){e.forEach(function(e){var t=$(e.target),i=t.attr("data-animate"),n=t.attr("data-animate-out"),a=t.attr("data-delay"),s=t.attr("data-delay-out"),o=0,r=3e3;return 0<t.parents(".fslider.no-thumbs-animate").length||0<t.parents(".swiper-slide").length||(o=a?Number(a)+500:500,n&&s&&(r=Number(s)+o),t.hasClass("animated")||(t.addClass("not-animated"),0<e.intersectionRatio&&(setTimeout(function(){t.removeClass("not-animated").addClass(i+" animated")},o),n)&&setTimeout(function(){t.removeClass(i).addClass(n)},r)),void(t.hasClass("not-animated")||l.unobserve(e.target)))})},{threshold:.5});[].filter.call(document.querySelectorAll("[data-animate]"),function(e){return!void e.classList.contains(t)}).forEach(function(e){return i.observe(e)})},((l,i,n,r)=>{function d(e,t){this.settings=null,this.options=l.extend({},d.Defaults,t),this.$element=l(e),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},l.each(["onResize","onThrottledResize"],l.proxy(function(e,t){this._handlers[t]=l.proxy(this[t],this)},this)),l.each(d.Plugins,l.proxy(function(e,t){this._plugins[e.charAt(0).toLowerCase()+e.slice(1)]=new t(this)},this)),l.each(d.Workers,l.proxy(function(e,t){this._pipe.push({filter:t.filter,run:l.proxy(t.run,this)})},this)),this.setup(),this.initialize()}d.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:i,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},d.Width={Default:"default",Inner:"inner",Outer:"outer"},d.Type={Event:"event",State:"state"},d.Plugins={},d.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(e){e.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(e){var t=this.settings.margin||"",i=!this.settings.autoWidth,n=this.settings.rtl,n={width:"auto","margin-left":n?t:"","margin-right":n?"":t};i||this.$stage.children().css(n),e.css=n}},{filter:["width","items","settings"],run:function(e){var t,i=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,n=this._items.length,a=!this.settings.autoWidth,s=[];for(e.items={merge:!1,width:i};n--;)t=this._mergers[n],t=this.settings.mergeFit&&Math.min(t,this.settings.items)||t,e.items.merge=1<t||e.items.merge,s[n]=a?i*t:this._items[n].width();this._widths=s}},{filter:["items","settings"],run:function(){var e=[],t=this._items,i=this.settings,n=Math.max(2*i.items,4),a=2*Math.ceil(t.length/2),s=i.loop&&t.length?
vendor: 41,078 bytes, line 1
1i.rewind?n:Math.max(n,a):0,o="",r="";for(s/=2;0<s;)e.push(this.normalize(e.length/2,!0)),o+=t[e[e.length-1]][0].outerHTML,e.push(this.normalize(t.length-1-(e.length-1)/2,!0)),r=t[e[e.length-1]][0].outerHTML+r,--s;this._clones=e,l(o).addClass("cloned").appendTo(this.$stage),l(r).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var e,t,i=this.settings.rtl?1:-1,n=this._clones.length+this._items.length,a=-1,s=[];++a<n;)e=s[a-1]||0,t=this._widths[this.relative(a)]+this.settings.margin,s.push(e+t*i);this._coordinates=s}},{filter:["width","items","settings"],run:function(){var e=this.settings.stagePadding,t=this._coordinates,t={width:Math.ceil(Math.abs(t[t.length-1]))+2*e,"padding-left":e||"","padding-right":e||""};this.$stage.css(t)}},{filter:["width","items","settings"],run:function(e){var t=this._coordinates.length,i=!this.settings.autoWidth,n=this.$stage.children();if(i&&e.items.merge)for(;t--;)e.css.width=this._widths[this.relative(t)],n.eq(t).css(e.css);else i&&(e.css.width=e.items.width,n.css(e.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(e){e.current=e.current?this.$stage.children().index(e.current):0,e.current=Math.max(this.minimum(),Math.min(this.maximum(),e.current)),this.reset(e.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){for(var e,t,i=this.settings.rtl?1:-1,n=2*this.settings.stagePadding,a=this.coordinates(this.current())+n,s=a+this.width()*i,o=[],r=0,l=this._coordinates.length;r<l;r++)e=this._coordinates[r-1]||0,t=Math.abs(this._coordinates[r])+n*i,(this.op(e,"<=",a)&&this.op(e,">",s)||this.op(t,"<",a)&&this.op(t,">",s))&&o.push(r);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+o.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],d.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=l("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(l("<div/>",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},d.prototype.initializeItems=function(){var e=this.$element.find(".owl-item");e.length?(this._items=e.get().map(function(e){return l(e)}),this._mergers=this._items.map(function(){return 1}),this.refresh()):(this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass))},d.prototype.initialize=function(){var e,t;this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")&&(e=this.$element.find("img"),t=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:r,t=this.$element.children(t).width(),e.length)&&t<=0&&this.preloadAutoWidthImages(e),this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},d.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},d.prototype.setup=function(){var t=this.viewport(),e=this.options.responsive,i=-1,n=null;e?(l.each(e,function(e){e<=t&&i<e&&(i=Number(e))}),"function"==typeof(n=l.extend({},this.options,e[i])).stagePadding&&(n.stagePadding=n.stagePadding()),delete n.responsive,n.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+i))):n=l.extend({},this.options),this.trigger("change",{property:{name:"settings",value:n}}),this._breakpoint=i,this.settings=n,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},d.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},d.prototype.prepare=function(e){var t=this.trigger("prepare",{content:e});return t.data||(t.data=l("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(e)),this.trigger("prepared",{content:t.data}),t.data},d.prototype.update=function(){for(var e=0,t=this._pipe.length,i=l.proxy(function(e){return this[e]},this._invalidated),n={};e<t;)(this._invalidated.all||0<l.grep(this._pipe[e].filter,i).length)&&this._pipe[e].run(n),e++;this._invalidated={},this.is("valid")||this.enter("valid")},d.prototype.width=function(e){switch(e=e||d.Width.Default){case d.Width.Inner:case d.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},d.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},d.prototype.onThrottledResize=function(){i.clearTimeout(this.resizeTimer),this.resizeTimer=i.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},d.prototype.onResize=function(){return!!this._items.length&&this._width!==this.$element.width()&&!!this.isVisible()&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))},d.prototype.registerEventHandlers=function(){l.support.transition&&this.$stage.on(l.support.transition.end+".owl.core",l.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(i,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",l.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",l.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",l.proxy(this.onDragEnd,this)))},d.prototype.onDragStart=function(e){var t=null;3!==e.which&&(t=l.support.transform?{x:(t=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===t.length?12:4],y:t[16===t.length?13:5]}:(t=this.$stage.position(),{x:this.settings.rtl?t.left+this.$stage.width()-this.width()+this.settings.margin:t.left,y:t.top}),this.is("animating")&&(l.support.transform?this.animate(t.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===e.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=l(e.target),this._drag.stage.start=t,this._drag.stage.current=t,this._drag.pointer=this.pointer(e),l(n).on("mouseup.owl.core touchend.owl.core",l.proxy(this.onDragEnd,this)),l(n).one("mousemove.owl.core touchmove.owl.core",l.proxy(function(e){var t=this.difference(this._drag.pointer,this.pointer(e));l(n).on("mousemove.owl.core touchmove.owl.core",l.proxy(this.onDragMove,this)),Math.abs(t.x)<Math.abs(t.y)&&this.is("valid")||(e.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},d.prototype.onDragMove=function(e){var t=null,i=null,n=this.difference(this._drag.pointer,this.pointer(e)),a=this.difference(this._drag.stage.start,n);this.is("dragging")&&(e.preventDefault(),this.settings.loop?(t=this.coordinates(this.minimum()),i=this.coordinates(this.maximum()+1)-t,a.x=((a.x-t)%i+i)%i+t):(t=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),i=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),e=this.settings.pullDrag?-1*n.x/5:0,a.x=Math.max(Math.min(a.x,t+e),i+e)),this._drag.stage.current=a,this.animate(a.x))},d.prototype.onDragEnd=function(e){var e=this.difference(this._drag.pointer,this.pointer(e)),t=this._drag.stage.current,i=0<e.x^this.settings.rtl?"left":"right";l(n).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==e.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(t.x,0!==e.x?i:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=i,3<Math.abs(e.x)||300<(new Date).getTime()-this._drag.time)&&this._drag.target.one("click.owl.core",function(){return!1}),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},d.prototype.closest=function(i,n){var a=-1,s=this.width(),o=this.coordinates();return this.settings.freeDrag||l.each(o,l.proxy(function(e,t){return"left"===n&&t-30<i&&i<t+30?a=e:"right"===n&&t-s-30<i&&i<t-s+30?a=e+1:this.op(i,"<",t)&&this.op(i,">",o[e+1]!==r?o[e+1]:t-s)&&(a="left"===n?e+1:e),-1===a},this)),this.settings.loop||(this.op(i,">",o[this.minimum()])?a=i=this.minimum():this.op(i,"<",o[this.maximum()])&&(a=i=this.maximum())),a},d.prototype.animate=function(e){var t=0<this.speed();this.is("animating")&&this.onTransitionEnd(),t&&(this.enter("animating"),this.trigger("translate")),l.support.transform3d&&l.support.transition?this.$stage.css({transform:"translate3d("+e+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):t?this.$stage.animate({left:e+"px"},this.speed(),this.settings.fallbackEasing,l.proxy(this.onTransitionEnd,this)):this.$stage.css({left:e+"px"})},d.prototype.is=function(e){return this._states.current[e]&&0<this._states.current[e]},d.prototype.current=function(e){if(e!==r){if(0===this._items.length)return r;var t;e=this.normalize(e),this._current!==e&&((t=this.trigger("change",{property:{name:"position",value:e}})).data!==r&&(e=this.normalize(t.data)),this._current=e,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}}))}return this._current},d.prototype.invalidate=function(e){return"string"===l.type(e)&&(this._invalidated[e]=!0,this.is("valid"))&&this.leave("valid"),l.map(this._invalidated,function(e,t){return t})},d.prototype.reset=function(e){(e=this.normalize(e))!==r&&(this._speed=0,this._current=e,this.suppress(["translate","translated"]),this.animate(this.coordinates(e)),this.release(["translate","translated"]))},d.prototype.normalize=function(e,t){var i=this._items.length,t=t?0:this._clones.length;return!this.isNumeric(e)||i<1?e=r:(e<0||i+t<=e)&&(e=((e-t/2)%i+i)%i+t/2),e},d.prototype.relative=function(e){return e-=this._clones.length/2,this.normalize(e,!0)},d.prototype.maximum=function(e){var t,i,n,a=this.settings,s=this._coordinates.length;if(a.loop)s=this._clones.length/2+this._items.length-1;else if(a.autoWidth||a.merge){if(t=this._items.length)for(i=this._items[--t].width(),n=this.$element.width();t--&&!((i+=this._items[t].width()+this.settings.margin)>n););s=t+1}else s=a.center?this._items.length-1:this._items.length-a.items;return e&&(s-=this._clones.length/2),Math.max(s,0)},d.prototype.minimum=function(e){return e?0:this._clones.length/2},d.prototype.items=function(e){return e===r?this._items.slice():(e=this.normalize(e,!0),this._items[e])},d.prototype.mergers=function(e){return e===r?this._mergers.slice():(e=this.normalize(e,!0),this._mergers[e])},d.prototype.clones=function(i){function n(e){return e%2==0?a+e/2:t-(e+1)/2}var t=this._clones.length/2,a=t+this._items.length;return i===r?l.map(this._clones,function(e,t){return n(t)}):l.map(this._clones,function(e,t){return e===i?n(t):null})},d.prototype.speed=function(e){return e!==r&&(this._speed=e),this._speed},d.prototype.coordinates=function(e){var t,i=1,n=e-1;return e===r?l.map(this._coordinates,l.proxy(function(e,t){return this.coordinates(t)},this)):(this.settings.center?(this.settings.rtl&&(i=-1,n=e+1),t=this._coordinates[e],t+=(this.width()-t+(this._coordinates[n]||0))/2*i):t=this._coordinates[n]||0,Math.ceil(t))},d.prototype.duration=function(e,t,i){return 0===i?0:Math.min(Math.max(Math.abs(t-e),1),6)*Math.abs(i||this.settings.smartSpeed)},d.prototype.to=function(e,t){var i=this.current(),n=e-this.relative(i),a=(0<n)-(n<0),s=this._items.length,o=this.minimum(),r=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(n)>s/2&&(n+=-1*a*s),(a=(((e=i+n)-o)%s+s)%s+o)!==e&&a-n<=r&&0<a-n&&this.reset(i=(e=a)-n)):e=this.settings.rewind?(e%(r+=1)+r)%r:Math.max(o,Math.min(r,e)),this.speed(this.duration(i,e,t)),this.current(e),this.isVisible()&&this.update()},d.prototype.next=function(e){e=e||!1,this.to(this.relative(this.current())+1,e)},d.prototype.prev=function(e){e=e||!1,this.to(this.relative(this.current())-1,e)},d.prototype.onTransitionEnd=function(e){if(e!==r&&(e.stopPropagation(),(e.target||e.srcElement||e.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},d.prototype.viewport=function(){var e;return this.options.responsiveBaseElement!==i?e=l(this.options.responsiveBaseElement).width():i.innerWidth?e=i.innerWidth:n.documentElement&&n.documentElement.clientWidth?e=n.documentElement.clientWidth:console.warn("Can not detect viewport width."),e},d.prototype.replace=function(e){this.$stage.empty(),this._items=[],e=e&&(e instanceof jQuery?e:l(e)),(e=this.settings.nestedItemSelector?e.find("."+this.settings.nestedItemSelector):e).filter(function(){return 1===this.nodeType}).each(l.proxy(function(e,t){t=this.prepare(t),this.$stage.append(t),this._items.push(t),this._mergers.push(+t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},d.prototype.add=function(e,t){var i=this.relative(this._current);t=t===r?this._items.length:this.normalize(t,!0),e=e instanceof jQuery?e:l(e),this.trigger("add",{content:e,position:t}),e=this.prepare(e),0===this._items.length||t===this._items.length?(0===this._items.length&&this.$stage.append(e),0!==this._items.length&&this._items[t-1].after(e),this._items.push(e),this._mergers.push(+e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[t].before(e),this._items.splice(t,0,e),this._mergers.splice(t,0,+e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[i]&&this.reset(this._items[i].index()),this.invalidate("items"),this.trigger("added",{content:e,position:t})},d.prototype.remove=function(e){(e=this.normalize(e,!0))!==r&&(this.trigger("remove",{content:this._items[e],position:e}),this._items[e].remove(),this._items.splice(e,1),this._mergers.splice(e,1),this.invalidate("items"),this.trigger("removed",{content:null,position:e}))},d.prototype.preloadAutoWidthImages=function(e){e.each(l.proxy(function(e,t){this.enter("pre-loading"),t=l(t),l(new Image).one("load",l.proxy(function(e){t.attr("src",e.target.src),t.css("opacity",1),this.leave("pre-loading"),this.is("pre-loading")||this.is("initializing")||this.refresh()},this)).attr("src",t.attr("src")||t.attr("data-src")||t.attr("data-src-retina"))},this))},d.prototype.destroy=function(){for(var e in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),l(n).off(".owl.core"),!1!==this.settings.responsive&&(i.clearTimeout(this.resizeTimer),this.off(i,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[e].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},d.prototype.op=function(e,t,i){var n=this.settings.rtl;switch(t){case"<":return n?i<e:e<i;case">":return n?e<i:i<e;case">=":return n?e<=i:i<=e;case"<=":return n?i<=e:e<=i}},d.prototype.on=function(e,t,i,n){e.addEventListener?e.addEventListener(t,i,n):e.attachEvent&&e.attachEvent("on"+t,i)},d.prototype.off=function(e,t,i,n){e.removeEventListener?e.removeEventListener(t,i,n):e.detachEvent&&e.detachEvent("on"+t,i)},d.prototype.trigger=function(e,t,i,n,a){var s={item:{count:this._items.length,index:this.current()}},o=l.camelCase(l.grep(["on",e,i],function(e){return e}).join("-").toLowerCase()),r=l.Event([e,"owl",i||"carousel"].join(".").toLowerCase(),l.extend({relatedTarget:this},s,t));return this._supress[e]||(l.each(this._plugins,function(e,t){t.onTrigger&&t.onTrigger(r)}),this.register({type:d.Type.Event,name:e}),this.$element.trigger(r),this.settings&&"function"==typeof this.settings[o]&&this.settings[o].call(this,r)),r},d.prototype.enter=function(e){l.each([e].concat(this._states.tags[e]||[]),l.proxy(function(e,t){this._states.current[t]===r&&(this._states.current[t]=0),this._states.current[t]++},this))},d.prototype.leave=function(e){l.each([e].concat(this._states.tags[e]||[]),l.proxy(function(e,t){this._states.current[t]--},this))},d.prototype.register=function(i){var t;i.type===d.Type.Event?(l.event.special[i.name]||(l.event.special[i.name]={}),l.event.special[i.name].owl||(t=l.event.special[i.name]._default,l.event.special[i.name]._default=function(e){return!t||!t.apply||e.namespace&&-1!==e.namespace.indexOf("owl")?e.namespace&&-1<e.namespace.indexOf("owl"):t.apply(this,arguments)},l.event.special[i.name].owl=!0)):i.type===d.Type.State&&(this._states.tags[i.name]?this._states.tags[i.name]=this._states.tags[i.name].concat(i.tags):this._states.tags[i.name]=i.tags,this._states.tags[i.name]=l.grep(this._states.tags[i.name],l.proxy(function(e,t){return l.inArray(e,this._states.tags[i.name])===t},this)))},d.prototype.suppress=function(e){l.each(e,l.proxy(function(e,t){this._supress[t]=!0},this))},d.prototype.release=function(e){l.each(e,l.proxy(function(e,t){delete this._supress[t]},this))},d.prototype.pointer=function(e){var t={x:null,y:null};return(e=(e=e.originalEvent||e||i.event).touches&&e.touches.length?e.touches[0]:e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e).pageX?(t.x=e.pageX,t.y=e.pageY):(t.x=e.clientX,t.y=e.clientY),t},d.prototype.isNumeric=function(e){return!isNaN(parseFloat(e))},d.prototype.difference=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},l.fn.owlCarousel=function(t){var n=Array.prototype.slice.call(arguments,1);return this.each(function(){var e=l(this),i=e.data("owl.carousel");i||(i=new d(this,"object"==typeof t&&t),e.data("owl.carousel",i),l.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(e,t){i.register({type:d.Type.Event,name:t}),i.$element.on(t+".owl.carousel.core",l.proxy(function(e){e.namespace&&e.relatedTarget!==this&&(this.suppress([t]),i[t].apply(this,[].slice.call(arguments,1)),this.release([t]))},i))})),"string"==typeof t&&"_"!==t.charAt(0)&&i[t].apply(i,n)})},l.fn.owlCarousel.Constructor=d})(window.Zepto||window.jQuery,window,document),((t,i)=>{function n(e){this._core=e,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":t.proxy(function(e){e.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=t.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers)}n.Defaults={autoRefresh:!0,autoRefreshInterval:500},n.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=i.setInterval(t.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},n.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible)&&this._core.invalidate("width")&&this._core.refresh()},n.prototype.destroy=function(){var e,t;for(e in i.clearInterval(this._interval),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoRefresh=n})(window.Zepto||window.jQuery,window,document),((r,a)=>{function t(e){this._core=e,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":r.proxy(function(e){if(e.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(e.property&&"position"==e.property.name||"initialized"==e.type)){var t=this._core.settings,i=t.center&&Math.ceil(t.items/2)||t.items,n=t.center&&-1*i||0,a=(e.property&&void 0!==e.property.value?e.property.value:this._core.current())+n,s=this._core.clones().length,o=r.proxy(function(e,t){this.load(t)},this);for(0<t.lazyLoadEager&&(i+=t.lazyLoadEager,t.loop)&&(a-=t.lazyLoadEager,i++);n++<i;)this.load(s/2+this._core.relative(a)),s&&r.each(this._core.clones(this._core.relative(a)),o),a++}},this)},this._core.options=r.extend({},t.Defaults,this._core.options),this._core.$element.on(this._handlers)}t.Defaults={lazyLoad:!1,lazyLoadEager:0},t.prototype.load=function(e){var e=this._core.$stage.children().eq(e),t=e&&e.find(".owl-lazy");!t||-1<r.inArray(e.get(0),this._loaded)||(t.each(r.proxy(function(e,t){var i=r(t),n=1<a.devicePixelRatio&&i.attr("data-src-retina")||i.attr("data-src")||i.attr("data-srcset");this._core.trigger("load",{element:i,url:n},"lazy"),i.is("img")?i.one("load.owl.lazy",r.proxy(function(){i.css("opacity",1),this._core.trigger("loaded",{element:i,url:n},"lazy")},this)).attr("src",n):i.is("source")?i.one("load.owl.lazy",r.proxy(function(){this._core.trigger("loaded",{element:i,url:n},"lazy")},this)).attr("srcset",n):((t=new Image).onload=r.proxy(function(){i.css({"background-image":'url("'+n+'")',opacity:"1"}),this._core.trigger("loaded",{element:i,url:n},"lazy")},this),t.src=n)},this)),this._loaded.push(e.get(0)))},t.prototype.destroy=function(){var e,t;for(e in this.handlers)this._core.$element.off(e,this.handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},r.fn.owlCarousel.Constructor.Plugins.Lazy=t})(window.Zepto||window.jQuery,window,document),((a,i)=>{function n(e){this._core=e,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":a.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":a.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&"position"===e.property.name&&this.update()},this),"loaded.owl.lazy":a.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&e.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=a.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var t=this;a(i).on("load",function(){t._core.settings.autoHeight&&t.update()}),a(i).resize(function(){t._core.settings.autoHeight&&(null!=t._intervalId&&clearTimeout(t._intervalId),t._intervalId=setTimeout(function(){t.update()},250))})}n.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},n.prototype.update=function(){var e=this._core._current,t=e+this._core.settings.items,i=this._core.settings.lazyLoad,e=this._core.$stage.children().toArray().slice(e,t),n=[],t=0;a.each(e,function(e,t){n.push(a(t).height())}),(t=Math.max.apply(null,n))<=1&&i&&this._previousHeight&&(t=this._previousHeight),this._previousHeight=t,this._core.$stage.parent().height(t).addClass(this._core.settings.autoHeightClass)},n.prototype.destroy=function(){var e,t;for(e in this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},a.fn.owlCarousel.Constructor.Plugins.AutoHeight=n})(window.Zepto||window.jQuery,window,document),((c,t)=>{function i(e){this._core=e,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":c.proxy(function(e){e.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":c.proxy(function(e){e.namespace&&this._core.settings.video&&this.isInFullScreen()&&e.preventDefault()},this),"refreshed.owl.carousel":c.proxy(function(e){e.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":c.proxy(function(e){e.namespace&&"position"===e.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":c.proxy(function(e){var t;e.namespace&&(t=c(e.content).find(".owl-video")).length&&(t.css("display","none"),this.fetch(t,c(e.content)))},this)},this._core.options=c.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",c.proxy(function(e){this.play(e)},this))}i.Defaults={video:!1,videoHeight:!1,videoWidth:!1},i.prototype.fetch=function(e,t){var i=e.attr("data-vimeo-id")?"vimeo":e.attr("data-vzaar-id")?"vzaar":"youtube",n=e.attr("data-vimeo-id")||e.attr("data-youtube-id")||e.attr("data-vzaar-id"),a=e.attr("data-width")||this._core.settings.videoWidth,s=e.attr("data-height")||this._core.settings.videoHeight,o=e.attr("href");if(!o)throw new Error("Missing video URL.");if(-1<(n=o.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu"))i="youtube";else if(-1<n[3].indexOf("vimeo"))i="vimeo";else{if(!(-1<n[3].indexOf("vzaar")))throw new Error("Video URL not supported.");i="vzaar"}n=n[6],this._videos[o]={type:i,id:n,width:a,height:s},t.attr("data-video",o),this.thumbnail(e,this._videos[o])},i.prototype.thumbnail=function(t,e){function i(e){n=d.lazyLoad?c("<div/>",{class:"owl-video-tn "+l,srcType:e}):c("<div/>",{class:"owl-video-tn",style:"opacity:1;background-image:url("+e+")"}),t.after(n),t.after('<div class="owl-video-play-icon"></div>')}var n,a,s=e.width&&e.height?"width:"+e.width+"px;height:"+e.height+"px;":"",o=t.find("img"),r="src",l="",d=this._core.settings;if(t.wrap(c("<div/>",{class:"owl-video-wrapper",style:s})),this._core.settings.lazyLoad&&(r="data-src",l="owl-lazy"),o.length)return i(o.attr(r)),o.remove(),!1;"youtube"===e.type?(a="//img.youtube.com/vi/"+e.id+"/hqdefault.jpg",i(a)):"vimeo"===e.type?c.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+e.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){a=e[0].thumbnail_large,i(a)}}):"vzaar"===e.type&&c.ajax({type:"GET",url:"//vzaar.com/api/videos/"+e.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){a=e.framegrab_url,i(a)}})},i.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},i.prototype.play=function(e){var t,e=c(e.target).closest("."+this._core.settings.itemClass),i=this._videos[e.attr("data-video")],n=i.width||"100%",a=i.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),e=this._core.items(this._core.relative(e.index())),this._core.reset(e.index()),(t=c('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>')).attr("height",a),t.attr("width",n),"youtube"===i.type?t.attr("src","//www.youtube.com/embed/"+i.id+"?autoplay=1&rel=0&v="+i.id):"vimeo"===i.type?t.attr("src","//player.vimeo.com/video/"+i.id+"?autoplay=1"):"vzaar"===i.type&&t.attr("src","//view.vzaar.com/"+i.id+"/player?autoplay=true"),c(t).wrap('<div class="owl-video-frame" />').insertAfter(e.find(".owl-video")),this._playing=e.addClass("owl-video-playing"))},i.prototype.isInFullScreen=function(){var e=t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement;return e&&c(e).parent().hasClass("owl-video-frame")},i.prototype.destroy=function(){var e,t;for(e in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},c.fn.owlCarousel.Constructor.Plugins.Video=i})(window.Zepto||window.jQuery,document),(o=>{function t(e){this.core=e,this.core.options=o.extend({},t.Defaults,this.core.options),this.swapping=!0,this.previous=void 0,this.next=void 0,this.handlers={"change.owl.carousel":o.proxy(function(e){e.namespace&&"position"==e.property.name&&(this.previous=this.core.current(),this.next=e.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":o.proxy(function(e){e.namespace&&(this.swapping="translated"==e.type)},this),"translate.owl.carousel":o.proxy(function(e){e.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)}t.Defaults={animateOut:!1,animateIn:!1},t.prototype.swap=function(){var e,t,i,n,a,s;1===this.core.settings.items&&o.support.animation&&o.support.transition&&(this.core.speed(0),t=o.proxy(this.clear,this),i=this.core.$stage.children().eq(this.previous),n=this.core.$stage.children().eq(this.next),a=this.core.settings.animateIn,s=this.core.settings.animateOut,this.core.current()!==this.previous)&&(s&&(e=this.core.coordinates(this.previous)-this.core.coordinates(this.next),i.one(o.support.animation.end,t).css({left:e+"px"}).addClass("animated owl-animated-out").addClass(s)),a)&&n.one(o.support.animation.end,t).addClass("animated owl-animated-in").addClass(a)},t.prototype.clear=function(e){o(e.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},t.prototype.destroy=function(){var e,t;for(e in this.handlers)this.core.$element.off(e,this.handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},o.fn.owlCarousel.Constructor.Plugins.Animate=t})(window.Zepto||window.jQuery,document),((n,a,t)=>{function i(e){this._core=e,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":n.proxy(function(e){e.namespace&&"settings"===e.property.name?this._core.settings.autoplay?this.play():this.stop():e.namespace&&"position"===e.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":n.proxy(function(e){e.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":n.proxy(function(e,t,i){e.namespace&&this.play(t,i)},this),"stop.owl.autoplay":n.proxy(function(e){e.namespace&&this.stop()},this),"mouseover.owl.autoplay":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":n.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=n.extend({},i.Defaults,this._core.options)}i.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},i.prototype._next=function(e){this._call=a.setTimeout(n.proxy(this._next,this,e),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||t.hidden||this._core.next(e||this._core.settings.autoplaySpeed)},i.prototype.read=function(){return(new Date).getTime()-this._time},i.prototype.play=function(e,t){var i;this._core.is("rotating")||this._core.enter("rotating"),e=e||this._core.settings.autoplayTimeout,i=Math.min(this._time%(this._timeout||e),e),this._paused?(this._time=this.read(),this._paused=!1):a.clearTimeout(this._call),this._time+=this.read()%e-i,this._timeout=e,this._call=a.setTimeout(n.proxy(this._next,this,t),e-i)},i.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,a.clearTimeout(this._call),this._core.leave("rotating"))},i.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,a.clearTimeout(this._call))},i.prototype.destroy=function(){var e,t;for(e in this.stop(),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},n.fn.owlCarousel.Constructor.Plugins.autoplay=i})(window.Zepto||window.jQuery,window,document),(a=>{function t(e){this._core=e,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":a.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+a(e.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":a.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.splice(e.position,0,this._templates.pop())},this),"remove.owl.carousel":a.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.splice(e.position,1)},this),"changed.owl.carousel":a.proxy(function(e){e.namespace&&"position"==e.property.name&&this.draw()},this),"initialized.owl.carousel":a.proxy(function(e){e.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":a.proxy(function(e){e.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=a.extend({},t.Defaults,this._core.options),this.$element.on(this._handlers)}t.Defaults={nav:!1,navText:['<span aria-label="Previous">&#x2039;</span>','<span aria-label="Next">&#x203a;</span>'],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},t.prototype.initialize=function(){var e,i=this._core.settings;for(e in this._controls.$relative=(i.navContainer?a(i.navContainer):a("<div>").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=a("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",a.proxy(function(e){this.prev(i.navSpeed)},this)),this._controls.$next=a("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",a.proxy(function(e){this.next(i.navSpeed)},this)),i.dotsData||(this._templates=[a('<button role="button">').addClass(i.dotClass).append(a("<span>")).prop("outerHTML")]),this._controls.$absolute=(i.dotsContainer?a(i.dotsContainer):a("<div>").addClass(i.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",a.proxy(function(e){var t=(a(e.target).parent().is(this._controls.$absolute)?a(e.target):a(e.target).parent()).index();e.preventDefault(),this.to(t,i.dotsSpeed)},this)),this._overrides)this._core[e]=a.proxy(this[e],this)},t.prototype.destroy=function(){var e,t,i,n,a=this._core.settings;for(e in this._handlers)this.$element.off(e,this._handlers[e]);for(t in this._controls)"$relative"===t&&a.navContainer?this._controls[t].html(""):this._controls[t].remove();for(n in this.overides)this._core[n]=this._overrides[n];for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},t.prototype.update=function(){var e,t,i=this._core.clones().length/2,n=i+this._core.items().length,a=this._core.maximum(!0),s=this._core.settings,o=s.center||s.autoWidth||s.dotsData?1:s.dotsEach||s.items;if("page"!==s.slideBy&&(s.slideBy=Math.min(s.slideBy,s.items)),s.dots||"page"==s.slideBy)for(this._pages=[],e=i,t=0;e<n;e++){if(o<=t||0===t){if(this._pages.push({start:Math.min(a,e-i),end:e-i+o-1}),Math.min(a,e-i)===a)break;t=0,0}t+=this._core.mergers(this._core.relative(e))}},t.prototype.draw=function(){var e=this._core.settings,t=this._core.items().length<=e.items,i=this._core.relative(this._core.current()),n=e.loop||e.rewind;this._controls.$relative.toggleClass("disabled",!e.nav||t),e.nav&&(this._controls.$previous.toggleClass("disabled",!n&&i<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!n&&i>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!e.dots||t),e.dots&&(n=this._pages.length-this._controls.$absolute.children().length,e.dotsData&&0!=n?this._controls.$absolute.html(this._templates.join("")):0<n?this._controls.$absolute.append(new Array(1+n).join(this._templates[0])):n<0&&this._controls.$absolute.children().slice(n).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(a.inArray(this.current(),this._pages)).addClass("active"))},t.prototype.onTrigger=function(e){var t=this._core.settings;e.page={index:a.inArray(this.current(),this._pages),count:this._pages.length,size:t&&(t.center||t.autoWidth||t.dotsData?1:t.dotsEach||t.items)}},t.prototype.current=function(){var i=this._core.relative(this._core.current());return a.grep(this._pages,a.proxy(function(e,t){return e.start<=i&&e.end>=i},this)).pop()},t.prototype.getPosition=function(e){var t,i,n=this._core.settings;return"page"==n.slideBy?(t=a.inArray(this.current(),this._pages),i=this._pages.length,e?++t:--t,t=this._pages[(t%i+i)%i].start):(t=this._core.relative(this._core.current()),i=this._core.items().length,e?t+=n.slideBy:t-=n.slideBy),t},t.prototype.next=function(e){a.proxy(this._overrides.to,this._core)(this.getPosition(!0),e)},t.prototype.prev=function(e){a.proxy(this._overrides.to,this._core)(this.getPosition(!1),e)},t.prototype.to=function(e,t,i){!i&&this._pages.length?(i=this._pages.length,a.proxy(this._overrides.to,this._core)(this._pages[(e%i+i)%i].start,t)):a.proxy(this._overrides.to,this._core)(e,t)},a.fn.owlCarousel.Constructor.Plugins.Navigation=t})(window.Zepto||window.jQuery,document),((n,a)=>{function t(e){this._core=e,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":n.proxy(function(e){e.namespace&&"URLHash"===this._core.settings.startPosition&&n(a).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":n.proxy(function(e){var t;e.namespace&&(t=n(e.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash"))&&(this._hashes[t]=e.content)},this),"changed.owl.carousel":n.proxy(function(e){var i;e.namespace&&"position"===e.property.name&&(i=this._core.items(this._core.relative(this._core.current())),e=n.map(this._hashes,function(e,t){return e===i?t:null}).join())&&a.location.hash.slice(1)!==e&&(a.location.hash=e)},this)},this._core.options=n.extend({},t.Defaults,this._core.options),this.$element.on(this._handlers),n(a).on("hashchange.owl.navigation",n.proxy(function(e){var t=a.location.hash.substring(1),i=this._core.$stage.children(),i=this._hashes[t]&&i.index(this._hashes[t]);void 0!==i&&i!==this._core.current()&&this._core.to(this._core.relative(i),!1,!0)},this))}t.Defaults={URLhashListener:!1},t.prototype.destroy=function(){var e,t;for(e in n(a).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},n.fn.owlCarousel.Constructor.Plugins.Hash=t})(window.Zepto||window.jQuery,window,document),(a=>{function t(e,i){var n=!1,t=e.charAt(0).toUpperCase()+e.slice(1);return a.each((e+" "+o.join(t+" ")+t).split(" "),function(e,t){if(void 0!==s[t])return n=!i||t,!1}),n}function e(e){return t(e,!0)}var s=a("<support>").get(0).style,o="Webkit Moz O ms".split(" "),i={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},n=function(){return!!t("transform")},r=function(){return!!t("perspective")},l=function(){return!!t("animation")};!function(){return!!t("transition")}()||(a.support.transition=new String(e("transition")),a.support.transition.end=i.transition.end[a.support.transition]),l()&&(a.support.animation=new String(e("animation")),a.support.animation.end=i.animation.end[a.support.animation]),n()&&(a.support.transform=new String(e("transform")),a.support.transform3d=r())})(window.Zepto||window.jQuery,document),window.SEMICOLON_carouselInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;
1e.each(function(){var e=$(this),t=e.attr("data-items")||4,t=e.attr("data-items-xl")||Number(t),i=e.attr("data-items-lg")||Number(t),n=e.attr("data-items-md")||Number(i),a=e.attr("data-items-sm")||Number(n),s=e.attr("data-items-xs")||Number(a),o=e.attr("data-loop"),r=e.attr("data-autoplay"),l=e.attr("data-speed")||250,d=e.attr("data-animate-in"),c=e.attr("data-animate-out"),u=e.attr("data-nav"),h=e.attr("data-nav-prev")||'<i class="icon-angle-left"></i>',p=e.attr("data-nav-next")||'<i class="icon-angle-right"></i>',f=e.attr("data-pagi"),m=e.attr("data-margin")||20,g=e.attr("data-stage-padding")||0,v=e.attr("data-merge"),y=e.attr("data-start")||0,b=e.attr("data-rewind"),w=e.attr("data-slideby")||1,C=e.attr("data-center"),T=e.attr("data-lazyload"),_=e.attr("data-video"),x=e.attr("data-rtl"),S=5e3,k=!0,w="page"==w?"page":Number(w),o="true"==o,d=(r?(S=Number(r),r=!0):k=r=!1,d||!1),c=c||!1,u="false"!=u,f="false"!=f,b="true"==b,v="true"==v,C="true"==C,T="true"==T,_="true"==_,x=!("true"!=x&&!$("body").hasClass("rtl")),E=e.owlCarousel({margin:Number(m),loop:o,stagePadding:Number(g),merge:v,startPosition:Number(y),rewind:b,slideBy:w,center:C,lazyLoad:T,nav:u,navText:[h,p],autoplay:r,autoplayTimeout:S,autoplayHoverPause:k,dots:f,smartSpeed:Number(l),fluidSpeed:Number(l),video:_,animateIn:d,animateOut:c,rtl:x,responsive:{0:{items:s},576:{items:a},768:{items:n},992:{items:i},1200:{items:t}},onInitialized:function(){SEMICOLON.slider.sliderDimensions({parent:e.parents(".slider-element")}),SEMICOLON.initialize.lightbox({parent:e}),SEMICOLON.widget.hoverAnimation({parent:e}),SEMICOLON.widget.loadFlexSlider({parent:e}),SEMICOLON.widget.counter({parent:e}),SEMICOLON.widget.progress({parent:e}),SEMICOLON.initialize.resizeVideos(),0<e.find(".owl-dot").length&&e.addClass("with-carousel-dots")}});$(window).on("lazyLoadLoaded",function(){e.find(".lazy").length==e.find(".lazy.lazy-loaded").length&&(lazyLoadInstance.update(),setTimeout(function(){E.trigger("refresh.owl.carousel")},500))})})},(e=>{var t,i,n;"function"==typeof define&&define.amd&&(define(e),t=!0),"object"==typeof exports&&(module.exports=e(),t=!0),t||(i=window.Cookies,(n=window.Cookies=e()).noConflict=function(){return window.Cookies=i,n})})(function(){function r(){for(var e=0,t={};e<arguments.length;e++){var i,n=arguments[e];for(i in n)t[i]=n[i]}return t}function d(e){return e.replace(/(%[0-9A-Z]{2}
1)+/g,decodeURIComponent)}return function e(l){function o(){}function i(e,t,i){if("undefined"!=typeof document){"number"==typeof(i=r({path:"/"},o.defaults,i)).expires&&(i.expires=new Date(+new Date+864e5*i.expires)),i.expires=i.expires?i.expires.toUTCString():"";try{var n=JSON.stringify(t);/^[\{\[]/.test(n)&&(t=n)}catch(e){}t=l.write?l.write(t,e):encodeURIComponent(String(t)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=encodeURIComponent(String(e)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var a,s="";for(a in i)i[a]&&(s+="; "+a,!0!==i[a])&&(s+="="+i[a].split(";")[0]);return document.cookie=e+"="+t+s}}function t(e,t){if("undefined"!=typeof document){for(var i={},n=document.cookie?document.cookie.split("; "):[],a=0;a<n.length;a++){var s=n[a].split("="),o=s.slice(1).join("=");t||'"'!==o.charAt(0)||(o=o.slice(1,-1));try{var r=d(s[0]),o=(l.read||l)(o,r)||d(o);if(t)try{o=JSON.parse(o)}catch(e){}if(i[r]=o,e===r)break}catch(e){}}return e?i[e]:i}}return o.set=i,o.get=function(e){return t(e,!1)},o.getJSON=function(e){return t(e,!0)},o.remove=function(e,t){i(e,"",r(t,{expires:-1}))},o.defaults={},o.withConverter=e,o}(function(){})}),window.SEMICOLON_cookieInit=function(e){if((e=e.filter(".gdpr-settings:not(.customjs)")).length<1)return!0;e.attr("data-speed");var t,i=e.attr("data-expire")||30,n=e.attr("data-delay")||1500,a=e.attr("data-persistent"),s="bottom",o=e.outerHeight()+100,r=e.outerWidth()+100,l={};"true"==a&&Cookies.set("websiteUsesCookies",""),e.hasClass("gdpr-settings-sm")&&e.hasClass("gdpr-settings-right")?s="right":e.hasClass("gdpr-settings-sm")&&(s="left"),"left"==s?l={left:t=-r,right:"auto",marginLeft:"1rem"}:"right"==s?l={right:t=-r,left:"auto",marginRight:"1rem"}:(t=-o,l[s]=t),e.css(l),"yesConfirmed"!=Cookies.get("websiteUsesCookies")&&(l[s]=0,l.opacity=1,setTimeout(function(){e.css(l)},Number(n))),$(".gdpr-accept").off("click").on("click",function(){return l[s]=t,l.opacity=0,e.css(l),Cookies.set("websiteUsesCookies","yesConfirmed",{expires:Number(i)}),!1})},(()=>{var o=!1;window.JQClass=function(){},JQClass.classes={},JQClass.extend=function e(t){var i,a=this.prototype,n=(o=!0,new this);for(i in o=!1,t)n[i]="function"==typeof t[i]&&"function"==typeof a[i]?((i,n)=>function(){var e=this._super,t=(this._super=function(e){return a[i].apply(this,e)},n.apply(this,arguments));return this._super=e,t})(i,t[i]):t[i];function s(){!o&&this._init&&this._init.apply(this,arguments)}return((s.prototype=n).constructor=s).extend=e,s}})(),!function($){function camelCase(e){return e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}JQClass.classes.JQPlugin=JQClass.extend({name:"plugin",defaultOptions:{},regionalOptions:{},_getters:[],_getMarker:function(){return"is-"+this.name},_init:function(){$.extend(this.defaultOptions,this.regionalOptions&&this.regionalOptions[""]||{});var i=camelCase(this.name);$[i]=this,$.fn[i]=function(e){var t=Array.prototype.slice.call(arguments,1);return $[i]._isNotChained(e,t)?$[i][e].apply($[i],[this[0]].concat(t)):this.each(function(){if("string"==typeof e){if("_"===e[0]||!$[i][e])throw"Unknown method: "+e;$[i][e].apply($[i],[this].concat(t))}else $[i]._attach(this,e)})}},setDefaults:function(e){$.extend(this.defaultOptions,e||{})},_isNotChained:function(e,t){return"option"===e&&(0===t.length||1===t.length&&"string"==typeof t[0])||-1<$.inArray(e,this._getters)},_attach:function(e,t){var i;(e=$(e)).hasClass(this._getMarker())||(e.addClass(this._getMarker()),t=$.extend({},this.defaultOptions,this._getMetadata(e),t||{}),i=$.extend({name:this.name,elem:e,options:t},this._instSettings(e,t)),e.data(this.name,i),this._postAttach(e,i),this.option(e,t))},_instSettings:function(e,t){return{}},_postAttach:function(e,t){},_getMetadata:function(d){try{var f=d.data(this.name.toLowerCase())||"",g,f=f.replace(/'/g,'"');for(g in f=f.replace(/([a-zA-Z0-9]+):/g,function(e,t,i){i=f.substring(0,i).match(/"/g);return i&&i.length%2!=0?t+":":'"'+t+'":'}),f=$.parseJSON("{"+f+"}"),f){var h=f[g];"string"==typeof h&&h.match(/^new Date\((.*)\)$/)&&(f[g]=eval(h))}return f}catch(e){return{}}},_getInst:function(e){return $(e).data(this.name)||{}},option:function(e,t,i){var n,a=(e=$(e)).data(this.name);if(!t||"string"==typeof t&&null==i)return(n=(a||{}).options)&&t?n[t]:n;e.hasClass(this._getMarker())&&(n=t||{},"string"==typeof t&&((n={})[t]=i),this._optionsChanged(e,a,n),$.extend(a.options,n))},_optionsChanged:function(e,t,i){},destroy:function(e){(e=$(e)).hasClass(this._getMarker())&&(this._preDestroy(e,this._getInst(e)),e.removeData(this.name).removeClass(this._getMarker()))},_preDestroy:function(e,t){}}),$.JQPlugin={createPlugin:function(e,t){"object"==typeof e&&(t=e,e="JQPlugin"),e=camelCase(e);
1var i=camelCase(t.name);JQClass.classes[i]=JQClass.classes[e].extend(t),new JQClass.classes[i]}}}(jQuery),(p=>{var e="countdown";p.JQPlugin.createPlugin({name:e,defaultOptions:{until:null,since:null,timezone:null,serverSync:null,format:"dHMS",layout:"",compact:!1,padZeroes:!1,significant:0,description:"",expiryUrl:"",expiryText:"",alwaysExpire:!1,onExpiry:null,onTick:null,tickInterval:1},regionalOptions:{"":{labels:["Years","Months","Weeks","Days","Hours","Minutes","Seconds"],labels1:["Year","Month","Week","Day","Hour","Minute","Second"],compactLabels:["y","m","w","d"],whichLabels:null,digits:["0","1","2","3","4","5","6","7","8","9"],timeSeparator:":",isRTL:!1}},_rtlClass:e+"-rtl",_sectionClass:e+"-section",_amountClass:e+"-amount",_periodClass:e+"-period",_rowClass:e+"-row",_holdingClass:e+"-holding",_showClass:e+"-show",_descrClass:e+"-descr",_timerElems:[],_init:function(){var i=this,n=(this._super(),this._serverSyncs=[],"function"==typeof Date.now?Date.now:function(){return(new Date).getTime()}),a=window.performance&&"function"==typeof window.performance.now,s=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||null,o=0;!s||p.noRequestAnimationFrame?(p.noRequestAnimationFrame=null,p.countdown._timer=setInterval(function(){i._updateElems()},1e3)):(o=window.animationStartTime||window.webkitAnimationStartTime||window.mozAnimationStartTime||window.oAnimationStartTime||window.msAnimationStartTime||n(),s(function e(t){t=t<1e12?a?window.performance.now()+window.performance.timing.navigationStart:n():t||n();1e3<=t-o&&(i._updateElems(),o=t),s(e)}))},UTCDate:function(e,t,i,n,a,s,o,r){"object"==typeof t&&t instanceof Date&&(r=t.getMilliseconds(),o=t.getSeconds(),s=t.getMinutes(),a=t.getHours(),n=t.getDate(),i=t.getMonth(),t=t.getFullYear());var l=new Date;return l.setUTCFullYear(t),l.setUTCDate(1),l.setUTCMonth(i||0),l.setUTCDate(n||1),l.setUTCHours(a||0),l.setUTCMinutes((s||0)-(Math.abs(e)<30?60*e:e)),l.setUTCSeconds(o||0),l.setUTCMilliseconds(r||0),l},periodsToSeconds:function(e){return 31557600*e[0]+2629800*e[1]+604800*e[2]+86400*e[3]+3600*e[4]+60*e[5]+e[6]},resync:function(){var a=this;p("."+this._getMarker()).each(function(){var e=p.data(this,a.name);if(e.options.serverSync){for(var t,i=null,n=0;n<a._serverSyncs.length;n++)if(a._serverSyncs[n][0]===e.options.serverSync){i=a._serverSyncs[n];break}a._eqNull(i[2])&&(t=p.isFunction(e.options.serverSync)?e.options.serverSync.apply(this,[]):null,i[2]=(t?(new Date).getTime()-t.getTime():0)-i[1]),e._since&&e._since.setMilliseconds(e._since.getMilliseconds()+i[2]),e._until.setMilliseconds(e._until.getMilliseconds()+i[2])}});for(var e=0;e<a._serverSyncs.length;e++)a._eqNull(a._serverSyncs[e][2])||(a._serverSyncs[e][1]+=a._serverSyncs[e][2],delete a._serverSyncs[e][2])},_instSettings:function(e,t){return{_periods:[0,0,0,0,0,0,0]}},_addElem:function(e){this._hasElem(e)||this._timerElems.push(e)},_hasElem:function(e){return-1<p.inArray(e,this._timerElems)},_removeElem:function(t){this._timerElems=p.map(this._timerElems,function(e){return e===t?null:e})},_updateElems:function(){for(var e=this._timerElems.length-1;0<=e;e--)this._updateCountdown(this._timerElems[e])},_optionsChanged:function(e,t,i){i.layout&&(i.layout=i.layout.replace(/&lt;/g,"<").replace(/&gt;/g,">")),this._resetExtraLabels(t.options,i);var n=t.options.timezone!==i.timezone,i=(p.extend(t.options,i),this._adjustSettings(e,t,!this._eqNull(i.until)||!this._eqNull(i.since)||n),new Date);(t._since&&t._since<i||t._until&&t._until>i)&&this._addElem(e[0]),this._updateCountdown(e,t)},_updateCountdown:function(e,t){var i;e=e.jquery?e:p(e),(t=t||this._getInst(e))&&(e.html(this._generateHTML(t)).toggleClass(this._rtlClass,t.options.isRTL),"pause"!==t._hold&&p.isFunction(t.options.onTick)&&(i="lap"!==t._hold?t._periods:this._calculatePeriods(t,t._show,t.options.significant,new Date),1!==t.options.tickInterval&&this.periodsToSeconds(i)%t.options.tickInterval!=0||t.options.onTick.apply(e[0],[i])),"pause"!==t._hold&&(t._since?t._now.getTime()<t._since.getTime():t._now.getTime()>=t._until.getTime())&&!t._expiring?(t._expiring=!0,(this._hasElem(e[0])||t.options.alwaysExpire)&&(this._removeElem(e[0]),p.isFunction(t.options.onExpiry)&&t.options.onExpiry.apply(e[0],[]),t.options.expiryText&&(i=t.options.layout,t.options.layout=t.options.expiryText,this._updateCountdown(e[0],t),t.options.layout=i),t.options.expiryUrl)&&(window.location=t.options.expiryUrl),t._expiring=!1):"pause"===t._hold&&this._removeElem(e[0]))},_resetExtraLabels:function(e,t){var i=null;for(i in t)i.match(/[Ll]abels[02-9]|compactLabels1/)&&(e[i]=t[i]);for(i in e)i.match(/[Ll]abels[02-9]|compactLabels1/)&&void 0===t[i]&&(e[i]=null)},_eqNull:function(e){return null==e},_adjustSettings:function(e,t,i){for(var n=null,a=0;a<this._serverSyncs.length;a++)if(this._serverSyncs[a][0]===t.options.serverSync){n=this._serverSyncs[a][1];break}var s=null,o=null,e=(this._eqNull(n)?(e=p.isFunction(t.options.serverSync)?t.options.serverSync.apply(e[0],[]):null,s=new Date,o=e?s.getTime()-e.getTime():0,this._serverSyncs.push([t.options.serverSync,o])):(s=new Date,o=t.options.serverSync?n:0),t.options.timezone),e=this._eqNull(e)?-s.getTimezoneOffset():e;(i||!i&&this._eqNull(t._until)&&this._eqNull(t._since))&&(t._since=t.options.since,this._eqNull(t._since)||(t._since=this.UTCDate(e,this._determineTime(t._since,null)),t._since&&o&&t._since.setMilliseconds(t._since.getMilliseconds()+o)),t._until=this.UTCDate(e,this._determineTime(t.options.until,s)),o)&&t._until.setMilliseconds(t._until.getMilliseconds()+o),t._show=this._determineShow(t)},_preDestroy:function(e,t){this._removeElem(e[0]),e.empty()},pause:function(e){this._hold(e,"pause")},lap:function(e){this._hold(e,"lap")},resume:function(e){this._hold(e,null)},toggle:function(e){this[(p.data(e,this.name)||{})._hold?"resume":"pause"](e)},toggleLap:function(e){this[(p.data(e,this.name)||{})._hold?"resume":"lap"](e)},_hold:function(e,t){var i,n=p.data(e,this.name);n&&("pause"!==n._hold||t||(n._periods=n._savePeriods,i=n._since?"-":"+",n[n._since?"_since":"_until"]=this._determineTime(i+n._periods[0]+"y"+i+n._periods[1]+"o"+i+n._periods[2]+"w"+i+n._periods[3]+"d"+i+n._periods[4]+"h"+i+n._periods[5]+"m"+i+n._periods[6]+"s"),this._addElem(e)),n._hold=t,n._savePeriods="pause"===t?n._periods:null,p.data(e,this.name,n),this._updateCountdown(e,n))},getTimes:function(e){e=p.data(e,this.name);return e?"pause"===e._hold?e._savePeriods:e._hold?this._calculatePerio
1ds(e,e._show,e.options.significant,new Date):e._periods:null},_determineTime:function(e,t){var i,c=this,t=this._eqNull(e)?t:"string"==typeof e?(e=>{e=e.toLowerCase();for(var t=new Date,i=t.getFullYear(),n=t.getMonth(),a=t.getDate(),s=t.getHours(),o=t.getMinutes(),r=t.getSeconds(),l=/([+-]?[0-9]+)\s*(s|m|h|d|w|o|y)?/g,d=l.exec(e);d;){switch(d[2]||"s"){case"s":r+=parseInt(d[1],10);break;case"m":o+=parseInt(d[1],10);break;case"h":s+=parseInt(d[1],10);break;case"d":a+=parseInt(d[1],10);break;case"w":a+=7*parseInt(d[1],10);break;case"o":n+=parseInt(d[1],10),a=Math.min(a,c._getDaysInMonth(i,n));break;case"y":i+=parseInt(d[1],10),a=Math.min(a,c._getDaysInMonth(i,n))}d=l.exec(e)}return new Date(i,n,a,s,o,r,0)})(e):"number"==typeof e?(t=e,(i=new Date).setTime(i.getTime()+1e3*t),i):e;return t&&t.setMilliseconds(0),t},_getDaysInMonth:function(e,t){return 32-new Date(e,t,32).getDate()},_normalLabels:function(e){return e},_generateHTML:function(i){for(var n=this,e=(i._periods=i._hold?i._periods:this._calculatePeriods(i,i._show,i.options.significant,new Date),!1),t=0,a=i.options.significant,s=p.extend({},i._show),o=null,o=0;o<=6;o++)e=e||"?"===i._show[o]&&0<i._periods[o],s[o]="?"!==i._show[o]||e?i._show[o]:null,t+=s[o]?1:0,a-=0<i._periods[o]?1:0;var r=[!1,!1,!1,!1,!1,!1,!1];for(o=6;0<=o;o--)i._show[o]&&(i._periods[o]?r[o]=!0:(r[o]=0<a,a--));function l(e){var t=i.options["compactLabels"+u(i._periods[e])];return s[e]?n._translateDigits(i,i._periods[e])+(t||c)[e]+" ":""}function d(e){var t=i.options["labels"+u(i._periods[e])];return!i.options.significant&&s[e]||i.options.significant&&r[e]?'<span class="'+n._sectionClass+'"><span class="'+n._amountClass+'">'+n._minDigits(i,i._periods[e],h)+'</span><span class="'+n._periodClass+'">'+(t||c)[e]+"</span></span>":""}var c=i.options.compact?i.options.compactLabels:i.options.labels,u=i.options.whichLabels||this._normalLabels,h=i.options.padZeroes?2:1;return i.options.layout?this._buildLayout(i,s,i.options.layout,i.options.compact,i.options.significant,r):(i.options.compact?'<span class="'+this._rowClass+" "+this._amountClass+(i._hold?" "+this._holdingClass:"")+'">'+l(0)+l(1)+l(2)+l(3)+(s[4]?this._minDigits(i,i._periods[4],2):"")+(s[5]?(s[4]?i.options.timeSeparator:"")+this._minDigits(i,i._periods[5],2):"")+(s[6]?(s[4]||s[5]?i.options.timeSeparator:"")+this._minDigits(i,i._periods[6],2):""):'<span class="'+this._rowClass+" "+this._showClass+(i.options.significant||t)+(i._hold?" "+this._holdingClass:"")+'">'+d(0)+d(1)+d(2)+d(3)+d(4)+d(5)+d(6))+"</span>"+(i.options.description?'<span class="'+this._rowClass+" "+this._descrClass+'">'+i.options.description+"</span>":"")},_buildLayout:function(i,e,t,n,a,s){for(var o=i.options[n?"compactLabels":"labels"],r=i.options.whichLabels||this._normalLabels,l=function(e){return(i.options[(n?"compactLabels":"labels")+r(i._periods[e])]||o)[e]},d=function(e,t){return i.options.digits[Math.floor(e/t)%10]},l={desc:i.options.description,sep:i.options.timeSeparator,yl:l(0),yn:this._minDigits(i,i._periods[0],1),ynn:this._minDigits(i,i._periods[0],2),ynnn:this._minDigits(i,i._periods[0],3),y1:d(i._periods[0],1),y10:d(i._periods[0],10),y100:d(i._periods[0],100),y1000:d(i._periods[0],1e3),ol:l(1),on:this._minDigits(i,i._periods[1],1),onn:this._minDigits(i,i._periods[1],2),onnn:this._minDigits(i,i._periods[1],3),o1:d(i._periods[1],1),o10:d(i._periods[1],10),o100:d(i._periods[1],100),o1000:d(i._periods[1],1e3),wl:l(2),wn:this._minDigits(i,i._periods[2],1),wnn:this._minDigits(i,i._periods[2],2),wnnn:this._minDigits(i,i._periods[2],3),w1:d(i._periods[2],1),w10:d(i._periods[2],10),w100:d(i._periods[2],100),w1000:d(i._periods[2],1e3),dl:l(3),dn:this._minDigits(i,i._periods[3],1),dnn:this._minDigits(i,i._periods[3],2),dnnn:this._minDigits(i,i._periods[3],3),d1:d(i._periods[3],1),d10:d(i._periods[3],10),d100:d(i._periods[3],100),d1000:d(i._periods[3],1e3),hl:l(4),hn:this._minDigits(i,i._periods[4],1),hnn:this._minDigits(i,i._periods[4],2),hnnn:this._minDigits(i,i._periods[4],3),h1:d(i._periods[4],1),h10:d(i._periods[4],10),h100:d(i._periods[4],100),h1000:d(i._periods[4],1e3),ml:l(5),mn:this._minDigits(i,i._periods[5],1),mnn:this._minDigits(i,i._periods[5],2),mnnn:this._minDigits(i,i._periods[5],3),m1:d(i._periods[5],1),m10:d(i._periods[5],10),m100:d(i._periods[5],100),m1000:d(i._periods[5],1e3),sl:l(6),sn:this._minDigits(i,i._periods[6],1),snn:this._minDigits(i,i._periods[6],2),snnn:this._minDigits(i,i._periods[6],3),s1:d(i._periods[6],1),s10:d(i._periods[6],10),s100:d(i._periods[6],100),s1000:d(i._periods[6],1e3)},c=t,u=0;u<=6;u++)var h="yowdhms".charAt(u),h=new RegExp("\\{"+h+"<\\}([\\s\\S]*)\\{"+h+">\\}","g"),c=c.replace(h,!a&&e[u]||a&&s[u]?"$1":"");return p.each(l,function(e,t){e=new RegExp("\\{"+e+"\\}","g");c=c.replace(e,t)}),c},_minDigits:function(e,t,i){return(t=""+t).length>=i?this._translateDigits(e,t):this._translateDigits(e,(t="0000000000"+t).substr(t.length-i))},_translateDigits:function(t,e){return(""+e).replace(/[0-9]/g,function(e){return t.options.digits[e]})},_determineShow:function(e){var e=e.options.format,t=[];return t[0]=e.match("y")?"?":e.match("Y")?"!":null,t[1]=e.match("o")?"?":e.match("O")?"!":null,t[2]=e.match("w")?"?":e.match("W")?"!":null,t[3]=e.match("d")?"?":e.match("D")?"!":null,t[4]=e.match("h")?"?":e.match("H")?"!":null,t[5]=e.match("m")?"?":e.match("M")?"!":null,t[6]=e.match("s")?"?":e.match("S")?"!":null,t}
1,_calculatePeriods:function(e,i,t,n){e._now=n,e._now.setMilliseconds(0);function a(e,t){d[e]=i[e]?Math.floor(c/t):0,c-=d[e]*t}var s,o,r,l=new Date(e._now.getTime()),d=(e._since?n.getTime()<e._since.getTime()?e._now=n=l:n=e._since:(l.setTime(e._until.getTime()),n.getTime()>e._until.getTime()&&(e._now=n=l)),[0,0,0,0,0,0,0]),c=((i[0]||i[1])&&(s=this._getDaysInMonth(n.getFullYear(),n.getMonth()),r=this._getDaysInMonth(l.getFullYear(),l.getMonth()),r=l.getDate()===n.getDate()||l.getDate()>=Math.min(s,r)&&n.getDate()>=Math.min(s,r),o=function(e){return 60*(60*e.getHours()+e.getMinutes())+e.getSeconds()},r=Math.max(0,12*(l.getFullYear()-n.getFullYear())+l.getMonth()-n.getMonth()+(l.getDate()<n.getDate()&&!r||r&&o(l)<o(n)?-1:0)),d[0]=i[0]?Math.floor(r/12):0,d[1]=i[1]?r-12*d[0]:0,o=(n=new Date(n.getTime())).getDate()===s,r=this._getDaysInMonth(n.getFullYear()+d[0],n.getMonth()+d[1]),n.getDate()>r&&n.setDate(r),n.setFullYear(n.getFullYear()+d[0]),n.setMonth(n.getMonth()+d[1]),o)&&n.setDate(r),Math.floor((l.getTime()-n.getTime())/1e3)),u=null;if(a(2,604800),a(3,86400),a(4,3600),a(5,60),a(6,1),0<c&&!e._since)for(var h=[1,12,4.3482,7,24,60,60],p=6,f=1,u=6;0<=u;u--)i[u]&&(d[p]>=f&&(d[p]=0,c=1),0<c)&&(d[u]++,c=0,p=u,f=1),f*=h[u];if(t)for(u=0;u<=6;u++)t&&d[u]?t--:t||(d[u]=0);return d}})})(jQuery),window.SEMICOLON_countdownInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;
1e.each(function(){var e=$(this),t=e.attr("data-format")||"dHMS",i=e.attr("data-since"),n=e.attr("data-year"),a=e.attr("data-month"),s=e.attr("data-day"),o=e.attr("data-hour"),r=e.attr("data-minute"),l=e.attr("data-second"),d=e.attr("data-redirect"),c=n?n:"";a&&a<13?c=c+"-"+(a<10?"0"+a:a):n&&(c+="-01"),s&&s<32?c=c+"-"+(s<10?"0"+s:s):n&&(c+="-01"),setDate=""!=c?new Date(moment(c)):new Date,o&&o<25&&setDate.setHours(setDate.getHours()+Number(o)),r&&r<60&&setDate.setMinutes(setDate.getMinutes()+Number(r)),l&&l<60&&setDate.setSeconds(setDate.getSeconds()+Number(l)),d=d||!1,"true"==i?e.countdown({since:setDate,format:t,expiryUrl:d}):e.countdown({until:setDate,format:t,expiryUrl:d})})},(c=>{c.fn.countTo=function(d){return d=d||{},c(this).each(function(){function e(e){e=t.formatter.call(a,e,t);s.text(e)}var t=c.extend({},c.fn.countTo.defaults,{from:c(this).data("from"),to:c(this).data("to"),speed:c(this).data("speed"),refreshInterval:c(this).data("refresh-interval"),decimals:c(this).data("decimals")},d),i=Math.ceil(t.speed/t.refreshInterval),n=(t.to-t.from)/i,a=this,s=c(this),o=0,r=t.from,l=s.data("countTo")||{};s.data("countTo",l),l.interval&&clearInterval(l.interval),l.interval=setInterval(function(){o++,e(r+=n),"function"==typeof t.onUpdate&&t.onUpdate.call(a,r),i<=o&&(s.removeData("countTo"),clearInterval(l.interval),r=t.to,"function"==typeof t.onComplete)&&t.onComplete.call(a,r)},t.refreshInterval),e(r)})},c.fn.countTo.defaults={from:0,to:0,speed:1e3,refreshInterval:100,decimals:0,formatter:function(e,t){return e.toFixed(t.decimals)},onUpdate:null,onComplete:null}})(jQuery),window.SEMICOLON_counterInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){var i=$(this),e=i.find("span").attr("data-comma"),t=i.find("span").attr("data-sep")||",",n=i.find("span").attr("data-places")||3,a={comma:e,sep:t,places:Number(n)};i.hasClass("counter-instant")?SEMICOLON_runCounterInit(i,a):new IntersectionObserver(function(e,t){e.forEach(function(e){e.isIntersecting&&(SEMICOLON_runCounterInit(i,a),t.unobserve(e.target))})},{rootMargin:"-50px"}).observe(i[0])})},window.SEMICOLON_runCounterInit=function(e,i){var t,n;"true"==i.comma?(t="\\B(?=(\\d{"+i.places+"})+(?!\\d))",n=new RegExp(t,"g"),e.find("span").countTo({formatter:function(e,t){return e=(e=e.toFixed(t.decimals)).replace(n,i.sep)}})):e.find("span").countTo()},window.scwDataClassesPlugin=window.scwDataClassesPlugin||{},window.SEMICOLON_dataClassesInit=function(e){if(e.length<1)return!0;var e=$("[data-class-xs]"),t=$("[data-class-sm]"),i=$("[data-class-md]"),n=$("[data-class-lg]"),a=$("[data-class-xl]"),s=$("body");
10<e.length&&e.each(function(){var e=$(this),t=e.attr("data-class-xs"),i=e.attr("data-class-sm")+" "+e.attr("data-class-md")+" "+e.attr("data-class-lg")+" "+e.attr("data-class-xl");s.hasClass("device-xs")&&(e.removeClass(i),e.addClass(t))}),0<t.length&&t.each(function(){var e=$(this),t=e.attr("data-class-sm"),i=e.attr("data-class-xs")+" "+e.attr("data-class-md")+" "+e.attr("data-class-lg")+" "+e.attr("data-class-xl");s.hasClass("device-sm")&&(e.removeClass(i),e.addClass(t))}),0<i.length&&i.each(function(){var e=$(this),t=e.attr("data-class-md"),i=e.attr("data-class-xs")+" "+e.attr("data-class-sm")+" "+e.attr("data-class-lg")+" "+e.attr("data-class-xl");s.hasClass("device-md")&&(e.removeClass(i),e.addClass(t))}),0<n.length&&n.each(function(){var e=$(this),t=e.attr("data-class-lg"),i=e.attr("data-class-xs")+" "+e.attr("data-class-sm")+" "+e.attr("data-class-md")+" "+e.attr("data-class-xl");s.hasClass("device-lg")&&(e.removeClass(i),e.addClass(t))}),0<a.length&&a.each(function(){var e=$(this),t=e.attr("data-class-xl"),i=e.attr("data-class-xs")+" "+e.attr("data-class-sm")+" "+e.attr("data-class-md")+" "+e.attr("data-class-lg");s.hasClass("device-xl")&&(e.removeClass(i),e.addClass(t))})},window.scwDataHeightsPlugin=window.scwDataHeightsPlugin||{},window.SEMICOLON_dataHeightsInit=function(e){if(e.length<1)return!0;var e=$("[data-height-xs]"),t=$("[data-height-sm]"),i=$("[data-height-md]"),n=$("[data-height-lg]"),a=$("[data-height-xl]"),s=$("body");
10<e.length&&e.each(function(){var e=$(this),t=e.attr("data-height-xs");s.hasClass("device-xs")&&""!=t&&e.css("height",t)}),0<t.length&&t.each(function(){var e=$(this),t=e.attr("data-height-sm");s.hasClass("device-sm")&&""!=t&&e.css("height",t)}),0<i.length&&i.each(function(){var e=$(this),t=e.attr("data-height-md");s.hasClass("device-md")&&""!=t&&e.css("height",t)}),0<n.length&&n.each(function(){var e=$(this),t=e.attr("data-height-lg");s.hasClass("device-lg")&&""!=t&&e.css("height",t)}),0<a.length&&a.each(function(){var e=$(this),t=e.attr("data-height-xl");s.hasClass("device-xl")&&""!=t&&e.css("height",t)})},(o=>{function i(e,t){if(e&&"object"!=typeof e)return e;throw new Error(c.idRequired(t))}function n(e){var t={};return e.forEach(function(e){t[e]=function(i){return function(t){return this.queue.add(function(e){e.url+="/"+i+"/"+u(t||{})}),this}}.call(this,e)}.bind(this)),t}function r(e){var t,i;if(0!==e.length)return i={},"number"==(t=typeof(e=e[0]))||"string"==t?-1<d.indexOf(e)?i.list=e:i.resource=e:"object"==t&&(i=e),i}function l(){var e=o.extend({},o.Deferred());return e.queue=new function(){return this.methods=[],this.response=null,this.flushed=!1,this.add=function(e){this.flushed?e(this.scope):this.methods.push(e)},this.flush=function(e){if(!this.flushed){for(this.scope=e,this.flushed=!0;this.methods[0];)this.methods.shift()(e);return e}},this},e.url=s,e.get=function(){return t?(o.ajax({type:"GET",url:this.url,beforeSend:function(e){e.setRequestHeader("Authorization","Bearer "+t)},success:function(e){this.resolve(e)}.bind(this),error:function(e){this.reject(e)}.bind(this)}),this):(console.error(c.token),!1)},e}function a(i){return function(t){return o.extend(this,l()),this.queue.add(function(e){e.url+="/"+i+"/"+t}),setTimeout(function(){this.queue.flush(this).get()}.bind(this)),this}}o.jribbble={};var t=null,s="https://api.dribbble.com/v1",d=["animated","attachments","debuts","playoffs","rebounds","teams"],c={token:"Jribbble: Missing Dribbble access token. Set one with $.jribbble.accessToken = YOUR_ACCESS_TOKEN. If you do not have an access token, you must register a new application at https://dribbble.com/account/applications/new",singular:function(e){return e.substr(0,e.length-1)},idRequired:function(e){return"Jribbble: You have to provide a "+this.singular(e)+' ID. ex: $.jribbble.%@("1234").'.replace(/%@/g,e)},subResource:function(e){return"Jribbble: You have to provide a "+this.singular(e)+' ID to get %@. ex: $.jribbble.%@("1234").%@()'.replace(/%@/g,e)},shotId:function(e){return"Jribbble: You have to provide a shot ID to get %@. ex: "+' $.jribbble.shots("1234").%@()'.replace(/%@/g,e)},commentLikes:'Jribbble: You have to provide a comment ID to get likes. ex:  $.jribbble.shots("1234").comments("456").likes()'},u=function(e){e=o.param(e);return e?"?"+e:""};o.jribbble.shots=function(e,t){function i(a){return function(e,t){var i=r([].slice.call(arguments))||{},n=t||{};return this.queue.add(function(e){if(!e.shotId)throw new Error(c.shotId(a));e.url+="/"+a+"/",i.resource&&(e.url+=i.resource,delete i.resource),e.url+=u(o.extend(i,n))}),this}}function n(){return o.extend(this,l()),this.url+="/shots/",this.queue.add(function(e){a.resource&&(e.shotId=a.resource,e.url+=a.resource,delete a.resource),e.url+=u(o.extend(a,s))}),setTimeout(function(){this.queue.flush(this).get()}.bind(this)),this}var a=r([].slice.call(arguments))||{},s=t||{};return n.prototype.attachments=i("attachments"),n.prototype.buckets=i("buckets"),n.prototype.likes=i("likes"),n.prototype.projects=i("projects"),n.prototype.rebounds=i("rebounds"),n.prototype.comments=function(e,t){var i=r([].slice.call(arguments))||{},n=t||{};return this.queue.add(function(e){if(!e.shotId)throw new Error(c.shotId("comments"));e.url+="/comments/",i.resource&&(e.commentId=i.resource,e.url+=i.resource+"/",delete i.resource),e.url+=u(o.extend(i,n))}),this.likes=function(e){var t=e||{};return this.queue.add(function(e){if(!e.commentId)throw new Error(c.commentLikes);e.url+="likes/"+u(t)}),this},this},new n},o.jribbble.teams=function(e){var e=i(e,"teams"),t=a.call(this,"teams");return t.prototype=n.call(this,["members","shots"]),new t(e)},o.jribbble.users=function(e){var e=i(e,"users"),t=a.call(this,"users");return t.prototype=n.call(this,["buckets","followers","following","likes","projects","shots","teams"]),t.prototype.isFollowing=function(t){return this.queue.add(function(e){e.url+="/following/"+t}),this},new t(e)},o.jribbble.buckets=function(e){var t="buckets",e=i(e,t),t=a.call(this,t);return t.prototype=n.call(this,["shots"]),new t(e)},o.jribbble.projects=function(e){var t="projects",e=i(e,t),t=a.call(this,t);return t.prototype=n.call(this,["shots"]),new t(e)},o.jribbble.setToken=function(e){return t=e,this}})(jQuery,document),window.SEMICOLON_dribbbleShotsInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;$.jribbble.setToken("012d3d72d12f93e1d41a19195d7da2fc87e6b5afa48a184256e398eb793cfe56"),e.each(function(){var i=$(this),e=i.attr("data-user"),t=i.attr("data-count")||9,n=i.attr("data-list"),a=i.attr("data-type");i.addClass("customjs"),"user"==a?$.jribbble.users(e).shots({sort:"recent",page:1,per_page:Number(t)}).then(function(e){var t=[];e.forEach(function(e){t.push('<a class="grid-item" href="'+e.html_url+'" target="_blank">
1'),t.push('<img src="'+e.images.teaser+'" '),t.push('alt="'+e.title+'"></a>')}),i.html(t.join("")),$(window).on("pluginImagesLoadedReady",function(){i.imagesLoaded().done(function(){i.removeClass("customjs"),SEMICOLON.widget.masonryThumbs()})})}):"list"==a&&$.jribbble.shots(n,{sort:"recent",page:1,per_page:Number(t)}).then(function(e){var t=[];e.forEach(function(e){t.push('<a class="grid-item" href="'+e.html_url+'" target="_blank">'),t.push('<img src="'+e.images.teaser+'" '),t.push('alt="'+e.title+'"></a>')}),i.html(t.join("")),$(window).on("pluginImagesLoadedReady",function(){i.imagesLoaded().done(function(){i.removeClass("customjs"),SEMICOLON.widget.masonryThumbs()})})})})},(s=>{s.fn.fitVids=function(e){var t,i,a={customSelector:null,ignore:null};return document.getElementById("fit-vids-style")||(t=document.head||document.getElementsByTagName("head")[0],(i=document.createElement("div")).innerHTML='<p>x</p><style id="fit-vids-style">.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}</style>',t.appendChild(i.childNodes[1])),e&&s.extend(a,e),this.each(function(){var e=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"],n=(a.customSelector&&e.push(a.customSelector),".fitvidsignore"),e=(a.ignore&&(n=n+", "+a.ignore),s(this).find(e.join(",")));(e=(e=e.not("object object")).not(n)).each(function(e){var t,i=s(this);0<i.parents(n).length||"embed"===this.tagName.toLowerCase()&&i.parent("object").length||i.parent(".fluid-width-video-wrapper").length||(i.css("height")||i.css("width")||!isNaN(i.attr("height"))&&!isNaN(i.attr("width"))||(i.attr("height",9),i.attr("width",16)),t=("object"===this.tagName.toLowerCase()||i.attr("height")&&!isNaN(parseInt(i.attr("height"),10))?parseInt(i.attr("height"),10):i.height())/(isNaN(parseInt(i.attr("width"),10))?i.width():parseInt(i.attr("width"),10)),i.attr("id")||i.attr("id","fitvid"+e),i.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*t+"%"),i.removeAttr("height").removeAttr("width"))})})}})(window.jQuery||window.Zepto),window.SEMICOLON_resizeVideosInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.parent().fitVids({customSelector:'iframe[src*="youtube"],iframe[src*="vimeo"],iframe[src*="dailymotion"],iframe[src*="maps.google.com"],iframe[src*="google.com/maps"]',ignore:".no-fv"})},(u=>{var i=!0;u.flexslider=function(p,e){var t,f=u(p),o=(void 0===e.rtl&&"rtl"==u("html").attr("dir")&&(e.rtl=!0),f.vars=u.extend({},u.flexslider.defaults,e),f.vars.namespace),m=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,r=("ontouchstart"in window||m||window.DocumentTouch&&document instanceof DocumentTouch)&&f.vars.touch,s="click touchend MSPointerUp keyup",l="",g="vertical"===f.vars.direction,v=f.vars.reverse,y=0<f.vars.itemWidth,b="fade"===f.vars.animation,d=""!==f.vars.asNavFor,c={};u.data(p,"flexslider",f),c={init:function(){f.animating=!1,f.currentSlide=parseInt(f.vars.startAt||0,10),isNaN(f.currentSlide)&&(f.currentSlide=0),f.animatingTo=f.currentSlide,f.atEnd=0===f.currentSlide||f.currentSlide===f.last,f.containerSelector=f.vars.selector.substr(0,f.vars.selector.search(" ")),f.slides=u(f.vars.selector,f),f.container=u(f.containerSelector,f),f.count=f.slides.length,f.syncExists=0<u(f.vars.sync).length,"slide"===f.vars.animation&&(f.vars.animation="swing"),f.prop=g?"top":f.vars.rtl?"marginRight":"marginLeft",f.args={},f.manualPause=!1,f.stopped=!1,f.started=!1,f.startTimeout=null,f.transitions=!f.vars.video&&!b&&f.vars.useCSS&&(()=>{var e,t=document.createElement("div"),i=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(e in i)if(void 0!==t.style[i[e]])return f.pfx=i[e].replace("Perspective","").toLowerCase(),f.prop="-"+f.pfx+"-transform",!0;return!1})(),f.isFirefox=-1<navigator.userAgent.toLowerCase().indexOf("firefox"),(f.ensureAnimationEnd="")!==f.vars.controlsContainer&&(f.controlsContainer=0<u(f.vars.controlsContainer).length&&u(f.vars.controlsContainer)),""!==f.vars.manualControls&&(f.manualControls=0<u(f.vars.manualControls).length&&u(f.vars.manualControls)),""!==f.vars.customDirectionNav&&(f.customDirectionNav=2===u(f.vars.customDirectionNav).length&&u(f.vars.customDirectionNav)),f.vars.randomize&&(f.slides.sort(function(){return Math.round(Math.random())-.5}),f.container.empty().append(f.slides)),f.doMath(),f.setup("init"),f.vars.controlNav&&c.controlNav.setup(),f.vars.directionNav&&c.directionNav.setup(),f.vars.keyboard&&(1===u(f.containerSelector).length||f.vars.multipleKeyboard)&&u(document).bind("keyup",function(e){var e=e.keyCode;f.animating||39!==e&&37!==e||(e=f.vars.rtl?37===e?f.getTarget("next"):39===e&&f.getTarget("prev"):39===e?f.getTarget("next"):37===e&&f.getTarget("prev"),f.flexAnimate(e,f.vars.pauseOnAction))}),f.vars.mousewheel&&f.bind("mousewheel",function(e,t,i,n){e.preventDefault();e=t<0?f.getTarget("next"):f.getTarget("prev");f.flexAnimate(e,f.vars.pauseOnAction)}),f.vars.pausePlay&&c.pausePlay.setup(),f.vars.slideshow&&f.vars.pauseInvisible&&c.pauseInvisible.init(
1),f.vars.slideshow&&(f.vars.pauseOnHover&&f.hover(function(){f.manualPlay||f.manualPause||f.pause()},function(){f.manualPause||f.manualPlay||f.stopped||f.play()}),f.vars.pauseInvisible&&c.pauseInvisible.isHidden()||(0<f.vars.initDelay?f.startTimeout=setTimeout(f.play,f.vars.initDelay):f.play())),d&&c.asNav.setup(),r&&f.vars.touch&&c.touch(),b&&!f.vars.smoothHeight||u(window).bind("resize orientationchange focus",c.resize),f.find("img").attr("draggable","false"),setTimeout(function(){f.vars.start(f)},200)},asNav:{setup:function(){f.asNav=!0,f.animatingTo=Math.floor(f.currentSlide/f.move),f.currentItem=f.currentSlide,f.slides.removeClass(o+"active-slide").eq(f.currentItem).addClass(o+"active-slide"),m?(p._slider=f).slides.each(function(){var e=this;e._gesture=new MSGesture,(e._gesture.target=e).addEventListener("MSPointerDown",function(e){e.preventDefault(),e.currentTarget._gesture&&e.currentTarget._gesture.addPointer(e.pointerId)},!1),e.addEventListener("MSGestureTap",function(e){e.preventDefault();var e=u(this),t=e.index();u(f.vars.asNavFor).data("flexslider").animating||e.hasClass("active")||(f.direction=f.currentItem<t?"next":"prev",f.flexAnimate(t,f.vars.pauseOnAction,!1,!0,!0))})}):f.slides.on(s,function(e){e.preventDefault();var e=u(this),t=e.index();(f.vars.rtl?-1*(e.offset().right-u(f).scrollLeft()):e.offset().left-u(f).scrollLeft())<=0&&e.hasClass(o+"active-slide")?f.flexAnimate(f.getTarget("prev"),!0):u(f.vars.asNavFor).data("flexslider").animating||e.hasClass(o+"active-slide")||(f.direction=f.currentItem<t?"next":"prev",f.flexAnimate(t,f.vars.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){f.manualControls?c.controlNav.setupManual():c.controlNav.setupPaging()},setupPaging:function(){var e,t="thumbnails"===f.vars.controlNav?"control-thumbs":"control-paging",i=1;if(f.controlNavScaffold=u('<ol class="'+o+"control-nav "+o+t+'"></ol>'),1<f.pagingCount)for(var n=0;n<f.pagingCount;n++){void 0===(a=f.slides.eq(n)).attr("data-thumb-alt")&&a.attr("data-thumb-alt",""),e=u("<a></a>").attr("href","#").text(i),"thumbnails"===f.vars.controlNav&&(e=u("<img/>").attr("src",a.attr("data-thumb"))),""!==a.attr("data-thumb-alt")&&e.attr("alt",a.attr("data-thumb-alt")),"thumbnails"===f.vars.controlNav&&!0===f.vars.thumbCaptions&&""!==(a=a.attr("data-thumbcaption"))&&void 0!==a&&(a=u("<span></span>").addClass(o+"caption").text(a),e.append(a));var a=u("<li>");e.appendTo(a),a.append("</li>"),f.controlNavScaffold.append(a),i++}(f.controlsContainer?u(f.controlsContainer):f).append(f.controlNavScaffold),c.controlNav.set(),c.controlNav.active(),f.controlNavScaffold.delegate("a, img",s,function(e){var t,i;e.preventDefault(),""!==l&&l!==e.type||(t=u(this),i=f.controlNav.index(t),t.hasClass(o+"active"))||(f.direction=i>f.currentSlide?"next":"prev",f.flexAnimate(i,f.vars.pauseOnAction)),""===l&&(l=e.type),c.setToClearWatchedEvent()})},setupManual:function(){f.controlNav=f.manualControls,c.controlNav.active(),f.controlNav.bind(s,function(e){var t,i;e.preventDefault(),""!==l&&l!==e.type||(t=u(this),i=f.controlNav.index(t),t.hasClass(o+"active"))||(i>f.currentSlide?f.direction="next":f.direction="prev",f.flexAnimate(i,f.vars.pauseOnAction)),""===l&&(l=e.type),c.setToClearWatchedEvent()})},set:function(){var e="thumbnails"===f.vars.controlNav?"img":"a";f.controlNav=u("."+o+"control-nav li "+e,f.controlsContainer||f)},active:function(){f.controlNav.removeClass(o+"active").eq(f.animatingTo).addClass(o+"active")},update:function(e,t){1<f.pagingCount&&"add"===e?f.controlNavScaffold.append(u('<li><a href="#">'+f.count+"</a></li>")):(1===f.pagingCount?f.controlNavScaffold.find("li"):f.controlNav.eq(t).closest("li")).remove(),c.controlNav.set(),1<f.pagingCount&&f.pagingCount!==f.controlNav.length?f.update(t,e):c.controlNav.active()}},directionNav:{setup:function(){var e=u('<ul class="'+o+'direction-nav"><li class="'+o+'nav-prev"><a class="'+o+'prev" href="#">'+f.vars.prevText+'</a></li><li class="'+o+'nav-next"><a class="'+o+'next" href="#">'+f.vars.nextText+"</a></li></ul>");f.customDirectionNav?f.directionNav=f.customDirectionNav:f.controlsContainer?(u(f.controlsContainer).append(e),f.directionNav=u("."+o+"direction-nav li a",f.controlsContainer)):(f.append(e),f.directionNav=u("."+o+"direction-nav li a",f)),c.directionNav.update(
1),f.directionNav.bind(s,function(e){var t;e.preventDefault(),""!==l&&l!==e.type||(t=u(this).hasClass(o+"next")?f.getTarget("next"):f.getTarget("prev"),f.flexAnimate(t,f.vars.pauseOnAction)),""===l&&(l=e.type),c.setToClearWatchedEvent()})},update:function(){var e=o+"disabled";1===f.pagingCount?f.directionNav.addClass(e).attr("tabindex","-1"):f.vars.animationLoop?f.directionNav.removeClass(e).removeAttr("tabindex"):0===f.animatingTo?f.directionNav.removeClass(e).filter("."+o+"prev").addClass(e).attr("tabindex","-1"):f.animatingTo===f.last?f.directionNav.removeClass(e).filter("."+o+"next").addClass(e).attr("tabindex","-1"):f.directionNav.removeClass(e).removeAttr("tabindex")}},pausePlay:{setup:function(){var e=u('<div class="'+o+'pauseplay"><a href="#"></a></div>');f.controlsContainer?(f.controlsContainer.append(e),f.pausePlay=u("."+o+"pauseplay a",f.controlsContainer)):(f.append(e),f.pausePlay=u("."+o+"pauseplay a",f)),c.pausePlay.update(f.vars.slideshow?o+"pause":o+"play"),f.pausePlay.bind(s,function(e){e.preventDefault(),""!==l&&l!==e.type||(u(this).hasClass(o+"pause")?(f.manualPause=!0,f.manualPlay=!1,f.pause()):(f.manualPause=!1,f.manualPlay=!0,f.play())),""===l&&(l=e.type),c.setToClearWatchedEvent()})},update:function(e){"play"===e?f.pausePlay.removeClass(o+"pause").addClass(o+"play").html(f.vars.playText):f.pausePlay.removeClass(o+"play").addClass(o+"pause").html(f.vars.pauseText)}},touch:function(){var n,a,s,o,r,l,d,c,u=!1,t=0,i=0,h=0;m?(p.style.msTouchAction="none",p._gesture=new MSGesture,(p._gesture.target=p).addEventListener("MSPointerDown",function(e){e.stopPropagation(),f.animating?e.preventDefault():(f.pause(),p._gesture.addPointer(e.pointerId),h=0,o=g?f.h:f.w,l=Number(new Date),s=y&&v&&f.animatingTo===f.last?0:y&&v?f.limit-(f.itemW+f.vars.itemMargin)*f.move*f.animatingTo:y&&f.currentSlide===f.last?f.limit:y?(f.itemW+f.vars.itemMargin)*f.move*f.currentSlide:v?(f.last-f.currentSlide+f.cloneOffset)*o:(f.currentSlide+f.cloneOffset)*o)},!1),p._slider=f,p.addEventListener("MSGestureChange",function(e){e.stopPropagation();var t,i,n=e.target._slider;n&&(t=-e.translationX,i=-e.translationY,h+=g?i:t,r=(n.vars.rtl?-1:1)*h,u=g?Math.abs(h)<Math.abs(-t):Math.abs(h)<Math.abs(-i),e.detail===e.MSGESTURE_FLAG_INERTIA?setImmediate(function(){p._gesture.stop()}):(!u||500<Number(new Date)-l)&&(e.preventDefault(),!b)&&n.transitions&&(n.vars.animationLoop||(r=h/(0===n.currentSlide&&h<0||n.currentSlide===n.last&&0<h?Math.abs(h)/o+2:1)),n.setProps(s+r,"setTouch")))},!1),p.addEventListener("MSGestureEnd",function(e){var t,i;e.stopPropagation(),(e=e.target._slider)&&(e.animatingTo!==e.currentSlide||u||null===r||(i=0<(t=v?-r:r)?e.getTarget("next"):e.getTarget("prev"),e.canAdvance(i)&&(Number(new Date)-l<550&&50<Math.abs(t)||Math.abs(t)>o/2)?e.flexAnimate(i,e.vars.pauseOnAction):b||e.flexAnimate(e.currentSlide,e.vars.pauseOnAction,!0)),s=r=a=n=null,h=0)},!1)):(d=function(e){t=e.touches[0].pageX,i=e.touches[0].pageY,r=g?n-i:(f.vars.rtl?-1:1)*(n-t);(!(u=g?Math.abs(r)<Math.abs(t-a):Math.abs(r)<Math.abs(i-a))||500<Number(new Date)-l)&&(e.preventDefault(),!b)&&f.transitions&&(f.vars.animationLoop||(r/=0===f.currentSlide&&r<0||f.currentSlide===f.last&&0<r?Math.abs(r)/o+2:1),f.setProps(s+r,"setTouch"))},c=function(e){var t,i;p.removeEventListener("touchmove",d,!1),f.animatingTo!==f.currentSlide||u||null===r||(i=0<(t=v?-r:r)?f.getTarget("next"):f.getTarget("prev"),f.canAdvance(i)&&(Number(new Date)-l<550&&50<Math.abs(t)||Math.abs(t)>o/2)?f.flexAnimate(i,f.vars.pauseOnAction):b||f.flexAnimate(f.currentSlide,f.vars.pauseOnAction,!0)),p.removeEventListener("touchend",c,!1),s=r=a=n=null},p.addEventListener("touchstart",function(e){f.animating?e.preventDefault():!window.navigator.msPointerEnabled&&1!==e.touches.length||(f.pause(),o=g?f.h:f.w,l=Number(new Date),t=e.touches[0].pageX,i=e.touches[0].pageY,s=y&&v&&f.animatingTo===f.last?0:y&&v?f.limit-(f.itemW+f.vars.itemMargin)*f.move*f.animatingTo:y&&f.currentSlide===f.last?f.limit:y?(f.itemW+f.vars.itemMargin)*f.move*f.currentSlide:v?(f.last-f.currentSlide+f.cloneOffset)*o:(f.currentSlide+f.cloneOffset)*o,n=g?i:t,a=g?t:i,p.addEventListener("touchmove",d,!1),p.addEventListener("touchend",c,!1))},!1))},resize:function(){!f.animating&&f.is(":visible")&&(y||f.doMath(),b?c.smoothHeight():y?(f.slides.width(f.computedW),f.update(f.pagingCount),f.setProps()):g?(f.viewport.height(f.h),f.setProps(f.h,"setTotal")):(f.vars.smoothHeight&&c.smoothHeight(),f.newSlides.width(f.computedW),f.setProps(f.computedW,"setTotal")))},smoothHeight:function(e){var t;g&&!b||(t=b?f:f.viewport,e?t.animate({height:f.slides.eq(f.animatingTo).innerHeight()}
1,e):t.innerHeight(f.slides.eq(f.animatingTo).innerHeight()))},sync:function(e){var t=u(f.vars.sync).data("flexslider"),i=f.animatingTo;switch(e){case"animate":t.flexAnimate(i,f.vars.pauseOnAction,!1,!0);break;case"play":t.playing||t.asNav||t.play();break;case"pause":t.pause()}},uniqueID:function(e){return e.filter("[id]").add(e.find("[id]")).each(function(){var e=u(this);e.attr("id",e.attr("id")+"_clone")}),e},pauseInvisible:{visProp:null,init:function(){var e=c.pauseInvisible.getHiddenProp();e&&(e=e.replace(/[H|h]idden/,"")+"visibilitychange",document.addEventListener(e,function(){c.pauseInvisible.isHidden()?f.startTimeout?clearTimeout(f.startTimeout):f.pause():!f.started&&0<f.vars.initDelay?setTimeout(f.play,f.vars.initDelay):f.play()}))},isHidden:function(){var e=c.pauseInvisible.getHiddenProp();return!!e&&document[e]},getHiddenProp:function(){var e=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var t=0;t<e.length;t++)if(e[t]+"Hidden"in document)return e[t]+"Hidden";return null}},setToClearWatchedEvent:function(){clearTimeout(t),t=setTimeout(function(){l=""},3e3)}},f.flexAnimate=function(e,t,i,n,a){if(f.vars.animationLoop||e===f.currentSlide||(f.direction=e>f.currentSlide?"next":"prev"),d&&1===f.pagingCount&&(f.direction=f.currentItem<e?"next":"prev"),!f.animating&&(f.canAdvance(e,a)||i)&&f.is(":visible")){if(d&&n){i=u(f.vars.asNavFor).data("flexslider");if(f.atEnd=0===e||e===f.count-1,i.flexAnimate(e,!0,!1,!0,a),f.direction=f.currentItem<e?"next":"prev",i.direction=f.direction,Math.ceil((e+1)/f.visible)-1===f.currentSlide||0===e)return f.currentItem=e,f.slides.removeClass(o+"active-slide").eq(e).addClass(o+"active-slide"),!1;f.currentItem=e,f.slides.removeClass(o+"active-slide").eq(e).addClass(o+"active-slide"),e=Math.floor(e/f.visible)}var s;f.animating=!0,f.animatingTo=e,t&&f.pause(),f.vars.before(f),f.syncExists&&!a&&c.sync("animate"),f.vars.controlNav&&c.controlNav.active(),y||f.slides.removeClass(o+"active-slide").eq(e).addClass(o+"active-slide"),f.atEnd=0===e||e===f.last,f.vars.directionNav&&c.directionNav.update(),e===f.last&&(f.vars.end(f),f.vars.animationLoop||f.pause()),b?r?(f.slides.eq(f.currentSlide).css({opacity:0,zIndex:1}),f.slides.eq(e).css({opacity:1,zIndex:2}),f.wrapup(s)):(f.slides.eq(f.currentSlide).css({zIndex:1}).animate({opacity:0}
1,f.vars.animationSpeed,f.vars.easing),f.slides.eq(e).css({zIndex:2}).animate({opacity:1},f.vars.animationSpeed,f.vars.easing,f.wrapup)):(s=g?f.slides.filter(":first").height():f.computedW,t=y?(n=f.vars.itemMargin,(i=(f.itemW+n)*f.move*f.animatingTo)>f.limit&&1!==f.visible?f.limit:i):0===f.currentSlide&&e===f.count-1&&f.vars.animationLoop&&"next"!==f.direction?v?(f.count+f.cloneOffset)*s:0:f.currentSlide===f.last&&0===e&&f.vars.animationLoop&&"prev"!==f.direction?v?0:(f.count+1)*s:v?(f.count-1-e+f.cloneOffset)*s:(e+f.cloneOffset)*s,f.setProps(t,"",f.vars.animationSpeed),f.transitions?(f.vars.animationLoop&&f.atEnd||(f.animating=!1,f.currentSlide=f.animatingTo),f.container.unbind("webkitTransitionEnd transitionend"),f.container.bind("webkitTransitionEnd transitionend",function(){clearTimeout(f.ensureAnimationEnd),f.wrapup(s)}),clearTimeout(f.ensureAnimationEnd),f.ensureAnimationEnd=setTimeout(function(){f.wrapup(s)},f.vars.animationSpeed+100)):f.container.animate(f.args,f.vars.animationSpeed,f.vars.easing,function(){f.wrapup(s)})),f.vars.smoothHeight&&c.smoothHeight(f.vars.animationSpeed)}},f.wrapup=function(e){b||y||(0===f.currentSlide&&f.animatingTo===f.last&&f.vars.animationLoop?f.setProps(e,"jumpEnd"):f.currentSlide===f.last&&0===f.animatingTo&&f.vars.animationLoop&&f.setProps(e,"jumpStart")),f.animating=!1,f.currentSlide=f.animatingTo,f.vars.after(f)},f.animateSlides=function(){!f.animating&&i&&f.flexAnimate(f.getTarget("next"))},f.pause=function(){clearInterval(f.animatedSlides),f.animatedSlides=null,f.playing=!1,f.vars.pausePlay&&c.pausePlay.update("play"),f.syncExists&&c.sync("pause")},f.play=function(){f.playing&&clearInterval(f.animatedSlides),f.animatedSlides=f.animatedSlides||setInterval(f.animateSlides,f.vars.slideshowSpeed),f.started=f.playing=!0,f.vars.pausePlay&&c.pausePlay.update("pause"),f.syncExists&&c.sync("play")},f.stop=function(){f.pause(),f.stopped=!0},f.canAdvance=function(e,t){var i=d?f.pagingCount-1:f.last;return!(!t&&(!d||f.currentItem!==f.count-1||0!==e||"prev"!==f.direction)&&(d&&0===f.currentItem&&e===f.pagingCount-1&&"next"!==f.direction||e===f.currentSlide&&!d||!f.vars.animationLoop&&(f.atEnd&&0===f.currentSlide&&e===i&&"next"!==f.direction||f.atEnd&&f.currentSlide===i&&0===e&&"next"===f.direction)))},f.getTarget=function(e){return"next"===(f.direction=e)?f.currentSlide===f.last?0:f.currentSlide+1:0===f.currentSlide?f.last:f.currentSlide-1},f.setProps=function(e,t,i){n=e||(f.itemW+f.vars.itemMargin)*f.move*f.animatingTo;var n,a=(()=>{if(y)return"setTouch"===t?e:v&&f.animatingTo===f.last?0:v?f.limit-(f.itemW+f.vars.itemMargin)*f.move*f.animatingTo:f.animatingTo===f.last?f.limit:n;switch(t){case"setTotal":return v?(f.count-1-f.currentSlide+f.cloneOffset)*e:(f.currentSlide+f.cloneOffset)*e;case"setTouch":return e;case"jumpEnd":return v?e:f.count*e;case"jumpStart":return v?f.count*e:e;default:return e}})()*(f.vars.rtl?1:-1)+"px";f.transitions&&(a=f.isFirefox?g?"translate3d(0,"+a+",0)":"translate3d("+parseInt(a)+"px,0,0)":g?"translate3d(0,"+a+",0)":"translate3d("+(f.vars.rtl?-1:1)*parseInt(a)+"px,0,0)",f.container.css("-"+f.pfx+"-transition-duration",i=void 0!==i?i/1e3+"s":"0s"),f.container.css("transition-duration",i)),f.args[f.prop]=a,!f.transitions&&void 0!==i||f.container.css(f.args),f.container.css("transform",a)},f.setup=function(e){var t,i;b?(f.vars.rtl?f.slides.css({width:"100%",float:"right",marginLeft:"-100%",position:"relative"}):f.slides.css({width:"100%",float:"left",marginRight:"-100%",position:"relative"}),"init"===e&&(r?f.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+f.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(f.currentSlide).css({opacity:1,zIndex:2}):0==f.vars.fadeFirstSlide?f.slides.css({opacity:0,display:"block",zIndex:1}).eq(f.currentSlide).css({zIndex:2}).css({opacity:1}):f.slides.css({opacity:0,display:"block",zIndex:1}).eq(f.currentSlide).css({zIndex:2}).animate({opacity:1},f.vars.animationSpeed,f.vars.easing)),f.vars.smoothHeight&&c.smoothHeight()):("init"===e&&(f.viewport=u('<div class="'+o+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(f).append(f.container),f.cloneCount=0,f.cloneOffset=0,v)&&(i=u.makeArray(f.slides).reverse(),f.slides=u(i),f.container.empty().append(f.slides)),f.vars.animationLoop&&!y&&(f.cloneCount=2,f.cloneOffset=1,"init"!==e&&f.container.find(".clone").remove(),f.container.append(c.uniqueID(f.slides.first().clone().addClass("clone")).attr("aria-hidden","true")).prepend(c.uniqueID(f.slides.last().clone().addClass("clone")).attr("aria-hidden","true"))),f.newSlides=u(f.vars.selector,f),t=v?f.count-1-f.currentSlide+f.cloneOffset:f.currentSlide+f.cloneOffset,g&&!y?(f.container.height(200*(f.count+f.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){f.newSlides.css({display:"block"}),f.doMath(),f.viewport.height(f.h),f.setProps(t*f.h,"init")},"init"===e?100:0)):(f.container.width(200*(f.count+f.cloneCount)+"%"),f.setProps(t*f.computedW,"init"),setTimeout(function(){f.doMath(),f.vars.rtl&&f.isFirefox?f.newSlides.css({width:f.computedW,marginRight:f.computedM,float:"right",display:"block"}):f.newSlides.css({width:f.computedW,marginRight:f.computedM,float:"left",display:"block"}),f.vars.smoothHeight&&c.smoothHeight()},"init"===e?100:0))),y||f.slides.removeClass(o+"active-slide").eq(f.currentSlide).addClass(o+"active-slide"),f.vars.init(f)},f.doMath=function(){var e=f.slides.first(),t=f.vars.itemMargin,i=f.vars.minItems,n=f.vars.maxItems;f.w=(void 0===f.viewport?f:f.viewport).width(),f.isFirefox&&(f.w=f.width()),f.h=e.height(),f.boxPadding=e.outerWidth()-e.width(),y?(f.itemT=f.vars.itemWidth+t,f.itemM=t,f.minW=i?i*f.itemT:f.w,f.maxW=n?n*f.itemT-t:f.w,f.itemW=f.minW>f.w?(f.w-t*(i-1))/i:f.maxW<f.w?(f.w-t*(n-1))/n:f.vars.itemWidth>f.w?f.w:f.vars.itemWidth,f.visible=Math.floor(f.w/f.itemW),f.move=0<f.vars.move&&f.vars.move<f.visible?f.vars.move:f.visible,f.pagingCount=Math.ceil((f.count-f.visible)/f.move+1),f.last=f.pagingCount-1,f.limit=1===f.pagingCount?0:f.vars.itemWidth>f.w?f.itemW*(f.count-1)+t*(f.count-1):(f.itemW+t)*f.count-f.w-t):(f.itemW=f.w,f.itemM=t,f.pagingCount=f.count,f.last=f.count-1),f.computedW=f.itemW-f.boxPadding,f.computedM=f.itemM},f.update=function(e,t){f.doMath(),y||(e<f.currentSlide?f.currentSlide+=1:e<=f.currentSlide&&0!==e&&--f.currentSlide,f.animatingTo=f.currentSlide),f.vars.controlNav&&!f.manualControls&&("add"===t&&!y||f.pagingCount>f.controlNav.length?c.controlNav.update("add"):("remove"===t&&!y||f.pagingCount<f.controlNav.length)&&(y&&f.currentSlide>f.last&&(--f.currentSlide,--f.animatingTo),c.controlNav.update("remove",f.last))),f.vars.directionNav&&c.directionNav.update(
1)},f.addSlide=function(e,t){e=u(e);f.count+=1,f.last=f.count-1,g&&v?void 0!==t?f.slides.eq(f.count-t).after(e):f.container.prepend(e):void 0!==t?f.slides.eq(t).before(e):f.container.append(e),f.update(t,"add"),f.slides=u(f.vars.selector+":not(.clone)",f),f.setup(),f.vars.added(f)},f.removeSlide=function(e){var t=isNaN(e)?f.slides.index(u(e)):e;--f.count,f.last=f.count-1,(isNaN(e)?u(e,f.slides):g&&v?f.slides.eq(f.last):f.slides.eq(e)).remove(),f.doMath(),f.update(t,"remove"),f.slides=u(f.vars.selector+":not(.clone)",f),f.setup(),f.vars.removed(f)},c.init()},u(window).blur(function(e){i=!1}).focus(function(e){i=!0}),u.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,fadeFirstSlide:!0,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",customDirectionNav:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,isFirefox:!1,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){},rtl:!1},u.fn.flexslider=function(i){if("object"==typeof(i=void 0===i?{}:i))return this.each(function(){var e=u(this),t=i.selector||".slides > li",t=e.find(t);1===t.length&&!1===i.allowOneSlide||0===t.length?(t.fadeIn(400),i.start&&i.start(e)):void 0===e.data("flexslider")&&new u.flexslider(this,i)});var e=u(this).data("flexslider");switch(i){case"play":e.play();break;case"pause":e.pause();break;case"stop":e.stop();break;case"next":e.flexAnimate(e.getTarget("next"),!0);break;case"prev":case"previous":e.flexAnimate(e.getTarget("prev"),!0);break;default:"number"==typeof i&&e.flexAnimate(i,!0)}}})(jQuery),window.SEMICOLON_flexSliderInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){var t=$(this),e=t.find(".lazy"),i=t.attr("data-animation")||"slide",n=t.attr("data-easing")||"swing",a=t.attr("data-direction")||"horizontal",s=t.attr("data-reverse"),o=t.attr("data-slideshow"),r=t.attr("data-pause")||5e3,l=t.attr("data-speed")||600,d=t.attr("data-video"),c=t.attr("data-pagi"),u=t.attr("data-arrows"),h=t.attr("data-arrow-left")||"icon-angle-left",p=t.attr("data-arrow-right")||"icon-angle-right",f=t.attr("data-thumbs"),m=t.attr("data-hover"),g=t.attr("data-smooth-height"),v=t.attr("data-touch"),y=!1;"swing"==n&&(n="swing",y=!0),s="true"==s,o=!o,d=d||!1,g="vertical"==a?!1:"false"!=g,c="true"==f?"thumbnails":"false"!=c,u="false"!=u,m="false"!=m,v="false"!=v,t.find(".flexslider").flexslider({selector:".slider-wrap > .slide",animation:i,easing:n,direction:a,reverse:s,slideshow:o,slideshowSpeed:Number(r),animationSpeed:Number(l),pauseOnHover:m,video:d,controlNav:c,directionNav:u,smoothHeight:g,useCSS:y,touch:v,start:function(e){SEMICOLON.widget.animations(),SEMICOLON.initialize.lightbox({parent:t}),$(".flex-prev").html('<i class="'+h+'"></i>'),$(".flex-next").html('<i class="'+p+'"></i>'),setTimeout(function(){0<e.parents(".grid-container.has-init-isotope").length&&e.parents(".grid-container.has-init-isotope").isotope("layout")},1200),"undefined"!=typeof skrollrInstance&&skrollrInstance.refresh()},after:function(e){0<e.parents(".grid-container.has-init-isotope").length&&e.parents(".grid-container.has-init-isotope").isotope("layout"),$(".menu-item:visible").find(".flexslider .slide").resize()}}),$(window).on("lazyLoadLoaded",function(){e.length==t.find(".lazy.lazy-loaded").length&&(lazyLoadInstance.update(),setTimeout(function(){t.find(".flexslider").resize()},500))})})},(a=>{a.fn.jflickrfeed=function(r,t){var e,i=(r=a.extend(!0,{flickrbase:"https://api.flickr.com/services/feeds/",feedapi:"photos_public.gne",limit:20,qstrings:{lang:"en-us",format:"json",jsoncallback:"?"},cleanDescription:!0,useTemplate:!0,itemTemplate:"",itemCallback:function(){}},r)).flickrbase+r.feedapi+"?",n=!0;for(e in r.qstrings)n||(i+="&"),i+=e+"="+r.qstrings[e],n=!1;return a(this).each(function(){var s=a(this),o=this;a.getJSON(i,function(e){a.each(e.items,function(e,t){var i,n,a;
1if(e<r.limit){if(r.cleanDescription&&(e=t.description,(i=/<p>(.*?)<\/p>/g).test(e))&&(t.description=e.match(i)[2],void 0!==t.description)&&(t.description=t.description.replace("<p>","").replace("</p>","")),t.image_s=t.media.m.replace("_m","_s"),t.image_t=t.media.m.replace("_m","_t"),t.image_m=t.media.m.replace("_m","_m"),t.image=t.media.m.replace("_m",""),t.image_b=t.media.m.replace("_m","_b"),t.image_q=t.media.m.replace("_m","_q"),delete t.media,r.useTemplate){for(n in a=r.itemTemplate,t)i=new RegExp("{{"+n+"}}","g"),a=a.replace(i,t[n]);s.append(a)}r.itemCallback.call(o,t)}}),a.isFunction(t)&&t.call(o,e)})})}})(jQuery),window.SEMICOLON_flickrFeedInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){var t=$(this),e=t.attr("data-id"),i=t.attr("data-count")||9,n="group"==t.attr("data-type")?"groups_pool.gne":"photos_public.gne";t.jflickrfeed({feedapi:n,limit:Number(i),qstrings:{id:e},itemTemplate:'<a class="grid-item" href="{{image_b}}" title="{{title}}" data-lightbox="gallery-item"><img src="{{image_s}}" alt="{{title}}" /></a>'},function(e){SEMICOLON.initialize.lightbox({parent:t})})})},(s=>{s.fn.gMap=function(e,t){switch(e){case"addMarker":return s(this).trigger("gMap.addMarker",[t.latitude,t.longitude,t.content,t.icon,t.popup]);case"centerAt":return s(this).trigger("gMap.centerAt",[t.latitude,t.longitude,t.zoom]);case"clearMarkers":return s(this).trigger("gMap.clearMarkers")}var p=s.extend({},s.fn.gMap.defaults,e);return this.each(function(){var d=new google.maps.Map(this),e=(s(this).data("gMap.reference",d),new google.maps.Geocoder),t=(p.address?e.geocode({address:p.address},function(e){e&&e.length&&d.setCenter(e[0].geometry.location)}):p.latitude&&p.longitude?d.setCenter(new google.maps.LatLng(p.latitude,p.longitude)):s.isArray(p.markers)&&0<p.markers.length?p.markers[0].address?e.geocode({address:p.markers[0].address},function(e){e&&0<e.length&&d.setCenter(e[0].geometry.location)}):d.setCenter(new google.maps.LatLng(p.markers[0].latitude,p.markers[0].longitude)):d.setCenter(new google.maps.LatLng(34.885931,9.84375)),d.setZoom(p.zoom),d.setMapTypeId(google.maps.MapTypeId[p.maptype]),{scrollwheel:p.scrollwheel,disableDoubleClickZoom:!p.doubleclickzoom});!1===p.controls?s.extend(t,{disableDefaultUI:!0}):0!==p.controls.length&&s.extend(t,p.controls,{disableDefaultUI:!0}),d.setOptions(t),d.setOptions({styles:p.styles});var c,u=new google.maps.Marker,t=new google.maps.MarkerImage(p.icon.image),h=(t.size=new google.maps.Size(p.icon.iconsize[0],p.icon.iconsize[1]),t.anchor=new google.maps.Point(p.icon.iconanchor[0],p.icon.iconanchor[1]),u.setIcon(t),p.icon.shadow&&((t=new google.maps.MarkerImage(p.icon.shadow)).size=new google.maps.Size(p.icon.shadowsize[0],p.icon.shadowsize[1]),t.anchor=new google.maps.Point(p.icon.shadowanchor[0],p.icon.shadowanchor[1]),u.setShadow(t)),s(this).bind("gMap.centerAt",function(e,t,i,n){n&&d.setZoom(n),d.panTo(new google.maps.LatLng(parseFloat(t),parseFloat(i)))}),[]);s(this).bind("gMap.clearMarkers",function(){for(;h[0];)h.pop().setMap(null)}),s(this).bind("gMap.addMarker",function(e,t,i,n,a,s){var o,r=new google.maps.LatLng(parseFloat(t),parseFloat(i)),l=new google.maps.Marker({position:r});a?((r=new google.maps.MarkerImage(a.image)).size=new google.maps.Size(a.iconsize[0],a.iconsize[1]),r.anchor=new google.maps.Point(a.iconanchor[0],a.iconanchor[1]),l.setIcon(r),a.shadow&&((r=new google.maps.MarkerImage(a.shadow)).size=new google.maps.Size(a.shadowsize[0],a.shadowsize[1]),r.anchor=new google.maps.Point(a.shadowanchor[0],a.shadowanchor[1]),u.setShadow(r))):(l.setIcon(u.getIcon()),l.setShadow(u.getShadow())),n&&("_latlng"===n&&(n=t+", "+i),o=new google.maps.InfoWindow({content:p.html_prepend+n+p.html_append}),google.maps.event.addListener(l,"click",function(){c&&c.close(),o.open(d,l),c=o}),s)&&google.maps.event.addListenerOnce(d,"tilesloaded",function(){o.open(d,l)}),l.setMap(d),h.push(l)});for(var i,n=this,a=0;a<p.markers.length;a++)(i=p.markers[a]).address?("_address"===i.html&&(i.html=i.address),e.geocode({address:i.address},(t=>function(e){e&&0<e.length&&s(n).trigger("gMap.addMarker",[e[0].geometry.location.lat(),e[0].geometry.location.lng(),t.html,t.icon,t.popup])})(i))):s(this).trigger("gMap.addMarker",[i.latitude,i.longitude,i.html,i.icon,i.popup])})},s.fn.gMap.defaults={address:"",latitude:0,longitude:0,zoom:1,markers:[],controls:[],styles:[],scrollwheel:!1,doubleclickzoom:!0,maptype:"ROADMAP",html_prepend:'<div class="gmap_marker">',html_append:"</div>",icon:{image:"https://www.google.com/mapfiles/marker.png",shadow:"https://www.google.com/mapfiles/shadow50.png",iconsize:[20,34],shadowsize:[37,34],iconanchor:[9,34],shadowanchor:[6,34]}}})(jQuery),window.SEMICOLON_gmapInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;
1e.each(function(){var e=$(this),t=e.attr("data-latitude"),i=e.attr("data-longitude"),n=e.attr("data-address"),a=e.attr("data-content"),s=e.attr("data-scrollwheel")||!0,o=e.attr("data-maptype")||"ROADMAP",r=e.attr("data-zoom")||12,l=e.attr("data-styles"),d=e.attr("data-markers"),c=e.attr("data-icon"),u=e.attr("data-control-pan")||!1,h=e.attr("data-control-zoom")||!1,p=e.attr("data-control-maptype")||!1,f=e.attr("data-control-scale")||!1,m=e.attr("data-control-streetview")||!1,g=e.attr("data-control-overview")||!1;if(n)t=i=!1;else if(!t&&!i)return console.log("Google Map co-ordinates not entered."),!0;l=l&&JSON.parse(l),"false"==s&&(s=!1),"true"==u&&(u=!0),"true"==h&&(h=!0),"true"==p&&(p=!0),"true"==f&&(f=!0),"true"==m&&(m=!0),"true"==g&&(g=!0),d=d?Function("return "+d)():n?[{address:n,html:a||n}]:[{latitude:t,longitude:i,html:a||!1}],c=c?Function("return "+c)():{image:"https://www.google.com/mapfiles/marker.png",shadow:"https://www.google.com/mapfiles/shadow50.png",iconsize:[20,34],shadowsize:[37,34],iconanchor:[9,34],shadowanchor:[19,34]},e.gMap({controls:{panControl:u,zoomControl:h,mapTypeControl:p,scaleControl:f,streetViewControl:m,overviewMapControl:g},scrollwheel:s,maptype:o,markers:d,icon:c,latitude:t,longitude:i,address:n,zoom:Number(r),styles:l})})},window.scwGridFilterPlugin=window.scwGridFilterPlugin||{},window.SEMICOLON_gridFilterInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){var t=$(this),i=t.attr("data-container"),n=t.attr("data-active-class"),e=t.attr("data-default"),n=n||"activeFilter";t.find("a").off("click").on("click",function(){t.find("li").removeClass(n),$(this).parent("li").addClass(n);var e=$(this).attr("data-filter");return $(i).isotope({filter:e}),!1}),e&&(t.find("li").removeClass(n),t.find('[data-filter="'+e+'"]').parent("li").addClass(n),$(i).isotope({filter:e}))}
1),$(".grid-shuffle").off("click").on("click",function(){var e=$(this).attr("data-container");$(e).isotope("shuffle")})},window.scwHoverAnimationPlugin=window.scwHoverAnimationPlugin||{},window.SEMICOLON_hoverAnimationInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){var e,t,i=$(this),n=i.attr("data-hover-animate"),a=i.attr("data-hover-animate-out")||"fadeOut",s=i.attr("data-hover-speed")||600,o=i.attr("data-hover-delay"),r=i.attr("data-hover-parent"),l=i.attr("data-hover-reset")||"false",d=(i.addClass("not-animated"),r=r?"self"==r?i:i.parents(r):0<i.parents(".bg-overlay").length?i.parents(".bg-overlay"):i,0);o&&(d=Number(o)),s&&i.css({"animation-duration":Number(s)+"ms"}),r.hover(function(){clearTimeout(t),e=setTimeout(function(){i.addClass("not-animated").removeClass(a+" not-animated").addClass(n+" animated")},d)},function(){i.addClass("not-animated").removeClass(n+" not-animated").addClass(a+" animated"),"true"==l&&(t=setTimeout(function(){i.removeClass(a+" animated").addClass("not-animated")},Number(s))),clearTimeout(e)})})},window.scwHtml5VideoPlugin=window.scwHtml5VideoPlugin||{},window.SEMICOLON_html5VideoInit=function(e){if(e.length<1)return!0;
1e.each(function(){var e=$(this),t=e.find("video"),i=e.outerWidth(),n=e.outerHeight(),a=16*n/9,s=n;a<i&&(s=9*(a=i)/16),t.css({width:a+"px",height:s+"px"}),n<s&&t.css({left:"",top:-(s-n)/2+"px"}),i<a&&t.css({top:"",left:-(a-i)/2+"px"}),SEMICOLON.isMobile.any()&&!e.hasClass("no-placeholder")&&(""!=(s=t.attr("poster"))&&e.append('<div class="video-placeholder" style="background-image: url('+s+');"></div>'),t.hide())})},((e,t)=>{"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()})(void 0!==window?window:this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){var i;if(e&&t)return-1==(i=(i=this._events=this._events||{})[e]=i[e]||[]).indexOf(t)&&i.push(t),this},t.once=function(e,t){var i;if(e&&t)return this.on(e,t),((i=this._onceEvents=this._onceEvents||{})[e]=i[e]||{})[t]=!0,this},t.off=function(e,t){e=this._events&&this._events[e];if(e&&e.length)return-1!=(t=e.indexOf(t))&&e.splice(t,1),this},t.emitEvent=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){i=i.slice(0),t=t||[];for(var n=this._onceEvents&&this._onceEvents[e],a=0;a<i.length;a++){var s=i[a];n&&n[s]&&(this.off(e,s),delete n[s]),s.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e}),((t,i)=>{"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(e){return i(t,e)}):"object"==typeof module&&module.exports?module.exports=i(t,require("ev-emitter")):t.imagesLoaded=i(t,t.EvEmitter)})(void 0!==window?window:this,function(t,e){function s(e,t){for(var i in t)e[i]=t[i];return e}function o(e,t,i){var n,a;return this instanceof o?(n="string"==typeof(n=e)?document.querySelectorAll(e):n)?(this.elements=(a=n,Array.isArray(a)?a:"object"==typeof a&&"number"==typeof a.length?d.call(a):[a]),this.options=s({},this.options),"function"==typeof t?i=t:s(this.options,t),i&&this.on("always",i),this.getImages(),r&&(this.jqDeferred=new r.Deferred),void setTimeout(this.check.bind(this))):void l.error("Bad element for imagesLoaded "+(n||e)):new o(e,t,i)}function i(e){this.img=e}function n(e,t){this.url=e,this.element=t,this.img=new Image}var r=t.jQuery,l=t.console,d=Array.prototype.slice,c=((o.prototype=Object.create(e.prototype)).options={},o.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},o.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&c[t]){for(var i=e.querySelectorAll("img"),n=0;n<i.length;n++){var a=i[n];this.addImage(a)}if("string"==typeof this.options.background)for(var s=e.querySelectorAll(this.options.background),n=0;n<s.length;n++){var o=s[n];this.addElementBackgroundImages(o)}}},{1:!0,9:!0,11:!0});return o.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(t.backgroundImage);null!==n;){var a=n&&n[2];a&&this.addBackground(a,e),n=i.exec(t.backgroundImage)}},o.prototype.addImage=function(e){e=new i(e);this.images.push(e)},o.prototype.addBackground=function(e,t){e=new n(e,t);this.images.push(e)},o.prototype.check=function(){function t(e,t,i){setTimeout(function(){n.progress(e,t,i)})}var n=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(e){e.once("progress",t),e.check()}):void this.complete()},o.prototype.progress=function(e,t,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&l&&l.log("progress: "+i,e,t)},o.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred&&(e=this.hasAnyBroken?"reject":"resolve",this.jqDeferred[e](this))},(i.prototype=Object.create(e.prototype)).check=function(){return this.getIsImageComplete()?void this.confirm(0!==this.img.naturalWi
vendor: 1,660 bytes, line 1
1dth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},i.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},i.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},i.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},i.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},i.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},i.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},(n.prototype=Object.create(i.prototype)).check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},n.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},n.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},(o.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((r=e).fn.imagesLoaded=function(e,t){return new o(this,e,t).jqDeferred.promise(r(this))})})(),o}),window.scwInstagramPlugin=window.scwInstagramPlugin||{},window.SEMICOLON_instagramPhotosInit=function(e){if(e.length<1)return!0;
1e.each(function(){var e=$(this),t=e.attr("data-user"),i=e.attr("data-count")||12;12<Number(i)&&(i=12),SEMICOLON_getInstagramPhotos(e,t,i,"",!1)})},window.SEMICOLON_getInstagramPhotos=function(s,o,r,l,d){return $.getJSON("https://www.instagram.com/"+o+"/?__a=1"+l,function(e){var e=e.graphql.user,t=e.edge_owner_to_timeline_media;if(e.is_private)return console.log("Private Account!"),!1;if(d=d?d.concat(t.edges):t.edges,""!=l&&(l="&max_id="+t.page_info.end_cursor),0<(d=d.length<r?SEMICOLON_getInstagramPhotos(s,o,r,l,d):d).length){for(var i,n="",a=0;a<r;a++)a!==r&&(n=n+'<a class="grid-item" href="https://instagram.com/p/'+(i=d[a]).node.shortcode+'" target="_blank"><img src="'+i.node.thumbnail_resources[2].src+'" alt="Image"></a>');s.html(n).removeClass("customjs"),SEMICOLON.widget.masonryThumbs()}}),""},((t,i)=>{"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(e){return i(t,e)}):"object"==typeof module&&module.exports?module.exports=i(t,require("jquery")):t.jQueryBridget=i(t,t.jQuery)})(window,function(e,t){function i(l,d,c){(c=c||t||e.jQuery)&&(d.prototype.option||(d.prototype.option=function(e){c.isPlainObject(e)&&(this.options=c.extend(!0,this.options,e))}),c.fn[l]=function(e){var t,n,a,s,o,r;return"string"==typeof e?(t=u.call(arguments,1),a=t,o="$()."+l+'("'+(n=e)+'")',(t=this).each(function(e,t){var i,t=c.data(t,l);t?(i=t[n])&&"_"!=n.charAt(0)?(i=i.apply(t,a),s=void 0===s?i:s):h(o+" is not a valid method"):h(l+" not initialized. Cannot call methods, i.e. "+o)}),void 0!==s?s:t):(r=e,this.each(function(e,t){var i=c.data(t,l);i?(i.option(r),i._init()):(i=new d(t,r),c.data(t,l,i))}),this)},n(c))}function n(e){e&&!e.bridget&&(e.bridget=i)}var u=Array.prototype.slice,a=e.console,h=void 0===a?function(){}:function(e){a.error(e)};return n(t||e.jQuery),i}),((e,t)=>{"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()})(void 0!==window?window:this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){var i;if(e&&t)return-1==(i=(i=this._events=this._events||{})[e]=i[e]||[]).indexOf(t)&&i.push(t),this},t.once=function(e,t){var i;if(e&&t)return this.on(e,t),((i=this._onceEvents=this._onceEvents||{})[e]=i[e]||{})[t]=!0,this},t.off=function(e,t){e=this._events&&this._events[e];if(e&&e.length)return-1!=(t=e.indexOf(t))&&e.splice(t,1),this},t.emitEvent=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){i=i.slice(0),t=t||[];for(var n=this._onceEvents&&this._onceEvents[e],a=0;a<i.length;a++){var s=i[a];n&&n[s]&&(this.off(e,s),delete n[s]),s.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e}),((e,t)=>{"function"==typeof define&&define.amd?define("get-size/get-size",t):"object"==typeof module&&module.exports?module.exports=t():e.getSize=t()})(window,function(){function g(e){var t=parseFloat(e);return-1==e.indexOf("%")&&!isNaN(t)&&t}function v(e){e=getComputedStyle(e);return e||t("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}function y(e){if(T||(T=!0,(c=document.createElement("div")).style.width="200px",c.style.padding="1px 2px 3px 4px",c.style.borderStyle="solid",c.style.borderWidth="1px 2px 3px 4px",c.style.boxSizing="border-box",(d=document.body||document.documentElement).appendChild(c),s=v(c),b=200==Math.round(g(s.width)),y.isBoxSizeOuter=b,d.removeChild(c)),(e="string"==typeof e?document.querySelector(e):e)&&"object"==typeof e&&e.nodeType){var t=v(e);if("none"==t.display){for(var i={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},n=0;n<C;n++)i[w[n]]=0;return i}var a={};a.width=e.offsetWidth,a.height=e.offsetHeight;for(var s=a.isBorderBox="border-box"==t.boxSizing,o=0;o<C;o++){var r=w[o],l=t[r],l=parseFloat(l);a[r]=isNaN(l)?0:l}var d=a.paddingLeft+a.paddingRight,c=a.paddingTop+a.paddingBottom,e=a.marginLeft+a.marginRight,u=a.marginTop+a.marginBottom,h=a.borderLeftWidth+a.borderRightWidth,p=a.borderTopWidth+a.borderBottomWidth,f=s&&b,m=g(t.width),m=(!1!==m&&(a.width=m+(f?0:d+h)),g(t.height));return!1!==m&&(a.height=m+(f?0:c+p)),a.innerWidth=a.width-(d+h),a.innerHeight=a.height-(c+p),a.outerWidth=a.width+e,a.outerHeight=a.height+u,a}var c,d,s}var b,t="undefined"==typeof console?function(){}:function(e){console.error(e)},w=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],C=w.length,T=!1;return y}),((e,t)=>{"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",t):"object"==typeof module&&module.exports?module.exports=t():e.matchesSelector=t()})(window,function(){var i=(()=>{var e=window.Element.prototype;if(e.matches)return"matches";if(e.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],i=0;i<t.length;i++){var n=t[i]+"MatchesSelector";if(e[n])return n}})();return function(e,t){return e[i](t)}}),((t,i)=>{"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["de
1sandro-matches-selector/matches-selector"],function(e){return i(t,e)}):"object"==typeof module&&module.exports?module.exports=i(t,require("desandro-matches-selector")):t.fizzyUIUtils=i(t,t.matchesSelector)})(window,function(i,s){var l={extend:function(e,t){for(var i in t)e[i]=t[i];return e},modulo:function(e,t){return(e%t+t)%t}},t=Array.prototype.slice,d=(l.makeArray=function(e){return Array.isArray(e)?e:null==e?[]:"object"==typeof e&&"number"==typeof e.length?t.call(e):[e]},l.removeFrom=function(e,t){t=e.indexOf(t);-1!=t&&e.splice(t,1)},l.getParent=function(e,t){for(;e.parentNode&&e!=document.body;)if(s(e=e.parentNode,t))return e},l.getQueryElement=function(e){return"string"==typeof e?document.querySelector(e):e},l.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},l.filterFindElements=function(e,n){e=l.makeArray(e);var a=[];return e.forEach(function(e){if(e instanceof HTMLElement)if(n){s(e,n)&&a.push(e);for(var t=e.querySelectorAll(n),i=0;i<t.length;i++)a.push(t[i])}else a.push(e)}),a},l.debounceMethod=function(e,t,n){n=n||100;var a=e.prototype[t],s=t+"Timeout";e.prototype[t]=function(){var e=this[s],t=(clearTimeout(e),arguments),i=this;this[s]=setTimeout(function(){a.apply(i,t),delete i[s]},n)}},l.docReady=function(e){var t=document.readyState;"complete"==t||"interactive"==t?setTimeout(e):document.addEventListener("DOMContentLoaded",e)},l.toDashed=function(e){return e.replace(/(.)([A-Z])/g,function(e,t,i){return t+"-"+i}).toLowerCase()},i.console);return l.htmlInit=function(o,r){l.docReady(function(){var e=l.toDashed(r),n="data-"+e,t=document.querySelectorAll("["+n+"]"),e=document.querySelectorAll(".js-"+e),t=l.makeArray(t).concat(l.makeArray(e)),a=n+"-options",s=i.jQuery;t.forEach(function(t){var e,i=t.getAttribute(n)||t.getAttribute(a);try{e=i&&JSON.parse(i)}catch(e){return void(d&&d.error("Error parsing "+n+" on "+t.className+": "+e))}i=new o(t,e);s&&s.data(t,r,i)})})},l}),((e,t)=>{"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],t):"object"==typeof module&&module.exports?module.exports=t(require("ev-emitter"),require("get-size")):(e.Outlayer={},e.Outlayer.Item=t(e.EvEmitter,e.getSize))})(window,function(e,t){function i(e,t){e&&(this.element=e,this.layout=t,this.position={x:0,y:0},this._create())}var n=document.documentElement.style,a="string"==typeof n.transition?"transition":"WebkitTransition",n="string"==typeof n.transform?"transform":"WebkitTransform",s={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[a],o={transform:n,transition:a,transitionDuration:a+"Duration",transitionProperty:a+"Property",transitionDelay:a+"Delay"},e=i.prototype=Object.create(e.prototype),r=(e.constructor=i,e._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},e.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},e.getSize=function(){this.size=t(this.element)},e.css=function(e){var t,i=this.element.style;for(t in e)i[o[t]||t]=e[t]},e.getPosition=function(){var e=getComputedStyle(this.element),t=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),n=e[t?"left":"right"],e=e[i?"top":"bottom"],a=parseFloat(n),s=parseFloat(e),o=this.layout.size;-1!=n.indexOf("%")&&(a=a/100*o.width),-1!=e.indexOf("%")&&(s=s/100*o.height),a=isNaN(a)?0:a,s=isNaN(s)?0:s,a-=t?o.paddingLeft:o.paddingRight,s-=i?o.paddingTop:o.paddingBottom,this.position.x=a,this.position.y=s},e.layoutPosition=function(){var e=this.layout.size,t={},i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),a=i?"right":"left",s=this.position.x+e[i?"paddingLeft":"paddingRight"],i=(t[i?"left":"right"]=this.getXValue(s),t[a]="",n?"paddingTop":"paddingBottom"),s=n?"bottom":"top",a=this.position.y+e[i];
1t[n?"top":"bottom"]=this.getYValue(a),t[s]="",this.css(t),this.emitEvent("layout",[this])},e.getXValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!t?e/this.layout.size.width*100+"%":e+"px"},e.getYValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&t?e/this.layout.size.height*100+"%":e+"px"},e._transitionTo=function(e,t){this.getPosition();var i=this.position.x,n=this.position.y,a=e==this.position.x&&t==this.position.y;this.setPosition(e,t),a&&!this.isTransitioning?this.layoutPosition():((a={}).transform=this.getTranslate(e-i,t-n),this.transition({to:a,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0}))},e.getTranslate=function(e,t){return"translate3d("+(e=this.layout._getOption("originLeft")?e:-e)+"px, "+(t=this.layout._getOption("originTop")?t:-t)+"px, 0)"},e.goTo=function(e,t){this.setPosition(e,t),this.layoutPosition()},e.moveTo=e._transitionTo,e.setPosition=function(e,t){this.position.x=parseFloat(e),this.position.y=parseFloat(t)},e._nonTransition=function(e){for(var t in this.css(e.to),e.isCleaning&&this._removeStyles(e.to),e.onTransitionEnd)e.onTransitionEnd[t].call(this)},e.transition=function(e){if(parseFloat(this.layout.options.transitionDuration)){var t,i=this._transn;for(t in e.onTransitionEnd)i.onEnd[t]=e.onTransitionEnd[t];for(t in e.to)i.ingProperties[t]=!0,e.isCleaning&&(i.clean[t]=!0);e.from&&(this.css(e.from),this.element.offsetHeight,0),this.enableTransition(e.to),this.css(e.to),this.isTransitioning=!0}else this._nonTransition(e)},"opacity,"+n.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})),l=(e.enableTransition=function(){var e;this.isTransitioning||(e=this.layout.options.transitionDuration,this.css({transitionProperty:r,transitionDuration:e="number"==typeof e?e+"ms":e,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(s,this,!1))},e.onwebkitTransitionEnd=function(e){this.ontransitionend(e)},e.onotransitionend=function(e){this.ontransitionend(e)},{"-webkit-transform":"transform"}),d=(e.ontransitionend=function(e){var t,i;e.target===this.element&&(t=this._transn,i=l[e.propertyName]||e.propertyName,delete t.ingProperties[i],(e=>{for(var t in e)return;return 1})(t.ingProperties)&&this.disableTransition(),i in t.clean&&(this.element.style[e.propertyName]="",delete t.clean[i]),i in t.onEnd&&(t.onEnd[i].call(this),delete t.onEnd[i]),this.emitEvent("transitionEnd",[this]))},e.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(s,this,!1),this.isTransitioning=!1},e._removeStyles=function(e){var t,i={};for(t in e)i[t]="";this.css(i)},{transitionProperty:"",transitionDuration:"",transitionDelay:""});return e.removeTransitionStyles=function(){this.css(d)},e.stagger=function(e){e=isNaN(e)?0:e,this.staggerDelay=e+"ms"},e.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},e.remove=function(){return a&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},e.reveal=function(){delete this.isHidden,this.css({display:""});var e=this.layout.options,t={};t[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:e.hiddenStyle,to:e.visibleStyle,isCleaning:!0,onTransitionEnd:t})},e.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},e.getHideRevealTransitionEndProperty=function(e){var t,e=this.layout.options[e];if(e.opacity)return"opacity";for(t in e)return t},e.hide=function(){this.isHidden=!0,this.css({display:""});var e=this.layout.options,t={};t[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:e.visibleStyle,to:e.hiddenStyle,isCleaning:!0,onTransitionEnd:t})},e.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},e.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},i}),((a,s)=>{"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(e,t,i,n){return s(a,e,t,i,n)}):"object"==typeof module&&module.exports?module.exports=s(a,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):a.Outlayer=s(a,a.EvEmitter,a.getSize,a.fizzyUIUtils,a.Outlayer.Item)})(window,function(e,t,a,n,s){function o(e,t){var i=n.getQueryElement(e);i?(this.element=i,d&&(this.$element=d(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(t),t=++c,this.element.outlayerGUID=t,(u[t]=this)._create(),this._getOption("initLayout")&&this.layout()):l&&l.error("Bad element for "+this.constructor.namespace+": "+(i||e))}function r(e){function t(){e.apply(this,arguments)}return(t.prototype=Object.create(e.prototype)).constructor=t}function i(){}var l=e.console,d=e.jQuery,c=0,u={},h=(o.namespace="outlayer",o.Item=s,o.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}},o.prototype),p=(n.extend(h,t.prototype),h.option=function(e){n.extend(this.options,e)},h._getOption=function(e){var t=this.constructor.compatOptions[e];return t&&void 0!==this.options[t]?this.options[t]:this.options[e]},o.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},h._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),n.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},h.reloadItems=function(){this.items=this._itemize(this.element.children)},h._itemize=function(e){for(var t=this._filterFindItemElements(e),i=this.constructor.Item,n=[],a=0;a<t.length;a++){var s=new i(t[a],this);n.push(s)}return n},h._filterFindItemElements=function(e){return n.filterFindElements(e,this.options.itemSelector)},h.getItemElements=function(){return this.items.map(function(e){return e.element})},h.layout=function(){this._resetLayout(),this._manageStamps();var e=this._getOption("layoutInstant"),e=void 0!==e?e:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0}
1,h._init=h.layout,h._resetLayout=function(){this.getSize()},h.getSize=function(){this.size=a(this.element)},h._getMeasurement=function(e,t){var i,n=this.options[e];n?("string"==typeof n?i=this.element.querySelector(n):n instanceof HTMLElement&&(i=n),this[e]=i?a(i)[t]:n):this[e]=0},h.layoutItems=function(e,t){e=this._getItemsForLayout(e),this._layoutItems(e,t),this._postLayout()},h._getItemsForLayout=function(e){return e.filter(function(e){return!e.isIgnored})},h._layoutItems=function(e,i){var n;this._emitCompleteOnItems("layout",e),e&&e.length&&(n=[],e.forEach(function(e){var t=this._getItemLayoutPosition(e);t.item=e,t.isInstant=i||e.isLayoutInstant,n.push(t)},this),this._processLayoutQueue(n))},h._getItemLayoutPosition=function(){return{x:0,y:0}},h._processLayoutQueue=function(e){this.updateStagger(),e.forEach(function(e,t){this._positionItem(e.item,e.x,e.y,e.isInstant,t)},this)},h.updateStagger=function(){var e,t=this.options.stagger;return null==t?void(this.stagger=0):(this.stagger="number"==typeof(t=t)?t:(e=(t=t.match(/(^\d*\.?\d*)(\w*)/))&&t[1],t=t&&t[2],e.length?(e=parseFloat(e))*(p[t]||1):0),this.stagger)},h._positionItem=function(e,t,i,n,a){n?e.goTo(t,i):(e.stagger(a*this.stagger),e.moveTo(t,i))},h._postLayout=function(){this.resizeContainer()},h.resizeContainer=function(){var e;this._getOption("resizeContainer")&&(e=this._getContainerSize())&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))},h._getContainerSize=i,h._setContainerMeasure=function(e,t){var i;void 0!==e&&((i=this.size).isBorderBox&&(e+=t?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),e=Math.max(e,0),this.element.style[t?"width":"height"]=e+"px")},h._emitCompleteOnItems=function(t,e){function i(){s.dispatchEvent(t+"Complete",null,[e])}function n(){++a==o&&i()}var a,s=this,o=e.length;e&&o?(a=0,e.forEach(function(e){e.once(t,n)})):i()},h.dispatchEvent=function(e,t,i){var n=t?[t].concat(i):i;this.emitEvent(e,n),d&&(this.$element=this.$element||d(this.element),t?((n=d.Event(t)).type=e,this.$element.trigger(n,i)):this.$element.trigger(e,i))},h.ignore=function(e){e=this.getItem(e);e&&(e.isIgnored=!0)},h.unignore=function(e){e=this.getItem(e);e&&delete e.isIgnored},h.stamp=function(e){(e=this._find(e))&&(this.stamps=this.stamps.concat(e),e.forEach(this.ignore,this))},h.unstamp=function(e){(e=this._find(e))&&e.forEach(function(e){n.removeFrom(this.stamps,e),this.unignore(e)},this)},h._find=function(e){if(e)return"string"==typeof e&&(e=this.element.querySelectorAll(e)),n.makeArray(e)},h._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},h._getBoundingRect=function(){var e=this.element.getBoundingClientRect(),t=this.size;this._boundingRect={left:e.left+t.paddingLeft+t.borderLeftWidth,top:e.top+t.paddingTop+t.borderTopWidth,right:e.right-(t.paddingRight+t.borderRightWidth),bottom:e.bottom-(t.paddingBottom+t.borderBottomWidth)}},h._manageStamp=i,h._getElementOffset=function(e){var t=e.getBoundingClientRect(),i=this._boundingRect,e=a(e);return{left:t.left-i.left-e.marginLeft,top:t.top-i.top-e.marginTop,right:i.right-t.right-e.marginRight,bottom:i.bottom-t.bottom-e.marginBottom}},h.handleEvent=n.handleEvent,h.bindResize=function(){e.addEventListener("resize",this),this.isResizeBound=!0},h.unbindResize=function(){e.removeEventListener("resize",this),this.isResizeBound=!1},h.onresize=function(){this.resize()},n.debounceMethod(o,"onresize",100),h.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},h.needsResizeLayout=function(){var e=a(this.element);return this.size&&e&&e.innerWidth!==this.size.innerWidth},h.addItems=function(e){e=this._itemize(e);return e.length&&(this.items=this.items.concat(e)),e},h.appended=function(e){e=this.addItems(e);e.length&&(this.layoutItems(e,!0),this.reveal(e))},h.prepended=function(e){var t,e=this._itemize(e);e.length&&(t=this.items.slice(0),this.items=e.concat(t),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(t))},h.reveal=function(e){var i;this._emitCompleteOnItems("reveal",e),e&&e.length&&(i=this.updateStagger(),e.forEach(function(e,t){e.stagger(t*i),e.reveal()}))},h.hide=function(e){var i;this._emitCompleteOnItems("hide",e),e&&e.length&&(i=this.updateStagger(),e.forEach(function(e,t){e.stagger(t*i),e.hide()}))},h.revealItemElements=function(e){e=this.getItems(e);this.reveal(e)},h.hideItemElements=function(e){e=this.getItems(e);this.hide(e)},h.getItem=function(e){for(var t=0;t<this.items.length;t++){var i=this.items[t];if(i.element==e)return i}},h.getItems=function(e){e=n.makeArray(e);var t=[];return e.forEach(function(e){e=this.getItem(e);e&&t.push(e)},this),t},h.remove=function(e){e=this.getItems(e);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(e){e.remove(),n.removeFrom(this.items,e)},this)},h.destroy=function(){var e=this.element.style,e=(e.height="",e.position="",e.width="",this.items.forEac
1h(function(e){e.destroy()}),this.unbindResize(),this.element.outlayerGUID);delete u[e],delete this.element.outlayerGUID,d&&d.removeData(this.element,this.constructor.namespace)},o.data=function(e){e=(e=n.getQueryElement(e))&&e.outlayerGUID;return e&&u[e]},o.create=function(e,t){var i=r(o);return i.defaults=n.extend({},o.defaults),n.extend(i.defaults,t),i.compatOptions=n.extend({},o.compatOptions),i.namespace=e,i.data=o.data,i.Item=r(s),n.htmlInit(i,e),d&&d.bridget&&d.bridget(e,i),i},{ms:1,s:1e3});return o.Item=s,o}),((e,t)=>{"function"==typeof define&&define.amd?define("isotope-layout/js/item",["outlayer/outlayer"],t):"object"==typeof module&&module.exports?module.exports=t(require("outlayer")):(e.Isotope=e.Isotope||{},e.Isotope.Item=t(e.Outlayer))})(window,function(e){function t(){e.Item.apply(this,arguments)}var i=t.prototype=Object.create(e.Item.prototype),n=i._create,a=(i._create=function(){this.id=this.layout.itemGUID++,n.call(this),this.sortData={}},i.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var e,t=this.layout.options.getSortData,i=this.layout._sorters;for(e in t){var n=i[e];this.sortData[e]=n(this.element,this)}}},i.destroy);return i.destroy=function(){a.apply(this,arguments),this.css({display:""})},t}),((e,t)=>{"function"==typeof define&&define.amd?define("isotope-layout/js/layout-mode",["get-size/get-size","outlayer/outlayer"],t):"object"==typeof module&&module.exports?module.exports=t(require("get-size"),require("outlayer")):(e.Isotope=e.Isotope||{},e.Isotope.LayoutMode=t(e.getSize,e.Outlayer))})(window,function(t,i){function n(e){(this.isotope=e)&&(this.options=e.options[this.namespace],this.element=e.element,this.items=e.filteredItems,this.size=e.size)}var a=n.prototype;return["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"].forEach(function(e){a[e]=function(){return i.prototype[e].apply(this.isotope,arguments)}}),a.needsVerticalResizeLayout=function(){var e=t(this.isotope.element);return this.isotope.size&&e&&e.innerHeight!=this.isotope.size.innerHeight},a._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},a.getColumnWidth=function(){this.getSegmentSize("column","Width")},a.getRowHeight=function(){this.getSegmentSize("row","Height")},a.getSegmentSize=function(e,t){var i,e=e+t,n="outer"+t;this._getMeasurement(e,n),this[e]||(i=this.getFirstItemSize(),this[e]=i&&i[n]||this.isotope.size["inner"+t])},a.getFirstItemSize=function(){var e=this.isotope.filteredItems[0];return e&&e.element&&t(e.element)},a.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},a.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},n.modes={},n.create=function(e,t){function i(){n.apply(this,arguments)}return(i.prototype=Object.create(a)).constructor=i,t&&(i.options=t),n.modes[i.prototype.namespace=e]=i},n}),((e,t)=>{"function"==typeof define&&define.amd?define("masonry-layout/masonry",["outlayer/outlayer","get-size/get-size"],t):"object"==typeof module&&module.exports?module.exports=t(require("outlayer"),require("get-size")):e.Masonry=t(e.Outlayer,e.getSize)})(window,function(e,r){var e=e.create("masonry"),t=(e.compatOptions.fitWidth="isFitWidth",e.prototype);return t._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var e=0;e<this.cols;e++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},t.measureColumns=function(){this.getContainerWidth(),this.columnWidth||(e=(e=this.items[0])&&e.element,this.columnWidth=e&&r(e).outerWidth||this.containerWidth);var e=this.columnWidth+=this.gutter,t=this.containerWidth+this.gutter,i=t/e,t=e-t%e,i=Math[t&&t<1?"round":"floor"](i);this.cols=Math.max(i,1)},t.getContainerWidth=function(){var e=this._getOption("fitWidth")?this.element.parentNode:this.element,e=r(e);this.containerWidth=e&&e.innerWidth},t._getItemLayoutPosition=function(e){e.getSize();for(var t=e.size.outerWidth%this.columnWidth,t=Math[t&&t<1?"round":"ceil"](e.size.outerWidth/this.columnWidth),t=Math.min(t,this.cols),i=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](t,e),n={x:this.columnWidth*i.col,y:i.y},a=i.y+e.size.outerHeight,s=t+i.col,o=i.col;o<s;o++)this.colYs[o]=a;return n},t._getTopColPosition=function(e){var e=this._getTopColGroup(e),t=Math.min.apply(Math,e);return{col:e.indexOf(t),y:t}},t._getTopColGroup=function(e){if(e<2)return this.colYs;for(var t=[],i=this.cols+1-e,n=0;n<i;n++)t[n]=this._getColGroupY(n,e);return t},t._getColGroupY=function(e,t){return t<2?this.colYs[e]:(e=this.colYs.slice(e,e+t),Math.max.apply(Math,e))},t._getHorizontalColPosition=function(e,t){var i=this.horizontalColIndex%this.cols,i=1<e&&i+e>this.cols?0:i,t=t.size.outerWidth&&t.size.outerHeight;return this.horizontalColIndex=t?i+e:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,e)}},t._manageStamp=function(e){var t=r(e),e=this._getElementOffset(e),i=this._getOption("originLeft")?e.left:e.right,n=i+t.outerWidth,i=Math.floor(i/this.columnWidth),i=Math.max(0,i),a=Math.floor(n/this.columnWidth);a-=n%this.columnWidth?0:1;for(var a=Math.min(this.cols-1,a),s=(this._getOption("originTop")?e.top:e.bottom)+t.outerHeight,o=i;o<=a;o++)this.colYs[o]=Math.max(s,this.colYs[o])},t._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var e={height:this.maxY};return this._getOption("fitWidth")&&(e.width=this._getContainerFitWidth()),e},t._getContainerFitWidth=function(){for(var e=0,t=this.cols;--t&&0===this.colYs[t];)e++;return(this.cols-e)*this.columnWidth-this.gutter},t.needsResizeLayout=function(){var e=this.containerWidth;return this.getContainerWidth(),e!=this.containerWidth},e}),((e,t)=>{"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/masonry",["../layout-mode","masonry-layout/masonry"],t):"object"==typeof module&&module.exports?module.exports=t(require("../layout-mode"),require("masonry-layout")):t(e.Isotope.LayoutMode,e.Masonry)})(window,function(e,t){var i,e=e.create("masonry"),n=e.prototype,a={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(i in t.prototype)a[i]||(n[i]=t.prototype[i]);var s=n.measureColumns,o=(n.measureColumns=function(){this.items=this.isotope.filteredItems,s.call(this)},n._getOption);return n._getOption=function(e){return"fitWidth"==e?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:o.apply(this.isotope,arguments)},e}),((e,t)=>{"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/fit-rows",["../layout-mode"],t):"object"==typeof exports?module.exports=t(require("../layout-mode")):t(e.Isotope.LayoutMode)}
1)(window,function(e){var e=e.create("fitRows"),t=e.prototype;return t._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},t._getItemLayoutPosition=function(e){e.getSize();var t=e.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter,i=(0!==this.x&&t+this.x>i&&(this.x=0,this.y=this.maxY),{x:this.x,y:this.y});return this.maxY=Math.max(this.maxY,this.y+e.size.outerHeight),this.x+=t,i},t._getContainerSize=function(){return{height:this.maxY}},e}),((e,t)=>{"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/vertical",["../layout-mode"],t):"object"==typeof module&&module.exports?module.exports=t(require("../layout-mode")):t(e.Isotope.LayoutMode)})(window,function(e){var e=e.create("vertical",{horizontalAlignment:0}),t=e.prototype;return t._resetLayout=function(){this.y=0},t._getItemLayoutPosition=function(e){e.getSize();var t=(this.isotope.size.innerWidth-e.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=e.size.outerHeight,{x:t,y:i}},t._getContainerSize=function(){return{height:this.y}},e}),((o,r)=>{"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotope-layout/js/item","isotope-layout/js/layout-mode","isotope-layout/js/layout-modes/masonry","isotope-layout/js/layout-modes/fit-rows","isotope-layout/js/layout-modes/vertical"],function(e,t,i,n,a,s){return r(o,e,t,i,n,a,s)}):"object"==typeof module&&module.exports?module.exports=r(o,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotope-layout/js/item"),require("isotope-layout/js/layout-mode"),require("isotope-layout/js/layout-modes/masonry"),require("isotope-layout/js/layout-modes/fit-rows"),require("isotope-layout/js/layout-modes/vertical")):o.Isotope=r(o,o.Outlayer,o.getSize,o.matchesSelector,o.fizzyUIUtils,o.Isotope.Item,o.Isotope.LayoutMode)})(window,function(e,i,t,n,s,a,o){var r=e.jQuery,l=String.prototype.trim?function(e){return e.trim()}:function(e){return e.replace(/^\s+|\s+$/g,"")},d=i.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0}),e=(d.Item=a,d.LayoutMode=o,d.prototype),c=(e._create=function(){for(var e in this.itemGUID=0,this._sorters={},this._getSorters(),i.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],o.modes)this._initLayoutMode(e)},e.reloadItems=function(){this.itemGUID=0,i.prototype.reloadItems.call(this)},e._itemize=function(){for(var e=i.prototype._itemize.apply(this,arguments),t=0;t<e.length;t++)e[t].id=this.itemGUID++;return this._updateItemsSortData(e),e},e._initLayoutMode=function(e){var t=o.modes[e],i=this.options[e]||{};this.options[e]=t.options?s.extend(t.options,i):i,this.modes[e]=new t(this)},e.layout=function(){return!this._isLayoutInited&&this._getOption("initLayout")?void this.arrange():void this._layout()},e._layout=function(){var e=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,e),this._isLayoutInited=!0},e.arrange=function(e){this.option(e),this._getIsInstant();e=this._filter(this.items);this.filteredItems=e.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[e]):this._hideReveal(e),this._sort(),this._layout()},e._init=e.arrange,e._hideReveal=function(e){this.reveal(e.needReveal),this.hide(e.needHide)},e._getIsInstant=function(){var e=this._getOption("layoutInstant"),e=void 0!==e?e:!this._isLayoutInited;return this._isInstant=e},e._bindArrangeComplete=function(){function e(){t&&i&&n&&a.dispatchEvent("arrangeComplete",null,[a.filteredItems])}var t,i,n,a=this;this.once("layoutComplete",function(){t=!0,e()}),this.once("hideComplete",function(){i=!0,e()}),this.once("revealComplete",function(){n=!0,e()})},e._filter=function(e){for(var t=this.options.filter,i=[],n=[],a=[],s=this._getFilterTest(t||"*"),o=0;o<e.length;o++){var r,l=e[o];l.isIgnored||((r=s(l))&&i.push(l),r&&l.isHidden?n.push(l):r||l.isHidden||a.push(l))}return{matches:i,needReveal:n,needHide:a}},e._getFilterTest=function(t){return r&&this.options.isJQueryFiltering?function(e){return r(e.element).is(t)}:"function"==typeof t?function(e){return t(e.element)}:function(e){return n(e.element,t)}},e.updateSortData=function(e){e=e?(e=s.makeArray(e),this.getItems(e)):this.items;this._getSorters(),this._updateItemsSortData(e)},e._getSorters=function(){var e,t=this.options.getSortData;for(e in t){var i=t[e];this._sorters[e]=c(i)}},e._updateItemsSortData=function(e){for(var t=e&&e.length,i=0;t&&i<t;i++)e[i].updateSortData()},function(e){var t,i,n,a,s,o;return"string"!=typeof e?e:(i=(i=(t=(e=l(e).split(" "))[0]).match(/^\[(.+)\]$/))&&i[1],o=t,n=(s=i)?function(e){return e.getAttribute(s)}:function(e){e=e.querySelector(o);return e&&e.textContent},(a=d.sortDataParsers[e[1]])?function(e){return e&&a(n(e))}:function(e){return e&&n(e)})}),u=(d.sortDataParsers={parseInt:function(e){return parseInt(e,10)},parseFloat:function(e){return parseFloat(e)}},e._sort=function(){var e,o,r;this.options.sortBy&&(e=s.makeArray(this.options.sortBy),this._getIsSameSortBy(e)||(this.sortHistory=e.concat(this.sortHistory)),o=this.sortHistory,r=this.options.sortAscending,this.filteredItems.sort(function(e,t){for(var i=0;i<o.length;i++){var n=o[i],a=e.sortData[n],s=t.sortData[n];if(s<a||a<s)return(s<a?1:-1)*((void 0!==r[n]?r[n]:r)?1:-1)}return 0}))},e._getIsSameSortBy=function(e){for(var t=0;t<e.length;t++)if(e[t]!=this.sortHistory[t])return!1;return!0},e._mode=function(){var e=this.options.layoutMode,t=this.modes[e];if(t)return t.options=this.options[e],t;throw new Error("No layout mode: "+e)},e._resetLayout=function(){i.prototype._resetLayout.call(this),this._mode()._resetLayout()},e._getItemLayoutPosition=function(e){return this._mode()._getItemLayoutPosition(e)},e._manageStamp=function(e){this._mode()._manageStamp(e)},e._getContainerSize=function(){return this._mode()._getContainerSize()},e.needsResizeLayout=function(){return this._mode().needsResizeLayout()},e.appended=function(e){var e=this.addItems(e);e.length&&(e=this._filterRevealAdded(e),this.filteredItems=this.filteredItems.concat(e))},e.prepended=function(e){var t,e=this._itemize(e);e.length&&(this._resetLayout(),this._manageStamps(),t=this._filterRevealAdded(e),this.layoutItems(this.filteredItems),this.filteredItems=t.concat(this.filteredItems),this.items=e.concat(this.items))},e._filterRevealAdded=function(e){e=this._filter(e);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},e.insert=function(e){var t=this.addItems(e);if(t.length){for(var i,n=t.length,a=0;a<n;a++)i=t[a],this.element.appendChild(i.element);e=this._filter(t).matches;for(a=0;a<n;a++)t[a].isLayoutInstant=!0;for(this.arrange(),a=0;a<n;a++)delete t[a].isLayoutInstant;this.reveal(e)}},e.remove);return e.remove=function(e){e=s.makeArray(e);var t=this.getItems(e);u.call(this,e);for(var i=t&&t.length,n=0;i&&n<i;n++){var a=t[n];s.removeFrom(this.filteredItems,a)}},e.shuffle=function(){for(var e=0;e<this.items.length;e++)this.items[e].sortData.random=Math.random();this.options.sortBy="random",this._sort(),this._layout()},e._noTransition=function(e,t){var i=this.options.transitionDuration,e=(this.options.transitionDuration=0,e.apply(this,t));return this.options.transitionDuration=i,e},e.getFilteredItemElements=function(){return this.filteredItems.map(function(e){return e.element})},d}),window.SEMICOLON_gridContainerInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){var e,t=$(this),i=t.attr("data-transition")||"0.65s",n=t.attr("data-layout")||"masonry",a=t.attr("data-stagger")||0,s=t.attr("data-basewidth")||".portfolio-item:not(.wide):eq(0)",o=!0,r=($("body").hasClass("rtl")&&(o=!1),t.hasClass("portfolio")||t.hasClass("post-timeline")?t.isotope({layoutMode:n,isOriginLeft:o,transitionDuration:i,stagger:Number(a),percentPosition:!0,masonry:{columnWidth:t.find(s)[0]}}):t.isotope({layoutMode:n,isOriginLeft:o,transitionDuration:i,stagger:Number(a),percentPosition:!0}),t.data("isotope")&&t.addClass("has-init-isotope"),setInterval(function(){t.find(".lazy.lazy-loaded").length==t.find(".lazy").length&&(setTimeout(function(){t.filter(".has-init-isotope").isotope("layout")},800),clearInterval(r))},1e3));$(window).on("resize",function(){clearTimeout(e),e=setTimeout(function(){t.filter(".has-init-isotope").isotope("layout")},250)}),$(window).on("lazyLoadLoaded",function(){t.filter(".has-init-isotope").isotope("layout")})})},((e,t)=>{"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).LazyLoad=t()})(this,function(){function t(){return(t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i,n=arguments[t];for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function o(e){return t({},q,e)}function e(e,t){var i,t=new e(t);try{i=new CustomEvent("LazyLoad::Initialized",{detail:{instance:t}})}catch(e){(i=document.createEvent("CustomEvent")).initCustomEvent("LazyLoad::Initialized",!1,!1,{instance:t})}window.dispatchEvent(i)}function c(e){return"native"===w(e)}function r(e,t){e&&(e.toLoadCount=t)}function i(e){for(var t,i=[],n=0;t=e.children[n];n+=1)"SOURCE"===t.tagName&&i.push(t);return i}function n(e){var t;G(e)||((t={}).src=e.getAttribute("src"),t.srcset=e.getAttribute("srcset"),t.sizes=e.getAttribute("sizes"),e.llOriginalAttrs=t)}function a(e,t){P(e,"sizes",y(e,t.data_sizes)),P(e,"srcset",y(e,t.data_srcset)),P(e,"src",y(e,t.data_src))}function s(e,t){i(e).forEach(t)}function l(e,t){var i=K[e.tagName];i&&i(e,t)}function u(e,t){var i=ee[e.tagName];i?i(e,t):(b(i=e,(e=t).data_bg,null),b(i,e.data_bg_hidpi,null))}function h(e,t){!t||0<t.loadingCount||0<t.toLoadCount||_(e.callback_finish,t)}function p(e,t,i){e.addEventListener(t,i),e.llEvLisnrs[t]=i}function f(e,t,i){delete e.llTempImage,E(i,-1),i&&--i.toLoadCount,S(e,t.class_loading),t.unobserve_completed&&k(e,i)}function z(e,t,i){var n,a,s,o,r;e.llTempImage=document.createElement("IMG"),L(e,t,i),s=i,o=y(n=e,(a=t).data_bg),r=y(n,a.data_bg_hidpi),(r=Q&&r?r:o)&&(n.style.backgroundImage='url("'.concat(r,'")'),V(n).setAttribute("src",r),Z(n,a,s)),o=i,a=y(r=e,(n=t).data_bg_multi),s=y(r,n.data_bg_multi_hidpi),(s=Q&&s?s:a)&&(r.style.backgroundImage=s,a=o,x(s=r,(o=n).class_applied),C(s,"applied"),te(s,o),o.unobserve_completed&&k(s,o),_(o.callback_applied,s,a))}function d(e){return e.use_native&&"loading"in HTMLImageElement.prototype}function N(e,d,c){e.forEach(function(e){return e.isIntersecting||0<e.intersectionRatio?(s=e.target,o=e,r=d,l=c,C(s,"entered"),r.unobserve_entered&&k(s,l),_(r.callback_enter,s,o,l),void(0<=U.indexOf(w(s))||j(s,r,l))):(o=e.target,s=e,r=d,l=c,void(W(o)||(e=o,t=s,n=l,(i=r).cancel_on_exit&&"loading"===w(e)&&"IMG"===e.tagName&&($(e),I(a=e,function(e){J(e)}),J(a),I(a=e,function(e){X(e)}),X(a),S(e,i.class_loading),E(n,-1),T(e),_(i.callback_cancel,e,t,n)),_(r.callback_exit,o,s,l))));var t,i,n,a,s,o,r,l})}function A(e){return Array.prototype.slice.call(e)}function m(e){return e.container.querySelectorAll(e.elements_selector)}function Y(e){return"error"===w(e)}function B(e,t){return e=e||m(t),A(e).filter(W)}function g(e,t){var n,a,i,s,e=o(e);this._settings=e,this.loadingCount=0,i=e,s=this,F&&!d(i)&&(s._observer=new IntersectionObserver(function(e){N(e,i,s)},{root:i.container===document?null:i.container,rootMargin:i.thresholds||i.threshold+"px"})),n=e,a=this,v&&window.addEventListener("online",function(){var t,e,i;
1e=a,i=m(t=n),A(i).filter(Y).forEach(function(e){S(e,t.class_error),T(e)}),e.update()}),this.update(t)}var v="undefined"!=typeof window,R=v&&!("onscroll"in window)||"undefined"!=typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),F=v&&"IntersectionObserver"in window,H=v&&"classList"in document.createElement("p"),Q=v&&1<window.devicePixelRatio,q={elements_selector:".lazy",container:R||v?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",data_bg_hidpi:"bg-hidpi",data_bg_multi:"bg-multi",data_bg_multi_hidpi:"bg-multi-hidpi",data_poster:"poster",class_applied:"applied",class_loading:"loading",class_loaded:"loaded",class_error:"error",unobserve_completed:!0,unobserve_entered:!1,cancel_on_exit:!0,callback_enter:null,callback_exit:null,callback_applied:null,callback_loading:null,callback_loaded:null,callback_error:null,callback_finish:null,callback_cancel:null,use_native:!1},y=function(e,t){return e.getAttribute("data-"+t)},b=function(e,t,i){t="data-"+t;null!==i?e.setAttribute(t,i):e.removeAttribute(t)},w=function(e){return y(e,"ll-status")},C=function(e,t){return b(e,"ll-status",t)},T=function(e){return C(e,null)},W=function(e){return null===w(e)},U=["loading","loaded","applied","error"],_=function(e,t,i,n){e&&(void 0===n?void 0===i?e(t):e(t,i):e(t,i,n))},x=function(e,t){H?e.classList.add(t):e.className+=(e.className?" ":"")+t},S=function(e,t){H?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\s+)"+t+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")},V=function(e){return e.llTempImage},k=function(e,t){t&&(t=t._observer)&&t.unobserve(e)},E=function(e,t){e&&(e.loadingCount+=t)},P=function(e,t,i){i&&e.setAttribute(t,i)},M=function(e,t){e.removeAttribute(t)},G=function(e){return!!e.llOriginalAttrs},X=function(e){var t;G(e)&&(t=e.llOriginalAttrs,P(e,"src",t.src),P(e,"srcset",t.srcset),P(e,"sizes",t.sizes))},J=function(e){M(e,"src"),M(e,"srcset"),M(e,"sizes")},I=function(e,t){e=e.parentNode;e&&"PICTURE"===e.tagName&&i(e).forEach(t)},K={IMG:function(e,t){I(e,function(e){n(e),a(e,t)}),n(e),a(e,t)},IFRAME:function(e,t){P(e,"src",y(e,t.data_src))},VIDEO:function(e,t){s(e,function(e){P(e,"src",y(e,t.data_src))}),P(e,"poster",y(e,t.data_poster)),P(e,"src",y(e,t.data_src)),e.load()}},Z=function(e,t,i){E(i,1),x(e,t.class_loading),C(e,"loading"),_(t.callback_loading,e,i)},ee={IMG:function(e,t){b(e,t.data_src,null),b(e,t.data_srcset,null),b(e,t.data_sizes,null),I(e,function(e){b(e,t.data_srcset,null),b(e,t.data_sizes,null)})},IFRAME:function(e,t){b(e,t.data_src,null)},VIDEO:function(e,t){b(e,t.data_src,null),b(e,t.data_poster,null),s(e,function(e){b(e,t.data_src,null)})}},te=function(e,t){b(e,t.data_bg_multi,null),b(e,t.data_bg_multi_hidpi,null)},ie=["IMG","IFRAME","VIDEO"],ne=function(e,t,i){e.removeEventListener(t,i)},O=function(e){return!!e.llEvLisnrs},$=function(e){if(O(e)){var t,i=e.llEvLisnrs;for(t in i){var n=i[t];ne(e,t,n)}delete e.llEvLisnrs}},L=function(o,r,l){var e,t,d=V(o)||o;O(d)||(O(e=d)||(e.llEvLisnrs={}),t="VIDEO"===e.tagName?"loadeddata":"load",p(e,t,function(e){var t=0,i=o,n=r,a=l,s=c(i);f(i,n,a),x(i,n.class_loaded),C(i,"loaded"),u(i,n),_(n.callback_loaded,i,a),s||h(n,a),$(d)}),p(e,"error",function(e){var t=0,i=o,n=r,a=l,s=c(i);f(i,n,a),x(i,n.class_error),C(i,"error"),_(n.callback_error,i,a),s||h(n,a),$(d)}))},j=function(e,t,i){var n,a,s;-1<ie.indexOf(e.tagName)?(L(n=e,a=t,s=i),l(n,a),Z(n,a,s)):z(e,t,i)},ae=["IMG","IFRAME"];if(g.prototype={update:function(e){var t,i,n,a,s=this._settings,e=B(e,s);r(this,e.length),!R&&F?d(s)?(n=s,a=this,e.forEach(function(e){var t;-1!==ae.indexOf(e.tagName)&&(e.setAttribute("loading","lazy"),L(e=e,t=n,a),l(e,t),u(e,t),C(e,"native"))}),r(a,0)):(s=e,(t=this._observer).disconnect(),i=t,s.forEach(function(e){i.observe(e)})):this.loadAll(e)},destroy:function(){this._observer&&this._observer.disconnect(),m(this._settings).forEach(function(e){delete e.llOriginalAttrs}),delete this._observer,delete this._settings,delete this.loadingCount,delete this.toLoadCount},loadAll:function(e){var t=this,i=this._settings;
1B(e,i).forEach(function(e){k(e,t),j(e,i,t)})}},g.load=function(e,t){t=o(t);j(e,t)},g.resetStatus=function(e){T(e)},v){var se=g,D=window.lazyLoadOptions;if(D)if(D.length)for(var oe,re=0;oe=D[re];re+=1)e(se,oe);else e(se,D)}return g}),window.SEMICOLON_lazyLoadInit=function(e){window.lazyLoadInstance=new LazyLoad({threshold:150,elements_selector:".lazy",class_loading:"lazy-loading",class_loaded:"lazy-loaded",class_error:"lazy-error",callback_loaded:function(e){$(window).trigger("lazyLoadLoaded")}})},(e=>{"function"==typeof define&&define.amd?define(["jquery"],e):e("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)})(function(d){function e(){}function c(e,t){f.ev.on("mfp"+e+i,t)}function u(e,t,i,n){var a=document.createElement("div");return a.className="mfp-"+e,i&&(a.innerHTML=i),n?t&&t.appendChild(a):(a=d(a),t&&a.appendTo(t)),a}function h(e,t){f.ev.triggerHandler("mfp"+e,t),f.st.callbacks&&(e=e.charAt(0).toLowerCase()+e.slice(1),f.st.callbacks[e])&&f.st.callbacks[e].apply(f,d.isArray(t)?t:[t])}function p(e){return e===t&&f.currTemplate.closeBtn||(f.currTemplate.closeBtn=d(f.st.closeMarkup.replace("%title%",f.st.tClose)),t=e),f.currTemplate.closeBtn}function s(){d.magnificPopup.instance||((f=new e).init(),d.magnificPopup.instance=f)}var f,n,m,a,g,t,r="Close",l="BeforeClose",v="MarkupParse",i=".mfp",y="mfp-ready",o="mfp-removing",b="mfp-prevent-close",w=!!window.jQuery,C=d(window);d.magnificPopup={instance:null,proto:e.prototype={constructor:e,init:function(){var e=navigator.appVersion;f.isLowIE=f.isIE8=document.all&&!document.addEventListener,f.isAndroid=/android/gi.test(e),f.isIOS=/iphone|ipad|ipod/gi.test(e),f.supportsTransition=(()=>{var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1})(),f.probablyMobile=f.isAndroid||f.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),m=d(document),f.popupsCache={}},open:function(e){if(!1===e.isObj){f.items=e.items.toArray(),f.index=0;for(var t,i=e.items,n=0;n<i.length;n++)if((t=(t=i[n]).parsed?t.el[0]:t)===e.el[0]){f.index=n;break}}else f.items=d.isArray(e.items)?e.items:[e.items],f.index=e.index||0;if(!f.isOpen){f.types=[],g="",e.mainEl&&e.mainEl.length?f.ev=e.mainEl.eq(0):f.ev=m,e.key?(f.popupsCache[e.key]||(f.popupsCache[e.key]={}),f.currTemplate=f.popupsCache[e.key]):f.currTemplate={},f.st=d.extend(!0,{},d.magnificPopup.defaults,e),f.fixedContentPos="auto"===f.st.fixedContentPos?!f.probablyMobile:f.st.fixedContentPos,f.st.modal&&(f.st.closeOnContentClick=!1,f.st.closeOnBgClick=!1,f.st.showCloseBtn=!1,f.st.enableEscapeKey=!1),f.bgOverlay||(f.bgOverlay=u("bg").on("click.mfp",function(){f.close()}),f.wrap=u("wrap").attr("tabindex",-1).on("click.mfp",function(e){f._checkIfClose(e.target)&&f.close()}),f.container=u("container",f.wrap)),f.contentContainer=u("content"),f.st.preloader&&(f.preloader=u("preloader",f.container,f.st.tLoading));var a=d.magnificPopup.modules;for(n=0;n<a.length;n++){var s=(s=a[n]).charAt(0).toUpperCase()+s.slice(1);f["init"+s].call(f)}h("BeforeOpen"),f.st.showCloseBtn&&(f.st.closeBtnInside?(c(v,function(e,t,i,n){i.close_replaceWith=p(n.type)}),g+=" mfp-close-btn-in"):f.wrap.append(p())),f.st.alignTop&&(g+=" mfp-align-top"),f.fixedContentPos?f.wrap.css({overflow:f.st.overflowY,overflowX:"hidden",overflowY:f.st.overflowY}):f.wrap.css({top:C.scrollTop(),position:"absolute"}),!1!==f.st.fixedBgPos&&("auto"!==f.st.fixedBgPos||f.fixedContentPos)||f.bgOverlay.css({height:m.height(),position:"absolute"}),f.st.enableEscapeKey&&m.on("keyup.mfp",function(e){27===e.keyCode&&f.close()}),C.on("resize.mfp",function(){f.updateSize()}),f.st.closeOnContentClick||(g+=" mfp-auto-cursor"),g&&f.wrap.addClass(g);var o=f.wH=C.height(),r={},l=(f.fixedContentPos&&f._hasScrollBar(o)&&(l=f._getScrollbarSize())&&(r.marginRight=l),f.fixedContentPos&&(f.isIE7?d("body, html").css("overflow","hidden"):r.overflow="hidden"),f.st.mainClass);return f.isIE7&&(l+=" mfp-ie7"),l&&f._addClassToMFP(l),f.updateItemHTML(),h("BuildControls"),d("html").css(r),f.bgOverlay.add(f.wrap).prependTo(f.st.prepe
vendor: 6,148 bytes, line 1
1ndTo||d(document.body)),f._lastFocusedEl=document.activeElement,setTimeout(function(){f.content?(f._addClassToMFP(y),f._setFocus()):f.bgOverlay.addClass(y),m.on("focusin.mfp",f._onFocusIn)},16),f.isOpen=!0,f.updateSize(o),h("Open"),e}f.updateItemHTML()},close:function(){f.isOpen&&(h(l),f.isOpen=!1,f.st.removalDelay&&!f.isLowIE&&f.supportsTransition?(f._addClassToMFP(o),setTimeout(function(){f._close()},f.st.removalDelay)):f._close())},_close:function(){h(r);var e=o+" "+y+" ";f.bgOverlay.detach(),f.wrap.detach(),f.container.empty(),f.st.mainClass&&(e+=f.st.mainClass+" "),f._removeClassFromMFP(e),f.fixedContentPos&&(e={marginRight:""},f.isIE7?d("body, html").css("overflow",""):e.overflow="",d("html").css(e)),m.off("keyup.mfp focusin.mfp"),f.ev.off(i),f.wrap.attr("class","mfp-wrap").removeAttr("style"),f.bgOverlay.attr("class","mfp-bg"),f.container.attr("class","mfp-container"),!f.st.showCloseBtn||f.st.closeBtnInside&&!0!==f.currTemplate[f.currItem.type]||f.currTemplate.closeBtn&&f.currTemplate.closeBtn.detach(),f.st.autoFocusLast&&f._lastFocusedEl&&d(f._lastFocusedEl).focus(),f.currItem=null,f.content=null,f.currTemplate=null,f.prevHeight=0,h("AfterClose")},updateSize:function(e){var t;f.isIOS?(t=document.documentElement.clientWidth/window.innerWidth,f.wrap.css("height",t=window.innerHeight*t),f.wH=t):f.wH=e||C.height(),f.fixedContentPos||f.wrap.css("height",f.wH),h("Resize")},updateItemHTML:function(){var e=f.items[f.index],t=(f.contentContainer.detach(),f.content&&f.content.detach(),(e=e.parsed?e:f.parseEl(f.index)).type),i=(h("BeforeChange",[f.currItem?f.currItem.type:"",t]),f.currItem=e,f.currTemplate[t]||(i=!!f.st[t]&&f.st[t].markup,h("FirstMarkupParse",i),f.currTemplate[t]=!i||d(i)),a&&a!==e.type&&f.container.removeClass("mfp-"+a+"-holder"),f["get"+t.charAt(0).toUpperCase()+t.slice(1)](e,f.currTemplate[t]));f.appendContent(i,t),e.preloaded=!0,h("Change",e),a=e.type,f.container.prepend(f.contentContainer),h("AfterChange")},appendContent:function(e,t){(f.content=e)?f.st.showCloseBtn&&f.st.closeBtnInside&&!0===f.currTemplate[t]?f.content.find(".mfp-close").length||f.content.append(p()):f.content=e:f.content="",h("BeforeAppend"),f.container.addClass("mfp-"+t+"-holder"),f.contentContainer.append(f.content)},parseEl:function(e){var t,i=f.items[e];if((i=i.tagName?{el:d(i)}:(t=i.type,{data:i,src:i.src})).el){for(var n=f.types,a=0;a<n.length;a++)if(i.el.hasClass("mfp-"+n[a])){t=n[a];break}i.src=i.el.attr("data-mfp-src"),i.src||(i.src=i.el.attr("href"))}return i.type=t||f.st.type||"inline",i.index=e,i.parsed=!0,f.items[e]=i,h("ElementParse",i),f.items[e]},addGroup:function(t,i){function e(e){e.mfpEl=this,f._openClick(e,t,i)}var n="click.magnificPopup";(i=i||{}).mainEl=t,i.items?(i.isObj=!0,t.off(n).on(n,e)):(i.isObj=!1,i.delegate?t.off(n).on(n,i.delegate,e):(i.items=t).off(n).on(n,e))},_openClick:function(e,t,i){if((void 0!==i.midClick?i:d.magnificPopup.defaults).midClick||!(2===e.which||e.ctrlKey||e.metaKey||e.altKey||e.shiftKey)){var n=(void 0!==i.disableOn?i:d.magnificPopup.defaults).disableOn;if(n)if(d.isFunction(n)){if(!n.call(f))return!0}else if(C.width()<n)return!0;e.type&&(e.preventDefault(),f.isOpen)&&e.stopPropagation(),i.el=d(e.mfpEl),i.delegate&&(i.items=t.find(i.delegate)),f.open(i)}},updateStatus:function(e,t){var i;f.preloader&&(n!==e&&f.container.removeClass("mfp-s-"+n),i={status:e,text:t=t||"loading"!==e?t:f.st.tLoading},h("UpdateStatus",i),e=i.status,f.preloader.html(t=i.text),f.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),f.container.addClass("mfp-s-"+e),n=e)},_checkIfClose:function(e){if(!d(e).hasClass(b)){var t=f.st.closeOnContentClick,i=f.st.closeOnBgClick;if(t&&i)return!0;if(!f.content||d(e).hasClass("mfp-close")||f.preloader&&e===f.preloader[0])return!0;if(e===f.content[0]||d.contains(f.content[0],e)){if(t)return!0}else if(i&&d.contains(document,e))return!0;return!1}},_addClassToMFP:function(e){f.bgOverlay.addClass(e),f.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),f.wrap.removeClass(e)},_hasScrollBar:function(e){return(f.isIE7?m.height():document.body.scrollHeight)>(e||C.height())},_setFocus:function(){(f.st.focus?f.content.find(f.st.focus).eq(0):f.wrap).focus()},_onFocusIn:function(e){return e.target===f.wrap[0]||d.contains(f.wrap[0],e.target)?void 0:(f._setFocus(),!1)},_parseMarkup:function(a,e,t){var s;t.data&&(e=d.extend(t.data,e)),h(v,[a,e,t]),d.each(e,function(e,t){if(void 0===t||!1===t)return!0;var i,n;1<(s=e.split("_")).length?0<(i=a.find(".mfp-"+s[0])).length&&("replaceWith"===(n=s[1])?i[0]!==t[0]&&i.replaceWith(t):"img"===n?i.is("img")?i.attr("src",t):i.replaceWith(d("<img>").attr("src",t).attr("class",i.attr("class"))):i.attr(s[1],t)):a.find(".mfp-"+e).html(t)})},_getScrollbarSize:function(){var e;return void 0===f.scrollbarSize&&((e=document.createElement("div")).style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),f.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)),f.scrollbarSize}},modules:[],open:function(e,t){return s(),(e=e?d.extend(!0,{},e):{}).isObj=!0,e.index=t||0,this.instance.open(e)},close:function(){return d.magnificPopup.instance&&d.magnificPopup.instance.close()},registerModule:function(e,t){t.options&&(d.magnificPopup.defaults[e]=t.options),d.extend(this.proto,t.proto),this.modules.push(e)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},d.fn.magnificPopup=function(e){s();var t,i,n,a=d(this);return"string"==typeof e?"open"===e?(t=w?a.data("magnificPopup"):a[0].magnificPopup,i=parseInt(arguments[1],10)||0,n=t.items?t.items[i]:(n=a,(n=t.delegate?n.find(t.delegate):n).eq(i)),f._openClick({mfpEl:n},a,t)):f.isOpen&&f[e].apply(f,Array.prototype.slice.call(arguments,1
1)):(e=d.extend(!0,{},e),w?a.data("magnificPopup",e):a[0].magnificPopup=e,f.addGroup(a,e)),a};function T(){S&&(x.after(S.addClass(_)).detach(),S=null)}var _,x,S,k="inline";d.magnificPopup.registerModule(k,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){f.types.push(k),c(r+"."+k,function(){T()})},getInline:function(e,t){var i,n,a;return T(),e.src?(i=f.st.inline,(n=d(e.src)).length?((a=n[0].parentNode)&&a.tagName&&(x||(_=i.hiddenClass,x=u(_),_="mfp-"+_),S=n.after(x).detach().removeClass(_)),f.updateStatus("ready")):(f.updateStatus("error",i.tNotFound),n=d("<div>")),e.inlineElement=n):(f.updateStatus("ready"),f._parseMarkup(t,{},e),t)}}});function E(){P&&d(document.body).removeClass(P)}function z(){E(),f.req&&f.req.abort()}var P,M="ajax";d.magnificPopup.registerModule(M,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){f.types.push(M),P=f.st.ajax.cursor,c(r+"."+M,z),c("BeforeChange.ajax",z)},getAjax:function(n){P&&d(document.body).addClass(P),f.updateStatus("loading");var e=d.extend({url:n.src,success:function(e,t,i){e={data:e,xhr:i};h("ParseAjax",e),f.appendContent(d(e.data),M),n.finished=!0,E(),f._setFocus(),setTimeout(function(){f.wrap.addClass(y)},16),f.updateStatus("ready"),h("AjaxContentAdded")},error:function(){E(),n.finished=n.loadError=!0,f.updateStatus("error",f.st.ajax.tError.replace("%url%",n.src))}},f.st.ajax.settings);return f.req=d.ajax(e),""}}});var I;d.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var e=f.st.image,t=".image";f.types.push("image"),c("Open"+t,function(){"image"===f.currItem.type&&e.cursor&&d(document.body).addClass(e.cursor)}),c(r+t,function(){e.cursor&&d(document.body).removeClass(e.cursor),C.off("resize.mfp")}),c("Resize"+t,f.resizeImage),f.isLowIE&&c("AfterChange",f.resizeImage)},resizeImage:function(){var e,t=f.currItem;t&&t.img&&f.st.image.verticalFit&&(e=0,f.isLowIE&&(e=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",f.wH-e))},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,I&&clearInterval(I),e.isCheckingImgSize=!1,h("ImageHasSize",e),e.imgHidden)&&(f.content&&f.content.removeClass("mfp-loading"),e.imgHidden=!1)},findImageSize:function(t){function i(e){I&&clearInterval(I),I=setInterval(function(){return 0<a.naturalWidth?void f._onImageHasSize(t):(200<n&&clearInterval(I),void(3===++n?i(10):40===n?i(50):100===n&&i(500)))},e)}var n=0,a=t.img[0];i(1)},getImage:function(e,t){function i(){e&&(e.img[0].complete?(e.img.off(".mfploader"),e===f.currItem&&(f._onImageHasSize(e),f.updateStatus("ready")),e.hasSize=!0,e.loaded=!0,h("ImageLoadComplete")):++s<200?setTimeout(i,100):n())}function n(){e&&(e.img.off(".mfploader"),e===f.currItem&&(f._onImageHasSize(e),f.updateStatus("error",o.tError.replace("%url%",e.
vendor: 4,646 bytes, line 1
1src))),e.hasSize=!0,e.loaded=!0,e.loadError=!0)}var a,s=0,o=f.st.image,r=t.find(".mfp-img");return r.length&&((a=document.createElement("img")).className="mfp-img",e.el&&e.el.find("img").length&&(a.alt=e.el.find("img").attr("alt")),e.img=d(a).on("load.mfploader",i).on("error.mfploader",n),a.src=e.src,r.is("img")&&(e.img=e.img.clone()),0<(a=e.img[0]).naturalWidth?e.hasSize=!0:a.width||(e.hasSize=!1)),f._parseMarkup(t,{title:(e=>{if(e.data&&void 0!==e.data.title)return e.data.title;var t=f.st.image.titleSrc;if(t){if(d.isFunction(t))return t.call(f,e);if(e.el)return e.el.attr(t)||""}return""})(e),img_replaceWith:e.img},e),f.resizeImage(),e.hasSize?(I&&clearInterval(I),e.loadError?(t.addClass("mfp-loading"),f.updateStatus("error",o.tError.replace("%url%",e.src))):(t.removeClass("mfp-loading"),f.updateStatus("ready"))):(f.updateStatus("loading"),e.loading=!0,e.hasSize||(e.imgHidden=!0,t.addClass("mfp-loading"),f.findImageSize(e))),t}}});function O(e){var t;f.currTemplate[j]&&(t=f.currTemplate[j].find("iframe")).length&&(e||(t[0].src="//about:blank"),f.isIE8)&&t.css("display",e?"block":"none")}function $(e){var t=f.items.length;return t-1<e?e-t:e<0?t+e:e}function N(e,t,i){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,i)}d.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,t,i,n,a,s,o=f.st.zoom;o.enabled&&f.supportsTransition&&(n=o.duration,a=function(e){var e=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),t="all "+o.duration/1e3+"s "+o.easing,i={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},n="transition";return i["-webkit-"+n]=i["-moz-"+n]=i["-o-"+n]=i[n]=t,e.css(i),e},s=function(){f.content.css("visibility","visible")},c("BuildControls.zoom",function(){f._allowZoom()&&(clearTimeout(t),f.content.css("visibility","hidden"),(e=f._getItemToZoom())?((i=a(e)).css(f._getOffset()),f.wrap.append(i),t=setTimeout(function(){i.css(f._getOffset(!0)),t=setTimeout(function(){s(),setTimeout(function(){i.remove(),e=i=null,h("ZoomAnimationEnded")},16)},n)},16)):s())}),c(l+".zoom",function(){if(f._allowZoom()){if(clearTimeout(t),f.st.removalDelay=n,!e){if(!(e=f._getItemToZoom()))return;i=a(e)}i.css(f._getOffset(!0)),f.wrap.append(i),f.content.css("visibility","hidden"),setTimeout(function(){i.css(f._getOffset())},16)}}),c(r+".zoom",function(){f._allowZoom()&&(s(),i&&i.remove(),e=null)}))},_allowZoom:function(){return"image"===f.currItem.type},_getItemToZoom:function(){return!!f.currItem.hasSize&&f.currItem.img},_getOffset:function(e){var e=e?f.currItem.img:f.st.zoom.opener(f.currItem.el||f.currItem),t=e.offset(),i=parseInt(e.css("padding-top"),10),n=parseInt(e.css("padding-bottom"),10),e=(t.top-=d(window).scrollTop()-i,{width:e.width(),height:(w?e.innerHeight():e[0].offsetHeight)-n-i});return(L=void 0===L?void 0!==document.createElement("p").style.MozTransform:L)?e["-moz-transform"]=e.transform="translate("+t.left+"px,"+t.top+"px)":(e.left=t.left,e.top=t.top),e}}});var L,j="iframe",D=(d.magnificPopup.registerModule(j,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){f.types.push(j),c("BeforeChange",function(e,t,i){t!==i&&(t===j?O():i===j&&O(!0))}),c(r+"."+j,function(){O()})},getIframe:function(e,t){var i=e.src,n=f.st.iframe,a=(d.each(n.patterns,function(){return-1<i.indexOf(this.index)?(this.id&&(i="string"==typeof this.id?i.substr(i.lastIndexOf(this.id)+this.id.length,i.length):this.id.call(this,i)),i=this.src.replace("%id%",i),!1):void 0}),{});return n.srcAction&&(a[n.srcAction]=i),f._parseMarkup(t,a,e),f.updateStatus("ready"),t}}}),d.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var s=f.st.gallery,e=".mfp-gallery";return f.direction=!0,!(!s||!s.enabled)&&(g+=" mfp-gallery",c("Open"+e,function(){s.navigateByImgClick&&f.wrap.on("click"+e,".mfp-img",function(){return 1<f.items.length?(f.next(),!1):void 0}
1),m.on("keydown"+e,function(e){37===e.keyCode?f.prev():39===e.keyCode&&f.next()})}),c("UpdateStatus"+e,function(e,t){t.text&&(t.text=N(t.text,f.currItem.index,f.items.length))}),c(v+e,function(e,t,i,n){var a=f.items.length;i.counter=1<a?N(s.tCounter,n.index,a):""}),c("BuildControls"+e,function(){var e,t;1<f.items.length&&s.arrows&&!f.arrowLeft&&(t=s.arrowMarkup,e=f.arrowLeft=d(t.replace(/%title%/gi,s.tPrev).replace(/%dir%/gi,"left")).addClass(b),t=f.arrowRight=d(t.replace(/%title%/gi,s.tNext).replace(/%dir%/gi,"right")).addClass(b),e.click(function(){f.prev()}),t.click(function(){f.next()}),f.container.append(e.add(t)))}),c("Change"+e,function(){f._preloadTimeout&&clearTimeout(f._preloadTimeout),f._preloadTimeout=setTimeout(function(){f.preloadNearbyImages(),f._preloadTimeout=null},16)}),void c(r+e,function(){m.off(e),f.wrap.off("click"+e),f.arrowRight=f.arrowLeft=null}))},next:function(){f.direction=!0,f.index=$(f.index+1),f.updateItemHTML()},prev:function(){f.direction=!1,f.index=$(f.index-1),f.updateItemHTML()},goTo:function(e){f.direction=e>=f.index,f.index=e,f.updateItemHTML()},preloadNearbyImages:function(){for(var e=f.st.gallery.preload,t=Math.min(e[0],f.items.length),i=Math.min(e[1],f.items.length),n=1;n<=(f.direction?i:t);n++)f._preloadItem(f.index+n);for(n=1;n<=(f.direction?t:i);n++)f._preloadItem(f.index-n)},_preloadItem:function(e){var t;e=$(e),f.items[e].preloaded||((t=f.items[e]).parsed||(t=f.parseEl(e)),h("LazyLoad",t),"image"===t.type&&(t.img=d('<img class="mfp-img" />').on("load.mfploader",function(){t.hasSize=!0}).on("error.mfploader",function(){t.hasSize=!0,t.loadError=!0,h("LazyLoadError",t)}).attr("src",t.src)),t.preloaded=!0)}}}),"retina");d.magnificPopup.registerModule(D,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){var i,n;1<window.devicePixelRatio&&(i=f.st.retina,n=i.ratio,1<(n=isNaN(n)?n():n))&&(c("ImageHasSize."+D,function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/n,width:"100%"})}),c("ElementParse."+D,function(e,t){t.src=i.replaceSrc(t,n)}))}}}),s()}),window.SEMICOLON_lightboxInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;
1e.each(function(){var e=$(this),t=e.attr("data-lightbox"),i=e.attr("data-close-button")||"outside",n=e.attr("data-disable-under")||600,a=$("body"),i="inside"==i;"image"==t&&e.magnificPopup({type:"image",closeOnContentClick:!0,closeBtnInside:i,fixedContentPos:!0,mainClass:"mfp-no-margins mfp-fade",image:{verticalFit:!0}}),"gallery"==t&&(e.find('a[data-lightbox="gallery-item"]').parent(".clone").hasClass("clone")&&e.find('a[data-lightbox="gallery-item"]').parent(".clone").find('a[data-lightbox="gallery-item"]').attr("data-lightbox",""),e.find('a[data-lightbox="gallery-item"]').parents(".cloned").hasClass("cloned")&&e.find('a[data-lightbox="gallery-item"]').parents(".cloned").find('a[data-lightbox="gallery-item"]').attr("data-lightbox",""),e.magnificPopup({delegate:'a[data-lightbox="gallery-item"]',type:"image",closeOnContentClick:!0,closeBtnInside:i,fixedContentPos:!0,mainClass:"mfp-no-margins mfp-fade",image:{verticalFit:!0},gallery:{enabled:!0,navigateByImgClick:!0,preload:[0,1]}})),"iframe"==t&&e.magnificPopup({disableOn:Number(n),type:"iframe",removalDelay:160,preloader:!1,fixedContentPos:!1}),"inline"==t&&e.magnificPopup({type:"inline",mainClass:"mfp-no-margins mfp-fade",closeBtnInside:i,fixedContentPos:!0,overflowY:"scroll"}),"ajax"==t&&e.magnificPopup({type:"ajax",closeBtnInside:i,autoFocusLast:!1,callbacks:{ajaxContentAdded:function(e){SEMICOLON.widget.loadFlexSlider(),SEMICOLON.initialize.resizeVideos(),SEMICOLON.widget.masonryThumbs()},open:function(){a.addClass("ohidden")},close:function(){a.removeClass("ohidden")}}}),"ajax-gallery"==t&&e.magnificPopup({delegate:'a[data-lightbox="ajax-gallery-item"]',type:"ajax",closeBtnInside:i,autoFocusLast:!1,gallery:{enabled:!0,preload:0,navigateByImgClick:!1},callbacks:{ajaxContentAdded:function(e){SEMICOLON.widget.loadFlexSlider(),SEMICOLON.initialize.resizeVideos(),SEMICOLON.widget.masonryThumbs()},open:function(){a.addClass("ohidden")},close:function(){a.removeClass("ohidden")}}}),e.on("mfpOpen",function(){var e=$.magnificPopup.instance.currItem.el,t=$(e).attr("data-lightbox-class"),e=$(e).attr("data-lightbox-bg-class");""!=t&&$($.magnificPopup.instance.container).addClass(t),""!=e&&$($.magnificPopup.instance.bgOverlay).addClass(e)})})},window.SEMICOLON_modalInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;
1e.each(function(){var e=$(this),t=e.attr("data-target"),i=t.split("#")[1],n=e.attr("data-delay")||500,a=e.attr("data-timeout"),s=e.attr("data-animate-in"),o=e.attr("data-animate-out"),r=e.attr("data-cookies");if("false"==r&&Cookies.remove(i),"true"==r){e=Cookies.get(i);if(void 0!==e&&"0"==e)return!0}n=Number(n)+500,setTimeout(function(){$.magnificPopup.open({items:{src:t},type:"inline",mainClass:"mfp-no-margins mfp-fade",closeBtnInside:!1,fixedContentPos:!0,removalDelay:500,callbacks:{open:function(){""!=s&&$(t).addClass(s+" animated")},beforeClose:function(){""!=o&&$(t).removeClass(s).addClass(o)},afterClose:function(){""==s&&""==o||$(t).removeClass(s+" "+o+" animated"),"true"==r&&Cookies.set(i,"0")}}},0)},n),""!=a&&setTimeout(function(){$.magnificPopup.close()},n+Number(a))})},window.scwLinkScrollPlugin=window.scwLinkScrollPlugin||{},((d,c)=>{function u(e,t,i){var n=m[t.type]||{};return null==e?i||!t.def?null:t.def:(e=n.floor?~~e:parseFloat(e),isNaN(e)?t.def:n.mod?(e+n.mod)%n.mod:e<0?0:n.max<e?n.max:e)}function r(n){var a=p(),s=a._rgba=[];return n=n.toLowerCase(),g(e,function(e,t){var i=t.re.exec(n),i=i&&t.parse(i),t=t.space||"rgba";return i?(i=a[t](i),a[f[t].cache]=i[f[t].cache],s=a._rgba=i._rgba,!1):void 0}),s.length?("0,0,0,0"===s.join()&&d.extend(s,l.transparent),a):l[n]}function a(e,t,i){return 6*(i=(i+1)%1)<1?e+(t-e)*i*6:2*i<1?t:3*i<2?e+(t-e)*(2/3-i)*6:e}var l,h=/^([\-+])=\s*(\d+\.?\d*)/,e=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[2.55*e[1],2.55*e[2],2.55*e[3],e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],p=d.Color=function(e,t,i,n){return new d.Color.fn.parse(e,t,i,n)},f={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},m={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},o=p.support={},t=d("<p>")[0],g=d.each;t.style.cssText="background-color:rgba(1,1,1,.5)",o.rgba=-1<t.style.backgroundColor.indexOf("rgba"),g(f,function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}}),p.fn=d.extend(p.prototype,{parse:function(a,e,t,i){if(a===c)return this._rgba=[null,null,null,null],this;(a.jquery||a.nodeType)&&(a=d(a).css(e),e=c);var s=this,n=d.type(a),o=this._rgba=[];return e!==c&&(a=[a,e,t,i],n="array"),"string"===n?this.parse(r(a)||l._default):"array"===n?(g(f.rgba.props,function(e,t){o[t.idx]=u(a[t.idx],t)}),this):"object"===n?(a instanceof p?g(f,function(e,t){a[t.cache]&&(s[t.cache]=a[t.cache].slice())}):g(f,function(e,i){var n=i.cache;g(i.props,function(e,t){if(!s[n]&&i.to){if("alpha"===e||null==a[e])return;s[n]=i.to(s._rgba)}s[n][t.idx]=u(a[e],t,!0)}),s[n]&&d.inArray(null,s[n].slice(0,3))<0&&(s[n][3]=1,i.from)&&(s._rgba=i.from(s[n]))}),this):void 0},is:function(e){var a=p(e),s=!0,o=this;return g(f,function(e,t){var i,n=a[t.cache];return n&&(i=o[t.cache]||t.to&&t.to(o._rgba)||[],g(t.props,function(e,t){return null!=n[t.idx]?s=n[t.idx]===i[t.idx]:void 0})),s}),s},_space:function(){var i=[],n=this;return g(f,function(e,t){n[t.cache]&&i.push(e)}),i.pop()},transition:function(e,o){var e=(d=p(e))._space(),t=f[e],i=0===this.alpha()?p("transparent"):this,r=i[t.cache]||t.to(i._rgba),l=r.slice(),d=d[t.cache];return g(t.props,function(e,t){var i=t.idx,n=r[i],a=d[i],s=m[t.type]||{};null!==a&&(null===n?l[i]=a:(s.mod&&(a-n>s.mod/2?n+=s.mod:n-a>s.mod/2&&(n-=s.mod)),l[i]=u((a-n)*o+n,t)))}),this[e](l)},blend:function(e){var t,i,n;return 1===this._rgba[3]?this:(t=this._rgba.slice(),i=t.pop(),n=p(e)._rgba,p(d.map(t,function(e,t){return(1-i)*n[t]+i*e})))},toRgbaString:function(){var e="rgba(",t=d.map(this._rgba,function(e,t){return null==e?2<t?1:0:e});return 1===t[3]&&(t.pop(),e="rgb("),e+t.join()+")"},toHslaString:function(){var e="hsla(",t=d.map(this.hsla(),function(e,t){return null==e&&(e=2<t?1:0),e=t&&t<3?Math.round(100*e)+"%":e});return 1===t[3]&&(t.pop(),e="hsl("),e+t.join()+")"},toHexString:function(e){var t=this._rgba.slice(),i=t.pop();return e&&t.push(~~(255*i)),"#"+d.map(t,function(e){return 1===(e=(e||0).toString(16)).length?"0"+e:e}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),p.fn.parse.prototype=p.fn,f.hsla.to=function(e){var t,i,n,a,s,o,r,l;return null==e[0]||null==e[1]||null==e[2]?[null,null,null,e[3]]:(t=e[0]/255,i=e[1]/255,n=e[2]/255,e=e[3],r=.5*(l=(a=Math.max(t,i,n))+(s=Math.min(t,i,n))),l=0==(o=a-s)?0:r<=.5?o/l:o/(2-l),[Math.round(s===a?0:t===a?60*(i-n)/o+360:i===a?60*(n-t)/o+120:60*(t-i)/o+240)%360,l,r,null==e?1:e])},f.hsla.from=function(e){var t,i,n;return null==e[0]||null==e[1]||null==e[2]?[null,null,null,e[3]]:(t=e[0]/360,n=e[1],i=e[3],n=2*(e=e[2])-(e=e<=.5?e*(1+n):e+n-e*n),[Math.round(255*a(n,e,t+1/3)),Math.round(255*a(n,e,t)),Math.round(255*a(n,e,t-1/3)),i])},g(f,function(r,e){var t=e.props,s=e.cache,o=e.to,l=e.from;p.fn[r]=function(e){var i,n,a;return o&&!this[s]&&(this[s]=o(this._rgba)),e===c?this[s].slice():(i=d.type(e),n="array"===i||"object"===i?e:arguments,a=this[s].slice(),g(t,function(e,t){e=n["object"===i?e:t.idx];null==e&&(e=a[t.idx]),a[t.idx]=u(e,t)}),l?((e=p(l(a)))[s]=a,e):p(a))},g(t,function(s,o){p.fn[s]||(p.fn[s]=function(e){var t=d.type(e),i="alpha"===s?this._hsla?"hsla":"rgba":r,n=this[i](),a=n[o.idx];return"undefined"===t?a:("function"===t&&(e=e.call(this,a),t=d.type(e)),null==e&&o.empty?this:("string"===t&&(t=h.exec(e))&&(e=a+parseFloat(t[2])*("+"===t[1]?1:-1)),n[o.idx]=e,this[i](n)))})})}),p.hook=function(e){e=e.split(" ");g(e,function(e,s){d.cssHooks[s]={set:function(e,t){var i,n,a="";if("transparent"!==t&&("string"!==d.type(t)||(i=r(t)))){if(t=p(i||t),!o.rgba&&1!==t._rgba[3]){for(n="backgroundColor"===s?e.parentNode:e;(""===a||"transparent"===a)&&n&&n.style;)try{a=d.css(n,"backgroundColor"),n=n.parentNode}catch(e){}t=t.blend(a&&"transparent"!==a?a:"_default")}t=t.toRgbaString()}try{e.style[s]=t}catch(e){}}},d.fx.step[s]=function(e){e.colorInit||(e.start=p(e.elem,s),e.end=p(e.end),e.colorInit=!0),d.cssHooks[s].set(e.elem,e.start.transition(e.end,e.pos))}})},p.hook("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"),d.cssHooks.borderColor={expand:function(i){var n={};return g(["Top","Right","Bottom","Left"],function(e,t){n["border"+t+"Color"]=i}),n}},l=d.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}})(jQuery),window.SEMICOLON_linkScrollInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;
1e.off("click").on("click",function(){var e=$(this),t=e.attr("data-scrollto"),i=e.attr("data-speed"),n=e.attr("data-offset"),a=e.attr("data-easing"),s=e.attr("data-highlight");return!!e.parents(".primary-menu").hasClass("on-click")||(i=i||750,n=n||SEMICOLON.initialize.topScrollOffset(),a=a||"easeOutQuad",$("html,body").stop(!0).animate({scrollTop:$(t).offset().top-Number(n)},Number(i),a,function(){s&&(0<$(t).find(".highlight-me").length?($(t).find(".highlight-me").animate({backgroundColor:s},300),setTimeout(function(){$(t).find(".highlight-me").animate({backgroundColor:"transparent"},300)},500)):($(t).animate({backgroundColor:s},300),setTimeout(function(){$(t).animate({backgroundColor:"transparent"},300)},500)))}),!1)})},window.scwMasonryThumbsPlugin=window.scwMasonryThumbsPlugin||{},window.SEMICOLON_masonryThumbsInit=function(e){if(e.length<1)return!0;$("body");e.each(function(){var e=$(this),t=e.attr("data-big"),i=(e.children().css({width:""}),e.children().eq(0).outerWidth());if(e.filter(".has-init-isotope").isotope({masonry:{columnWidth:i}}),t)for(var n,t=t.split(","),a="",a=0;a<t.length;a++)n=Number(t[a])-1,e.children().eq(n).addClass("grid-item-big");e.find(".grid-item-big").css({width:2*i+"px"}),setTimeout(function(){e.filter(".has-init-isotope").isotope("layout")},500)})},window.scwNavTreePlugin=window.scwNavTreePlugin||{},window.SEMICOLON_navtreeInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){var i=$(this),n=i.attr("data-speed")||250,a=i.attr("data-easing")||"swing";i.find("ul li:has(ul)").addClass("sub-menu"),i.hasClass("on-hover")?i.find("ul li:has(ul):not(.active)").hover(function(e){$(this).children("ul").stop(!0,!0).slideDown(Number(n),a)},function(){$(this).children("ul").delay(250).slideUp(Number(n),a)}):i.find("ul li:has(ul) > a").off("click").on("click",function(e){var t=$(this);i.find("ul li").not(t.parents()).removeClass("active"),t.parent().children("ul").slideToggle(Number(n),a,function(){$(this).find("ul").hide(),$(this).find("li.active").removeClass("active")}),i.find("ul li > ul").not(t.parent().children("ul")).not(t.parents("ul")).slideUp(Number(n),a),t.parent("li:has(ul)").toggleClass("active"),e.preventDefault()})})},("function"==typeof define&&define.amd?define:function(e,t){"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):window.toastr=t(window.jQuery)})(["jquery"],function(v){return x=0,a="error",s="info",r="success",l="warning",e={clear:function(e,t){var i=w();if(T||y(i),!o(e,i,t))for(var n=i,a=T.children(),s=a.length-1;0<=s;s--)o(v(a[s]),n)},remove:function(e){var t=w();return T||y(t),e&&0===v(":focus",e).length?void C(e):void(T.children().length&&T.remove())},error:function(e,t,i){return n({type:a,iconClass:w().iconClasses.error,message:e,optionsOverride:i,title:t})},getContainer:y,info:function(e,t,i){return n({type:s,iconClass:w().iconClasses.info,message:e,optionsOverride:i,title:t})},options:{},subscribe:function(e){t=e},success:function(e,t,i){return n({type:r,iconClass:w().iconClasses.success,message:e,optionsOverride:i,title:t})},version:"2.1.4",warning:function(e,t,i){return n({type:l,iconClass:w().iconClasses.warning,message:e,optionsOverride:i,title:t})}};function y(e,t){return e=e||w(),(T=v("#"+e.containerId)).length||t&&(t=e,(T=v("<div/>").attr("id",t.containerId).addClass(t.positionClass)).appendTo(v(t.target))),T}function o(e,t,i){i=!(!i||!i.force)&&i.force;return e&&(i||0===v(":focus",e).length)&&(e[t.hideMethod]({duration:t.hideDuration,easing:t.hideEasing,complete:function(){C(e)}}),1)}function b(e){t&&t(e)}function n(i){function n(e){return(e=null==e?"":e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function e(){i.iconClass&&l.addClass(m.toastClass).addClass(g),i.title&&(e=i.title,m.escapeHtml&&(e=n(i.title)),d.append(e).addClass(m.titleClass),l.append(d)),i.message&&(e=i.message,m.escapeHtml&&(e=n(i.message)),c.append(e).addClass(m.messageClass),l.append(c)),m.closeButton&&(h.addClass(m.closeClass).attr("role","button"),l.prepend(h)),m.progressBar&&(u.addClass(m.progressClass),l.prepend(u)),m.rtl&&l.addClass("rtl"),m.newestOnTop?T.prepe
1nd(l):T.append(l);var e,t="";switch(i.iconClass){case"toast-success":case"toast-info":t="polite";break;default:t="assertive"}l.attr("aria-live",t)}function t(e){var t=e&&!1!==m.closeMethod?m.closeMethod:m.hideMethod,i=e&&!1!==m.closeDuration?m.closeDuration:m.hideDuration,n=e&&!1!==m.closeEasing?m.closeEasing:m.hideEasing;return!v(":focus",l).length||e?(clearTimeout(p.intervalId),l[t]({duration:i,easing:n,complete:function(){C(l),clearTimeout(r),m.onHidden&&"hidden"!==f.state&&m.onHidden(),f.state="hidden",f.endTime=new Date,b(f)}})):void 0}function a(){(0<m.timeOut||0<m.extendedTimeOut)&&(r=setTimeout(t,m.extendedTimeOut),p.maxHideTime=parseFloat(m.extendedTimeOut),p.hideEta=(new Date).getTime()+p.maxHideTime)}function s(){clearTimeout(r),p.hideEta=0,l.stop(!0,!0)[m.showMethod]({duration:m.showDuration,easing:m.showEasing})}function o(){var e=(p.hideEta-(new Date).getTime())/p.maxHideTime*100;u.width(e+"%")}var r,l,d,c,u,h,p,f,m=w(),g=i.iconClass||m.iconClass;if(void 0!==i.optionsOverride&&(m=v.extend(m,i.optionsOverride),g=i.optionsOverride.iconClass||g),!((e,t)=>{if(e.preventDuplicates){if(t.message===_)return 1;_=t.message}})(m,i))return x++,T=y(m,!0),r=null,l=v("<div/>"),d=v("<div/>"),c=v("<div/>"),u=v("<div/>"),h=v(m.closeHtml),p={intervalId:null,hideEta:null,maxHideTime:null},f={toastId:x,state:"visible",startTime:new Date,options:m,map:i},e(),l.hide(),l[m.showMethod]({duration:m.showDuration,easing:m.showEasing,complete:m.onShown}),0<m.timeOut&&(r=setTimeout(t,m.timeOut),p.maxHideTime=parseFloat(m.timeOut),p.hideEta=(new Date).getTime()+p.maxHideTime,m.progressBar)&&(p.intervalId=setInterval(o,10)),m.closeOnHover&&l.hover(s,a),!m.onclick&&m.tapToDismiss&&l.click(t),m.closeButton&&h&&h.click(function(e){e.stopPropagation?e.stopPropagation():void 0!==e.cancelBubble&&!0!==e.cancelBubble&&(e.cancelBubble=!0),m.onCloseClick&&m.onCloseClick(e),t(!0)}),m.onclick&&l.click(function(e){m.onclick(e),t()}),b(f),m.debug&&console&&console.log(f),l}function w(){return v.extend({},{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:void 0,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:void 0,closeMethod:!1,closeDuration:!1,closeEasing:!1,closeOnHover:!0,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",escapeHtml:!1,target:"body",closeHtml:'<button type="button">&times;</button>',closeClass:"toast-close-button",newestOnTop:!0,preventDuplicates:!1,progressBar:!1,progressClass:"toast-progress",rtl:!1},e.options)}function C(e){T=T||y(),e.is(":visible")||(e.remove(),e=null,0===T.children().length&&(T.remove(),_=void 0))}var T,t,_,x,a,s,r,l,e}),window.SEMICOLON_notificationInit=function(e){e=e.filter(":not(.customjs)"),toastr.remove();var t=e.attr("data-notify-position")||"top-right",i=e.attr("data-notify-type"),n=e.attr("data-notify-msg")||"Please set a message!",a=e.attr("data-notify-timeout")||5e3,t="toast-"+t,e="true"==(e=e.attr("data-notify-close"));return toastr.options.positionClass=t,toastr.options.timeOut=Number(a),toastr.options.closeButton=e,toastr.options.closeHtml='<button><i class="icon-remove"></i></button>',"warning"==i?toastr.warning(n):"error"==i?toastr.error(n):"success"==i?toastr.success(n):toastr.info(n),!1},window.scwOnePageModulePlugin=window.scwOnePageModulePlugin||{};var $onePageMenu,windowEl=$(window),windowWidth=windowEl.width(),$body=$("body"),$pageSectionEl,locationHash=location.hash,onePageMenuActiveClass;function sm_format_twitter(e){for(var t=[],i=0;i<e.length;
1i++){var n=e[i].user.screen_name,a=e[i].user.name,s=e[i].user.profile_image_url_https,o=e[i].text.replace(/((https?|s?ftp|ssh)\:\/\/[^"\s\<\>]*[^.,;'">\:\s\<\>\)\]\!])/g,function(e){return'<a href="'+e+'" target="_blank">'+e+"</a>"}).replace(/\B@([_a-z0-9]+)/gi,function(e){return e.charAt(0)+'<a href="https://twitter.com/'+e.substring(1)+'" target="_blank">'+e.substring(1)+"</a>"});t.push('<li><i class="icon-twitter"></i><a href="https://twitter.com/'+n+'" class="twitter-avatar" target="_blank"><img src="'+s+'" alt="'+a+'" title="'+a+'"></a><span>'+o+'</span><small><a href="https://twitter.com/'+n+"/statuses/"+e[i].id_str+'" target="_blank">'+relative_time(e[i].created_at)+"</a></small></li>")}return t.join("")}function sm_format_twitter2(e){for(var t=[],i=0;i<e.length;i++){var n=e[i].user.screen_name,a=e[i].text.replace(/((https?|s?ftp|ssh)\:\/\/[^"\s\<\>]*[^.,;'">\:\s\<\>\)\]\!])/g,function(e){return'<a href="'+e+'" target="_blank">'+e+"</a>"}).replace(/\B@([_a-z0-9]+)/gi,function(e){return e.charAt(0)+'<a href="https://twitter.com/'+e.substring(1)+'" target="_blank">'+e.substring(1)+"</a>"});t.push('<div class="slide"><span>'+a+'</span><small><a href="https://twitter.com/'+n+"/statuses/"+e[i].id_str+'" target="_blank">'+relative_time(e[i].created_at)+"</a></small></div>")}return t.join("")}function sm_format_twitter3(e){for(var t=[],i=0;i<e.length;
1i++){var n=e[i].user.screen_name,a=e[i].text.replace(/((https?|s?ftp|ssh)\:\/\/[^"\s\<\>]*[^.,;'">\:\s\<\>\)\]\!])/g,function(e){return'<a href="'+e+'" target="_blank">'+e+"</a>"}).replace(/\B@([_a-z0-9]+)/gi,function(e){return e.charAt(0)+'<a href="https://twitter.com/'+e.substring(1)+'" target="_blank">'+e.substring(1)+"</a>"});t.push('<div class="slide"><div class="testi-content"><p>'+a+'</p><div class="testi-meta"><span><a href="https://twitter.com/'+n+"/statuses/"+e[i].id_str+'" target="_blank">'+relative_time(e[i].created_at)+"</a></span></div></div></div>")}return t.join("")}function relative_time(e){var t=e.split(" "),t=(e=t[1]+" "+t[2]+", "+t[5]+" "+t[3],Date.parse(e)),e=1<arguments.length?arguments[1]:new Date,t=parseInt((e.getTime()-t)/1e3);return(t+=60*e.getTimezoneOffset())<60?"less than a minute ago":t<120?"about a minute ago":t<3600?parseInt(t/60).toString()+" minutes ago":t<7200?"about an hour ago":t<86400?"about "+parseInt(t/3600).toString()+" hours ago":t<172800?"1 day ago":parseInt(t/86400).toString()+" days ago"}window.SEMICOLON_onePageModule=function(a){if(($onePageMenu=a.filter(":not(.customjs)")).length<1)return!0;var i;0<$('a[data-href="'+locationHash+'"]').parents(".one-page-menu").length&&(windowEl.on("beforeunload",function(){windowEl.scrollTop(0)}),windowEl.scrollTop(0),0<(i=$(locationHash)).length)&&setTimeout(function(){var e=i.offset().top,t=JSON.parse(i.attr("data-onepage-settings"));$("html,body").stop(!0,!0).animate({scrollTop:e-Number(t.offset)},t.speed,t.easing)},1200),windowEl.scrollEnd(function(){SEMICOLON_onePageScroller()},500),$onePageMenu.each(function(){var n=$(this),e=(onePageMenuActiveClass=n.attr("data-active-class")||"current",($onePageMenu=n).hasClass("no-offset")&&(elOff
1set=0),n.find("a[data-href]"));e.each(function(){var e=$(this).attr("data-href"),t=$(e),i=SEMICOLON_onePageSettings(e,$('a[data-href="'+e+'"]'));0<t.length&&setTimeout(function(){t.attr("data-onepage-settings",JSON.stringify(i)),$pageSectionEl=$("[data-onepage-settings]")},1e3)}),e.off("click").on("click",function(){var t,e=$(this).attr("data-href"),i=$(e);return 0<i.length&&(t=JSON.parse(i.attr("data-onepage-settings")),n.find("li").removeClass(onePageMenuActiveClass),n.find('a[data-href="'+e+'"]').parent("li").addClass(onePageMenuActiveClass),(windowWidth<992||$body.hasClass("overlay-menu"))&&(a.parents(".primary-menu").filter(":not(.mobile-menu-off-canvas)").find(".menu-container").stop(!0,!0).slideUp(200),$("#page-menu").toggleClass("page-menu-open",!1),$body.toggleClass("primary-menu-open",!1)),setTimeout(function(){var e=i.offset().top;$("html,body").stop(!0,!0).animate({scrollTop:e-Number(t.offset)},Number(t.speed),t.easing)},250)),!1})})},window.SEMICOLON_onePageScroller=function(){$onePageMenu.find("[data-href]").parent().removeClass(onePageMenuActiveClass),$onePageMenu.find('[data-href="#'+SEMICOLON_onePageCurrentSection()+'"]').parent().addClass(onePageMenuActiveClass)},window.SEMICOLON_onePageCurrentSection=function(){var a;return void 0===$pageSectionEl||($pageSectionEl.each(function(e){var t=$(this),i=JSON.parse(t.attr("data-onepage-settings")),i=t.offset().top-i.offset-5,n=windowEl.scrollTop();i<=n&&n<i+t.height()&&t.attr("id")!=a&&(a=t.attr("id"))}),a)},window.SEMICOLON_onePageSettings=function(e,t){var i,n,a,s,o,r,l,d;return"undefined"===e&&t.length<1||(i={},s=(n=t).parents(".one-page-menu"),$(e).offset().top,e=n.attr("data-speed"),a=n.attr("data-offset"),n=n.attr("data-easing"),e=e||s.attr("data-speed")||1250,n=n||s.attr("data-easing")||"easeOutQuad",a=a||(t=s).attr("data-offset")||SEMICOLON.initialize.topScrollOffset(),s=t.attr("data-offset-xxl"),o=t.attr("data-offset-xl"),r=t.attr("data-offset-lg"),l=t.attr("data-offset-md"),d=t.attr("data-offset-sm"),t=t.attr("data-offset-xs"),s=s||Number(a),o=o||Number(s),r=r||Number(o),l=l||Number(r),d=d||Number(l),t=t||Number(d),$body.hasClass("device-xxl")?a=s:$body.hasClass("device-xl")?a=o:$body.hasClass("device-lg")?a=r:$body.hasClass("device-md")?a=l:$body.hasClass("device-sm")?a=d:$body.hasClass("device-xs")&&(a=t),i.offset=a,i.speed=e,i.easing=n,i)},(e=>{"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)})(function(r){var s=!1,l=(r(window).on("load",function(){s=!0}),"animsition"),d={init:function(a){a=r.extend({inClass:"fade-in",outClass:"fade-out",inDuration:1500,outDuration:800,linkElement:".animsition-link",loading:!0,loadingParentElement:"body",loadingClass:"animsition-loading",loadingInner:"",timeout:!1,timeoutCountdown:5e3,onLoadEvent:!0,browser:["animation-duration","-webkit-animation-duration"],overlay:!1,overlayClass:"animsition-overlay-slide",overlayParentElement:"body",transition:function(e){window.location.href=e}},a),d.settings={timer:!1,data:{inClass:"animsition-in-class",inDuration:"animsition-in-duration",outClass:"animsition-out-class",outDuration:"animsition-out-duration",overlay:"animsition-overlay"},events:{inStart:"animsition.inStart",inEnd:"animsition.inEnd",outStart:"animsition.outStart",outEnd:"animsition.outEnd"}};var e=d.supportCheck.call(this,a);return e||!(0<a.browser.length)||e&&this.length?(d.optionCheck.call(this,a)&&r("."+a.overlayClass).length<=0&&d.addOverlay.call(this,a),a.loading&&r("."+a.loadingClass).length<=0&&d.addLoading.call(this,a),this.each(function(){var n=this,e=r(this),t=r(window),i=r(document);e.data(l)||(a=r.extend({},a),e.data(l,{options:a}),a.timeout&&d.addTimer.call(n),a.onLoadEvent&&(s?(d.settings.timer&&clearTimeout(d.settings.timer),d.in.call(n)):t.on("load."+l,function(){d.settings.timer&&clearTimeout(d.settings.timer),d.in.call(n)})),t.on("pageshow."+l,function(e){e.originalEvent.persisted&&d.in.call(n)}),t.on("unload."+l,function(){}),i.on("click."+l,a.linkElement,function(e){e.preventDefault();var t=r(this),i=t.attr("href");2===e.which||e.metaKey||e.shiftKey||-1!==navigator.platform.toUpperCase().indexOf("WIN")&&e.ctrlKey?window.open(i,"_blank"):d.out.call(n,t,i)}))})):("console"in window||(window.console={},window.console.log=function(e){return e}),this.length||console.log("Animsition: Element does not exist on page."),e||console.log("Animsition: Does not support this browser."),d.destroy.call(this))},addOverlay:function(e){r(e.overlayParentElement).prepend('<div class="'+e.overlayClass+'"></div>')},addLoading:function(e){r(e.loadingParentElement).append('<div class="'+e.loadingClass+'">'+e.loadingInner+"</div>")},removeLoading:function(){var e=r(this).data(l).options;r(e.loadingParentElement).children("."+e.loadingClass).fadeOut().remove()},addTimer:function(){var e=this,t=r(this).data(l).options;d.settings.timer=setTimeout(function(){d.in.call(e),r(window).off("load."+l)},t.timeoutCountdown)},supportCheck:function(e){var t=r(this),i=e.browser,n=i.length,a=!1;0===n&&(a=!0);for(var s=0;s<n;s++)if("string"==typeof t.css(i[s])){a=!0;break}return a},optionCheck:function(e){var t=r(this);return!(!e.overlay&&!t.data(d.settings.data.overlay))},animationCheck:function(e,t,i){var n=r(this).data(l).options,a=typeof e,s=t&&"string"==a&&0<e.length;return!t&&"number"==a||s||(t&&i?e=n.inClass:!t&&i?e=n.inDuration:t&&!i?e=n.outClass:t||i||(e=n.outDuration)),e},in:function(){var e=r(this),t=e.data(l).options,i=e.data(d.settings.data.inDuration),n=e.data(d.settings.data.inClass),i=d.animationCheck.call(this,i,!1,!0),n=d.animationCheck.call(this,n,!0,!0),a=d.optionCheck.call(this,t),s=e.data(l).outClass;t.loading&&d.removeLoading.call(this),s&&e.removeClass(s),(a?d.inOverlay:d.inDefault).
1call(this,n,i)},inDefault:function(e,t){var i=r(this);i.css({"animation-duration":t+"ms"}).addClass(e).trigger(d.settings.events.inStart).animateCallback(function(){i.removeClass(e).css({opacity:1}).trigger(d.settings.events.inEnd)})},inOverlay:function(e,t){var i=r(this),n=i.data(l).options;i.css({opacity:1}).trigger(d.settings.events.inStart),r(n.overlayParentElement).children("."+n.overlayClass).css({"animation-duration":t+"ms"}).addClass(e).animateCallback(function(){i.trigger(d.settings.events.inEnd)})},out:function(e,t){var i=r(this),n=i.data(l).options,a=e.data(d.settings.data.outClass),s=i.data(d.settings.data.outClass),e=e.data(d.settings.data.outDuration),o=i.data(d.settings.data.outDuration),e=e||o,o=d.animationCheck.call(this,a||s,!0,!1),a=d.animationCheck.call(this,e,!1,!1),s=d.optionCheck.call(this,n);i.data(l).outClass=o,(s?d.outOverlay:d.outDefault).call(this,o,a,t)},outDefault:function(e,t,i){var n=r(this),a=n.data(l).options;n.css({"animation-duration":t+1+"ms"}).addClass(e).trigger(d.settings.events.outStart).animateCallback(function(){n.trigger(d.settings.events.outEnd),a.transition(i)})},outOverlay:function(e,t,i){var n=r(this),a=n.data(l).options,s=n.data(d.settings.data.inClass),s=d.animationCheck.call(this,s,!0,!0);r(a.overlayParentElement).children("."+a.overlayClass).css({"animation-duration":t+1+"ms"}).removeClass(s).addClass(e).trigger(d.settings.events.outStart).animateCallback(function(){n.trigger(d.settings.events.outEnd),a.transition(i)})},destroy:function(){return this.each(function(){var e=r(this);r(window).off("."+l),e.css({opacity:1}).removeData(l)})}};r.fn.animateCallback=function(t){var i="animationend webkitAnimationEnd";return this.each(function(){var e=r(this);e.on(i,function(){return e.off(i),t.call(this)})})},r.fn.animsition=function(e){return d[e]?d[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void r.error("Method "+e+" does not exist on jQuery."+l):d.init.apply(this,arguments)}}),window.SEMICOLON_pageTransitionInit=function(e){var t=$("body"),i=$("#wrapper");if(t.hasClass("no-transition"))return!0;if(!t.hasClass("page-transition"))return!0;if(!$().animsition)return t.addClass("no-transition"),console.log("pageTransition: Animsition not Defined."),!0;window.onpageshow=function(e){e.persisted&&window.location.reload()};var n=t.attr("data-animation-in")||"fadeIn",a=t.attr("data-animation-out")||"fadeOut",s=t.attr("data-speed-in")||1500,o=t.attr("data-speed-out")||800,r=!1,l=t.attr("data-loader-timeout"),d=t.attr("data-loader"),c=t.attr("data-loader-color"),t=t.attr("data-loader-html")||'<div class="css3-spinner-bounce1"></div><div class="css3-spinner-bounce2"></div><div class="css3-spinner-bounce3"></div>',u="",h="",p="",f="",m="",g="",l=l?(r=!0,Number(l)):r=!1;c&&("theme"==c?(f=" bg-color",m=' class="bg-color"',g=' class="border-color"'):(h=' style="background-color:'+c+';"',p=' style="border-color:'+c+';"'),u='<div class="css3-spinner-bounce1'+f+'"'+h+'></div><div class="css3-spinner-bounce2'+f+'"'+h+'></div><div class="css3-spinner-bounce3'+f+'"'+h+"></div>
1"),"2"==d?u='<div class="css3-spinner-flipper'+f+'"'+h+"></div>":"3"==d?u='<div class="css3-spinner-double-bounce1'+f+'"'+h+'></div><div class="css3-spinner-double-bounce2'+f+'"'+h+"></div>":"4"==d?u='<div class="css3-spinner-rect1'+f+'"'+h+'></div><div class="css3-spinner-rect2'+f+'"'+h+'></div><div class="css3-spinner-rect3'+f+'"'+h+'></div><div class="css3-spinner-rect4'+f+'"'+h+'></div><div class="css3-spinner-rect5'+f+'"'+h+"></div>":"5"==d?u='<div class="css3-spinner-cube1'+f+'"'+h+'></div><div class="css3-spinner-cube2'+f+'"'+h+"></div>":"6"==d?u='<div class="css3-spinner-scaler'+f+'"'+h+"></div>":"7"==d?u='<div class="css3-spinner-grid-pulse"><div'+m+h+"></div><div"+m+h+"></div><div"+m+h+"></div><div"+m+h+"></div><div"+m+h+"></div><div"+m+h+"></div><div"+m+h+"></div><div"+m+h+"></div><div"+m+h+"></div></div>":"8"==d?u='<div class="css3-spinner-clip-rotate"><div'+g+p+"></div></div>":"9"==d?u='<div class="css3-spinner-ball-rotate"><div'+m+h+"></div><div"+m+h+"></div><div"+m+h+"></div></div>":"10"==d?u='<div class="css3-spinner-zig-zag"><div'+m+h+"></div><div"+m+h+"></div></div>":"11"==d?u='<div class="css3-spinner-triangle-path"><div'+m+h+"></div><div"+m+h+"></div><div"+m+h+"></div></div>":"12"==d?u='<div class="css3-spinner-ball-scale-multiple"><div'+m+h+"></div><div"+m+h+"></div><div"+m+h+"></div></div>":"13"==d?u='<div class="css3-spinner-ball-pulse-sync"><div'+m+h+"></div><div"+m+h+"></div><div"+m+h+"></div></div>":"14"==d&&(u='<div class="css3-spinner-scale-ripple"><div'+g+p+"></div><div"+g+p+"></div><div"+g+p+"></div></div>"),t='<div class="css3-spinner">'+(t=t||u)+"</div>",i.css({opacity:1}),i.animsition({inClass:n,outClass:a,inDuration:Number(s),outDuration:Number(o),linkElement:'body:not(.device-md):not(.device-sm):not(.device-xs) .primary-menu:not(.on-click) .menu-link:not([target="_blank"]):not([href*="#"]):not([data-lightbox]):not([href^="mailto"]):not([href^="tel"]):not([href^="sms"]):not([href^="call"])',loading:!0,loadingParentElement:"body",loadingClass:"page-transition-wrap",loadingInner:t,timeout:r,timeoutCountdown:l,onLoadEvent:!0,browser:["animation-duration","-webkit-animation-duration"],overlay:!1,overlayClass:"animsition-overlay-slide",overlayParentElement:"body"})},((v,w,C)=>{function t(e){if(y=w.documentElement,b=w.body,re(),E=this,d=(e=e||{}).constants||{},e.easing)for(var t in e.easing)l[t]=e.easing[t];be=e.edgeStrategy||"set",(f=!(r={beforerender:e.beforerender,render:e.render,keyframe:e.keyframe})!==e.forceHeight)&&(Oe=e.scale||1),M=e.mobileDeceleration||G,ye=!1!==e.smoothScrolling,u=e.smoothScrollingDuration||J,h={targetTop:E.getScrollTop()},(z=(e.mobileCheck||function(){return/Android|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent||navigator.vendor||v.opera)})())?((o=w.getElementById(e.skrollrBody||X))&&ve(),de(),I(y,[n,V],[W])):I(y,[n,U],[W]),E.refresh(),Ce(v,"resize orientationchange",function(){var e=y.clientWidth,t=y.clientHeight;t===je&&e===Le||(je=t,Le=e,D=!0)});var i=le();return function e(){ce(),we=i(e)}(),E}function A(e,t){return t.toUpperCase()}var y,b,_={get:function(){return E},init:function(e){return E||new t(e)},VERSION:"0.6.29"},Y=Object.prototype.hasOwnProperty,T=v.Math,B=v.getComputedStyle,R="touchstart",F="touchcancel",x="skrollable",H=x+"-before",Q=x+"-between",q=x+"-after",n="skrollr",W="no-"+n,U=n+"-desktop",V=n+"-mobile",G=.004,X="skrollr-body",J=200,S="___skrollable_id",K=/^(?:input|textarea|button|select)$/i,i=/^\s+|\s+$/g,Z=/^data(?:-(_\w+))?(?:-?(-?\d*\.?\d+p?))?(?:-?(start|end|top|center|bottom))?(?:-?(top|center|bottom))?$/,ee=/\s*(@?[\w\-\[\]]+)\s*:\s*(.+?)\s*(?:;|$)/gi,te=/^(@?[a-z\-]+)\[(\w+)\]$/,ie=/-([a-z0-9_])/g,ne=/[\-+]?[\d]*\.?[\d
1]+/g,ae=/\{\?\}/g,se=/rgba?\(\s*-?\d+\s*,\s*-?\d+\s*,\s*-?\d+/g,oe=/[a-z\-]+-gradient/g,a="",s="",re=function(){var e=/^(?:O|Moz|webkit|ms)|(?:-(?:o|moz|webkit|ms)-)/;if(B){var t,i=B(b,null);for(t in i)if(a=t.match(e)||+t==t&&i[t].match(e))break;a?"-"===(a=a[0]).slice(0,1)?a={"-webkit-":"webkit","-moz-":"Moz","-ms-":"ms","-o-":"O"}[s=a]:s="-"+a.toLowerCase()+"-":a=s=""}},le=function(){var e=v.requestAnimationFrame||v[a.toLowerCase()+"RequestAnimationFrame"],i=O();return e=!z&&e?e:function(e){var t=O()-i,t=T.max(0,1e3/60-t);return v.setTimeout(function(){i=O(),e()},t)}},l={begin:function(){return 0},end:function(){return 1},linear:function(e){return e},quadratic:function(e){return e*e},cubic:function(e){return e*e*e},swing:function(e){return-T.cos(e*T.PI)/2+.5},sqrt:function(e){return T.sqrt(e)},outCubic:function(e){return T.pow(e-1,3)+1},bounce:function(e){var t;if(e<=.5083)t=3;else if(e<=.8489)t=9;else if(e<=.96208)t=27;else{if(!(e<=.99981))return 1;t=91}return 1-T.abs(3*T.cos(e*t*1.028)/t)}},de=(t.prototype.refresh=function(e){var t,i,n=!1;for(e===C?(n=!0,P=[],De=0,e=w.getElementsByTagName("*")):e.length===C&&(e=[e]),t=0,i=e.length;t<i;t++){var a=e[t],s=a,o=[],r=ye,l=be,d=!1;if(n&&S in a&&delete a[S],a.attributes){for(var c,u,h,p=0,f=a.attributes.length;p<f;p++){var m,g,v,y=a.attributes[p];if("data-anchor-target"!==y.name)"data-smooth-scrolling"!==y.name?"data-edge-strategy"!==y.name?"data-emit-events"!==y.name?null!==(v=y.name.match(Z))&&(m={props:y.value,element:a,eventType:y.name.replace(ie,A)},o.push(m),(g=v[1])&&(m.constant=g.substr(1)),g=v[2],/p$/.test(g)?(m.isPercentage=!0,m.offset=(0|g.slice(0,-1))/100):m.offset=0|g,g=v[3],v=v[4]||g,g&&"start"!==g&&"end"!==g?(m.mode="relative",m.anchors=[g,v]):(m.mode="absolute","end"===g?m.isEnd=!0:m.isPercentage||(m.offset=m.offset*Oe))):d=!0:l=y.value:r="off"!==y.value;else if(null===(s=w.querySelector(y.value)))throw'Unable to find anchor target "'+y.value+'"'}o.length&&(h=!n&&S in a?(u=a[S],c=P[u].styleAttr,P[u].classAttr):(u=a[S]=De++,c=a.style.cssText,Pe(a)),P[u]={element:a,styleAttr:c,classAttr:h,anchorTarget:s,keyFrames:o,smoothScrolling:r,edgeStrategy:l,emitEvents:d,lastFrameIndex:-1},I(a,[x],[]))}}for(Se(),t=0,i=e.length;t<i;t++){var b=P[e[t][S]];b!==C&&(ue(b),pe(b))}return E},t.prototype.relativeToAbsolute=function(e,t,i){var n=y.clientHeight,e=e.getBoundingClientRect(),a=e.top,e=e.bottom-e.top;return"bottom"===t?a-=n:"center"===t&&(a-=n/2),"bottom"===i?a+=e:"center"===i&&(a+=e/2),(a+=E.getScrollTop())+.5|0},t.prototype.animateTo=function(e,t){t=t||{};var i=O(),n=E.getScrollTop(),a=t.duration===C?1e3:t.duration;return(c={startTop:n,topDiff:e-n,targetTop:e,duration:a,startTime:i,endTime:i+a,easing:l[t.easing||"linear"],done:t.done}).topDiff||(c.done&&c.done.call(E,!1),c=C),E},t.prototype.stopAnimateTo=function(){c&&c.done&&c.done.call(E,!0),c=C},t.prototype.isAnimatingTo=function(){return!!c},t.prototype.isMobile=function(){return z},t.prototype.setScrollTop=function(e,t){return m=!0===t,z?N=T.min(T.max(e,0),$):v.scrollTo(0,e),E},t.prototype.getScrollTop=function(){return z?N:v.pageYOffset||y.scrollTop||b.scrollTop||0},t.prototype.getMaxScrollTop=function(){return $},t.prototype.on=function(e,t){return r[e]=t,E},t.prototype.off=function(e){return delete r[e],E},t.prototype.destroy=function(){var e;e=v.cancelAnimationFrame||v[a.toLowerCase()+"CancelAnimationFrame"],e=!z&&e?e:function(e){return v.clearTimeout(e)};e(we),_e(),I(y,[W],[n,U,V]);for(var t=0,i=P.length;t<i;t++)k(P[t].element);y.style.overflow=b.style.overflow="",y.style.height=b.style.height="",o&&_.setStyle(o,"transform","none"),L="down",z=D=!(j=-(Oe=1)),N=De=je=Le=$=0,p=be=m=h=u=ye=c=M=d=f=r=o=E=C},function(){var o,r,l,d,c,u,h,p,f,m,g;Ce(y,[R,"touchmove",F,"touchend"].join(" "),function(e){var t=e.changedTouches[0];for(d=e.target;3===d.nodeType;)d=d.parentNode;switch(c=t.clientY,u=t.clientX,f=e.timeStamp,K.test(d.tagName)||e.preventDefault(),e.type){case R:o&&o.blur(),E.stopAnimateTo(),o=d,r=h=c,l=u,0;break;case"touchmove":K.test(d.tagName)&&w.activeElement!==d&&e.preventDefault(),p=c-h,g=f-m,E.setScrollTop(N-p,!0),h=c,m=f;break;default:case F:case"touchend":var i=r-c,n=l-u;if(n*n+i*i<49)return void(K.test(o.tagName)||(o.focus(),(n=w.createEvent("MouseEvents")).initMouseEvent("click",!0,!0,e.view,1,t.screenX,t.screenY,t.clientX,t.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,0,null),o.dispatchEvent(n)));o=C;var i=p/g,i=T.max(T.min(i,3),-3),n=T.abs(i/M),i=i*n+.5*M*n*n,a=E.getScrollTop()-i,s=0;$<a?(s=($-a)/i,a=$):a<0&&(s=-a/i,a=0),E.animateTo(a+.5|0,{easing:"outCubic",duration:n*=1-s})}}),v.scrollTo(0,0),y.style.overflow=b.style.overflow="hidden"}),ce=function(){D&&(D=!1,Se());var e,t,i,n=E.getScrollTop(),a=O();c?(a>=c.endTime?(n=c.targetTop,e=c.done,c=C):(t=c.easing((a-c.startTime)/c.duration),n=c.startTop+t*c.topDiff|0),E.setScrollTop(n,!0)):m||(i=h.targetTop-n,a<=(h=i?{startTop:j,topDiff:n-j,targetTop:n,startTime:$e,endTime:$e+u}:h).endTime&&(t=l.sqrt((a-h.startTime)/u),n=h.startTop+t*h.topDiff|0)),(m||j!==n)&&(i={curTop:n,lastTop:j,maxTop:$,direction:L=j<n?"down":n<j?"up":L},(m=!1)!==(r.beforerender&&r.beforerender.call(E,i))&&(((e,t)=>{for(var i=0,n=P.length;i<n;i++){var a,s=P[i],o=s.element,r=s.smoothScrolling?e:t,l=s.keyFrames,d=l.length,c=l[0],u=l[l.length-1],h=r<c.frame,p=r>u.frame,f=h?c:u,m=s.emitEvents,g=s.lastFrameIndex;if(h||p){if(h&&-1===s.edge||p&&1===s.edge)continue;switch(h?(I(o,[H],[q,Q]),m&&-1<g&&(xe(o,c.eventType,L),s.lastFrameIndex=-1)):(I(o,[q],[H,Q]),m&&g<d&&(xe(o,u.eventType,L),s.lastFrameIndex=d)),s.edge=h?-1:1,s.edgeStrategy){case"reset":k(o);continue;case"ease":r=f.frame;break;default:var v=f.props;for(a in v)Y.call(v,a)&&(w=ge(v[a].value),0===a.indexOf("@")?o.setAttribute(a.substr(1),w):_.setStyle(o,a,w));continue}}else 0!==s.edge&&(I(o,[x,Q],[H,q]),s.edge=0);for(var y=0;y<d-1;y++)if(r>=l[y].frame&&r<=l[y+1].frame){var b,w,C=l[y],T=l[y+1];for(a in C.props)Y.call(C.props,a)&&(b=(r-C.frame)/(T.frame-C.frame),b=C.props[a].easing(b),w=me(C.props[a].value,T.props[a].value,b),w=ge(w),0===a.indexOf("@")?o.setAttribute(a.substr(1),w):_.setStyle(o,a,w));m&&g!==y&&(xe(o,("down"===L?C:T).eventType,L),s.lastFrameIndex=y);break}}})(n,E.getScrollTop()),z&&o&&_.setStyle(o,"transform","translate(0, "+-N+"px) "+p),j=n,r.render)&&r.render.call(E,i),e)&&e.call(E,!1),$e=a},ue=function(e){for(var t=0,i=e.keyFrames.length;t<i;t++){for(var n,a,s,o=e.keyFrames[t],r={};null!==(s=ee.exec(o.props));)a=s[1],s=s[2],n=null!==(n=a.match(te))?(a=n[1],n[2]):"linear",s=s.indexOf("!")?he(s):[s.slice(1)],r[a]={value:s,easing:l[n]};o.props=r}},he=function(e){var t=[];return se.lastIndex=0,e=e.replace(se,function(e){return e.replace(ne,function(e){return e/255*100+"%"})}),s&&(oe.lastIndex=0,e=e.replace(oe,function(e){return s+e})),e=e.replace(ne,function(e){return t.push(+e),"{?}"}),t.unshift(e),t},pe=function(e){for(var t={},i=0,n=e.keyFrames.length;i<n;i++)fe(e.keyFrames[i],t);for(t={},i=e.keyFrames.length-1;0<=i;i--)fe(e.keyFrames[i],t)},fe=function(e,t){for(var i in t)Y.call(e.props,i)||(e.props[i]=t[i]);for(i in e.props)t[i]=e.props[i]},me=function(e,t,i){var n=e.length;if(n!==t.length)throw"Can't interpolate between \""+e[0]+'" and "'+t[0]+'"';for(var a=[e[0]],s=1;s<n;s++)a[s]=e[s]+(t[s]-e[s])*i;return a},ge=function(e){var t=1;return ae.lastIndex=0,e[0].replace(ae,function(){return e[t++]})},k=function(e,t){for(var i,n,a=0,s=(e=[].concat(e)).length;a<s;a++)n=e[a],(i=P[n[S]])&&(t?(n.style.cssText=i.dirtyStyleAttr,I(n,i.dirtyClassAttr)):(i.dirtyStyleAttr=n.style.cssText,i.dirtyClassAttr=Pe(n),n.style.cssText=i.styleAttr,I(n,i.classAttr)))},ve=function(){p="translateZ(0)",_.setStyle(o,"transform",p);var e=B(o),t=e.getPropertyValue("transform"),e=e.getPropertyValue(s+"transform");t&&"none"!==t||e&&"none"!==e||(p="")};_.setStyle=function(e,t,i){e=e.style;if("zIndex"===(t=t.replace(ie,A).replace("-","")))isNaN(i)?e[t]=i:e[t]=""+(0|i);else if("float"===t)e.styleFloat=e.cssFloat=i;else try{a&&(e[a+t.slice(0,1).toUpperCase()+t.slice(1)]=i),e[t]=i}catch(e){}};var E,P,o,r,f,d,M,c,ye,u,h,m,be,p,we,Ce=_.addEvent=function(e,t,i){for(var n,a=function(e){return(e=e||v.event).target||(e.target=e.srcElement),e.preventDefault||(e.preventDefault=function(){e.returnValue=!1,e.defaultPrevented=!0}),i.call(this,e)},s=0,o=(t=t.split(" ")).length;s<o;s++)n=t[s],e.addEventListener?e.addEventListener(n,i,!1):e.attachEvent("on"+n,a),ze.push({element:e,name:n,listener:i})},Te=_.removeEvent=function(e,t,i){for(var n=0,a=(t=t.split(" ")).length;n<a;n++)e.removeEventListener?e.removeEventListener(t[n],i,!1):e.detachEvent("on"+t[n],i)},_e=function(){for(var e,t=0,i=ze.length;t<i;t++)e=ze[t],Te(e.element,e.name,e.listener);ze=[]}
1,xe=function(e,t,i){r.keyframe&&r.keyframe.call(E,e,t,i)},Se=function(){var e=E.getScrollTop();$=0,f&&!z&&(b.style.height="");for(var t,i,n,a,s,o,r,l,d,c=y.clientHeight,u=ke(),h=0,p=P.length;h<p;h++)for(i=(t=P[h]).element,n=t.anchorTarget,s=0,o=(a=t.keyFrames).length;s<o;s++)l=(r=a[s]).offset,d=u[r.constant]||0,r.frame=l,r.isPercentage&&(r.frame=l*=c),"relative"===r.mode&&(k(i),r.frame=E.relativeToAbsolute(n,r.anchors[0],r.anchors[1])-l,k(i,!0)),r.frame+=d,f&&!r.isEnd&&r.frame>$&&($=r.frame);for($=T.max($,Ee()),h=0,p=P.length;h<p;h++){for(s=0,o=(a=(t=P[h]).keyFrames).length;s<o;s++)d=u[(r=a[s]).constant]||0,r.isEnd&&(r.frame=$-r.offset+d);t.keyFrames.sort(Ie)}f&&!z&&(b.style.height=$+y.clientHeight+"px"),z?E.setScrollTop(T.min(E.getScrollTop(),$)):E.setScrollTop(e,!0),m=!0},ke=function(){var e,t,i=y.clientHeight,n={};for(e in d)t=d[e],"function"==typeof t?t=t.call(E):/p$/.test(t)&&(t=t.slice(0,-1)/100*i),n[e]=t;return n},Ee=function(){var e=0;return o&&(e=T.max(o.offsetHeight,o.scrollHeight)),T.max(e,b.scrollHeight,b.offsetHeight,y.scrollHeight,y.offsetHeight,y.clientHeight)-y.clientHeight},Pe=function(e){var t="className";return v.SVGElement&&e instanceof v.SVGElement&&(e=e[t],t="baseVal"),e[t]},I=function(e,t,i){var n="className";if(v.SVGElement&&e instanceof v.SVGElement&&(e=e[n],n="baseVal"),i===C)e[n]=t;else{for(var a=e[n],s=0,o=i.length;s<o;s++)a=g(a).replace(g(i[s])," ");for(var a=Me(a),r=0,l=t.length;r<l;r++)-1===g(a).indexOf(g(t[r]))&&(a+=" "+t[r]);e[n]=Me(a)}},Me=function(e){return e.replace(i,"")},g=function(e){return" "+e+" "},O=Date.now||function(){return+new Date},Ie=function(e,t){return e.frame-t.frame},$=0,Oe=1,L="down",j=-1,$e=O(),Le=0,je=0,D=!1,De=0,z=!1,N=0,ze=[];"function"==typeof define&&define.amd?define([],function(){return _}):"undefined"!=typeof module&&module.exports?module.exports=_:v.skrollr=_})(window,document),window.SEMICOLON_parallaxInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;SEMICOLON.isMobile.any()?e.addClass("mobile-parallax"):window.skrollrInstance=skrollr.init({forceHeight:!1})},(e=>{"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)})(function(i){function o(e,o){function i(){o.scaleColor&&d(),o.trackColor&&l(o.trackColor,o.trackWidth||o.lineWidth,1)}var n,t=document.createElement("canvas"),a=(e.appendChild(t),"object"==typeof G_vmlCanvasManager&&G_vmlCanvasManager.initElement(t),t.getContext("2d")),s=(t.width=t.height=o.size,1),r=(1<window.devicePixelRatio&&(s=window.devicePixelRatio,t.style.width=t.style.height=[o.size,"px"].join(""),t.width=t.height=o.size*s,a.scale(s,s)),a.translate(o.size/2,o.size/2),a.rotate((o.rotate/180-.5)*Math.PI),(o.size-o.lineWidth)/2),l=(o.scaleColor&&o.scaleLength&&(r-=o.scaleLength+2),Date.now=Date.now||function(){return+new Date},function(e,t,i){var n=(i=Math.min(Math.max(-1,i||0),1))<=0;a.beginPath(),a.arc(0,0,r,0,2*Math.PI*i,n),a.strokeStyle=e,a.lineWidth=t,a.stroke()}),d=function(){var e,t;a.lineWidth=1,a.fillStyle=o.scaleColor,a.save();for(var i=24;0<i;--i)e=i%6==0?(t=o.scaleLength,0):(t=.6*o.scaleLength,o.scaleLength-t),a.fillRect(-o.size/2+e,0,t,1),a.rotate(Math.PI/12);a.restore()},c=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)};this.getCanvas=function(){return t},this.getCtx=function(){return a},this.clear=function(){a.clearRect(o.size/-2,o.size/-2,o.size,o.size)},this.draw=function(e){var t;o.scaleColor||o.trackColor?a.getImageData&&a.putImageData?n?a.putImageData(n,0,0):(i(),n=a.getImageData(0,0,o.size*s,o.size*s)):(this.clear(),i()):this.clear(),a.lineCap=o.lineCap,t="function"==typeof o.barColor?o.barColor(e):o.barColor,l(t,o.lineWidth,e/100)}.bind(this),this.animate=function(i,n){var a=Date.now(),s=(o.onStart(i,n),function(){var e=Math.min(Date.now()-a,o.animate.duration),t=o.easing(this,e,i,n-i,o.animate.duration);this.draw(t),o.onStep(i,n,t),e>=o.animate.duration?o.onStop(i,n):c(s)}.bind(this));c(s)}.bind(this)}function n(t,i){var n={barColor:"#ef1e25",trackColor:"#f9f9f9",scaleColor:"#dfe0e0",scaleLength:5,lineCap:"round",lineWidth:3,trackWidth:void 0,size:110,rotate:0,animate:{duration:1e3,enabled:!0},easing:function(e,t,i,n,a){return(t/=a/2)<1?n/2*t*t+i:-n/2*(--t*(t-2)-1)+i},onStart:function(e,t){},onStep:function(e,t,i){},onStop:function(e,t){}},a=(n.renderer=o,{}),s=0,e=function(){for(var e in this.el=t,this.options=a,n)n.hasOwnProperty(e)&&(a[e]=(i&&void 0!==i[e]?i:n)[e],"function"==typeof a[e])&&(a[e]=a[e].bind(this));"string"==typeof a.easing&&"undefined"!=typeof jQuery&&jQuery.isFunction(jQuery.easing[a.easing])?a.easing=jQuery.easing[a.easing]:a.easing=n.easing,"number"==typeof a.animate&&(a.animate={duration:a.animate,enabled:!0}),"boolean"!=typeof a.animate||a.animate||(a.animate={duration:1e3,enabled:a.animate}),this.renderer=new a.renderer(t,a),this.renderer.draw(s),t.dataset&&t.dataset.percent?this.update(parseFloat(t.dataset.percent)):t.getAttribute&&t.getAttribute("data-percent")&&this.update(parseFloat(t.getAttribute("data-percent")))}.bind(this);this.update=function(e){return e=parseFloat(e),a.animate.enabled?this.renderer.animate(s,e):this.renderer.draw(e),s=e,this}.bind(this),this.disableAnimation=function(){return a.animate.enabled=!1,this},this.enableAnimation=function(){return a.animate.enabled=!0,this},e()}i.fn.easyPieChart=function(t){return this.each(function(){var e;i.data(this,"easyPieChart")||(e=i.extend({},t,i(this).data()),i.data(this,"easyPieChart",new n(this,e)))})}}),window.SEMICOLON_roundedSkillInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){var i=$(this),e=i.attr("data-size")||140,t=i.attr("data-speed")||2e3,n=i.attr("data-width")||4,a=i.attr("data-color")||"#0093BF",s=i.attr("data-trackcolor")||"rgba(0,0,0,0.04)",o={size:Number(e),speed:Number(t),width:Number(n),color:a,trackcolor:s};i.css({width:e+"px",height:e+"px","line-height":e+"px"}),$("body").hasClass("device-xl")||$("body").hasClass("device-lg")?(i.animate({opacity:0}
1,10),new IntersectionObserver(function(e,t){e.forEach(function(e){e.isIntersecting&&(i.hasClass("skills-animated")||(setTimeout(function(){i.css({opacity:1})},100),SEMICOLON_runRoundedSkills(i,o),i.addClass("skills-animated")),t.unobserve(e.target))})},{rootMargin:"-50px"}).observe(i[0])):SEMICOLON_runRoundedSkills(i,o)})},window.SEMICOLON_runRoundedSkills=function(e,t){e.easyPieChart({size:t.size,animate:t.speed,scaleColor:!1,trackColor:t.trackcolor,lineWidth:t.width,lineCap:"square",barColor:t.color})},window.scwPricingSwitcherPlugin=window.scwPricingSwitcherPlugin||{},window.SEMICOLON_pricingSwitcherFn=function(e,t,i,n,a){t.find(".pts-left,.pts-right").removeClass(a).addClass(n),i.find(".pts-switch-content-left,.pts-switch-content-right").addClass("d-none"),(0<e.filter(":checked").length?(t.find(".pts-right").removeClass(n).addClass(a),i.find(".pts-switch-content-right")):(t.find(".pts-left").removeClass(n).addClass(a),i.find(".pts-switch-content-left"))).removeClass("d-none")},window.SEMICOLON_pricingSwitcherInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;
1e.each(function(){var e=$(this).find(":checkbox"),t=$(this).parents(".pricing-tenure-switcher"),i=$(this).attr("data-default-class")||"text-muted op-05",n=$(this).attr("data-active-class")||"font-weight-bold",a=$(t.attr("data-container"));SEMICOLON_pricingSwitcherFn(e,t,a,i,n),e.on("change",function(){SEMICOLON_pricingSwitcherFn(e,t,a,i,n)})})},window.scwProgressPlugin=window.scwProgressPlugin||{},window.SEMICOLON_progressInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){var i=$(this),n=i.parent("li"),a=n.attr("data-percent");new IntersectionObserver(function(e,t){e.forEach(function(e){e.isIntersecting&&(n.hasClass("skills-animated")||(SEMICOLON.widget.counter({el:i.find(".counter-instant")}),n.find(".progress").css({width:a+"%"}).addClass("skills-animated")),t.unobserve(e.target))})},{rootMargin:"-50px"}).observe(n[0])})},window.scwQuantityPlugin=window.scwQuantityPlugin||{},window.SEMICOLON_quantityInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;$(".plus").off("click").on("click",function(){var e=$
1(this).parents(".quantity").find(".qty"),t=e.val(),i=e.attr("step")||1,n=e.attr("max");return n&&Number(t)>=Number(n)||(/^\d+$/.test(t)?(n=Number(t)+Number(i),e.val(n)):e.val(Number(i))).change(),!1}),$(".minus").off("click").on("click",function(){var e=$(this).parents(".quantity").find(".qty"),t=e.val(),i=e.attr("step")||1,n=e.attr("min");return(!n||n<0)&&(n=1),/^\d+$/.test(t)?Number(t)>Number(n)&&(n=Number(t)-Number(i),e.val(n).change()):e.val(Number(i)).change(),!1})},window.scwReadMorePlugin=window.scwReadMorePlugin||{},window.SEMICOLON_readmoreInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){var t=$(this),i=t.outerHeight(),n=t.attr("data-readmore-size")||"10rem",a=t.attr("data-readmore-speed")||500,s=t.attr("data-readmore-trigger")||".read-more-trigger",o=t.attr("data-readmore-trigger-open")||"Read More",r=t.attr("data-readmore-trigger-close")||"Read Less",l=((s=t.find(s)).html(o),a=Number(a),t.addClass("read-more-wrap").css({height:n,"-webkit-transition-duration":a+"ms","transition-duration":a+"ms"}).append('<div class="read-more-mask"></div>'),t.find(".read-more-mask")),d=t.attr("data-readmore-mask")||"true",e=t.attr("data-readmore-maskcolor")||"#FFF",c=t.attr("data-readmore-masksize")||"100%";"true"==d?l.css({height:c,"background-image":"linear-gradient( "+SEMICOLON_HEXtoRGBA(e,0)+", "+SEMICOLON_HEXtoRGBA(e,1)+" )"}):l.addClass("d-none"),s.off("click").on("click",function(){var e;return t.hasClass("read-more-wrap-open")?(t.css({height:n}).removeClass("read-more-wrap-open"),setTimeout(function(){s.html(o)},a),"true"==d&&l.fadeIn(a)):("false"==r&&s.remove(),e=i+s.outerHeight(),t.css({height:e,overflow:""}).addClass("read-more-wrap-open"),setTimeout(function(){s.html(r)},a),"true"==d&&l.fadeOut(a)),!1})})},window.SEMICOLON_HEXtoRGBA=function(e,t){if(/^#([A-Fa-f0-9]{3}){1,2}$/.test(e))return"rgba("+[(e="0x"+(e=3==(e=e.substring(1).split("")).length?[e[0],e[0],e[1],e[1],e[2],e[2]]:e).join(""))>>16&255,e>>8&255,255&e].join(",")+","+t+")";console.log("Bad Hex")},window.scwShapeDividerPlugin=window.scwShapeDividerPlugin||{},window.SEMICOLON_shapeDividerInit=function(e){if(e.length<1)return!0;e.each(function(){var e,t=$(this),i=t.attr("data-shape")||"valley",n=t.attr("data-width")||100,a=t.attr("data-height")||100,s=t.attr("data-fill"),o=t.attr("data-outside")||"false",r=t.attr("data-position")||"top",l="shape-divider-"+Math.floor(1e4*Math.random()),d="",c="",o=(n<100&&(n=100),n="width: calc( "+Number(n)+"% + 1.5px );",e="height: "+Number(a)+"px;",s="fill: "+s+";",(c="true"==o?"bottom"==r?"#"+l+".shape-divider { bottom: -"+(Number(a)-1)+"px; } ":"#"+l+".shape-divider { top: -"+(Number(a)-1)+"px; } ":c)+"#"+l+".shape-divider svg { "+n+e+" } #"+l+".shape-divider .shape-divider-fill { "+s+" }"),r=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");switch(r.appendChild(a),a.type="text/css",a.appendChild(document.createTextNode(o)),t.attr("id",l),i){case"valley":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 355" preserveAspectRatio="none"><defs><style>.b{opacity:.5}.c{opacity:.3}</style></defs><path fill="none" d="M999.45 0H0v165.72l379.95 132.46L999.45 0z"></path><path class="b shape-divider-fill" d="M379.95 298.18l28.47 9.92L1000 118.75V0h-.55l-619.5 298.18zM492.04 337.25L1000 252.63V118.75L408.42 308.1l83.62 29.15z"></path><path class="b shape-divider-fill" d="M492.04 337.25L1000 252.63V118.75L408.42 308.1l83.62 29.15z"></path><path class="shape-divider-fill" d="M530.01 350.49l20.22 4.51H1000V252.63l-507.96 84.62 37.97 13.24z"></path><path class="b shape-divider-fill" d="M530.01 350.49l20.22 4.51H1000V252.63l-507.96 84.62 37.97 13.24z"></path><path class="b shape-divider-fill" d="M530.01 350.49l20.22 4.51H1000V252.63l-507.96 84.62 37.97 13.24z"></path><path class="shape-divider-fill" d="M542.94 355h7.29l-20.22-4.51 12.93 4.51z"></path><path class="b shape-divider-fill" d="M542.94 355h7.29l-20.22-4.51 12.93 4.51z"></path><path class="c shape-divider-fill" d="M542.94 355h7.29l-20.22-4.51 12.93 4.51z"></path><path class="b shape-divider-fill" d="M542.94 355h7.29l-20.22-4.51 12.93 4.51z"></path><path class="c shape-divider-fill" d="M379.95 298.18L0 165.72v66.59l353.18 78.75 26.77-12.88z"></path>
1<path class="c shape-divider-fill" d="M353.18 311.06L0 232.31v71.86l288.42 38.06 64.76-31.17z"></path><path class="c shape-divider-fill" d="M353.18 311.06L0 232.31v71.86l288.42 38.06 64.76-31.17z"></path><path class="b shape-divider-fill" d="M380.28 317.11l28.14-9.01-28.47-9.92-26.77 12.88 27.1 6.05z"></path><path class="c shape-divider-fill" d="M380.28 317.11l28.14-9.01-28.47-9.92-26.77 12.88 27.1 6.05z"></path><path class="b shape-divider-fill" d="M479.79 339.29l12.25-2.04-83.62-29.15-28.14 9.01 99.51 22.18z"></path><path class="b shape-divider-fill" d="M479.79 339.29l12.25-2.04-83.62-29.15-28.14 9.01 99.51 22.18z"></path><path class="c shape-divider-fill" d="M479.79 339.29l12.25-2.04-83.62-29.15-28.14 9.01 99.51 22.18z"></path><path class="shape-divider-fill" d="M530.01 350.49l-37.97-13.24-12.25 2.04 50.22 11.2z"></path><path class="b shape-divider-fill" d="M530.01 350.49l-37.97-13.24-12.25 2.04 50.22 11.2z"></path><path class="b shape-divider-fill" d="M530.01 350.49l-37.97-13.24-12.25 2.04 50.22 11.2z"></path><path class="c shape-divider-fill" d="M530.01 350.49l-37.97-13.24-12.25 2.04 50.22 11.2zM288.42 342.23l9.46 1.25 82.4-26.37-27.1-6.05-64.76 31.17z"></path><path class="b shape-divider-fill" d="M288.42 342.23l9.46 1.25 82.4-26.37-27.1-6.05-64.76 31.17z"></path><path class="c shape-divider-fill" d="M288.42 342.23l9.46 1.25 82.4-26.37-27.1-6.05-64.76 31.17z"></path><path class="b shape-divider-fill" d="M380.28 317.11l-82.4 26.37 87.3 11.52h.34l94.27-15.71-99.51-22.18z"></path><path class="c shape-divider-fill" d="M380.28 317.11l-82.4 26.37 87.3 11.52h.34l94.27-15.71-99.51-22.18z"></path><path class="b shape-divider-fill" d="M380.28 317.11l-82.4 26.37 87.3 11.52h.34l94.27-15.71-99.51-22.18z"></path><path class="c shape-divider-fill" d="M380.28 317.11l-82.4 26.37 87.3 11.52h.34l94.27-15.71-99.51-22.18z"></path><path class="shape-divider-fill" d="M479.79 339.29L385.52 355h157.42l-12.93-4.51-50.22-11.2z"></path><path class="b shape-divider-fill" d="M479.79 339.29L385.52 355h157.42l-12.93-4.51-50.22-11.2z"></path><path class="c shape-divider-fill" d="M479.79 339.29L385.52 355h157.42l-12.93-4.51-50.22-11.2z"></path><path class="b shape-divider-fill" d="M479.79 339.29L385.52 355h157.42l-12.93-4.51-50.22-11.2z"></path><path class="c shape-divider-fill" d="M479.79 339.29L385.52 355h157.42l-12.93-4.51-50.22-11.2z"></path><path class="shape-divider-fill" d="M288.42 342.23L0 304.17V355h385.18l-87.3-11.52-9.46-1.25z"></path></svg>';break;case"valley-2":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path class="shape-divider-fill" d="M194,99c186.7,0.7,305-78.3,306-97.2c1,18.9,119.3,97.9,306,97.2c114.3-0.3,194,0.3,194,0.3s0-91.7,0-100c0,0,0,0,0-0 L0,0v99.3C0,99.3,79.7,98.7,194,99z"></path></svg>';break;case"valley-3":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M1280 0L640 70 0 0v140l640-70 640 70V0z" opacity="0.5"></path><path class="shape-divider-fill" d="M1280 0H0l640 70 640-70z"></path></svg>';break;case"mountain":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path class="shape-divider-fill" d="M500,98.9L0,6.1V0h1000v6.1L500,98.9z"></path></svg>';break;case"mountain-2":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M640 140L1280 0H0z" opacity="0.5"/><path class="shape-divider-fill" d="M640 98l640-98H0z"/></svg>';break;case"mountain-3":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 491.58" preserveAspectRatio="none"><g style="isolation:isolate"><path class="shape-divider-fill" d="M1000 479.4v-87.96L500 0 0 391.46v87.96l500-335.94 500 335.92z" opacity="0.12" mix-blend-mode="overlay"/><path class="shape-divider-fill" d="M1000 487.31v-7.91L500 143.48 0 479.42v7.91l500-297.96 500 297.94z" opacity="0.25" mix-blend-mode="overlay"/><path class="shape-divider-fill" d="M1000 487.31L500 189.37 0 487.33v4.25h1000v-4.27z"/></g></svg>';break;case"mountain-4":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path class="shape-divider-fill" d="M738,99l262-93V0H0v5.6L738,99z"></path></svg>';break;case"mountain-5":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M978.81 122.25L0 0h1280l-262.1 116.26a73.29 73.29 0 0 1-39.09 5.99z" opacity="0.5"></path><path class="shape-divider-fill" d="M983.19 95.23L0 0h1280l-266 91.52a72.58 72.58 0 0 1-30.81 3.71z"></path></svg>';break;case"mountains":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path class="shape-divider-fill" opacity="0.33" d="M473,67.3c-203.9,88.3-263.1-34-320.3,0C66,119.1,0,59.7,0,59.7V0h1000v59.7 c0,0-62.1,26.1-94.9,29.3c-32.8,3.3-62.8-12.3-75.8-22.1C806,49.6,745.3,8.7,694.9,4.7S492.4,59,473,67.3z"></path><path class="shape-divider-fill" opacity="0.66" d="M734,67.3c-45.5,0-77.2-23.2-129.1-39.1c-28.6-8.7-150.3-10.1-254,39.1 s-91.7-34.4
1-149.2,0C115.7,118.3,0,39.8,0,39.8V0h1000v36.5c0,0-28.2-18.5-92.1-18.5C810.2,18.1,775.7,67.3,734,67.3z"></path><path class="shape-divider-fill" d="M766.1,28.9c-200-57.5-266,65.5-395.1,19.5C242,1.8,242,5.4,184.8,20.6C128,35.8,132.3,44.9,89.9,52.5C28.6,63.7,0,0,0,0 h1000c0,0-9.9,40.9-83.6,48.1S829.6,47,766.1,28.9z"></path></svg>';break;case"mountains-2":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 247" preserveAspectRatio="none"><path class="shape-divider-fill" d="M0 200.92v.26l.75-.77-.75.51z"></path><path class="shape-divider-fill" d="M279.29 208.39c0-4.49 74.71-29.88 74.71-29.88l61.71 61.26L550 153.1l134.14 88.17L874.28 50 1000 178.51v-.33L874.28 0 684.14 191.27 550 103.1l-134.29 86.67L354 128.51s-74.71 25.39-74.71 29.88S144.23 52.08 144.23 52.08L.75 200.41l143.48-98.33s135.06 110.8 135.06 106.31z" opacity="0.25" isolation="isolate"></path><path class="shape-divider-fill" d="M1000 178.51L874.28 50 684.14 241.27 550 153.1l-134.29 86.67L354 178.51s-74.71 25.39-74.71 29.88-135.06-106.31-135.06-106.31L.75 200.41l-.75.77V247h1000z"></path><path class="shape-divider-fill" d="M1000 178.51L874.28 50 684.14 241.27 550 153.1l-134.29 86.67L354 178.51s-74.71 25.39-74.71 29.88-135.06-106.31-135.06-106.31L.75 200.41l-.75.77V247h1000z" opacity="0.25" isolation="isolate"></path></svg>';break;case"mountains-3":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path class="shape-divider-fill" d="M761.9,44.1L643.1,27.2L333.8,98L0,3.8V0l1000,0v3.9"></path></svg>';break;case"mountains-4":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M0 90.72l140-28.28 315.52 24.14L796.48 65.8 1140 104.89l140-14.17V0H0v90.72z" opacity="0.5"></path><path class="shape-divider-fill" d="M0 0v47.44L170 0l626.48 94.89L1110 87.11l170-39.67V0H0z"></path></svg>';break;case"plataeu":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M1280 0l-131.81 111.68c-16.47 14-35.47 21-54.71 20.17L173 94a76.85 76.85 0 0 1-36.79-11.46L0 0z"></path></svg>';break;case"plataeu-2":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M1093.48 131.85L173 94a76.85 76.85 0 0 1-36.79-11.46L0 0h1280l-131.81 111.68c-16.47 13.96-35.47 20.96-54.71 20.17z" opacity="0.5"></path><path class="shape-divider-fill" d="M1094.44 119L172.7 68.72a74.54 74.54 0 0 1-25.19-5.95L0 0h1280l-133.85 102c-15.84 12.09-33.7 17.95-51.71 17z"></path></svg>';break;case"hills":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M156.258 127.903l86.363-18.654 78.684 
113.079L411.441 99.4l94.454 10.303L582.82 93.8l82.664 18.728 76.961-11.39L816.109 71.4l97.602 9.849L997.383 50.4l66.285 14.694 70.793-24.494h79.863L1280 0H0v122.138l60.613 9.965z"/></svg>';break;case"hills-2":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M1214.323 66.051h-79.863l-70.793 18.224-66.285-10.933-83.672 22.953-97.601-7.328-73.664 22.125-76.961 8.475-82.664-13.934-76.926 11.832-94.453-7.666-90.137 17.059-78.684-9.731-86.363 13.879-95.644 3.125L0 126.717V0h1280l-.001 35.844z" opacity="0.5"></path><path class="shape-divider-fill" d="M0 0h1280v.006l-70.676 36.578-74.863 4.641-70.793 23.334-66.285-11.678-83.672 29.618-97.602-7.07-63.664 21.421-76.961 12.649-91.664-20.798-77.926 17.66-94.453-7.574-90.137 21.595-78.683-9.884-86.363 16.074-95.645 6.211L0 127.905z"></path></svg>';break;case"hills-3":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M156 35.51l95.46 34.84 120.04.24 71.5 33.35 90.09-3.91L640 137.65l102.39-37.17 85.55 10.65 88.11-7.19L992 65.28l73.21 5.31 66.79-22.1 77-.42L1280 0H0l64.8 38.69 91.2-3.18z"/>
1</svg>';break;case"hills-4":d='<svg viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M156 35.41l95.46 34.73 120.04.25 71.5 33.24 90.09-3.89L640 137.25l102.39-37.06 85.55 10.61 88.11-7.17L992 65.08l73.21 5.31L1132 48.35l77-.42L1280 0H0l64.8 38.57 91.2-3.16z" opacity="0.5"/><path class="shape-divider-fill" d="M156 28.32l95.46 27.79 120.04.2L443 82.9l90.09-3.11L640 109.8l102.39-29.65 85.55 8.49 88.11-5.74L992 52.07l73.21 4.24L1132 38.68l77-.34L1280 0H0l64.8 30.86 91.2-2.54z"/></svg>';break;case"cloud":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 283.5 27.8" preserveAspectRatio="xMidYMax slice"><path class="shape-divider-fill" d="M0 0v6.7c1.9-.8 4.7-1.4 8.5-1 9.5 1.1 11.1 6 11.1 6s2.1-.7 4.3-.2c2.1.5 2.8 2.6 2.8 2.6s.2-.5 1.4-.7c1.2-.2 1.7.2 1.7.2s0-2.1 1.9-2.8c1.9-.7 3.6.7 3.6.7s.7-2.9 3.1-4.1 4.7 0 4.7 0 1.2-.5 2.4 0 1.7 1.4 1.7 1.4h1.4c.7 0 1.2.7 1.2.7s.8-1.8 4-2.2c3.5-.4 5.3 2.4 6.2 4.4.4-.4 1-.7 1.8-.9 2.8-.7 4 .7 4 .7s1.7-5 11.1-6c9.5-1.1 12.3 3.9 12.3 3.9s1.2-4.8 5.7-5.7c4.5-.9 6.8 1.8 6.8 1.8s.6-.6 1.5-.9c.9-.2 1.9-.2 1.9-.2s5.2-6.4 12.6-3.3c7.3 3.1 4.7 9 4.7 9s1.9-.9 4 0 2.8 2.4 2.8 2.4 1.9-1.2 4.5-1.2 4.3 1.2 4.3 1.2.2-1 1.4-1.7 2.1-.7 2.1-.7-.5-3.1 2.1-5.5 5.7-1.4 5.7-1.4 1.5-2.3 4.2-1.1c2.7 1.2 1.7 5.2 1.7 5.2s.3-.1 1.3.5c.5.4.8.8.9 1.1.5-1.4 2.4-5.8 8.4-4 7.1 2.1 3.5 8.9 3.5 8.9s.8-.4 2 0 1.1 1.1 1.1 1.1 1.1-1.1 2.3-1.1 2.1.5 2.1.5 1.9-3.6 6.2-1.2 1.9 6.4 1.9 6.4 2.6-2.4 7.4 0c3.4 1.7 3.9 4.9 3.9 4.9s3.3-6.9 10.4-7.9 11.5 2.6 11.5 2.6.8 0 1.2.2c.4.2.9.9.9.9s4.4-3.1 8.3.2c1.9 1.7 1.5 5 1.5 5s.3-1.1 1.6-1.4c1.3-.3 2.3.2 2.3.2s-.1-1.2.5-1.9 1.9-.9 1.9-.9-4.7-9.3 4.4-13.4c5.6-2.5 9.2.9 9.2.9s5-6.2 15.9-6.2 16.1 8.1 16.1 8.1.7-.2 1.6-.4V0H0z"></path></svg>';break;case"cloud-2":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 86" preserveAspectRatio="xMidYMid slice"><path class="shape-divider-fill" d="M1280 0H0v65.2c6.8 0 13.5.9 20.1 2.6 14-21.8 43.1-28 64.8-14 5.6 3.6 10.3 8.3 14 13.9 7.3-1.2 14.8-.6 21.8 1.6 2.1-37.3 34.1-65.8 71.4-63.7 24.3 1.4 46 15.7 56.8 37.6 19-17.6 48.6-16.5 66.3 2.4C323 54 327.4 65 327.7 76.5c.4.2.8.4 1.2.7 3.3 1.9 6.3 4.2 8.9 6.9 15.9-23.8 46.1-33.4 72.8-23.3 11.6-31.9 46.9-48.3 78.8-36.6 9.1 3.3 17.2 8.7 23.8 15.7 6.7-6.6 16.7-8.4 25.4-4.8 29.3-37.4 83.3-44 120.7-14.8 14 11 24.3 26.1 29.4 43.1 4.7.6 9.3 1.8 13.6 3.8 7.8-24.7 34.2-38.3 58.9-30.5 14.4 4.6 25.6 15.7 30.3 30 14.2 1.2 27.7 6.9 38.5 16.2 11.1-35.7 49-55.7 84.7-44.7 14.1 4.4 26.4 13.3 35 25.3 12-5.7 26.1-5.5 37.9.6 3.9-11.6 15.5-18.9 27.7-17.5.2-.3.3-.6.5-.9 23.3-41.4 75.8-56 117.2-32.6 14.1 7.9 25.6 19.7 33.3 33.8 28.8-23.8 71.5-19.8 95.3 9 2.6 3.1 4.9 6.5 6.9 10 3.8-.5 7.6-.8 11.4-.8L1280 0z"/></svg>';break;case"cloud-3":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 86" preserveAspectRatio="xMidYMid slice"><path class="shape-divider-fill" d="M833.9 27.5c-5.8 3.2-11 7.3-15.5 12.2-7.1-6.9-17.5-8.8-26.6-5-30.6-39.2-87.3-46.1-126.5-15.5-1.4 1.1-2.8 2.2-4.1 3.4C674.4 33.4 684 48 688.8 64.3c4.7.6 9.3 1.8 13.6 3.8 7.8-24.7 34.2-38.3 58.9-30.5 14.4 4.6 25.6 15.7 30.3 30 14.2 1.2 27.7 6.9 38.5 16.2C840.6 49.6 876 29.5 910.8 38c-20.4-20.3-51.8-24.6-76.9-10.5zM384 43.9c-9 5-16.7 11.9-22.7 20.3 15.4-7.8 33.3-8.7 49.4-2.6 3.7-10.1 9.9-19.1 18.1-26-15.4-2.3-31.2.6-44.8 8.3zm560.2 13.6c2 2.2 3.9 4.5 5.7 6.9 5.6-2.6 11.6-4 17.8-4.1-7.6-2.4-15.6-3.3-23.5-2.8zM178.7 7c29-4.2 57.3 10.8 70.3 37 8.9-8.3 20.7-12.8 32.9-12.5C256.4 1.8 214.7-8.1 178.7 7zm146.5 56.3c1.5 4.5 2.4 9.2 2.5 14 .4.2.8.4 1.2.7 3.3 1.9 6.3 4.2 8.9 6.9 5.8-8.7 13.7-15.7 22.9-20.5-11.1-5.2-23.9-5.6-35.5-1.1zM33.5 54.9c21.6-14.4 50.7-8.5 65 13 .1.2.2.3.3.5 7.3-1.2 14.8-.6 21.8 1.6.6-10.3 3.5-20.4 8.6-29.4.3-.6.7-1.2 1.1-1.8-32.1-17.2-71.9-10.6-96.8 16.1zm1228.9 2.7c2.3 2.9 4.4 5.9 6.2 9.1 3.8-.5 7.6-.8 11.4-.8V48.3c-6.4 1.8-12.4 5-17.6 9.3zM1127.3 11c1.9.9 3.7 1.8 5.6 2.8 14.2 7.9 25.8 19.7 33.5 34 13.9-11.4 31.7-16.9 49.6-15.3-20.5-27.7-57.8-36.8-88.7-21.5z" opacity="0.5"/><path class="shape-divider-fill" d="M0 0v66c6.8 0 13.5.9 20.1 2.6 3.5-5.4 8.1-10.1 13.4-13.6 24.9-26.8 64.7-33.4 96.8-16 10.5-17.4 28.2-29.1 48.3-32 36.1-15.1 77.7-5.2 103.2 24.5 19.7.4 37.1 13.1 43.4 31.8 11.5-4.5 24.4-4.2 35.6 1.1l.4-.2c15.4-21.4 41.5-32.4 67.6-28.6 25-21 62.1-18.8 84.4 5.1 6.7-6.6 16.7-8.4 25.4-4.8 29.2-37.4 83.3-44.1 120.7-14.8l1.8 1.5c37.3-32.9 94.3-29.3 127.2 8 1.2 1.3 2.3 2.7 3.4 4.1 9.1-3.8 19.5-1.9 26.6 5 24.3-26 65-27.3 91-3.1.5.5 1 .9 1.5 1.4 12.8 3.1 24.4 9.9 33.4 19.5 7.9-.5 15.9.4 23.5 2.8 7-.1 13.9 1.5 20.1 4.7 3.9-11.6 15.5-18.9 27.7-17.5.2-.3.3-.6.5-.9 22.1-39.2 70.7-54.7 111.4-35.6 30.8-15.3 68.2-6.2 88.6 21.5 18.3 1.7 35 10.8 46.5 25.1 5.2-4.3 11.1-7.4 17.6-9.3V0H0z"/></svg>';break;case"wave":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path class="shape-divider-fill" d="M421.9,6.5c22.6-2.5,51.5,0.4,75.5,5.3c23.6,4.9,70.9,23.5,100.5,35.7c75.8,32.2,133.7,44.5,192.6,49.7c23.6,2.1,48.7,3.5,103.4-2.5c54.7-6,106.2-25.6,106.2-25.6V0H0v30.3c0,0,72,32.6,158.4,30.5c39.2-0.7,92.8-6.7,134-22.4c21.2-8.1,52.2-18.2,79.7-24.2C399.3,7.9,411.6,7.5,421.9,6.5z"></path></svg>';break;case"wave-2":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 283.5 27.8" preserveAspectRatio="none"><path class="shape-divider-fill" d="M283.5,9.7c0,0-7.3,4.3-14,4.6c-6.8,0.3-12.6,0-20.9-1.5c-11.3-2-33.1-10.1-44.7-5.7\ts-12.1,4.6-18,7.4c-6.6,3.2-20,9.6-36.6,9.3C131.6,23.5,99.5,7.2,86.3,8c-1.4,0.1-6.6,0.8-10.5,2c-3.8,1.2-9.4,3.8-17,4.7 c-3.2,0.4-8.3,1.1-14.2,0.9c-1.5-0.1-6.3-0.4-12-1.6c-5.7-1.2-11-3.1-15.8-3.7C6.5,9.2,0,10.8,0,10.8V0h283.5V9.7z M260.8,11.3 c-0.7-1-2-0.4-4.3-0.4c-2.3,0-6.1-1.2-5.8-1.1c0.3,0.1,3.1,1.5,6,1.9C259.7,12.2,261.4,12.3,260.8,11.3z M242.4,8.6 c0,0-2.4-0.2-5.6-0.9c-3.2-0.8-10.3-2.8-15.1-3.5c-8.2-1.1-15.8,0-15.1,0.1c0.8,0.1,9.6-0.6,17.6,1.1c3.3,0.7,9.3,2.2,12.4,2.7\tC239.9,8.7,242.4,8.6,242.4,8.6z M185.2,8.5c1.7-0.7-13.3,4.7-18.5,6.1c-2.1,0.6-6.2,1.6-10,2c-3.9,0.4-8.9,0.4-8.8,0.5\tc0,0.2,5.8,0.8,11.2,0c5.4-0.8,5.2-1.1,7.6-1.6C170.5,14.7,183.5,9.2,185.2,8.5z M199.1,6.9c0.2,0-0.8-0.4-4.8,1.1 c-4,1.5-6.7,3.5-6.9,3.7c-0.2,0.1,3.5-1.8,6.6-3C197,7.5,199,6.9,199.1,6.9z M283,6c-0.1,0.1-1.9,1.1-4.8,2.5s-6.9,2.8-6.7,2.7\tc0.2,0,3.5-0.6,7.4-2.5C282.8,6.8,283.1,5.9,283,6z M31.3,11.6c0.1-0.2-1.9-0.2-4.5-1.2s-5.4-1.6-7.8-2C15,7.6,7.3,8.5,7.7,8.6\tC8,8.7,15.9,8.3,20.2,9.3c2.2,0.5,2.4,0.5,5.7,1.6S31.2,11.9,31.3,11.6z M73,9.2c0.4-0.1,3.5-1.6,8.4-2.6c4.9-1.1,8.9-0.5,8.9-0.8 c0-0.3-1-0.9-6.2-0.3S72.6,9.3,73,9.2z M71.6,6.7C71.8,6.8,75,5.4,77.3,5c2.3-0.3,1.9-0.5,1.9-0.6c0-0.1-1.1-0.2-2.7,0.2\tC74.8,5.1,71.4,6.6,71.6,6.7z M93.6,4.4c0.1,0.2,3.5,0.8,5.6,1.8c2.1,1,1.8,0.6,1.9,0.5c0.1-0.1-0.8-0.8-2.4-1.3\tC97.1,4.8,93.5,4.2,93.6,4.4z M65.4,11.1c-0.1,0.3,0.3,0.5,1.9-0.2s2.6-1.3,2.2-1.2s-0.9,0.4-2.5,0.8C65.3,10.9,65.5,10.8,65.4,11.1 z M34.5,12.4c-0.2,0,2.1,0.8,3.3,0.9c1.2,0.1,2,0.1,2-0.2c0-0.3-0.1-0.5-1.6-0.4C36.6,12.8,34.7,12.4,34.5,12.4z M152.2,21.1 c-0.1,0.1-2.4-0.3-7.5-0.3c-5,0-13.6-2.4-17.2-3.5c-3.6-1.1,10,3.9,16.5,4.1C150.5,21.6,152.3,21,152.2,21.1z"></path><path class="shape-divider-fill" d="M269.6,18c-0.1-0.1-4.6,0.3-7.2,0c-7.3-0.7-17-3.2-16.
16-2.9c0.4,0.3,13.7,3.1,17,3.3\tC267.7,18.8,269.7,18,269.6,18z"></path><path class="shape-divider-fill" d="M227.4,9.8c-0.2-0.1-4.5-1-9.5-1.2c-5-0.2-12.7,0.6-12.3,0.5c0.3-0.1,5.9-1.8,13.3-1.2\tS227.6,9.9,227.4,9.8z"></path><path class="shape-divider-fill" d="M204.5,13.4c-0.1-0.1,2-1,3.2-1.1c1.2-0.1,2,0,2,0.3c0,0.3-0.1,0.5-1.6,0.4\tC206.4,12.9,204.6,13.5,204.5,13.4z"></path><path class="shape-divider-fill" d="M201,10.6c0-0.1-4.4,1.2-6.3,2.2c-1.9,0.9-6.2,3.1-6.1,3.1c0.1,0.1,4.2-1.6,6.3-2.6\tS201,10.7,201,10.6z"></path><path class="shape-divider-fill" d="M154.5,26.7c-0.1-0.1-4.6,0.3-7.2,0c-7.3-0.7-17-3.2-16.6-2.9c0.4,0.3,13.7,3.1,17,3.3\tC152.6,27.5,154.6,26.8,154.5,26.7z"></path><path class="shape-divider-fill" d="M41.9,19.3c0,0,1.2-0.3,2.9-0.1c1.7,0.2,5.8,0.9,8.2,0.7c4.2-0.4,7.4-2.7,7-2.6\tc-0.4,0-4.3,2.2-8.6,1.9c-1.8-0.1-5.1-0.5-6.7-0.4S41.9,19.3,41.9,19.3z"></path><path class="shape-divider-fill" d="M75.5,12.6c0.2,0.1,2-0.8,4.3-1.1c2.3-0.2,2.1-0.3,2.1-0.5c0-0.1-1.8-0.4-3.4,0\tC76.9,11.5,75.3,12.5,75.5,12.6z"></path><path class="shape-divider-fill" d="M15.6,13.2c0-0.1,4.3,0,6.7,0.5c2.4,0.5,5,1.9,5,2c0,0.1-2.7-0.8-5.1-1.4\tC19.9,13.7,15.7,13.3,15.6,13.2z"></path></svg>';break;case"wave-3":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1047.1 3.7" preserveAspectRatio="xMidYMin slice"><path class="shape-divider-fill" d="M1047.1,0C557,0,8.9,0,0,0v1.6c0,0,0.6-1.5,2.7-0.3C3.9,2,6.1,4.1,8.3,3.5c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3C13.8,2,16,4.1,18.2,3.5c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3C23.6,2,25.9,4.1,28,3.5c0.9-0.2,1.5-1.9,1.5-1.9\tc0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3C63,2,65.3,4.1,67.4,3.5\tC68.3,3.3,69,1.6,69,1.6s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3\tC82.7,2,85,4.1,87.1,3.5c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3C92.6,2,94.8,4.1,97,3.5c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\tc0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\tc0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\tc0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\tc0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\tc0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\tc0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\tc0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.6-0.4V0z M2.5,1.2C2.5,1.2,2.5,1.2,2.5,1.2C2.5,1.2,2.5,1.2,2.5,1.2z M2.7,1.4c0.1,0,0.1,0.1,0.1,0.1C2.8,1.4,2.8,1.4,2.7,1.4z"></path></svg>';break;case"wave-4":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M0 51.76c36.21-2.25 77.57-3.58 126.42-3.58 320 0 320 57 640 57 271.15 0 312.58-40.91 513.58-53.4V0H0z" opacity="0.3"></path><path class="shape-divider-fill" d="M0 24.31c43.46-5.69 94.56-9.25 158.42-9.25 320 0 320 89.24 640 89.24 256.13 0 307.28-57.16 481.58-80V0H0z" opacity="0.5"></path><path class="shape-divider-fill" d="M0 0v3.4C28.2 1.6 59.4.59 94.42.59c320 0 320 84.3 640 84.3 285 0 316.17-66.85 545.58-81.49V0z"></path></svg>';break;case"wave-5":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M0 0v100c20 17.3 40 29.51 80 29.51 51.79 0 74.69-48.57 151.75-48.57 73.72 0 91 54.88 191.56 54.88C543.95 135.8 554 14 665.69 14c109.46 0 98.85 87 188.2 87 70.37 0 69.81-33.73 115.6-33.73 55.85 0 62 39.62 115.6 39.62 58.08 0 57.52-46.59 115-46.59 39.8 0 60 22.48 79.89 39.69V0z"></path></svg>';break;case"wave-6":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M504.854,80.066c7.812,0,14.893,0.318,21.41,0.879 c-25.925,22.475-56.093,40.852-102.946,40.852c-20.779,0-37.996-2.349-52.898-6.07C413.517,107.295,434.056,80.066,504.854,80.066z M775.938,51.947c19.145,18.596,39.097,35.051,77.956,35.051c46.907,0,62.299-14.986,80.912-24.98 c-21.357-15.783-46.804-28.348-85.489-28.348C816.829,33.671,794.233,41.411,775.938,51.947z" opacity="0.3"></path><path class="shape-divider-fill" d="M1200.112,46.292c39.804,0,59.986,22.479,79.888,39.69v16.805 c-19.903-10.835-40.084-21.777-79.888-21.777c-72.014,0-78.715,43.559-147.964,43.559c-56.84,0-81.247-35.876-117.342-62.552 c9.309-4.998,19.423-8.749,34.69-8.749c55.846,0,61.99,39.617,115.602,39.617C1143.177,92.887,1142.618,46.292,1200.112,46.292z M80.011,115.488c-40.006,0-60.008-12.206-80.011-29.506v16.806c20.003,10.891,40.005,21.782,80.011,21.782 c80.004,0,78.597-30.407,137.669-30.407c55.971,0,62.526,24.026,126.337,24.026c9.858,0,18.509-0.916,26.404-2.461 c-57.186-14.278-80.177-48.808-138.66-48.808C154.698,66.919,131.801,115.488,80.011,115.488z M526.265,80.945 c56.848,4.902,70.056,28.726,137.193,28.726c54.001,0,73.43-35.237,112.48-57.724C751.06,27.782,727.548,0,665.691,0 C597.381,0,567.086,45.555,526.265,80.945z" opacity="0.5"></path><path class="shape-divider-fill" d="M0,0v85.982c20.003,17.3,40.005,29.506,80.011,29.506c51.791,0,74.688-48.569,151.751-48.569 c58.482,0,81.473,34.531,138.66,48.808c43.096-8.432,63.634-35.662,134.433-35.662c7.812,0,14.893,0.318,21.41,0.879 C567.086,45.555,597.381,0,665.691,0c61.856,0,85.369,27.782,110.246,51.947c18.295-10.536,40.891-18.276,73.378-18.276 c38.685,0,64.132,12.564,85.489,28.348c9.3
109-4.998,19.423-8.749,34.69-8.749c55.846,0,61.99,39.617,115.602,39.617 c58.08,0,57.521-46.595,115.015-46.595c39.804,0,59.986,22.479,79.888,39.69V0H0z"></path></svg>';break;case"slant":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path class="shape-divider-fill" d="M0,6V0h1000v100L0,6z"></path></svg>';break;case"slant-2":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2600 131.1" preserveAspectRatio="none"><path class="shape-divider-fill" d="M0 0L2600 0 2600 69.1 0 0z"></path><path class="shape-divider-fill" opacity="0.5" d="M0 0L2600 0 2600 69.1 0 69.1z"></path><path class="shape-divider-fill" opacity="0.25" d="M2600 0L0 0 0 130.1 2600 69.1z"></path></svg>';break;case"slant-3":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M1280 140V0H0l1280 140z" opacity="0.5"></path><path class="shape-divider-fill" d="M1280 98V0H0l1280 98z"></path></svg>';break;case"rounded":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path class="shape-divider-fill" d="M1000,4.3V0H0v4.3C0.9,23.1,126.7,99.2,500,100S1000,22.7,1000,4.3z"></path></svg>';break;case"rounded-2":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path class="shape-divider-fill" d="M0,0c0,0,0,6,0,6.7c0,18,240.2,93.6,615.2,92.6C989.8,98.5,1000,25,1000,6.7c0-0.7,0-6.7,0-6.7H0z"></path></svg>';break;case"rounded-3":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M0 0s573.08 140 1280 140V0z"></path></svg>';break;case"rounded-4":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M0 0v60s573.09 80 1280 80V0z" opacity="0.3"></path><path class="shape-divider-fill" d="M0 0v30s573.09 110 1280 110V0z" opacity="0.5"></path><path class="shape-divider-fill" d="M0 0s573.09 140 1280 140V0z"></path></svg>';break;case"rounded-5":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M0 0v.48C18.62 9.38 297.81 140 639.5 140 993.24 140 1280 0 1280 0z" opacity="0.3"></path><path class="shape-divider-fill" d="M0 .6c14 8.28 176.54 99.8 555.45 119.14C952.41 140 1280 0 1280 0H0z" opacity="0.5"></path><path class="shape-divider-fill" d="M726.29 101.2C1126.36 79.92 1281 0 1281 0H1c.05 0 325.25 122.48 725.29 101.2z"></path></svg>';break;case"triangle":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 10" preserveAspectRatio="none"><path class="shape-divider-fill" d="M350,10L340,0h20L350,10z"></path></svg>';break;case"drops":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 283.5 27.8" preserveAspectRatio="xMidYMax slice"><path class="shape-divider-fill" d="M0 0v1.4c.6.7 1.1 1.4 1.4 2 2 3.8 2.2 6.6 1.8 10.8-.3 3.3-2.4 9.4 0 12.3 1.7 2 3.7 1.4 4.6-.9 1.4-3.8-.7-8.2-.6-12 .1-3.7 3.2-5.5 6.9-4.9 4 .6 4.8 4 4.9 7.4.1 1.8-1.1 7 0 8.5.6.8 1.6 1.2 2.4.5 1.4-1.1.1-5.4.1-6.9.1-3.7.3-8.6 4.1-10.5 5-2.5 6.2 1.6 5.4 5.6-.4 1.7-1 9.2 2.9 6.3 1.5-1.1.7-3.5.5-4.9-.4-2.4-.4-4.3 1-6.5.9-1.4 2.4-3.1 4.2-3 2.4.1 2.7 2.2 4 3.7 1.5 1.8 1.8 2.2 3 .1 1.1-1.9 1.2-2.8 3.6-3.3 1.3-.3 4.8-1.4 5.9-.5 1.5 1.1.6 2.8.4 4.3-.2 1.1-.6 4 1.8 3.4 1.7-.4-.3-4.1.6-5.6 1.3-2.2 5.8-1.4 7 .5 1.3 2.1.5 5.8.1 8.1s-1.2 5-.6 7.4c1.3 5.1 4.4.9 4.3-2.4-.1-4.4-2-8.8-.5-13 .9-2.4 4.6-6.6 7.7-4.5 2.7 1.8.5 7.8.2 10.3-.2 1.7-.8 4.6.2 6.2.9 1.4 2 1.5 2.6-.3.5-1.5-.9-4.5-1-6.1-.2-1.7-.4-3.7.2-5.4 1.8-5.6 3.5 2.4 6.3.6 1.4-.9 4.3-9.4 6.1-3.1.6 2.2-1.3 7.8.7 8.9 4.2 2.3 1.5-7.1 2.2-8 3.1-4 4.7 3.8 6.1 4.1 3.1.7 2.8-7.9 8.1-4.5 1.7 1.1 2.9 3.3 3.2 5.2.4 2.2-1 4.5-.6 6.6 1 4.3 4.4 1.5 4.4-1.7 0-2.7-3-8.3 1.4-9.1 4.4-.9 7.3 3.5 7.8 6.9.3 2-1.5 10.9 1.3 11.3 4.1.6-3.2-15.7 4.8-15.8 4.7-.1 2.8 4.1 3.9 6.6 1 2.4 2.1 1 2.3-.8.3-1.9-.9-3.2 1.3-4.3 5.9-2.9 5.9 5.4 5.5 8.5-.3 2-1.7 8.4 2 8.1 6.9-.5-2.8-16.9 4.8-18.7 4.7-1.2 6.1 3.6 6.3 7.1.1 1.7-1.2 8.1.6 9.1 3.5 2 1.9-7 2-8.4.2-4 1.2-9.6 6.4-9.8 4.7-.2 3.2 4.6 2.7 7.5-.4 2.2 1.3 8.6 3.8 4.4 1.1-1.9-.3-4.1-.3-6 0-1.7.4-3.2 1.3-4.6 1-1.6 2.9-3.5 5.1-2.9 2.5.6 2.3 4.1 4.1 4.9 1.9.8 1.6-.9 2.3-2.1 1.2-2.1 2.1-2.1 4.4-2.4 1.4-.2 3.6-1.5 4.9-.5 2.3 1.7-.7 4.4.1 6.5.6 1.5 2.1 1.7 2.8.3.7-1.4-1.1-3.4-.3-4.8 1.4-2.5 6.2-1.2 7.2 1 2.3 4.8-3.3 12-.2 16.3 3 4.1 3.9-2.8 3.8-4.8-.4-4.3-2.1-8.9 0-13.1 1.3-2.5 5.9-5.7 7.9-2.4 2 3.2-1.3 9.8-.8 13.4.5 4.4 3.5 3.3 2.7-.8-.4-1.9-2.4-10 .6-11.1 3.7-1.4 2.8 7.2 6.5.4 2.2-4.1 4.9-3.1 5.2 1.2.1 1.5-.6 3.1-.4 4.6.2 1.9 1.8 3.7 3.3 1.3 1-1.6-2.6-10.4 2.9-7.3 2.6 1.5 1.6 6.5 4.8 2.7 1.3-1.5 1.7-3.6 4-3.7 2.2-.1 4 2.3 4.8 4.1 1.3 2.9-1.5 8.4.9 10.3 4.2 3.3 3-5.5 2.7-6.9-.6-3.9 1-7.2 5.5-5 4.1 2.1 4.3 7.7 4.1 11.6 0 .8-.6 9.5 2.5 5.2 1.2-1.7-.1-7.7.1-9.6.3-2.9 1.2-5.5 4.3-6.2 4.5-1 7.7 1.5 7.4 5.8-.2 3.5-1.8 7.7-.5 11.1 1 2.7 3.6 2.8 5 .2 1.6-3.1 0-8.3-.4-11.6-.4-4.2-.2-7 1.8-10.8 0 0-.1.1-.1.2-.2.4-.3.7-.4.8v.1c-.1.2-.1.2 0 0v-.1l.4-.8c0-.1.1-.1.1-.2.2-.4.5-.8.8-1.2V0H0zM282.7 3.4z"></path></svg>';break;case"cliff":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 279.24" preserveAspectRatio="none"><path class="shape-divider-fill" d="M1000 0S331.54-4.18 0 279.24h1000z" opacity="0.25"></path><path class="shape-divider-fill" d="M1000 279.24s-339.56-44.3-522.95-109.6S132.8
16 23.76 0 25.15v254.09z"></path></svg>';break;case"zigzag":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1800 5.8" preserveAspectRatio="none"><path class="shape-divider-fill" d="M5.4.4l5.4 5.3L16.5.4l5.4 5.3L27.5.4 33 5.7 38.6.4l5.5 5.4h.1L49.9.4l5.4 5.3L60.9.4l5.5 5.3L72 .4l5.5 5.3L83.1.4l5.4 5.3L94.1.4l5.5 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.4 5.3L161 .4l5.4 5.3L172 .4l5.5 5.3 5.6-5.3 5.4 5.3 5.7-5.3 5.4 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.5 5.3L261 .4l5.4 5.3L272 .4l5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.1l5.7-5.4 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.7-5.3 5.4 5.4h.2l5.6-5.4 5.5 5.3L361 .4l5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.1l5.7-5.4 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.1l5.6-5.4 5.5 5.3L461 .4l5.5 5.3 5.6-5.3 5.4 5.3 5.7-5.3 5.4 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.1L550 .4l5.4 5.3L561 .4l5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.4 5.3 5.7-5.3 5.4 5.3 5.6-5.3 5.5 5.4h.2L650 .4l5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.4h.2L750 .4l5.5 5.3 5.6-5.3 5.4 5.3 5.7-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.1l5.7-5.4 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.4h.2L850 .4l5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.4 5.3 5.7-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.1l5.7-5.4 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.4 5.3 5.7-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.1l5.7-5.4 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.1l5.7-5.4 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.7-5.3 5.4 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.1l5.6-5.4 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.7-5.3 5.4 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.1l5.7-5.4 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.1l5.6-5.4 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.7-5.3 5.4 5.3 5.6-5.3 5.5 5.4V0H-.2v5.8z"></path></svg>';break;case"illusion":d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 283.5 19.6" preserveAspectRatio="none"><path class="shape-divider-fill" opacity="0.33" d="M0 0L0 18.8 141.8 4.1 283.5 18.8 283.5 0z"></path><path class="shape-divider-fill" opacity="0.33" d="M0 0L0 12.6 141.8 4 283.5 12.6 283.5 0z"></path><path class="shape-divider-fill" opacity="0.33" d="M0 0L0 6.4 141.8 4 283.5 6.4 283.5 0z"></path><path class="shape-divider-fill" d="M0 0L0 1.2 141.8 4 283.5 1.2 283.5 0z"></path></svg>';break;default:d=""}t.html(d),t.find("svg").addClass("op-ts"),setTimeout(function(){t.find("svg").addClass("op-1")},500)})},(p=>{p.fn.scwStickySidebar=function(e){function t(e,t){return!0===e.initialized||!(p("body").width()<e.minWidth)&&(t=t,(u=e).initialized=!0,0===p("#scw-sticky-sidebar-stylesheet-"+u.namespace).length&&p("head").append(p('<style id="scw-sticky-sidebar-stylesheet-'+u.namespace+'">.scwStickySidebar:after {content: ""; display: table; clear: both;}</style>')),t.each(function(){function c(){a.fixedScrollTop=0,a.sidebar.css({"min-height":"1px"}),a.stickySidebar.css({position:"static",width:"",transform:"none"})}var i,e,t,n,a={},s=(a.sidebar=p(this),a.options=u||{},a.container=p(a.options.containerSelector),0==a.container.length&&(a.container=a.sidebar.parent()),a.sidebar.parents().css("-webkit-transform","none"),a.sidebar.css({position:a.options.defaultPosition,overflow:"visible","-webkit-box-sizing":"border-box","-moz-box-sizing":"border-box","box-sizing":"border-box"}),a.stickySidebar=a.sidebar.find(".scwStickySidebar"),0==a.stickySidebar.length&&(i=/(?:text|application)\/(?:x-)?(?:javascript|ecmascript)/i,a.sidebar.find("script").filter(function(e,t){return 0===t.type.length||t.type.match(i)}).remove(),a.stickySidebar=p("<div>").addClass("scwStickySidebar").append(a.sidebar.children()),a.sidebar.append(a.stickySidebar)),a.marginBottom=parseInt(a.sidebar.css("margin-bottom")),a.paddingTop=parseInt(a.sidebar.css("padding-top")),a.paddingBottom=parseInt(a.sidebar.css("padding-bottom")),a.stickySidebar.offset().top),o=a.stickySidebar.outerHeight();a.stickySidebar.css("padding-top",1),a.stickySidebar.css("padding-bottom",1),s-=a.stickySidebar.offset().top,o=a.stickySidebar.outerHeight()-o-s,0==s?(a.stickySidebar.css("padding-top",0),a.stickySidebarPaddingTop=0):a.stickySidebarPaddingTop=1,0==o?(a.stickySidebar.css("padding-bottom",0),a.stickySidebarPaddingBottom=0):a.stickySidebarPaddingBottom=1,a.previousScrollTop=null,a.fixedScrollTop=0,c(),a.onScroll=function(e){if(e.stickySidebar.is(":visible"))if(p("body").width()<e.options.minWidth)c();else{if(e.options.disableOnResponsiveLayouts)if(e.sidebar.outerWidth("none"==e.sidebar.css("float"))+50>e.container.width())return void c();var t,i,n,a,s,o=p(document).scrollTop(),r="static";o>=e.sidebar.offset().top+(e.paddingTop-e.options.additionalMarginTop)&&(i=e.paddingTop+u.additionalMarginTop,a=e.paddingBottom+e.marginBottom+u.additionalMarginBottom,s=e.sidebar.offset().top,l=e.sidebar.offset().top+(l=e.container,d=l.height(),l.children().each(function(){d=Math.max(d,p(this).height())}),d),t=0+u.additionalMarginTop,i=e.stickySidebar.outerHeight()+i+a<p(window).height()?t+e.stickySidebar.outerHeight():p(window).height()-e.marginBottom-e.paddingBottom-u.additionalMarginBottom,a=s-o+e.paddingTop,s=l-o-e.paddingBottom-e.marginBottom,l=e.stickySidebar.offset().top-o,n=e.previousScrollTop-o,"fixed"==e.stickySidebar.css("position")&&"modern"==e.options.sidebarBehavior&&(l+=n),"stick-to-top"==e.options.sidebarBehavior&&(l=u.additionalMarginTop),"stick-to-bottom"==e.options.sidebarBehavior&&(l=i-e.stickySidebar.outerHeight()),l=0<n?Math.min(l,t):Math.max(l,i-e.stickySidebar.outerHeight()),l=Math.max(l,a),l=Math.min(l,s-e.stickySidebar.outerHeight()),r=!(n=e.container.height()==e.stickySidebar.outerHeight())&&l==t||!n&&l==i-e.stickySidebar.outerHeight()?"fixed":o+l-e.sidebar.offset().top-e.paddingTop<=u.additionalMarginTop?"static":"absolute"),"fixed"==r?(a=p(document).scrollLeft(),e.stickySidebar.css({position:"fixed",width:h(e.stickySidebar)+"px",transform:"translateY("+l+"px)",left:e.sidebar.offset().left+parseInt(e.sidebar.css("padding-left"))-a+"px",top:"0px"})):"absolute"==r?(s={},"absolute"!=e.stickySidebar.css("position")&&(s.position="absolute",s.transform="translateY("+(o+l-e.sidebar.offset().top-e.stickySidebarPaddingTop-e.stickySidebarPaddingBottom)+"px)",s.top="0px"),s.width=h(e.stickySidebar)+"px",s.left="",e.stickySidebar.css(s)):"static"==r&&c(),"static"!=r&&1==e.options.updateSidebarHeight&&e.sidebar.css({"min-height":e.stickySidebar.outerHeight()+e.stickySidebar.offset().top-e.sidebar.offset().top+e.paddingBottom}),e.previousScrollTop=o}var l,d},a.onScroll(a),p(document).on("scroll."+a.options.namespace,(n=a,function(){n.onScroll(n)})),p(window).on("resize."+a.options.namespace,(t=a,function(){t.stickySidebar.css({position:"static"}),t.onScroll(t)})),"undefined"!=typeof ResizeSensor&&new ResizeSensor(a.stickySidebar[0],(e=a,function(){e.onScroll(e)}))}),!0);var u}function h(e){var t;try{t=e[0].getBoundingClientRect().width}catch(e){}return t=void 0===t?e.width():t}var i,n,a,s,o;return(e=p.extend({containerSelector:"",additionalMarginTop:0,additionalMarginBottom:0,updateSidebarHeight:!0,minWidth:0,disableOnResponsiveLayouts:!0,sidebarBehavior:"modern",defaultPosition:"relative",namespace:"TSS"},e)).additionalMarginTop=parseInt(e.additionalMarginTop)||0,e.additionalMarginBottom=parseInt(e.additionalMarginBottom)||
10,t(e=e,i=this)||(console.log("TSS: Body width smaller than options.minWidth. Init is delayed."),p(document).on("scroll."+e.namespace,(s=e,o=i,function(e){t(s,o)&&p(this).unbind(e)})),p(window).on("resize."+e.namespace,(n=e,a=i,function(e){t(n,a)&&p(this).unbind(e)}))),this}})(jQuery),(()=>{function r(i,e){function u(){var e,t;this.q=[],this.add=function(e){this.q.push(e)},this.call=function(){for(e=0,t=this.q.length;e<t;e++)this.q[e].call()}}function t(e,t){if(e.resizedAttached){if(e.resizedAttached)return e.resizedAttached.add(t)}else e.resizedAttached=new u,e.resizedAttached.add(t);e.resizeSensor=document.createElement("div"),e.resizeSensor.className="resize-sensor";var t="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;",i="position: absolute; left: 0; top: 0; transition: 0s;";e.resizeSensor.style.cssText=t,e.resizeSensor.innerHTML='<div class="resize-sensor-expand" style="'+t+'"><div style="'+i+'"></div></div><div class="resize-sensor-shrink" style="'+t+'"><div style="'+i+' width: 200%; height: 200%"></div></div>',e.appendChild(e.resizeSensor),{fixed:1,absolute:1}[t="position",(i=e).currentStyle?i.currentStyle[t]:window.getComputedStyle?window.getComputedStyle(i,null).getPropertyValue(t):i.style[t]]||(e.style.position="relative");function n(){d.style.width=l.offsetWidth+10+"px",d.style.height=l.offsetHeight+10+"px",l.scrollLeft=l.scrollWidth,l.scrollTop=l.scrollHeight,c.scrollLeft=c.scrollWidth,c.scrollTop=c.scrollHeight,o=e.offsetWidth,r=e.offsetHeight}function a(e,t,i){e.attachEvent?e.attachEvent("on"+t,i):e.addEventListener(t,i)}function s(){e.offsetWidth==o&&e.offsetHeight==r||e.resizedAttached&&e.resizedAttached.call(),n()}var o,r,l=e.resizeSensor.childNodes[0],d=l.childNodes[0],c=e.resizeSensor.childNodes[1];c.childNodes[0],n();a(l,"scroll",s),a(c,"scroll",s)}var n=Object.prototype.toString.call(i),a="[object Array]"===n||"[object NodeList]"===n||"[object HTMLCollection]"===n||"undefined"!=typeof jQuery&&i instanceof jQuery||"undefined"!=typeof Elements&&i instanceof Elements;if(a)for(var s=0,o=i.length;s<o;s++)t(i[s],e);else t(i,e);this.detach=function(){if(a)for(var e=0,t=i.length;e<t;e++)r.detach(i[e]);else r.detach(i)}}r.detach=function(e){e.resizeSensor&&(e.removeChild(e.resizeSensor),delete e.resizeSensor,delete e.resizedAttached)},"undefined"!=typeof module&&void 0!==module.exports?module.exports=r:window.ResizeSensor=r})(),window.SEMICOLON_stickySidebarInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;
1e.each(function(){var e=$(this),t=e.attr("data-offset-top")||110,i=e.attr("data-offset-bottom")||50;e.scwStickySidebar({additionalMarginTop:Number(t),additionalMarginBottom:Number(i)})})},window.scwSubscribeFormPlugin=window.scwSubscribeFormPlugin||{},window.SEMICOLON_subscribeFormInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){var i,n,a,e=$(this),s=e.attr("data-alert-type"),o=e.attr("data-loader"),r=e.find(".widget-subscribe-form-result"),l=e.attr("data-redirect");e.find("form").validate({submitHandler:function(t){r.hide(),"button"==o?(i=$(t).find("button"),n=i.html(),i.html('<i class="icon-line-loader icon-spin nomargin"></i>')):$(t).find(".icon-email2").removeClass("icon-email2").addClass("icon-line-loader icon-spin"),$(t).ajaxSubmit({target:r,dataType:"json",resetForm:!0,success:function(e){if("button"==o?i.html(n):$(t).find(".icon-line-loader").removeClass("icon-line-loader icon-spin").addClass("icon-email2"),"error"!=e.alert&&l)return window.location.replace(l),!0;"inline"==s?(a="error"==e.alert?"alert-danger":"alert-success",r.addClass("alert "+a).html(e.message).slideDown(400)):(r.attr("data-notify-type",e.alert).attr("data-notify-msg",e.message).html(""),SEMICOLON.widget.notifications({el:r}))}})}})})},((e,t)=>{"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).Swiper=t()})(this,function(){function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t(){return(t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i,n=arguments[t];for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function n(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function a(t,i){void 0===t&&(t={}),void 0===i&&(i={}
1),Object.keys(i).forEach(function(e){void 0===t[e]?t[e]=i[e]:n(i[e])&&n(t[e])&&0<Object.keys(i[e]).length&&a(t[e],i[e])})}var i={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function v(){var e="undefined"!=typeof document?document:{};return a(e,i),e}var j={document:i,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function X(){var e="undefined"!=typeof window?window:{};return a(e,j),e}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function r(e,t,i){return(r=(()=>{if("undefined"!=typeof Reflect&&Reflect.construct&&!Reflect.construct.sham){if("function"==typeof Proxy)return 1;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),1}catch(e){}}})()?Reflect.construct:function(e,t,i){var n=[null],t=(n.push.apply(n,t),new(Function.bind.apply(e,n)));return i&&o(t,i.prototype),t}).apply(null,arguments)}function D(e){var i="function"==typeof Map?new Map:void 0;return function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==i){if(i.has(e))return i.get(e);i.set(e,t)}function t(){return r(e,arguments,s(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),o(t,e)}(e)}l=D(Array),g=l,(m=z).prototype=Object.create(g.prototype),(m.prototype.constructor=m).__proto__=g;var l,d=z;function z(e){var e=l.call.apply(l,[this].concat(e))||this,t=(e=>{if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e})(e),i=t.__proto__;return Object.defineProperty(t,"__proto__",{get:function(){return i},set:function(e){i.__proto__=e}}),e}function c(e){var t=[];return(e=void 0===e?[]:e).forEach(function(e){Array.isArray(e)?t.push.apply(t,c(e)):t.push(e)}),t}function N(e,t){return Array.prototype.filter.call(e,t)}function _(e,a){var t=X(),s=v(),i=[];if(!a&&e instanceof d)return e;if(!e)return new d(i);if("string"==typeof e){var n=e.trim();if(0<=n.indexOf("<")&&0<=n.indexOf(">")){var o="div",r=(0===n.indexOf("<li")&&(o="ul"),0===n.indexOf("<tr")&&(o="tbody"),0!==n.indexOf("<td")&&0!==n.indexOf("<th")||(o="tr"),0===n.indexOf("<tbody")&&(o="table"),0===n.indexOf("<option")&&(o="select"),s.createElement(o));r.innerHTML=n;for(var l=0;l<r.childNodes.length;l+=1)i.push(r.childNodes[l])}else i=(e=>{if("string"!=typeof e)return[e];for(var t=[],i=(a||s).querySelectorAll(e),n=0;n<i.length;n+=1)t.push(i[n]);return t})(e.trim())}else if(e.nodeType||e===t||e===s)i.push(e);else if(Array.isArray(e)){if(e instanceof d)return e;i=e}return new d((e=>{for(var t=[],i=0;i<e.length;i+=1)-1===t.indexOf(e[i])&&t.push(e[i]);return t})(i))}_.fn=d.prototype;
1var u,w,C,A={addClass:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var n=c(t.map(function(e){return e.split(" ")}));return this.forEach(function(e){(e=e.classList).add.apply(e,n)}),this},removeClass:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var n=c(t.map(function(e){return e.split(" ")}));return this.forEach(function(e){(e=e.classList).remove.apply(e,n)}),this},hasClass:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var n=c(t.map(function(e){return e.split(" ")}));return 0<N(this,function(t){return 0<n.filter(function(e){return t.classList.contains(e)}).length}).length},toggleClass:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var n=c(t.map(function(e){return e.split(" ")}));this.forEach(function(t){n.forEach(function(e){t.classList.toggle(e)})})},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var i=0;i<this.length;i+=1)if(2===arguments.length)this[i].setAttribute(e,t);else for(var n in e)this[i][n]=e[n],this[i].setAttribute(n,e[n]);return this},removeAttr:function(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},transform:function(e){for(var t=0;t<this.length;t+=1)this[t].style.transform=e;return this},transition:function(e){for(var t=0;t<this.length;t+=1)this[t].style.transition="string"!=typeof e?e+"ms":e;return this},on:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var n=t[0],s=t[1],o=t[2],a=t[3];function r(e){var t=e.target;if(t){var i=e.target.dom7EventData||[];if(i.indexOf(e)<0&&i.unshift(e),_(t).is(s))o.apply(t,i);else for(var n=_(t).parents(),a=0;a<n.length;a+=1)_(n[a]).is(s)&&o.apply(n[a],i)}}function l(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),o.apply(this,t)}"function"==typeof t[1]&&(n=t[0],o=t[1],a=t[2],s=void 0);for(var d,a=a||!1,c=n.split(" "),u=0;u<this.length;u+=1){var h=this[u];if(s)for(d=0;d<c.length;d+=1){var p=c[d];h.dom7LiveListeners||(h.dom7LiveListeners={}),h.dom7LiveListeners[p]||(h.dom7LiveListeners[p]=[]),h.dom7LiveListeners[p].push({listener:o,proxyListener:r}),h.addEventListener(p,r,a)}else for(d=0;d<c.length;d+=1){var f=c[d];h.dom7Listeners||(h.dom7Listeners={}),h.dom7Listeners[f]||(h.dom7Listeners[f]=[]),h.dom7Listeners[f].push({listener:o,proxyListener:l}),h.addEventListener(f,l,a)}}return this},off:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var n=t[0],a=t[1],s=t[2],o=t[3];"function"==typeof t[1]&&(n=t[0],s=t[1],o=t[2],a=void 0);for(var o=o||!1,r=n.split(" "),l=0;l<r.length;l+=1)for(var d=r[l],c=0;c<this.length;c+=1){var u=this[c],h=void 0;if(!a&&u.dom7Listeners?h=u.dom7Listeners[d]:a&&u.dom7LiveListeners&&(h=u.dom7LiveListeners[d]),h&&h.length)for(var p=h.length-1;0<=p;--p){var f=h[p];(s&&f.listener===s||s&&f.listener&&f.listener.dom7proxy&&f.listener.dom7proxy===s||!s)&&(u.removeEventListener(d,f.proxyListener,o),h.splice(p,1))}}return this},trigger:function(){for(var e=X(),t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];for(var a=i[0].split(" "),s=i[1],o=0;o<a.length;o+=1)for(var r=a[o],l=0;l<this.length;l+=1){var d,c=this[l];e.CustomEvent&&(d=new e.CustomEvent(r,{detail:s,bubbles:!0,cancelable:!0}),c.dom7EventData=i.filter(function(e,t){return 0<t}),c.dispatchEvent(d),c.dom7EventData=[],delete c.dom7EventData)}return this},transitionEnd:function(i){var n=this;return i&&n.on("transitionend",function e(t){t.target===this&&(i.call(this,t),n.off("transitionend",e))}),this},outerWidth:function(e){return 0<this.length?e?(e=this.styles(),this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))):this[0].offsetWidth:null},outerHeight:function(e){return 0<this.length?e?(e=this.styles(),this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))):this[0].offsetHeight:null},styles:function(){var e=X();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){var e,t,i,n,a,s;return 0<this.length?(s=X(),n=v(),t=(e=this[0]).getBoundingClientRect(),n=n.body,i=e.clientTop||n.clientTop||0,n=e.clientLeft||n.clientLeft||0,a=e===s?s.scrollY:e.scrollTop,s=e===s?s.scrollX:e.scrollLeft,{top:t.top+a-i,left:t.left+s-n}):null},css:function(e,t){var i,n=X();if(1===arguments.length){if("string"!=typeof e){for(i=0;i<this.length;i+=1)for(var a in e)this[i].style[a]=e[a];return this}if(this[0])return n.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e)for(i=0;i<this.length;i+=1)this[i].style[e]=t;return this},each:function(i){return i&&this.forEach(function(e,t){i.apply(e,[e,t])}),this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){var t,i,n=X(),a=v(),s=this[0];if(s&&void 0!==e)if("string"==typeof e){if(s.matches)return s.matches(e);if(s.webkitMatchesSelector)return s.webkitMatchesSelector(e);
1if(s.msMatchesSelector)return s.msMatchesSelector(e);for(t=_(e),i=0;i<t.length;i+=1)if(t[i]===s)return!0}else{if(e===a)return s===a;if(e===n)return s===n;if(e.nodeType||e instanceof d)for(t=e.nodeType?[e]:e,i=0;i<t.length;i+=1)if(t[i]===s)return!0}return!1},index:function(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){var t;return void 0===e?this:_((t=this.length)-1<e?[]:e<0?(t=t+e)<0?[]:[this[t]]:[this[e]])},append:function(){for(var e=v(),t=0;t<arguments.length;t+=1)for(var i=t<0||arguments.length<=t?void 0:arguments[t],n=0;n<this.length;n+=1)if("string"==typeof i){var a=e.createElement("div");for(a.innerHTML=i;a.firstChild;)this[n].appendChild(a.firstChild)}else if(i instanceof d)for(var s=0;s<i.length;s+=1)this[n].appendChild(i[s]);else this[n].appendChild(i);return this},prepend:function(e){for(var t,i=v(),n=0;n<this.length;n+=1)if("string"==typeof e){var a=i.createElement("div");for(a.innerHTML=e,t=a.childNodes.length-1;0<=t;--t)this[n].insertBefore(a.childNodes[t],this[n].childNodes[0])}else if(e instanceof d)for(t=0;t<e.length;t+=1)this[n].insertBefore(e[t],this[n].childNodes[0]);else this[n].insertBefore(e,this[n].childNodes[0]);return this},next:function(e){return 0<this.length?e?this[0].nextElementSibling&&_(this[0].nextElementSibling).is(e)?_
1([this[0].nextElementSibling]):_([]):this[0].nextElementSibling?_([this[0].nextElementSibling]):_([]):_([])},nextAll:function(e){var t=[],i=this[0];if(!i)return _([]);for(;i.nextElementSibling;){var n=i.nextElementSibling;e&&!_(n).is(e)||t.push(n),i=n}return _(t)},prev:function(e){var t;return 0<this.length?(t=this[0],e?t.previousElementSibling&&_(t.previousElementSibling).is(e)?_([t.previousElementSibling]):_([]):t.previousElementSibling?_([t.previousElementSibling]):_([])):_([])},prevAll:function(e){var t=[],i=this[0];if(!i)return _([]);for(;i.previousElementSibling;){var n=i.previousElementSibling;e&&!_(n).is(e)||t.push(n),i=n}return _(t)},parent:function(e){for(var t=[],i=0;i<this.length;i+=1)null===this[i].parentNode||e&&!_(this[i].parentNode).is(e)||t.push(this[i].parentNode);return _(t)},parents:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var n=this[i].parentNode;n;)e&&!_(n).is(e)||t.push(n),n=n.parentNode;return _(t)},closest:function(e){var t=this;return void 0===e?_([]):t=t.is(e)?t:t.parents(e).eq(0)},find:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var n=this[i].querySelectorAll(e),a=0;a<n.length;a+=1)t.push(n[a]);return _(t)},children:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var n=this[i].children,a=0;a<n.length;a+=1)e&&!_(n[a]).is(e)||t.push(n[a]);return _(t)},filter:function(e){return _(N(this,e))},remove:function(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}};function T(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function x(){return Date.now()}function h(e,t){void 0===t&&(t="x");var i,n,a,s=X(),e=s.getComputedStyle(e,null);return s.WebKitCSSMatrix?(6<(n=e.transform||e.webkitTransform).split(",").length&&(n=n.split(", ").map(function(e){return e.replace(",",".")}).join(", ")),a=new s.WebKitCSSMatrix("none"===n?"":n)):i=(a=e.MozTransform||e.OTransform||e.MsTransform||e.msTransform||e.transform||e.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(n=s.WebKitCSSMatrix?a.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),(n="y"===t?s.WebKitCSSMatrix?a.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5]):n)||0}function p(e){return"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object}function J(e){for(var t=Object(arguments.length<=0?void 0:e),i=1;i<arguments.length;i+=1){var n=i<0||arguments.length<=i?void 0:arguments[i];if(null!=n)for(var a=Object.keys(Object(n)),s=0,o=a.length;s<o;s+=1){var r=a[s],l=Object.getOwnPropertyDescriptor(n,r);void 0!==l&&l.enumerable&&(p(t[r])&&p(n[r])?J(t[r],n[r]):!p(t[r])&&p(n[r])?(t[r]={},J(t[r],n[r])):t[r]=n[r])}}return t}function f(i,n){Object.keys(n).forEach(function(t){p(n[t])&&Object.keys(n[t]).forEach(function(e){"function"==typeof n[t][e]&&(n[t][e]=n[t][e].bind(i))}),i[t]=n[t]})}function Y(){return u||(i=X(),e=v(),u={touch:!!("ontouchstart"in i||i.DocumentTouch&&e instanceof i.DocumentTouch),pointerEvents:!!i.PointerEvent&&"maxTouchPoints"in i.navigator&&0<=i.navigator.maxTouchPoints,observer:"MutationObserver"in i||"WebkitMutationObserver"in i,passiveListener:(()=>{var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});i.addEventListener("testPassiveListener",null,t)}catch(e){}return e})(),gestures:"ongesturestart"in i}),u;var i,e}Object.keys(A).forEach(function(e){_.fn[e]=A[e]});var m={name:"resize",create:function(){var e=this;J(e,{resize:{resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(e){var t=X();t.addEventListener("resize",e.resize.resizeHandler),t.addEventListener("orientationchange",e.resize.orientationChangeHandler)},destroy:function(e){var t=X();t.removeEventListener("resize",e.resize.resizeHandler),t.removeEventListener("orientationchange",e.resize.orientationChangeHandler)}}},B={attach:function(e,t){void 0===t&&(t={});var i=X(),n=this,a=new(i.MutationObserver||i.WebkitMutationObserver)(function(e){var t;1!==e.length?(t=function(){n.emit("observerUpdate",e[0])},i.requestAnimationFrame?i.requestAnimationFrame(t):i.setTimeout(t,0)):n.emit("observerUpdate",e[0])});a.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),n.observer.observers.push(a)},init:function(){if(this.support.observer&&this.params.observer){if(this.params.observeParents)for(var e=this.$el.parents(),t=0;t<e.length;t+=1)this.observer.attach(e[t]);this.observer.attach(this.$el[0],{childList:this.params.observeSlideChildren}),this.observer.attach(this.$wrapperEl[0],{attributes:!1})}}
1,destroy:function(){this.observer.observers.forEach(function(e){e.disconnect()}),this.observer.observers=[]}},g={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){f(this,{observer:t(t({},B),{},{observers:[]})})},on:{init:function(e){e.observer.init()},destroy:function(e){e.observer.destroy()}}};function y(){var e,t,i=this.params,n=this.el;n&&0===n.offsetWidth||(i.breakpoints&&this.setBreakpoint(),n=this.allowSlideNext,e=this.allowSlidePrev,t=this.snapGrid,this.allowSlideNext=!0,this.allowSlidePrev=!0,this.updateSize(),this.updateSlides(),this.updateSlidesClasses(),("auto"===i.slidesPerView||1<i.slidesPerView)&&this.isEnd&&!this.isBeginning&&!this.params.centeredSlides?this.slideTo(this.slides.length-1,0,!1,!0):this.slideTo(this.activeIndex,0,!1,!0),this.autoplay&&this.autoplay.running&&this.autoplay.paused&&this.autoplay.run(),this.allowSlidePrev=e,this.allowSlideNext=n,this.params.watchOverflow&&t!==this.snapGrid&&this.checkOverflow())}var R=!1;function F(){}var H={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,nested:!1,width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1},b={modular:{useParams:function(t){var i=this;i.modules&&Object.keys(i.modules).forEach(function(e){e=i.modules[e];e.params&&J(t,e.params)})},useModules:function(i){void 0===i&&(i={});var n=this;n.modules&&Object.keys(n.modules).forEach(function(e){var t=n.modules[e],e=i[e]||{};t.on&&n.on&&Object.keys(t.on).forEach(function(e){n.on(e,t.on[e])}),t.create&&t.create.bind(n)(e)})}},eventsEmitter:{on:function(e,t,i){var n,a=this;return"function"==typeof t&&(n=i?"unshift":"push",e.split(" ").forEach(function(e){a.eventsListeners[e]||(a.eventsListeners[e]=[]),a.eventsListeners[e][n](t)})),a},once:function(n,a,e){var s=this;return"function"!=typeof a?s:(o.__emitterProxy=a,s.on(n,o,e));function o(){s.off(n,o),o.__emitterProxy&&delete o.__emitterProxy;for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];a.apply(s,t)}},onAny:function(e,t){return"function"==typeof e&&(t=t?"unshift":"push",this.eventsAnyListeners.indexOf(e)<0)&&this.eventsAnyListeners[t](e),this},offAny:function(e){return this.eventsAnyListeners&&0<=(e=this.eventsAnyListeners.indexOf(e))&&this.eventsAnyListeners.splice(e,1),this},off:function(e,n){var a=this;return a.eventsListeners&&e.split(" ").forEach(function(i){void 0===n?a.eventsListeners[i]=[]:a.eventsListeners[i]&&a.eventsListeners[i].forEac
1h(function(e,t){(e===n||e.__emitterProxy&&e.__emitterProxy===n)&&a.eventsListeners[i].splice(t,1)})}),a},emit:function(){var e,n,a,s=this;if(s.eventsListeners){for(var t=arguments.length,i=new Array(t),o=0;o<t;o++)i[o]=arguments[o];a="string"==typeof i[0]||Array.isArray(i[0])?(e=i[0],n=i.slice(1,i.length),s):(e=i[0].events,n=i[0].data,i[0].context||s),n.unshift(a),(Array.isArray(e)?e:e.split(" ")).forEach(function(t){var i;s.eventsAnyListeners&&s.eventsAnyListeners.length&&s.eventsAnyListeners.forEach(function(e){e.apply(a,[t].concat(n))}),s.eventsListeners&&s.eventsListeners[t]&&(i=[],s.eventsListeners[t].forEach(function(e){i.push(e)}),i.forEach(function(e){e.apply(a,n)}))})}return s}},update:{updateSize:function(){var e=this.$el,t=null!=this.params.width?this.params.width:e[0].clientWidth,i=void 0!==this.params.height&&null!==this.params.width?this.params.height:e[0].clientHeight;0===t&&this.isHorizontal()||0===i&&this.isVertical()||(t=t-parseInt(e.css("padding-left")||0,10)-parseInt(e.css("padding-right")||0,10),i=i-parseInt(e.css("padding-top")||0,10)-parseInt(e.css("padding-bottom")||0,10),J(this,{width:t=Number.isNaN(t)?0:t,height:i=Number.isNaN(i)?0:i,size:this.isHorizontal()?t:i}))},updateSlides:function(){var z=X(),i=this.params,e=this.$wrapperEl,t=this.size,n=this.rtlTranslate,N=this.wrongRTL,a=this.virtual&&i.virtual.enabled,A=(a?this.virtual:this).slides.length,s=e.children("."+this.params.slideClass),o=(a?this.virtual.slides:s).length,r=[],l=[],d=[];function c(e,t){return!i.cssMode||t!==s.length-1}var u,h=i.slidesOffsetBefore,p=("function"==typeof h&&(h=i.slidesOffsetBefore.call(this)),i.slidesOffsetAfter),a=("function"==typeof p&&(p=i.slidesOffsetAfter.call(this)),this.snapGrid.length),Y=this.snapGrid.length,f=i.spaceBetween,m=-h,B=0,g=0;if(void 0!==t){"string"==typeof f&&0<=f.indexOf("%")&&(f=parseFloat(f.replace("%",""))/100*t),this.virtualSize=-f,n?s.css({marginLeft:"",marginTop:""}):s.css({marginRight:"",marginBottom:""}),1<i.slidesPerColumn&&(u=Math.floor(o/i.slidesPerColumn)===o/this.params.slidesPerColumn?o:Math.ceil(o/i.slidesPerColumn)*i.slidesPerColumn,"auto"!==i.slidesPerView)&&"row"===i.slidesPerColumnFill&&(u=Math.max(u,i.slidesPerView*i.slidesPerColumn));for(var R,F,v,H,y=i.slidesPerColumn,Q=u/y,q=Math.floor(o/i.slidesPerColumn),b=0;b<o;b+=1){k=0;var w,C,T,_,x,S,k,E,P,M,I,W,O,U,$=s.eq(b);1<i.slidesPerColumn&&(S=x=_=void 0,"row"===i.slidesPerColumnFill&&1<i.slidesPerGroup?(T=Math.floor(b/(i.slidesPerGroup*i.slidesPerColumn)),w=b-i.slidesPerColumn*i.slidesPerGroup*T,C=0===T?i.slidesPerGroup:Math.min(Math.ceil((o-T*y*i.slidesPerGroup)/y),i.slidesPerGroup),_=(x=w-(S=Math.floor(w/C))*C+T*i.slidesPerGroup)+S*u/y,$.css({"-webkit-box-ordinal-group":_,"-moz-box-ordinal-group":_,"-ms-flex-order":_,"-webkit-order":_,order:_})):"column"===i.slidesPerColumnFill?(S=b-(x=Math.floor(b/y))*y,(q<x||x===q&&S===y-1)&&(S+=1)>=y&&(S=0,x+=1)):x=b-(S=Math.floor(b/Q))*Q,$.css("margin-"+(this.isHorizontal()?"top":"left"),0!==S&&i.spaceBetween&&i.spaceBetween+"px")),"none"!==$.css("display")&&("auto"===i.slidesPerView?(w=z.getComputedStyle($[0],null),C=$[0].style.transform,T=$[0].style.webkitTransform,C&&($[0].style.transform="none"),T&&($[0].style.webkitTransform="none"),k=i.roundLengths?this.isHorizontal()?$.outerWidth(!0):$.outerHeight(!0):this.isHorizontal()?(_=parseFloat(w.getPropertyValue("width")||0),x=parseFloat(w.getPropertyValue("padding-left")||0),S=parseFloat(w.getPropertyValue("padding-right")||0),E=parseFloat(w.getPropertyValue("margin-left")||0),P=parseFloat(w.getPropertyValue("margin-right")||0),(M=w.getPropertyValue("box-sizing"))&&"border-box"===M?_+E+P:(I=(M=$[0]).clientWidth,_+x+S+E+P+(M.offsetWidth-I))):(E=parseFloat(w.getPropertyValue("height")||0),P=parseFloat(w.getPropertyValue("padding-top")||0),M=parseFloat(w.getPropertyValue("padding-bottom")||0),I=parseFloat(w.getPropertyValue("margin-top")||0),W=parseFloat(w.getPropertyValue("margin-bottom")||0),(O=w.getPropertyValue("box-sizing"))&&"border-box"===O?E+I+W:(U=(O=$[0]).clientHeight,E+P+M+I+W+(O.offsetHeight-U))),C&&($[0].style.transform=C),T&&($[0].style.webkitTransform=T),i.roun
1dLengths&&(k=Math.floor(k))):(k=(t-(i.slidesPerView-1)*f)/i.slidesPerView,i.roundLengths&&(k=Math.floor(k)),s[b]&&(this.isHorizontal()?s[b].style.width=k+"px":s[b].style.height=k+"px")),s[b]&&(s[b].swiperSlideSize=k),d.push(k),i.centeredSlides?(m=m+k/2+B/2+f,0===B&&0!==b&&(m=m-t/2-f),0===b&&(m=m-t/2-f),Math.abs(m)<.001&&(m=0),i.roundLengths&&(m=Math.floor(m)),g%i.slidesPerGroup==0&&r.push(m),l.push(m)):(i.roundLengths&&(m=Math.floor(m)),(g-Math.min(this.params.slidesPerGroupSkip,g))%this.params.slidesPerGroup==0&&r.push(m),l.push(m),m=m+k+f),this.virtualSize+=k+f,B=k,g+=1)}if(this.virtualSize=Math.max(this.virtualSize,t)+p,n&&N&&("slide"===i.effect||"coverflow"===i.effect)&&e.css({width:this.virtualSize+i.spaceBetween+"px"}),i.setWrapperSize&&(this.isHorizontal()?e.css({width:this.virtualSize+i.spaceBetween+"px"}):e.css({height:this.virtualSize+i.spaceBetween+"px"})),1<i.slidesPerColumn&&(this.virtualSize=(k+i.spaceBetween)*u,this.virtualSize=Math.ceil(this.virtualSize/i.slidesPerColumn)-i.spaceBetween,this.isHorizontal()?e.css({width:this.virtualSize+i.spaceBetween+"px"}):e.css({height:this.virtualSize+i.spaceBetween+"px"}),i.centeredSlides)){for(var L=[],j=0;j<r.length;j+=1){var V=r[j];i.roundLengths&&(V=Math.floor(V)),r[j]<this.virtualSize+r[0]&&L.push(V)}r=L}if(!i.centeredSlides){L=[];for(var D=0;D<r.length;D+=1){var G=r[D];i.roundLengths&&(G=Math.floor(G)),r[D]<=this.virtualSize-t&&L.push(G)}r=L,1<Math.floor(this.virtualSize-t)-Math.floor(r[r.length-1])&&r.push(this.virtualSize-t)}0===r.length&&(r=[0]),0!==i.spaceBetween&&(this.isHorizontal()?n?s.filter(c).css({marginLeft:f+"px"}):s.filter(c).css({marginRight:f+"px"}):s.filter(c).css({marginBottom:f+"px"})),i.centeredSlides&&i.centeredSlidesBounds&&(R=0,d.forEach(function(e){R+=e+(i.spaceBetween||0)}),F=(R-=i.spaceBetween)-t,r=r.map(function(e){return e<0?-h:F<e?F+p:e})),i.centerInsufficientSlides&&(v=0,d.forEach(function(e){v+=e+(i.spaceBetween||0)}),(v-=i.spaceBetween)<t)&&(H=(t-v)/2,r.forEach(function(e,t){r[t]=e-H}),l.forEach(function(e,t){l[t]=e+H})),J(this,{slides:s,snapGrid:r,slidesGrid:l,slidesSizesGrid:d}),o!==A&&this.emit("slidesLengthChange"),r.length!==a&&(this.params.watchOverflow&&this.checkOverflow(),this.emit("snapGridLengthChange")),l.length!==Y&&this.emit("slidesGridLengthChange"),(i.watchSlidesProgress||i.watchSlidesVisibility)&&this.updateSlidesOffset()}},updateAutoHeight:function(e){var t,i,n=[],a=0;if("number"==typeof e?this.setTransition(e):!0===e&&this.setTransition(this.params.speed),"auto"!==this.params.slidesPerView&&1<this.params.slidesPerView)if(this.params.centeredSlides)this.visibleSlides.each(function(e){n.push(e)});else for(t=0;t<Math.ceil(this.params.slidesPerView);t+=1){var s=this.activeIndex+t;if(s>this.slides.length)break;n.push(this.slides.eq(s)[0])}else n.push(this.slides.eq(this.activeIndex)[0]);for(t=0;t<n.length;t+=1)void 0!==n[t]&&(a=a<(i=n[t].offsetHeight)?i:a);a&&this.$wrapperEl.css("height",a+"px")},updateSlidesOffset:function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this.params,i=this.slides,n=this.rtlTranslate;if(0!==i.length){void 0===i[0].swiperSlideOffset&&this.updateSlidesOffset();var a=n?e:-e;i.removeClass(t.slideVisibleClass),this.visibleSlidesIndexes=[],this.visibleSlides=[];for(var s=0;s<i.length;s+=1){var o,r,l=i[s],d=(a+(t.centeredSlides?this.minTranslate():0)-l.swiperSlideOffset)/(l.swiperSlideSize+t.spaceBetween);(t.watchSlidesVisibility||t.centeredSlides&&t.autoHeight)&&(r=(o=-(a-l.swiperSlideOffset))+this.slidesSizesGrid[s],0<=o&&o<this.size-1||1<r&&r<=this.size||o<=0&&r>=this.size)&&(this.visibleSlides.push(l),this.visibleSlidesIndexes.push(s),i.eq(s).addClass(t.slideVisibleClass)),l.progress=n?-d:d}this.visibleSlides=_(this.visibleSlides)}},updateProgress:function(e){void 0===e&&(t=this.rtlTranslate?-1:1,e=this&&this.translate&&this.translate*t||0);var t=this.params,i=this.maxTranslate()-this.minTranslate(),n=this.progress,a=this.isBeginning,s=a,o=r=this.isEnd,r=0==i?a=!(n=0):(a=(n=(e-this.minTranslate())/i)<=0,1<=n);J(this,{progress:n,isBeginning:a,isEnd:r}),(t.watchSlidesProgress||t.watchSlidesVisibility||t.centeredSlides&&t.autoHeight)&&this.updateSlidesProgress(e),a&&!s&&this.emit
1("reachBeginning toEdge"),r&&!o&&this.emit("reachEnd toEdge"),(s&&!a||o&&!r)&&this.emit("fromEdge"),this.emit("progress",n)},updateSlidesClasses:function(){var e=this.slides,t=this.params,i=this.$wrapperEl,n=this.activeIndex,a=this.realIndex,s=this.virtual&&t.virtual.enabled,n=(e.removeClass(t.slideActiveClass+" "+t.slideNextClass+" "+t.slidePrevClass+" "+t.slideDuplicateActiveClass+" "+t.slideDuplicateNextClass+" "+t.slideDuplicatePrevClass),(s=s?this.$wrapperEl.find("."+t.slideClass+'[data-swiper-slide-index="'+n+'"]'):e.eq(n)).addClass(t.slideActiveClass),t.loop&&(s.hasClass(t.slideDuplicateClass)?i.children("."+t.slideClass+":not(."+t.slideDuplicateClass+')[data-swiper-slide-index="'+a+'"]'):i.children("."+t.slideClass+"."+t.slideDuplicateClass+'[data-swiper-slide-index="'+a+'"]')).addClass(t.slideDuplicateActiveClass),s.nextAll("."+t.slideClass).eq(0).addClass(t.slideNextClass)),a=(t.loop&&0===n.length&&(n=e.eq(0)).addClass(t.slideNextClass),s.prevAll("."+t.slideClass).eq(0).addClass(t.slidePrevClass));t.loop&&0===a.length&&(a=e.eq(-1)).addClass(t.slidePrevClass),t.loop&&((n.hasClass(t.slideDuplicateClass)?i.children("."+t.slideClass+":not(."+t.slideDuplicateClass+')[data-swiper-slide-index="'+n.attr("data-swiper-slide-index")+'"]'):i.children("."+t.slideClass+"."+t.slideDuplicateClass+'[data-swiper-slide-index="'+n.attr("data-swiper-slide-index")+'"]')).addClass(t.slideDuplicateNextClass),(a.hasClass(t.slideDuplicateClass)?i.children("."+t.slideClass+":not(."+t.slideDuplicateClass+')[data-swiper-slide-index="'+a.attr("data-swiper-slide-index")+'"]'):i.children("."+t.slideClass+"."+t.slideDuplicateClass+'[data-swiper-slide-index="'+a.attr("data-swiper-slide-index")+'"]')).addClass(t.slideDuplicatePrevClass)),this.emitSlidesClasses()},updateActiveIndex:function(e){var t=this.rtlTranslate?this.translate:-this.translate,i=this.slidesGrid,n=this.snapGrid,a=this.params,s=this.activeIndex,o=this.realIndex,r=this.snapIndex,l=e;if(void 0===l){for(var d=0;d<i.length;d+=1)void 0!==i[d+1]?t>=i[d]&&t<i[d+1]-(i[d+1]-i[d])/2?l=d:t>=i[d]&&t<i[d+1]&&(l=d+1):t>=i[d]&&(l=d);a.normalizeSlideIndex&&(l<0||void 0===l)&&(l=0)}(e=0<=n.indexOf(t)?n.indexOf(t):(e=Math.min(a.slidesPerGroupSkip,l))+Math.floor((l-e)/a.slidesPerGroup))>=n.length&&(e=n.length-1),l!==s?(a=parseInt(this.slides.eq(l).attr("data-swiper-slide-index")||l,10),J(this,{snapIndex:e,realIndex:a,previousIndex:s,activeIndex:l}),this.emit("activeIndexChange"),this.emit("snapIndexChange"),o!==a&&this.emit("realIndexChange"),(this.initialized||this.params.runCallbacksOnInit)&&this.emit("slideChange")):e!==r&&(this.snapIndex=e,this.emit("snapIndexChange"))},updateClickedSlide:function(e){var t=this.params,i=_(e.target).closest("."+t.slideClass)[0],n=!1;if(i)for(var a=0;a<this.slides.length;a+=1)this.slides[a]===i&&(n=!0);i&&n?(this.clickedSlide=i,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(_(i).attr("data-swiper-slide-index"),10):this.clickedIndex=_(i).index(),t.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()):(this.clickedSlide=void 0,this.clickedIndex=void 0)}},translate:{getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this.params,i=this.rtlTranslate,n=this.translate,a=this.$wrapperEl;return t.virtualTranslate?i?-n:n:t.cssMode?n:(t=h(a[0],e),(t=i?-t:t)||0)},setTranslate:function(e,t){var i=this.rtlTranslate,n=this.params,a=this.$wrapperEl,s=this.wrapperEl,o=this.progress,r=0,l=0,i=(this.isHorizontal()?r=i?-e:e:l=e,n.roundLengths&&(r=Math.floor(r),l=Math.floor(l)),n.cssMode?s[this.isHorizontal()?"scrollLeft":"scrollTop"]=this.isHorizontal()?-r:-l:n.virtualTranslate||a.transform("translate3d("+r+"px, "+l+"px, 0px)"),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?r:l,this.maxTranslate()-this.minTranslate());(0==i?0:(e-this.minTranslate())/i)!==o&&this.updateProgress(e),this.emit("setTranslate",this.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,i,n,a){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),void 0===n&&(n=!0);var s,o,r=this,l=r.params,d=r.wrapperEl;return!(r.animating&&l.preventInteractionOnTransition||(o=r.minTranslate(),s=r.maxTranslate(),r.updateProgress(o=n&&o<e?o:n&&e<s?s:e),l.cssMode?(n=r.isHorizontal(),0!==t&&d.scrollTo?d.scrollTo(((s={})[n?"left":"top"]=-o,s.behavior="smooth",s)):d[n?"scrollLeft":"scrollTop"]=-o):0===t?(r.setTransition(0),r.setTranslate(o),i&&(r.emit("beforeTransitionStart",t,a),r.emit("transitionEnd"))):(r.setTransition(t),r.setTranslate(o),i&&(r.emit("beforeTransitionStart",t,a),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.$
1wrapperEl[0].removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,i)&&r.emit("transitionEnd")}),r.$wrapperEl[0].addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd))),0))}},transition:{setTransition:function(e,t){this.params.cssMode||this.$wrapperEl.transition(e),this.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);var i=this.activeIndex,n=this.params,a=this.previousIndex;n.cssMode||(n.autoHeight&&this.updateAutoHeight(),n=(n=t)||(a<i?"next":i<a?"prev":"reset"),this.emit("transitionStart"),e&&i!==a&&("reset"===n?this.emit("slideResetTransitionStart"):(this.emit("slideChangeTransitionStart"),"next"===n?this.emit("slideNextTransitionStart"):this.emit("slidePrevTransitionStart"))))},transitionEnd:function(e,t){void 0===e&&(e=!0);var i=this.activeIndex,n=this.previousIndex,a=this.params;this.animating=!1,a.cssMode||(this.setTransition(0),a=(a=t)||(n<i?"next":i<n?"prev":"reset"),this.emit("transitionEnd"),e&&i!==n&&("reset"===a?this.emit("slideResetTransitionEnd"):(this.emit("slideChangeTransitionEnd"),"next"===a?this.emit("slideNextTransitionEnd"):this.emit("slidePrevTransitionEnd"))))}},slide:{slideTo:function(e,t,i,n){if(void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),"number"!=typeof(e=void 0===e?0:e)&&"string"!=typeof e)throw new Error("The 'index' argument cannot have type other than 'number' or 'string'. ["+typeof e+"] given.");if("string"==typeof e){var a=parseInt(e,10);if(!isFinite(a))throw new Error("The passed-in 'index' (string) couldn't be converted to 'number'. ["+e+"] given.");e=a}var s=this,o=e,a=(o<0&&(o=0),s.params),e=s.snapGrid,r=s.slidesGrid,l=s.previousIndex,d=s.activeIndex,c=s.rtlTranslate,u=s.wrapperEl;if(s.animating&&a.preventInteractionOnTransition)return!1;var h=Math.min(s.params.slidesPerGroupSkip,o),h=h+Math.floor((o-h)/s.params.slidesPerGroup);h>=e.length&&(h=e.length-1),(d||a.initialSlide||0)===(l||0)&&i&&s.emit("beforeSlideChangeStart");var p,f=-e[h];if(s.updateProgress(f),a.normalizeSlideIndex)for(var m=0;m<r.length;m+=1)-Math.floor(100*f)>=Math.floor(100*r[m])&&(o=m);if(s.initialized&&o!==d){if(!s.allowSlideNext&&f<s.translate&&f<s.minTranslate())return!1;if(!s.allowSlidePrev&&f>s.translate&&f>s.maxTranslate()&&(d||0)!==o)return!1}return p=d<o?"next":o<d?"prev":"reset",c&&-f===s.translate||!c&&f===s.translate?(s.updateActiveIndex(o),a.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),"slide"!==a.effect&&s.setTranslate(f),"reset"!=p&&(s.transitionStart(i,p),s.transitionEnd(i,p)),!1):(a.cssMode?(l=s.isHorizontal(),e=-f,c&&(e=u.scrollWidth-u.offsetWidth-e),0!==t&&u.scrollTo?u.scrollTo(((h={})[l?"left":"top"]=e,h.behavior="smooth",h)):u[l?"scrollLeft":"scrollTop"]=e):0===t?(s.setTransition(0),s.setTranslate(f),s.updateActiveIndex(o),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,n),s.transitionStart(i,p),s.transitionEnd(i,p)):(s.setTransition(t),s.setTranslate(f),s.updateActiveIndex(o),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,n),s.transitionStart(i,p),s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.$wrapperEl[0].removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.$wrapperEl[0].removeEventListener("webkitTransitionEnd",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(i,p))}),s.$wrapperEl[0].addEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.$wrapperEl[0].addEventListener("webkitTransitionEnd",s.onSlideToWrapperTransitionEnd))),!0)},slideToLoop:function(e,t,i,n){void 0===t&&(t=this.params.speed);e=void 0===e?0:e;return this.params.loop&&(e+=this.loopedSlides),this.slideTo(e,t,i=void 0===i?!0:i,n)},slideNext:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var n=this.params,a=this.animating,s=this.activeIndex<n.slidesPerGroupSkip?1:n.slidesPerGroup;if(n.loop){if(a&&n.loopPreventsSlide)return!1;this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft}return this.slideTo(this.activeIndex+s,e,t,i)},slidePrev:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var n=this.params,a=this.animating,s=this.snapGrid,o=this.slidesGrid,r=this.rtlTranslate;if(n.loop){if(a&&n.loopPreventsSlide)return!1;this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft}function l(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var d,c=l(r?this.translate:-this.translate),a=s.map(l),u=(s[a.indexOf(c)],s[a.indexOf(c)-1]);
1return void 0===u&&n.cssMode&&s.forEach(function(e){!u&&e<=c&&(u=e)}),void 0!==u&&(d=o.indexOf(u))<0&&(d=this.activeIndex-1),this.slideTo(d,e,t,i)},slideReset:function(e,t,i){return void 0===e&&(e=this.params.speed),this.slideTo(this.activeIndex,e,t=void 0===t?!0:t,i)},slideToClosest:function(e,t,i,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===n&&(n=.5);var a,s=this.activeIndex,o=Math.min(this.params.slidesPerGroupSkip,s),o=o+Math.floor((s-o)/this.params.slidesPerGroup),r=this.rtlTranslate?this.translate:-this.translate;return r>=this.snapGrid[o]?r-(a=this.snapGrid[o])>(this.snapGrid[o+1]-a)*n&&(s+=this.params.slidesPerGroup):r-(a=this.snapGrid[o-1])<=(this.snapGrid[o]-a)*n&&(s-=this.params.slidesPerGroup),s=Math.max(s,0),s=Math.min(s,this.slidesGrid.length-1),this.slideTo(s,e,t,i)},slideToClickedSlide:function(){var e,t=this,i=t.params,n=t.$wrapperEl,a="auto"===i.slidesPerView?t.slidesPerViewDynamic():i.slidesPerView,s=t.clickedIndex;i.loop?t.animating||(e=parseInt(_(t.clickedSlide).attr("data-swiper-slide-index"),10),i.centeredSlides?s<t.loopedSlides-a/2||s>t.slides.length-t.loopedSlides+a/2?(t.loopFix(),s=n.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),T(function(){t.slideTo(s)})):t.slideTo(s):s>t.slides.length-a?(t.loopFix(),s=n.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),T(function(){t.slideTo(s)})):t.slideTo(s)):t.slideTo(s)}},loop:{loopCreate:function(){var n=this,e=v(),t=n.params,i=n.$wrapperEl,a=(i.children("."+t.slideClass+"."+t.slideDuplicateClass).remove(),i.children("."+t.slideClass));if(t.loopFillGroupWithBlank){var s=t.slidesPerGroup-a.length%t.slidesPerGroup;if(s!==t.slidesPerGroup){for(var o=0;o<s;o+=1){var r=_(e.createElement("div")).addClass(t.slideClass+" "+t.slideBlankClass);i.append(r)}a=i.children("."+t.slideClass)}}"auto"!==t.slidesPerView||t.loopedSlides||(t.loopedSlides=a.length),n.loopedSlides=Math.ceil(parseFloat(t.loopedSlides||t.slidesPerView,10)),n.loopedSlides+=t.loopAdditionalSlides,n.loopedSlides>a.length&&(n.loopedSlides=a.length);var l=[],d=[];a.each(function(e,t){var i=_(e);t<n.loopedSlides&&d.push(e),t<a.length&&t>=a.length-n.loopedSlides&&l.push(e),i.attr("data-swiper-slide-index",t)});for(var c=0;c<d.length;c+=1)i.append(_(d[c].cloneNode(!0)).addClass(t.slideDuplicateClass));for(var u=l.length-1;0<=u;--u)i.prepend(_(l[u].cloneNode(!0)).addClass(t.slideDuplicateClass))},loopFix:function(){this.emit("beforeLoopFix");var e,t=this.activeIndex,i=this.slides,n=this.loopedSlides,a=this.allowSlidePrev,s=this.allowSlideNext,o=this.snapGrid,r=this.rtlTranslate,o=(this.allowSlidePrev=!0,this.allowSlideNext=!0,-o[t]-this.getTranslate());t<n?(e=i.length-3*n+t,this.slideTo(e+=n,0,!1,!0)&&0!=o&&this.setTranslate((r?-this.translate:this.translate)-o)):t>=i.length-n&&(e=-i.length+t+n,this.slideTo(e+=n,0,!1,!0))&&0!=o&&this.setTranslate((r?-this.translate:this.translate)-o),this.allowSlidePrev=a,this.allowSlideNext=s,this.emit("loopFix")},loopDestroy:function(){var e=this.$wrapperEl,t=this.params,i=this.slides;e.children("."+t.slideClass+"."+t.slideDuplicateClass+",."+t.slideClass+"."+t.slideBlankClass).remove(),i.removeAttr("data-swiper-slide-index")}},grabCursor:{setGrabCursor:function(e){var t;this.support.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked||this.params.cssMode||((t=this.el).style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab")},unsetGrabCursor:function(){this.support.touch||this.params.watchOverflow&&this.isLocked||this.params.cssMode||(this.el.style.cursor="")}},manipulation:{appendSlide:function(e){var t=this.$wrapperEl,i=this.params;if(i.loop&&this.loopDestroy(),"object"==typeof e&&"length"in e)for(var n=0;n<e.length;n+=1)e[n]&&t.append(e[n]);else t.append(e);i.loop&&this.loopCreate(),i.observer&&this.support.observer||this.update()},prependSlide:function(e){var t=this.params,i=this.$wrapperEl,n=this.activeIndex,a=(t.loop&&this.loopDestroy(),n+1);if("object"==typeof e&&"length"in e){for(var s=0;s<e.length;s+=1)e[s]&&i.prepend(e[s]);a=n+e.length}else i.prepend(e);t.loop&&this.loopCreate(),t.observer&&this.support.observer||this.update(),this.slideTo(a,0,!1)},addSlide:function(e,t){var i=this.$wrapperEl,n=this.params,a=this.activeIndex,s=(n.loop&&(a-=this.loopedSlides,this.loopDestroy(),this.slides=i.children("."+n.slideClass)),this.slides.length);if(e<=0)this.prependSlide(t);else if(s<=e)this.appendSlide(t);else{for(var o=e<a?a+1:a,r=[],l=s-1;e<=l;--l){var d=this.slides.eq(l);d.remove(),r.unshift(d)}if("object"==typeof t&&"length"in t){for(var c=0;c<t.length;c+=1)t[c]&&i.append(t[c]);o=e<a?a+t.length:a}else i.append(t);for(var u=0;u<r.length;u+=1)i.append(r[u]);n.loop&&this.loopCreate(),n.observer&&this.support.observer||this.update(),n.loop?this.slideTo(o+this.loopedSlides,0,!1):this.slideTo(o,0,!1)}},removeSlide:function(e){var t=this.params,i=this.$wrapperEl,n=this.activeIndex;t.loop&&(n-=this.loopedSlides,this.loopDestroy(),this.slides=i.children("."+t.slideClass));var a,s=n;if("object"==typeof e&&"length"in e)for(var o=0;o<e.length;o+=1)this.slides[a=e[o]]&&this.slides.eq(a).remove(),a<s&&--s;else this.slides[a=e]&&this.slides.eq(a).remove(),a<s&&--s;s=Math.max(s,0),t.loop&&this.loopCreate(),t.observer&&this.support.observer||this.update(),t.loop?this.slideTo(s+this.loopedSlides,0,!1):this.slideTo(s,0,!1)},removeAllSlides:function(){for(var e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}},events:{attachEvents:function(){var e,t=v(),i=this.params,n=this.touchEvents,a=this.el,s=this.wrapperEl,o=this.device,r=this.support,l=(this.onTouchStart=function(e){var t,i,n,a,s,o=v(),r=X(),l=this.touchEventsData,d=this.params,c=this.touches;this.animating&&d.preventInteractionOnTransition||(i=_((t=(t=e).originalEvent?t.originalEvent:t).target),"wrapper"===d.touchEventsTarget&&!i.closest(this.wrapperEl).length)||(l.isTouchEvent="touchstart"===t.type,!l.isTouchEvent&&"which"in t&&3===t.which)||!l.isTouchEvent&&"button"in t&&0<t.button||l.isTouched&&l.isMoved||(
1d.noSwipingClass&&""!==d.noSwipingClass&&t.target&&t.target.shadowRoot&&e.path&&e.path[0]&&(i=_(e.path[0])),d.noSwiping&&i.closest(d.noSwipingSelector||"."+d.noSwipingClass)[0]?this.allowClick=!0:d.swipeHandler&&!i.closest(d.swipeHandler)[0]||(c.currentX=("touchstart"===t.type?t.targetTouches[0]:t).pageX,c.currentY=("touchstart"===t.type?t.targetTouches[0]:t).pageY,e=c.currentX,n=c.currentY,s=d.edgeSwipeDetection||d.iOSEdgeSwipeDetection,a=d.edgeSwipeThreshold||d.iOSEdgeSwipeThreshold,s&&(e<=a||e>=r.screen.width-a))||(J(l,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),c.startX=e,c.startY=n,l.touchStartTime=x(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,0<d.threshold&&(l.allowThresholdMove=!1),"touchstart"!==t.type&&(s=!0,i.is(l.formElements)&&(s=!1),o.activeElement&&_(o.activeElement).is(l.formElements)&&o.activeElement!==i[0]&&o.activeElement.blur(),r=s&&this.allowTouchMove&&d.touchStartPreventDefault,d.touchStartForcePreventDefault||r)&&t.preventDefault(),this.emit("touchStart",t)))}.bind(this),this.onTouchMove=function(e){var t=v(),i=this.touchEventsData,n=this.params,a=this.touches,s=this.rtlTranslate;if(e.originalEvent&&(e=e.originalEvent),i.isTouched){if(!i.isTouchEvent||"touchmove"===e.type){var o="touchmove"===e.type&&e.targetTouches&&(e.targetTouches[0]||e.changedTouches[0]),r=("touchmove"===e.type?o:e).pageX,o=("touchmove"===e.type?o:e).pageY;if(e.preventedByNestedSwiper)a.startX=r,a.startY=o;else if(this.allowTouchMove){if(i.isTouchEvent&&n.touchReleaseOnEdges&&!n.loop)if(this.isVertical()){if(o<a.startY&&this.translate<=this.maxTranslate()||o>a.startY&&this.translate>=this.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(r<a.startX&&this.translate<=this.maxTranslate()||r>a.startX&&this.translate>=this.minTranslate())return;if(i.isTouchEvent&&t.activeElement&&e.target===t.activeElement&&_(e.target).is(i.formElements))i.isMoved=!0,this.allowClick=!1;else if(i.allowTouchCallbacks&&this.emit("touchMove",e),!(e.targetTouches&&1<e.targetTouches.length)){a.currentX=r,a.currentY=o;var t=a.currentX-a.startX,l=a.currentY-a.startY;if(!(this.params.threshold&&Math.sqrt(Math.pow(t,2)+Math.pow(l,2))<this.params.threshold))if(void 0===i.isScrolling&&(this.isHorizontal()&&a.currentY===a.startY||this.isVertical()&&a.currentX===a.startX?i.isScrolling=!1:25<=t*t+l*l&&(d=180*Math.atan2(Math.abs(l),Math.abs(t))/Math.PI,i.isScrolling=this.isHorizontal()?d>n.touchAngle:90-d>n.touchAngle)),i.isScrolling&&this.emit("touchMoveOpposite",e),void 0!==i.startMoving||a.currentX===a.startX&&a.currentY===a.startY||(i.startMoving=!0),i.isScrolling)i.isTouched=!1;else if(i.startMoving){this.allowClick=!1,!n.cssMode&&e.cancelable&&e.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&e.stopPropagation(),i.isMoved||(n.loop&&this.loopFix(),i.startTranslate=this.getTranslate(),this.setTransition(0),this.animating&&this.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce=!1,!n.grabCursor||!0!==this.allowSlideNext&&!0!==this.allowSlidePrev||this.setGrabCursor(!0),this.emit("sliderFirstMove",e)),this.emit("sliderMove",e),i.isMoved=!0;var d=this.isHorizontal()?t:l,t=(a.diff=d,d*=n.touchRatio,this.swipeDirection=0<(d=s?-d:d)?"prev":"next",i.currentTranslate=d+i.startTranslate,!0),l=n.resistanceRatio;if(n.touchReleaseOnEdges&&(l=0),0<d&&i.currentTranslate>this.minTranslate()?(t=!1,n.resistance&&(i.currentTranslate=this.minTranslate()-1+Math.pow(-this.minTranslate()+i.startTranslate+d,l))):d<0&&i.currentTranslate<this.maxTranslate()&&(t=!1,n.resistance)&&(i.currentTranslate=this.maxTranslate()+1-Math.pow(this.maxTranslate()-i.startTranslate-d,l)),t&&(e.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),0<n.threshold){if(!(Math.abs(d)>n.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);
1if(!i.allowThresholdMove)return i.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,i.currentTranslate=i.startTranslate,void(a.diff=this.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY)}n.followFinger&&!n.cssMode&&((n.freeMode||n.watchSlidesProgress||n.watchSlidesVisibility)&&(this.updateActiveIndex(),this.updateSlidesClasses()),n.freeMode&&(0===i.velocities.length&&i.velocities.push({position:a[this.isHorizontal()?"startX":"startY"],time:i.touchStartTime}),i.velocities.push({position:a[this.isHorizontal()?"currentX":"currentY"],time:x()})),this.updateProgress(i.currentTranslate),this.setTranslate(i.currentTranslate))}}}else this.allowClick=!1,i.isTouched&&(J(a,{startX:r,startY:o,currentX:r,currentY:o}),i.touchStartTime=x())}}else i.startMoving&&i.isScrolling&&this.emit("touchMoveOpposite",e)}.bind(this),this.onTouchEnd=function(e){var t=this,i=t.touchEventsData,n=t.params,a=t.touches,s=t.rtlTranslate,o=t.$wrapperEl,r=t.slidesGrid,l=t.snapGrid;if(e.originalEvent&&(e=e.originalEvent),i.allowTouchCallbacks&&t.emit("touchEnd",e),i.allowTouchCallbacks=!1,i.isTouched){n.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var d,c=x(),u=c-i.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(e),t.emit("tap click",e),u<300)&&c-i.lastClickTime<300&&t.emit("doubleTap doubleClick",e),i.lastClickTime=x(),T(function(){t.destroyed||(t.allowClick=!0)}),i.isTouched&&i.isMoved&&t.swipeDirection&&0!==a.diff&&i.currentTranslate!==i.startTranslate){if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,d=n.followFinger?s?t.translate:-t.translate:-i.currentTranslate,!n.cssMode)if(n.freeMode)if(d<-t.minTranslate())t.slideTo(t.activeIndex);else if(d>-t.maxTranslate())t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1);else{if(n.freeModeMomentum){(!(1<i.velocities.length)||(c=i.velocities.pop(),a=i.velocities.pop(),h=c.position-a.position,a=c.time-a.time,t.velocity=h/a,t.velocity/=2,Math.abs(t.velocity)<n.freeModeMinimumVelocity&&(t.velocity=0),150<a)||300<x()-c.time)&&(t.velocity=0),t.velocity*=n.freeModeMomentumVelocityRatio,i.velocities.length=0;var h=1e3*n.freeModeMomentumRatio,a=t.velocity*h,p=t.translate+a;s&&(p=-p);var f,m,c=!1,a=20*Math.abs(t.velocity)*n.freeModeMomentumBounceRatio;if(p<t.maxTranslate())n.freeModeMomentumBounce?(p+t.maxTranslate()<-a&&(p=t.maxTranslate()-a),f=t.maxTranslate(),i.allowMomentumBounce=c=!0):p=t.maxTranslate(),n.loop&&n.centeredSlides&&(m=!0);else if(p>t.minTranslate())n.freeModeMomentumBounce?(p-t.minTranslate()>a&&(p=t.minTranslate()+a),f=t.minTranslate(),i.allowMomentumBounce=c=!0):p=t.minTranslate(),n.loop&&n.centeredSlides&&(m=!0);else if(n.freeModeSticky){for(var g,v=0;v<l.length;v+=1)if(l[v]>-p){g=v;break}p=-(Math.abs(l[g]-p)<Math.abs(l[g-1]-p)||"next"===t.swipeDirection?l[g]:l[g-1])}if(m&&t.once("transitionEnd",function(){t.loopFix()}),0!==t.velocity)h=s?Math.abs((-p-t.translate)/t.velocity):Math.abs((p-t.translate)/t.velocity),n.freeModeSticky&&(h=(a=Math.abs((s?-p:p)-t.translate))<(m=t.slidesSizesGrid[t.activeIndex])?n.speed:a<2*m?1.5*n.speed:2.5*n.speed);else if(n.freeModeSticky)return void t.slideToClosest();n.freeModeMomentumBounce&&c?(t.updateProgress(f),t.setTransition(h),t.setTranslate(p),t.transitionStart(!0,t.swipeDirection),t.animating=!0,o.transitionEnd(function(){t&&!t.destroyed&&i.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(n.speed),setTimeout(function(){t.setTranslate(f),o.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()})},0))})):t.velocity?(t.updateProgress(p),t.setTransition(h),t.setTranslate(p),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,o.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()}))):t.updateProgress(p),t.updateActiveIndex(),t.updateSlidesClasses()}else if(n.freeModeSticky)return void t.slideToClosest();(!n.freeModeMomentum||u>=n.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var y=0,b=t.slidesSizesGrid[0],w=0;w<r.length;w+=w<n.slidesPerGroupSkip?1:n.slidesPerGroup){var C=w<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;void 0!==r[w+C]?d>=r[w]&&d<r[w+C]&&(b=r[(y=w)+C]-r[w]):d>=r[w]&&(y=w,b=r[r.length-1]-r[r.length-2])}s=(d-r[y])/b,a=y<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;u>n.longSwipesMs?n.longSwipes?("next"===t.swipeDirection&&(s>=n.longSwipesRatio?t.slideTo(y+a):t.slideTo(y)),"prev"===t.swipeDirection&&(s>1-n.longSwipesRatio?t.slideTo(y+a):t.slideTo(y))):t.slideTo(t.activeIndex):n.shortSwipes?!t.navigation||e.target!==t.navigation.nextEl&&e.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(y+a),"prev"===t.swipeDirection&&t.slideTo(y)):e.target===t.navigation.nextEl?t.slideTo(y+a):t.slideTo(y):t.slideTo(t.activeIndex)}}else i.isTouched=!1,i.isMoved=!1,i.startMoving=!1}else i.isMoved&&n.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1}.bind(this),i.cssMode&&(this.onScroll=function(){var e=this.wrapperEl,t=this.rtlTranslate;this.previousTranslate=this.translate,this.isHorizontal()?this.translate=t?e.scrollWidth-e.offsetWidth-e.scrollLeft:-e.scrollLeft:this.translate=-e.scrollTop,-0===this.translate&&(this.translate=0),this.updateActiveIndex(),this.updateSlidesClasses(),(0==(e=this.maxTranslate()-this.minTranslate())?0:(this.translate-this.minTranslate())/e)!==this.progress&&this.updateProgress(t?-this.translate:this.translate),this.emit
1("setTranslate",this.translate,!1)}.bind(this)),this.onClick=function(e){this.allowClick||(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}.bind(this),!!i.nested);!r.touch&&r.pointerEvents?(a.addEventListener(n.start,this.onTouchStart,!1),t.addEventListener(n.move,this.onTouchMove,l),t.addEventListener(n.end,this.onTouchEnd,!1)):(r.touch&&(e=!("touchstart"!==n.start||!r.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1},a.addEventListener(n.start,this.onTouchStart,e),a.addEventListener(n.move,this.onTouchMove,r.passiveListener?{passive:!1,capture:l}:l),a.addEventListener(n.end,this.onTouchEnd,e),n.cancel&&a.addEventListener(n.cancel,this.onTouchEnd,e),R||(t.addEventListener("touchstart",F),R=!0)),(i.simulateTouch&&!o.ios&&!o.android||i.simulateTouch&&!r.touch&&o.ios)&&(a.addEventListener("mousedown",this.onTouchStart,!1),t.addEventListener("mousemove",this.onTouchMove,l),t.addEventListener("mouseup",this.onTouchEnd,!1))),(i.preventClicks||i.preventClicksPropagation)&&a.addEventListener("click",this.onClick,!0),i.cssMode&&s.addEventListener("scroll",this.onScroll),i.updateOnWindowResize?this.on(o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",y,!0):this.on("observerUpdate",y,!0)},detachEvents:function(){var e,t=v(),i=this.params,n=this.touchEvents,a=this.el,s=this.wrapperEl,o=this.device,r=this.support,l=!!i.nested;!r.touch&&r.pointerEvents?(a.removeEventListener(n.start,this.onTouchStart,!1),t.removeEventListener(n.move,this.onTouchMove,l),t.removeEventListener(n.end,this.onTouchEnd,!1)):(r.touch&&(e=!("onTouchStart"!==n.start||!r.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1},a.removeEventListener(n.start,this.onTouchStart,e),a.removeEventListener(n.move,this.onTouchMove,l),a.removeEventListener(n.end,this.onTouchEnd,e),n.cancel)&&a.removeEventListener(n.cancel,this.onTouchEnd,e),(i.simulateTouch&&!o.ios&&!o.android||i.simulateTouch&&!r.touch&&o.ios)&&(a.removeEventListener("mousedown",this.onTouchStart,!1),t.removeEventListener("mousemove",this.onTouchMove,l),t.removeEventListener("mouseup",this.onTouchEnd,!1))),(i.preventClicks||i.preventClicksPropagation)&&a.removeEventListener("click",this.onClick,!0),i.cssMode&&s.removeEventListener("scroll",this.onScroll),this.off(o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",y)}},breakpoints:{setBreakpoint:function(){var e,i,t,n,a=this.activeIndex,s=this.initialized,o=this.loopedSlides,o=void 0===o?0:o,r=this.params,l=this.$el,d=r.breakpoints;d&&0!==Object.keys(d).length&&(e=this.getBreakpoint(d))&&this.currentBreakpoint!==e&&((i=e in d?d[e]:void 0)&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach(function(e){var t=i[e];void 0!==t&&(i[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")}),d=i||this.originalParams,t=1<r.slidesPerColumn,n=1<d.slidesPerColumn,t&&!n?(l.removeClass(r.containerModifierClass+"multirow "+r.containerModifierClass+"multirow-column"),this.emitContainerClasses()):!t&&n&&(l.addClass(r.containerModifierClass+"multirow"),"column"===d.slidesPerColumnFill&&l.addClass(r.containerModifierClass+"multirow-column"),this.emitContainerClasses()),t=d.direction&&d.direction!==r.direction,n=r.loop&&(d.slidesPerView!==r.slidesPerView||t),t&&s&&this.changeDirection(),J(this.params,d),J(this,{allowTouchMove:this.params.allowTouchMove,allowSlideNext:this.params.allowSlideNext,allowSlidePrev:this.params.allowSlidePrev}),this.currentBreakpoint=e,this.emit("_beforeBreakpoint",d),n&&s&&(this.loopDestroy(),this.loopCreate(),this.updateSlides(),this.slideTo(a-o+this.loopedSlides,0,!1)),this.emit("breakpoint",d))},getBreakpoint:function(e){var i=X();if(e){var t=!1,n=Object.keys(e).map(function(e){var t;return"string"==typeof e&&0===e.indexOf("@")?(t=parseFloat(e.substr(1)),{value:i.innerHeight*t,point:e}):{value:e,point:e}});n.sort(function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)});for(var a=0;a<n.length;a+=1){var s=n[a],o=s.point;s.value<=i.innerWidth&&(t=o)}return t||"max"}}},checkOverflow:{checkOverflow:function(){var e=this.params,t=this.isLocked,i=0<this.slides.length&&e.slidesOffsetBefore+e.spaceBetween*(this.slides.length-1)+this.slides[0].offsetWidth*this.slides.length;e.slidesOffsetBefore&&e.slidesOffsetAfter&&i?this.isLocked=i<=this.size:this.isLocked=1===this.snapGrid.length,this.allowSlideNext=!this.isLocked,this.allowSlidePrev=!this.isLocked,t!==this.isLocked&&this.emit
1(this.isLocked?"lock":"unlock"),t&&t!==this.isLocked&&(this.isEnd=!1,this.navigation)&&this.navigation.update()}},classes:{addClasses:function(){var t=this.classNames,i=this.params,e=this.rtl,n=this.$el,a=this.device,s=[];s.push("initialized"),s.push(i.direction),i.freeMode&&s.push("free-mode"),i.autoHeight&&s.push("autoheight"),e&&s.push("rtl"),1<i.slidesPerColumn&&(s.push("multirow"),"column"===i.slidesPerColumnFill)&&s.push("multirow-column"),a.android&&s.push("android"),a.ios&&s.push("ios"),i.cssMode&&s.push("css-mode"),s.forEach(function(e){t.push(i.containerModifierClass+e)}),n.addClass(t.join(" ")),this.emitContainerClasses()},removeClasses:function(){var e=this.$el,t=this.classNames;e.removeClass(t.join(" ")),this.emitContainerClasses()}},images:{loadImage:function(e,t,i,n,a,s){var o=X();function r(){s&&s()}!(_(e).parent("picture")[0]||e.complete&&a)&&t?((e=new o.Image).onload=r,e.onerror=r,n&&(e.sizes=n),i&&(e.srcset=i),t&&(e.src=t)):r()},preloadImages:function(){var e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length)&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady"))}e.imagesToLoad=e.$el.find("img");for(var i=0;i<e.imagesToLoad.length;i+=1){var n=e.imagesToLoad[i];e.loadImage(n,n.currentSrc||n.getAttribute("src"),n.srcset||n.getAttribute("srcset"),n.sizes||n.getAttribute("sizes"),!0,t)}}}},S={},k=((P=E.prototype).emitContainerClasses=function(){var e,t=this;t.params._emitClasses&&t.el&&(e=t.el.className.split(" ").filter(function(e){return 0===e.indexOf("swiper-container")||0===e.indexOf(t.params.containerModifierClass)}),t.emit("_containerClasses",e.join(" ")))},P.getSlideClasses=function(e){var t=this;return e.className.split(" ").filter(function(e){return 0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)}).join(" ")},P.emitSlidesClasses=function(){var i=this;i.params._emitClasses&&i.el&&i.slides.each(function(e){var t=i.getSlideClasses(e);i.emit("_slideClass",e,t)})},P.slidesPerViewDynamic=function(){var e=this.params,t=this.slides,i=this.slidesGrid,n=this.size,a=this.activeIndex,s=1;if(e.centeredSlides){for(var o,r=t[a].swiperSlideSize,l=a+1;l<t.length;l+=1)t[l]&&!o&&(s+=1,(r+=t[l].swiperSlideSize)>n)&&(o=!0);for(var d=a-1;0<=d;--d)t[d]&&!o&&(s+=1,(r+=t[d].swiperSlideSize)>n)&&(o=!0)}else for(var c=a+1;c<t.length;c+=1)i[c]-i[a]<n&&(s+=1);return s},P.update=function(){var e,t,i=this;function n(){var e=i.rtlTranslate?-1*i.translate:i.translate,e=Math.min(Math.max(e,i.maxTranslate()),i.minTranslate());i.setTranslate(e),i.updateActiveIndex(),i.updateSlidesClasses()}i&&!i.destroyed&&(e=i.snapGrid,(t=i.params).breakpoints&&i.setBreakpoint(),i.updateSize(),i.updateSlides(),i.updateProgress(),i.updateSlidesClasses(),i.params.freeMode?(n(),i.params.autoHeight&&i.updateAutoHeight()):(("auto"===i.params.slidesPerView||1<i.params.slidesPerView)&&i.isEnd&&!i.params.centeredSlides?i.slideTo(i.slides.length-1,0,!1,!0):i.slideTo(i.activeIndex,0,!1,!0))||n(),t.watchOverflow&&e!==i.snapGrid&&i.checkOverflow(),i.emit("update"))},P.changeDirection=function(t,e){void 0===e&&(e=!0);var i=this.params.direction;return(t=t||("horizontal"===i?"vertical":"horizontal"))===i||"horizontal"!==t&&"vertical"!==t||(this.$el.removeClass(""+this.params.containerModifierClass+i).addClass(""+this.params.containerModifierClass+t),this.emitContainerClasses(),this.params.direction=t,this.slides.each(function(e){"vertical"===t?e.style.width="":e.style.height=""}),this.emit("changeDirection"),e&&this.update()),this},P.init=function(){this.initialized||(this.emit("beforeInit"),this.params.breakpoints&&this.setBreakpoint(),this.addClasses(),this.params.loop&&this.loopCreate(),this.updateSize(),this.updateSlides(),this.params.watchOverflow&&this.checkOverflow(),this.params.grabCursor&&this.setGrabCursor(),this.params.preloadImages&&this.preloadImages(),this.params.loop?this.slideTo(this.params.initialSlide+this.loopedSlides,0,this.params.runCallbacksOnInit):this.slideTo(this.params.initialSlide,0,this.params.runCallbacksOnInit),this.attachEvents(),this.initialized=!0,this.emit
1("init"),this.emit("afterInit"))},P.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var i,n=this,a=n.params,s=n.$el,o=n.$wrapperEl,r=n.slides;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),a.loop&&n.loopDestroy(),t&&(n.removeClasses(),s.removeAttr("style"),o.removeAttr("style"),r)&&r.length&&r.removeClass([a.slideVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index"),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(function(e){n.off(e)}),!1!==e&&(n.$el[0].swiper=null,i=n,Object.keys(i).forEach(function(e){try{i[e]=null}catch(e){}try{delete i[e]}catch(e){}})),n.destroyed=!0),null},E.extendDefaults=function(e){J(S,e)},E.installModule=function(e){E.prototype.modules||(E.prototype.modules={});var t=e.name||Object.keys(E.prototype.modules).length+"_"+x();E.prototype.modules[t]=e},E.use=function(e){return Array.isArray(e)?e.forEach(function(e){return E.installModule(e)}):E.installModule(e),E},P=E,M=[{key:"extendedDefaults",get:function(){return S}},{key:"defaults",get:function(){return H}}],null&&e(P.prototype,null),e(P,M),E);function E(){for(var e,i,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];i=J({},i=(i=1===n.length&&n[0].constructor&&n[0].constructor===Object?n[0]:(e=n[0],n[1]))||{}),e&&!i.el&&(i.el=e);var s,o,r,l,d,c,u,h,p,f,m,g,v=this,y=(v.support=Y(),v.device=(void 0===(m={userAgent:i.userAgent})&&(m={}),w||(m=(void 0===m?{}:m).userAgent,s=Y(),g=X(),o=g.navigator.platform,m=m||g.navigator.userAgent,r={ios:!1,android:!1},y=g.screen.width,g=g.screen.height,l=m.match(/(Android);?[\s\/]+([\d.]+)?/),d=m.match(/(iPad).*OS\s([\d_]+)/),c=m.match(/(iPod)(.*OS\s([\d_]+))?/),u=!d&&m.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===o,o="MacIntel"===o,!d&&o&&s.touch&&0<=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(y+"x"+g)&&(d=(d=m.match(/(Version)\/([\d.]+)/))||[0,1,"13_0_0"]),l&&!h&&(r.os="android",r.android=!0),(d||u||c)&&(r.os="ios",r.ios=!0),w=r),w),v.browser=(C||(o=X(),C={isEdge:!!o.navigator.userAgent.match(/Edge/g),isSafari:0<=(s=o.navigator.userAgent.toLowerCase()).indexOf("safari")&&s.indexOf("chrome")<0&&s.indexOf("android")<0,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(o.navigator.userAgent)}),C),v.eventsListeners={},v.eventsAnyListeners=[],void 0===v.modules&&(v.modules={}),Object.keys(v.modules).forEach(function(e){var t,e=v.modules[e];e.params&&(t=Object.keys(e.params)[0],"object"==typeof(e=e.params[t]))&&null!==e&&t in i&&"enabled"in e&&(!0===i[t]&&(i[t]={enabled:!0}),"object"!=typeof i[t]||"enabled"in i[t]||(i[t].enabled=!0),i[t]||(i[t]={enabled:!1}))}),J({},H)),b=(v.useParams(y),v.params=J({},y,S,i),v.originalParams=J({},v.params),v.passedParams=J({}
1,i),v.params&&v.params.on&&Object.keys(v.params.on).forEach(function(e){v.on(e,v.params.on[e])}),v.params&&v.params.onAny&&v.onAny(v.params.onAny),(v.$=_)(v.params.el));if(e=b[0])return 1<b.length?(p=[],b.each(function(e){e=J({},i,{el:e});p.push(new E(e))}),p):(e.swiper=v,e&&e.shadowRoot&&e.shadowRoot.querySelector?(f=_(e.shadowRoot.querySelector("."+v.params.wrapperClass))).children=function(e){return b.children(e)}:f=b.children("."+v.params.wrapperClass),J(v,{$el:b,el:e,$wrapperEl:f,wrapperEl:f[0],classNames:[],slides:_(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===v.params.direction},isVertical:function(){return"vertical"===v.params.direction},rtl:"rtl"===e.dir.toLowerCase()||"rtl"===b.css("direction"),rtlTranslate:"horizontal"===v.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===b.css("direction")),wrongRTL:"-webkit-box"===f.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:v.params.allowSlideNext,allowSlidePrev:v.params.allowSlidePrev,touchEvents:(g=["mousedown","mousemove","mouseup"],v.support.pointerEvents&&(g=["pointerdown","pointermove","pointerup"]),v.touchEventsTouch={start:(m=["touchstart","touchmove","touchend","touchcancel"])[0],move:m[1],end:m[2],cancel:m[3]},v.touchEventsDesktop={start:g[0],move:g[1],end:g[2]},v.support.touch||!v.params.simulateTouch?v.touchEventsTouch:v.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video, label",lastClickTime:x(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:v.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),v.useModules(),v.emit("_swiper"),v.params.init&&v.init(),v)}Object.keys(b).forEach(function(t){Object.keys(b[t]).forEach(function(e){k.prototype[e]=b[t][e]})}),k.use([m,g]);var Q={update:function(e){var t=this,i=t.params,n=i.slidesPerView,a=i.slidesPerGroup,i=i.centeredSlides,s=t.params.virtual,o=s.addSlidesBefore,s=s.addSlidesAfter,r=t.virtual,l=r.from,d=r.to,c=r.slides,u=r.slidesGrid,h=r.renderSlide,r=r.offset;t.updateActiveIndex();var p,f=t.activeIndex||0,m=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",i=i?(p=Math.floor(n/2)+a+s,Math.floor(n/2)+a+o):(p=n+(a-1)+s,a+o),g=Math.max((f||0)-i,0),v=Math.min((f||0)+p,c.length-1),n=(t.slidesGrid[g]||0)-(t.slidesGrid[0]||0);function y(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(J(t.virtual,{from:g,to:v,offset:n,slidesGrid:t.slidesGrid}),l!==g||d!==v||e)if(t.params.virtual.renderExternal)t.params.virtual.renderExternal.call(t,{offset:n,from:g,to:v,slides:(()=>{for(var e=[],t=g;t<=v;t+=1)e.push(c[t]);return e})()}),t.params.virtual.renderExternalUpdate&&y();else{var b=[],w=[];if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else for(var C=l;C<=d;C+=1)(C<g||v<C)&&t.$wrapperEl.find("."+t.params.slideClass+'[data-swiper-slide-index="'+C+'"]').remove();for(var T=0;T<c.length;T+=1)g<=T&&T<=v&&(void 0===d||e?w.push(T):(d<T&&w.push(T),T<l&&b.push(T)));w.forEach(function(e){t.$wrapperEl.append(h(c[e],e))}),b.sort(function(e,t){return t-e}).forEach(function(e){t.$wrapperEl.prepend(h(c[e],e))}),t.$wrapperEl.children(".swiper-slide").css(m,n+"px"),y()}else t.slidesGrid!==u&&n!==r&&t.slides.css(m,n+"px"),t.updateProgress()},renderSlide:function(e,t){var i=this.params.virtual;return i.cache&&this.virtual.cache[t]?this.virtual.cache[t]:((e=_(i.renderSlide?i.renderSlide.call(this,e,t):'<div class="'+this.params.slideClass+'" data-swiper-slide-index="'+t+'">'+e+"</div>")).attr("data-swiper-slide-index")||e.attr("data-swiper-slide-index",t),i.cache&&(this.virtual.cache[t]=e),e)},appendSlide:function(e){if("object"==typeof e&&"length"in e)for(var t=0;t<e.length;t+=1)e[t]&&this.virtual.slides.push(e[t]);else this.virtual.slides.push(e);this.virtual.update(!0)}
1,prependSlide:function(e){var n,a,t=this.activeIndex,i=t+1,s=1;if(Array.isArray(e)){for(var o=0;o<e.length;o+=1)e[o]&&this.virtual.slides.unshift(e[o]);i=t+e.length,s=e.length}else this.virtual.slides.unshift(e);this.params.virtual.cache&&(n=this.virtual.cache,a={},Object.keys(n).forEach(function(e){var t=n[e],i=t.attr("data-swiper-slide-index");i&&t.attr("data-swiper-slide-index",parseInt(i,10)+1),a[parseInt(e,10)+s]=t}),this.virtual.cache=a),this.virtual.update(!0),this.slideTo(i,0)},removeSlide:function(e){if(null!=e){var t=this.activeIndex;if(Array.isArray(e))for(var i=e.length-1;0<=i;--i)this.virtual.slides.splice(e[i],1),this.params.virtual.cache&&delete this.virtual.cache[e[i]],e[i]<t&&--t,t=Math.max(t,0);else this.virtual.slides.splice(e,1),this.params.virtual.cache&&delete this.virtual.cache[e],e<t&&--t,t=Math.max(t,0);this.virtual.update(!0),this.slideTo(t,0)}},removeAllSlides:function(){this.virtual.slides=[],this.params.virtual.cache&&(this.virtual.cache={}),this.virtual.update(!0),this.slideTo(0,0)}},P={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}},create:function(){f(this,{virtual:t(t({},Q),{},{slides:this.params.virtual.slides,cache:{}})})},on:{beforeInit:function(e){var t;e.params.virtual.enabled&&(e.classNames.push(e.params.containerModifierClass+"virtual"),J(e.params,t={watchSlidesProgress:!0}),J(e.originalParams,t),e.params.initialSlide||e.virtual.update(
1))},setTranslate:function(e){e.params.virtual.enabled&&e.virtual.update()}}},q={handle:function(e){var t=X(),i=v(),n=this.rtlTranslate,a=(e=e.originalEvent?e.originalEvent:e).keyCode||e.charCode,s=this.params.keyboard.pageUpDown,o=s&&33===a,s=s&&34===a,r=37===a,l=39===a,d=38===a,c=40===a;if(!this.allowSlideNext&&(this.isHorizontal()&&l||this.isVertical()&&c||s))return!1;if(!this.allowSlidePrev&&(this.isHorizontal()&&r||this.isVertical()&&d||o))return!1;if(!(e.shiftKey||e.altKey||e.ctrlKey||e.metaKey||i.activeElement&&i.activeElement.nodeName&&("input"===i.activeElement.nodeName.toLowerCase()||"textarea"===i.activeElement.nodeName.toLowerCase()))){if(this.params.keyboard.onlyInViewport&&(o||s||r||l||d||c)){var u=!1;if(0<this.$el.parents("."+this.params.slideClass).length&&0===this.$el.parents("."+this.params.slideActiveClass).length)return;var h=t.innerWidth,p=t.innerHeight,i=this.$el.offset();n&&(i.left-=this.$el[0].scrollLeft);for(var f=[[i.left,i.top],[i.left+this.width,i.top],[i.left,i.top+this.height],[i.left+this.width,i.top+this.height]],m=0;m<f.length;m+=1){var g=f[m];0<=g[0]&&g[0]<=h&&0<=g[1]&&g[1]<=p&&(u=!0)}if(!u)return}this.isHorizontal()?((o||s||r||l)&&(e.preventDefault?e.preventDefault():e.returnValue=!1),((s||l)&&!n||(o||r)&&n)&&this.slideNext(),((o||r)&&!n||(s||l)&&n)&&this.slidePrev()):((o||s||d||c)&&(e.preventDefault?e.preventDefault():e.returnValue=!1),(s||c)&&this.slideNext(),(o||d)&&this.slidePrev()),this.emit("keyPress",a)}},enable:function(){var e=v();this.keyboard.enabled||(_(e).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable:function(){var e=v();this.keyboard.enabled&&(_(e).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}},M={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}},create:function(){f(this,{keyboard:t({enabled:!1},q)})},on:{init:function(e){e.params.keyboard.enabled&&e.keyboard.enable()},destroy:function(e){e.keyboard.enabled&&e.keyboard.disable()}}},I={lastScrollTime:x(),lastEventBeforeSnap:void 0,recentWheelEvents:[],event:function(){return-1<X().navigator.userAgent.indexOf("firefox")?"DOMMouseScroll":(t=v(),(i="onwheel"in t)||((e=t.createElement("div")).setAttribute("onwheel","return;"),i="function"==typeof e.onwheel),(i=!i&&t.implementation&&t.implementation.hasFeature&&!0!==t.implementation.hasFeature("","")?t.implementation.hasFeature("Events.wheel","3.0"):i)?"wheel":"mousewheel");var e,t,i},normalize:function(e){var t=0,i=0,n=0,a=0;return"detail"in e&&(i=e.detail),"wheelDelta"in e&&(i=-e.wheelDelta/120),"wheelDeltaY"in e&&(i=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=i,i=0),n=10*t,a=10*i,"deltaY"in e&&(a=e.deltaY),"deltaX"in e&&(n=e.deltaX),e.shiftKey&&!n&&(n=a,a=0),(n||a)&&e.deltaMode&&(1===e.deltaMode?(n*=40,a*=40):(n*=800,a*=800)),{spinX:t=n&&!t?n<1?-1:1:t,spinY:i=a&&!i?a<1?-1:1:i,pixelX:n,pixelY:a}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(e){var t=e,i=this,n=i.params.mousewheel,a=(i.params.cssMode&&t.preventDefault(),i.$el);if("container"!==i.params.mousewheel.eventsTarget&&(a=_(i.params.mousewheel.eventsTarget)),!i.mouseEntered&&!a[
10].contains(t.target)&&!n.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);var a=0,s=i.rtlTranslate?-1:1,o=I.normalize(t);if(n.forceToAxis)if(i.isHorizontal()){if(!(Math.abs(o.pixelX)>Math.abs(o.pixelY)))return!0;a=-o.pixelX*s}else{if(!(Math.abs(o.pixelY)>Math.abs(o.pixelX)))return!0;a=-o.pixelY}else a=Math.abs(o.pixelX)>Math.abs(o.pixelY)?-o.pixelX*s:-o.pixelY;if(0===a)return!0;if(n.invert&&(a=-a),i.params.freeMode){var r={time:x(),delta:Math.abs(a),direction:Math.sign(a)},s=i.mousewheel.lastEventBeforeSnap,o=s&&r.time<s.time+500&&r.delta<=s.delta&&r.direction===s.direction;if(!o){i.mousewheel.lastEventBeforeSnap=void 0,i.params.loop&&i.loopFix();var l,d,s=i.getTranslate()+a*n.sensitivity,n=i.isBeginning,c=i.isEnd;if((s=s>=i.minTranslate()?i.minTranslate():s)<=i.maxTranslate()&&(s=i.maxTranslate()),i.setTransition(0),i.setTranslate(s),i.updateProgress(),i.updateActiveIndex(),i.updateSlidesClasses(),(!n&&i.isBeginning||!c&&i.isEnd)&&i.updateSlidesClasses(),i.params.freeModeSticky&&(clearTimeout(i.mousewheel.timeout),i.mousewheel.timeout=void 0,15<=(l=i.mousewheel.recentWheelEvents).length&&l.shift(),n=l.length?l[l.length-1]:void 0,c=l[0],l.push(r),n&&(r.delta>n.delta||r.direction!==n.direction)?l.splice(0):15<=l.length&&r.time-c.time<500&&1<=c.delta-r.delta&&r.delta<=6&&(d=0<a?.8:.2,i.mousewheel.lastEventBeforeSnap=r,l.
1splice(0),i.mousewheel.timeout=T(function(){i.slideToClosest(i.params.speed,!0,void 0,d)},0)),i.mousewheel.timeout||(i.mousewheel.timeout=T(function(){i.mousewheel.lastEventBeforeSnap=r,l.splice(0),i.slideToClosest(i.params.speed,!0,void 0,.5)},500))),o||i.emit("scroll",t),i.params.autoplay&&i.params.autoplayDisableOnInteraction&&i.autoplay.stop(),s===i.minTranslate()||s===i.maxTranslate())return!0}}else{n={time:x(),delta:Math.abs(a),direction:Math.sign(a),raw:e},c=i.mousewheel.recentWheelEvents,o=(2<=c.length&&c.shift(),c.length?c[c.length-1]:void 0);if(c.push(n),(!o||n.direction!==o.direction||n.delta>o.delta||n.time>o.time+150)&&i.mousewheel.animateSlider(n),i.mousewheel.releaseScroll(n))return!0}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},animateSlider:function(e){var t=X();return!(this.params.mousewheel.thresholdDelta&&e.delta<this.params.mousewheel.thresholdDelta||this.params.mousewheel.thresholdTime&&x()-this.mousewheel.lastScrollTime<this.params.mousewheel.thresholdTime||!(6<=e.delta&&x()-this.mousewheel.lastScrollTime<60)&&(e.direction<0?this.isEnd&&!this.params.loop||this.animating||(this.slideNext(),this.emit("scroll",e.raw)):this.isBeginning&&!this.params.loop||this.animating||(this.slidePrev(),this.emit("scroll",e.raw)),this.mousewheel.lastScrollTime=(new t.Date).getTime(),1))},releaseScroll:function(e){var t=this.params.mousewheel;if(e.direction<0){if(this.isEnd&&!this.params.loop&&t.releaseOnEdges)return!0}else if(this.isBeginning&&!this.params.loop&&t.releaseOnEdges)return!0;return!1},enable:function(){var e,t=I.event();return this.params.cssMode?(this.wrapperEl.removeEventListener(t,this.mousewheel.handle),!0):!!t&&!this.mousewheel.enabled&&(e=this.$el,(e="container"!==this.params.mousewheel.eventsTarget?_(this.params.mousewheel.eventsTarget):e).on("mouseenter",this.mousewheel.handleMouseEnter),e.on("mouseleave",this.mousewheel.handleMouseLeave),e.on(t,this.mousewheel.handle),this.mousewheel.enabled=!0)},disable:function(){var e,t=I.event();return this.params.cssMode?(this.wrapperEl.addEventListener(t,this.mousewheel.handle),!0):!!t&&!(!this.mousewheel.enabled||(e=this.$el,(e="container"!==this.params.mousewheel.eventsTarget?_(this.params.mousewheel.eventsTarget):e).off(t,this.mousewheel.handle),this.mousewheel.enabled=!1))}},W={update:function(){var e,t,i=this.params.navigation;this.params.loop||(e=(t=this.navigation).$nextEl,(t=t.$prevEl)&&0<t.length&&(this.isBeginning?t.addClass(i.disabledClass):t.removeClass(i.disabledClass),t[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](i.lockClass)),e&&0<e.length&&(this.isEnd?e.addClass(i.disabledClass):e.removeClass(i.disabledClass),e[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](i.lockClass)))},onPrevClick:function(e){e.preventDefault(),this.isBeginning&&!this.params.loop||this.slidePrev()},onNextClick:function(e){e.preventDefault(),this.isEnd&&!this.params.loop||this.slideNext()},init:function(){var e,t,i=this.params.navigation;(i.nextEl||i.prevEl)&&(i.nextEl&&(e=_(i.nextEl),this.params.uniqueNavElements)&&"string"==typeof i.nextEl&&1<e.length&&1===this.$el.find(i.nextEl).length&&(e=this.$el.find(i.nextEl)),i.prevEl&&(t=_(i.prevEl),this.params.uniqueNavElements)&&"string"==typeof i.prevEl&&1<t.length&&1===this.$el.find(i.prevEl).length&&(t=this.$el.find(i.prevEl)),e&&0<e.length&&e.on("click",this.navigation.onNextClick),t&&0<t.length&&t.on("click",this.navigation.onPrevClick),J(this.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}))},destroy:function(){var e=this.navigation,t=e.$nextEl,e=e.$prevEl;t&&t.length&&(t.off("click",this.navigation.onNextClick),t.removeClass(this.params.navigation.disabledClass)),e&&e.length&&(e.off("click",this.navigation.onPrevClick),e.removeClass(this.params.navigation.disabledClass))}},U={update:function(){var e=this.rtl,i=this.params.pagination;if(i.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var n,t=(this.virtual&&this.params.virtual.enabled?this.virtual:this).slides.length,a=this.pagination.$el,s=this.params.loop?Math.ceil((t-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length;if(this.params.loop?((n=Math.ceil((this.activeIndex-this.loopedSlides)/this.params.slidesPerGroup))>t-1-2*this.loopedSlides&&(n-=t-2*this.loopedSlides),s-1<n&&(n-=s),n<0&&"bullets"!==this.params.paginationType&&(n=s+n)):n=void 0!==this.snapIndex?this.snapIndex:this.activeIndex||0,"bullets"===i.type&&this.pagination.bullets&&0<this.pagination.bullets.length){var o,r,l,d=this.pagination.bullets;if(i.dynamicBullets&&(this.pagination.bulletSize=d.eq(0)[this.isHorizontal()?"outerWidth":"outerHeight"](!0),a.css(this.isHorizontal()?"width":"height",this.pagination.bulletSize*(i.dynamicMainBullets+4)+"px"),1<i.dynamicMainBullets&&void 0!==this.previousIndex&&(this.pagination.dynamicBulletIndex+=n-this.previousIndex,this.pagination.dynamicBulletIndex>i.dynamicMainBullets-1?this.pagination.dynamicBulletIndex=i.dynamicMainBullets-1:this.pagination.dynamicBulletIndex<0&&(this.pagination.dynamicBulletIndex=0)),o=n-this.pagination.dynamicBulletIndex,l=((r=o+(Math.min(d.length,i.dynamicMainBullets)-1))+o)/2),d.removeClass(i.bulletActiveClass+" "+i.bulletActiveClass+"-next "+i.bulletActiveClass+"-next-next "+i.bulletActiveClass+"-prev "+i.bulletActiveClass+"-prev-prev "+i.bulletActiveClass+"-main"),1<a.length)d.each(function(e){var e=_(e),t=e.index();t===n&&e.addClass(i.bulletActiveClass),i.dynamicBullets&&(o<=t&&t<=r&&e.addClass(i.bulletActiveClass+"-main"),t===o&&e.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),t===r)&&e.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next")});else{var t=d.eq(n),c=t.index();if(t.addClass(i.bulletActiveClass),i.dynamicBullets){for(var t=d.eq(o),u=d.eq(r),h=o;h<=r;h+=1)d.eq(h).addClass(i.bulletActiveClass+"-main");if(this.params.loop)if(c>=d.length-i.dynamicMainBullets){for(var p=i.dynamicMainBullets;0<=p;--p)d.eq(d.length-p).addClass(i.bulletActiveClass+"-main");d.eq(d.length-i.dynamicMainBullets-1).addClass(i.bulletActiveClass+"-prev")}else t.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),u.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next");else t.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),u.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next")}}i.dynamicBullets&&(c=Math.min(d.length,i.dynamicMainBullets+4),t=(this.pagination.bulletSize*c-this.pagination.bulletSize)/2-l*this.pagination.bulletSize,u=e?"right":"left",d.css(this.isHorizontal()?u:"top",t+"px"))}
1"fraction"===i.type&&(a.find("."+i.currentClass).text(i.formatFractionCurrent(n+1)),a.find("."+i.totalClass).text(i.formatFractionTotal(s))),"progressbar"===i.type&&(c=i.progressbarOpposite?this.isHorizontal()?"vertical":"horizontal":this.isHorizontal()?"horizontal":"vertical",l=(n+1)/s,u=e=1,"horizontal"==c?e=l:u=l,a.find("."+i.progressbarFillClass).transform("translate3d(0,0,0) scaleX("+e+") scaleY("+u+")").transition(this.params.speed)),"custom"===i.type&&i.renderCustom?(a.html(i.renderCustom(this,n+1,s)),this.emit("paginationRender",a[0])):this.emit("paginationUpdate",a[0]),a[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](i.lockClass)}},render:function(){var e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var t=(this.virtual&&this.params.virtual.enabled?this.virtual:this).slides.length,i=this.pagination.$el,n="";if("bullets"===e.type){for(var a=this.params.loop?Math.ceil((t-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length,s=0;s<a;s+=1)e.renderBullet?n+=e.renderBullet.call(this,s,e.bulletClass):n+="<"+e.bulletElement+' class="'+e.bulletClass+'"></'+e.bulletElement+">";i.html(n),this.pagination.bullets=i.find("."+e.bulletClass)}"fraction"===e.type&&(n=e.renderFraction?e.renderFraction.call(this,e.currentClass,e.totalClass):'<span class="'+e.currentClass+'"></span> / <span class="'+e.totalClass+'"></span>',i.html(n)),"progressbar"===e.type&&(n=e.renderProgressbar?e.renderProgressbar.call(this,e.progressbarFillClass):'<span class="'+e.progressbarFillClass+'"></span>',i.html(n)),"custom"!==e.type&&this.emit("paginationRender",this.pagination.$el[0])}},init:function(){var e,t=this,i=t.params.pagination;i.el&&0!==(e=_(i.el)).length&&(t.params.uniqueNavElements&&"string"==typeof i.el&&1<e.length&&(e=t.$el.find(i.el)),"bullets"===i.type&&i.clickable&&e.addClass(i.clickableClass),e.addClass(i.modifierClass+i.type),"bullets"===i.type&&i.dynamicBullets&&(e.addClass(""+i.modifierClass+i.type+"-dynamic"),t.pagination.dynamicBulletIndex=0,i.dynamicMainBullets<1)&&(i.dynamicMainBullets=1),"progressbar"===i.type&&i.progressbarOpposite&&e.addClass(i.progressbarOppositeClass),i.clickable&&e.on("click","."+i.bulletClass,function(e){e.preventDefault();e=_(this).index()*t.params.slidesPerGroup;t.params.loop&&(e+=t.loopedSlides),t.slideTo(e)}),J(t.pagination,{$el:e,el:e[0]}))},destroy:function(){var e,t=this.params.pagination;t.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length&&((e=this.pagination.$el).removeClass(t.hiddenClass),e.removeClass(t.modifierClass+t.type),this.pagination.bullets&&this.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable)&&e.off("click","."+t.bulletClass)}},V={setTranslate:function(){var e,t,i,n,a,s,o,r;this.params.scrollbar.el&&this.scrollbar.el&&(i=this.scrollbar,e=this.rtlTranslate,r=this.progress,t=i.dragSize,n=i.$dragEl,a=i.$el,s=this.params.scrollbar,r=((i=i.trackSize)-(o=t))*r,e?0<(r=-r)?(o=t-r,r=0):i<-r+t&&(o=i+r):r<0?(o=t+r,r=0):i<r+t&&(o=i-r),this.isHorizontal()?(n.transform("translate3d("+r+"px, 0, 0)"),n[0].style.width=o+"px"):(n.transform("translate3d(0px, "+r+"px, 0)"),n[0].style.height=o+"px"),s.hide)&&(clearTimeout(this.scrollbar.timeout),a[0].style.opacity=1,this.scrollbar.timeout=setTimeout(function(){a[0].style.opacity=0,a.transition(400)},1e3))},setTransition:function(e){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(e)},updateSize:function(){var e,t,i,n,a,s,o;this.params.scrollbar.el&&this.scrollbar.el&&(t=(e=this.scrollbar).$dragEl,i=e.$el,t[0].style.width="",t[0].style.height="",n=this.isHorizontal()?i[0].offsetWidth:i[0].offsetHeight,s=(a=this.size/this.virtualSize)*(n/this.size),o="auto"===this.params.scrollbar.dragSize?n*a:parseInt(this.params.scrollbar.dragSize,10),this.isHorizontal()?t[0].style.width=o+"px":t[0].style.height=o+"px",i[0].style.display=1<=a?"none":"",this.params.scrollbar.hide&&(i[0].style.opacity=0),J(e,{trackSize:n,divider:a,moveDivider:s,dragSize:o}),e.$el[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](this.params.scrollbar.lockClass))},getPointerPosition:function(e){return this.isHorizontal()?("touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0]:e).clientX:("touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0]:e).clientY}
1,setDragPosition:function(e){var t=this.scrollbar,i=this.rtlTranslate,n=t.$el,a=t.dragSize,s=t.trackSize,o=t.dragStartPos,t=(t.getPointerPosition(e)-n.offset()[this.isHorizontal()?"left":"top"]-(null!==o?o:a/2))/(s-a),e=(t=Math.max(Math.min(t,1),0),i&&(t=1-t),this.minTranslate()+(this.maxTranslate()-this.minTranslate())*t);this.updateProgress(e),this.setTranslate(e),this.updateActiveIndex(),this.updateSlidesClasses()},onDragStart:function(e){var t=this.params.scrollbar,i=this.scrollbar,n=this.$wrapperEl,a=i.$el,s=i.$dragEl;this.scrollbar.isTouched=!0,this.scrollbar.dragStartPos=e.target===s[0]||e.target===s?i.getPointerPosition(e)-e.target.getBoundingClientRect()[this.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),n.transition(100),s.transition(100),i.setDragPosition(e),clearTimeout(this.scrollbar.dragTimeout),a.transition(0),t.hide&&a.css("opacity",1),this.params.cssMode&&this.$wrapperEl.css("scroll-snap-type","none"),this.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this.scrollbar,i=this.$wrapperEl,n=t.$el,a=t.$dragEl;this.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),i.transition(0),n.transition(0),a.transition(0),this.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this.params.scrollbar,i=this.scrollbar,n=this.$wrapperEl,a=i.$el;this.scrollbar.isTouched&&(this.scrollbar.isTouched=!1,this.params.cssMode&&(this.$wrapperEl.css("scroll-snap-type",""),n.transition("")),t.hide&&(clearTimeout(this.scrollbar.dragTimeout),this.scrollbar.dragTimeout=T(function(){a.css("opacity",0),a.transition(400)},1e3)),this.emit("scrollbarDragEnd",e),t.snapOnRelease)&&this.slideToClosest()},enableDraggable:function(){var e,t,i,n,a,s,o;this.params.scrollbar.el&&(e=v(),a=this.scrollbar,t=this.touchEventsTouch,i=this.touchEventsDesktop,o=this.params,n=this.support,a=a.$el[0],s=!(!n.passiveListener||!o.passiveListeners)&&{passive:!1,capture:!1},o=!(!n.passiveListener||!o.passiveListeners)&&{passive:!0,capture:!1},n.touch?(a.addEventListener(t.start,this.scrollbar.onDragStart,s),a.addEventListener(t.move,this.scrollbar.onDragMove,s),a.addEventListener(t.end,this.scrollbar.onDragEnd,o)):(a.addEventListener(i.start,this.scrollbar.onDragStart,s),e.addEventListener(i.move,this.scrollbar.onDragMove,s),e.addEventListener(i.end,this.scrollbar.onDragEnd,o)))},disableDraggable:function(){var e,t,i,n,a,s,o;this.params.scrollbar.el&&(e=v(),a=this.scrollbar,t=this.touchEventsTouch,i=this.touchEventsDesktop,o=this.params,n=this.support,a=a.$el[0],s=!(!n.passiveListener||!o.passiveListeners)&&{passive:!1,capture:!1},o=!(!n.passiveListener||!o.passiveListeners)&&{passive:!0,capture:!1},n.touch?(a.removeEventListener(t.start,this.scrollbar.onDragStart,s),a.removeEventListener(t.move,this.scrollbar.onDragMove,s),a.removeEventListener(t.end,this.scrollbar.onDragEnd,o)):(a.removeEventListener(i.start,this.scrollbar.onDragStart,s),e.removeEventListener(i.move,this.scrollbar.onDragMove,s),e.removeEventListener(i.end,this.scrollbar.onDragEnd,o)))},init:function(){var e,t,i,n;this.params.scrollbar.el&&(e=this.scrollbar,n=this.$el,i=_((t=this.params.scrollbar).el),0===(n=(i=this.params.uniqueNavElements&&"string"==typeof t.el&&1<i.length&&1===n.find(t.el).length?n.find(t.el):i).find("."+this.params.scrollbar.dragClass)).length&&(n=_('<div class="'+this.params.scrollbar.dragClass+'"></div>'),i.append(n)),J(e,{$el:i,el:i[0],$dragEl:n,dragEl:n[0]}),t.draggable)&&e.enableDraggable()},destroy:function(){this.scrollbar.disableDraggable()}},G={setTransform:function(e,t){var i=this.rtl,e=_(e),i=i?-1:1,n=e.attr("data-swiper-parallax")||"0",a=e.attr("data-swiper-parallax-x"),s=e.attr("data-swiper-parallax-y"),o=e.attr("data-swiper-parallax-scale"),r=e.attr("data-swiper-parallax-opacity");a||s?(a=a||"0",s=s||"0"):this.isHorizontal()?(a=n,s="0"):(s=n,a="0"),a=0<=a.indexOf("%")?parseInt(a,10)*t*i+"%":a*t*i+"px",s=0<=s.indexOf("%")?parseInt(s,10)*t+"%":s*t+"px",null!=r&&(n=r-(r-1)*(1-Math.abs(t)),e[0].style.opacity=n),null==o?e.transform("translate3d("+a+", "+s+", 0px)"):(i=o-(o-1)*(1-Math.abs(t)),e.transform("translate3d("+a+", "+s+", 0px) scale("+i+")"))},setTranslate:function(){var n=this,e=n.$el,t=n.slides,a=n.progress,s=n.snapGrid;e.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(e){n.parallax.setTransform(e,a)}),t.each(function(e,t){var i=e.progress;1<n.params.slidesPerGroup&&"auto"!==n.params.slidesPerView&&(i+=Math.ceil(t/2)-a*(s.length-1)),i=Math.min(Math.max(i,-1),1),_(e).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(e){n.parallax.setTransform(e,i)})})},setTransition:function(i){void 0===i&&(i=this.params.speed),this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(e){var e=_(e),t=parseInt(e.attr("data-swiper-parallax-duration"),10)||i;0===i&&(t=0),e.transition(t)})}},O={getDistanceBetweenTouches:function(e){var t,i,n;return e.targetTouches.length<2?1:(t=e.targetTouches[0].pageX,i=e.targetTouches[0].pageY,n=e.targetTouches[1].pageX,e=e.targetTouches[1].pageY,Math.sqrt(Math.pow(n-t,2)+Math.pow(e-i,2)))},onGestureStart:function(e){var t=this.support,i=this.params.zoom,n=this.zoom,a=n.gesture;if(n.fakeGestureTouched=!1,n.fakeGestureMoved=!1,!t.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;n.fakeGestureTouched=!0,a.scaleStart=O.getDistanceBetweenTouches(e)}a.$slideEl&&a.$slideEl.length||(a.$slideEl=_(e.target).closest("."+this.params.slideClass),0===a.$slideEl.length&&(a.$slideEl=this.slides.eq(this.activeIndex)),a.$imageEl=a.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),a.$imageWrapEl=a.$imageEl.parent("."+i.containerClass),a.maxRatio=a.$imageWrapEl.attr("data-swiper-zoom")||i.maxRatio,0!==a.$imageWrapEl.length)?(a.$imageEl&&a.$imageEl.transition(0),this.zoom.isScaling=!0):a.$imageEl=void 0},onGestureChange:function(e){var t=this.support,i=this.params.zoom,n=this.zoom,a=n.gesture;if(!t.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;n.fakeGestureMoved=!0,a.scaleMove=O.getDistanceBetweenTouches(e)}a.$imageEl&&0!==a.$imageEl.length?(t.gestures?n.scale=e.scale*n.currentScale:n.scale=a.scaleMove/a.scaleStart*n.currentScale,n.scale>a.maxRatio&&(n.scale=a.maxRatio-1+Math.pow(n.scale-a.maxRatio+1,.5)),n.scale<i.minRatio&&(n.scale=i.minRatio+1-Math.pow(i.minRatio-n.scale+1,.5)),a.$imageEl.transform("translate3d(0,
10,0) scale("+n.scale+")")):"gesturechange"===e.type&&n.onGestureStart(e)},onGestureEnd:function(e){var t=this.device,i=this.support,n=this.params.zoom,a=this.zoom,s=a.gesture;if(!i.gestures){if(!a.fakeGestureTouched||!a.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!t.android)return;a.fakeGestureTouched=!1,a.fakeGestureMoved=!1}s.$imageEl&&0!==s.$imageEl.length&&(a.scale=Math.max(Math.min(a.scale,s.maxRatio),n.minRatio),s.$imageEl.transition(this.params.speed).transform("translate3d(0,0,0) scale("+a.scale+")"),a.currentScale=a.scale,a.isScaling=!1,1===a.scale)&&(s.$slideEl=void 0)},onTouchStart:function(e){var t=this.device,i=this.zoom,n=i.gesture,i=i.image;n.$imageEl&&0!==n.$imageEl.length&&!i.isTouched&&(t.android&&e.cancelable&&e.preventDefault(),i.isTouched=!0,i.touchesStart.x=("touchstart"===e.type?e.targetTouches[0]:e).pageX,i.touchesStart.y=("touchstart"===e.type?e.targetTouches[0]:e).pageY)},onTouchMove:function(e){var t=this.zoom,i=t.gesture,n=t.image,a=t.velocity;if(i.$imageEl&&0!==i.$imageEl.length&&(this.allowClick=!1,n.isTouched)&&i.$slideEl){n.isMoved||(n.width=i.$imageEl[0].offsetWidth,n.height=i.$imageEl[0].offsetHeight,n.startX=h(i.$imageWrapEl[0],"x")||0,n.startY=h(i.$imageWrapEl[0],"y")||0,i.slideWidth=i.$slideEl[0].offsetWidth,i.slideHeight=i.$slideEl[0].offsetHeight,i.$imageWrapEl.transition(0),this.rtl&&(n.startX=-n.startX,n.startY=-n.startY));var s=n.width*t.scale,o=n.height*t.scale;if(!(s<i.slideWidth&&o<i.slideHeight)){if(n.minX=Math.min(i.slideWidth/2-s/2,0),n.maxX=-n.minX,n.minY=Math.min(i.slideHeight/2-o/2,0),n.maxY=-n.minY,n.touchesCurrent.x=("touchmove"===e.type?e.targetTouches[0]:e).pageX,n.touchesCurrent.y=("touchmove"===e.type?e.targetTouches[0]:e).pageY,!n.isMoved&&!t.isScaling){if(this.isHorizontal()&&(Math.floor(n.minX)===Math.floor(n.startX)&&n.touchesCurrent.x<n.touchesStart.x||Math.floor(n.maxX)===Math.floor(n.startX)&&n.touchesCurrent.x>n.touchesStart.x))return void(n.isTouched=!1);if(!this.isHorizontal()&&(Math.floor(n.minY)===Math.floor(n.startY)&&n.touchesCurrent.y<n.touchesStart.y||Math.floor(n.maxY)===Math.floor(n.startY)&&n.touchesCurrent.y>n.touchesStart.y))return void(n.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),n.isMoved=!0,n.currentX=n.touchesCurrent.x-n.touchesStart.x+n.startX,n.currentY=n.touchesCurrent.y-n.touchesStart.y+n.startY,n.currentX<n.minX&&(n.currentX=n.minX+1-Math.pow(n.minX-n.currentX+1,.8)),n.currentX>n.maxX&&(n.currentX=n.maxX-1+Math.pow(n.currentX-n.maxX+1,.8)),n.currentY<n.minY&&(n.currentY=n.minY+1-Math.pow(n.minY-n.currentY+1,.8)),n.currentY>n.maxY&&(n.currentY=n.maxY-1+Math.pow(n.currentY-n.maxY+1,.8)),a.prevPositionX||(a.prevPositionX=n.touchesCurrent.x),a.prevPositionY||(a.prevPositionY=n.touchesCurrent.y),a.prevTime||(a.prevTime=Date.now()),a.x=(n.touchesCurrent.x-a.prevPositionX)/(Date.now()-a.prevTime)/2,a.y=(n.touchesCurrent.y-a.prevPositionY)/(Date.now()-a.prevTime)/2,Math.abs(n.touchesCurrent.x-a.prevPositionX)<2&&(a.x=0),Math.abs(n.touchesCurrent.y-a.prevPositionY)<2&&(a.y=0),a.prevPositionX=n.touchesCurrent.x,a.prevPositionY=n.touchesCurrent.y,a.prevTime=Date.now(),i.$imageWrapEl.transform("translate3d("+n.currentX+"px, "+n.currentY+"px,0)")}}},onTouchEnd:function(){var e,t,i,n,a=this.zoom,s=a.gesture,o=a.image,r=a.velocity;s.$imageEl&&0!==s.$imageEl.length&&(o.isTouched&&o.isMoved?(o.isTouched=!1,o.isMoved=!1,e=r.x*(i=300),e=o.currentX+e,t=r.y*(n=300),t=o.currentY+t,0!==r.x&&(i=Math.abs((e-o.currentX)/r.x)),0!==r.y&&(n=Math.abs((t-o.currentY)/r.y)),r=Math.max(i,n),o.currentX=e,o.currentY=t,i=o.width*a.scale,n=o.height*a.scale,o.minX=Math.min(s.slideWidth/2-i/2,0),o.maxX=-o.minX,o.minY=Math.min(s.slideHeight/2-n/2,0),o.maxY=-o.minY,o.currentX=Math.max(Math.min(o.currentX,o.maxX),o.minX),o.currentY=Math.max(Math.min(o.currentY,o.maxY),o.minY),s.$imageWrapEl.transition(r).transform("translate3d("+o.currentX+"px, "+o.currentY+"px,0)")):(o.isTouched=!1,o.isMoved=!1))},onTransitionEnd:function(){var e=this.zoom,t=e.gesture;t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl&&t.$imageEl.transform("translate3d(0,
10,0) scale(1)"),t.$imageWrapEl&&t.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,e.currentScale=1,t.$slideEl=void 0,t.$imageEl=void 0,t.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,i,n,a,s=this.zoom,o=this.params.zoom,r=s.gesture,l=s.image;r.$slideEl||(this.params.virtual&&this.params.virtual.enabled&&this.virtual?r.$slideEl=this.$wrapperEl.children("."+this.params.slideActiveClass):r.$slideEl=this.slides.eq(this.activeIndex),r.$imageEl=r.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),r.$imageWrapEl=r.$imageEl.parent("."+o.containerClass)),r.$imageEl&&0!==r.$imageEl.length&&(r.$slideEl.addClass(""+o.zoomedSlideClass),l=void 0===l.touchesStart.x&&e?(t=("touchend"===e.type?e.changedTouches[0]:e).pageX,("touchend"===e.type?e.changedTouches[0]:e).pageY):(t=l.touchesStart.x,l.touchesStart.y),s.scale=r.$imageWrapEl.attr("data-swiper-zoom")||o.maxRatio,s.currentScale=r.$imageWrapEl.attr("data-swiper-zoom")||o.maxRatio,e?(o=r.$slideEl[0].offsetWidth,e=r.$slideEl[0].offsetHeight,t=r.$slideEl.offset().left+o/2-t,l=r.$slideEl.offset().top+e/2-l,n=r.$imageEl[0].offsetWidth,a=r.$imageEl[0].offsetHeight,n=n*s.scale,a=a*s.scale,n=-(o=Math.min(o/2-n/2,0)),a=-(e=Math.min(e/2-a/2,0)),n<(i=(i=t*s.scale)<o?o:i)&&(i=n),a<(n=(n=l*s.scale)<e?e:n)&&(n=a)):n=i=0,r.$imageWrapEl.transition(300).transform("translate3d("+i+"px, "+n+"px,0)"),r.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+s.scale+")"))},out:function(){var e=this.zoom,t=this.params.zoom,i=e.gesture;i.$slideEl||(this.params.virtual&&this.params.virtual.enabled&&this.virtual?i.$slideEl=this.$wrapperEl.children("."+this.params.slideActiveClass):i.$slideEl=this.slides.eq(this.activeIndex),i.$imageEl=i.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),i.$imageWrapEl=i.$imageEl.parent("."+t.containerClass)),i.$imageEl&&0!==i.$imageEl.length&&(e.scale=1,e.currentScale=1,i.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),i.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),i.$slideEl.removeClass(""+t.zoomedSlideClass),i.$slideEl=void 0)},toggleGestures:function(e){var t=this.zoom,i=t.slideSelector,n=t.passiveListener;this.$wrapperEl[e]("gesturestart",i,t.onGestureStart,n),this.$wrapperEl[e]("gesturechange",i,t.onGestureChange,n),this.$wrapperEl[e]("gestureend",i,t.onGestureEnd,n)},enableGestures:function(){this.zoom.gesturesEnabled||(this.zoom.gesturesEnabled=!0,this.zoom.toggleGestures("on"))},disableGestures:function(){this.zoom.gesturesEnabled&&(this.zoom.gesturesEnabled=!1,this.zoom.toggleGestures("off"))},enable:function(){var e,t,i,n=this.support,a=this.zoom;a.enabled||(a.enabled=!0,e=!("touchstart"!==this.touchEvents.start||!n.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1},t=!n.passiveListener||{passive:!1,capture:!0},i="."+this.params.slideClass,this.zoom.passiveListener=e,this.zoom.slideSelector=i,n.gestures?(this.$wrapperEl.on(this.touchEvents.start,this.zoom.enableGestures,e),this.$wrapperEl.on(this.touchEvents.end,this.zoom.disableGestures,e)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.on(this.touchEvents.start,i,a.onGestureStart,e),this.$wrapperEl.on(this.touchEvents.move,i,a.onGestureChange,t),this.$wrapperEl.on(this.touchEvents.end,i,a.onGestureEnd,e),this.touchEvents.cancel)&&this.$wrapperEl.on(this.touchEvents.cancel,i,a.onGestureEnd,e),this.$wrapperEl.on(this.touchEvents.move,"."+this.params.zoom.containerClass,a.onTouchMove,t))},disable:function(){var e,t,i,n,a=this.zoom;a.enabled&&(e=this.support,this.zoom.enabled=!1,t=!("touchstart"!==this.touchEvents.start||!e.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1},i=!e.passiveListener||{passive:!1,capture:!0},n="."+this.params.slideClass,e.gestures?(this.$wrapperEl.off(this.touchEvents.start,this.zoom.enableGestures,t),this.$wrapperEl.off(this.touchEvents.end,this.zoom.disableGestures,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.off(this.touchEvents.start,n,a.onGestureStart,t),this.$wrapperEl.off(this.touchEvents.move,n,a.onGestureChange,i),this.$wrapperEl.off(this.touchEvents.end,n,a.onGestureEnd,t),this.touchEvents.cancel)&&this.$wrapperEl.off(this.touchEvents.cancel,n,a.onGestureEnd,t),this.$wrapperEl.off(this.touchEvents.move,"."+this.params.zoom.containerClass,a.onTouchMove,i))}},K={loadInSlide:function(e,l){void 0===l&&(l=!0);var d,c=this,u=c.params.lazy;void 0!==e&&0!==c.slides.length&&(e=(d=c.virtual&&c.params.virtual.enabled?c.$wrapperEl.children("."+c.params.slideClass+'[data-swiper-slide-index="'+e+'"]'):c.slides.eq(e)).find("."+u.elementClass+":not(."+u.loadedClass+"):not(."+u.loadingClass+")"),!d.hasClass(u.elementClass)||d.hasClass(u.loadedClass)||d.hasClass(u.loadingClass)||e.push(d[0]),0!==e.length)&&e.each(function(e){var i=_(e),n=(i.addClass(u.loadingClass),i.attr("data-background")),a=i.attr("data-src"),s=i.attr("data-srcset"),o=i.attr("data-sizes"),r=i.parent("picture");c.loadImage(i[0],a||n,s,o,!1,function(){var e,t;null==c||!c||c&&!c.params||c.destroyed||(n?(i.css("background-image",'url("'+n+'")'),i.removeAttr("data-background")):(s&&(i.attr("srcset",s),i.removeAttr("data-srcset")),o&&(i.attr("sizes",o),i.removeAttr("data-sizes")),r.length&&r.children("source").each(function(e){e=_(e);e.attr("data-srcset")&&(e.attr("srcset",e.attr("data-srcset")),e.removeAttr("data-srcset"))}),a&&(i.attr("src",a),i.removeAttr("data-src"))),i.addClass(u.loadedClass).removeClass(u.loadingClass),d.find("."+u.preloaderClass).remove(),c.params.loop&&l&&(e=d.attr("data-swiper-slide-index"),d.hasClass(c.params.slideDuplicateClass)?(t=c.$wrapperEl.children('[data-swiper-slide-index="'+e+'"]:not(.'+c.params.slideDuplicateClass+")"),c.lazy.loadInSlide(t.index(),!1)):(t=c.$wrapperEl.children("."+c.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]'),c.lazy.loadInSlide(t.index(),!1))),c.emit("lazyImageReady",d[0],i[0]),c.params.autoHeight&&c.updateAutoHeight())}),c.emit("lazyImageLoad",d[0],i[0])})},load:function(){var t=this,i=t.$wrapperEl,n=t.params,a=t.slides,e=t.activeIndex,s=t.virtual&&n.virtual.enabled,o=n.lazy,r=n.slidesPerView;function l(e){if(s){if(i.children("."+n.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return 1}else if(a[e])return 1}function d(e){return s?_(e).attr("data-swiper-slide-index"):_(e).index()}if("auto"===r&&(r=0),t.lazy.initialImageLoaded||(t.lazy.initialImageLoaded=!0),t.params.watchSlidesVisibility)i.children("."+n.slideVisibleClass).each(function(e){e=s?_(e).attr("data-swiper-slide-index"):_(e).index();t.lazy.loadInSlide(e)});else if(1<r)for(var c=e;c<e+r;c+=1)l(c)&&t.lazy.loadInSlide(c);else t.lazy.loadInSlide(e);if(o.loadPrevNext)if(1<r||o.loadPrevNextAmount&&1<o.loadPrevNextAmount){for(var o=o.loadPrevNextAmount,u=r,h=Math.min(e+u+Math.max(o,u),a.length),u=
1Math.max(e-Math.max(u,o),0),p=e+r;p<h;p+=1)l(p)&&t.lazy.loadInSlide(p);for(var f=u;f<e;f+=1)l(f)&&t.lazy.loadInSlide(f)}else{o=i.children("."+n.slideNextClass),u=(0<o.length&&t.lazy.loadInSlide(d(o)),i.children("."+n.slidePrevClass));0<u.length&&t.lazy.loadInSlide(d(u))}}},$={LinearSpline:function(e,t){var i,n,a,s,o;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(o=((e,t)=>{for(n=-1,i=e.length;1<i-n;)e[a=i+n>>1]<=t?n=a:i=a;return i})(this.x,e),s=o-1,(e-this.x[s])*(this.y[o]-this.y[s])/(this.x[o]-this.x[s])+this.y[s]):0},this},getInterpolateFunction:function(e){this.controller.spline||(this.controller.spline=this.params.loop?new $.LinearSpline(this.slidesGrid,e.slidesGrid):new $.LinearSpline(this.snapGrid,e.snapGrid))},setTranslate:function(e,t){var i,n,a=this,s=a.controller.control,o=a.constructor;function r(e){var t=a.rtlTranslate?-a.translate:a.translate;"slide"===a.params.controller.by&&(a.controller.getInterpolateFunction(e),n=-a.controller.spline.interpolate(-t)),n&&"container"!==a.params.controller.by||(i=(e.maxTranslate()-e.minTranslate())/(a.maxTranslate()-a.minTranslate()),n=(t-a.minTranslate())*i+e.minTranslate()),a.params.controller.inverse&&(n=e.maxTranslate()-n),e.updateProgress(n),e.setTranslate(n,a),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(s))for(var l=0;l<s.length;l+=1)s[l]!==t&&s[l]instanceof o&&r(s[l]);else s instanceof o&&t!==s&&r(s)},setTransition:function(t,e){var i,n=this,a=n.constructor,s=n.controller.control;function o(e){e.setTransition(t,n),0!==t&&(e.transitionStart(),e.params.autoHeight&&T(function(){e.updateAutoHeight()}),e.$wrapperEl.transitionEnd(function(){s&&(e.params.loop&&"slide"===n.params.controller.by&&e.loopFix(),e.transitionEnd())}))}if(Array.isArray(s))for(i=0;i<s.length;i+=1)s[i]!==e&&s[i]instanceof a&&o(s[i]);else s instanceof a&&e!==s&&o(s)}},Z={getRandomNumber:function(e){return"x".repeat(e=void 0===e?16:e).replace(/x/g,function(){return Math.round(16*Math.random()).toString(16)})},makeElFocusable:function(e){return e.attr("tabIndex","0"),e},makeElNotFocusable:function(e){return e.attr("tabIndex","-1"),e},addElRole:function(e,t){return e.attr("role",t),e},addElRoleDescription:function(e,t){return e.attr("aria-role-description",t),e},addElControls:function(e,t){return e.attr("aria-controls",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},addElId:function(e,t){return e.attr("id",t),e},addElLive:function(e,t){return e.attr("aria-live",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(e){var t=this.params.a11y;13===e.keyCode&&(e=_(e.target),this.navigation&&this.navigation.$nextEl&&e.is(this.navigation.$nextEl)&&(this.isEnd&&!this.params.loop||this.slideNext(),this.isEnd?this.a11y.notify(t.lastSlideMessage):this.a11y.notify(t.nextSlideMessage)),this.navigation&&this.navigation.$prevEl&&e.is(this.navigation.$prevEl)&&(this.isBeginning&&!this.params.loop||this.slidePrev(),this.isBeginning?this.a11y.notify(t.firstSlideMessage):this.a11y.notify(t.prevSlideMessage)),this.pagination)&&e.is("."+this.params.pagination.bulletClass)&&e[0].click()},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){var e,t;!this.params.loop&&this.navigation&&(e=(t=this.navigation).$nextEl,(t=t.$prevEl)&&0<t.length&&(this.isBeginning?(this.a11y.disableEl(t),this.a11y.makeElNotFocusable(t)):(this.a11y.enableEl(t),this.a11y.makeElFocusable(t))),e)&&0<e.length&&(this.isEnd?(this.a11y.disableEl(e),this.a11y.makeElNotFocusable(e)):(this.a11y.enableEl(e),this.a11y.makeElFocusable(e)))},updatePagination:function(){var t=this,i=t.params.a11y;t.pagination&&t.params.pagination.clickable&&t.pagination.bullets&&t.pagination.bullets.length&&t.pagination.bullets.each(function(e){e=_(e);t.a11y.makeElFocusable(e),t.params.pagination.renderBullet||(t.a11y.addElRole(e,"button"),t.a11y.addElLabel(e,i.paginationBulletMessage.replace(/\{\{index\}\}/,e.index()+1)))})},init:function(){var t=this,e=t.params.a11y,i=(t.$el.append(t.a11y.liveRegion),t.$el);e.containerRoleDescriptionMessage&&t.a11y.addElRoleDescription(i,e.containerRoleDescriptionMessage),e.containerMessage&&t.a11y.addElLabel(i,e.containerMessage);var n,a,s,i=t.$wrapperEl,o=i.attr("id")||"swiper-wrapper-"+t.a11y.getRandomNumber(16);t.a11y.addElId(i,o),n=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite",t.a11y.addElLive(i,n),e.itemRoleDescriptionMessage&&t.a11y.addElRoleDescription(_(t.slides),e.itemRoleDescriptionMessage),t.a11y.addElRole(_(t.slides),"group"),t.slides.each(function(e){e=_(e);t.a11y.addElLabel(e,e.index()+1+" / "+t.slides.length)}),t.navigation&&t.navigation.$nextEl&&(a=t.navigation.$nextEl),t.navigation&&t.navigation.$prevEl&&(s=t.navigation.$prevEl),a&&a.length&&(t.a11y.makeElFocusable(a),"BUTTON"!==a[0].tagName&&(t.a11y.addElRole(a,"button"),a.on("keydown",t.a11y.onEnterKey)),t.a11y.addElLabel(a,e.nextSlideMessage),t.a11y.addElControls(a,o)),s&&s.length&&(t.a11y.makeElFocusable(s),"BUTTON"!==s[0].tagName&&(t.a11y.addElRole(s,"button"),s.on("keydown",t.a11y.onEnterKey)),t.a11y.addElLabel(s,e.prevSlideMessage),t.a11y.addElControls(s,o)),t.pagination&&t.params.pagination.clickable&&t.pagination.bullets&&t.pagination.bullets.length&&t.pagination.$el.on("key
1down","."+t.params.pagination.bulletClass,t.a11y.onEnterKey)},destroy:function(){var e,t;this.a11y.liveRegion&&0<this.a11y.liveRegion.length&&this.a11y.liveRegion.remove(),this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&e.off("keydown",this.a11y.onEnterKey),t&&t.off("keydown",this.a11y.onEnterKey),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.off("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)}},L={init:function(){var e,t=X();this.params.history&&(t.history&&t.history.pushState?((e=this.history).initialized=!0,e.paths=L.getPathValues(this.params.url),(e.paths.key||e.paths.value)&&(e.scrollToSlide(0,e.paths.value,this.params.runCallbacksOnInit),this.params.history.replaceState||t.addEventListener("popstate",this.history.setHistoryPopState))):(this.params.history.enabled=!1,this.params.hashNavigation.enabled=!0))},destroy:function(){var e=X();this.params.history.replaceState||e.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){this.history.paths=L.getPathValues(this.params.url),this.history.scrollToSlide(this.params.speed,this.history.paths.value,!1)},getPathValues:function(e){var t=X(),e=(e?new URL(e):t.location).pathname.slice(1).split("/").filter(function(e){return""!==e}),t=e.length;return{key:e[t-2],value:e[t-1]}},setHistory:function(e,t){var i,n=X();this.history.initialized&&this.params.history.enabled&&(i=this.params.url?new URL(this.params.url):n.location,t=this.slides.eq(t),t=L.slugify(t.attr("data-history")),i.pathname.includes(e)||(t=e+"/"+t),(i=n.history.state)&&i.value===t||(this.params.history.replaceState?n.history.replaceState({value:t},null,t):n.history.pushState({value:t},null,t)))},slugify:function(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,i){if(t)for(var n=0,a=this.slides.length;n<a;n+=1){var s=this.slides.eq(n);L.slugify(s.attr("data-history"))!==t||s.hasClass(this.params.slideDuplicateClass)||(s=s.index(),this.slideTo(s,e,i))}else this.slideTo(0,e,i)}},ee={onHashCange:function(){var e=v(),e=(this.emit("hashChange"),e.location.hash.replace("#",""));e!==this.slides.eq(this.activeIndex).attr("data-hash")&&void 0!==(e=this.$wrapperEl.children("."+this.params.slideClass+'[data-hash="'+e+'"]').index())&&this.slideTo(e)},setHash:function(){var e=X(),t=v();this.hashNavigation.initialized&&this.params.hashNavigation.enabled&&(this.params.hashNavigation.replaceState&&e.history&&e.history.replaceState?e.history.replaceState(null,null,"#"+this.slides.eq(this.activeIndex).attr("data-hash")||""):(e=(e=this.slides.eq(this.activeIndex)).attr("data-hash")||e.attr("data-history"),t.location.hash=e||""),this.emit("hashSet"))},init:function(){var e=v(),t=X();if(!(!this.params.hashNavigation.enabled||this.params.history&&this.params.history.enabled)){this.hashNavigation.initialized=!0;var i=e.location.hash.replace("#","");if(i)for(var n=0,a=this.slides.length;n<a;n+=1){var s=this.slides.eq(n);(s.attr("data-hash")||s.attr("data-history"))!==i||s.hasClass(this.params.slideDuplicateClass)||(s=s.index(),this.slideTo(s,0,this.params.runCallbacksOnInit,!0))}this.params.hashNavigation.watchState&&_(t).on("hashchange",this.hashNavigation.onHashCange)}},destroy:function(){var e=X();this.params.hashNavigation.watchState&&_(e).off("hashchange",this.hashNavigation.onHashCange)}},te={run:function(){var t=this,e=t.slides.eq(t.activeIndex),i=t.params.autoplay.delay;e.attr("data-swiper-autoplay")&&(i=e.attr("data-swiper-autoplay")||t.params.autoplay.delay),clearTimeout(t.autoplay.timeout),t.autoplay.timeout=T(function(){var e;t.params.autoplay.reverseDirection?t.params.loop?(t.loopFix(),e=t.slidePrev(t.params.speed,!0,!0),t.emit("autoplay")):t.isBeginning?t.params.autoplay.stopOnLastSlide?t.autoplay.stop():(e=t.slideTo(t.slides.length-1,t.params.speed,!0,!0),t.emit("autoplay")):(e=t.slidePrev(t.params.speed,!0,
1!0),t.emit("autoplay")):t.params.loop?(t.loopFix(),e=t.slideNext(t.params.speed,!0,!0),t.emit("autoplay")):t.isEnd?t.params.autoplay.stopOnLastSlide?t.autoplay.stop():(e=t.slideTo(0,t.params.speed,!0,!0),t.emit("autoplay")):(e=t.slideNext(t.params.speed,!0,!0),t.emit("autoplay")),(t.params.cssMode&&t.autoplay.running||!1===e)&&t.autoplay.run()},i)},start:function(){return void 0===this.autoplay.timeout&&!this.autoplay.running&&(this.autoplay.running=!0,this.emit("autoplayStart"),this.autoplay.run(),!0)},stop:function(){return!!this.autoplay.running&&void 0!==this.autoplay.timeout&&(this.autoplay.timeout&&(clearTimeout(this.autoplay.timeout),this.autoplay.timeout=void 0),this.autoplay.running=!1,this.emit("autoplayStop"),!0)},pause:function(e){!this.autoplay.running||this.autoplay.paused||(this.autoplay.timeout&&clearTimeout(this.autoplay.timeout),this.autoplay.paused=!0,0!==e&&this.params.autoplay.waitForTransition?(this.$wrapperEl[0].addEventListener("transitionend",this.autoplay.onTransitionEnd),this.$wrapperEl[0].addEventListener("webkitTransitionEnd",this.autoplay.onTransitionEnd)):(this.autoplay.paused=!1,this.autoplay.run()))},onVisibilityChange:function(){var e=v();"hidden"===e.visibilityState&&this.autoplay.running&&this.autoplay.pause(),"visible"===e.visibilityState&&this.autoplay.paused&&(this.autoplay.run(),this.autoplay.paused=!1)},onTransitionEnd:function(e){this&&!this.destroyed&&this.$wrapperEl&&e.target===this.$wrapperEl[0]&&(this.$wrapperEl[0].removeEventListener("transitionend",this.autoplay.onTransitionEnd),this.$wrapperEl[0].removeEventListener("webkitTransitionEnd",this.autoplay.onTransitionEnd),this.autoplay.paused=!1,this.autoplay.running?this.autoplay.run():this.autoplay.stop())}},ie={setTranslate:function(){for(var e=this.slides,t=0;t<e.length;t+=1){var i=this.slides.eq(t),n=-i[0].swiperSlideOffset,a=(this.params.virtualTranslate||(n-=this.translate),0),s=(this.isHorizontal()||(a=n,n=0),this.params.fadeEffect.crossFade?Math.max(1-Math.abs(i[0].progress),0):1+Math.min(Math.max(i[0].progress,-1),0));i.css({opacity:s}).transform("translate3d("+n+"px, "+a+"px, 0px)")}},setTransition:function(e){var i,n=this,t=n.slides,a=n.$wrapperEl;t.transition(e),n.params.virtualTranslate&&0!==e&&(i=!1,t.transitionEnd(function(){if(!i&&n&&!n.destroyed){i=!0,n.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],t=0;t<e.length;t+=1)a.trigger(e[t])}}))}},ne={setTranslate:function(){var e=this.$el,t=this.$wrapperEl,i=this.slides,n=this.width,a=this.height,s=this.rtlTranslate,o=this.size,r=this.browser,l=this.params.cubeEffect,d=this.isHorizontal(),c=this.virtual&&this.params.virtual.enabled,u=0;l.shadow&&(d?(0===(T=t.find(".swiper-cube-shadow")).length&&(T=_('<div class="swiper-cube-shadow"></div>'),t.append(T)),T.css({height:n+"px"})):0===(T=e.find(".swiper-cube-shadow")).length&&(T=_('<div class="swiper-cube-shadow"></div>'),e.append(T)));for(var h,p=0;p<i.length;p+=1){var f=i.eq(p),m=p,g=90*(m=c?parseInt(f.attr("data-swiper-slide-index"),10):m),v=Math.floor(g/360),y=(s&&(g=-g,v=Math.floor(-g/360)),Math.max(Math.min(f[0].progress,1),-1)),b=0,w=0,C=0,v=(m%4==0?(b=4*-v*o,C=0):(m-1)%4==0?(b=0,C=4*-v*o):(m-2)%4==0?(b=o+4*v*o,C=o):(m-3)%4==0&&(b=-o,C=3*o+4*o*v),s&&(b=-b),d||(w=b,b=0),"rotateX("+(d?0:-g)+"deg) rotateY("+(d?g:0)+"deg) translate3d("+b+"px, "+w+"px, "+C+"px)");y<=1&&-1<y&&(u=90*m+90*y,s)&&(u=90*-m-90*y),f.transform(v),l.slideShadows&&(g=d?f.find(".swiper-slide-shadow-left"):f.find(".swiper-slide-shadow-top"),b=d?f.find(".swiper-slide-shadow-right"):f.find(".swiper-slide-shadow-bottom"),0===g.length&&(g=_('<div class="swiper-slide-shadow-'+(d?"left":"top")+'"></div>'),f.append(g)),0===b.length&&(b=_('<div class="swiper-slide-shadow-'+(d?"right":"bottom")+'"></div>'),f.append(b)),g.length&&(g[0].style.opacity=Math.max(-y,0)),b.length)&&(b[0].style.opacity=Math.max(y,0))}t.css({"-webkit-transform-origin":"50% 50% -"+o/2+"px","-moz-transform-origin":"50% 50% -"+o/2+"px","-ms-transform-origin":"50% 50% -"+o/2+"px","transform-origin":"50% 50% -"+o/2+"px"}),l.shadow&&(d?T.transform("translate3d(0px, "+(n/2+l.shadowOffset)+"px, "+-n/2+"px) rotateX(90deg) rotateZ(0deg) scale("+l.shadowScale+")"):(e=Math.abs(u)-90*Math.floor(Math.abs(u)/90),n=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),e=l.shadowScale,n=l.shadowScale/n,h=l.shadowOffset,T.transform("scale3d("+e+", 1, "+n+") translate3d(0px, "+(a/2+h)+"px, "+-a/2/n+"px) rotateX(-90deg)")));var T=r.isSafari||r.isWebView?-o/2:0;t.transform("translate3d(0px,0,"+T+"px) rotateX("+(this.isHorizontal()?0:u)+"deg) rotateY("+(this.isHorizontal()?-u:0)+"deg)")},setTransition:function(e){var t=this.$el;this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)}},ae={setTranslate:function(){for(var e=this.slides,t=this.rtlTranslate,i=0;i<e.length;i+=1){var n,a,s=e.eq(i),o=s[0].progress,r=-180*(o=this.params.flipEffect.limitRotation?Math.max(Math.min(s[0].progress,
11),-1):o),l=0,d=-s[0].swiperSlideOffset,c=0;this.isHorizontal()?t&&(r=-r):(c=d,l=-r,r=d=0),s[0].style.zIndex=-Math.abs(Math.round(o))+e.length,this.params.flipEffect.slideShadows&&(n=this.isHorizontal()?s.find(".swiper-slide-shadow-left"):s.find(".swiper-slide-shadow-top"),a=this.isHorizontal()?s.find(".swiper-slide-shadow-right"):s.find(".swiper-slide-shadow-bottom"),0===n.length&&(n=_('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"left":"top")+'"></div>'),s.append(n)),0===a.length&&(a=_('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"right":"bottom")+'"></div>'),s.append(a)),n.length&&(n[0].style.opacity=Math.max(-o,0)),a.length)&&(a[0].style.opacity=Math.max(o,0)),s.transform("translate3d("+d+"px, "+c+"px, 0px) rotateX("+l+"deg) rotateY("+r+"deg)")}},setTransition:function(e){var i,n=this,t=n.slides,a=n.activeIndex,s=n.$wrapperEl;t.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),n.params.virtualTranslate&&0!==e&&(i=!1,t.eq(a).transitionEnd(function(){if(!i&&n&&!n.destroyed){i=!0,n.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],t=0;t<e.length;t+=1)s.trigger(e[t])}}))}},se={setTranslate:function(){for(var e=this.width,t=this.height,i=this.slides,n=this.slidesSizesGrid,a=this.params.coverflowEffect,s=this.isHorizontal(),o=this.translate,r=s?e/2-o:t/2-o,l=s?a.rotate:-a.rotate,d=a.depth,c=0,u=i.length;c<u;c+=1){var h=i.eq(c),p=n[c],f=(r-h[0].swiperSlideOffset-p/2)/p*a.modifier,m=s?l*f:0,g=s?0:l*f,v=-d*Math.abs(f),y=a.stretch,p=("string"==typeof y&&-1!==y.indexOf("%")&&(y=parseFloat(a.stretch)/100*p),s?0:y*f),y=s?y*f:0,b=1-(1-a.scale)*Math.abs(f),y=(Math.abs(y)<.001&&(y=0),Math.abs(p)<.001&&(p=0),Math.abs(v)<.001&&(v=0),Math.abs(m)<.001&&(m=0),"translate3d("+y+"px,"+p+"px,"+v+"px)  rotateX("+(g=Math.abs(g)<.001?0:g)+"deg) rotateY("+m+"deg) scale("+(b=Math.abs(b)<.001?0:b)+")");h.transform(y),h[0].style.zIndex=1-Math.abs(Math.round(f)),a.slideShadows&&(p=s?h.find(".swiper-slide-shadow-left"):h.find(".swiper-slide-shadow-top"),v=s?h.find(".swiper-slide-shadow-right"):h.find(".swiper-slide-shadow-bottom"),0===p.length&&(p=_('<div class="swiper-slide-shadow-'+(s?"left":"top")+'"></div>'),h.append(p)),0===v.length&&(v=_('<div class="swiper-slide-shadow-'+(s?"right":"bottom")+'"></div>'),h.append(v)),p.length&&(p[0].style.opacity=0<f?f:0),v.length)&&(v[0].style.opacity=0<-f?-f:0)}},setTransition:function(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},oe={init:function(){var e=this.params.thumbs;if(this.thumbs.initialized)return!1;this.thumbs.initialized=!0;var t=this.constructor;return e.swiper instanceof t?(this.thumbs.swiper=e.swiper,J(this.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),J(this.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):p(e.swiper)&&(this.thumbs.swiper=new t(J({},e.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),this.thumbs.swiperCreated=!0),this.thumbs.swiper.$el.addClass(this.params.thumbs.thumbsContainerClass),this.thumbs.swiper.on("tap",this.thumbs.onThumbClick),!0},onThumbClick:function(){var e,t,i,n=this.thumbs.swiper;n&&(e=n.clickedIndex,(i=n.clickedSlide)&&_(i).hasClass(this.params.thumbs.slideThumbActiveClass)||null==e||(i=n.params.loop?parseInt(_(n.clickedSlide).attr("data-swiper-slide-index"),10):e,this.params.loop&&(n=this.activeIndex,this.slides.eq(n).hasClass(this.params.slideDuplicateClass)&&(this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft,n=this.activeIndex),e=this.slides.eq(n).prevAll('[data-swiper-slide-index="'+i+'"]').eq(0).index(),t=this.slides.eq(n).nextAll('[data-swiper-slide-index="'+i+'"]').eq(0).index(),i=void 0===e||void 0!==t&&t-n<n-e?t:e),this.slideTo(i)))},update:function(e){var t=this.thumbs.swiper;if(t){var i,n,a,s="auto"===t.params.slidesPerView?t.slidesPerViewDynamic():t.params.slidesPerView,o=this.params.thumbs.autoScrollOffset,r=o&&!t.params.loop,l=((this.realIndex!==t.realIndex||r)&&(i=t.activeIndex,a=t.params.loop?(t.slides.eq(i).hasClass(t.params.slideDuplicateClass)&&(t.loopFix(),t._clientLeft=t.$wrapperEl[0].clientLeft,i=t.activeIndex),a=t.slides.eq(i).prevAll('[data-swiper-slide-index="'+this.realIndex+'"]').eq(0).index(),n=t.slides.eq(i).nextAll('[data-swiper-slide-index="'+this.realIndex+'"]').eq(0).index(),n=void 0===a?n:void 0===n?a:n-i==i-a?i:n-i<i-a?n:a,this.activeIndex>this.previousIndex?"next":"prev"):(n=this.realIndex)>this.previousIndex?"next":"prev",r&&(n+="next"===a?o:-1*o),t.visibleSlidesIndexes)&&t.visibleSlidesIndexes.indexOf(n)<0&&(t.params.centeredSlides?n=i<n?n-Math.floor(s/2)+1:n+Math.floor(s/2)-1:i<n&&(n=n-s+1),t.slideTo(n,e?0:void 0)),1),d=this.params.thumbs.slideThumbActiveClass;if(1<this.params.slidesPerView&&!this.params.centeredSlides&&(l=this.params.slidesPerView),this.params.thumbs.multipleActiveThumbs||(l=1),l=Math.floor(l),t.slides.removeClass(d),t.params.loop||t.params.virtual&&t.params.virtual.enabled)for(var c=0;c<l;c+=1)t.$wrapperEl.children('[data-swiper-slide-index="'+(this.realIndex+c)+'"]').addClass(d);else for(var u=0;u<l;u+=1)t.slides.eq(this.realIndex+u).addClass(d)}}};return k.use([P,M,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}},create:function(){f(this,{mousewheel:{enabled:!1,lastScrollTime:x(),lastEventBeforeSnap:void 0,recentWheelEvents:[],enable:I.enable,disable:I.disable,handle:I.handle,handleMouseEnter:I.handleMouseEnter,handleMouseLeave:I.handleMouseLeave,animateSlider:I.animateSlider,releaseScroll:I.releaseScroll}})},on:{init:function(e){!e.params.mousewheel.enabled&&e.params.cssMode&&e.mousewheel.disable(),e.params.mousewheel.enabled&&e.mousewheel.enable()},destroy:function(e){e.params.cssMode&&e.mousewheel.enable(),e.mousewheel.enabled&&e.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){f(this,{navigation:t({},W)})},on:{init:function(e){e.navigation.init(),e.navigation.update()},toEdge:function(e){e.navigation.update()},fromEdge:function(e){e.navigation.update()},destroy:function(e){e.navigation.destroy()},click:function(e,t){var i,n=e.navigation,a=n.$nextEl,n=n.$prevEl;!e.params.navigation.hideOnClick||_(t.target).is(n)||_(t.target).is(a)||(a?i=a.hasClass(e.params.navigation.hiddenClass):n&&(i=n.hasClass(e.params.navigation.hiddenClass)),!0===i?e.emit("navigationShow"):e.emit("navigationHide"),a&&a.toggleClass(e.params.navigation.hiddenClass),n&&n.toggleClass(e.params.navigation.hiddenClass))}}},{name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){f(this,{pagination:t({dynamicBulletIndex:0},U)})},on:{init:function(e){e.pagination.init(),e.pagination.render(),e.pagination.update()},activeIndexChange:function(e){!e.params.loop&&void 0!==e.snapIndex||e.pagination.update()},snapIndexChange:function(e){e.params.loop||e.pagination.update()},slidesLengthChange:function(e){e.params.loop&&(e.pagination.render(),e.pagination.update())},snapGridLengthChange:function(e){e.params.loop||(e.pagination.render(),e.pagination.update())},destroy:function(e){e.pagination.destroy()},click:function(e,t){e.params.pagination.el&&e.params.pagination.hideOnClick&&0<e.pagination.$el.length&&!_(t.target).hasClass(e.params.pagination.bulletClass)&&(!0===e.pagination.$el.hasClass(e.params.pagination.hiddenClass)?e.emit("paginationShow"):e.emit("paginationHide"),e.pagination.$el.toggleClass(e.params.pagination.hiddenClass))}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){f(this,{scrollbar:t({isTouched:!1,timeout:null,dragTimeout:null},V)})},on:{init:function(e){e.scrollbar.init(),e.scrollbar.updateSize(),e.scrollbar.setTranslate()},update:function(e){e.scrollbar.updateSize()},resize:function(e){e.scrollbar.updateSize()},observerUpdate:function(e){e.scrollbar.updateSize()},setTranslate:function(e){e.scrollbar.setTranslate()},setTransition:function(e,t){e.scrollbar.setTransition(t)},destroy:function(e){e.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){f(this,{parallax:t({},G)})},on:{beforeInit:function(e){e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},init:function(e){e.params.parallax.enabled&&e.parallax.setTranslate()},setTranslate:function(e){e.params.parallax.enabled&&e.parallax.setTranslate()},setTransition:function(e,t){e.params.parallax.enabled&&e.parallax.setTransition(t)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var n=this,a=(f(n,{zoom:t({enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}},O)}),1);Object.defineProperty(n.zoom,"scale",{get:function(){return a}
vendor: 4,710 bytes, line 1
1,set:function(e){var t,i;a!==e&&(t=n.zoom.gesture.$imageEl?n.zoom.gesture.$imageEl[0]:void 0,i=n.zoom.gesture.$slideEl?n.zoom.gesture.$slideEl[0]:void 0,n.emit("zoomChange",e,t,i)),a=e}})},on:{init:function(e){e.params.zoom.enabled&&e.zoom.enable()},destroy:function(e){e.zoom.disable()},touchStart:function(e,t){e.zoom.enabled&&e.zoom.onTouchStart(t)},touchEnd:function(e,t){e.zoom.enabled&&e.zoom.onTouchEnd(t)},doubleTap:function(e,t){e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&e.zoom.toggle(t)},transitionEnd:function(e){e.zoom.enabled&&e.params.zoom.enabled&&e.zoom.onTransitionEnd()},slideChange:function(e){e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&e.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){f(this,{lazy:t({initialImageLoaded:!1},K)})},on:{beforeInit:function(e){e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)},init:function(e){e.params.lazy.enabled&&!e.params.loop&&0===e.params.initialSlide&&e.lazy.load()},scroll:function(e){e.params.freeMode&&!e.params.freeModeSticky&&e.lazy.load()},resize:function(e){e.params.lazy.enabled&&e.lazy.load()},scrollbarDragMove:function(e){e.params.lazy.enabled&&e.lazy.load()},transitionStart:function(e){e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!e.lazy.initialImageLoaded)&&e.lazy.load()},transitionEnd:function(e){e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&e.lazy.load()},slideChange:function(e){e.params.lazy.enabled&&e.params.cssMode&&e.lazy.load()}}},{name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){f(this,{controller:t({control:this.params.controller.control},$)})},on:{update:function(e){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},resize:function(e){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},observerUpdate:function(e){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},setTranslate:function(e,t,i){e.controller.control&&e.controller.setTranslate(t,i)},setTransition:function(e,t,i){e.controller.control&&e.controller.setTransition(t,i)}}},{name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null}},create:function(){f(this,{a11y:t(t({},Z),{},{liveRegion:_('<span class="'+this.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')})})},on:{afterInit:function(e){e.params.a11y.enabled&&(e.a11y.init(),e.a11y.updateNavigation())},toEdge:function(e){e.params.a11y.enabled&&e.a11y.updateNavigation()},fromEdge:function(e){e.params.a11y.enabled&&e.a11y.updateNavigation()},paginationUpdate:function(e){e.params.a11y.enabled&&e.a11y.updatePagination()},destroy:function(e){e.params.a11y.enabled&&e.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){f(this,{history:t({},L)})},on:{init:function(e){e.params.history.enabled&&e.history.init()},destroy:function(e){e.params.history.enabled&&e.history.destroy()},transitionEnd:function(e){e.history.initialized&&e.history.setHistory(e.params.history.key,e.activeIndex)},slideChange:function(e){e.history.initialized&&e.params.cssMode&&e.history.setHistory(e.params.history.key,e.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){f(this,{hashNavigation:t({initialized:!1},ee)})},on:{init:function(e){e.params.hashNavigation.enabled&&e.hashNavigation.init()},destroy:function(e){e.params.hashNavigation.enabled&&e.hashNavigation.destroy()},transitionEnd:function(e){e.hashNavigation.initialized&&e.hashNavigation.setHash()},slideChange:function(e){e.hashNavigation.initialized&&e.params.cssMode&&e.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){f(this,{autoplay:t(t({},te),{},{running:!1,paused:!1})})},on:{init:function(e){e.params.autoplay.enabled&&(e.autoplay.start(),v().addEventListener("visibilitychange",e.auto
1play.onVisibilityChange))},beforeTransitionStart:function(e,t,i){e.autoplay.running&&(i||!e.params.autoplay.disableOnInteraction?e.autoplay.pause(t):e.autoplay.stop())},sliderFirstMove:function(e){e.autoplay.running&&(e.params.autoplay.disableOnInteraction?e.autoplay.stop():e.autoplay.pause())},touchEnd:function(e){e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&e.autoplay.run()},destroy:function(e){e.autoplay.running&&e.autoplay.stop(),v().removeEventListener("visibilitychange",e.autoplay.onVisibilityChange)}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){f(this,{fadeEffect:t({},ie)})},on:{beforeInit:function(e){var t;"fade"===e.params.effect&&(e.classNames.push(e.params.containerModifierClass+"fade"),J(e.params,t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0}),J(e.originalParams,t))},setTranslate:function(e){"fade"===e.params.effect&&e.fadeEffect.setTranslate()},setTransition:function(e,t){"fade"===e.params.effect&&e.fadeEffect.setTransition(t)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){f(this,{cubeEffect:t({},ne)})},on:{beforeInit:function(e){var t;"cube"===e.params.effect&&(e.classNames.push(e.params.containerModifierClass+"cube"),e.classNames.push(e.params.containerModifierClass+"3d"),J(e.params,t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0}),J(e.originalParams,t))},setTranslate:function(e){"cube"===e.params.effect&&e.cubeEffect.setTranslate()},setTransition:function(e,t){"cube"===e.params.effect&&e.cubeEffect.setTransition(t)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){f(this,{flipEffect:t({},ae)})},on:{beforeInit:function(e){var t;"flip"===e.params.effect&&(e.classNames.push(e.params.containerModifierClass+"flip"),e.classNames.push(e.params.containerModifierClass+"3d"),J(e.params,t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0}),J(e.originalParams,t))},setTranslate:function(e){"flip"===e.params.effect&&e.flipEffect.setTranslate()},setTransition:function(e,t){"flip"===e.params.effect&&e.flipEffect.setTransition(t)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}},create:function(){f(this,{coverflowEffect:t({},se)})},on:{beforeInit:function(e){"coverflow"===e.params.effect&&(e.classNames.push(e.params.containerModifierClass+"coverflow"),e.classNames.push(e.params.containerModifierClass+"3d"),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},setTranslate:function(e){"coverflow"===e.params.effect&&e.coverflowEffect.setTranslate()},setTransition:function(e,t){"coverflow"===e.params.effect&&e.coverflowEffect.setTransition(t)}}},{name:"thumbs",params:{thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){f(this,{thumbs:t({swiper:null,initialized:!1},oe)})},on:{beforeInit:function(e){var t=e.params.thumbs;t&&t.swiper&&(e.thumbs.init(),e.thumbs.update(!0))},slideChange:function(e){e.thumbs.swiper&&e.thumbs.update()},update:function(e){e.thumbs.swiper&&e.thumbs.update()},resize:function(e){e.thumbs.swiper&&e.thumbs.update()},observerUpdate:function(e){e.thumbs.swiper&&e.thumbs.update()},setTransition:function(e,t){e=e.thumbs.swiper;e&&e.setTransition(t)},beforeDestroy:function(e){var t=e.thumbs.swiper;t&&e.thumbs.swiperCreated&&t&&t.destroy()}}}]),k}),window.SEMICOLON_swiperInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){var t,e,i,n,a,s,o,r,l,d,c,u,h,p,f,m,g,v,y;return!$(this).hasClass("swiper_wrapper")||$(this).find(".swiper-slide").length<1||(e=(t=$(this).filter(".swiper_wrapper")).attr("data-direction")||"horizontal",i=t.attr("data-speed")||300,l=t.attr("data-autoplay"),d=t.attr("data-loop"),p=t.attr("data-start")||1,n=t.attr("data-effect")||"slide",u=t.attr("data-grab"),c=t.attr("data-parallax"),a=t.find(".slide-number-total"),s=t.find(".slide-number-current"),h=t.attr("data-video-autoplay"),o=t.attr("data-settings"),l=l?Number(l):999999999,d="true"==d,c="true"==c,u="false"!=u,h="false"!=h,p="random"===p?Math.floor(Math.random()*t.find(".swiper-slide:not(.swiper-slide-duplicate)").length):Number(p)-1,f=0<t.find(".swiper-pagination").length?(r=t.find(".swiper-pagination").get(0),!0):(r="",!1),m=t.find(".slider-arrow-right").get(0),g=t.find(".slider-arrow-left").get(0),v=t.find(".swiper-scrollbar").get(0),y=new Swiper(t.find(".swiper-parent").get(0),{direction:e,speed:Number(i),autoplay:{delay:l},loop:d,initialSlide:p,effect:n,parallax:c,slidesPerView:1,grabCursor:u,pagination:{el:r,clickable:f},navigation:{prevEl:g,nextEl:m},scrollbar:{el:v}
1,on:{init:function(e){SEMICOLON.slider.sliderDimensions(),t.find(".yt-bg-player").attr("data-autoplay","false").removeClass("customjs"),SEMICOLON.widget.youtubeBgVideo(),$(".swiper-slide-active [data-animate]").each(function(){var e,t=$(this),i=t.attr("data-delay"),n=0,n=i?Number(i)+750:750;t.hasClass("animated")||(t.addClass("not-animated"),e=t.attr("data-animate"),setTimeout(function(){t.removeClass("not-animated").addClass(e+" animated")},n))}),t.find("[data-animate]").each(function(){var e=$(this),t=e.attr("data-animate");if(e.parents(".swiper-slide").hasClass("swiper-slide-active"))return!0;e.removeClass("animated").removeClass(t).addClass("not-animated")}),SEMICOLON.slider.swiperSliderMenu()},transitionStart:function(e){0<s.length&&(1==d?s.html(Number(t.find(".swiper-slide.swiper-slide-active").attr("data-swiper-slide-index"))+1):s.html(y.activeIndex+1)),t.find("[data-animate]").each(function(){var e=$(this),t=e.attr("data-animate");if(e.parents(".swiper-slide").hasClass("swiper-slide-active"))return!0;e.removeClass("animated").removeClass(t).addClass("not-animated")}),SEMICOLON.slider.swiperSliderMenu()},transitionEnd:function(e){t.find(".swiper-slide").each(function(){var e=$
1(this);0<e.find("video").length&&1==h&&e.find("video").get(0).pause(),0<e.find(".yt-bg-player.mb_YTPlayer:not(.customjs)").length&&e.find(".yt-bg-player.mb_YTPlayer:not(.customjs)").YTPPause()}),t.find('.swiper-slide:not(".swiper-slide-active")').each(function(){var e=$(this);0<e.find("video").length&&0!=e.find("video").get(0).currentTime&&(e.find("video").get(0).currentTime=0),0<e.find(".yt-bg-player.mb_YTPlayer:not(.customjs)").length&&e.find(".yt-bg-player.mb_YTPlayer:not(.customjs)").YTPSeekTo(e.find(".yt-bg-player.mb_YTPlayer:not(.customjs)").attr("data-start"))}),0<t.find(".swiper-slide.swiper-slide-active").find("video").length&&1==h&&t.find(".swiper-slide.swiper-slide-active").find("video").get(0).play(),0<t.find(".swiper-slide.swiper-slide-active").find(".yt-bg-player.mb_YTPlayer:not(.customjs)").length&&1==h&&t.find(".swiper-slide.swiper-slide-active").find(".yt-bg-player.mb_YTPlayer:not(.customjs)").YTPPlay(),t.find(".swiper-slide.swiper-slide-active [data-animate]").each(function(){var e,t=$(this),i=t.attr("data-delay"),n=0,n=i?Number(i)+300:300;t.hasClass("animated")||(t.addClass("not-animated"),e=t.attr("data-animate"),setTimeout(function(){t.removeClass("not-animated").addClass(e+" animated")},n))})}}}),0<s.length&&(1==d?s.html(y.realIndex+1):s.html(y.activeIndex+1)),0<a.length&&a.html(t.find(".swiper-slide:not(.swiper-slide-duplicate)").length),void(o&&(o=Function("return "+o)(),Object.keys(o).forEach(function(e,t){y.params[e]=o[e],y.update()}))))})},(e=>{"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)})(function(h){h.ui=h.ui||{},h.ui.version="1.12.1";var n,t,e,a,i,s,o,r,l,d,c,u,p,f,m,g,v,y,b,w,C,T,_,x,S,z=0,k=Array.prototype.slice,E=(h.cleanData=(a=h.cleanData,function(e){for(var t,i,n=0;null!=(i=e[n]);n++)try{(t=h._data(i,"events"))&&t.remove&&h(i).triggerHandler("remove")}catch(e){}a(e)}),h.widget=function(e,i,t){var n,a,s,o={},r=e.split(".")[0],l=r+"-"+(e=e.split(".")[1]);return t||(t=i,i=h.Widget),h.isArray(t)&&(t=h.extend.apply(null,[{}].concat(t))),h.expr[":"][l.toLowerCase()]=function(e){return!!h.data(e,l)},h[r]=h[r]||{},n=h[r][e],a=h[r][e]=function(e,t){return this._createWidget?void(arguments.length&&this._createWidget(e,t)):new a(e,t)},h.extend(a,n,{version:t.version,_proto:h.extend({},t),_childConstructors:[]}),(s=new i).options=h.widget.extend({},s.options),h.each(t,function(t,n){return h.isFunction(n)?void(o[t]=function(){var e,t=this._super,i=this._superApply;return this._super=a,this._superApply=s,e=n.apply(this,arguments),this._super=t,this._superApply=i,e}):void(o[t]=n);function a(){return i.prototype[t].apply(this,arguments)}function s(e){return i.prototype[t].apply(this,e)}}),a.prototype=h.widget.extend(s,{widgetEventPrefix:n&&s.widgetEventPrefix||e},o,{constructor:a,namespace:r,widgetName:e,widgetFullName:l}),n?(h.each(n._childConstructors,function(e,t){var i=t.prototype;h.widget(i.namespace+"."+i.widgetName,a,t._proto)}),delete n._childConstructors):i._childConstructors.push(a),h.widget.bridge(e,a),a},h.widget.extend=function(e){for(var t,i,n=k.call(arguments,1),a=0,s=n.length;a<s;a++)for(t in n[a])i=n[a][t],n[a].hasOwnProperty(t)&&void 0!==i&&(e[t]=h.isPlainObject(i)?h.isPlainObject(e[t])?h.widget.extend({},e[t],i):h.widget.extend({},i):i);return e},h.widget.bridge=function(s,t){var o=t.prototype.widgetFullName||s;h.fn[s]=function(i){var e="string"==typeof i,n=k.call(arguments,1),a=this;return e?this.length||"instance"!==i?this.each(function(){var e,t=h.data(this,o);return"instance"===i?(a=t,!1):t?h.isFunction(t[i])&&"_"!==i.charAt(0)?(e=t[i].apply(t,n))!==t&&void 0!==e?(a=e&&e.jquery?a.pushStack(e.get()):e,!1):void 0:h.error("no such method '"+i+"' for "+s+" widget instance"):h.error("cannot call methods on "+s+" prior to initialization; attempted to call method '"+i+"'")}):a=void 0:(n.length&&(i=h.widget.extend.apply(null,[i].concat(n))),this.each(function(){var e=h.data(this,o);e?(e.option(i||{}),e._init&&e._init()):h.data(this,o,new t(i,this))})),a}},h.Widget=function(){},h.Widget._childConstructors=[],h.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,t){t=h(t||this.defaultElement||this)[0],this.element=h(t),this.uuid=z++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=h(),this.hoverable=h(),this.focusable=h(),this.classesElementLookup={},t!==this&&(h.data(t,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===t&&this.destroy()}}),this.document=h(t.style?t.ownerDocument:t.document||t),this.window=h(this.document[0].defaultView||this.document[0].parentWindow)),this.options=h.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:h.noop,_create:h.noop,_init:h.noop,destroy:function(){var i=this;this._destroy(),h.each(this.classesElementLookup,function(e,t){i._removeClass(t,e)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:h.noop,widget:function(){return this.element},option:function(e,t){var i,n,a,s=e;if(0===arguments.length)return h.widget.extend({},this.options);if("string"==typeof e)if(s={}
vendor: 4,560 bytes, line 1
1,e=(i=e.split(".")).shift(),i.length){for(n=s[e]=h.widget.extend({},this.options[e]),a=0;i.length-1>a;a++)n[i[a]]=n[i[a]]||{},n=n[i[a]];if(e=i.pop(),1===arguments.length)return void 0===n[e]?null:n[e];n[e]=t}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];s[e]=t}return this._setOptions(s),this},_setOptions:function(e){for(var t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return"classes"===e&&this._setOptionClasses(t),this.options[e]=t,"disabled"===e&&this._setOptionDisabled(t),this},_setOptionClasses:function(e){var t,i,n;for(t in e)n=this.classesElementLookup[t],e[t]!==this.options.classes[t]&&n&&n.length&&(i=h(n.get()),this._removeClass(n,t),i.addClass(this._classes({element:i,keys:t,classes:e,add:!0})))},_setOptionDisabled:function(e){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!e),e&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(a){function e(e,t){for(var i,n=0;e.length>n;n++)i=o.classesElementLookup[e[n]]||h(),i=a.add?h(h.unique(i.get().concat(a.element.get()))):h(i.not(a.element).get()),o.classesElementLookup[e[n]]=i,s.push(e[n]),t&&a.classes[e[n]]&&s.push(a.classes[e[n]])}var s=[],o=this;return a=h.extend({element:this.element,classes:this.options.classes||{}},a),this._on(a.element,{remove:"_untrackClassesElement"}),a.keys&&e(a.keys.match(/\S+/g)||[],!0),a.extra&&e(a.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(i){var n=this;h.each(n.classesElementLookup,function(e,t){-1!==h.inArray(i.target,t)&&(n.classesElementLookup[e]=h(t.not(i.target).get()))})},_removeClass:function(e,t,i){return this._toggleClass(e,t,i,!1)},_addClass:function(e,t,i){return this._toggleClass(e,t,i,!0)},_toggleClass:function(e,t,i,n){var a="string"==typeof e||null===e,t={extra:a?t:i,keys:a?e:t,element:a?this.element:e,add:n="boolean"==typeof n?n:i};return t.element.toggleClass(this._classes(t),n),this},_on:function(a,s,e){var o,r=this;"boolean"!=typeof a&&(e=s,s=a,a=!1),e?(s=o=h(s),this.bindings=this.bindings.add(s)):(e=s,s=this.element,o=this.widget()),h.each(e,function(e,t){function i(){return a||!0!==r.options.disabled&&!h(this).hasClass("ui-state-disabled")?("string"==typeof t?r[t]:t).apply(r,arguments):void 0}"string"!=typeof t&&(i.guid=t.guid=t.guid||i.guid||h.guid++);var e=e.match(/^([\w:-]*)\s*(.*)$/),n=e[1]+r.eventNamespace,e=e[2];e?o.on(n,e,i):s.on(n,i)})},_off:function(e,t){t=(t||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(t).off(t),this.bindings=h(this.bindings.not(e).get()),this.focusable=h(this.focusable.not(e).get()),this.hoverable=h(this.hoverable.not(e).get())},_delay:function(e,t){var i=this;return setTimeout(function(){return("string"==typeof e?i[e]:e).apply(i,arguments)},t||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(h(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(h(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(h(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(h(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,t,i){var n,a,s=this.options[e];if(i=i||{},(t=h.Event(t)).type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),t.target=this.element[0],a=t.originalEvent)for(n in a)n in t||(t[n]=a[n]);return this.element.trigger(t,i),!(h.isFunction(s)&&!1===s.apply(this.element[0],[t].concat(i))||t.isDefaultPrevented())}},h.each({show:"fadeIn",hide:"fadeOut"},function(s,o){h.Widget.prototype["_"+s]=function(t,e,i){var n=(e="string"==typeof e?{effect:e}:e)?!0!==e&&"number"!=typeof e&&e.effect||o:s,a=!h.isEmptyObject(e="number"==typeof(e=e||{})?{duration:e}:e);e.complete=i,e.delay&&t.delay(e.delay),a&&h.effects&&h.effects.effect[n]?t[s](e):n!==s&&t[n]?t[n](e.duration,e.easing,i):t.queue(function(e){h(this)[s](),i&&i.call(t[0]),e()})}}),h.widget,h.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},h.fn.extend({uniqueId:(e=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++e)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id
vendor: 28,971 bytes, line 1
1)&&h(this).removeAttr("id")})}}),h.ui.escapeSelector=(t=/([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g,function(e){return e.replace(t,"\\$1")}),h.ui.safeActiveElement=function(t){var i;try{i=t.activeElement}catch(e){i=t.body}return i=(i=i||t.body).nodeName?i:t.body},h.widget("ui.tabs",{version:"1.12.1",delay:300,options:{active:null,classes:{"ui-tabs":"ui-corner-all","ui-tabs-nav":"ui-corner-all","ui-tabs-panel":"ui-corner-bottom","ui-tabs-tab":"ui-corner-top"},collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:(n=/#.*$/,function(e){var t=e.href.replace(n,""),i=location.href.replace(n,"");try{t=decodeURIComponent(t)}catch(e){}try{i=decodeURIComponent(i)}catch(e){}return 1<e.hash.length&&t===i}),_create:function(){var t=this,e=this.options;this.running=!1,this._addClass("ui-tabs","ui-widget ui-widget-content"),this._toggleClass("ui-tabs-collapsible",null,e.collapsible),this._processTabs(),e.active=this._initialActive(),h.isArray(e.disabled)&&(e.disabled=h.unique(e.disabled.concat(h.map(this.tabs.filter(".ui-state-disabled"),function(e){return t.tabs.index(e)}))).sort()),this.active=!1!==this.options.active&&this.anchors.length?this._findActive(e.active):h(),this._refresh(),this.active.length&&this.load(e.active)},_initialActive:function(){var i=this.options.active,e=this.options.collapsible,n=location.hash.substring(1);return!1!==(i=null===i&&(n&&this.tabs.each(function(e,t){return h(t).attr("aria-controls")===n?(i=e,!1):void 0}),null===(i=null===i?this.tabs.index(this.tabs.filter(".ui-tabs-active")):i)||-1===i)?!!this.tabs.length&&0:i)&&-1===(i=this.tabs.index(this.tabs.eq(i)))&&(i=!e&&0),i=!e&&!1===i&&this.anchors.length?0:i},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):h()}},_tabKeydown:function(e){var t=h(h.ui.safeActiveElement(this.document[0])).closest("li"),i=this.tabs.index(t),n=!0;if(!this._handlePageNav(e)){switch(e.keyCode){case h.ui.keyCode.RIGHT:case h.ui.keyCode.DOWN:i++;break;case h.ui.keyCode.UP:case h.ui.keyCode.LEFT:n=!1,i--;break;case h.ui.keyCode.END:i=this.anchors.length-1;break;case h.ui.keyCode.HOME:i=0;break;case h.ui.keyCode.SPACE:return e.preventDefault(),clearTimeout(this.activating),void this._activate(i);case h.ui.keyCode.ENTER:return e.preventDefault(),clearTimeout(this.activating),void this._activate(i!==this.options.active&&i);default:return}e.preventDefault(),clearTimeout(this.activating),i=this._focusNextTab(i,n),e.ctrlKey||e.metaKey||(t.attr("aria-selected","false"),this.tabs.eq(i).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",i)},this.delay))}},_panelKeydown:function(e){this._handlePageNav(e)||e.ctrlKey&&e.keyCode===h.ui.keyCode.UP&&(e.preventDefault(),this.active.trigger("focus"))},_handlePageNav:function(e){return e.altKey&&e.keyCode===h.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):e.altKey&&e.keyCode===h.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(e,t){for(var i=this.tabs.length-1;-1!==h.inArray(e=(e=i<e?0:e)<0?i:e,this.options.disabled);)e=t?e+1:e-1;return e},_focusNextTab:function(e,t){return e=this._findNextTab(e,t),this.tabs.eq(e).trigger("focus"),e},_setOption:function(e,t){return"active"===e?void this._activate(t):(this._super(e,t),"collapsible"===e&&(this._toggleClass("ui-tabs-collapsible",null,t),t||!1!==this.options.active||this._activate(0)),"event"===e&&this._setupEvents(t),void("heightStyle"===e&&this._setupHeightStyle(t)))},_sanitizeSelector:function(e){return e?e.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var e=this.options,t=this.tablist.children(":has(a[href])");e.disabled=h.map(t.filter(".ui-state-disabled"),function(e){return t.index(e)}),this._processTabs(),!1!==e.active&&this.anchors.length?this.active.length&&!h.contains(this.tablist[0],this.active[0])?this.tabs.length===e.disabled.length?(e.active=!1,this.active=h()):this._activate(this._findNextTab(Math.max(0,e.active-1),!1)):e.active=this.tabs.index(this.active):(e.active=!1,this.active=h()),this._refresh()},_refresh:function(){this._setOptionDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"}),this.active.length?(this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}),this._addClass(this.active,"ui-tabs-active","ui-state-active"),this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var l=this,e=this.tabs,t=this.anchors,i=this.panels;this.tablist=this._getList().attr("role","tablist"),this._addClass(this.tablist,"ui-tabs-nav","ui-helper-reset ui-helper-clearfix ui-widget-header"),this.tablist.on("mousedown"+this.eventNamespace,"> li",function(e){h(this).is(".ui-state-disabled")&&e.preventDefault()}).on("focus"+this.eventNamespace,".ui-tabs-anchor",function(){h(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this.tabs=this.tablist.find("> li:has(a[href])").attr({role:"tab",tabIndex:-1}),this._addClass(this.tabs,"ui-tabs-tab","ui-state-default"),this.anchors=this.tabs.map(function(){return h("a",this)[0]}).attr({role:"presentation",tabIndex:-1}),this._addClass(this.anchors,"ui-tabs-anchor"),this.panels=h(),this.anchors.each(function(e,t){var i,n,a,s=h(t).uniqueId().attr("id"),o=h(t).closest("li"),r=o.attr("aria-controls");l._isLocal(t)?(a=(i=t.hash).substring(1),n=l.element.find(l._sanitizeSelector(i))):(a=o.attr("aria-controls")||h({}).uniqueId()[0].id,(n=l.element.find(i="#"+a)).length||(n=l._createPanel(a)).insertAfter(l.panels[e-1]||l.tablist),n.attr("aria-live","polite")),n.length&&(l.panels=l.panels.add(n)),r&&o.data("ui-tabs-aria-controls",r),o.attr({"aria-controls":a,"aria-labelledby":s}),n.attr("aria-labelledby",s)}),this.panels.attr("role","tabpanel"),this._addClass(this.panels,"ui-tabs-panel","ui-widget-content"),e&&(this._off(e.not(this.tabs)),this._off(t.not(this.anchors)),this._off(i.not(this.panels)))},_getList:function(){return this.tablist||this.element.find("ol, ul").eq(0)},_createPanel:function(e){return h("<div>").attr("id",e).data("ui-tabs-destroy",!0)},_setOptionDisabled:function(e){var t,i;for(h.isArray(e)&&(e.length?e.length===this.anchors.length&&(e=!0):e=!1),i=0;t=this.tabs[i];i++)t=h(t),!0===e||-1!==h.inArray(i,e)?(t.attr("aria-disabled","true"),this._addClass(t,null,"ui-state-disabled")):(t.removeAttr("aria-disabled"),this._removeClass(t,null,"ui-state-disabled"));this.options.disabled=e,this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!0===e)},_setupEvents:function(e){var i={};e&&h.each(e.split(" "),function(e,t){i[t]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(!0,this.anchors,{click:function(e){e.preventDefault()}}),this._on(this.anchors,i),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(e){var i,t=this.element.parent();"fill"===e?(i=t.height(),i-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var e=h(this),t=e.css("position");"absolute"!==t&&"fixed"!==t&&(i-=e.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){i-=h(this).outerHeight(!0)}),this.panels.each(function(){h(this).height(Math.max(0,i-h(this).innerHeight()+h(this).height()))}).css("overflow","auto")):"auto"===e&&(i=0,this.panels.each(function(){i=Math.max(i,h(this).height("").height())}).height(i))},_eventHandler:function(e){var t=this.options,i=this.active,n=h(e.currentTarget).closest("li"),a=n[0]===i[0],s=a&&t.collapsible,o=s?h():this._getPanelForTab(n),r=i.length?this._getPanelForTab(i):h(),i={oldTab:i,oldPanel:r,newTab:s?h():n,newPanel:o};e.preventDefault(),n.hasClass("ui-state-disabled")||n.hasClass("ui-tabs-loading")||this.running||a&&!t.collapsible||!1===this._trigger("beforeActivate",e,i)||(t.active=!s&&this.tabs.index(n),this.active=a?h():n,this.xhr&&this.xhr.abort(),r.length||o.length||h.error("jQuery UI Tabs: Mismatching fragment identifier."),o.length&&this.load(this.tabs.index(n),e),this._toggle(e,i))},_toggle:function(e,t){function i(){a.running=!1,a._trigger("activate",e,t)}function n(){a._addClass(t.newTab.closest("li"),"ui-tabs-active","ui-state-active"),s.length&&a.options.show?a._show(s,a.options.show,i):(s.show(),i())}var a=this,s=t.newPanel,o=t.oldPanel;this.running=!0,o.length&&this.options.hide?this._hide(o,this.options.hide,function(){a._removeClass(t.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),n()}):(this._removeClass(t.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),o.hide(),n()),o.attr("aria-hidden","true"),t.oldTab.attr({"aria-selected":"false","aria-expanded":"false"}),s.length&&o.length?t.oldTab.attr("tabIndex",-1):s.length&&this.tabs.filter(function(){return 0===h(this).attr("tabIndex")}).attr("tabIndex",-1),s.attr("aria-hidden","false"),t.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(e){var e=this._findActive(e);e[0]!==this.active[0]&&(e=(e=e.length?e:this.active).find(".ui-tabs-anchor")[0],this._eventHandler({target:e,currentTarget:e,preventDefault:h.noop}))},_findActive:function(e){return!1===e?h():this.tabs.eq(e)},_getIndex:function(e){return e="string"==typeof e?this.anchors.index(this.anchors.filter("[href$='"+h.ui.escapeSelector(e)+"']")):e},_destroy:function(){this.xhr&&this.xhr.abort(),this.tablist.removeAttr("role").off(this.eventNamespace),this.anchors.removeAttr("role tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){h.data(this,"ui-tabs-destroy")?h(this).remove():h(this).removeAttr("role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")}),this.tabs.each(function(){var e=h(this),t=e.data("ui-tabs-aria-controls");t?e.attr("aria-controls",t).removeData("ui-tabs-aria-controls"):e.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(i){var e=this.options.disabled;!1!==e&&(e=void 0!==i&&(i=this._getIndex(i),h.isArray(e)?h.map(e,function(e){return e!==i?e:null}):h.map(this.tabs,function(e,t){return t!==i?t:null})),this._setOptionDisabled(e))},disable:function(e){var t=this.options.disabled;if(!0!==t){if(void 0===e)t=!0;else{if(e=this._getIndex(e),-1!==h.inArray(e,t))return;t=h.isArray(t)?h.merge([e],t).sort():[e]}this._setOptionDisabled(t)}},load:function(e,n){e=this._getIndex(e);function a(e,t){"abort"===t&&s.panels.stop(!1,!0),s._removeClass(i,"ui-tabs-loading"),o.removeAttr("aria-busy"),e===s.xhr&&delete s.xhr}var s=this,i=this.tabs.eq(e),e=i.find(".ui-tabs-anchor"),o=this._getPanelForTab(i),r={tab:i,panel:o};this._isLocal(e[0])||(this.xhr=h.ajax(this._ajaxSettings(e,n,r)),this.xhr&&"canceled"!==this.xhr.statusText&&(this._addClass(i,"ui-tabs-loading"),o.attr("aria-busy","true"),this.xhr.done(function(e,t,i){setTimeout(function(){o.html(e),s._trigger("load",n,r),a(i,t)},1)}).fail(function(e,t){setTimeout(function(){a(e,t)},1)})))},_ajaxSettings:function(e,i,n){var a=this;return{url:e.attr("href").replace(/#.*$/,""),beforeSend:function(e,t){return a._trigger("beforeLoad",i,h.extend({jqXHR:e,ajaxSettings:t},n))}}},_getPanelForTab:function(e){e=h(e).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+e))}}),!1!==h.uiBackCompat&&h.widget("ui.tabs",h.ui.tabs,{_processTabs:function(){this._superApply(arguments),this._addClass(this.tabs,"ui-tab")}}),h.ui.tabs,"ui-effects-"),P="ui-effects-style",M="ui-effects-animated",I=h;function O(e,t,i,n){return e={effect:e=h.isPlainObject(e)?(t=e).effect:e},h.isFunction(t=null==t?{}:t)&&(n=t,i=null,t={}),"number"!=typeof t&&!h.fx.speeds[t]||(n=i,i=t,t={}),h.isFunction(i)&&(n=i,i=null),t&&h.extend(e,t),i=i||t.duration,e.duration=h.fx.off?0:"number"==typeof i?i:i in h.fx.speeds?h.fx.speeds[i]:h.fx.speeds._default,e.complete=n||t.complete,e}function $(e){return!e||"number"==typeof e||h.fx.speeds[e]||"string"==typeof e&&!h.effects.effect[e]||h.isFunction(e)||"object"==typeof e&&!e.effect}function L(e,t){var i=t.outerWidth(),t=t.outerHeight(),e=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/.exec(e)||["",0,i,t,0];return{top:parseFloat(e[1])||0,right:"auto"===e[2]?i:parseFloat(e[2]),bottom:"auto"===e[3]?t:parseFloat(e[3]),left:parseFloat(e[4])||0}}function N(e){var t,i,n=e.ownerDocument.defaultView?e.ownerDocument.defaultView.getComputedStyle(e,null):e.currentStyle,a={};if(n&&n.length&&n[0]&&n[n[0]])for(i=n.length;i--;)"string"==typeof n[t=n[i]]&&(a[h.camelCase(t)]=n[t]);else for(t in n)"string"==typeof n[t]&&(a[t]=n[t]);return a}function j(e,t,i){var n=T[t.type]||{};return null==e?i||!t.def?null:t.def:(e=n.floor?~~e:parseFloat(e),isNaN(e)?t.def:n.mod?(e+n.mod)%n.mod:e<0?0:e>n.max?n.max:e)}function A(n){var a=w(),s=a._rgba=[];return n=n.toLowerCase(),S(b,function(e,t){var i=t.re.exec(n),i=i&&t.parse(i),t=t.space||"rgba";return i?(i=a[t](i),a[C[t].cache]=i[C[t].cache],s=a._rgba=i._rgba,!1):g}),s.length?("0,0,0,0"===s.join()&&m.extend(s,v.transparent),a):v[n]}function D(e,t,i){return 6*(i=(i+1)%1)<1?e+6*(t-e)*i:2*i<1?t:3*i<2?e+6*(t-e)*(2/3-i):e}h.effects={effect:{}},y=/^([\-+])=\s*(\d+\.?\d*)/,b=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[2.55*e[1],2.55*e[2],2.55*e[3],e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],w=(m=I).Color=function(e,t,i,n){return new m.Color.fn.parse(e,t,i,n)},C={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},T={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},_=w.support={},x=m("<p>")[0],S=m.each,x.style.cssText="background-color:rgba(1,1,1,.5)",_.rgba=-1<x.style.backgroundColor.indexOf("rgba"),S(C,function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}}),(w.fn=m.extend(w.prototype,{parse:function(a,e,t,i){if(a===g)return this._rgba=[null,null,null,null],this;(a.jquery||a.nodeType)&&(a=m(a).css(e),e=g);var s=this,n=m.type(a),o=this._rgba=[];return e!==g&&(a=[a,e,t,i],n="array"),"string"===n?this.parse(A(a)||v._default):"array"===n?(S(C.rgba.props,function(e,t){o[t.idx]=j(a[t.idx],t)}),this):"object"===n?(a instanceof w?S(C,function(e,t){a[t.cache]&&(s[t.cache]=a[t.cache].slice())}):S(C,function(e,i){var n=i.cache;S(i.props,function(e,t){if(!s[n]&&i.to){if("alpha"===e||null==a[e])return;s[n]=i.to(s._rgba)}s[n][t.idx]=j(a[e],t,!0)}),s[n]&&m.inArray(null,s[n].slice(0,3))<0&&(s[n][3]=1,i.from)&&(s._rgba=i.from(s[n]))}),this):g},is:function(e){var a=w(e),s=!0,o=this;return S(C,function(e,t){var i,n=a[t.cache];return n&&(i=o[t.cache]||t.to&&t.to(o._rgba)||[],S(t.props,function(e,t){return null!=n[t.idx]?s=n[t.idx]===i[t.idx]:g})),s}),s},_space:function(){var i=[],n=this;return S(C,function(e,t){n[t.cache]&&i.push(e)}),i.pop()},transition:function(e,o){var e=(d=w(e))._space(),t=C[e],i=0===this.alpha()?w("transparent"):this,r=i[t.cache]||t.to(i._rgba),l=r.slice(),d=d[t.cache];return S(t.props,function(e,t){var i=t.idx,n=r[i],a=d[i],s=T[t.type]||{};null!==a&&(null===n?l[i]=a:(s.mod&&(a-n>s.mod/2?n+=s.mod:n-a>s.mod/2&&(n-=s.mod)),l[i]=j((a-n)*o+n,t)))}),this[e](l)},blend:function(e){var t,i,n;return 1===this._rgba[3]?this:(t=this._rgba.slice(),i=t.pop(),n=w(e)._rgba,w(m.map(t,function(e,t){return(1-i)*n[t]+i*e})))},toRgbaString:function(){var e="rgba(",t=m.map(this._rgba,function(e,t){return null==e?2<t?1:0:e});return 1===t[3]&&(t.pop(),e="rgb("),e+t.join()+")"},toHslaString:function(){var e="hsla(",t=m.map(this.hsla(),function(e,t){return null==e&&(e=2<t?1:0),e=t&&t<3?Math.round(100*e)+"%":e});return 1===t[3]&&(t.pop(),e="hsl("),e+t.join()+")"},toHexString:function(e){var t=this._rgba.slice(),i=t.pop();return e&&t.push(~~(255*i)),"#"+m.map(t,function(e){return 1===(e=(e||0).toString(16)).length?"0"+e:e}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}})).parse.prototype=w.fn,C.hsla.to=function(e){var t,i,n,a,s,o,r,l;return null==e[0]||null==e[1]||null==e[2]?[null,null,null,e[3]]:(t=e[0]/255,i=e[1]/255,n=e[2]/255,e=e[3],r=.5*(l=(a=Math.max(t,i,n))+(s=Math.min(t,i,n))),l=0==(o=a-s)?0:r<=.5?o/l:o/(2-l),[Math.round(s===a?0:t===a?60*(i-n)/o+360:i===a?60*(n-t)/o+120:60*(t-i)/o+240)%360,l,r,null==e?1:e])},C.hsla.from=function(e){var t,i,n;return null==e[0]||null==e[1]||null==e[2]?[null,null,null,e[3]]:(t=e[0]/360,n=e[1],i=e[3],n=2*(e=e[2])-(e=e<=.5?e*(1+n):e+n-e*n),[Math.round(255*D(n,e,t+1/3)),Math.round(255*D(n,e,t)),Math.round(255*D(n,e,t-1/3)),i])},S(C,function(r,e){var t=e.props,s=e.cache,o=e.to,l=e.from;w.fn[r]=function(e){var i,n,a;return o&&!this[s]&&(this[s]=o(this._rgba)),e===g?this[s].slice():(i=m.type(e),n="array"===i||"object"===i?e:arguments,a=this[s].slice(),S(t,function(e,t){e=n["object"===i?e:t.idx];null==e&&(e=a[t.idx]),a[t.idx]=j(e,t)}),l?((e=w(l(a)))[s]=a,e):w(a))},S(t,function(s,o){w.fn[s]||(w.fn[s]=function(e){var t=m.type(e),i="alpha"===s?this._hsla?"hsla":"rgba":r,n=this[i](),a=n[o.idx];return"undefined"===t?a:("function"===t&&(e=e.call(this,a),t=m.type(e)),null==e&&o.empty?this:("string"===t&&(t=y.exec(e))&&(e=a+parseFloat(t[2])*("+"===t[1]?1:-1)),n[o.idx]=e,this[i](n)))})})}),(w.hook=function(e){e=e.split(" ");S(e,function(e,s){m.cssHooks[s]={set:function(e,t){var i,n,a="";if("transparent"!==t&&("string"!==m.type(t)||(i=A(t)))){if(t=w(i||t),!_.rgba&&1!==t._rgba[3]){for(n="backgroundColor"===s?e.parentNode:e;(""===a||"transparent"===a)&&n&&n.style;)try{a=m.css(n,"backgroundColor"),n=n.parentNode}catch(e){}t=t.blend(a&&"transparent"!==a?a:"_default")}t=t.toRgbaString()}try{e.style[s]=t}catch(e){}}},m.fx.step[s]=function(e){e.colorInit||(e.start=w(e.elem,s),e.end=w(e.end),e.colorInit=!0),m.cssHooks[s].set(e.elem,e.start.transition(e.end,e.pos))}})})("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"),m.cssHooks.borderColor={expand:function(i){var n={};return S(["Top","Right","Bottom","Left"],function(e,t){n["border"+t+"Color"]=i}),n}},v=m.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"},p=["add","remove","toggle"],f={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1},h.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(e,t){h.fx.step[t]=function(e){("none"!==e.end&&!e.setAttr||1===e.pos&&!e.setAttr)&&(I.style(e.elem,t,e.end),e.setAttr=!0)}}),h.fn.addBack||(h.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),h.effects.animateClass=function(a,e,t,i){var s=h.speed(e,t,i);return this.queue(function(){var i=h(this),e=i.attr("class")||"",t=(t=s.children?i.find("*").addBack():i).map(function(){return{el:h(this),start:N(this)}}),n=function(){h.each(p,function(e,t){a[t]&&i[t+"Class"](a[t])})};n(),t=t.map(function(){return this.end=N(this.el[0]),this.diff=((e,t)=>{var i,n,a={};for(i in t)n=t[i],e[i]===n||f[i]||!h.fx.step[i]&&isNaN(parseFloat(n))||(a[i]=n);return a})(this.start,this.end),this}),i.attr("class",e),t=t.map(function(){var e=this,t=h.Deferred(),i=h.extend({},s,{queue:!1,complete:function(){t.resolve(e)}});return this.el.animate(this.diff,i),t.promise()}),h.when.apply(h,t.get()).done(function(){n(),h.each(arguments,function(){var t=this.el;h.each(this.diff,function(e){t.css(e,"")})}),s.complete.call(i[0])})})},h.fn.extend({addClass:(u=h.fn.addClass,function(e,t,i,n){return t?h.effects.animateClass.call(this,{add:e},t,i,n):u.apply(this,arguments)}),removeClass:(c=h.fn.removeClass,function(e,t,i,n){return 1<arguments.length?h.effects.animateClass.call(this,{remove:e},t,i,n):c.apply(this,arguments)}),toggleClass:(d=h.fn.toggleClass,function(e,t,i,n,a){return"boolean"==typeof t||void 0===t?i?h.effects.animateClass.call(this,t?{add:e}:{remove:e},i,n,a):d.apply(this,arguments):h.effects.animateClass.call(this,{toggle:e},t,i,n)}),switchClass:function(e,t,i,n,a){return h.effects.animateClass.call(this,{add:t,remove:e},i,n,a)}}),h.expr&&h.expr.filters&&h.expr.filters.animated&&(h.expr.filters.animated=(l=h.expr.filters.animated,function(e){return!!h(e).data(M)||l(e)})),!1!==h.uiBackCompat&&h.extend(h.effects,{save:function(e,t){for(var i=0,n=t.length;i<n;i++)null!==t[i]&&e.data(E+t[i],e[0].style[t[i]])},restore:function(e,t){for(var i,n=0,a=t.length;n<a;n++)null!==t[n]&&(i=e.data(E+t[n]),e.css(t[n],i))},setMode:function(e,t){return t="toggle"===t?e.is(":hidden")?"show":"hide":t},createWrapper:function(i){if(i.parent().is(".ui-effects-wrapper"))return i.parent();var n={width:i.outerWidth(!0),height:i.outerHeight(!0),float:i.css("float")},e=h("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),t={width:i.width(),height:i.height()},a=document.activeElement;try{a.id}catch(e){a=document.body}return i.wrap(e),i[0]!==a&&!h.contains(i[0],a)||h(a).trigger("focus"),e=i.parent(),"static"===i.css("position")?(e.css({position:"relative"}),i.css({position:"relative"})):(h.extend(n,{position:i.css("position"),zIndex:i.css("z-index")}),h.each(["top","left","bottom","right"],function(e,t){n[t]=i.css(t),isNaN(parseInt(n[t],10))&&(n[t]="auto")}),i.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),i.css(t),e.css(n).show()},removeWrapper:function(e){var t=document.activeElement;return e.parent().is(".ui-effects-wrapper")&&(e.parent().replaceWith(e),e[0]===t||h.contains(e[0],t))&&h(t).trigger("focus"),e}}),h.extend(h.effects,{version:"1.12.1",define:function(e,t,i){return i||(i=t,t="effect"),h.effects.effect[e]=i,h.effects.effect[e].mode=t,i},scaledDimensions:function(e,t,i){var n;return 0===t?{height:0,width:0,outerHeight:0,outerWidth:0}:(n="horizontal"!==i?(t||100)/100:1,i="vertical"!==i?(t||100)/100:1,{height:e.height()*i,width:e.width()*n,outerHeight:e.outerHeight()*i,outerWidth:e.outerWidth()*n})},clipToBox:function(e){return{width:e.clip.right-e.clip.left,height:e.clip.bottom-e.clip.top,left:e.clip.left,top:e.clip.top}},unshift:function(e,t,i){var n=e.queue();1<t&&n.splice.apply(n,[1,0].concat(n.splice(t,i))),e.dequeue()},saveStyle:function(e){e.data(P,e[0].style.cssText)},restoreStyle:function(e){e[0].style.cssText=e.data(P)||"",e.removeData(P)},mode:function(e,t){e=e.is(":hidden");return"toggle"===t&&(t=e?"show":"hide"),t=(e?"hide"===t:"show"===t)?"none":t},getBaseline:function(e,t){var i,n;switch(e[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=e[0]/t.height}switch(e[1]){case"left":n=0;break;case"center":n=.5;break;case"right":n=1;break;default:n=e[1]/t.width}return{x:n,y:i}},createPlaceholder:function(e){var t,i=e.css("position"),n=e.position();return e.css({marginTop:e.css("marginTop"),marginBottom:e.css("marginBottom"),marginLeft:e.css("marginLeft"),marginRight:e.css("marginRight")}).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()),/^(static|relative)/.test(i)&&(i="absolute",t=h("<"+e[0].nodeName+">").insertAfter(e).css({display:/^(inline|ruby)/.test(e.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:e.css("marginTop"),marginBottom:e.css("marginBottom"),marginLeft:e.css("marginLeft"),marginRight:e.css("marginRight"),float:e.css("float")}).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).addClass("ui-effects-placeholder"),e.data(E+"placeholder",t)),e.css({position:i,left:n.left,top:n.top}),t},removePlaceholder:function(e){var t=E+"placeholder",i=e.data(t);i&&(i.remove(),e.removeData(t))},cleanUp:function(e){h.effects.restoreStyle(e),h.effects.removePlaceholder(e)},setTransition:function(n,e,a,s){return s=s||{},h.each(e,function(e,t){var i=n.cssUnit(t);0<i[0]&&(s[t]=i[0]*a+i[1])}),s}}),h.fn.extend({effect:function(){function e(e){function t(){h.isFunction(r)&&r.call(i[0]),h.isFunction(e)&&e()}var i=h(this);n.mode=d.shift(),!1===h.uiBackCompat||s?"none"===n.mode?(i[l](),t()):a.call(i[0],n,function(){i.removeData(M),h.effects.cleanUp(i),"hide"===n.mode&&i.hide(),t()}):(i.is(":hidden")?"hide"===l:"show"===l)?(i[l](),t()):a.call(i[0],n,t)}function t(e){var t=h(this),i=h.effects.mode(t,l)||s;t.data(M,!0),d.push(i),s&&("show"===i||i===s&&"hide"===i)&&t.show(),s&&"none"===i||h.effects.saveStyle(t),h.isFunction(e)&&e()}var n=O.apply(this,arguments),a=h.effects.effect[n.effect],s=a.mode,i=n.queue,o=i||"fx",r=n.complete,l=n.mode,d=[];return h.fx.off||!a?l?this[l](n.duration,r):this.each(function(){r&&r.call(this)}):!1===i?this.each(t).each(e):this.queue(o,t).queue(o,e)},show:(r=h.fn.show,function(e){return $(e)?r.apply(this,arguments):((e=O.apply(this,arguments)).mode="show",this.effect.call(this,e))}),hide:(o=h.fn.hide,function(e){return $(e)?o.apply(this,arguments):((e=O.apply(this,arguments)).mode="hide",this.effect.call(this,e))}),toggle:(s=h.fn.toggle,function(e){return $(e)||"boolean"==typeof e?s.apply(this,arguments):((e=O.apply(this,arguments)).mode="toggle",this.effect.call(this,e))}),cssUnit:function(e){var i=this.css(e),n=[];return h.each(["em","px","%","pt"],function(e,t){0<i.indexOf(t)&&(n=[parseFloat(i),t])}),n},cssClip:function(e){return e?this.css("clip","rect("+e.top+"px "+e.right+"px "+e.bottom+"px "+e.left+"px)"):L(this.css("clip"),this)},transfer:function(e,t){var i=h(this),n=h(e.to),a="fixed"===n.css("position"),s=h("body"),o=a?s.scrollTop():0,s=a?s.scrollLeft():0,r=n.offset(),r={top:r.top-o,left:r.left-s,height:n.innerHeight(),width:n.innerWidth()},n=i.offset(),l=h("<div class='ui-effects-transfer'></div>").appendTo("body").addClass(e.className).css({top:n.top-o,left:n.left-s,height:i.innerHeight(),width:i.innerWidth(),position:a?"fixed":"absolute"}).animate(r,e.duration,e.easing,function(){l.remove(),h.isFunction(t)&&t()})}}),h.fx.step.clip=function(e){e.clipInit||(e.start=h(e.elem).cssClip(),"string"==typeof e.end&&(e.end=L(e.end,e.elem)),e.clipInit=!0),h(e.elem).cssClip({top:e.pos*(e.end.top-e.start.top)+e.start.top,right:e.pos*(e.end.right-e.start.right)+e.start.right,bottom:e.pos*(e.end.bottom-e.start.bottom)+e.start.bottom,left:e.pos*(e.end.left-e.start.left)+e.start.left})},i={},h.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,e){i[e]=function(e){return Math.pow(e,t+2)}}),h.extend(i,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return 0===e||1===e?e:-Math.pow(2,8*(e-1))*Math.sin((80*(e-1)-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){for(var t,i=4;((t=Math.pow(2,--i))-1)/11>e;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*t-2)/22-e,2)}}),h.each(i,function(e,t){h.easing["easeIn"+e]=t,h.easing["easeOut"+e]=function(e){return 1-t(1-e)},h.easing["easeInOut"+e]=function(e){return e<.5?t(2*e)/2:1-t(-2*e+2)/2}}),h.effects,h.effects.define("fade","toggle",function(e,t){var i="show"===e.mode;h(this).css("opacity",i?0:1).animate({opacity:i?1:0},{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),h.effects.define("slide","show",function(e,t){var i,n,a=h(this),s={up:["bottom","top"],down:["top","bottom"],left:["right","left"],right:["left","right"]},o=e.mode,r=e.direction||"left",l="up"===r||"down"===r?"top":"left",d="up"===r||"left"===r,c=e.distance||a["top"==l?"outerHeight":"outerWidth"](!0),u={};h.effects.createPlaceholder(a),i=a.cssClip(),n=a.position()[l],u[l]=(d?-1:1)*c+n,u.clip=a.cssClip(),u.clip[s[r][1]]=u.clip[s[r][0]],"show"===o&&(a.cssClip(u.clip),a.css(l,u[l]),u.clip=i,u[l]=n),a.animate(u,{queue:!1,duration:e.duration,easing:e.easing,complete:t})})}),window.SEMICOLON_tabsInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;
1e.each(function(){var e=$(this),t=e.attr("data-action")||"click",i=e.attr("data-speed")||400,n=e.attr("data-active")||1,a=(n-=1,window.location.hash);0<$(a).length&&0<e.find(a).length&&(n=$(a).index()),e.tabs({event:t,active:Number(n),show:{effect:"fade",duration:Number(i)},activate:function(e,t){$(t.newPanel).find(".flexslider .slide").resize()}}),SEMICOLON_tabsResponsive(e),SEMICOLON_tabsResponsiveResizeInit(e),$(window).on("scwWindowResize",function(){SEMICOLON_tabsResponsiveResizeInit(e)})})},window.SEMICOLON_tabsResponsive=function(e){if((e=e.filter(".tabs-responsive")).length<1)return!0;e.each(function(){var e=$(this),t=e.find(".tab-nav"),i=e.find(".tab-container");t.children("li").each(function(){var e=$(this).children("a"),t=e.attr("href"),e=e.html();i.find(t).before('<div class="accordion-header d-none"><div class="accordion-icon"><i class="accordion-closed icon-ok-circle"></i><i class="accordion-open icon-remove-circle"></i></div><div class="accordion-title">'+e+"</div></div>")})})},window.SEMICOLON_tabsResponsiveResizeInit=function(e){var n=$("body");if((e=e.filter(".tabs-responsive")).length<1)return!0;
1e.each(function(){var e=$(this),t=e.tabs("option","active")+1,i=e.attr("data-accordion-style");n.hasClass("device-sm")||n.hasClass("device-xs")?(e.find(".tab-nav").addClass("d-none"),e.find(".tab-container").addClass("accordion "+i).attr("data-active",t),e.find(".tab-content").addClass("accordion-content"),e.find(".accordion-header").removeClass("d-none"),SEMICOLON.widget.accordions({parent:e})):(n.hasClass("device-md")||n.hasClass("device-lg")||n.hasClass("device-xl"))&&(e.find(".tab-nav").removeClass("d-none"),e.find(".tab-container").removeClass("accordion "+i).attr("data-active",""),t=e.find(".acctitlec").next(".tab-content").index(),e.find(".tab-content").removeClass("accordion-content"),e.find(".accordion-header").addClass("d-none"),e.tabs("refresh"),0<t)&&e.tabs("option","active",(t-1)/2)})},(n=>{function t(e,t){this.element=n(e),this.settings=n.extend({},a,t),this._defaults=a,this._init()}var i="Morphext",a={animation:"bounceIn",separator:",",speed:2e3,complete:n.noop};t.prototype={_init:function(){var i=this;this.phrases=[],this.element.addClass("morphext"),n.each(this.element.text().split(this.settings.separator),function(e,t){i.phrases.push(n.trim(t))}),this.index=-1,this.animate(),this.start()},animate:function(){this.index=++this.index%this.phrases.length,this.element[0].innerHTML='<span class="animated '+this.settings.animation+'">'+this.phrases[this.index]+"</span>",n.isFunction(this.settings.complete)&&this.settings.complete.call(this)},start:function(){var e=this;this._interval=setInterval(function(){e.animate()},this.settings.speed)},stop:function(){this._interval=clearInterval(this._interval)}},n.fn[i]=function(e){return this.each(function(){n.data(this,"plugin_"+i)||n.data(this,"plugin_"+i,new t(this,e))})}})(jQuery),((e,t)=>{"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Typed=t():e.Typed=t()})(this,function(){return n=[function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t,i){return t&&o(e.prototype,t),i&&o(e,i),e},a=i(1),r=i(3),i=(n(s,[{key:"toggle",value:function(){this.pause.status?this.start():this.stop()}},{key:"stop",value:function(){this.typingComplete||this.pause.status||(this.toggleBlinking(!0),this.pause.status=!0,this.options.onStop(this.arrayPos,this))}},{key:"start",value:function(){this.typingComplete||this.pause.status&&(this.pause.status=!1,this.pause.typewrite?this.typewrite(this.pause.curString,this.pause.curStrPos):this.backspace(this.pause.curString,this.pause.curStrPos),this.options.onStart(this.arrayPos,this))}},{key:"destroy",value:function(){this.reset(!1),this.options.onDestroy(this)}},{key:"reset",value:function(){var e=arguments.length<=0||void 0===arguments[0]||arguments[0];clearInterval(this.timeout),this.replaceText(""),this.cursor&&this.cursor.parentNode&&(this.cursor.parentNode.removeChild(this.cursor),this.cursor=null),this.strPos=0,this.arrayPos=0,this.curLoop=0,e&&(this.insertCursor(),this.options.onReset(this),this.begin())}},{key:"begin",value:function(){var e=this;this.options.onBegin(this),this.typingComplete=!1,this.shuffleStringsIfNeeded(this),this.insertCursor(),this.bindInputFocusEvents&&this.bindFocusEvents(),this.timeout=setTimeout(function(){e.currentElContent&&0!==e.currentElContent.length?e.backspace(e.currentElContent,e.currentElContent.length):e.typewrite(e.strings[e.sequence[e.arrayPos]],e.strPos)},this.startDelay)}},{key:"typewrite",value:function(n,a){var s=this,e=(this.fadeOut&&this.el.classList.contains(this.fadeOutClass)&&(this.el.classList.remove(this.fadeOutClass),this.cursor)&&this.cursor.classList.remove(this.fadeOutClass),this.humanizer(this.typeSpeed)),o=1;return!0===this.pause.status?void this.setPauseStatus(n,a,!0):void(this.timeout=setTimeout(function(){a=r.htmlParser.typeHtmlChars(n,a,s);var e=0,t=n.substr(a);if("^"===t.charAt(0)&&/^\^\d+/.test(t)&&(i=1,i+=(t=/\d+/.exec(t)[0]).length,e=parseInt(t),s.temporaryPause=!0,s.options.onTypingPaused(s.arrayPos,s),n=n.substring(0,a)+n.substring(a+i),s.toggleBlinking(!0)),"`"===t.charAt(0)){for(;"`"!==n.substr(a+o).charAt(0)&&!(a+ ++o>n.length););var i=n.substring(0,a);n=i+n.substring(i.length+1,a+o)+n.substring(a+o+1),o--}s.timeout=setTimeout(function(){s.toggleBlinking(!1),a>=n.length?s.doneTyping(n,a):s.keepTyping(n,a,o),s.temporaryPause&&(s.temporaryPause=!1,s.options.onTypingResumed(s.arrayPos,s))},e)},e))}},{key:"keepTyping",value:function(e,t,i){0===t&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this));i=e.substr(0,t+=i);this.replaceText(i),this.typewrite(e,t)}},{key:"doneTyping",value:function(e,t){var i=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=setTimeout(function(){i.backspace(e,t)},this.backDelay))}},{key:"backspace",value:function(i,n){var a=this;if(!0===this.pause.status)this.setPauseStatus(i,n,!0);else{if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var e=this.humanizer(this.backSpeed);this.timeout=setTimeout(function(){n=r.htmlParser.backSpaceHtmlChars(i,n,a);var e,t=i.substr(0,n);a.replaceText(t),a.smartBackspace&&((e=a.strings[a.arrayPos+1])&&t===e.substr(0,n)?a.stopNum=n:a.stopNum=0),n>a.stopNum?(n--,a.backspace(i,n)):n<=a.stopNum&&(a.arrayPos++,a.arrayPos===a.strings.length?(a.arrayPos=0,a.options.onLastStringBackspaced(),a.shuffleStringsIfNeeded(),a.begin()):a.typewrite(a.str
1ings[a.sequence[a.arrayPos]],n))},e)}}},{key:"complete",value:function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0}},{key:"setPauseStatus",value:function(e,t,i){this.pause.typewrite=i,this.pause.curString=e,this.pause.curStrPos=t}},{key:"toggleBlinking",value:function(e){!this.cursor||this.pause.status||this.cursorBlinking!==e&&((this.cursorBlinking=e)?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink"))}},{key:"humanizer",value:function(e){return Math.round(Math.random()*e/2)+e}},{key:"shuffleStringsIfNeeded",value:function(){this.shuffle&&(this.sequence=this.sequence.sort(function(){return Math.random()-.5}))}},{key:"initFadeOut",value:function(){var e=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout(function(){e.arrayPos++,e.replaceText(""),e.strings.length>e.arrayPos?e.typewrite(e.strings[e.sequence[e.arrayPos]],0):(e.typewrite(e.strings[0],0),e.arrayPos=0)},this.fadeOutDelay)}},{key:"replaceText",value:function(e){this.attr?this.el.setAttribute(this.attr,e):this.isInput?this.el.value=e:"html"===this.contentType?this.el.innerHTML=e:this.el.textContent=e}},{key:"bindFocusEvents",value:function(){var t=this;this.isInput&&(this.el.addEventListener("focus",function(e){t.stop()}),this.el.addEventListener("blur",function(e){t.el.value&&0!==t.el.value.length||t.start()}))}},{key:"insertCursor",value:function(){!this.showCursor||this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling))}}]),s);function s(e,t){if(!(this instanceof s))throw new TypeError("Cannot call a class as a function");a.initializer.load(this,t,e),this.begin()}function o(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}t.default=i,e.exports=t.default},function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i,n=arguments[t];for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},n=function(e,t,i){return t&&s(e.prototype,t),i&&s(e,i),e},i=i(2),l=(i=i)&&i.__esModule?i:{default:i},i=(n(a,[{key:"load",value:function(e,t,i){if(e.el="string"==typeof i?document.querySelector(i):i,e.options=r({},l.default,t),e.isInput="input"===e.el.tagName.toLowerCase(),e.attr=e.options.attr,e.bindInputFocusEvents=e.options.bindInputFocusEvents,e.showCursor=!e.isInput&&e.options.showCursor,e.cursorChar=e.options.cursorChar,e.cursorBlinking=!0,e.elContent=e.attr?e.el.getAttribute(e.attr):e.el.textContent,e.contentType=e.options.contentType,e.typeSpeed=e.options.typeSpeed,e.startDelay=e.options.startDelay,e.backSpeed=e.options.backSpeed,e.smartBackspace=e.options.smartBackspace,e.backDelay=e.options.backDelay,e.fadeOut=e.options.fadeOut,e.fadeOutClass=e.options.fadeOutClass,e.fadeOutDelay=e.options.fadeOutDelay,e.isPaused=!1,e.strings=e.options.strings.map(function(e){return e.trim()}),"string"==typeof e.options.stringsElement?e.stringsElement=document.querySelector(e.options.stringsElement):e.stringsElement=e.options.stringsElement,e.stringsElement){e.strings=[],e.stringsElement.style.display="none";var n=Array.prototype.slice.apply(e.stringsElement.children),a=n.length;if(a)for(var s=0;s<a;s+=1){var o=n[s];e.strings.push(o.innerHTML.trim())}}for(var s in e.strPos=0,e.arrayPos=0,e.stopNum=0,e.loop=e.options.loop,e.loopCount=e.options.loopCount,e.curLoop=0,e.shuffle=e.options.shuffle,e.sequence=[],e.pause={status:!1,typewrite:!0,curString:"",curStrPos:0},e.typingComplete=!1,e.strings)e.sequence[s]=s;e.currentElContent=this.getCurrentElContent(e),e.autoInsertCss=e.options.autoInsertCss,this.appendAnimationCss(e)}},{key:"getCurrentElContent",value:function(e){return e.attr?e.el.getAttribute(e.attr):e.isInput?e.el.value:"html"===e.contentType?e.el.innerHTML:e.el.textContent}},{key:"appendAnimationCss",value:function(e){var t,i="data-typed-js-css";e.autoInsertCss&&(e.showCursor||e.fadeOut)&&!document.querySelector("["+i+"]")&&((t=document.createElement("style")).type="text/css",t.setAttribute(i,!0),i="",e.showCursor&&(i+="\n        .typed-cursor{\n          opacity: 1;\n        }\n        .typed-cursor.typed-cursor--blink{\n          animation: typedjsBlink 0.7s infinite;\n          -webkit-animation: typedjsBlink 0.7s infinite;\n                  animation: typedjsBlink 0.7s infinite;\n        }\n        @keyframes typedjsBlink{\n          50% { opacity: 0.0; }\n        }\n        @-webkit-keyframes typedjsBlink{\n          0% { opacity: 1; }\n          50% { opacity: 0.0; }\n          100% { opacity: 1; }\n        }\n      "),e.fadeOut&&(i+="\n        .typed-fade-out{\n          opacity: 0;\n          transition: opacity .25s;\n        }\n        .typed-cursor.typed-cursor--blink.typed-fade-out{\n          -webkit-animation: 0;\n          animation: 0;\n        }\n      "),0!==t.length)&&(t.innerHTML=i,document.body.appendChild(t))}}]),a);function a(){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}n=new(t.default=i);t.initializer=n}
1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.default={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],stringsElement:null,typeSpeed:0,startDelay:0,backSpeed:0,smartBackspace:!0,shuffle:!1,backDelay:700,fadeOut:!1,fadeOutClass:"typed-fade-out",fadeOutDelay:500,loop:!1,loopCount:1/0,showCursor:!0,cursorChar:"|",autoInsertCss:!0,attr:null,bindInputFocusEvents:!1,contentType:"html",onBegin:function(e){},onComplete:function(e){},preStringTyped:function(e,t){},onStringTyped:function(e,t){},onLastStringBackspaced:function(e){},onTypingPaused:function(e,t){},onTypingResumed:function(e,t){},onReset:function(e){},onStop:function(e,t){},onStart:function(e,t){},onDestroy:function(e){}},e.exports=t.default},function(e,t){Object.defineProperty(t,"__esModule",{value:!0});(function(e,t,i){t&&a(e.prototype,t),i&&a(e,i)})(n,[{key:"typeHtmlChars",value:function(e,t,i){if("html"===i.contentType){i=e.substr(t).charAt(0);if("<"===i||"&"===i){for(var n="<"===i?">":";";e.substr(t+1).charAt(0)!==n&&!(++t+1>e.length););t++}}return t}},{key:"backSpaceHtmlChars",value:function(e,t,i){if("html"===i.contentType){i=e.substr(t).charAt(0);if(">"===i||";"===i){for(var n=">"===i?"<":"&";e.substr(t-1).charAt(0)!==n&&!(--t<0););t--}}return t}}]);var i=n;function n(){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}i=new(t.default=i);t.htmlParser=i}],a={},i.m=n,i.c=a,i.p="",i(0);function i(e){var t;return(a[e]||(t=a[e]={exports:{},id:e,loaded:!1},n[e].call(t.exports,t,t.exports,i),t.loaded=!0,t)).exports}var n,a}),window.SEMICOLON_textRotatorInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){var e,t,i,n,a=$(this),s=a.attr("data-typed")||"false",o=a.find(".t-rotate"),r=a.attr("data-rotate")||"fade",l=a.attr("data-speed")||1200,d=a.attr("data-separator")||",";"true"==s?(s=o.html().split(d),t=a.attr("data-loop")||"true",i=a.attr("data-shuffle"),n=a.attr("data-cursor")||"true",l=a.attr("data-speed")||50,e=a.attr("data-backspeed")||30,a=a.attr("data-backdelay"),t="true"==t,i="true"==i,n="true"==n,o.html("").addClass("plugin-typed-init"),new Typed(o.get(0),{strings:s,typeSpeed:Number(l),loop:t,shuffle:i,showCursor:n,backSpeed:Number(e),backDelay:Number(a)})):o.Morphext({animation:r,separator:d,speed:Number(l)})})},window.scwTogglesPlugin=window.scwTogglesPlugin||{},window.SEMICOLON_togglesInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;
1e.each(function(){var e=$(this),t=e.attr("data-speed")||300;"open"!=e.attr("data-state")?e.find(".toggle-content").hide():e.addClass("toggle-active").find(".toggle-content").slideDown(Number(t)),e.find(".toggle-header").off("click").on("click",function(){return e.toggleClass("toggle-active").find(".toggle-content").slideToggle(Number(t)),!0})})},window.SEMICOLON_twitterFeedInit=function(e){if(e.length<1)return!0;e.each(function(){var t=$(this),e=t.attr("data-username")||"twitter",i=t.attr("data-count")||3,n=t.attr("data-loader")||"include/twitter/tweets.php";$.getJSON(n+"?username="+e+"&count="+Number(i),function(e){t.hasClass("fslider")?t.find(".slider-wrap").html(sm_format_twitter3(e)).promise().done(function(){var e=setInterval(function(){1<t.find(".slide").length&&(t.removeClass("customjs"),setTimeout(function(){SEMICOLON.widget.loadFlexSlider()},500),clearInterval(e))},500)}):t.html(sm_format_twitter(e))})})};var ytp=ytp||{},YTPrndSuffix=(new Date).getTime(),YTPtimerLabels={init:"YTPlayerInit_"+YTPrndSuffix,startPlaying:"YTPlayerStartPlay_"+YTPrndSuffix};function onYouTubeIframeAPIReady(){ytp.YTAPIReady||(ytp.YTAPIReady=!0,jQuery(document).trigger("YTAPIReady"))}var getYTPVideoID=function(e){var t,i;return 0<e.indexOf("youtu.be")||0<e.indexOf("youtube.com/embed")?t=(i=0<(t=e.substr(e.lastIndexOf("/")+1,e.length)).indexOf("?list=")?t.substr(t.lastIndexOf("="),t.length):null)?t.substr(0,t.lastIndexOf("?")):t:i=-1<e.indexOf("http")?(t=e.match(/[\\?&]v=([^&#]*)/)[1],0<e.indexOf("list=")?e.match(/[\\?&]list=([^&#]*)/)[1]:null):(t=15<e.length?null:e)?null:e,{videoID:t,playlistID:i}};function iOSversion(){var e;if(/iP(hone|od|ad)/.test(navigator.platform))return e=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/),[parseInt(e[1],10),parseInt(e[2],10),parseInt(e[3]||0,10)]}!function(jQuery,ytp){jQuery.mbYTPlayer={name:"jquery.mb.YTPlayer",version:"3.3.5",build:"7541",author:"Matteo Bicocchi (pupunzi)",apiKey:"",defaults:{videoURL:null,containment:"body",ratio:"auto",fadeOnStartTime:1e3,startAt:0,stopAt:0,autoPlay:!0,delayAtStart:1e3,coverImage:!1,loop:!0,addRaster:!1,mask:!1,opacity:1,quality:"hd1080",vol:50,mute:!1,showControls:!0,anchor:"center,center",showAnnotations:!1,cc_load_policy:!1,showYTLogo:!0,useOnMobile:!0,playOnlyIfVisible:!1,onScreenPercentage:30,goFullScreenOnPlay:!1,stopMovieOnBlur:!0,realFullscreen:!0,optimizeDisplay:!0,abundance:.3,gaTrack:!0,remember_last_time:!1,addFilters:!1,onReady:function(e){},onError:function(e,t){},onEnd:function(){}},controls:{play:"P",pause:"p",mute:"M",unmute:"A",onlyYT:"O",showSite:"R",ytLogo:"Y"},controlBar:null,locationProtocol:"https:",defaultFilters:{grayscale:{value:0,unit:"%"},hue_rotate:{value:0,unit:"deg"},invert:{value:0,unit:"%"},opacity:{value:0,unit:"%"},saturate:{value:0,unit:"%"},sepia:{value:0,unit:"%"},brightness:{value:0,unit:"%"},contrast:{value:0,unit:"%"},blur:{value:0,unit:"px"}},buildPlayer:function(options){var e;function isIframe(){var t=!1;try{self.location.href!==top.location.href&&(t=!0)}catch(e){t=!0}return t}return ytp.YTAPIReady||void 0!==window.YT?setTimeout(function(){jQuery(document).trigger("YTAPIReady"),ytp.YTAPIReady=!0},100):(jQuery("#YTAPI").remove(),e=jQuery("<script>").attr({src:"https://www.youtube.com/iframe_api?v="+jQuery.mbYTPlayer.version,id:"YTAPI"}),jQuery("head").prepend(e)),this.each(function(){var YTPlayer=this,$YTPlayer=jQuery(YTPlayer),property=($YTPlayer.hide(),YTPlayer.loop=0,YTPlayer.state=0,YTPlayer.filters=jQuery.extend(!0,{},jQuery.mbYTPlayer.defaultFilters),YTPlayer.filtersEnabled=!0,YTPlayer.id=YTPlayer.id||"YTP_"+(new Date).getTime(),$YTPlayer.addClass("mb_YTPlayer"),$YTPlayer.data("property")&&"string"==typeof $YTPlayer.data("property")?eval("("+$YTPlayer.data("property")+")"):$YTPlayer.data("property")),fullScreenAvailable=("object"!=typeof property&&(property={}),YTPlayer.opt=jQuery.extend(!0,{},jQuery.mbYTPlayer.defaults,YTPlayer.opt,options,property),YTPrndSuffix=getYTPVideoID(YTPlayer.opt.videoURL).videoID,YTPtimerLabels={init:"YTPlayerInit_"+YTPrndSuffix,startPlaying:"YTPlayerStartPlay_"+YTPrndSuffix},console.time(YTPtimerLabels.init),console.time(YTPtimerLabels.startPlaying),YTPlayer.opt.elementId=YTPlayer.id,0===YTPlayer.opt.vol&&(YTPlayer.opt.vol=1,YTPlayer.opt.mute=!0),YTPlayer.opt.autoPlay&&!1===YTPlayer.opt.mute&&jQuery.mbBrowser.chrome&&(j
1Query(document).one("mousedown.YTPstart",function(){$YTPlayer.YTPPlay()}),console.info("YTPlayer info: On Webkit browsers you can not autoplay the video if the audio is on.")),YTPlayer.opt.loop&&"boolean"==typeof YTPlayer.opt.loop&&(YTPlayer.opt.loop=9999),document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled),origContainmentBackground=(YTPlayer.opt.realFullscreen=!(isIframe()||!fullScreenAvailable)&&YTPlayer.opt.realFullscreen,YTPlayer.opt.showAnnotations=YTPlayer.opt.showAnnotations?"1":"3",YTPlayer.opt.cc_load_policy=YTPlayer.opt.cc_load_policy?"1":"0",YTPlayer.opt.coverImage=YTPlayer.opt.coverImage||YTPlayer.opt.backgroundImage,YTPlayer.opt.quality="hd1080",jQuery.mbBrowser.msie&&jQuery.mbBrowser.version<9&&(YTPlayer.opt.opacity=1),YTPlayer.opt.containment="self"===YTPlayer.opt.containment?$YTPlayer:jQuery(YTPlayer.opt.containment),YTPlayer.isRetina=window.retina||1<window.devicePixelRatio,YTPlayer.opt.ratio="auto"===YTPlayer.opt.ratio?16/9:YTPlayer.opt.ratio,YTPlayer.opt.ratio=eval(YTPlayer.opt.ratio),YTPlayer.opt.containment.css("background-image")),origContainmentBackground="none"===origContainmentBackground?null:origContainmentBackground,start_from_last=(YTPlayer.orig_containment_background=origContainmentBackground,$YTPlayer.attr("id")||$YTPlayer.attr("id","ytp_"+(new Date).getTime()),YTPlayer.playerID="iframe_"+YTPlayer.id,YTPlayer.isAlone=!1,YTPlayer.hasFocus=!0,YTPlayer.videoID=YTPlayer.opt.videoURL?getYTPVideoID(YTPlayer.opt.videoURL).videoID:!!$YTPlayer.attr("href")&&getYTPVideoID($YTPlayer.attr("href")).videoID,YTPlayer.playlistID=YTPlayer.opt.videoURL?getYTPVideoID(YTPlayer.opt.videoURL).playlistID:!!$YTPlayer.attr("href")&&getYTPVideoID($YTPlayer.attr("href")).playlistID,0);if(jQuery.mbCookie.get("YTPlayer_start_from"+YTPlayer.videoID)&&(start_from_last=parseFloat(jQuery.mbCookie.get("YTPlayer_start_from"+YTPlayer.videoID))),YTPlayer.opt.remember_last_time&&start_from_last&&(YTPlayer.start_from_last=start_from_last,jQuery.mbCookie.remove("YTPlayer_start_from"+YTPlayer.videoID)),YTPlayer.isPlayer=$YTPlayer.is(YTPlayer.opt.containment),YTPlayer.isBackground=YTPlayer.opt.containment.is("body"),!YTPlayer.isBackground||!ytp.backgroundIsInited){var e,playerBox=(YTPlayer.isPlayer&&$YTPlayer.show(),YTPlayer.overlay=jQuery("<div/>").css({position:"absolute",top:0,left:0,width:"100%",height:"100%"}).addClass("YTPOverlay"),$YTPlayer.changeCoverImage(),YTPlayer.wrapper=jQuery("<div/>").attr("id","wrapper_"+YTPlayer.id).css({position:"absolute",zIndex:0,minWidth:"100%",minHeight:"100%",left:0,top:0,overflow:"hidden",opacity:0}).addClass("mbYTP_wrapper"),YTPlayer.isPlayer&&(e=jQuery.browser.mobile?"inlinePlayButtonMobile":"inlinePlayButton",YTPlayer.inlinePlayButton=jQuery("<div/>").addClass("inlinePlayButton").html(jQuery.mbYTPlayer.controls.play),$YTPlayer.append(YTPlayer.inlinePlayButton),YTPlayer.inlinePlayButton.on("click",function(e){$YTPlayer.YTPPlay(),YTPlayer.inlinePlayButton.hide(),YTPlayer.opt.goFullScreenOnPlay&&$YTPlayer.YTPFullscreen(),e.stopPropagation()}),YTPlayer.opt.autoPlay&&YTPlayer.inlinePlayButton.hide(),YTPlayer.overlay.on("click",function(){$YTPlayer.YTPTogglePlay(),YTPlayer.opt.goFullScreenOnPlay&&$YTPlayer.YTPFullscreen()}).css({cursor:"pointer"})),jQuery("<div/>").attr("id",YTPlayer.playerID).addClass("playerBox"));if(playerBox.css({position:"absolute",zIndex:0,width:"100%",height:"100%",top:0,left:0,overflow:"hidden",opacity:1}),YTPlayer.wrapper.append(playerBox),playerBox.after(YTPlayer.overlay),YTPlayer.isPlayer&&(YTPlayer.inlineWrapper=jQuery("<div/>").addClass("inline-YTPlayer"),YTPlayer.inlineWrapper.css({position:"relative",maxWidth:YTPlayer.opt.containment.css("width")}),YTPlayer.opt.containment.css({position:"relative",paddingBottom:"56.25%",overflow:"hidden",height:0}),YTPlayer.opt.containment.wrap(YTPlayer.inlineWrapper)),YTPlayer.opt.containment.children().not("script, style").each(function(){"static"===jQuery(this).css("position")&&jQuery(this).css("position","relative")}),YTPlayer.isBackground?(jQuery("body").css({boxSizing:"border-box"}),YTPlayer.wrapper.css({position:"fixed",top:0,left:0,zIndex:0})):"static"===YTPlayer.opt.containment.css("position")&&(YTPlayer.opt.containment.css({position:"relative"}
1),$YTPlayer.show()),YTPlayer.opt.containment.prepend(YTPlayer.wrapper),YTPlayer.isBackground||YTPlayer.overlay.on("mouseenter",function(){YTPlayer.controlBar&&YTPlayer.controlBar.length&&YTPlayer.controlBar.addClass("visible")}).on("mouseleave",function(){YTPlayer.controlBar&&YTPlayer.controlBar.length&&YTPlayer.controlBar.removeClass("visible")}),jQuery.mbBrowser.mobile&&!YTPlayer.opt.useOnMobile)return YTPlayer.opt.coverImage&&(YTPlayer.wrapper.css({backgroundImage:"url("+YTPlayer.opt.coverImage+")",backgroundPosition:"center center",backgroundSize:"cover",backgroundRepeat:"no-repeat",opacity:1}),YTPlayer.wrapper.css({opacity:1})),$YTPlayer;jQuery.mbBrowser.mobile&&YTPlayer.opt.autoPlay&&YTPlayer.opt.useOnMobile&&jQuery("body").one("touchstart",function(){YTPlayer.player.playVideo()}),jQuery(document).one("YTAPIReady",function(){$YTPlayer.trigger("YTAPIReady_"+YTPlayer.id),ytp.YTAPIReady=!0}),YTPlayer.isOnScreen=jQuery.mbYTPlayer.isOnScreen(YTPlayer,YTPlayer.opt.onScreenPercentage),$YTPlayer.one("YTAPIReady_"+YTPlayer.id,function(){var n=this,i=jQuery(n);n.isBackground&&ytp.backgroundIsInited||n.isInit||(n.isBackground&&(ytp.backgroundIsInited=!0),n.opt.autoPlay=void 0===n.opt.autoPlay?!!n.isBackground:n.opt.autoPlay,n.opt.vol=n.opt.vol||100,jQuery.mbYTPlayer.getDataFromAPI(n),jQuery(n).on("YTPChanged",function(e){var t;n.isInit||(n.isInit=!0,t={modestbranding:1,autoplay:0,controls:0,showinfo:0,rel:0,enablejsapi:1,version:3,playerapiid:n.playerID,origin:"*",allowfullscreen:!0,wmode:"transparent",iv_load_policy:n.opt.showAnnotations,cc_load_policy:n.opt.cc_load_policy,playsinline:jQuery.mbBrowser.mobile&&!n.isPlayer?1:0,html5:document.createElement("video").canPlayType?1:0},new YT.Player(n.playerID,{playerVars:t,events:{onReady:function(e){n.player=e.target,n.player.loadVideoById({videoId:n.videoID.toString(),suggestedQuality:n.opt.quality}),i.trigger("YTPlayerIsReady_"+n.id)},onStateChange:function(e){if("function"==typeof e.target.getPlayerState){var t,i=e.target.getPlayerState();if(n.preventTrigger||n.isStarting)n.preventTrigger=!1;else{switch(n.state=i,e.data===YT.PlayerState.PLAYING&&e.target.setPlaybackQuality(n.opt.quality),i){case-1:t="YTPUnstarted";break;case 0:t="YTPRealEnd";break;case 1:t="YTPPlay",n.controlBar.length&&n.controlBar.find(".mb_YTPPlayPause").html(jQuery.mbYTPlayer.controls.pause),n.isPlayer&&n.inlinePlayButton.hide(),jQuery(document).off("mousedown.YTPstart");break;case 2:t="YTPPause",n.controlBar.length&&n.controlBar.find(".mb_YTPPlayPause").html(jQuery.mbYTPlayer.controls.play),n.isPlayer&&n.inlinePlayButton.show();break;case 3:n.player.setPlaybackQuality(n.opt.quality),t="YTPBuffering",n.controlBar.length&&n.controlBar.find(".mb_YTPPlayPause").html(jQuery.mbYTPlayer.controls.play);break;case 5:t="YTPCued"}e=jQuery.Event(t);e.time=n.currentTime,jQuery(n).trigger(e)}}},onPlaybackQualityChange:function(e){var e=e.target.getPlaybackQuality(),t=jQuery.Event("YTPQualityChange");t.quality=e,jQuery(n).trigger(t)},onError:function(e){switch("function"==typeof n.opt.onError&&n.opt.onError(i,e),
vendor: 4,680 bytes, line 1
1console.debug("error:",e),e.data){case 2:console.error("video ID:: "+n.videoID+": The request contains an invalid parameter value. For example, this error occurs if you specify a video ID that does not have 11 characters, or if the video ID contains invalid characters, such as exclamation points or asterisks.");break;case 5:console.error("video ID:: "+n.videoID+": The requested content cannot be played in an HTML5 player or another error related to the HTML5 player has occurred.");break;case 100:console.error("video ID:: "+n.videoID+": The video requested was not found. This error occurs when a video has been removed (for any reason) or has been marked as private.");break;case 101:case 150:console.error("video ID:: "+n.videoID+": The video doesn't exist or The owner does not allow it to be played in embedded players.")}n.isList&&jQuery(n).YTPPlayNext()}}}),i.on("YTPlayerIsReady_"+n.id,function(){if(n.isReady)return this;n.playerEl=n.player.getIframe(),jQuery(n.playerEl).unselectable(),i.optimizeDisplay(),jQuery(window).off("resize.YTP_"+n.id).on("resize.YTP_"+n.id,function(){i.optimizeDisplay()}),jQuery(window).off("orientationchange.YTP_"+n.id).on("orientationchange.YTP_"+n.id,function(){i.optimizeDisplay()}),n.opt.remember_last_time&&jQuery(window).on("unload.YTP_"+n.id,function(){var e=n.player.getCurrentTime();jQuery.mbCookie.set("YTPlayer_start_from"+n.videoID,e,0)}),i.YTPCheckForState()}))}))}),$YTPlayer.off("YTPTime.mask"),jQuery.mbYTPlayer.applyMask(YTPlayer),console.timeEnd(YTPtimerLabels.init),setTimeout(function(){ytp.YTAPIReady||"object"!=typeof window.YT||(jQuery(document).trigger("YTAPIReady"),ytp.YTAPIReady=!0,console.error("YTPlayer: More then a call to the YT API has been detected"))},YTPlayer.opt.delayAtStart)}})},isOnScreen:function(e,t){t=t||10;var e=e.wrapper,i=jQuery(window).scrollTop(),n=i+jQuery(window).height(),t=e.height()*t/100,a=e.offset().top+t;return e.offset().top+(e.height()-t)<=n&&i<=a},getDataFromAPI:function(n){n.videoData=jQuery.mbStorage.get("YTPlayer_data_"+n.videoID),n.videoData?(setTimeout(function(){n.dataReceived=!0;var e=jQuery.Event("YTPChanged"),t=(e.time=n.currentTime,e.videoId=n.videoID,e.opt=n.opt,jQuery(n).trigger(e),jQuery.Event("YTPData"));for(e in t.prop={},n.videoData)n.videoData.hasOwnProperty(e)&&(t.prop[e]=n.videoData[e]);jQuery(n).trigger(t)},n.opt.fadeOnStartTime),n.hasData=!0):jQuery.mbYTPlayer.apiKey?jQuery.getJSON("https://www.googleapis.com/youtube/v3/videos?id="+n.videoID+"&key="+jQuery.mbYTPlayer.apiKey+"&part=snippet",function(e){n.dataReceived=!0;var t=jQuery.Event("YTPChanged"),i=(t.time=n.currentTime,t.videoId=n.videoID,jQuery(n).trigger(t),e.items[0]?(t=e.items[0].snippet,n.videoData={},n.videoData.id=n.videoID,n.videoData.channelTitle=t.channelTitle,n.videoData.title=t.title,n.videoData.description=t.description.length<400?t.description:t.description.substring(0,400)+" ...",n.videoData.thumb_max=t.thumbnails.maxres?t.thumbnails.maxres.url:null,n.videoData.thumb_high=t.thumbnails.high?t.thumbnails.high.url:null,n.videoData.thumb_medium=t.thumbnails.medium?t.thumbnails.medium.url:null,jQuery.mbStorage.set("YTPlayer_data_"+n.videoID,n.videoData),n.hasData=!0):(n.videoData={},n.hasData=!1),jQuery.Event("YTPData"));for(e in i.prop={},n.videoData)i.prop[e]=n.videoData[e];jQuery(n).trigger(i)}).fail(function(e){console.error("YT data error:: ",e),n.hasData=!1;e=jQuery.Event("YTPChanged");e.time=n.currentTime,e.videoId=n.videoID,jQuery(n).trigger(e)}):(setTimeout(function(){var e=jQuery.Event("YTPChanged");e.time=n.currentTime,e.videoId=n.videoID,jQuery(n).trigger(e)},10),n.videoData=null),n.opt.ratio="auto"==n.opt.ratio?16/9:n.opt.ratio,n.isPlayer&&!n.opt.autoPlay&&(n.loading=jQuery("<div/>").addClass("loading").html("Loading").hide(),jQuery(n).append(n.loading),n.loading.fadeIn())},removeStoredData:function(){jQuery.mbStorage.remove()},getVideoData:function(){return this.get(0).videoData},getVideoID:function(){return this.get(0).videoID||!1},getPlaylistID:function(){return this.get(0).playlistID||!1},setVideoQuality:function(e){var t=this.get(0),i=t.player.getCurrentTime();return jQuery(t).YTPPause(),t.opt.quality=e,t.player.setPlaybackQuality(e),t.player.seekTo(i),jQuery(t).YTPPlay(),this},getVideoQuality:function(){return this.get(0).player.getPlaybackQuality()},playlist:function(e,t,i){var n=this.get(0);return n.isList=!0,t&&(e=jQuery.shuffle(e)),n.videoID||(n.videos=e,n.videoCounter=1,n.videoLength=e.length,jQuery(n).data("property",e[0]),jQuery(n).YTPlayer()),"function"==typeof i&&jQuery(n).on("YTPChanged",function(){i(n)}),jQuery(n).on("YTPEnd",function(){jQuery(n).YTPPlayNext()}),this},playNext:function(){var e=this.get(0);
1return e.videoCounter++,e.videoLength<e.videoCounter&&(e.videoCounter=1),jQuery(e).YTPPlayIndex(e.videoCounter),this},playPrev:function(){var e=this.get(0);return e.videoCounter--,e.videoCounter<=0&&(e.videoCounter=e.videoLength),jQuery(e).YTPPlayIndex(e.videoCounter),this},playIndex:function(e){var t=this.get(0),e=(t.checkForStartAt&&(clearInterval(t.checkForStartAt),clearInterval(t.getState)),t.videoCounter=e,t.videoLength<=t.videoCounter&&(t.videoCounter=t.videoLength),t.videos[t.videoCounter-1]);return jQuery(t).YTPChangeVideo(e),this},changeVideo:function(e){var t=this,i=t.get(0),e=(i.opt.startAt=0,i.opt.stopAt=0,i.opt.mask=!1,i.opt.mute=!0,i.opt.autoPlay=!0,i.opt.addFilters=!1,i.opt.coverImage=!1,i.hasData=!1,i.hasChanged=!0,i.player.loopTime=void 0,e&&jQuery.extend(i.opt,e),i.videoID=getYTPVideoID(i.opt.videoURL).videoID,i.opt.loop&&"boolean"==typeof i.opt.loop&&(i.opt.loop=9999),i.wrapper.css({background:"none"}),jQuery(i.playerEl).CSSAnimate({opacity:0},i.opt.fadeOnStartTime,function(){jQuery.mbYTPlayer.getDataFromAPI(i),t.YTPGetPlayer().loadVideoById({videoId:i.videoID,suggestedQuality:i.opt.quality}),t.YTPPause(),t.optimizeDisplay(),i.checkForStartAt&&(clearInterval(i.checkForStartAt),clearInterval(i.getState)),t.YTPCheckForState()}),jQuery.Event("YTPChangeVideo"));return e.time=i.currentTime,jQuery(i).trigger(e),jQuery.mbYTPlayer.applyMask(i),this},getPlayer:function(){var e=this.get(0);return e.isReady?e.player:null},playerDestroy:function(){var e=this.get(0);return e.isReady&&(ytp.YTAPIReady=!0,ytp.backgroundIsInited=!1,e.isInit=!1,e.videoID=null,e.isReady=!1,e.wrapper.remove(),jQuery("#controlBar_"+e.id).remove(),clearInterval(e.checkForStartAt),clearInterval(e.getState)),this},fullscreen:function(real){var YTPlayer=this.get(0),controls=(void 0===real&&(real=eval(YTPlayer.opt.realFullscreen)),jQuery("#controlBar_"+YTPlayer.id)),fullScreenBtn=controls.find(".mb_OnlyYT"),videoWrapper=YTPlayer.isPlayer?YTPlayer.opt.containment:YTPlayer.wrapper,e;function hideMouse(){YTPlayer.overlay.css({cursor:"none"})}function RunPrefixMethod(e,t){for(var i,n,a=["webkit","moz","ms","o",""],s=0;s<a.length&&!e[i];){if(i=t,""==a[s]&&(i=i.substr(0,1).toLowerCase()+i.substr(1)),"undefined"!=(n=typeof e[i=a[s]+i]))return a=[a[s]],"function"==n?e[i]():e[i];s++}}function launchFullscreen(e){RunPrefixMethod(e,"RequestFullScreen")}function cancelFullscreen(){(RunPrefixMethod(document,"FullScreen")||RunPrefixMethod(document,"IsFullScreen"))&&RunPrefixMethod(document,"CancelFullScreen")}return real&&(e=jQuery.mbBrowser.mozilla?"mozfullscreenchange":jQuery.mbBrowser.webkit?"webkitfullscreenchange":"fullscreenchange",jQuery(document).off(e).on(e,function(){RunPrefixMethod(document,"IsFullScreen")||RunPrefixMethod(document,"FullScreen")?jQuery(YTPlayer).trigger("YTPFullScreenStart"):(YTPlayer.isAlone=!1,fullScreenBtn.html(jQuery.mbYTPlayer.controls.onlyYT),jQuery(YTPlayer).YTPSetVideoQuality(YTPlayer.opt.quality),videoWrapper.removeClass("YTPFullscreen"),videoWrapper.CSSAnimate({opacity:YTPlayer.opt.opacity},YTPlayer.opt.fadeOnStartTime),videoWrapper.css({zIndex:0}),YTPlayer.isBackground?jQuery("body").after(controls):YTPlayer.wrapper.before(controls),jQuery(window).resize(),jQuery(YTPlayer).trigger("YTPFullScreenEnd"))})),YTPlayer.isAlone?(jQuery(document).off("mousemove.YTPlayer"),clearTimeout(YTPlayer.hideCursor),YTPlayer.overlay.css({cursor:"auto"}),real?cancelFullscreen():(videoWrapper.CSSAnimate({opacity:YTPlayer.opt.opacity},YTPlayer.opt.fadeOnStartTime),videoWrapper.css({zIndex:0})),fullScreenBtn.html(jQuery.mbYTPlayer.controls.onlyYT),YTPlayer.isAlone=!1):(jQuery(document).on("mousemove.YTPlayer",function(e){YTPlayer.overlay.css({cursor:"auto"}),clearTimeout(YTPlayer.hideCursor),jQuery(e.target).parents().is(".mb_YTPBar")||(YTPlayer.hideCursor=setTimeout(hideMouse,3e3))}),hideMouse(),real?(videoWrapper.css({opacity:0}),videoWrapper.addClass("YTPFullscreen"),launchFullscreen(videoWrapper.get(0)),setTimeout(function(){videoWrapper.CSSAnimate({opacity:1},2*YTPlayer.opt.fadeOnStartTime),videoWrapper.append(controls),jQuery(YTPlayer).optimizeDisplay(),YTPlayer.player.seekTo(YTPlayer.player.getCurrentTime()+.1,!0)},YTPlayer.opt.fadeOnStartTime)):videoWrapper.css({zIndex:1e4}).CSSAnimate({opacity:1},2*YTPlayer.opt.fadeOnStartTime),fullScreenBtn.html(jQuery.mbYTPlayer.controls.showSite),YTPlayer.isAlone=!0),this},toggleLoops:function(){var e=this.get(0),t=e.opt;return 1==t.loop?t.loop=0:(t.startAt?e.player.seekTo(t.startAt):e.player.playVideo(),t.loop=1),this},play:function(){var e=this.get(0),t=jQuery(e);return e.isReady&&(setTimeout(function(){t.YTPSetAbundance(e.opt.abundance)},300),e.player.playVideo(),jQuery(e.playerEl).css({opacity:1}),e.wrapper.css({backgroundImage:"none"}),e.wrapper.CSSAnimate({opacity:e.isAlone?1:e.opt.opacity}
1,e.opt.fadeOnStartTime),jQuery("#controlBar_"+e.id).find(".mb_YTPPlayPause").html(jQuery.mbYTPlayer.controls.pause),e.state=1),this},togglePlay:function(e){var t=this.get(0);return t.isReady&&(1==t.state?this.YTPPause():this.YTPPlay(),"function"==typeof e)&&e(t.state),this},stop:function(){var e=this.get(0);return e.isReady&&(jQuery("#controlBar_"+e.id).find(".mb_YTPPlayPause").html(jQuery.mbYTPlayer.controls.play),e.player.stopVideo()),this},pause:function(){var e=this.get(0);return e.isReady&&(e.opt.abundance<.2&&this.YTPSetAbundance(.2),e.player.pauseVideo(),e.state=2),this},seekTo:function(e){var t=this.get(0);return t.isReady&&t.player.seekTo(e,!0),this},getPlaybackRate:function(){var e=this.get(0);return e.isReady?e.player.getPlaybackRate():this},setPlaybackRate:function(e){var t=this.get(0);return t.isReady&&t.player.setPlaybackRate(e),this},setVolume:function(e){var t=this.get(0);return t.isReady&&(t.opt.vol=e,this.YTPUnmute(),t.player.setVolume(t.opt.vol),t.volumeBar)&&t.volumeBar.length&&t.volumeBar.updateSliderVal(e),this},getVolume:function(){var e=this.get(0);return e.isReady?e.player.getVolume():this},toggleVolume:function(){var e=this.get(0);return e.isReady&&(e.isMute?(jQuery.mbBrowser.mobile||this.YTPSetVolume(e.opt.vol),this.YTPUnmute()):this.YTPMute()),this},mute:function(){var e,t=this.get(0);return!t.isReady||t.isMute||(t.player.mute(),t.isMute=!0,t.player.setVolume(0),t.volumeBar&&t.volumeBar.length&&10<t.volumeBar.width()&&t.volumeBar.updateSliderVal(0),jQuery("#controlBar_"+t.id).find(".mb_YTPMuteUnmute").html(jQuery.mbYTPlayer.controls.unmute),jQuery(t).addClass("isMuted"),t.volumeBar&&t.volumeBar.length&&t.volumeBar.addClass("muted"),(e=jQuery.Event("YTPMuted")).time=t.currentTime,t.preventTrigger)||jQuery(t).trigger(e),this},unmute:function(){var e,t=this.get(0);return t.isReady&&t.isMute&&(t.player.unMute(),t.isMute=!1,jQuery(t).YTPSetVolume(t.opt.vol),t.volumeBar&&t.volumeBar.length&&t.volumeBar.updateSliderVal(10<t.opt.vol?t.opt.vol:10),jQuery("#controlBar_"+t.id).find(".mb_YTPMuteUnmute").html(jQuery.mbYTPlayer.controls.mute),jQuery(t).removeClass("isMuted"),t.volumeBar&&t.volumeBar.length&&t.volumeBar.removeClass("muted"),(e=jQuery.Event("YTPUnmuted")).time=t.currentTime,t.preventTrigger||jQuery(t).trigger(e)),this},applyFilter:function(e,t){var i=this.get(0);if(!i.isReady)return this;i.filters[e].value=t,i.filtersEnabled&&this.YTPEnableFilters()},applyFilters:function(e){var t=this,i=t.get(0);if(!i.isReady)return jQuery(i).on("YTPReady",function(){t.YTPApplyFilters(e)}),this;for(i in e)t.YTPApplyFilter(i,e[i]);t.trigger("YTPFiltersApplied")},toggleFilter:function(e,t){var i=this.get(0);return i.isReady&&(i.filters[e].value?i.filters[e].value=0:i.filters[e].value=t,i.filtersEnabled)&&jQuery(i).YTPEnableFilters(),this},toggleFilters:function(e){var t=this.get(0);return t.isReady&&(t.filtersEnabled?(jQuery(t).trigger("YTPDisableFilters"),jQuery(t).YTPDisableFilters()):(jQuery(t).YTPEnableFilters(),jQuery(t).trigger("YTPEnableFilters")),"function"==typeof e)&&e(t.filtersEnabled),this},disableFilters:function(){var e,t=this.get(0);return t.isReady&&((e=jQuery(t.playerEl)).css("-webkit-filter",""),e.css("filter",""),t.filtersEnabled=!1),this},enableFilters:function(){var e=this.get(0);if(e.isReady){var t=jQuery(e.playerEl),i="";for(t in e.filters)e.filters[t].value&&(i+=t.replace("_","-")+"("+e.filters[t].value+e.filters[t].unit+") ");t.css("-webkit-filter",i),t.css("filter",i),e.filtersEnabled=!0}return this},removeFilter:function(e,t){var i=this.get(0);if(i.isReady){if("function"==typeof e&&(t=e,e=null),e)this.YTPApplyFilter(e,0),"function"==typeof t&&t(e);else{for(var e in i.filters)i.filters.hasOwnProperty(e)&&(this.YTPApplyFilter(e,0),"function"==typeof t)&&t(e);i.filters=jQuery.extend(!0,{},jQuery.mbYTPlayer.defaultFilters)}var n=jQuery.Event("YTPFiltersApplied");this.trigger(n)}return this},getFilters:function(){var e=this.get(0);return e.isReady?e.filters:this},addMask:function(e){var t=this.get(0),i=(e=e||t.actualMask,jQuery("<img/>").attr("src",e).on("load",function(){t.overlay.CSSAnimate({opacity:0}
1,t.opt.fadeOnStartTime,function(){t.hasMask=!0,i.remove(),t.overlay.css({backgroundImage:"url("+e+")",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"cover"}),t.overlay.CSSAnimate({opacity:1},t.opt.fadeOnStartTime)})}));return this},removeMask:function(){var e=this.get(0);return e.overlay.CSSAnimate({opacity:0},e.opt.fadeOnStartTime,function(){e.hasMask=!1,e.overlay.css({backgroundImage:"",backgroundRepeat:"",backgroundPosition:"",backgroundSize:""}),e.overlay.CSSAnimate({opacity:1},e.opt.fadeOnStartTime)}),this},applyMask:function(i){if((n=jQuery(i)).off("YTPTime.mask"),i.opt.mask)if("string"==typeof i.opt.mask)n.YTPAddMask(i.opt.mask),i.actualMask=i.opt.mask;else if("object"==typeof i.opt.mask){for(var n in i.opt.mask)i.opt.mask[n]&&(img=jQuery("<img/>").attr("src",i.opt.mask[n]));i.opt.mask[0]&&n.YTPAddMask(i.opt.mask[0]),n.on("YTPTime.mask",function(e){for(var t in i.opt.mask)e.time==t&&(i.opt.mask[t]?(n.YTPAddMask(i.opt.mask[t]),i.actualMask=i.opt.mask[t]):n.YTPRemoveMask())})}},toggleMask:function(){var e=this.get(0),t=jQuery(e);return e.hasMask?t.YTPRemoveMask():t.YTPAddMask(),this},manageProgress:function(){var e=this.get(0),t=jQuery("#controlBar_"+e.id),i=t.find(".mb_YTPProgress"),n=t.find(".mb_YTPLoaded"),t=t.find(".mb_YTPseekbar"),i=i.outerWidth(),a=Math.floor(e.player.getCurrentTime()),s=Math.floor(e.player.getDuration()),i=a*i/s,e=100*e.player.getVideoLoadedFraction();return n.css({left:0,width:e+"%"}),t.css({left:0,width:i}),{totalTime:s,currentTime:a}},buildControls:function(YTPlayer){var buttonBar,playpause,MuteUnmute,volumeBar,idx,vURL,movieUrl,onlyVideo,progressBar,loadedBar,timeBar;(jQuery("#controlBar_"+YTPlayer.id).remove(),YTPlayer.opt.showControls)?(YTPlayer.opt.showYTLogo=YTPlayer.opt.showYTLogo||YTPlayer.opt.printUrl,jQuery("#controlBar_"+YTPlayer.id).length||(YTPlayer.controlBar=jQuery("<div/>").attr("id","controlBar_"+YTPlayer.id).addClass("mb_YTPBar").css({whiteSpace:"noWrap",position:YTPlayer.isBackground?"fixed":"absolute",zIndex:YTPlayer.isBackground?1e4:1e3}).hide().on("click",function(e){e.stopPropagation()}),buttonBar=jQuery("<div/>").addClass("buttonBar"),playpause=jQuery("<span>"+jQuery.mbYTPlayer.controls.play+"</span>").addClass("mb_YTPPlayPause ytpicon").on("click",function(e){e.stopPropagation(),jQuery(YTPlayer).YTPTogglePlay()}),MuteUnmute=jQuery("<span>"+jQuery.mbYTPlayer.controls.mute+"</span>").addClass("mb_YTPMuteUnmute ytpicon").on("click",function(e){e.stopPropagation(),jQuery(YTPlayer).YTPToggleVolume()}),volumeBar=jQuery("<div/>").addClass("mb_YTPVolumeBar").css({display:"inline-block"}),YTPlayer.volumeBar=volumeBar,idx=jQuery("<span/>").addClass("mb_YTPTime"),vURL=YTPlayer.opt.videoURL||"",vURL.indexOf("http")<0&&(vURL="https://www.youtube.com/watch?v="+YTPlayer.opt.videoURL),movieUrl=jQuery("<span/>").html(jQuery.mbYTPlayer.controls.ytLogo).addClass("mb_YTPUrl ytpicon").attr("title","view on YouTube").on("click",function(){window.open(vURL,"viewOnYT")}),onlyVideo=jQuery("<span/>").html(jQuery.mbYTPlayer.controls.onlyYT).addClass("mb_OnlyYT ytpicon").on("click",function(e){e.stopPropagation(),jQuery(YTPlayer).YTPFullscreen(YTPlayer.opt.realFullscreen)}),progressBar=jQuery("<div/>").addClass("mb_YTPProgress").css("position","absolute").on("click",function(e){e.stopPropagation(),timeBar.css({width:e.clientX-timeBar.offset().left}),YTPlayer.timeW=e.clientX-timeBar.offset().left,YTPlayer.controlBar.find(".mb_YTPLoaded").css({width:0});e=Math.floor(YTPlayer.player.getDuration());YTPlayer.goto=timeBar.outerWidth()*e/progressBar.outerWidth(),YTPlayer.player.seekTo(parseFloat(YTPlayer.goto),!0),YTPlayer.controlBar.find(".mb_YTPLoaded").css({width:0})}),loadedBar=jQuery("<div/>").addClass("mb_YTPLoaded").css("position","absolute"),timeBar=jQuery("<div/>").addClass("mb_YTPseekbar").css("position","absolute"),progressBar.append(loadedBar).append(timeBar),buttonBar.append(playpause).append(MuteUnmute).append(volumeBar).append(idx),YTPlayer.opt.showYTLogo&&buttonBar.append(movieUrl),(YTPlayer.isBackground||eval(YTPlayer.opt.realFullscreen)&&!YTPlayer.isBackgroun
1d)&&buttonBar.append(onlyVideo),YTPlayer.controlBar.append(buttonBar).append(progressBar),YTPlayer.isBackground?jQuery("body").after(YTPlayer.controlBar):(YTPlayer.controlBar.addClass("inlinePlayer"),YTPlayer.wrapper.before(YTPlayer.controlBar)),volumeBar.simpleSlider({initialval:YTPlayer.opt.vol,scale:100,orientation:"h",callback:function(e){0==e.value?jQuery(YTPlayer).YTPMute():jQuery(YTPlayer).YTPUnmute(),YTPlayer.player.setVolume(e.value),YTPlayer.isMute||(YTPlayer.opt.vol=e.value)}}))):YTPlayer.controlBar=!1},changeCoverImage:function(e){var t=this.get(0);return(t.opt.coverImage||t.orig_containment_background)&&(e=e||(t.opt.coverImage?"url("+t.opt.coverImage+") center center":t.orig_containment_background))&&t.opt.containment.css({background:e,backgroundSize:"cover",backgroundAttachment:"fixed"}),this},checkForState:function(){var YTPlayer=this.get(0),$YTPlayer=jQuery(YTPlayer),interval=(clearInterval(YTPlayer.getState),100);jQuery.contains(document,YTPlayer)?(jQuery.mbYTPlayer.checkForStart(YTPlayer),YTPlayer.getState=setInterval(function(){var $YTPlayer=jQuery(YTPlayer);if(YTPlayer.isReady){var prog=jQuery(YTPlayer).YTPManageProgress(),stopAt=YTPlayer.opt.stopAt>YTPlayer.opt.startAt?YTPlayer.opt.stopAt:0,e,stopAt=stopAt<YTPlayer.player.getDuration()?stopAt:0,e,e;if(YTPlayer.currentTime!=prog.currentTime&&(e=jQuery.Event("YTPTime"),e.time=YTPlayer.currentTime,jQuery(YTPlayer).trigger(e)),YTPlayer.currentTime=prog.currentTime,YTPlayer.totalTime=YTPlayer.player.getDuration(),0==YTPlayer.player.getVolume()?$YTPlayer.addClass("isMuted"):$YTPlayer.removeClass("isMuted"),YTPlayer.opt.showControls&&(prog.totalTime?YTPlayer.controlBar.find(".mb_YTPTime").html(jQuery.mbYTPlayer.formatTime(prog.currentTime)+" / "+jQuery.mbYTPlayer.formatTime(prog.totalTime)):YTPlayer.controlBar.find(".mb_YTPTime").html("-- : -- / -- : --")),eval(YTPlayer.opt.stopMovieOnBlur)&&(document.hasFocus()?document.hasFocus()&&!YTPlayer.hasFocus&&-1!=YTPlayer.state&&0!=YTPlayer.state&&(YTPlayer.hasFocus=!0,YTPlayer.preventTrigger=!0,$YTPlayer.YTPPlay()):1==YTPlayer.state&&(YTPlayer.hasFocus=!1,YTPlayer.preventTrigger=!0,$YTPlayer.YTPPause())),YTPlayer.opt.playOnlyIfVisible&&(e=jQuery.mbYTPlayer.isOnScreen(YTPlayer,YTPlayer.opt.onScreenPercentage),e||1!=YTPlayer.state?e&&!YTPlayer.isOnScreen&&(YTPlayer.isOnScreen=!0,YTPlayer.player.playVideo()):(YTPlayer.isOnScreen=!1,$YTPlayer.YTPPause())),YTPlayer.controlBar.length&&YTPlayer.controlBar.outerWidth()<=400&&!YTPlayer.isCompact?(YTPlayer.controlBar.addClass("compact"),YTPlayer.isCompact=!0,!YTPlayer.isMute&&YTPlayer.volumeBar&&YTPlayer.volumeBar.updateSliderVal(YTPlayer.opt.vol)):YTPlayer.controlBar.length&&400<YTPlayer.controlBar.outerWidth()&&YTPlayer.isCompact&&(YTPlayer.controlBar.removeClass("compact"),YTPlayer.isCompact=!1,!YTPlayer.isMute)&&YTPlayer.volumeBar&&YTPlayer.volumeBar.updateSliderVal(YTPlayer.opt.vol),0<YTPlayer.player.getPlayerState()&&(parseFloat(YTPlayer.player.getDuration()-YTPlayer.opt.fadeOnStartTime/1e3)<YTPlayer.player.getCurrentTime()||0<stopAt&&parseFloat(YTPlayer.player.getCurrentTime())>=stopAt)&&!YTPlayer.isEnded){if(YTPlayer.isEnded=!0,setTimeout(function(){YTPlayer.isEnded=!1},1e3),YTPlayer.isList){if(!YTPlayer.opt.loop||0<YTPlayer.opt.loop&&YTPlayer.player.loopTime===YTPlayer.opt.loop-1)return YTPlayer.player.loopTime=void 0,clearInterval(YTPlayer.getState),e=jQuery.Event("YTPEnd"),e.time=YTPlayer.currentTime,void jQuery(YTPlayer).trigger(e)}else if(!YTPlayer.opt.loop||0<YTPlayer.opt.loop&&YTPlayer.player.loopTime===YTPlayer.opt.loop-1)return YTPlayer.player.loopTime=void 0,YTPlayer.state=2,$YTPlayer.changeCoverImage(YTPlayer),jQuery(YTPlayer).YTPPause(),void YTPlayer.wrapper.CSSAnimate({opacity:0}
1,YTPlayer.opt.fadeOnStartTime,function(){YTPlayer.controlBar.length&&YTPlayer.controlBar.find(".mb_YTPPlayPause").html(jQuery.mbYTPlayer.controls.play),$YTPlayer.changeCoverImage();var e=jQuery.Event("YTPEnd");e.time=YTPlayer.currentTime,jQuery(YTPlayer).trigger(e),YTPlayer.player.seekTo(YTPlayer.opt.startAt,!0)});YTPlayer.player.loopTime=YTPlayer.player.loopTime?++YTPlayer.player.loopTime:1,YTPlayer.opt.startAt=YTPlayer.opt.startAt||1,YTPlayer.preventTrigger=!0,YTPlayer.state=2,YTPlayer.player.seekTo(YTPlayer.opt.startAt,!0)}}},interval)):($YTPlayer.YTPPlayerDestroy(),clearInterval(YTPlayer.getState),clearInterval(YTPlayer.checkForStartAt))},checkForStart:function(YTPlayer){var $YTPlayer=jQuery(YTPlayer),e,startAt;if(jQuery.contains(document,YTPlayer))return jQuery.mbYTPlayer.buildControls(YTPlayer),YTPlayer.overlay&&(YTPlayer.opt.addRaster?(e="dot"==YTPlayer.opt.addRaster?"raster-dot":"raster",YTPlayer.overlay.addClass(YTPlayer.isRetina?e+" retina":e)):YTPlayer.overlay.removeClass(function(e,t){var t=t.split(" "),i=[];return jQuery.each(t,function(e,t){/raster.*/.test(t)&&i.push(t)}),i.push("retina"),i.join(" ")})),YTPlayer.preventTrigger=!0,YTPlayer.state=2,YTPlayer.preventTrigger=!0,YTPlayer.player.mute(),YTPlayer.player.playVideo(),YTPlayer.isStarting=!0,startAt=YTPlayer.start_from_last||YTPlayer.opt.startAt||1,YTPlayer.preventTrigger=!0,YTPlayer.checkForStartAt=setInterval(function(){YTPlayer.player.mute(),YTPlayer.player.seekTo(startAt,!0);var canPlayVideo=YTPlayer.player.getVideoLoadedFraction()>=startAt/YTPlayer.player.getDuration(),YTPready,e;jQuery.browser.mobile&&(canPlayVideo=!0),0<YTPlayer.player.getDuration()&&YTPlayer.player.getCurrentTime()>=startAt&&canPlayVideo&&(YTPlayer.start_from_last=null,YTPlayer.preventTrigger=!0,$YTPlayer.YTPPause(),clearInterval(YTPlayer.checkForStartAt),"function"==typeof YTPlayer.opt.onReady&&YTPlayer.opt.onReady(YTPlayer),YTPlayer.isReady=!0,$YTPlayer.YTPRemoveFilter(),YTPlayer.opt.addFilters?$YTPlayer.YTPApplyFilters(YTPlayer.opt.addFilters):$YTPlayer.YTPApplyFilters(),$YTPlayer.YTPEnableFilters(),YTPready=jQuery.Event("YTPReady"),YTPready.time=YTPlayer.currentTime,$YTPlayer.trigger(YTPready),YTPlayer.state=2,YTPlayer.opt.mute?$YTPlayer.YTPMute():(YTPlayer.opt.autoPlay&&(console.debug("To make the video 'auto-play' you must mute the audio according with the latest vendor policy"),YTPlayer.player.mute()),YTPlayer.player.unMute()),"undefined"!=typeof _gaq&&eval(YTPlayer.opt.gaTrack)?_gaq.push(["_trackEvent","YTPlayer","Play",YTPlayer.hasData?YTPlayer.videoData.title:YTPlayer.videoID.toString()]):"undefined"!=typeof ga&&eval(YTPlayer.opt.gaTrack)&&ga("send","event","YTPlayer","play",YTPlayer.hasData?YTPlayer.videoData.title:YTPlayer.videoID.toString()),YTPlayer.opt.autoPlay?(e=jQuery.Event("YTPStart"),e.time=YTPlayer.currentTime,jQuery(YTPlayer).trigger(e),YTPlayer.isStarting=!1,"mac"===jQuery.mbBrowser.os.name&&jQuery.mbBrowser.safari&&jQuery("body").one("mousedown.YTPstart",function(){$YTPlayer.YTPPlay()}),$YTPlayer.YTPPlay(),console.timeEnd(YTPtimerLabels.startPlaying)):(YTPlayer.preventTrigger=!0,$YTPlayer.YTPPause(),YTPlayer.start_from_last&&YTPlayer.player.seekTo(startAt,!0),setTimeout(function(){YTPlayer.preventTrigger=!0,$YTPlayer.YTPPause(),YTPlayer.isPlayer||(YTPlayer.opt.coverImage?(YTPlayer.wrapper.css({opacity:0}),setTimeout(function(){$YTPlayer.changeCoverImage()},YTPlayer.opt.fadeOnStartTime)):(jQuery(YTPlayer.playerEl).CSSAnimate({opacity:1},YTPlayer.opt.fadeOnStartTime),YTPlayer.wrapper.CSSAnimate({opacity:YTPlayer.isAlone?1:YTPlayer.opt.opacity},YTPlayer.opt.fadeOnStartTime))),YTPlayer.isStarting=!1},500),YTPlayer.controlBar.length&&YTPlayer.controlBar.find(".mb_YTPPlayPause").html(jQuery.mbYTPlayer.controls.play)),YTPlayer.isPlayer&&!YTPlayer.opt.autoPlay&&YTPlayer.loading&&YTPlayer.loading.length&&(YTPlayer.loading.html("Ready"),setTimeout(function(){YTPlayer.loading.fadeOut()},100)),YTPlayer.controlBar)&&YTPlayer.controlBar.length&&YTPlayer.controlBar.slideDown(1e3),"mac"===jQuery.mbBrowser.os.name&&jQuery.mbBrowser.safari&&(YTPlayer.player.playVideo(),0<=startAt)&&YTPlayer.player.seekTo(startAt,!0)},100),$YTPlayer;$YTPlayer.YTPPlayerDestroy()},getTime:function(){var e=this.get(0);return jQuery.mbYTPlayer.formatTime(e.currentTime)},getTotalTime:function(){var e=this.get(0);return jQuery.mbYTPlayer.formatTime(e.totalTime)},formatTime:function(e){var t=Math.floor(e/60),e=Math.floor(e-60*t);return(t<=9?"0"+t:t)+" : "+(e<=9?"0"+e:e)},setAnchor:function(e){this.optimizeDisplay(e)},getAnchor:function(){return this.get(0).opt.anchor},setAbundance:function(e,t){var i=this.get(0);return t&&(i.opt.abundance=e),this.optimizeDisplay(i.opt.anchor,e),this},getAbundance:function(){return this.get(0).opt.abundance},setOption:function(e,t){return this.get(0).opt[e]=t,this}},jQuery.fn.optimizeDisplay=function(anchor,abundanceX){var YTPlayer=this.get(0),vid={},el=YTPlayer.wrapper,iframe=jQuery(YTPlayer.playerEl),YTPAlign=(YTPlayer.opt.anchor=anchor||YTPlayer.opt.anchor,YTPlayer.opt.anchor="undefined "!=typeof YTPlayer.opt.anchor?YTPlayer.opt.anchor:"center,center",YTPlayer.opt.anchor.split(",")),ab=abundanceX||YTPlayer.opt.abundance;if(YTPlayer.opt.optimizeDisplay){var abundance=el.height()*ab,win={},lowest=(win.width=el.outerWidth(),win.height=el.outerHeight()+abundance,YTPlayer.opt.ratio="auto"===YTPlayer.opt.ratio?16/9:YTPlayer.opt.ratio,YTPlayer.opt.ratio=eval(YTPlayer.opt.ratio),vid.width=win.width+abundance,vid.height=Math.ceil(vid.width/YTPlayer.opt.ratio),vid.marginTop=Math.ceil(-(vid.height-win.height+abundance)/2),vid.marginLeft=-abundance/2,vid.height<win.height),e;for(e in lowest&&(vid.height=win.height+abundance,vid.width=Math.ceil(vid.height*YTPlayer.opt.ratio),vid.marginTop=-abundance/2,vid.marginLeft=Math.ceil(-(vid.width-win.width)/2)),YTPAlign)if(YTPAlign.hasOwnProperty(e)){var r=YTPAlign[e].replace(/ /g,"");switch(r){case"top":vid.marginTop=-abundance;break;case"bottom":vid.marginTop=Math.ceil(-(vid.height-win.height)-abundance/2);break;case"left":vid.marginLeft=-abundance;break;case"right":vid.marginLeft=Math.ceil(-(vid.width-win.width)+abundance/2)}}}else vid.width="100%",vid.height="100%",vid.marginTop=0,vid.marginLeft=0;iframe.css({width:vid.width,height:vid.height,marginTop:vid.marginTop,marginLeft:vid.marginLeft,maxWidth:"initial"})},jQuery.shuffle=function(e){for(var t=e.slice(),i=t.length,n=i;n--;){var e=parseInt(Math.random()*i),a=t[n];t[n]=t[e],t[e]=a}return t},jQuery.fn.unselectable=function(){return this.each(function(){jQuery(this).css({"-moz-user-select":"none","-webkit-user-select":"none","user-select":"none"}).attr("unselectable","on")})},jQuery.fn.YTPlayer=jQuery.mbYTPlayer.buildPlayer,jQuery.fn.mb_YTPlayer=jQuery.mbYTPlayer.buildPlayer,jQuery.fn.YTPCheckForState=jQuery.mbYTPlayer.checkForState,jQuery.fn.YTPGetPlayer=jQuery.mbYTPlayer.getPlayer,jQuery.fn.YTPGetVideoID=jQuery.mbYTPlayer.getVideoID,jQuery.fn.YTPGetPlaylistID=jQuery.mbYTPlayer.getPlaylistID,jQuery.fn.YTPChangeVideo=jQuery.fn.YTPChangeMovie=jQuery.mbYTPlayer.changeVideo,jQuery.fn.YTPPlayerDestroy=jQuery.mbYTPlayer.playerDe
vendor: 4,190 bytes, line 1
1stroy,jQuery.fn.YTPPlay=jQuery.mbYTPlayer.play,jQuery.fn.YTPTogglePlay=jQuery.mbYTPlayer.togglePlay,jQuery.fn.YTPStop=jQuery.mbYTPlayer.stop,jQuery.fn.YTPPause=jQuery.mbYTPlayer.pause,jQuery.fn.YTPSeekTo=jQuery.mbYTPlayer.seekTo,jQuery.fn.YTPGetPlaybackRate=jQuery.mbYTPlayer.getPlaybackRate,jQuery.fn.YTPSetPlaybackRate=jQuery.mbYTPlayer.setPlaybackRate,jQuery.fn.changeCoverImage=jQuery.mbYTPlayer.changeCoverImage,jQuery.fn.YTPlaylist=jQuery.mbYTPlayer.playlist,jQuery.fn.YTPPlayNext=jQuery.mbYTPlayer.playNext,jQuery.fn.YTPPlayPrev=jQuery.mbYTPlayer.playPrev,jQuery.fn.YTPPlayIndex=jQuery.mbYTPlayer.playIndex,jQuery.fn.YTPMute=jQuery.mbYTPlayer.mute,jQuery.fn.YTPUnmute=jQuery.mbYTPlayer.unmute,jQuery.fn.YTPToggleVolume=jQuery.mbYTPlayer.toggleVolume,jQuery.fn.YTPSetVolume=jQuery.mbYTPlayer.setVolume,jQuery.fn.YTPGetVolume=jQuery.mbYTPlayer.getVolume,jQuery.fn.YTPGetVideoData=jQuery.mbYTPlayer.getVideoData,jQuery.fn.YTPFullscreen=jQuery.mbYTPlayer.fullscreen,jQuery.fn.YTPToggleLoops=jQuery.mbYTPlayer.toggleLoops,jQuery.fn.YTPManageProgress=jQuery.mbYTPlayer.manageProgress,jQuery.fn.YTPSetVideoQuality=jQuery.mbYTPlayer.setVideoQuality,jQuery.fn.YTPGetVideoQuality=jQuery.mbYTPlayer.getVideoQuality,jQuery.fn.YTPApplyFilter=jQuery.mbYTPlayer.applyFilter,jQuery.fn.YTPApplyFilters=jQuery.mbYTPlayer.applyFilters,jQuery.fn.YTPToggleFilter=jQuery.mbYTPlayer.toggleFilter,jQuery.fn.YTPToggleFilters=jQuery.mbYTPlayer.toggleFilters,jQuery.fn.YTPRemoveFilter=jQuery.mbYTPlayer.removeFilter,jQuery.fn.YTPDisableFilters=jQuery.mbYTPlayer.disableFilters,jQuery.fn.YTPEnableFilters=jQuery.mbYTPlayer.enableFilters,jQuery.fn.YTPGetFilters=jQuery.mbYTPlayer.getFilters,jQuery.fn.YTPGetTime=jQuery.mbYTPlayer.getTime,jQuery.fn.YTPGetTotalTime=jQuery.mbYTPlayer.getTotalTime,jQuery.fn.YTPAddMask=jQuery.mbYTPlayer.addMask,jQuery.fn.YTPRemoveMask=jQuery.mbYTPlayer.removeMask,jQuery.fn.YTPToggleMask=jQuery.mbYTPlayer.toggleMask,jQuery.fn.YTPGetAbundance=jQuery.mbYTPlayer.getAbundance,jQuery.fn.YTPSetAbundance=jQuery.mbYTPlayer.setAbundance,jQuery.fn.YTPSetAnchor=jQuery.mbYTPlayer.setAnchor,jQuery.fn.YTPGetAnchor=jQuery.mbYTPlayer.getAnchor,jQuery.fn.YTPSetOption=jQuery.mbYTPlayer.setOption}(jQuery,ytp);var nAgt=navigator.userAgent;function isTouchSupported(){var e=nAgt.msMaxTouchPoints,t="ontouchstart"in document.createElement("div");return!(!e&&!t)}jQuery.browser=jQuery.browser||{},jQuery.browser.mozilla=!1,jQuery.browser.webkit=!1,jQuery.browser.opera=!1,jQuery.browser.safari=!1,jQuery.browser.chrome=!1,jQuery.browser.androidStock=!1,jQuery.browser.msie=!1,jQuery.browser.edge=!1,jQuery.browser.ua=nAgt;var getOS=function(){var e={version:"Unknown version",name:"Unknown OS"};return-1!=navigator.appVersion.indexOf("Win")&&(e.name="Windows"),-1!=navigator.appVersion.indexOf("Mac")&&navigator.appVersion.indexOf("Mobile")<0&&(e.name="Mac"),-1!=navigator.appVersion.indexOf("Linux")&&(e.name="Linux"),/Mac OS X/.test(nAgt)&&!/Mobile/.test(nAgt)&&(e.version=/Mac OS X ([\._\d]+)/.exec(nAgt)[1],e.version=e.version.replace(/_/g,".").substring(0,5)),/Windows/.test(nAgt)&&(e.version="Unknown.Unknown"),/Windows NT 5.1/.test(nAgt)&&(e.version="5.1"),/Windows NT 6.0/.test(nAgt)&&(e.version="6.0"),/Windows NT 6.1/.test(nAgt)&&(e.version="6.1"),/Windows NT 6.2/.test(nAgt)&&(e.version="6.2"),/Windows NT 10.0/.test(nAgt)&&(e.version="10.0"),/Linux/.test(nAgt)&&/Linux/.test(nAgt)&&(e.version="Unknown.Unknown"),e.name=e.name.toLowerCase(),e.major_version="Unknown",e.minor_version="Unknown","Unknown.Unknown"!=e.version&&(e.major_version=parseFloat(e.version.split(".")[0]),e.minor_version=parseFloat(e.version.split(".")[1])),e},nameOffset,verOffset,ix,start,end,mainCartUrl;function uncamel(e){return e.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})}function setUnit(e,t){return"string"!=typeof e||e.match(/^[\-0-9\.]+jQuery/)?""+e+t:e}function setFilter(e,t,i){var n=uncamel(t),a=jQuery.browser.mozilla?"":jQuery.CSS.sfx;e[a+"filter"]=e[a+"filter"]||"",i=setUnit(i>jQuery.CSS.filters[t].max?jQuery.CSS.filters[t].max:i,jQuery.CSS.filters[t].unit),e[a+"filter"]+=n+"("+i+") ",delete e[t]}function handleAddToCart(){$("body").on("click",".GosAddToCart",function(){var e=$
1(this).attr("data-productvariantnocomplete"),t=$(this).attr("data-productpackid");let i=$(this).attr("data-redirecttocart"),n=$(this).attr("data-hidesuccessalert");var a=$(this).attr("data-coupon");let s=$(this).attr("data-locale")?$(this).attr("data-locale"):"pl";null===e&&null===t||$.ajax({type:"POST",url:"/koszyk/dodaj",data:{productVariantNoComplete:e,productPackId:t,couponCode:a},success:function(e){var t;"ok"===e.success?(sessionStorage.setItem("backToShoppingUrl",window.location.pathname),$("#cartProductCount").html(e.userbar.quantity),$("#cartTotalPrice").html(e.userbar.price),"function"==typeof gtag&&e.gaEvent&&e.gaEvent.forEach(function(e){gtag.apply(this,e)}),t="pl"==s?"/koszyk":"/cart","true"===i?window.location.href=t:"true"!==n&&swal({title:"pl"==s?"Dodano produkt do koszyka":"Product added to cart",text:"pl"==s?"Produkt został poprawnie dodany do Twojego koszyka":"The product has been successfully added to your cart",type:"success",reverseButtons:!0,showCancelButton:!0,showConfirmButton:!0,confirmButtonText:"pl"==s?"Przejdź do koszyka":"Go to cart",cancelButtonText:"pl"==s?"Kontynuuj zakupy":"Continue shopping"}).then(function(e){!0!==e&&!0!==e.value||(window.location.href=t)}).catch(swal.noop)):"Product not found"===e.message?sendMsgSweetAlert("error","","pl"==s?"Nie znaleziono produktu":"Product not found"):(console.log(e.error),null!==e.message&&sendMsgSweetAlert("error","",e.message))},error:function(){sendMsgSweetAlert("error","","Ups, coś poszło nie tak. Spróbuj ponownie później.")}})})}function handleAjaxUpsellingAddToCart(){$("body").on("click",".upselling-add-to-cart",function(e){e.preventDefault(),activeSpinner("show");var t=$(this);t.prop("disabled","disabled"),$.ajax({type:"POST",url:"/koszyk/dodaj",data:{productVariantNoComplete:t.data("productvariantnocomplete"),couponCode:t.data("coupon"),upsellingType:1},success:function(e){"ok"===e.success&&(t.prop("disabled",!0),"function"==typeof gtag&&e.gaEvent&&e.gaEvent.forEach(function(e){gtag.apply(this,e)}),window.location.reload())},error:function(){t.prop("disabled",""),activeSpinner("hide"),sendMsgSweetAlert("error","","Nie udało się dodać produktu do koszyka. Spróbuj ponownie później.")}})})}function checkIfscreenerExist(){(0<$(".iframe-screener-container").length||0<$(".screening").length)&&($("body").addClass("body--screener"),0===$(".iframe-screener-container").length)&&$("body").addClass("body--screener-noIframe")}function adjustScreener(){var e=$(".top-bar .header-iframe").height(),t=$(".top-bar").height(),i=$(".iframe-screener-container"),n=$("body");i.length&&(699<$(window).width()?(n.hasClass("body-event2")&&n.hasClass("body-landingPage")||i.css("padding-top",e+"px"),n.hasClass("body-landingPage")&&i.css("padding-top",t+"px"),n.hasClass("body-multipage")&&(t=0,$("header#menu-2k23").length&&(t=$("header#menu-2k23").outerHeight()),i.css("padding-top",e+t+"px"))):i.css("padding-top","0px"),1199<$(window).width())&&n.hasClass("body-event2")&&i.css("padding-top",$("body > header").height()+"px")}function screenerExceptions(){$("body").hasClass("body-event")&&0===$(".iframe-screener-container").length&&$(".container--screener").css("margin-top","0px")}function displayMobileBottom(){$(".promo-mobile-bar").show()}function handleMobileBottomSection(){$("body").on("click","#mobile-bottom__close",function(){$(".promo-mobile-bar").hide(),$("body").removeClass("body-lock-mobile-belka"),kcSetCookie("forumMobileBottom","true",1)}),$("body").on("click","#small-image",function(e){$(this).hasClass("bigger")&&(e.preventDefault(),$(this).hide(),$(this).closest(".mobile-bottom").find(".big-image").addClass("show"),$(".big-image-inner").addClass("kcfullheight"),$("body").addClass("body-lock-mobile-belka"))}),window.addEventListener("message",function(e){"displayFullMobileBarIframe"===e.data&&($("#iframe-mobile-bar").addClass("iframe-mobile-bar--full kcfullheight"),$("body").addClass("body-lock-mobile-belka")),"closeMobileBarIframe"===e.data&&($(".promo-mobile-bar").hide(),kcSetCookie("forumMobileBottom","true",1),$("body").removeClass("body-lock-mobile-belka"))}),setDocHeight(),window.addEventListener("resize",setDocHeight),window.addEventListener("orientationchange",setDocHeight)}function handleFullWelcome(){initFullWelcomeBanner(),$("body").on("click",".full-welcome-close",function(){closeFullWelcome("#full-welcome")})}
1function handleFullWelcomeIframe(){var e=$("#iframe-full-welcome");e.length&&e.on("load",function(){initFullWelcomeBanner()})}function initFullWelcomeBanner(){var e=$("#full-welcome"),t=$("#iframe-full-welcome");(e.length||t.length)&&($(window).scrollTop(0,0),$("body").addClass("body-lock"),history.scrollRestoration)&&(history.scrollRestoration="manual"),e.length&&(e.addClass("full-welcome--show"),initFullWelcomeCountdown()),t.length&&($(".iframe-full-welcome-container").show(),window.addEventListener("message",function(e){"iframeFullWelcomeWasClosed"===e.data&&closeFullWelcome(".iframe-full-welcome-container")}))}function initFullWelcomeCountdown(){var e=30,t=e-5,i=$(".full-welcome-timer"),n=setInterval(function(){i.text(e),e===t&&$(".full-welcome-close").removeAttr("disabled"),--e<0&&(clearInterval(n),closeFullWelcome("#full-welcome"))},1e3)}function closeFullWelcome(e){$(e).hide(),$("body").removeClass("body-lock")}function kcSetCookie(e,t,i){var n=new Date,i=(n.setDate(n.getDate()+i),n.toUTCString());document.cookie=e+"="+t+"; expires="+i+"; path=/"}function kcCheckCookie(e){for(var t=document.cookie.split(";"),i=0;i<t.length;i++)if(0===t[i].trim().indexOf(e+"="))return!0;return!1}function setDocHeight(){document.documentElement.style.setProperty("--vh",window.innerHeight/100+"px")}function jumpToHighlighted(){setTimeout(function(){var t,e=new URLSearchParams(window.location.search);e.has("highlighted")&&(t=e.get("highlighted"),$("*:contains("+t+")").each(function(){var e;if($(this).children().length<1)return e=$(this).text().replace(t,'<span style="background-color: #E9D2FD; color: #000;">'+t+"</span>"),$(this).html(e),$("html, body").animate({scrollTop:$(this).offset().top-100}),!1}))},1e3)}function goBackToAddressForm(){$(".order-comment").addClass("d-none"),$(".product-cart-2-summary-wrapper").slideUp(),$(".participants-fields-container").slideUp(),$(".agreement-fields-container").slideUp(),$(".shipping-fields-container").slideUp(),$(".product-cart-2-summary-shipment").slideUp(),$(".card-pay-method-container").slideUp(),handleCartMoveSubmitButton(!1),$(".order-address-client-type-button-container").slideDown(),$(".order-address-container").slideDown(),$(".cart-heading-container--1").removeClass("done"),$(".cart-heading-container").removeClass("active"),$(".cart-heading-container--1").addClass("active"),$(".cart-heading-container--1 .cart-heading-step").html(1),$(".cart-heading-container--shipping").removeClass("done").find(".cart-heading-step").html($(".cart-heading-container--shipping").attr("data-step-number")),$(".cart-heading-container--2").removeClass("done").find(".cart-heading-step").html("2")}function handleFirstStepInCart(){$("body").on("click",".cart-next-button",function(e){var t=$(this);e.preventDefault(),t.is(":disabled")||t.attr("disabled")?swal({icon:"error",text:"Twój koszyk jest pusty. Dodaj produkty, aby kontynuować zakupy."}):(activeSpinner("show"),$.ajax({url:"/koszyk/walidacja",type:"POST",dataType:"json"}).done(function(e){!0===e.success?window.location.href=t.attr("href"):(swal({icon:"error",title:"Ups…",html:e.messages.join("<br><br>")}),activeSpinner("hide"))}).fail(function(){swal({icon:"error",title:"Błąd",text:"Coś poszło nie tak. Spróbuj ponownie później."}),activeSpinner("hide")}))})}function validateCartForm(){$(".order-ajax-form-address-form").validate({invalidHandler:function(e,t){var t=t.numberOfInvalids(),i=$(window).width(),n=$("#deliveryAddressProductContent");t&&($("#deliveryAddressProduct").is(":checked")?(768<=i&&n.css("height",400),i<576&&n.css("height",760)):(768<=i&&n.css("height",360),i<576&&n.css("height",565)))}});var e=$(".order-ajax-form-address-form").attr("data-errorMessage1"),t=$(".order-ajax-form-address-form").attr("data-errorMessage2"),i=$(".order-ajax-form-address-form").attr("data-errorMessage3");jQuery.extend(jQuery.validator.messages,{email:e,required:t,minlength:$.validator.format(i)}),$.validator.addMethod("regex",function(e,t,i){i=new RegExp(i);return this.optional(t)||i.test(e)},"Dane są niepoprawne"),$("input[id$='_person_firstName']").rules("add",{normalizer
1:function(e){return $.trim(e)},regex:"^[a-zążźńółęśćA-ZĄŻŹŃÓŁĘŚĆ.äöüßÄÖÜ ]{3,}$"}),$("input[id$='_person_lastName']").rules("add",{normalizer:function(e){return $.trim(e)},regex:"^[a-zążźńółęśćA-ZĄŻŹŃÓŁĘŚĆ\\-.äöüßÄÖÜ ]{2,}$"}),$("input[id$='_address']").rules("add",{normalizer:function(e){return $.trim(e)},regex:"^[a-zążźńółęśćA-ZĄŻŹŃÓŁĘŚĆ0-9\\-.äöüßÄÖÜ ]{2,}$"}),$("input[id$='_city']").rules("add",{normalizer:function(e){return $.trim(e)},regex:"^[a-zążźńółęśćA-ZĄŻŹŃÓŁĘŚĆ0-9\\-.äöüßÄÖÜ ]{2,}$"}),$("input[id$='_nip']").rules("add",{regex:"^\\d{10}$"}),$("input[id$='_idWew']").rules("add",{regex:"^[0-9]{10}-[0-9]{5}$"})}function displayGiftSummary(){var e,t,i,n,a,s;$(".product-cart-2-summary--gift-recipient").length&&(s=$("#gift-info").attr("data-gift-name").trim(),e=$('input[id*="customer_giftRecipient_name"]').val(),t=$('input[id*="customer_giftRecipient_recipientEmail"]').val(),i=$('input[id*="giftRecipient_message"]').val(),n=$('input[id*="giftRecipient_signature"]').val(),a=$(".product-cart-2-summary-wrapper"),s='<div class="product-cart-2-gift-summary"><div class="ribbon ribbon-top-right"><span>'+$(".product-cart-2-summary--gift-recipient").attr("data-trans-ribbon")+'</span></div><div class="container d-inline-block"><div class="row"><span class="gift-icon"></span><h5>'+$(".product-cart-2-summary--gift-recipient").attr("data-trans-title")+'</h5></div><div class="row"><div class="col-12"><p class="giftProductName">'+s+'</p><p class="giftRecipient">'+e+' <a href="mailto:'+t+'">'+t+'</a></p><p class="giftMessage">'+i+'</p><p class="giftSignature">'+n+"</p></div></div></div></div>",a.find(".product-cart-2-gift-summary").remove(),a.append(s))}function handleFormSubmit(){$("body").on("submit",".order-ajax-form-address-form",function(e){e.preventDefault();var e=$(this),t=new FormData(this),a=$(".product-cart-2");t.append("emailToSendInvoice",$("#customer_email").val()),t.append("documentDistributionChannel","E"),$.ajax({url:e.attr("action"),data:t,method:"POST",processData:!1,contentType:!1,success:function(n){var e;n.success&&a.length?$.ajax({url:mainCartUrl+"update-details",method:"GET",success:function(e){var t,i;$(".terms-container").html(e.terms),$(".vat-container").html(e.vat),$(".payment-container").html(e.payment),$(".card-pay-method-container").slideDown(),$(".address-validate-error").hide(),prepareSummaryAddress(n.clientType).slideDown(),$(".order-address-client-type-button-container").slideUp(),$(".order-address-container").slideUp(),"2"===a.attr("data-cart-steps").trim()?(handleCartMoveSubmitButton(!0),$(".agreement-fields-container").slideDown()):$(".participants-fields-container").length?($(".participants-fields-container").slideDown(),$(".participants-fields-container .order-participant-title:first").click(),"private"===n.clientType?(t="input[id^='participant_'][id*='_phone']",$("input[id^='participant_'][id*='_firstName']").val($("#customer_person_firstName").val()).prop("readonly",!0).addClass("disabled"),$("input[id^='participant_'][id*='_lastname']").val($("#customer_person_lastName").val()).prop("readonly",!0).addClass("disabled"),$("#customer_person_position").length&&$("input[id^='participant_'][id*='_position']").val($("#customer_person_position").val()).prop("readonly",!0).addClass("disabled"),(e=$("#customer_person_phoneNumber")).length&&(i=""!==(e=(e.val()||"").trim()),$(t).val(e).prop("readonly",i).toggleClass("disabled",i)),$(t).off("input.privatePhoneSync change.privatePhoneSync").on("input.privatePhoneSync change.privatePhoneSync",function(){var e=$
1(this).val();$(t).not(this).val(e)}),$("input[id^='participant_'][id*='_email']").val($("#customer_email").val()).prop("readonly",!0).addClass("disabled"),$(".order-participant-footer").addClass("d-none")):($("input[id^='participant_'][id*='_firstName']").removeClass("disabled").prop("readonly",!1),$("input[id^='participant_'][id*='_lastname']").removeClass("disabled").prop("readonly",!1),$("input[id^='participant_'][id*='_position']").removeClass("disabled").prop("readonly",!1),$("input[id^='participant_'][id*='_phone']").removeClass("disabled").prop("readonly",!1),$("input[id^='participant_'][id*='_phone']").off("input.privatePhoneSync change.privatePhoneSync"),$("input[id^='participant_'][id*='_email']").removeClass("disabled").prop("readonly",!1),$(".order-participant-footer").removeClass("d-none")),$(".continue-participant").show()):$(".shipping-fields-container").length&&$(".shipping-fields-container").slideDown(),$(".order-comment").removeClass("d-none"),$(".cart-heading-container--1").addClass("done"),$(".cart-heading-container--1 .cart-heading-step").html('<span class="cart-check-icon"></span>'),$(".order-address-container-inner").find(".nice-field.has-error").find("ul").remove(),!1===$(".cart-heading-container--2").hasClass("done")&&$(".cart-heading-container--2").addClass("active"),handleProductDuplicationMessageModal(n)},error:function(){sendMsgSweetAlert("error","","Ups, coś poszło nie tak. Spróbuj ponownie później."),activeSpinner("hide")}}):!1===n.success?($(".address-fields-container").html(n.address),$(".product-cart-2-aside").html(n.cartInfo),$(".address-validate-error").html(n.message).show(),e=$(".address-validate-error").offset().top-20,$(window).scrollTop(e)):($(".address-fields-container").html(n.address),$(".product-cart-2-aside").html(n.cartInfo))},error:function(){sendMsgSweetAlert("error","","Ups, coś poszło nie tak. Spróbuj ponownie później."),activeSpinner("hide")}})})}function handleShipmentSection(){$("body").on("click",".shipping-next-button",function(e){e.preventDefault(),handleCartMoveSubmitButton(!0),$(".shipping-fields-container").slideUp(),$(".agreement-fields-container").slideDown(),$(".shipping-fields-wrapper .cart-heading-container").removeClass("active"),$(".cart-heading-container--agreement").addClass("active"),$(".product-cart-2-summary-shipment").slideDown(),$(".cart-heading-container--shipping .cart-heading-step").html('<span class="cart-check-icon"></span>'),$(".cart-heading-container--shipping").addClass("done")}),$("body").on("click","#product-cart-2-edit-shipment-button",function(){handleCartMoveSubmitButton(!1),$(".agreement-fields-container").slideUp(),$(".cart-heading-container--agreement").removeClass("active"),$(".cart-heading-container--shipping").removeClass("done"),$(".cart-heading-container--shipping .cart-heading-step").html($(".cart-heading-container--shipping").attr("data-step-number")),$(".shipping-fields-container").slideDown(),$(".product-cart-2-summary-shipment").slideUp()})}function handleClientType(){$('.order-address-client-type-button-container input[name="customer_type"]').each(function(e,t){$(t)[0].checked&&(t=$(t).val(),sessionStorage.setItem("clientType",t))}),$("body").on("change",'.order-address-client-type-button-container input[name="customer_type"]',function(){var e=$
1(this).val(),t=$(this).data("type"),e=(activeSpinner("show"),sessionStorage.setItem("clientType",e),$(this).closest("form")),e=new FormData(e[0]);$.ajax({type:"POST",url:mainCartUrl+t,data:e,processData:!1,contentType:!1,success:function(e){$("#cart-content").html(e.form),validateCartForm(),activeSpinner("hide"),handlePaczkomatSection()},error:function(){sendMsgSweetAlert("error","","Ups, coś poszło nie tak. Spróbuj ponownie później."),activeSpinner("hide")}}).done(function(){activeSpinner("hide")})})}function handleBudgetClient(){$("body").on("change","#customer_isBudgetUnit",function(){activeSpinner("show");var e=$(this).closest("form"),e=new FormData(e[0]);$.ajax({type:"POST",url:mainCartUrl+"formularz",data:e,processData:!1,contentType:!1,success:function(e){$("#cart-content").html(e.form),validateCartForm(),activeSpinner("hide"),handlePaczkomatSection()},error:function(){sendMsgSweetAlert("error","","Ups, coś poszło nie tak. Spróbuj ponownie później."),activeSpinner("hide")}}).done(function(){activeSpinner("hide")})})}function activeSpinner(e){"show"===e&&$(".spinner-overlay-2").show(),"hide"===e&&$(".spinner-overlay-2").hide()}function handleCouponInput(){function t(){$(".product-cart-2").length?($("#content-coupon").slideToggle(200),$("#button-coupon-toggle .icon").toggleClass("down")):$("#content-coupon").toggle("slow"),$('input[name="coupon"]').focus()}$("body").on("keydown","#button-coupon-toggle",function(e){"Enter"!==e.key&&13!==e.keyCode||(t(),e.preventDefault())}),$("body").on("click","#button-coupon-toggle",function(){t()})}function handleQuantityChange(){$(".cart-product-change-quantity".length)&&($("body").on("keyup","#quantity",function(){var e,t,i,n;"true"!=localStorage.getItem("ajaxInProgress")&&(e=parseInt($(this).val()),t=$(this).data("id"),i=parseInt($(this).attr("data-maxQuantity")),n=null==$("#locale").attr("data-locale")?"pl":$("#locale").attr("data-locale"),!$.isNumeric(e)||e<1||i<e?swal({title:"pl"==n?"Nieprawidłowa ilość":"Incorrect quantity",text:"pl"==n?"Wpisz ilość między 1 a "+i:"Enter a quantity between 1 and "+i,button:"Ok"}
1).then(function(){var e=$("#cartProductCount").text();$("#quantity").val(parseInt(e))}):$.isNumeric(e)&&$.isNumeric(t)&&(localStorage.setItem("ajaxInProgress","true"),$.ajax({type:"POST",url:mainCartUrl+"product-quantity-change",data:{quantity:e,productCartId:t,renderPrices:0},success:function(e){"success"===e.status?(renderCart(),updateUserBarCartData()):(console.log(e.status),localStorage.setItem("ajaxInProgress",""))},error:function(){sendMsgSweetAlert("error","","Ups, coś poszło nie tak. Spróbuj ponownie później."),activeSpinner("hide")}})))}),$("body").on("click",".quantity-container .button-minus",function(e){var t,i,n;e.preventDefault(),"true"!=localStorage.getItem("ajaxInProgress")&&(t=$(e.target).data("field"),e=$(e.target).closest("div"),i=parseInt(e.find("input[name="+t+"]").val(),10),n=parseInt(e.find("input[name="+t+"]").attr("min"),10),(!isNaN(i)&&n<i?e.find("input[name="+t+"]").val(i-1):e.find("input[name="+t+"]").val(1)).trigger("keyup"))}),$("body").on("click",".quantity-container .button-plus",function(e){var t,i,n;e.preventDefault(),"true"!=localStorage.getItem("ajaxInProgress")&&(t=$(e.target).data("field"),e=$(e.target).closest("div"),i=parseInt(e.find("input[name="+t+"]").val(),10),n=parseInt(e.find("input[name="+t+"]").attr("max"),10),isNaN(i)?e.find("input[name="+t+"]").val(0).trigger("keyup"):i+1<=n&&e.find("input[name="+t+"]").val(i+1).trigger("keyup"))}))}function handleMarkProductAsGift(){$("body").on("click",".mark-as-gift",function(e){e.preventDefault();e=$(this).data("id");$.isNumeric(e)&&$.ajax({type:"POST",url:mainCartUrl+"zakup-jako-prezent",data:{productCartId:e},success:function(e){"ok"===e.success?(renderCart(),updateUserBarCartData()):console.log(e.success)},error:function(){sendMsgSweetAlert("error","","Ups, coś poszło nie tak. Spróbuj ponownie później."),activeSpinner("hide")}})}),$("body").on("click",".unmark-as-gift",function(e){e.preventDefault();e=$(this).data("id");$.isNumeric(e)&&$.ajax({type:"POST",url:mainCartUrl+"zakup-dla-siebie",data:{productCartId:e},success:function(e){"ok"===e.success?(renderCart(),updateUserBarCartData()):console.log(e.success)},error:function(){sendMsgSweetAlert("error","","Ups, coś poszło nie tak. Spróbuj ponownie później."),activeSpinner("hide")}})})}function handleRemovingProductFromCart(){$("body").on("click",".remove-from-cart",function(e){e.preventDefault();var e=$(this).data("id")?$(this).data("id"):null,t=$(this).is("#remove-upselling-products")?"usun-upselling":"usun";!$.isNumeric(e)&&"usun-upselling"!=t||$.ajax({type:"POST",url:mainCartUrl+t,data:{productCartId:e},success:function(e){"ok"===e.success?(renderCart(),updateUserBarCartData(),"function"==typeof gtag&&e.gaEvent&&gtag.apply(this,e.gaEvent)):console.log(e.success)},error:function(){sendMsgSweetAlert("error","","Ups, coś poszło nie tak. Spróbuj ponownie później."),activeSpinner("hide")}})})}function renderCart(){$.ajax({url:mainCartUrl+"render-index-data",success:function(e){$("#cart-content").html(e.cart),activeSpinner("hide"),setTimeout(function(){adjustUpsellingItemsHeight()},800)},error:function(){sendMsgSweetAlert("error","","Ups, coś poszło nie tak. Spróbuj ponownie później."),activeSpinner("hide")}})}function handleCoupon(){function t(e){e.preventDefault(),e=$('input[name="coupon"]').val(),activeSpinner("show"),$.ajax({type:"POST",url:mainCartUrl+"dodaj-kupon",data:{code:e},success:function(e){void 0!==e.error?(sendMsgSweetAlert("error","",e.error),$('input[name="coupon"]').val("").focus(),activeSpinner("hide")):(renderCart(),updateUserBarCartData())},error:function(){sendMsgSweetAlert("error","","Ups, coś poszło nie tak. Spróbuj ponownie później."),activeSpinner("hide")}})}$("body").on("keypress",'input[name="coupon"]',function(e){13==e.which&&t(e)}),$("body").on("click",".buttonAddCoupon",function(e){t(e)}),$("body").on("click",".buttonRemoveCoupon",function(e){e.preventDefault();e=$(this);activeSpinner("show"),$.ajax({type:"POST",url:mainCartUrl+"usun-kupon",data:{code:e.data("coupon")},success:function(e){e.totalGrossAfterCoupon?(renderCart(),updateUserBarCartData()):(sendMsgSweetAlert("error","",e.error),activeSpinner("hide"))},error:function(){sendMsgSweetAlert("error","","Ups, coś poszło nie tak. Spróbuj ponownie później."),activeSpinner("hide")}})})}function handleCouponSelection(){$("body").on("change",".cart-coupon-list input",function(e){var t=$(this).val();activeSpinner("show"),$.ajax({type:"POST",url:mainCartUrl+"change-discount",data:{selectedDiscount:t},success:function(e){e.success?(renderCart(),updateUserBarCartData()):(sendMsgSweetAlert("error","","Wystąpił błąd, spróbuj ponownie później"),activeSpinner("hide"))},error:function(){sendMsgSweetAlert("error","","Ups, coś poszło nie tak. Spróbuj ponownie później."),activeSpinner("hide")}})})}function handleCombinationCouponSelection(){$("body").on("change",'.conflictedCoupons input[type="radio"]',function(e){var t=$(this).data("c
1odes"),i=$(this).data("product-cart-id");activeSpinner("show"),$.ajax({type:"POST",url:mainCartUrl+"wybierz-kupon-laczony",data:{codes:t,productCartId:i},success:function(){renderCart(mainCartUrl),updateUserBarCartData(mainCartUrl)},error:function(e,t,i){console.log(e,t,i),sendMsgSweetAlert("error","","Ups, coś poszło nie tak. Spróbuj ponownie później."),activeSpinner("hide")}})})}function handleMultiDiscountSelection(){$("body").on("change",'.conflictedMultiDiscount input[type="radio"]',function(e){var t=$(this).data("product-cart-id");activeSpinner("show"),$.ajax({type:"POST",url:mainCartUrl+"wybierz-rabat-mnogi",data:{productCartId:t},success:function(){renderCart(mainCartUrl),updateUserBarCartData(mainCartUrl)},error:function(){sendMsgSweetAlert("error","","Ups, coś poszło nie tak. Spróbuj ponownie później."),activeSpinner("hide")}})})}function updateUserBarCartData(){$.ajax({type:"GET",url:mainCartUrl+"update-user-bar-cart-data",success:function(e){$("#cartProductCount").html(e.quantity),$("#cartTotalPrice").html(e.price),localStorage.setItem("ajaxInProgress","")}})}function handleSlidingForm(e,t){$(e).find('input[type="text"]').each(function(){$(this).attr("disabled",!t),t||$(this).val("")}
1)}function handleSlideSections(){var e=$("body");e.on("change",'input[name="sendProductAddress"]',function(){"otherAddress"===$(this).val()?(handleSlidingForm("#deliveryAddressProductContent",!0),$("#deliveryAddressProductContent").slideDown()):(handleSlidingForm("#deliveryAddressProductContent",!1),$("#deliveryAddressProductContent").slideUp())}),$("body").on("click",".cart-pay-title",function(){e=$('input[name="paymentSystem"]').length?$(this).parent().find(".payment-method-desc-"+$('input[name="paymentSystem"]:checked').val()):$(this).parent().find(".payment-method-desc");var e,t=$(this).parent().find("svg");"none"===e.css("display")?(e.slideDown(300),t.addClass("down")):(e.slideUp(300),t.removeClass("down"))}),e.on("change","#purchaserIsRecipient",function(){($(this).is(":checked")?(handleSlidingForm(".budget-recipient-form-container",!1),$(".budget-recipient-form-container").slideUp(),$(".form-check--recipient").css("display","none"),$(".justify-label-container-wrapper").slideUp(),$(".budget-unit-section-title").removeClass("active"),$(".budget-unit-section-title--1")):(handleSlidingForm(".budget-recipient-form-container",!0),$(".budget-recipient-form-container").slideDown(),$(".form-check--recipient").css("display","inline-flex"),$(".justify-label-container-wrapper").slideDown(),$(".budget-unit-section-title").removeClass("active"),$(".budget-unit-section-title--2"))).addClass("active")}),e.on("click",".cart-product-pack-item-header",function(){$(this).siblings(".cart-product-pack-item-body").slideToggle(200),$(this).find(".icon").toggleClass("up")}),e.on("click",".order-participant-addition-list-header",function(){$(this).find(".icon").toggleClass("down"),$(this).next(".order-participant-addition-list").slideToggle(200)}),e.on("click",".product-cart-2 .order-participant-title, .product-cart-2 .chevron-box",function(){$(this).closest(".order-participant").find(".order-participant-body").slideToggle(300),$(this).closest(".order-participant-header").find(".icon").toggleClass("down")}),e.on("click","#product-cart-2-edit-button-address",function(e){e.preventDefault(),goBackToAddressForm()})}function handleTermsCollapse(){$("#terms-collapse").length&&$("#terms-collapse").collapser({truncate:51,showText:"[rozwiń]",hideText:"[zwiń]"})}function checkVatNumber(){$("body").on("click","#checkVatNumber",function(e){e.preventDefault();e=$('input[name*="[buyer][nip]"]');$("#vat-error").hide(),$("#vat-success").hide(),0<e.length&&0<e.val().length&&$.ajax({type:"post",url:mainCartUrl+"check-vat-number",data:{vatNumber:e.val(),countryCode:"GB"},success:function(e){(e.success?($("#vat-success").text("The VAT number entered is correct"),$("#vat-success")):($("#vat-error").text("This does not match the VAT number of any UK VAT-registered business. Search again."),$("#vat-error"))).show()},error:function(){$("#vat-error").text("This does not match the VAT number of any UK VAT-registered business. Search again."),$("#vat-error").show()}})})}function getDataFromGus(){$("body").on("blur","#customer_buyer_nip",function(e){e.preventDefault();var i={name:$('input[name*="[buyer][companyName]"]'),city:$('input[name*="[buyer][city]"]'),street:$('input[name*="[buyer][address]"]'),propertyNumber:$('input[name*="[buyer][houseNumber]"]'),zipCode:$('input[name*="[buyer][postalCode]"]'),apartmentNumber:$('input[name*="[buyer][apartmentNumber]"]')},n=$('input[name*="[buyer][nip]"]');0<n.length&&0<n.val().length?($("#customer_buyer_companyLegalForm").prop("required",!0),$("#customer_buyer_companyName").removeClass("error").prop("required",!0),$.ajax({type:"post",url:mainCartUrl+"gus",data:{nip:n.val()},success:function(e){if(e.success)for(var t in $(".company-specific-field").show("slow"),$("#gus-error").addClass("d-none"),n.removeClass("error"),"f"===e.data.type&&$("#customer_buyer_companyLegalForm").val("sole_proprietorship").change(),i)i[t].val(e.data[t]);else $("#gus-error").text(e.message),$("#gus-error").removeClass("d-none"),n.addClass("error")},error:function(){$("#gus-error").text("Nie udało się pobrać danych firmy na podstawie podanego NIP. Możliwe, że numer jest nieprawidłowy. Czy chcesz pozostawić go bez zmian?"),$("#gus-error").removeClass("d-none"),n.addClass("error")}})):($("#gus-error").addClass("d-none"),n.removeClass("error"),$("#customer_buyer_companyLegalForm").prop("required",!1),$("#customer_buyer_companyName").removeClass("error").prop("required",!1),$(".company-specific-field").hide("slow"))}),$("body").on("blur","#customer_recipient_nip",function(e){e.preventDefault();
1var n={name:$('input[name*="[recipient][companyName]"]'),city:$('input[name*="[recipient][city]"]'),street:$('input[name*="[recipient][address]"]'),propertyNumber:$('input[name*="[recipient][houseNumber]"]'),zipCode:$('input[name*="[recipient][postalCode]"]'),apartmentNumber:$('input[name*="[recipient][apartmentNumber]"]')},a=$('input[name*="[recipient][nip]"]');0<a.length&&0<a.val().length?$.ajax({type:"post",url:"/cart/gus",data:{nip:a.val()},success:function(e){if(e.success)for(var t in a.next(".check-gus-error").remove(),a.removeClass("error"),n)n[t].val(e.data[t]);else{var i='<span class="text-danger check-gus-error">'+e.message+"</span>";a.after(i),a.addClass("error")}},error:function(){a.after('<span class="text-danger check-gus-error">Nie udało się pobrać danych firmy na podstawie podanego NIP. Możliwe, że numer jest nieprawidłowy. Czy chcesz pozostawić go bez zmian?</span>'),a.addClass("error")}}):(a.next(".check-gus-error").remove(),a.removeClass("error"))})}function displayParticipant(){var e=$("body");e.on("click","#continue-participant",function(e){e.preventDefault();var t,d=!1;$(".order-participant").each(function(e,t){for(var t=$(t),i=t.find(".order-participant-body"),n=t.find(".nice-field-input"),t=t.find("select"),a=[],s=[],o=(n.each(function(e,t){"required"===$(t).attr("required")&&""===$(t).val()?($(t).addClass("error"),i.slideDown(300),a[e]=!0):($(t).removeClass("error"),a[e]=!1)}),t.each(function(e,t){"required"===$(t).attr("required")&&""===$(t).val()?($(t).addClass("error"),i.slideDown(300),s[e]=!0):($(t).removeClass("error"),s[e]=!1)}),!1),r=!1,l=0;l<a.length;l++)if(!0===a[l]){o=!0;break}for(l=0;l<s.length;l++)if(!0===s[l]){r=!0;break}if(o||r)return!(d=!0);d=!1}),d||(e=$(this).closest("form"),t=new FormData(e.get()[0]),$.ajax({type:"POST",url:e.attr("action"),data:t,processData:!1,contentType:!1,success:function(e){e.success?(showParticipantsBox(),$(".order-address-container").slideUp(),($(".shipping-fields-container").length?$(".shipping-fields-container"):(handleCartMoveSubmitButton(!0),$(".agreement-fields-container"))).slideDown(),$(".cart-heading-container--2").removeClass("active"),$(".cart-heading-container--2").addClass("done"),$(".cart-heading-container--2 .cart-heading-step").html('<span class="cart-check-icon"></span>'),$(".cart-heading-container--3").addClass("active"),handleParticipantProductDuplicationMessageModal(e)):swal({text:e.message,showCancelButton:!1,showConfirmButton:!0,confirmButtonText:"Ok"})},error:function(){sendMsgSweetAlert("error","","Ups, coś poszło nie tak. Spróbuj ponownie później."),activeSpinner("hide")}}))}),e.on("click","#product-cart-2-edit-button",function(e){e.preventDefault(),handleCartMoveSubmitButton(!1),$(".product-cart-2-summary").hide(),$(".product-cart-2-summary-item-list").html(""),$(".order-participant").show(),$(".order-participant-footer").show(),$(".order-participant-body").hide(),$("#continue-participant").show(),$(".shipping-fields-container").slideUp(),$(".agreement-fields-container").slideUp(),$(".product-cart-2-summary-shipment").slideUp(),$(".cart-heading-container--2").removeClass("done"),$(".cart-heading-container--2").addClass("active"),$(".cart-heading-container--agreement").removeClass("active"),$(".cart-heading-container--shipping").removeClass("active"),$(".cart-heading-container--2 .cart-heading-step").html(2),$(".cart-heading-container--shipping").removeClass("done").find(".cart-heading-step").html($(".cart-heading-container--shipping").attr("data-step-number"))}),e.on("keydown",".order-participant .nice-field-input",function(){$(this).removeClass("error")}),e.on("change",".order-participant .nice-select-field",function(){$(this).removeClass("error")})}function showParticipantsBox(){var e=$(".product-cart-2-summary"),p=$(".product-cart-2-summary-item-list");p.html(""),$(".order-participant").each(function(e,t){var t=$(t),i=t.find(".participant-counter").text(),n=t.find('input[name*="[firstname]"]').val(),a=t.find('input[name*="[lastname]"]').val(),s=t.find('[name*="[position]"]').val(),o=t.find('input[name*="[phone]"]').val(),r=t.find('input[name*="[email]"]').val(),l=0,d=0,c="",u=$(".order-participant-footer"),h=$('<div class="product-cart-2-summary-item"></div>');t.find(".checkbox-product-variant-group-items").each(function(e,t){$(t).is(":checked")&&($(t).attr("data-variant-group-name").toLowerCase().includes("bezpłatne")&&l++,$(t).attr("data-variant-group-name").toLowerCase().includes("płatne"))&&d++}),t.find(".order-participant-addition-list-header").length&&(c='<div class="item product-cart-2-summary-add-list"><p class="product-cart-2-summary-add">'+l+" "+(1===l?"dodatek bezpłatny":0===l||5<=l?"dodatków bezpłatnych":"dodatki bezpłatne")+'</p><p class="product-cart-2-summary-add-item">'+d+" "+(1===d?"dodatek płatny":0===d||5<=d?"dodatków płatnych":"dodatki płatne")+"</p></div>"),t.hide(),u.hide(),h.append('<div class="product-cart-2-summary-item-header"><p>Uczestnik <span class="product-cart-2-summary-item-header">'+i+'</span></p></div><div class="product-cart-2-summary-list"><div class="item"><p class="product-cart-2-summary-name">'+n+" "+a+'</p><p class="product-cart-2-summary-position">'+s+'</p></div><div class="item"><p class="product-cart-2-summary-phone">'+o+'</p><p class="product-cart-2-summary-email">'+r+"</p></div>"+c+'</div><div class="product-cart-2-summary-separator"></div>'),p.append(h)}),e.show(),$("#continue-participant").hide()}function handleAjaxFormLogin(){$("body").on("submit",".basket-cart-2-login-form-login",function(e){e.preventDefault(),$(".order-ajax-form-login-alert").hide();let t=new FormData(this);$(".basket-cart-2-login-form-login #email").val();$.ajax({type:"POST",url:$(this).attr("action"),data:t,processData:!1,contentType:!1,success:function(e){e.success?("function"==typeof GrTracking&&GrTracking("setUserId",t.get("email")),$.ajax({type:"POST",url:mainCartUrl+"zapisz-konto",success:function(e){e.success&&($(".order-ajax-form-login-alert.alert-success").show(),$(".navbar-nav .loggedIn").removeClass("hidden"),$(".navbar-nav .loginLink").addClass("hidden"),activeSpinner("show"),$.ajax({type:"GET",url:mainCartUrl+"formularz",success:function(e){$("#cart
1-content").html(e.form),validateCartForm(),handlePaczkomatSection(),gtagLoginEventSend()},error:function(){sendMsgSweetAlert("error","","Ups, coś poszło nie tak. Spróbuj ponownie później."),activeSpinner("hide")}}),activeSpinner("hide"))},error:function(){$(".order-ajax-form-login-alert.alert-danger").hide()}})):(sendMsgSweetAlert("error","","Logowanie nie powiodło się. Sprawdź poprawność danych."),$(".order-ajax-form-login-alert.alert-danger").hide())},error:function(){$(".order-ajax-form-login-alert.alert-danger").hide(),sendMsgSweetAlert("error","","Ups, coś poszło nie tak. Spróbuj ponownie później."),activeSpinner("hide")}})})}function handleAjaxFormResetPassword(){$("body").on("submit",".basket-cart-2-login-form-lost-password",function(e){e.preventDefault(),$(".order-ajax-form-lost-password-alert").hide();var t=$(this),e=new FormData(this);$.ajax({type:"POST",url:$(this).attr("action"),data:e,processData:!1,contentType:!1,success:function(e){e.success?($(".order-ajax-form-lost-password-alert.alert-success").show(),setTimeout(function(){t.hide(),$(".basket-cart-2-login-form-login").show()},3500)):$(".order-ajax-form-lost-password-alert.alert-danger").show()},error:function(e){$(".order-ajax-form-lost-password-alert.alert-danger").show(),sendMsgSweetAlert("error","","Ups, coś poszło nie tak. Spróbuj ponownie później."),activeSpinner("hide")}})})}function handlePlaceOrder(){$("body").on("submit",".cart-2-agreement-form",function(e){e.preventDefault(),activeSpinner("show");var t=$(this).find("button"),i=(t.prop("disabled",!0),new FormData(this));$('input[name*="terms"]').each(function(e,t){i.append("displayedTerms[]",$(t).val())}),i.append("comment",$('textarea[name="comment"]').val());var n="en"==(null==$("#locale").attr("data-locale")?"pl":$("#locale").attr("data-locale"))?"/order-confirmation/":"/potwierdzenie-zamowienia/";$.ajax({type:"POST",url:$(this).attr("action"),data:i,processData:!1,contentType:!1,success:function(e){e.order?("function"==typeof gtag&&e.gaEvent&&e.gaEvent.forEach(function(e){gtag.apply(this,e)}),"function"==typeof GrTracking&&e.shadow?.identity&&GrTracking("setUserId",e.shadow.identity),e.linkToPayU?window.location.href=e.linkToPayU:window.location.href=n+e.order):(t.prop("disabled",!1),sendMsgSweetAlert("error","",e.error),activeSpinner("hide"))},error:function(e){t.prop("disabled",!1),sendMsgSweetAlert("error","","Ups, coś poszło nie tak. Spróbuj ponownie później."),activeSpinner("hide")}})})}function adjustUpsellingItemsHeight(){var e,r=[];0!==$(".box-desc").length&&($(".box-desc").each(function(){var e=$
1(this),t=e.closest(".text-container"),i=parseInt(e.attr("data-short-height")),n=e.find(".short"),a=e.find(".full"),s=e.find(".read-more"),o=e.find(".read-more").outerHeight(),e=e.siblings(".upselling-add-to-cart").outerHeight(),o=t.find(".box-title").outerHeight()+t.find(".box-price").find(".text-nowrap").outerHeight()+10+(i=isNaN(i)?70:i)+o+10+e+20;r.push(o),n.dotdotdot({ellipsis:"...",height:i,tolerance:0,callback:function(e){e&&s.show()}}),t.css("min-height",o+"px"),s.on("click",function(e){e.preventDefault(),n.hide(),a.show(),$(this).remove()})}),e=r.reduce(function(e,t){return Math.max(e,t)}),$(".cart-complementary-item .text-container").css("min-height",e+"px"))}function handleLoginCart2(){$("body").on("click","#cart-logged-info a",function(e){e.preventDefault(),$(".basket-cart-2-login").show(),$(".order-ajax-forms-container").hide(),$(this).parent().hide()}),$("body").on("click","#login-continue-as-guest",function(){$(".basket-cart-2-login").hide(),$(".order-ajax-forms-container").show(),$(".basket-cart-2-login-form-login").show(),$(".basket-cart-2-login-form-lost-password").hide(),$("#cart-logged-info").show()}),$("body").on("click",".cart-2-login-password-remind-link",function(e){e.preventDefault(),$(".basket-cart-2-login-form-login").hide(),$(".basket-cart-2-login-form-lost-password").show()})}function backToShipping(){sessionStorage.getItem("backToShoppingUrl")?window.location.href=sessionStorage.getItem("backToShoppingUrl"):window.location.href="/"}function handleOrderVat(){$("body").on("change",".order-vat-checkbox",function(){var e=$
1(this),t=$('input[name="tax[publicsector]"]'),i=$('input[name="tax[publicsector2]"]');switch(e.val()){case"1":t.prop("required",!1),i.prop("required",!1);break;case"2":t.prop("required",!0),i.prop("required",!1);break;case"3":t.prop("required",!1),i.prop("required",!0)}})}function handleChangingShippingType(){$("body").on("change",'input[type="radio"][name="supraShippingType"]',function(){activeSpinner("show");var e=$(this).attr("id"),t=$("#choose-shipping-type").attr("data-href");$.ajax({type:"POST",url:t,data:{shippingTypeId:e},success:function(e){$("body").find(".cart-price-total-shipping-net").html(e.renderedShippingPrice),$("body").find(".cart-price-total").html(e.renderedTotalPriceGross),$("body").find(".cart-price-total-all-net").html(e.renderedTotalPriceNet),e.renederedMissingPrice&&$("body").find(".freeShippingPriceInfo-price").html(e.renederedMissingPrice),"function"==typeof gtag&&e.gaInfo&&gtag("event","add_shipping_info",{value:e.gaInfo.priceGross,currency:e.gaInfo.currency,shipping_tier:e.gaInfo.name}),1==e.selectedGosShippingType?$("body").find(".paczkomaty-container").removeClass("d-none"):$("body").find(".paczkomaty-container").addClass("d-none"),activeSpinner("hide")},error:function(){sendMsgSweetAlert("error","","Ups, coś poszło nie tak. Spróbuj ponownie później."),activeSpinner("hide")}})})}function handleCartHelpForm(){$("body").on("focus","#helpPhone",function(){$(this).mask("000 000 000")}),$("body").on("click",".cart-help-button",function(){var t=$(this),e=(t.prop("disabled",!0),$('input[name="helpFirstName"]').val()),i=$('input[name="helpPhone"]').val(),n=$('input[name="helpEmail"]').val(),a=$('textarea[name="helpBody"]').val(),s=$('input[name="helpImage"]').val();if(!e||!n||!a)return $(".cart-help-container-alert .alert-info").show(),t.prop("disabled",!1),!1;$(".cart-help-container-alert .alert-danger").hide(),$(".cart-help-container-alert .alert-success").hide(),$(".cart-help-container-alert .alert-info").hide(),$.ajax({url:t.data("url"),data:{firstName:e,phone:i,email:n,body:a,image:s},method:"POST",success:function(e){(e.success?($(".cart-help-container-inner").hide("slow"),$(".cart-help-container-alert .alert-success")):(t.prop("disabled",!1),e.message&&$(".cart-help-container-alert .alert-danger").html(e.message),$(".cart-help-container-alert .alert-danger"))).show()},error:function(){t.prop("disabled",!1),$(".cart-help-container-alert .alert-danger").show()}})})}function takeScreenshot(){html2canvas(document.querySelector(".product-cart-2"),{removeContainer:!0,ignoreElements:function(e){for(var t=["modal","modal-backdrop","admin-bar"],i=0;i<t.length;i++)if(e.classList.contains(t[i]))return!0}}).then(function(e){document.getElementById("helpImage").value=e.toDataURL()})}function handleCartHelpModal(){$("body").on("click","#cart-help-toggle",function(e){e.preventDefault(),"undefined"!=typeof html2canvas&&takeScreenshot(),$("#cartHelpModal").addClass("active"),$("body").addClass("modal-open")}),$("body").on("click","#cartHelpModal .btn-danger",function(e){e.preventDefault(),setTimeout(function(){$(".cartHelpModal").removeClass("active"),$("body").removeClass("modal-open")},300)}),$(document).on("click",function(e){!$(".cartHelpModal").hasClass("active")||$(e.target).closest(".modal-body").length||$(e.target).closest(".modal-footer").length||$(e.target).closest("#cart-help-toggle").length||setTimeout(function(){$(".cartHelpModal").removeClass("active"),$("body").removeClass("modal-open")},300)})}function handleCartMoveSubmitButton(e){1==e&&$(window).width()<769?($(".submit-button-desktop").hide(),$(".submit-button-mobile ").show()):($(".submit-button-desktop").show(),$(".submit-button-mobile ").hide())}function handlePaymentSystemSelection(){$("body").on("change",'input[name="paymentSystem"]',function(e){var t=$(this).val();activeSpinner("show"),$.ajax({type:"POST",url:mainCartUrl+"set-payment-system",data:{paymentSystem:t},success:function(e){e.success||sendMsgSweetAlert("error","","Wystąpił błąd, spróbuj ponownie później"),activeSpinner("hide")},error:function(){sendMsgSweetAlert("error","","Ups, coś poszło nie tak. Spróbuj ponownie później."),activeSpinner("hide")}})})}function gtagLoginEventSend(){"function"==typeof gtag&&gtag("event","login",{method:"GOS"})}function paymentRewardHelper(){0<$("#showReward").length&&$(".success-cart-2-payment-reward").css("cursor","pointer"),$(".success-cart-2-payment-reward").click(function(e){0<$("#rewardContent").length&&($("#showReward").hide(),$("#rewardContent").show())}),0<$("#rewardTimer").length&&setInterval(function(){paymentRewardTimer()},1e3)}function paymentRewardTimer(){var e,t,i;0!=$("#rewardTimer").length&&(e=new Date,e=Date.parse(e)/1e3,i=new Date($("#rewardTimer").data("deadline")),i=(i=Date.parse(i)/1e3)-e,e=Math.floor(i/3600),t=Math.floor((i-3600*e)/60),i=Math.floor(i-3600*e-60*t),e<0&&$(".success-cart-2-payment-reward").parent().html(""),e<"10"&&(e="0"+e),t<"
110"&&(t="0"+t),i<"10"&&(i="0"+i),$("#rewardTimer").html(e+":"+t+":"+i))}function handleProductDuplicationMessageModal(e){var n="",t=[];$.each(e.userAlertMessages,function(i,e){t.push(i),$.each(e,function(e,t){$.each(t,function(e,t){0<$("[data-cart-product-id="+i+"]").length&&(n=n+("<h3>"+$("[data-cart-product-id="+i+"]").find(".title").html())+"</h3><p>"+t+"</p>")})})}),n&&t&&swal({html:n,customClass:"user-alert-message"}).then(()=>{$.ajax({method:"POST",url:mainCartUrl+"save-consent-to-product-duplication",data:{productCart:t}})})}function handleParticipantProductDuplicationMessageModal(e){var i="",n=[];$.each(e.userAlertMessages,function(e,t){n.push(e),$.each(t,function(e,t){$.each(t,function(e,t){i=i+"<h3>"+e+"</h3><br><p>"+t+"</p><br>"})})}),i&&n&&swal({html:i,customClass:"user-alert-message"}).then(()=>{$.ajax({method:"POST",url:mainCartUrl+"save-consent-to-product-duplication",data:{cartParticipant:n}})})}function prepareSummaryAddress(e){var t,i,n,a,s,o,r,l=$(".order-address-container-inner"),d=$("#deliveryAddressProductContent"),c=$(".product-cart-2-summary-item-address"),u=$(".product-cart-2-summary--address"),h=$(".product-cart-2-summary-wrapper"),p=(c.html(""),$('<div class="box-item summary-item-address-box-0"></div>')),f=$('<div class="box-item summary-item-address-box-1"></div>'),m=$('<div class="box-item summary-item-address-box-2"></div>'),g=$('<div class="box-item summary-item-address-box-3"></div>'),v=$('<div class="box-item summary-item-address-box-4"></div>'),y=l.find('input[name*="[person][firstName]"]').val(),b=l.find('input[name*="[person][lastName]"]').val(),w=l.find('input[name*="[buyer][address]"]').val(),C=l.find('input[name*="[buyer][houseNumber]"]').val(),T=l.find('input[name*="[buyer][apartmentNumber]"]').val(),_=l.find('input[name*="[buyer][postalCode]"]').val(),x=l.find('input[name*="[buyer][city]"]').val(),S=l.find('input[name*="[email]"]').val(),k=l.find('input[name*="[buyer][nip]"]').val(),E="",P=l.find('input[name*="[person][phoneNumber]"]').val(),S=(void 0!==S&&(E="<p>"+S+"</p>\n"),T&&(C+="/"+T),null==$("#locale").attr("data-locale")?"pl":$("#locale").attr("data-locale")),T="pl"==S?"Produkt wyślemy tu:":"We will send the product here:",M="pl"==S?"Dane na fakturze":"Data on the invoice";return p.append('<p class="item-address-title">'+("pl"==S?"Zamawiający":"Purchaser")+"</p><p>"+y+" "+b+"</p>"),P.length&&p.append("<p>tel. "+P+"</p>"),p.append(E),c.append(p),"private"!==e&&"business"!==e||(u.removeClass("product-cart-2-summary-item-address--budget-unit"),S="",(t=l.find('input[name*="[buyer][companyName]"]').val())&&(S="<p>"+t+"</p>"),$("#send-to-other-address").is(":checked")?f.append('<p class="item-address-title">'+T+"</p>"+S+"<p>"+y+" "+b+"</p><p><span>"+w+"</span> <span>"+C+"</span></p><p><span>"+_+"</span> <span>"+x+"</span></p>"):g=f,m.append('<p class="item-address-title">'+M+"</p><p>"+("business"===e?t:y+" "+b)+"</p><p><span>"+w+"</span><span> "+C+"</span></p><p><span>"+_+"</span><span> "+x+"</span></p><p>"+(k=k?"NIP: "+k:"")+"</p>"),$("#send-to-other-address").is(":checked")&&(f.html(""),P=d.find('input[name*="[recipient][firstName]"]').val(),E=d.find('input[name*="[recipient][lastName]"]').val(),p=d.find('input[name*="[recipient][address]"]').val(),S=d.find('input[name*="[recipient][houseNumber]"]').val(),i=d.find('input[name*="[recipient][apartmentNumber]"]').val(),n=d.find('input[name*="[recipient][postalCode]"]').val(),a=d.find('input[name*="[recipient][city]"]').val(),d=d.find('input[name*="[recipient][companyName]"]').val(),i&&(S+="/"+i),f.append('<p class="item-address-title">'+T+"</p><p>"+d+"</p><p>"+P+" "+E+"</p><p><span>"+p+"</span><span> "+S+"</span></p><p><span>"+n+"</span><span> "+a+"</span></p><p>Polska</p>")),c.append(f),c.append(m),c.append(g),displayGiftSummary()),"budget"===e&&(u.addClass("product-cart-2-summary-item-address--budget-unit"),$("#purchaserIsNotRecipient").is(":checked"),t=l.find('input[name*="[buyer][companyName]"]').val(),i=$("input#customer_recipient_companyName").val(),d=$("input#customer_recipient_firstName").val(),P=$("input#customer_recipient_lastName").val(),E=$("input#customer_recipient_address").val(),p=$("input#customer_recipient_house
1Number").val(),S=$("input#customer_recipient_apartmentNumber").val(),n=$("input#customer_recipient_postalCode").val(),a=$("input#customer_recipient_city").val(),r=o=s=l=u=e="",S&&(p+="/"+S),r=purchaserIsRecipient?(e=t,u=y+" "+b,l=w,s=C,o=_,x):(e=i,u=d+" "+P,l=E,s=p,o=n,a),S='<p class="item-address-title">'+M+"</p><p>"+t+"</p><p><span>"+w+"</span> <span>"+C+"</span></p><p><span>"+_+"</span> <span>"+x+"</span></p><p>NIP: "+k+"</p>",f.append('<p class="item-address-title">'+T+"</p><p>"+e+"</p><p>"+u+"</p><p><span>"+l+"</span><span>"+s+"</span></p><p><span>"+o+"</span><span> "+r+"</span></p><p>Polska</p>"),m.append(S),!1!==(y=$("#purchaserIsRecipient").data("hide-delivery"))&&""!==y||c.append(f),c.append(m),c.append(g),c.append(v),displayGiftSummary()),h}function handleProfessionalNatureFields(){$("body").on("change",'input[name="professionalNature"]',function(){var t=$(this);t.is(":checked")&&$('input[name="professionalNature"]').not(this).prop("checked",!1),t.is(":checked")&&"0"===t.val()&&"true"===t.attr("data-show-business-private-invoice-modal")&&swal({html:"Wybierając tę opcję oświadczasz, że zawiera ona dla Ciebie charakter prywatny i nie dotyczy działalności gospodarczej lub zawodowej. W związku z tym wystawimy na Twoją osobę (na dane imienne) fakturę VAT zawierającą wszystkie obowiązkowe elementy, niemniej bez danych dotyczących numerów identyfikacyjnych przedsiębiorcy.",showCancelButton:!0,showConfirmButton:!0,confirmButtonText:"Rozumiem, kupuję bez NIP",cancelButtonText:"Anuluj",useRejections:!1}).then(function(e){!0!==e&&!0!==e.value&&!0!==e.isConfirmed&&t.prop("checked",!1)})})}function initKeyboard(){$(document).off("keypress",'label[for="customer_isBudgetUnit"]').on("keypress",'label[for="customer_isBudgetUnit"]',handleKeyPress),$(document).off("keypress",'label[for="purchaserIsRecipient"]').on("keypress",'label[for="purchaserIsRecipient"]',handleKeyPress),$(document).off("keypress",'label[for="orderPayer--recipient"]').on("keypress",'label[for="orderPayer--recipient"]',handleKeyPress),$(document).off("keypress",'label[for="orderPayer--buyer"]').on("keypress",'label[for="orderPayer--buyer"]',handleKeyPress),$(document).off("keypress",'label[for="send-to-recipient"]').on("keypress",'label[for="send-to-recipient"]',handleKeyPress),$(document).off("keypress",'label[for="send-to-purchaser"]').on("keypress",'label[for="send-to-purchaser"]',handleKeyPress),$(document).off("keypress",'label[for="send-to-otherAddress"]').on("keypress",'label[for="send-to-otherAddress"]',handleKeyPress),$(document).off("keypress",'label[for^="order_acceptanceRegulations"]:not([for="order_acceptanceRegulations-all"])').on("keypress",'label[for^="order_acceptanceRegulations"]:not([for="order_acceptanceRegulations-all"])',handleKeyPress),$(document).off("keypress",'label[for="method-proforma-invoice"]').on("keypress",'label[for="method-proforma-invoice"]',handleKeyPress),$(document).off("keypress",'label[for="method-payu"]').on("keypress",'label[for="method-payu"]',handleKeyPress),$(document).off("keypress","#backToShippingLink").on("keypress","#backToShippingLink",function(e){"Enter"!==e.key&&" "!==e.key||backToShipping()}),$(document).off("keypress",'label[for="send-to-order-address"]').on("keypress",'label[for="send-to-order-address"]',handleKeyPress),$(document).off("keypress",'label[for="send-to-other-address"]').on("keypress",'label[for="send-to-other-address"]',handleKeyPress),$(document).off("keypress",'label[for="registerTerm"]').on("keypress",'label[for="registerTerm"]',handleKeyPress),$(document).off("keypress",'label[for^="registerAdvertisingTerm-"]').on("keypress",'label[for^="registerAdvertisingTerm-"]',handleKeyPress)}function handleKeyPress(e){"Enter"!==e.key&&" "!==e.key||($(e.currentTarget).click(),e.preventDefault())}function recipientNipOrIdWewBlocker(){$("body").on("input","#customer_recipient_nip",function(e){var t=$('input[name*="[recipient][nip]"]'),i=$('input[name*="[recipient][idWew]"]');0<t.length&&0<t.val().length?i.attr("disabled",!0).val(""):i.attr("disabled",!1)}),$("body").on("input","#customer_recipient_idWew",function(e){var t=$('input[name*="[recipient][idWew]"]'),i=$('input[name*="[recipient][nip]"]');0<t.length&&0<t.val().length?i.attr("disabled",!0).val(""):i.attr("disabled",!1)})}function handleVatExemptionChange(){$("body").on("change",'input[name="tax[notax]"]',function(e){var t=$(this),i=$(".cart-price-total-all-title"),t="2"===t.val()||"3"===t.val()?i.data("net"):i.data("gross");$("#totalGrossAfterCoupon").html(t)})}async function cmsEvent(e){var t=new Headers;t.append("Content-Type","application/json"),await fetch("/api/cms-analytics/fetch",{method:"POST",headers:t,body:JSON.stringify(e)})}function renderExtendedPaymentTime(){var t=$(".cart-payment-time-container");"clienttype-privateperson"===$('input[name="clientType"]:checked').data("value")?$.ajax({type:"GET",url:t.data("url"),success:function(e){t.html(e)}}):t.html("")}function sendMsgSweetAlert(e,t,i){sendMessageParent({method:"sweetalert",data:{type:e,title:t,text:i}})||swal({type:e,title:t,text:i})}function sendMessageParent(e){var t=window.parent;return self!=top&&t&&t.postMessage?(t.postMessage(JSON.stringify(e),"*"),!0):(window.postMessage(JSON.stringify(e),"*"),!1)}function showSweetAlert(){$("div[data-role='sweetAlertContent']").each(function(e,t){sendMessageParent({method:"sweetalert",data:{type:$(this).attr("data-alerttype"),title:$(this).attr("data-texttype"),text:$(this).attr("data-msg")}}
1)||swal({title:$(this).attr("data-texttype"),text:$(this).attr("data-msg"),type:$(this).attr("data-alerttype")})})}function IsJsonString(e){try{JSON.parse(e)}catch(e){return!1}return!0}function msgTwoCart(e){var i,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null;self==top&&self==window.parent||(i="W Twoim koszyku zachowaliśmy produkty dodane w czasie poprzedniej wizyty",$(".twoCartOldProductCart").each(function(e){0===e&&(i+=":<br><br>"),i+=$(this).attr("data-tradeName")+"<br>"}),null!==t&&$.each(t,function(e,t){0===e&&(i+=":<br><br>"),i+=t+"<br>"}),sendMessageParent({method:"twoCart",newCartHash:e,swalSettings:{title:"Witaj ponownie!",html:i,showCancelButton:!0,showConfirmButton:!0,confirmButtonClass:"buttonAlertTwoCart",cancelButtonClass:"buttonAlertTwoCart",confirmButtonText:"DODAJ DO OBECNEGO KOSZYKA",cancelButtonText:"USUŃ I KONTYNUUJ ZAKUPY"}}))}function passMarketingVariables(){$("iframe").each(function(e,t){var i,n,a=$(this).attr("src");a&&(i=a.split("?")[0],n=a.split("?")[1],a=buildQueryString(a),void 0!==n?$(this).prop("src",i+"?"+n+"&"+a):$(this).prop("src",i+"?"+a))})}function buildQueryString(a){var s=[];return"undefined"==typeof jQuery?console.log("GOS build query string: jQuery is undefined"):$.each(["a","f","c","chc","bp","infoline","prod","coupon","isTele"],function(e,t){var i=getParameterByName(t),n=getParameterByName(t,a);""!==i?s.push(t+"="+i):""!==n&&s.push(t+"="+n)}),s.join("&")}function getParameterByName(e,t){t=t||window.location.href,e=e.replace(/[\[\]]/g,"\\$&");e=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(t);
vendor: 7,498 bytes, line 1
1return e&&e[2]?decodeURIComponent(e[2].replace(/\+/g," ")):""}jQuery.browser.os=getOS(),jQuery.browser.hasTouch=isTouchSupported(),jQuery.browser.name=navigator.appName,jQuery.browser.fullVersion=""+parseFloat(navigator.appVersion),jQuery.browser.majorVersion=parseInt(navigator.appVersion,10),-1!=(verOffset=nAgt.indexOf("Opera"))?(jQuery.browser.opera=!0,jQuery.browser.name="Opera",jQuery.browser.fullVersion=nAgt.substring(verOffset+6),-1!=(verOffset=nAgt.indexOf("Version"))&&(jQuery.browser.fullVersion=nAgt.substring(verOffset+8))):-1!=(verOffset=nAgt.indexOf("OPR"))?(jQuery.browser.opera=!0,jQuery.browser.name="Opera",jQuery.browser.fullVersion=nAgt.substring(verOffset+4)):-1!=(verOffset=nAgt.indexOf("MSIE"))?(jQuery.browser.msie=!0,jQuery.browser.name="Microsoft Internet Explorer",jQuery.browser.fullVersion=nAgt.substring(verOffset+5)):-1!=nAgt.indexOf("Trident")?(jQuery.browser.msie=!0,jQuery.browser.name="Microsoft Internet Explorer",start=nAgt.indexOf("rv:")+3,end=start+4,jQuery.browser.fullVersion=nAgt.substring(start,end)):-1!=(verOffset=nAgt.indexOf("Edge"))?(jQuery.browser.edge=!0,jQuery.browser.name="Microsoft Edge",jQuery.browser.fullVersion=nAgt.substring(verOffset+5)):-1!=(verOffset=nAgt.indexOf("Chrome"))?(jQuery.browser.webkit=!0,jQuery.browser.chrome=!0,jQuery.browser.name="Chrome",jQuery.browser.fullVersion=nAgt.substring(verOffset+7)):-1<nAgt.indexOf("mozilla/5.0")&&-1<nAgt.indexOf("android ")&&-1<nAgt.indexOf("applewebkit")&&!(-1<nAgt.indexOf("chrome"))?(verOffset=nAgt.indexOf("Chrome"),jQuery.browser.webkit=!0,jQuery.browser.androidStock=!0,jQuery.browser.name="androidStock",jQuery.browser.fullVersion=nAgt.substring(verOffset+7)):-1!=(verOffset=nAgt.indexOf("Safari"))||-1!=(verOffset=nAgt.indexOf("AppleWebkit"))?(jQuery.browser.webkit=!0,jQuery.browser.safari=!0,jQuery.browser.name="Safari",jQuery.browser.fullVersion=nAgt.substring(verOffset+7),-1!=(verOffset=nAgt.indexOf("Version"))&&(jQuery.browser.fullVersion=nAgt.substring(verOffset+8))):-1!=(verOffset=nAgt.indexOf("Firefox"))?(jQuery.browser.mozilla=!0,jQuery.browser.name="Firefox",jQuery.browser.fullVersion=nAgt.substring(verOffset+8)):(nameOffset=nAgt.lastIndexOf(" ")+1)<(verOffset=nAgt.lastIndexOf("/"))&&(jQuery.browser.name=nAgt.substring(nameOffset,verOffset),jQuery.browser.fullVersion=nAgt.substring(verOffset+1),jQuery.browser.name.toLowerCase()==jQuery.browser.name.toUpperCase())&&(jQuery.browser.name=navigator.appName),-1!=(ix=jQuery.browser.fullVersion.indexOf(";"))&&(jQuery.browser.fullVersion=jQuery.browser.fullVersion.substring(0,ix)),-1!=(ix=jQuery.browser.fullVersion.indexOf(" "))&&(jQuery.browser.fullVersion=jQuery.browser.fullVersion.substring(0,ix)),jQuery.browser.majorVersion=parseInt(""+jQuery.browser.fullVersion,10),isNaN(jQuery.browser.majorVersion)&&(jQuery.browser.fullVersion=""+parseFloat(navigator.appVersion),jQuery.browser.majorVersion=parseInt(navigator.appVersion,10)),jQuery.browser.version=jQuery.browser.majorVersion,jQuery.browser.android=/Android/i.test(nAgt),jQuery.browser.blackberry=/BlackBerry|BB|PlayBook/i.test(nAgt),jQuery.browser.ios=/iPhone|iPad|iPod|webOS/i.test(nAgt),jQuery.browser.operaMobile=/Opera Mini/i.test(nAgt),jQuery.browser.windowsMobile=/IEMobile|Windows Phone/i.test(nAgt),jQuery.browser.kindle=/Kindle|Silk/i.test(nAgt),jQuery.browser.mobile=jQuery.browser.android||jQuery.browser.blackberry||jQuery.browser.ios||jQuery.browser.windowsMobile||jQuery.browser.operaMobile||jQuery.browser.kindle,jQuery.isMobile=jQuery.browser.mobile,jQuery.isTablet=jQuery.browser.mobile&&765<jQuery(window).width(),jQuery.isAndroidDefault=jQuery.browser.android&&!/chrome/i.test(nAgt),jQuery.mbBrowser=jQuery.browser,jQuery.browser.versionCompare=function(e,t){if("stringstring"!=typeof e+typeof t)return!1;for(var i=e.split("."),n=t.split("."),a=0,s=Math.max(i.length,n.length);a<s;a++){if(i[a]&&!n[a]&&0<parseInt(i[a])||parseInt(i[a])>parseInt(n[a]))return 1;if(n[a]&&!i[a]&&0<parseInt(n[a])||parseInt(i[a])<parseInt(n[a]))return-1}return 0},jQuery.support.CSStransition=(()=>{var e=(document.body||document.documentElement).style;return void 0!==e.transition||void 0!==e.WebkitTransition||void 0!==e.MozTransition||void 0!==e.MsTransition||void 0!==e.OTransition})(),jQuery.CSS={name:"mb.CSSAnimate",author:"Matteo Bicocchi",version:"2.0.0",transitionEnd:"transitionEnd",sfx:"",filters:{blur:{min:0,max:100,unit:"px"},brightness:{min:0,max:400,unit:"%"},contrast:{min:0,max:400,unit:"%"},grayscale:{min:0,max:100,unit:"%"},hueRotate:{min:0,max:360,unit:"deg"},invert:{min:0,max:100,unit:"%"},saturate:{min:0,max:400,unit:"%"},sepia:{min:0,max:100,unit:"%"}},normalizeCss:function(e){var t,i,n=jQuery.extend(!0,{},e);for(t in jQuery.browser.webkit||jQuery.browser.opera?jQuery.CSS.sfx="-webkit-":jQuery.browser.mozilla?jQuery.CSS.sfx="-moz-":jQuery.browser.msie&&(jQuery.CSS.sfx="-ms-"),jQuery.CSS.sfx="",n)"transform"===t&&(n[jQuery.CSS.sfx+"transform"]=n[t],delete n[t]),"transform-origin"===t&&(n[jQuery.CSS.sfx+"transform-origin"]=e[t],delete n[t]),"filter"!==t||jQuery.browser.mozilla||(n[jQuery.CSS.sfx+"filter"]=e[t],delete n[t]),"blur"===t&&setFilter(n,"blur",e[t]),"brightness"===t&&setFilter(n,"brightness",e[t]),"contrast"===t&&setFilter(n,"contrast",e[t]),"grayscale"===t&&setFilter(n,"grayscale",e[t]),"hueRotate"===t&&setFilter(n,"hueRotate",e[t]),"invert"===t&&setFilter(n,"invert",e[t]),"saturate"===t&&setFilter(n,"saturate",e[t]),"sepia"===t&&setFilter(n,"sepia",e[t]),"x"===t&&(n[i=jQuery.CSS.sfx+"transform"]=n[i]||"",n[i]+=" translateX("+setUnit(e[t],"px")+")",delete n[t]),"y"===t&&(n[i=jQuery.CSS.sfx+"transform"]=n[i]||"",n[i]+=" translateY("+setUnit(e[t],"px")+")",delete n[t]),"z"===t&&(n[i=jQuery.CSS.sfx+"transform"]=n[i]||"",n[i]+=" translateZ("+setUnit(e[t],"px")+")",delete n[t]),"rotate"===t&&(n[i=jQuery.CSS.sfx+"transform"]=n[i]||"",n[i]+=" rotate("+setUnit(e[t],"deg")+")",delete n[t]),"rotateX"===t&&(n[i=jQuery.CSS.sfx+"transform"]=n[i]||"",n[i]+=" rotateX("+setUnit(e[t],"deg")+")",delete n[t]),"rotateY"===t&&(n[i=jQuery.CSS.sfx+"transform"]=n[i]||"",n[i]+=" rotateY("+setUnit(e[t],"deg")+")",delete n[t]),"rotateZ"===t&&(n[i=jQuery.CSS.sfx+"transform"]=n[i]||"",n[i]+=" rotateZ("+setUnit(e[t],"deg")+")",delete n[t]),"scale"===t&&(n[i=jQuery.CSS.sfx+"transform"]=n[i]||"",n[i]+=" scale("+setUnit(e[t],"")+")",delete n[t]),"scaleX"===t&&(n[i=jQuery.CSS.sfx+"transform"]=n[i]||"",n[i]+=" scaleX("+setUnit(e[t],"")+")",delete n[t]),"scaleY"===t&&(n[i=jQuery.CSS.sfx+"transform"]=n[i]||"",n[i]+=" scaleY("+setUnit(e[t],"")+")",delete n[t]),"scaleZ"===t&&(n[i=jQuery.CSS.sfx+"transform"]=n[i]||"",n[i]+=" scaleZ("+setUnit(e[t],"")+")",delete n[t]),"skew"===t&&(n[i=jQuery.CSS.sfx+"transform"]=n[i]||"",n[i]+=" skew("+setUnit(e[t],"deg")+")",delete n[t]),"skewX"===t&&(n[i=jQuery.CSS.sfx+"transform"]=n[i]||"",n[i]+=" skewX("+setUnit(e[t],"deg")+")",delete n[t]),"skewY"===t&&(n[i=jQuery.CSS.sfx+"transform"]=n[i]||"",n[i]+=" skewY("+setUnit(e[t],"deg")+")",delete n[t]),"perspective"===t&&(n[i=jQuery.CSS.sfx+"transform"]=n[i]||"",n[i]+=" perspective("+setUnit(e[t],"px")+")",delete n[t]);return n},getProp:function(e){var t,i=[];for(t in e)i.indexOf(t)<0&&i.push(uncamel(t));return i.join(",")},animate:function(r,l,d,c,u){return this.each(function(){function e(){t.called=!0,t.CSSAIsRunning=!1,i.off(jQuery.CSS.transitionEnd+"."+t.id),clearTimeout(t.timeout),i.css(jQuery.CSS.sfx+"transition",""),"function"==typeof u&&u.apply(t),"function"==typeof t.CSSqueue&&(t.CSSqueue(),t.CSSqueue=null)}
1var t=this,i=jQuery(this),n=(t.id=t.id||"CSSA_"+(new Date).getTime(),n||{type:"noEvent"});if(t.CSSAIsRunning&&t.eventType==n.type&&!jQuery.browser.msie&&jQuery.browser.version<=9)t.CSSqueue=function(){i.CSSAnimate(r,l,d,c,u)};else if(t.CSSqueue=null,t.eventType=n.type,0!==i.length&&r){if(r=jQuery.normalizeCss(r),t.CSSAIsRunning=!0,"function"==typeof l&&(u=l,l=jQuery.fx.speeds._default),"function"==typeof d&&(c=d,d=0),"string"==typeof d&&(u=d,d=0),"function"==typeof c&&(u=c,c="cubic-bezier(0.65,0.03,0.36,0.72)"),"string"==typeof l)for(var a in jQuery.fx.speeds){if(l==a){l=jQuery.fx.speeds[a];break}l=jQuery.fx.speeds._default}if(l=l||jQuery.fx.speeds._default,"string"==typeof u&&(c=u,u=null),jQuery.support.CSStransition){var s={default:"ease",in:"ease-in",out:"ease-out","in-out":"ease-in-out",snap:"cubic-bezier(0,1,.5,1)",easeOutCubic:"cubic-bezier(.215,.61,.355,1)",easeInOutCubic:"cubic-bezier(.645,.045,.355,1)",easeInCirc:"cubic-bezier(.6,.04,.98,.335)",easeOutCirc:"cubic-bezier(.075,.82,.165,1)",easeInOutCirc:"cubic-bezier(.785,.135,.15,.86)",easeInExpo:"cubic-bezier(.95,.05,.795,.035)",easeOutExpo:"cubic-bezier(.19,1,.22,1)",easeInOutExpo:"cubic-bezier(1,0,0,1)",easeInQuad:"cubic-bezier(.55,.085,.68,.53)",easeOutQuad:"cubic-bezier(.25,.46,.45,.94)",easeInOutQuad:"cubic-bezier(.455,.03,.515,.955)",easeInQuart:"cubic-bezier(.895,.03,.685,.22)",easeOutQuart:"cubic-bezier(.165,.84,.44,1)",easeInOutQuart:"cubic-bezier(.77,0,.175,1)",easeInQuint:"cubic-bezier(.755,.05,.855,.06)",easeOutQuint:"cubic-bezier(.23,1,.32,1)",easeInOutQuint:"cubic-bezier(.86,0,.07,1)",easeInSine:"cubic-bezier(.47,0,.745,.715)",easeOutSine:"cubic-bezier(.39,.575,.565,1)",easeInOutSine:"cubic-bezier(.445,.05,.55,.95)",easeInBack:"cubic-bezier(.6,-.28,.735,.045)",easeOutBack:"cubic-bezier(.175, .885,.32,1.275)",easeInOutBack:"cubic-bezier(.68,-.55,.265,1.55)"},o=(s[c]&&(c=s[c]),i.off(jQuery.CSS.transitionEnd+"."+t.id),s=jQuery.CSS.getProp(r),{});jQuery.extend(o,r),o[jQuery.CSS.sfx+"transition-property"]=s,o[jQuery.CSS.sfx+"transition-duration"]=l+"ms",o[jQuery.CSS.sfx+"transition-delay"]=d+"ms",o[jQuery.CSS.sfx+"transition-timing-function"]=c,setTimeout(function(){i.one(jQuery.CSS.transitionEnd+"."+t.id,e),i.css(o)},1),t.timeout=setTimeout(function(){t.called||!u?(t.called=!1,t.CSSAIsRunning=!1):(i.css(jQuery.CSS.sfx+"transition",""),u.apply(t),t.CSSAIsRunning=!1,"function"==typeof t.CSSqueue&&(t.CSSqueue(),t.CSSqueue=null))},l+d+10)}else{for(s in r)"transform"===s&&delete r[s],"filter"===s&&delete r[s],"transform-origin"===s&&delete r[s],"auto"===r[s]&&delete r[s],"x"===s&&(n=r[s],r[a="left"]=n,delete r[s]),"y"===s&&(n=r[s],r[a="top"]=n,delete r[s]),"-ms-transform"!==s&&"-ms-filter"!==s||delete r[s];i.delay(d).animate(r,l,u)}}})}},jQuery.fn.CSSAnimate=jQuery.CSS.animate,jQuery.normalizeCss=jQuery.CSS.normalizeCss,jQuery.fn.css3=function(i){return this.each(function(){var e=jQuery(this),t=jQuery.normalizeCss(i);e.css(t)})},(s=>{s.simpleSlider={defaults:{initialval:0,maxval:100,orientation:"h",readonly:!1,callback:!1},events:{start:s.browser.mobile?"touchstart":"mousedown",end:s.browser.mobile?"touchend":"mouseup",move:s.browser.mobile?"touchmove":"mousemove"},init:function(n){return this.each(function(){var t=this,i=s(t),e=(i.addClass("simpleSlider"),t.opt={},s.extend(t.opt,s.simpleSlider.defaults,n),s.extend(t.opt,i.data()),"h"==t.opt.orientation?"horizontal":"vertical"),e=s("<div/>").addClass("level").addClass(e);i.prepend(e),t.level=e,i.css({cursor:"default"}),"auto"==t.opt.maxval&&(t.opt.maxval=s(t).outerWidth()),i.updateSliderVal(),t.opt.readonly||(i.on(s.simpleSlider.events.start,function(e){s.browser.mobile&&(e=e.changedTouches[0]),t.canSlide=!0,i.updateSliderVal(e),"h"==t.opt.orientation?i.css({cursor:"col-resize"}):i.css({cursor:"row-resize"}),t.lastVal=t.val,s.browser.mobile||(e.preventDefault(),e.stopPropagation())}),s(document).on(s.simpleSlider.events.move,function(e){s.browser.mobile&&(e=e.changedTouches[0]),t.canSlide&&(s(document).css({cursor:"default"}),i.updateSliderVal(e),s.browser.mobile||(e.preventDefault(),e.stopPropagation()))}).on(s.simpleSlider.events.end,function(){s(document).css({cursor:"auto"}),t.canSlide=!1,i.css({cursor:"auto"})}))})},updateSliderVal:function(e){var t,i,n=this.get(0);function a(e,t){return Math.floor(100*e/t)}n.opt&&(n.opt.initialval="number"==typeof n.opt.initialval?n.opt.initialval:n.opt.initialval(n),t=s(n).outerWidth(),i=s(n).outerHeight(),n.x="object"==typeof e?e.clientX+document.body.scrollLeft-this.offset().left:"number"==typeof e?e*t/n.opt.maxval:n.opt.initialval*t/n.opt.maxval,n.y="object"==typeof e?e.clientY+document.body.scrollTop-this.offset().top:"number"==typeof e?(n.opt.maxval-n.opt.initialval-e)*i/n.opt.maxval:n.opt.initialval*i/n.opt.maxval,n.y=this.outerHeight()-n.y,n.scaleX=n.x*n.opt.maxval/t,n.scaleY=n.y*n.opt.maxval/i,n.outOfRangeX=n.scaleX>n.opt.maxval?n.scaleX-n.opt.maxval:n.scaleX<0?n.scaleX:0,n.outOfRangeY=n.scaleY>
1n.opt.maxval?n.scaleY-n.opt.maxval:n.scaleY<0?n.scaleY:0,n.outOfRange="h"==n.opt.orientation?n.outOfRangeX:n.outOfRangeY,n.value=void 0!==e?"h"==n.opt.orientation?n.x>=this.outerWidth()?n.opt.maxval:n.x<=0?0:n.scaleX:n.y>=this.outerHeight()?n.opt.maxval:n.y<=0?0:n.scaleY:"h"==n.opt.orientation?n.scaleX:n.scaleY,"h"==n.opt.orientation?n.level.width(a(n.x,t)+"%"):n.level.height(a(n.y,i)),n.lastVal===n.value&&("h"===n.opt.orientation&&(n.x>=this.outerWidth()||n.x<=0)||"h"!==n.opt.orientation&&(n.y>=this.outerHeight()||n.y<=0))||("function"==typeof n.opt.callback&&n.opt.callback(n),n.lastVal=n.value))}},s.fn.simpleSlider=s.simpleSlider.init,s.fn.updateSliderVal=s.simpleSlider.updateSliderVal})(jQuery),(t=>{t.mbCookie={set:function(e,t,i,n){"object"==typeof t&&(t=JSON.stringify(t)),n=n?"; domain="+n:"";var a=new Date,s="";0<i&&(a.setTime(a.getTime()+864e5*i),s="; expires="+a.toGMTString()),document.cookie=e+"="+t+s+"; path=/"+n},get:function(e){e+="=";for(var t=document.cookie.split(";"),i=0;i<t.length;i++){for(var n=t[i];" "==n.charAt(0);)n=n.substring(1,n.length);if(0==n.indexOf(e))try{return JSON.parse(n.substring(e.length,n.length))}catch(t){return n.substring(e.length,n.length)}}return null},remove:function(e){t.mbCookie.set(e,"",-1)}},t.mbStorage={set:function(e,t){"object"==typeof t&&(t=JSON.stringify(t)),localStorage.setItem(e,t)},get:function(t){if(!localStorage[t])return null;try{return JSON.parse(localStorage[t])}catch(e){return localStorage[t]}},remove:function(e){e?localStorage.removeItem(e):localStorage.clear()}}})(jQuery),window.SEMICOLON_youtubeBgVideoInit=function(e){if((e=e.filter(":not(.mb_YTPlayer,.customjs)")).length<1)return!0;e.each(function(){var e,t,i=$(this),n=i.attr("data-video"),a=i.attr("data-mute")||!0,s=i.attr("data-ratio")||"16/9",o=i.attr("data-quality")||"hd720",r=i.attr("data-opacity")||1,l=i.attr("data-container")||"parent",d=i.attr("data-optimize")||!0,c=i.attr("data-loop")||!0,u=(i.attr("data-controls"),i.attr("data-volume")||50),h=i.attr("data-start")||0,p=i.attr("data-stop")||0,f=i.attr("data-autoplay")||!0,m=i.attr("data-fullscreen")||!1;"false"==a&&(a=!1),"parent"==l&&(l=(e=i.parent()).attr("id")?"#"+e.attr("id"):(t="yt-bg-player-parent-"+Math.floor(1e4*Math.random()),e.attr("id",t),"#"+t)),"false"==d&&(d=!1),"false"==c&&(c=!1),"false"==f&&(f=!1),"true"==m&&(m=!0),i.YTPlayer({videoURL:n,mute:a,ratio:s,quality:o,opacity:Number(r),containment:l,optimizeDisplay:d,loop:c,vol:Number(u),startAt:Number(h),stopAt:Number(p),autoPlay:f,realfullscreen:m,showYTLogo:!1,showControls:!1})})},(()=>{var p,i,f,m;function l(e){this.time=e.time,this.target=e.target,this.rootBounds=a(e.rootBounds),this.boundingClientRect=a(e.boundingClientRect),this.intersectionRect=a(e.intersectionRect||n()),this.isIntersecting=!!e.intersectionRect;var e=this.boundingClientRect,e=e.width*e.height,t=this.intersectionRect,t=t.width*t.height;this.intersectionRatio=e?Number((t/e).toFixed(4)):this.isIntersecting?1:0}function e(e,t){var i,n,a,t=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(t.root&&1!=t.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=(i=this._checkForIntersections.bind(this),n=this.THROTTLE_TIMEOUT,a=null,function(){a=a||setTimeout(function(){i(),a=null},n)}),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(t.rootMargin),this.thresholds=this._initThresholds(t.threshold),this.root=t.root||null,this.rootMargin=this._rootMarginValues.map(function(e){return e.value+e.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function s(e,t,i,n){"function"==typeof e.addEventListener?e.addEventListener(t,i,n||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,i)}function o(e,t,i,n){"function"==typeof e.removeEventListener?e.removeEventListener(t,i,n||!1):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,i)}function g(e){var t;try{t=e.getBoundingClientRect()}catch(e){}return t?t.width&&t.height?t:{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}:n()}function n(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function a(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function v(e,t){var i=t.top-e.top,e=t.left-e.left;return{top:i,left:e,height:t.height,width:t.width,bottom:i+t.height,right:e+t.width}}function t(e,t){for(var i=t;i;){if(i==e)return!0;
1i=y(i)}return!1}function y(e){var t=e.parentNode;return 9==e.nodeType&&e!=p?r(e):t&&11==t.nodeType&&t.host?t.host:t&&t.assignedSlot?t.assignedSlot.parentNode:t}function r(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(e){return null}}"object"==typeof window&&("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype?"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return 0<this.intersectionRatio}}):(p=window.document,i=[],m=f=null,e.prototype.THROTTLE_TIMEOUT=100,e.prototype.POLL_INTERVAL=null,e.prototype.USE_MUTATION_OBSERVER=!0,e._setupCrossOriginUpdater=function(){return f=f||function(e,t){m=e&&t?v(e,t):n(),i.forEach(function(e){e._checkForIntersections()})}},e._resetCrossOriginUpdater=function(){m=f=null},e.prototype.observe=function(t){var e=this._observationTargets.some(function(e){return e.element==t});if(!e){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(t.ownerDocument),this._checkForIntersections()}},e.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter(function(e){return e.element!=t}),this._unmonitorIntersections(t.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},e.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},e.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},e.prototype._initThresholds=function(e){e=e||[0];return(e=Array.isArray(e)?e:[e]).sort().filter(function(e,t,i){if("number"!=typeof e||isNaN(e)||e<0||1<e)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==i[t-1]})},e.prototype._parseRootMargin=function(e){e=(e||"0px").split(/\s+/).map(function(e){e=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(e)return{value:parseFloat(e[1]),unit:e[2]};throw new Error("rootMargin must be specified in pixels or percent")});return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},e.prototype._monitorIntersections=function(t){var i,n,a,e=t.defaultView;e&&-1==this._monitoringDocuments.indexOf(t)&&(i=this._checkForIntersections,a=n=null,this.POLL_INTERVAL?n=e.setInterval(i,this.POLL_INTERVAL):(s(e,"resize",i,!0),s(t,"scroll",i,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in e&&(a=new e.MutationObserver(i)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push(function(){var e=t.defaultView;e&&(n&&e.clearInterval(n),o(e,"resize",i,!0)),o(t,"scroll",i,!0),a&&a.disconnect()}),t!=(this.root&&this.root.ownerDocument||p))&&(e=r(t))&&this._monitorIntersections(e.ownerDocument)},e.prototype._unmonitorIntersections=function(n){var a,e,t=this._monitoringDocuments.indexOf(n);-1==t||(a=this.root&&this.root.ownerDocument||p,this._observationTargets.some(function(e){if((t=e.element.ownerDocument)==n)return!0;for(;t&&t!=a;){var t,i=r(t);if((t=i&&i.ownerDocument)==n)return!0}return!1}))||(e=this._monitoringUnsubscribes[t],this._monitoringDocuments.splice(t,1),this._monitoringUnsubscribes.splice(t,1),e(),n!=a&&(t=r(n))&&this._unmonitorIntersections(t.ownerDocument))},e.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0;for(var t=this._monitoringUnsubscribes.length=0;t<e.length;t++)e[t]()},e.prototype._checkForIntersections=function(){var o,r;(this.root||!f||m)&&(o=this._rootIsInDom(),r=o?this._getRootRect():n(),this._observationTargets.forEach(function(e){var t=e.element,i=g(t),n=this._rootContainsTarget(t),a=e.entry,s=o&&n&&this._computeTargetAndRootIntersection(t,i,r),e=e.entry=new l({time:window.performance&&performance.now&&performance.now(),target:t,boundingClientRect:i,rootBounds:f&&!this.root?null:r,intersectionRect:s});a?o&&n?this._hasCrossedThreshold(a,e)&&this._queuedEntries.push(e):a&&a.isIntersecting&&this._queuedEntries.push(e):this._queuedEntries.push(e)},this),this._queuedEntries.length)&&this._callback(this.takeRecords(),this)},e.prototype._computeTargetAndRootIntersection=function(e,t,i){if("none"!=window.getComputedStyle(e).display){for(var n,a,s=t,o=y(e),r=!1;!r&&o;){var l,d,c,u=null,h=1==o.nodeType?window.getComputedStyle(o):{};if("none"==h.display)return null;if(o==this.root||9==o.nodeType?(r=!0,o==this.root||o==p?f&&!this.root?!m||0==m.width&&0==m.height?s=u=o=null:u=m:u=i:(l=(c=y(o))&&g(c),d=c&&this._computeTargetAndRootIntersection(c,l,i),l&&d?(o=c,u=v(l,d)):s=o=null)):o!=(c=o.ownerDocument).body&&o!=c.documentElement&&"visible"!=h.overflow&&(u=g(o)),u&&(l=u,d=s,a=n=u=h=void 0,h=Math.max(l.top,d.top),u=Math.min(l.bottom,d.bottom),n=Math.max(l.left,d.left),l=Math.min(l.right,d.right),a=u-h,s=0<=(d=l-n)&&0<=a?{top:h,bottom:u,left:n,right:l,width:d,height:a}:null),!s)break;o=o&&y(o)}return s}},e.prototype._getRootRect=function(){var e,t;return t=this.root?g(this.root):(t=p.documentElement,e=p.body,{top:0,left:0,right:t.clientWidth||e.clientWidth,width:t.clientWidth||e.clientWidth,bottom:t.clientHeight||e.clientHeight,height:t.clientHeight||e.clientHeight}),this._expandRectByRootMargin(t)},e.prototype._expandRectByRootMargin=function(i){var e=this._rootMarginValues.map(function(e,t){return"px"==e.unit?e.value:e.value*(t%2?i.width:i.height)/100}),e={top:i.top-e[0],right:i.right+e[1],bottom:i.bottom+e[2],left:i.left-e[3]};return e.width=e.right-e.left,e.height=e.bottom-e.top,e},e.prototype._hasCrossedThreshold=function(e,t){var i=e&&e.isIntersecting?e.intersectionRatio||0:-1,n=t.isIntersecting?t.intersectionRatio||0:-1;if(i!==n)for(var a=0;a<this.thresholds.length;a++){var s=this.thresholds[a];if(s==i||s==n||s<i!=s<n)return!0}},e.prototype._rootIsInDom=function(){return!this.root||t(p,this.root)},e.prototype._rootContainsTarget=function(e){return t(this.root||p,e)&&(!this.root||this.root.ownerDocument==e.ownerDocument)},e.prototype._registerInstance=function(){i.indexOf(this)<0&&i.push(this)},e.prototype._unregisterInstance=function(){var e=i.indexOf(this);-1!=e&&i.splice(e,1)},window.IntersectionObserver=e,window.IntersectionObserverEntry=l))})(),$(document).ready(function(){$(".multiWideSlider").owlCarousel({loop:!0,margin:10,dots:!1,nav:!0,navText:["<",">"],responsive:{0:{items:1},600:{items:3},1e3:{items:6}}}),$(".categorySlider").owlCarousel({loop:!0,margin:10,dots:!1,nav:!0,navText:["&#xf104;","&#xf105;"],responsive:{0:{items:1},600:{items:2},1e3:{items:3}}}),$(".testimonialsSlider").owlCarousel({loop:!0,margin:10,dots:!1,nav:!0,items:1,navText:["&#xf104;","&#xf105;"]});
1var e=$(".main-slider__container"),t=e.data("carousel-options");e.owlCarousel($.extend({loop:!1,rewind:!0,autoplay:!0,margin:10,dots:!0,nav:!0,items:1,navText:["&#xf104;","&#xf105;"]},t)),$(".magazineSlider").owlCarousel({loop:!1,margin:10,dots:!1,startPosition:"5",navText:["&#xf104;","&#xf105;"],nav:!0,responsive:{0:{items:1},600:{items:3},960:{items:5},1200:{items:6}}})}),$(document).ready(function(){handleAddToCart(),handleAjaxUpsellingAddToCart()}),$(document).ready(function(){var e=kcCheckCookie("forumMobileBottom"),t=kcCheckCookie("forumFullWelcome");checkIfscreenerExist(),adjustScreener(),screenerExceptions(),$(".promo-mobile-bar").length&&(e||displayMobileBottom(),handleMobileBottomSection()),t||(handleFullWelcomeIframe(),handleFullWelcome(),kcSetCookie("forumFullWelcome","true",1))}),$(window).on("resize",function(){adjustScreener()}),$(document).ready(function(){$(document).on("click","#cookie-show-more",function(e){e.preventDefault(),$(".cookie-show-more").hide(),$(".cookie-multidot").hide(),$(".more-cookie-text").slideDown(300)})}),$(document).ready(function(){jumpToHighlighted(),$(".bookcases__filter").select;function t(){var o,r,e=$("#no-items"),l=parseInt($("#bookcases__filter option:selected").val()),d=parseInt($("#bookcases__filter-domain option:selected").val()),t=(e.hide(),$("[data-bookcase-content]"));t.length&&0!==e.length?(t.addClass("hide"),o=i.split(" "),r=o.length,0!==(t=t.filter(function(e,t){var i=(t=$(t)).attr("data-bookcase-content").toUpperCase(),n=t.attr("data-bookcase-release-number"),a=parseInt(t.attr("data-bookcase-type")),t=parseInt(t.attr("data-bookcase-domain")),s=0,n=(o.forEach(function(e,t){-1!==i.indexOf(o[t])&&s++}),!(""!==i&&s!==r||""!==c&&n!==c));return 0!==l&&(n=n&&a===l),n=0!==d?n&&t===d:n})).length?t.removeClass("hide"):e.show()):0!==e.length&&e.show()}var n,a,s,o,c="",i="";$("#show-more-button").click(function(){$("[data-file-type]").removeClass("hidden"),$("#show-more-button").addClass("hidden")});t(),$("#bookcases__filter").change(function(){t()}),$("#bookcases__filter-domain").change(function(){t()}
1),$("[data-bookcase-release]").click(function(){var e=$(this).attr("data-bookcase-release"),e=(c=c===e?"":e,!0);$(this).hasClass("checked")&&(e=!1),$("[data-bookcase-release]").removeClass("checked"),e&&$(this).addClass("checked"),t()}),$("[data-bookcase-query]").keyup((n=function(){i=$(this).val().toUpperCase(),t()},a=250,function(){var e=this,t=arguments,i=s&&!o;clearTimeout(o),o=setTimeout(function(){o=null,s||n.apply(e,t)},a),i&&n.apply(e,t)}))}),$(document).ready(function(){var e=$("#locale").attr("data-locale");mainCartUrl="en"==e?"/cart/":"/koszyk/",localStorage.setItem("ajaxInProgress",""),handleFirstStepInCart(),handleCouponInput(),handleCoupon(),handleCouponSelection(),handleCombinationCouponSelection(),handleMultiDiscountSelection(),handleQuantityChange(),handleMarkProductAsGift(),handleRemovingProductFromCart(),handleClientType(),handleBudgetClient(),handleSlideSections(),handleFormSubmit(),handleShipmentSection(),handleTermsCollapse(),getDataFromGus(),checkVatNumber(),displayParticipant(),handleAjaxFormLogin(),handleAjaxFormResetPassword(),handlePlaceOrder(),handleLoginCart2(),handleOrderVat(),handleChangingShippingType(),handleCartHelpForm(),handlePaymentSystemSelection(),paymentRewardHelper(),handleCartHelpModal(),handleProfessionalNatureFields(),initKeyboard(),recipientNipOrIdWewBlocker(),handleVatExemptionChange()}),(()=>{function a(e,a){$(document).find(".child-"+e).each(function(e){var t=$(this).attr("name"),i=$(this).attr("value"),n=$(this).attr("data-name");1==a?($(this).prop("checked",!0),l(t,i,n)):($(this).prop("checked",!1),r(t,i))})}function s(e,t){var e=e.split(":"),i=e[0],e=e[1];$('input[name="'+i+'"][value="'+e+'"]').prop("checked",!1),r(i,e),d(),t&&(c(),o())}function o(){var t,i={}
1,e=($("[data-filter-type]").each(function(){var e=$(this).attr("data-filter-type");(t=$(this).find("input:checkbox:checked").map(function(){return $(this).val()}).get()).length&&(i[e]=t)}),$.isEmptyObject(i)?null:btoa(JSON.stringify(i))),e=($("#listing-form").find('[name="filters"]').val(e),$("#listing-form").serialize());history.pushState({},"a","?"+JSON.stringify(e).replace(/\"/g,""));var e=e+"&windowWidth="+$(window).width(),n=$("[data-listing-id]").attr("data-listing-id"),n=(n&&$.ajax({url:Routing.generate("api_listing",{id:n})+"?"+e,success:function(e){e=JSON.parse(e);$("#new-posts-listing").html(e.view)},type:"POST",dataType:"html"}),$("[data-author-id]").attr("data-author-id"));n&&$.ajax({url:Routing.generate("api_author_listing",{id:n})+"?"+e,success:function(e){e=JSON.parse(e);$("#new-posts-listing").html(e.view)},type:"POST",dataType:"html"})}function r(e,t){$('[data-use-type="'+e+'"]').find("[data-use-items] span#"+t).remove()}function l(e,t,i){var n=$('[data-use-type="'+e+'"]');n.find("[data-use-items] span#"+t).length||$(n).find("[data-use-items]").append('<span id="'+t+'" class="listing__remove-filter" data-remove-filter="'+e+":"+t+'">'+i+"</span>")}function d(){$("[data-use-items]").each(function(e,t){0<$(t).find("span").length?$(t).parent().removeClass("hidden"):$(t).parent().addClass("hidden")})}function c(){$("#listing-form").find('[name="page"]').val(1)}$(document).ready(function(){var t,e,i,n;$(".ps-scroll").each(function(){new PerfectScrollbar($(this)[0])});$(['data-listing-type="blog"']).length&&(t=[],$(document).on("click","[data-move-page]",function(e){e.preventDefault();e=$(this).attr("data-move-page");$('#blog-listing-form [name="page"]').val(e),i(),$("html, body").animate({scrollTop:$("#blog-listing").offset().top},200)}),e="",n=function(n,a,s){var o;return function(){var e=this,t=arguments,i=s&&!o;clearTimeout(o),o=setTimeout(function(){o=null,s||n.apply(e,t)},a),i&&n.apply(e,t)}}
1,i=function(){var e=$("#blog-listing-form").serialize();$.ajax({method:"POST",dataType:"html",url:Routing.generate("api_blog_listing")+"?"+e}).done(function(e){e=JSON.parse(e);$("#blog-listing").html(e.view)})},$("#blog-query").keyup(n(function(){e=$(this).val().toLowerCase(),$('#blog-listing-form [name="query"]').val(e),$('#blog-listing-form [name="page"]').val(1),i()},400)),$("#listing-query").keyup(n(function(){$('#listing-form [name="query"]').val($(this).val().toLowerCase()),c(),o()},400)),$(".blog-listing-option").change(function(e){$(this).is(":checked")?t.push($(this).attr("value")):t.splice(t.indexOf($(this).attr("value")),1),$('#blog-listing-form [name="section"]').val(JSON.stringify(t)),$('#blog-listing-form [name="page"]').val(1),i()})),$("[data-mark-all]").click(function(){$(this).parent().find(".custom-control:visible input:checkbox").prop("checked",!0),d(),o()}),$("#newFilters").length&&(n=$(".filter-option:checked"),$.each(n,function(e,t){t=$(t);t.hasClass("hidden")||l(t.attr("name"),t.attr("value"),t.attr("data-name"))}),d(),o()),$("[data-tag-id]").click(function(){$(this).toggleClass("active");var n=[];$("[data-tag-id].active").each(function(e,t){var t=$(t).attr("data-tag-id"),i=$("#listing-form");n.push(t),i.find('[name="tags"]').val(JSON.stringify(n))}),c(),o()}),$("[data-sort-items]").change(function(e){$("[data-sort-items]").prop("checked",!1),i=$(this).is("select")?(t=(i=$(this).find(":selected").attr("value").split(":"))[0],i[1]):(t=$(this).attr("name"),$(this).val());var t,i,n=$("#listing-form");n.find('[name="sort"]').val(t),n.find('[name="order"]').val(i),$(this).prop("checked",!0),c(),o()}),$(document).on("change",".filter-option",function(e){var t=$(this).attr("name"),i=$(this).attr("value"),n=$(this).attr("data-name");$(this).is(":checked")?(l(t,i,n),$(this).hasClass("parent-"+i)&&a(i,!0)):(r(t,i),a(i,!1)),d(),c(),o()}),$(document).on("click","[data-change-page]",function(){var e=$
1(this).attr("data-change-page");$("#listing-form").find('[name="page"]').val(e),$("html, body").animate({scrollTop:$("#new-posts-listing").offset().top},500),o()}),$(document).on("click","[data-remove-filter]",function(){s($(this).attr("data-remove-filter"),!0)})}),$(".listing__filter-name").click(function(){$(this).parent().toggleClass("active")}),$(document).on("click","[data-clear-selected-options-in-filters]",function(){var e=$(this).closest("[data-filter-type]").attr("data-filter-type");$('[data-use-type="'+e+'"').find("[data-remove-all-filters]").click()}),$(document).on("click","[data-remove-all-filters]",function(){var e=$(this).closest("[data-use-type]").find("[data-remove-filter]");$.each(e,function(e,t){s($(t).attr("data-remove-filter"),!1)}),c(),o()}),$(document).on("click",".ajax-pagination a[data-go-to-page]",function(e){e.preventDefault();e=$(this).attr("data-go-to-page");$('#listing-form [name="page"]').val(e),$("html, body").animate({scrollTop:$("#posts-list").offset().top},500),o()}),$(document).on("click","#new-posts-listing a[data-go-to-page]",function(e){e.preventDefault();e=$(this).attr("data-go-to-page");$('#listing-form [name="page"]').val(e),$("html, body").animate({scrollTop:$("#posts").offset().top},500),o()}
1),$(document).on("click","[data-expanded]",function(){var e=$(this).attr("data-expanded");$("[data-expanded]").attr("data-expanded",1===parseInt(e)?0:1),$(".filter__options-container").toggle()});var n=null;$(document).on("input",".ajaxSearchAuthor",function(){var e=$(this),t=e.val(),i=e.attr("data-listing");null!==n&&clearTimeout(n),n=setTimeout(function(){$.ajax({method:"POST",url:"/ajax/searchAuthors",data:{query:t,listingId:i},success:function(e){$(".authorsSelect").html(e)}}),n=null},500)})})(),$(document).ready(function(){var n,a,s,o,i="";$("[data-filter-options]").keyup((n=function(){i=$(this).val().toUpperCase();var a,s,e=$(this),t=(e=$(e).parents(["data-filter-type"])).find(".no-items");$(t).hide(),(e=e.find("[data-name]")).length&&(e.hide(),a=i.split(" "),s=a.length,0!==(e=e.filter(function(e,t){var i=(t=$(t)).attr("data-name").toUpperCase(),n=0;return a.forEach(function(e,t){-1!==i.indexOf(a[t])&&n++}),""===i||n===s})).length?(e.show(),$(t).hide()):$(t).show())},a=250,function(){var e=this,t=arguments,i=s&&!o;clearTimeout(o),o=setTimeout(function(){o=null,s||n.apply(e,t)},a),i&&n.apply(e,t)}))}),$(document).ready(function(){passMarketingVariables()}),$(document).ready(function(){$(document).on("submit","#otp-reset-password-form",function(e){e.preventDefault();var t=$(this),i=t.find('button[type="submit"]'),n=t.find("#otp-reset-password-response");n.hide().text(""),i.prop("disabled",!0),$.ajax({url:t.attr("action"),method:"POST",data:new FormData(this),processData:!1,contentType:!1,success:function(e){"success"===e.status&&e.redirectUrl&&window.location.assign(e.redirectUrl)},error:function(e){e=e.responseJSON||{};"validation_error"===e.status&&e.content?$("#lead_container").html(e.content):n.text(e.message||t.data("error-message")).show()},complete:function(){i.prop("disabled",!1)}})})});var Litepicker=(i=>{var n={};function a(e){var t;return(n[e]||(t=n[e]={i:e,l:!1,exports:{}},i[e].call(t.exports,t,t.exports,a),t.l=!0,t)).exports}return a.m=i,a.c=n,a.d=function(e,t,i){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(a.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)a.d(i,n,function(e){return t[e]}.bind(null,n));return i},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=4)})([function(e,t,i){function f(e,t,i){void 0===e&&(e=null),void 0===i&&(i="en-US"),this.dateInstance="object"==typeof(t=void 0===t?null:t)&&null!==t?t.parse(e instanceof f?e.clone().toJSDate():e):"string"==typeof t?f.parseDateTime(e,t,i):f.parseDateTime(e||new Date),this.lang=i}Object.defineProperty(t,"__esModule",{value:!0}),f.parseDateTime=function(e,t,i){if(void 0===t&&(t="YYYY-MM-DD"),void 0===i&&(i="en-US"),!e)return new Date(NaN);if(e instanceof Date)return new Date(e);if(e instanceof f)return e.clone().toJSDate();if(/^-?\d{10,}$/.test(e))return f.getDateZeroTime(new Date(Number(e)));if("string"==typeof e){for(var n,a=[];null!=(n=f.regex.exec(t));)"\\"!==n[1]&&a.push(n);if(a.length){var s={year:null,month:null,shortMonth:null,longMonth:null,day:null,value:""};0<a[0].index&&(s.value+=".*?");for(var o=0,r=Object.entries(a);o<r.length;o++){var l=r[o],d=l[0],l=l[1],d=Number(d),l=f.formatPatterns(l[0],i),c=l.group,l=l.pattern;s[c]=d+1,s.value+=l,s.value+=".*?"}var u,h,p=new RegExp("^"+s.value+"$");if(p.test(e))return p=p.exec(e),u=Number(p[s.year]),h=null,s.month?h=Number(p[s.month])-1:s.shortMonth?h=f.shortMonths(i).indexOf(p[s.shortMonth]):s.longMonth&&(h=f.longMonths(i).indexOf(p[s.longMonth])),p=Number(p[s.day])||1,new Date(u,h,p,0,0,0,0)}}return f.getDateZeroTime(new Date(e))},f.convertArray=function(e,t){return e.map(function(e){return e instanceof Array?e.map(function(e){return new f(e,t)}):new f(e,t)})},f.getDateZeroTime=function(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0,0)},f.shortMonths=function(t){return f.MONTH_JS.map(function(e){return new Date(2019,e).toLocaleStr
vendor: 6,897 bytes, line 1
1ing(t,{month:"short"})})},f.longMonths=function(t){return f.MONTH_JS.map(function(e){return new Date(2019,e).toLocaleString(t,{month:"long"})})},f.formatPatterns=function(e,t){switch(e){case"YY":case"YYYY":return{group:"year",pattern:"(\\d{"+e.length+"})"};case"M":return{group:"month",pattern:"(\\d{1,2})"};case"MM":return{group:"month",pattern:"(\\d{2})"};case"MMM":return{group:"shortMonth",pattern:"("+f.shortMonths(t).join("|")+")"};case"MMMM":return{group:"longMonth",pattern:"("+f.longMonths(t).join("|")+")"};case"D":return{group:"day",pattern:"(\\d{1,2})"};case"DD":return{group:"day",pattern:"(\\d{2})"}}},f.prototype.toJSDate=function(){return this.dateInstance},f.prototype.toLocaleString=function(e,t){return this.dateInstance.toLocaleString(e,t)},f.prototype.toDateString=function(){return this.dateInstance.toDateString()},f.prototype.getSeconds=function(){return this.dateInstance.getSeconds()},f.prototype.getDay=function(){return this.dateInstance.getDay()},f.prototype.getTime=function(){return this.dateInstance.getTime()},f.prototype.getDate=function(){return this.dateInstance.getDate()},f.prototype.getMonth=function(){return this.dateInstance.getMonth()},f.prototype.getFullYear=function(){return this.dateInstance.getFullYear()},f.prototype.setMonth=function(e){return this.dateInstance.setMonth(e)},f.prototype.setHours=function(e,t,i,n){this.dateInstance.setHours(e=void 0===e?0:e,t=void 0===t?0:t,i=void 0===i?0:i,n=void 0===n?0:n)},f.prototype.setSeconds=function(e){return this.dateInstance.setSeconds(e)},f.prototype.setDate=function(e){return this.dateInstance.setDate(e)},f.prototype.setFullYear=function(e){return this.dateInstance.setFullYear(e)},f.prototype.getWeek=function(e){var t=new Date(this.timestamp()),i=(this.getDay()+(7-e))%7,i=(t.setDate(t.getDate()-i),t.getTime());return t.setMonth(0,1),t.getDay()!==e&&t.setMonth(0,1+(4-t.getDay()+7)%7),1+Math.ceil((i-t.getTime())/6048e5)},f.prototype.clone=function(){return new f(this.toJSDate())},f.prototype.isBetween=function(e,t,i){switch(i=void 0===i?"()":i){default:case"()":return this.timestamp()>e.getTime()&&this.timestamp()<t.getTime();case"[)":return this.timestamp()>=e.getTime()&&this.timestamp()<t.getTime();case"(]":return this.timestamp()>e.getTime()&&this.timestamp()<=t.getTime();case"[]":return this.timestamp()>=e.getTime()&&this.timestamp()<=t.getTime()}},f.prototype.isBefore=function(e,t){switch(t=void 0===t?"seconds":t){case"second":case"seconds":return e.getTime()>this.getTime();case"day":case"days":return new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()>new Date(this.getFullYear(),this.getMonth(),this.getDate()).getTime();case"month":case"months":return new Date(e.getFullYear(),e.getMonth(),1).getTime()>new Date(this.getFullYear(),this.getMonth(),1).getTime();case"year":case"years":return e.getFullYear()>this.getFullYear()}throw new Error("isBefore: Invalid unit!")},f.prototype.isSameOrBefore=function(e,t){switch(t=void 0===t?"seconds":t){case"second":case"seconds":return e.getTime()>=this.getTime();case"day":case"days":return new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()>=new Date(this.getFullYear(),this.getMonth(),this.getDate()).getTime();case"month":case"months":return new Date(e.getFullYear(),e.getMonth(),1).getTime()>=new Date(this.getFullYear(),this.getMonth(),1).getTime()}throw new Error("isSameOrBefore: Invalid unit!")},f.prototype.isAfter=function(e,t){switch(t=void 0===t?"seconds":t){case"second":case"seconds":return this.getTime()>e.getTime();case"day":case"days":return new Date(this.getFullYear(),this.getMonth(),this.getDate()).getTime()>new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime();case"month":case"months":return new Date(this.getFullYear(),this.getMonth(),1).getTime()>new Date(e.getFullYear(),e.getMonth(),1).getTime();case"year":case"years":return this.getFullYear()>e.getFullYear()}throw new Error("isAfter: Invalid unit!")},f.prototype.isSameOrAfter=function(e,t){switch(t=void 0===t?"seconds":t){case"second":case"seconds":return this.getTime()>=e.getTime();case"day":case"days":return new Date(this.getFullYear(),this.getMonth(),this.getDate()).getTime()>=new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime();case"month":case"months":return new Date(this.getFullYear(),this.getMonth(),1).getTime()>=new Date(e.getFullYear(),e.getMonth(),1).getTime()}throw new Error("isSameOrAfter: Invalid unit!")},f.prototype.isSame=function(e,t){switch(t=void 0===t?"seconds":t){case"second":case"seconds":return this.getTime()===e.getTime();case"day":case"days":return new Date(this.getFullYear(),this.getMonth(),this.getDate()).getTime()===new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime();case"month":case"months":return new Date(this.getFullYear(),this.getMonth(),1).getTime()===new Date(e.getFullYear(),e.getMonth(),1).getTime()}throw new Error("isSame: Invalid unit!")},f.prototype.add=function(e,t){switch(t=void 0===t?"seconds":t){case"second":case"seconds":this.setSeconds(this.getSeconds()+e);break;case"day":case"days":this.setDate(this.getDate()+e);break;case"month":case"months":this.setMonth(this.getMonth()+e)}return this},f.prototype.subtract=function(e,t){switch(t=void 0===t?"seconds":t){case"second":case"seconds":this.setSeconds(this.getSeconds()-e);break;case"day":case"days":this.setDate(this.getDate()-e);break;case"month":case"months":this.setMonth(this.getMonth()-e)}return this},f.prototype.diff=function(e,t){switch(t=void 0===t?"seconds":t){default:case"second":case"seconds":return this.getTime()-e.getTime();case"day":case"days":return Math.round((this.timestamp()-e.getTime())/864e5);case"month":case"months":}},f.prototype.format=function(e,t){if(void 0===t&&(t="en-US"),"object"==typeof e)return e.output(this.clone().toJSDate());for(var i,n="",a=[];null!=(i=f.regex.exec(e));)"\\"!==i[1]&&a.push(i);if(a.length){0<a[0].index&&(n+=e.substring(0,a[0].index));for(var s=0,o=Object.entries(a);s<o.length;s++){var r=o[s],l=r[0],r=r[1],l=Number(l);n+=this.formatTokens(r[0],t),a[l+1]&&(n+=e.substring(r.index+r[0].length,a[l+1].index)),l===a.length-1&&(n+=e.substring(r.index+r[0].length))}}return n.replace(/\\/g,"")},f.prototype.timestamp=function(){return new Date(this.getFullYear(),this.getMonth(),this.getDate(),0,0,0,0).getTime()},f.prototype.formatTokens=function(e,t){switch(e){case"YY":return String(this.getFullYear()).slice(-2);case"YYYY":return String(this.getFullYear());case"M":return String(this.getMonth()+1);case"MM":return("0"+(this.getMonth()+1)).slice(-2);case"MMM":return f.shortMonths(t)[this.getMonth()];case"MMMM":return f.longMonths(t)[this.getMonth()];case"D":return String(this.getDate());case"DD":return("0"+this.getDate()).slice(-2);default:return""}},f.regex=/(\\)?(Y{2,4}|M{1,4}|D{1,2}|d{1,4})/g,f.MONTH_JS=[0,1,2,3,4,5,6,7,8,9,10,11],t.DateTime=f},function(e,t,i){var n,a,s=this&&this.__extends||(n=function(e,t){return(n=Object.
1setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])}))(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__spreadArrays||function(){for(var e=0,t=0,i=arguments.length;t<i;t++)e+=arguments[t].length;for(var n=Array(e),a=0,t=0;t<i;t++)for(var s=arguments[t],o=0,r=s.length;o<r;o++,a++)n[a]=s[o];return n},r=(Object.defineProperty(t,"__esModule",{value:!0}),i(5)),l=i(0),d=i(3),c=i(2),i=(a=r.Calendar,s(u,a),u.prototype.scrollToDate=function(e){var t,i;this.options.scrollToDate&&(t=this.options.startDate instanceof l.DateTime?this.options.startDate.clone():null,i=this.options.endDate instanceof l.DateTime?this.options.endDate.clone():null,!this.options.startDate||e&&e!==this.options.element?e&&this.options.endDate&&e===this.options.elementEnd&&(i.setDate(1),1<this.options.numberOfMonths&&i.isAfter(t)&&i.setMonth(i.getMonth()-(this.options.numberOfMonths-1)),this.calendars[0]=i.clone()):(t.setDate(1),this.calendars[0]=t.clone()))},u.prototype.bindEvents=function(){document.addEventListener("click",this.onClick.bind(this),!0),this.ui=document.createElement("div"),this.ui.className=d.litepicker,this.ui.style.display="none",this.ui.addEventListener("mouseenter",this.onMouseEnter.bind(this),!0),this.ui.addEventListener("mouseleave",this.onMouseLeave.bind(this),!1),this.options.autoRefresh?(this.options.element instanceof HTMLElement&&this.options.element.addEventListener("keyup",this.onInput.bind(this),!0),this.options.elementEnd instanceof HTMLElement&&this.options.elementEnd.addEventListener("keyup",this.onInput.bind(this),!0)):(this.options.element instanceof HTMLElement&&this.options.element.addEventListener("change",this.onInput.bind(this),!0),this.options.elementEnd instanceof HTMLElement&&this.options.elementEnd.addEventListener("change",this.onInput.bind(this),!0)),(this.options.parentEl?this.options.parentEl instanceof HTMLElement?this.options.parentEl:document.querySelector(this.options.parentEl):this.options.inlineMode?this.options.element instanceof HTMLInputElement?this.options.element.parentNode:this.options.element:document.body).appendChild(this.ui),this.updateInput(),this.init(),"function"==typeof this.options.setup&&this.options.setup.call(this,this),this.render(),this.options.inlineMode&&this.show()},u.prototype.updateInput=function(){var e,t,i,n;this.options.element instanceof HTMLInputElement&&(e=this.options.startDate,t=this.options.endDate,this.options.singleMode&&e?this.options.element.value=e.format(this.options.format,this.options.lang):!this.options.singleMode&&e&&t&&(i=e.format(this.options.format,this.options.lang),n=t.format(this.options.format,this.options.lang),this.options.elementEnd instanceof HTMLInputElement?(this.options.element.value=i,this.options.elementEnd.value=n):this.options.element.value=""+i+this.options.delimiter+n),e||t||(this.options.element.value="",this.options.elementEnd instanceof HTMLInputElement&&(this.options.elementEnd.value="")))},u.prototype.isSamePicker=function(e){return e.closest("."+d.litepicker)===this.ui},u.prototype.shouldShown=function(e){return!e.disabled&&(e===this.options.element||this.options.elementEnd&&e===this.options.elementEnd)},u.prototype.shouldResetDatePicked=function(){return this.options.singleMode||2===this.datePicked.length},u.prototype.shouldSwapDatePicked=function(){return 2===this.datePicked.length&&this.datePicked[0].getTime()>this.datePicked[1].getTime()},u.prototype.shouldCheckLockDays=function(){return this.options.disallowLockDaysInRange&&2===this.datePicked.length},u.prototype.onClick=function(e){var t,i,n,a,s=e.target;if(s&&this.ui)if(this.shouldShown(s))this.show(s);else if(s.closest("."+d.litepicker)||!this.isShowning()){if(this.isSamePicker(s))if(this.emit
1("before:click",s),this.preventClick)this.preventClick=!1;else{if(s.classList.contains(d.dayItem))return e.preventDefault(),s.classList.contains(d.isLocked)?void 0:(this.shouldResetDatePicked()&&(this.datePicked.length=0),this.datePicked[this.datePicked.length]=new l.DateTime(s.dataset.time),this.shouldSwapDatePicked()&&(t=this.datePicked[1].clone(),this.datePicked[1]=this.datePicked[0].clone(),this.datePicked[0]=t.clone()),this.shouldCheckLockDays()&&c.rangeIsLocked(this.datePicked,this.options)&&(this.emit("error:range",this.datePicked),this.datePicked.length=0),this.render(),this.emit.apply(this,o(["preselect"],o(this.datePicked).map(function(e){return e.clone()}))),void(this.options.autoApply&&(this.options.singleMode&&this.datePicked.length?(this.setDate(this.datePicked[0]),this.hide()):this.options.singleMode||2!==this.datePicked.length||(this.setDateRange(this.datePicked[0],this.datePicked[1]),this.hide()))));s.classList.contains(d.buttonPreviousMonth)?(e.preventDefault(),n=0,a=this.options.switchingMonths||this.options.numberOfMonths,this.options.splitView&&(i=s.closest("."+d.monthItem),n=c.findNestedMonthItem(i),a=1),this.calendars[n].setMonth(this.calendars[n].getMonth()-a),this.gotoDate(this.calendars[n],n),this.emit("change:month",this.calendars[n],n)):s.classList.contains(d.buttonNextMonth)?(e.preventDefault(),n=0,a=this.options.switchingMonths||this.options.numberOfMonths,this.options.splitView&&(i=s.closest("."+d.monthItem),n=c.findNestedMonthItem(i),a=1),this.calendars[n].setMonth(this.calendars[n].getMonth()+a),this.gotoDate(this.calendars[n],n),this.emit("change:month",this.calendars[n],n)):(s.
1classList.contains(d.buttonCancel)&&(e.preventDefault(),this.hide(),this.emit("button:cancel")),s.classList.contains(d.buttonApply)&&(e.preventDefault(),this.options.singleMode&&this.datePicked.length?this.setDate(this.datePicked[0]):this.options.singleMode||2!==this.datePicked.length||this.setDateRange(this.datePicked[0],this.datePicked[1]),this.hide(),this.emit("button:apply",this.options.startDate,this.options.endDate)))}}else this.hide()},u.prototype.showTooltip=function(e,t){var i,n=this.ui.querySelector("."+d.containerTooltip),t=(n.style.visibility="visible",n.innerHTML=t,this.ui.getBoundingClientRect()),a=n.getBoundingClientRect(),s=e.getBoundingClientRect(),o=s.top,r=s.left;this.options.inlineMode&&this.options.parentEl?(o-=(i=this.ui.parentNode.getBoundingClientRect()).top,r-=i.left):(o-=t.top,r-=t.left),o-=a.height,r=(r-=a.width/2)+s.width/2,n.style.top=o+"px",n.style.left=r+"px",this.emit("tooltip",n,e)},u.prototype.hideTooltip=function(){this.ui.querySelector("."+d.containerTooltip).style.visibility="hidden"},u.prototype.shouldAllowMouseEnter=function(e){return!this.options.singleMode&&!e.classList.contains(d.isLocked)},u.prototype.shouldAllowRepick=function(){return this.options.elementEnd&&this.options.allowRepick&&this.options.startDate&&this.options.endDate},u.prototype.isDayItem=function(e){return e.classList.contains(d.dayItem)},u.prototype.onMouseEnter=function(e){var n,a,t,i,s,o=this,e=e.target;this.isDayItem(e)&&this.shouldAllowMouseEnter(e)&&(this.shouldAllowRepick()&&(this.triggerElement===this.options.element?this.datePicked[0]=this.options.endDate.clone():this.triggerElement===this.options.elementEnd&&(this.datePicked[0]=this.options.startDate.clone())),1===this.datePicked.length)&&(s=this.ui.querySelector("."+d.dayItem+'[data-time="'+this.datePicked[0].getTime()+'"]'),n=this.datePicked[0].clone(),a=new l.DateTime(e.dataset.time),i=!1,n.getTime()>a.getTime()&&(t=n.clone(),n=a.clone(),a=t.clone(),i=!0),Array.prototype.slice.call(this.ui.querySelectorAll("."+d.dayItem)).forEach(function(e){var t=new l.DateTime(e.dataset.time),i=o.renderDay(t);t.isBetween(n,a)&&i.classList.add(d.isInRange),e.className=i.className}),e.classList.add(d.isEndDate),i?(s&&s.classList.add(d.isFlipped),e.classList.add(d.isFlipped)):(s&&s.classList.remove(d.isFlipped),e.classList.remove(d.isFlipped)),this.options.showTooltip)&&(t=a.diff(n,"day")+1,0<(t="function"==typeof this.options.tooltipNumber?this.options.tooltipNumber.call(this,t):t)?(i=this.pluralSelector(t),s=t+" "+(this.options.tooltipText[i]||"["+i+"]"),this.showTooltip(e,s),t=window.navigator.userAgent,i=/(iphone|ipad)/i.test(t),s=/OS 1([0-2])/i.test(t),i&&s&&e.dispatchEvent(new Event("click"))):this.hideTooltip())},u.prototype.onMouseLeave=function(e){e.target,this.options.allowRepick&&(!this.options.allowRepick||this.options.startDate||this.options.endDate)&&(this.datePicked.length=0,this.render())},u.prototype.onInput=function(e){var t,i,n=this.parseInput(),a=n[0],n=n[1],s=this.options.format;(this.options.elementEnd?a instanceof l.DateTime&&n instanceof l.DateTime&&a.format(s)===this.options.element.value&&n.format(s)===this.options.elementEnd.value:this.options.singleMode?a instanceof l.DateTime&&a.format(s)===this.options.element.value:a instanceof l.DateTime&&n instanceof l.DateTime&&""+a.format(s)+this.options.delimiter+n.format(s)===this.options.element.value)&&(n&&a.getTime()>n.getTime()&&(t=a.clone(),a=n.clone(),n=t.clone()),this.options.startDate=new l.DateTime(a,this.options.format,this.options.lang),n&&(this.options.endDate=new l.DateTime(n,this.options.format,this.options.lang)),this.updateInput(),this.render(),t=a.clone(),i=0,(this.options.elementEnd?a.format(s)===e.target.value:e.target.value.startsWith(a.format(s)))||(t=n.clone(),i=this.options.numberOfMonths-1),this.emit("selected",this.getStartDate(),this.getEndDate()),this.gotoDate(t,i))},u);function u(e){e=a.call(this,e)||this;return e.preventClick=!1,e.bindEvents(),e}t.Litepicker=i},function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.findNestedMonthItem=function(e){for(var t=e.parentNode.childNodes,i=0;i<t.length;i+=1)if(t.item(i)===e)return i;return 0},t.dateIsLocked=function(t,i,e){var n=!1;return n=(n=i.lockDays.length?i.lockDays.filter(function(e){return e instanceof Array?t.isBetween(e[0],e[1],i.lockDaysInclusivity):e.isSame(t,"day")}).length:n)||"function"!=typeof i.lockDaysFilter?n:i.lockDaysFilter.call(this,t.clone(),null,e)},t.rangeIsLocked=function(i,n){var e=!1;return e=(e=n.lockDays.length?n.lockDays.filter(function(e){var t;return e instanceof Array?(t=i[0].toDateString()===e[0].toDateString()&&i[1].toDateString()===e[1].toDateString(),e[0].isBetween(i[0],i[1],n.lockDaysInclusivity)||e[1].isBetween(i[0],i[1],n.lockDaysInclusivity)||t):e.isBetween(i[0],i[1],n.lockDaysInclusivity)}).length:e)||"function"!=typeof n.lockDaysFilter?e:n.lockDaysFilter.call(this,i[0].clone(),i[1].clone(),i)}},function(e,t,i){var n=i(8),a=("string"==typeof n&&(n=[[e.i,n,""]]),{insert:function(e){var t=document.querySelector("head"),i=window._lastElementInsertedByStyleLoader;window.disableLitepickerStyles||(i?i.nextSibling?t.insertBefore(e,i.nextSibling):t.a
1ppendChild(e):t.insertBefore(e,t.firstChild),window._lastElementInsertedByStyleLoader=e)},singleton:!1});i(10)(n,a),n.locals&&(e.exports=n.locals)},function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0});var n=i(1);t.Litepicker=n.Litepicker,i(11),window.Litepicker=n.Litepicker,t.default=n.Litepicker},function(e,t,i){var n,a,s=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])}))(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=(Object.defineProperty(t,"__esModule",{value:!0}),i(6)),k=i(0),E=i(3),P=i(2),i=(a=o.LPCore,s(r,a),r.prototype.render=function(){var t=this,e=(this.emit("before:render",this.ui),document.createElement("div")),i=(e.className=E.containerMain,document.createElement("div"));i.className=E.containerMonths,E["columns"+this.options.numberOfColumns]&&(i.classList.remove(E.columns2,E.columns3,E.columns4),i.classList.add(E["columns"+this.options.numberOfColumns])),this.options.splitView&&i.classList.add(E.splitView),this.options.showWeekNumbers&&i.classList.add(E.showWeekNumbers);for(var n=this.calendars[0].clone(),a=n.getMonth(),s=n.getMonth()+this.options.numberOfMonths,o=0,r=a;r<s;r+=1){var l=n.clone();l.setDate(1),l.setHours(0,0,0,0),this.options.splitView?l=this.calendars[o].clone():l.setMonth(r),i.appendChild(this.renderMonth(l,o)),o+=1}this.ui.innerHTML="",e.appendChild(i),this.options.resetButton&&(a=void 0,"function"==typeof this.options.resetButton?a=this.options.resetButton.call(this):((a=document.createElement("button")).type="button",a.className=E.resetButton,a.innerHTML=this.options.buttonText.reset),a.addEventListener("click",function(e){e.preventDefault(),t.clearSelection()}),e.querySelector("."+E.monthItem+":last-child").querySelector("."+E.monthItemHeader).appendChild(a)),this.ui.appendChild(e),this.options.autoApply&&!this.options.footerHTML||this.ui.appendChild(this.renderFooter()),this.options.showTooltip&&this.ui.appendChild(this.renderTooltip()),this.ui.dataset.plugins=(this.options.plugins||[]).join("|"),this.emit("render",this.ui)},r.prototype.renderMonth=function(e,t){var a=this,i=e.clone(),n=32-new Date(i.getFullYear(),i.getMonth(),32).getDate(),s=document.createElement("div"),o=(s.className=E.monthItem,document.createElement("div")),r=(o.className=E.monthItemHeader,document.createElement("div"));if(this.options.dropdowns.months){var l=document.createElement("select");l.className=E.monthItemName;for(var d=0;d<12;d+=1){var c=document.createElement("option"),u=new k.DateTime(new Date(e.getFullYear(),d,2,0,0,0)),h=new k.DateTime(new Date(e.getFullYear(),d,1,0,0,0));c.value=String(d),c.text=u.toLocaleString(this.options.lang,{month:"long"}),c.disabled=this.options.minDate&&h.isBefore(new k.DateTime(this.options.minDate),"month")||this.options.maxDate&&h.isAfter(new k.DateTime(this.options.maxDate),"month"),c.selected=h.getMonth()===e.getMonth(),l.appendChild(c)}l.addEventListener("change",function(e){var t,i=e.target,n=0;a.options.splitView&&(t=i.closest("."+E.monthItem),n=P.findNestedMonthItem(t)),a.calendars[n].setMonth(Number(i.value)),a.render(),a.emit("change:month",a.calendars[n],n,e)}),r.appendChild(l)}else(u=document.createElement("strong")).className=E.monthItemName,u.innerHTML=e.toLocaleString(this.options.lang,{month:"long"}),r.appendChild(u);if(this.options.dropdowns.years){var p=document.createElement("select"),f=(p.className=E.monthItemYear,this.options.dropdowns.minYear),m=this.options.dropdowns.maxYear||(new Date).getFullYear();for(e.getFullYear()>m&&((c=document.createElement("option")).value=String(e.getFullYear()),c.text=String(e.getFullYear()),c.selected=!0,c.disabled=!0,p.appendChild(c)),d=m;f<=d;--d){var c=document.createElement("option"),g=new k.DateTime(new Date(d,0,1,0,0,0));c.value=String(d),c.text=String(d),c.disabled=this.options.minDate&&g.isBefore(new k.DateTime(this.options.minDate),"year")||this.options.maxDate&&g.isAfter(new k.DateTime(this.options.maxDate),"year"),c.selected=e.getFullYear()===d,p.appendChild(c)}e.getFullYear()<f&&((c=document.createElement("option")).value=String(e.getFullYear()),c.text=String(e.getFullYear()),c.selected=!0,c.disabled=!0,p.appendChild(c)),"asc"===this.options.dropdowns.years&&(m=Array.prototype.slice.call(p.childNodes).reverse(),p.innerHTML="",m.forEach(function(e){e.innerHTML=e.value,p.appendChild(e)})),p.addEventListener("change",function(e){var t,i=e.target,n=0;a.options.splitView&&(t=i.closest("."+E.monthItem),n=P.findNestedMonthItem(t)),a.calendars[n].setFullYear(Number(i.value)),a.render(),a.emit("change:year",a.calendars[n],n,e)}),r.appendChild(p)}else{m=document.createElement("span");m.className=E.monthItemYear,m.innerHTML=String(e.getFullYear()),r.appendChild(m)}var m=document.createElement("button"),v=(m.type="button",m.className=E.buttonPreviousMonth,m.innerHTML=this.options.buttonText.previousMonth,document.createElement("button")),y=(v.type="button",v.className=E.buttonNextMonth,v.innerHTML=this.options.buttonText.nextMonth,o.appendChild(m),o.appendChild(r),o.appendChild(v),this.options.minDate&&i.isSameOrBefore(new k.DateTime(this.options.minDate),"month")&&s.classList.add(E.noPreviousMonth),this.options.maxDate&&i.isSameOrAfter(new k.DateTime(this.options.maxDate),"month")&&s.classList.add(E.noNextMonth),document.createElement("div"));y.className=E.monthItemWeekdaysRow,this.options.showWeekNumbers&&(y.innerHTML="<div>W</div>");for(var b=1;b<=7;b+=1){var w=3+this.options.firstDay+b,C=document.createElement("div");C.innerHTML=this.weekdayName(w),C.title=this.weekdayName(w,"long"),y.appendChild(C)}var T=document.createElement("div"),_=(T.className=E.containerDays,this.calcSkipDays(i));this.options.showWeekNumbers&&_&&T.appendChild(this.renderWeekNumber(i));for(var x=0;x<_;x+=1){var S=document.createElement("div");T.appendChild(S)}for(x=1;x<=n;x+=1)i.setDate(x),this.options.showWeekNumbers&&i.getDay()===this.options.firstDay&&T.appendChild(this.renderWeekNumber(i)),T.a
1ppendChild(this.renderDay(i));return s.appendChild(o),s.appendChild(y),s.appendChild(T),this.emit("render:month",s,e),s},r.prototype.renderDay=function(t){t.setHours();var e,i,n,a,s=document.createElement("div");return s.className=E.dayItem,s.innerHTML=String(t.getDate()),s.dataset.time=String(t.getTime()),t.toDateString()===(new Date).toDateString()&&s.classList.add(E.isToday),this.datePicked.length?(this.datePicked[0].toDateString()===t.toDateString()&&(s.classList.add(E.isStartDate),this.options.singleMode)&&s.classList.add(E.isEndDate),2===this.datePicked.length&&this.datePicked[1].toDateString()===t.toDateString()&&s.classList.add(E.isEndDate),2===this.datePicked.length&&t.isBetween(this.datePicked[0],this.datePicked[1])&&s.classList.add(E.isInRange)):this.options.startDate&&(e=this.options.startDate,i=this.options.endDate,e.toDateString()===t.toDateString()&&(s.classList.add(E.isStartDate),this.options.singleMode)&&s.classList.add(E.isEndDate),i&&i.toDateString()===t.toDateString()&&s.classList.add(E.isEndDate),e)&&i&&t.isBetween(e,i)&&s.classList.add(E.isInRange),this.options.minDate&&t.isBefore(new k.DateTime(this.options.minDate))&&s.classList.add(E.isLocked),this.options.maxDate&&t.isAfter(new k.DateTime(this.options.maxDate))&&s.classList.add(E.isLocked),1<this.options.minDays&&1===this.datePicked.length&&(e=this.options.minDays-1,n=this.datePicked[0].clone().subtract(e,"day"),a=this.datePicked[0].clone().add(e,"day"),t.isBetween(n,this.datePicked[0],"(]")&&s.classList.add(E.isLocked),t.isBetween(this.datePicked[0],a,"[)"))&&s.classList.add(E.isLocked),this.options.maxDays&&1===this.datePicked.length&&(i=this.options.maxDays,n=this.datePicked[0].clone().subtract(i,"day"),a=this.datePicked[0].clone().add(i,"day"),t.isSameOrBefore(n)&&s.classList.add(E.isLocked),t.isSameOrAfter(a))&&s.classList.add(E.isLocked),this.options.selectForward&&1===this.datePicked.length&&t.isBefore(this.datePicked[0])&&s.classList.add(E.isLocked),this.options.selectBackward&&1===this.datePicked.length&&t.isAfter(this.datePicked[0])&&s.classList.add(E.isLocked),P.dateIsLocked(t,this.options,this.datePicked)&&s.classList.add(E.isLocked),this.options.highlightedDays.length&&this.options.highlightedDays.filter(function(e){return e instanceof Array?t.isBetween(e[0],e[1],"[]"):e.isSame(t,"day")}).length&&s.classList.add(E.isHighlighted),s.tabIndex=s.classList.contains("is-locked")?-1:0,this.emit("render:day",s,t),s},r.prototype.renderFooter=function(){var e,t,i=document.createElement("div");return i.className=E.containerFooter,this.options.footerHTML?i.innerHTML=this.options.footerHTML:i.innerHTML='\n      <span class="'+E.previewDateRange+'"></span>\n      <button type="button" class="'+E.buttonCancel+'">'+this.options.buttonText.cancel+'</button>\n      <button type="button" class="'+E.buttonApply+'">'+this.options.buttonText.apply+"</button>\n      ",this.options.singleMode?1===this.datePicked.length&&(e=this.datePicked[0].format(this.options.format,this.options.lang),i.querySelector("."+E.previewDateRange).innerHTML=e):(1===this.datePicked.length&&i.querySelector("."+E.buttonApply).setAttribute("disabled",""),2===this.datePicked.length&&(e=this.datePicked[0].format(this.options.format,this.options.lang),t=this.datePicked[1].format(this.options.format,this.options.lang),i.querySelector("."+E.previewDateRange).innerHTML=""+e+this.options.delimiter+t)),this.emit("render:footer",i),i},r.prototype.renderWeekNumber=function(e){var t=document.createElement("div"),i=e.getWeek(this.options.firstDay);return t.className=E.weekNumber,t.innerHTML=53===i&&0===e.getMonth()?"53 / 1":i,t},r.prototype.renderTooltip=function(){var e=document.createElement("div");return e.className=E.containerTooltip,e},r.prototype.weekdayName=function(e,t){return void 0===t&&(t="short"),new Date(1970,0,e,12,0,0,0).toLocaleString(this.options.lang,{weekday:t})},r.prototype.calcSkipDays=function(e){e=e.getDay()-this.options.firstDay;return e<0&&(e+=7),e},r);function r(e){return a.call(this,e)||this}t.Calendar=i},function(e,t,i){var n,u,a=this&&this.__extends||(n=function(e,t){return(n=Object.
1setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])}))(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),h=this&&this.__assign||function(){return(h=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var a in t=arguments[i])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)},s=(Object.defineProperty(t,"__esModule",{value:!0}),i(7)),p=i(0),o=i(1),i=(u=s.EventEmitter,a(r,u),r.add=function(e,t){o.Litepicker.prototype[e]=t},r.prototype.DateTime=function(e,t){return e?new p.DateTime(e,t):new p.DateTime},r.prototype.init=function(){var t=this;this.options.plugins&&this.options.plugins.length&&this.options.plugins.forEach(function(e){o.Litepicker.prototype.hasOwnProperty(e)?o.Litepicker.prototype[e].init.call(t,t):console.warn("Litepicker: plugin «"+e+"» not found.")})},r.prototype.parseInput=function(){var e=this.options.delimiter,t=new RegExp(""+e),i=this.options.element instanceof HTMLInputElement?this.options.element.value.split(e):[];if(this.options.elementEnd){if(this.options.element instanceof HTMLInputElement&&this.options.element.value.length&&this.options.elementEnd instanceof HTMLInputElement&&this.options.elementEnd.value.length)return[new p.DateTime(this.options.element.value,this.options.format),new p.DateTime(this.options.elementEnd.value,this.options.format)]}else if(this.options.singleMode){if(this.options.element instanceof HTMLInputElement&&this.options.element.value.length)return[new p.DateTime(this.options.element.value,this.options.format)]}else if(this.options.element instanceof HTMLInputElement&&t.test(this.options.element.value)&&i.length&&i.length%2==0)return t=i.slice(0,i.length/2).join(e),i=i.slice(i.length/2).join(e),[new p.DateTime(t,this.options.format),new p.DateTime(i,this.options.format)];return[]},r.prototype.isShowning=function(){return this.ui&&"none"!==this.ui.style.display},r.prototype.findPosition=function(e){var t,i,e=e.getBoundingClientRect(),n=this.ui.getBoundingClientRect(),a=this.options.position.split(" "),s=window.scrollX||window.pageXOffset,o=window.scrollY||window.pageYOffset,r=0,l=0;return"auto"!==a[0]&&/top|bottom/.test(a[0])?(r=e[a[0]]+o,"top"===a[0]&&(r-=n.height)):(r=e.bottom+o,t=e.bottom+n.height>window.innerHeight,i=e.top+o-n.height>=n.height,t&&i&&(r=e.top+o-n.height)),/left|right/.test(a[0])||a[1]&&"auto"!==a[1]&&/left|right/.test(a[1])?(l=/left|right/.test(a[0])?e[a[0]]+s:e[a[1]]+s,"right"!==a[0]&&"right"!==a[1]||(l-=n.width)):(l=e.left+s,t=e.left+n.width>window.innerWidth,i=0<=e.right+s-n.width,t&&i&&(l=e.right+s-n.width)),{left:l,top:r}},r);function r(e){var t=u.call(this)||this,i=(t.datePicked=[],t.calendars=[],t.options={element:null,elementEnd:null,parentEl:null,firstDay:1,format:"YYYY-MM-DD",lang:"en-US",delimiter:" - ",numberOfMonths:1,numberOfColumns:1,startDate:null,endDate:null,zIndex:9999,position:"auto",selectForward:!1,selectBackward:!1,splitView:!1,inlineMode:!1,singleMode:!0,autoApply:!0,allowRepick:!1,showWeekNumbers:!1,showTooltip:!0,scrollToDate:!0,mobileFriendly:!0,resetButton:!1,autoRefresh:!1,lockDaysFormat:"YYYY-MM-DD",lockDays:[],disallowLockDaysInRange:!1,lockDaysInclusivity:"[]",highlightedDaysFormat:"YYYY-MM-DD",highlightedDays:[],dropdowns:{minYear:1990,maxYear:null,months:!1,years:!1},buttonText:{apply:"Apply",cancel:"Cancel",previousMonth:'<svg width="11" height="16" xmlns="http://www.w3.org/2000/svg"><path d="M7.919 0l2.748 2.667L5.333 8l5.334 5.333L7.919 16 0 8z" fill-rule="nonzero"/></svg>',nextMonth:'<svg width="11" height="16" xmlns="http://www.w3.org/2000/svg"><path d="M2.748 16L0 13.333 5.333 8 0 2.667 2.748 0l7.919 8z" fill-rule="nonzero"/></svg>',reset:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24">\n        <path d="M0 0h24v24H0z" fill="none"/>\n        <path d="M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"/>\n      </svg>'},tooltipText:{one:"day",other:"days"}},t.options=h(h({}
1,t.options),e.element.dataset),Object.keys(t.options).forEach(function(e){"true"!==t.options[e]&&"false"!==t.options[e]||(t.options[e]="true"===t.options[e])}),h(h({},t.options.dropdowns),e.dropdowns)),n=h(h({},t.options.buttonText),e.buttonText),a=h(h({},t.options.tooltipText),e.tooltipText),e=(t.options=h(h({},t.options),e),t.options.dropdowns=h({},i),t.options.buttonText=h({},n),t.options.tooltipText=h({},a),t.options.elementEnd||(t.options.allowRepick=!1),t.options.lockDays.length&&(t.options.lockDays=p.DateTime.convertArray(t.options.lockDays,t.options.lockDaysFormat)),t.options.highlightedDays.length&&(t.options.highlightedDays=p.DateTime.convertArray(t.options.highlightedDays,t.options.highlightedDaysFormat)),t.parseInput()),i=e[0],n=e[1];(i=t.options.startDate&&(t.options.singleMode||t.options.endDate)?new p.DateTime(t.options.startDate,t.options.format,t.options.lang):i)&&t.options.endDate&&(n=new p.DateTime(t.options.endDate,t.options.format,t.options.lang)),i instanceof p.DateTime&&!isNaN(i.getTime())&&(t.options.startDate=i),t.options.startDate&&n instanceof p.DateTime&&!isNaN(n.getTime())&&(t.options.endDate=n),!t.options.singleMode||t.options.startDate instanceof p.DateTime||(t.options.startDate=null),t.options.singleMode||t.options.startDate instanceof p.DateTime&&t.options.endDate instanceof p.DateTime||(t.options.startDate=null,t.options.endDate=null);for(var s=0;s<t.options.numberOfMonths;s+=1){var o,r,l,d=t.options.startDate instanceof p.DateTime?t.options.startDate.clone():new p.DateTime;t.options.startDate||0!==s&&!t.options.splitView||(o=t.options.maxDate?new p.DateTime(t.options.maxDate):null,r=t.options.minDate?new p.DateTime(t.options.minDate):null,l=t.options.numberOfMonths-1,r&&o&&d.isAfter(o)?(d=r.clone()).setDate(1):!r&&o&&d.isAfter(o)&&((d=o.clone()).setDate(1),d.setMonth(d.getMonth()-l))),d.setDate(1),d.setMonth(d.getMonth()+s),t.calendars[s]=d}if(t.options.showTooltip)if(t.options.tooltipPluralSelector)t.pluralSelector=t.options.tooltipPluralSelector;else try{var c=new Intl.PluralRules(t.options.lang);t.pluralSelector=c.select.bind(c)}catch(e){t.pluralSelector=function(e){return 0===Math.abs(e)?"one":"other"}}return t}t.LPCore=i},function(e,t,i){var n="object"==typeof Reflect?Reflect:null,l=n&&"function"==typeof n.apply?n.apply:function(e,t,i){return Function.prototype.apply.call(e,t,i)},a=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)},s=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}((e.exports=o).EventEmitter=o).prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var r=10;function d(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function c(e,t,i,n){var a,s;if("function"!=typeof i)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof i);return void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,i.listener||i),a=e._events),s=a[t]),void 0===s?(s=a[t]=i,++e._eventsCount):("function"==typeof s?s=a[t]=n?[i,s]:[s,i]:n?s.unshift(i):s.push(i),0<(a=d(e))&&s.length>a&&!s.warned&&(s.warned=!0,(n=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit")).name="MaxListenersExceededWarning",n.emitter=e,n.type=t,n.count=s.length,console)&&console.warn&&console.warn(n)),e}function u(e,t,i){e={fired:!1,wrapFn:void 0,target:e,type:t,listener:i},t=function(){for(var e=[],t=0;t<arguments.length;t++)e.push(arguments[t]);this.fired||(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,l(this.listener,this.target,e))}.bind(e);return t.listener=i,e.wrapFn=t}function h(e,t,i){e=e._events;if(void 0===e)return[];e=e[t];{if(void 0===e)return[];if("function"==typeof e)return i?[e.listener||e]:[e];if(i){for(var n=e,a=new Array(n.length),s=0;s<a.length;++s)a[s]=n[s].listener||n[s];return a}return f(e,e.length)}}function p(e){var t=this._events;if(void 0!==t){t=t[e];if("function"==typeof t)return 1;if(void 0!==t)return t.length}return 0}function f(e,t){for(var i=new Array(t),n=0;n<t;++n)i[n]=e[n];return i}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return r},set:function(e){if("number"!=typeof e||e<0||s(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");r=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||s(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return d(this)},o.prototype.emit=function(e){for(var t=[],i=1;i<arguments.length;i++)t.push(arguments[i]);var n="error"===e,a=this._events;if(void 0!==a)n=n&&void 0===a.error;else if(!n)return!1;if(n){if((s=0<t.length?t[0]:s)instanceof Error)throw s;n=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw n.context=s,n}var s=a[e];if(void 0===s)return!1;if("function"==typeof s)l(s,this,t);else for(var o=s.length,r=f(s,o),i=0;i<o;++i)l(r[i],this,t);return!0},o.prototype.on=o.prototype.addListener=function(e,t){return c(this,e,t,!1)},o.prototype.prependListener=function(e,t){return c(this,e,t,!0)},o.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.on(e,u(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.prependListener(e,u(this,e,t)),this},o.prototype.off=o.prototype.removeListener=function(e,t){var i,n,a,s,o;
vendor: 5,153 bytes, line 1
1if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);if(void 0!==(n=this._events)&&void 0!==(i=n[e]))if(i===t||i.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,i.listener||t));else if("function"!=typeof i){for(a=-1,s=i.length-1;0<=s;s--)if(i[s]===t||i[s].listener===t){o=i[s].listener,a=s;break}if(a<0)return this;if(0===a)i.shift();else{var r=i;var l=a;for(;l+1<r.length;l++)r[l]=r[l+1];r.pop()}1===i.length&&(n[e]=i[0]),void 0!==n.removeListener&&this.emit("removeListener",e,o||t)}return this},o.prototype.removeAllListeners=function(e){var t,i;if(void 0!==(i=this._events))if(void 0===i.removeListener)0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==i[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete i[e]);else if(0===arguments.length){for(var n,a=Object.keys(i),s=0;s<a.length;++s)"removeListener"!==(n=a[s])&&this.removeAllListeners(n);this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0}else if("function"==typeof(t=i[e]))this.removeListener(e,t);else if(void 0!==t)for(s=t.length-1;0<=s;s--)this.removeListener(e,t[s]);return this},o.prototype.listeners=function(e){return h(this,e,!0)},o.prototype.rawListeners=function(e){return h(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},o.prototype.listenerCount=p,o.prototype.eventNames=function(){return 0<this._eventsCount?a(this._events):[]}},function(e,t,i){(t=i(9)(!1)).push([e.i,':root{--litepicker-container-months-color-bg: #fff;--litepicker-container-months-box-shadow-color: #ddd;--litepicker-footer-color-bg: #fafafa;--litepicker-footer-box-shadow-color: #ddd;--litepicker-tooltip-color-bg: #fff;--litepicker-month-header-color: #333;--litepicker-button-prev-month-color: #9e9e9e;--litepicker-button-next-month-color: #9e9e9e;--litepicker-button-prev-month-color-hover: #2196f3;--litepicker-button-next-month-color-hover: #2196f3;--litepicker-month-width: calc(var(--litepicker-day-width) * 7);--litepicker-month-weekday-color: #9e9e9e;--litepicker-month-week-number-color: #9e9e9e;--litepicker-day-width: 38px;--litepicker-day-color: #333;--litepicker-day-color-hover: #2196f3;--litepicker-is-today-color: #f44336;--litepicker-is-in-range-color: #bbdefb;--litepicker-is-locked-color: #9e9e9e;--litepicker-is-start-color: #fff;--litepicker-is-start-color-bg: #2196f3;--litepicker-is-end-color: #fff;--litepicker-is-end-color-bg: #2196f3;--litepicker-button-cancel-color: #fff;--litepicker-button-cancel-color-bg: #9e9e9e;--litepicker-button-apply-color: #fff;--litepicker-button-apply-color-bg: #2196f3;--litepicker-button-reset-color: #909090;--litepicker-button-reset-color-hover: #2196f3;--litepicker-highlighted-day-color: #333;--litepicker-highlighted-day-color-bg: #ffeb3b}.show-week-numbers{--litepicker-month-width: calc(var(--litepicker-day-width) * 8)}.litepicker{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;font-size:0.8em;display:none}.litepicker button{border:none;background:none}.litepicker .container__main{display:-webkit-box;display:-ms-flexbox;display:flex}.litepicker .container__months{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;background-color:var(--litepicker-container-months-color-bg);border-radius:5px;-webkit-box-shadow:0 0 5px var(--litepicker-container-months-box-shadow-color);box-shadow:0 0 5px var(--litepicker-container-months-box-shadow-color);width:calc(var(--litepicker-month-width) + 10px);-webkit-box-sizing:content-box;box-sizing:content-box}.litepicker .container__months.columns-2{width:calc((var(--litepicker-month-width) * 2) + 20px)}.litepicker .container__months.columns-3{width:calc((var(--litepicker-month-width) * 3) + 30px)}.litepicker .container__months.columns-4{width:calc((var(--litepicker-month-width) * 4) + 40px)}.litepicker .container__months.split-view .month-item-header .button-previous-month,.litepicker .container__months.split-view .month-item-header .button-next-month{visibility:visible}.litepicker .container__months .month-item{padding:5px;width:var(--litepicker-month-width);-webkit-box-sizing:content-box;box-sizing:content-box}.litepicker .container__months .month-item-header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;font-weight:500;padding:10px 5px;text-align:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--litepicker-month-header-color)}.litepicker .container__months .month-item-header div{-webkit-box-flex:1;-ms-flex:1;flex:1}.litepicker .container__months .month-item-header div>.month-item-name{margin-right:5px}.litepicker .container__months .month-item-header div>.month-item-year{padding:0}.litepicker .container__months .month-item-header .reset-button{color:var(--litepicker-button-reset-color)}.litepicker .container__months .month-item-header .reset-button>
1svg{fill:var(--litepicker-button-reset-color)}.litepicker .container__months .month-item-header .reset-button *{pointer-events:none}.litepicker .container__months .month-item-header .reset-button:hover{color:var(--litepicker-button-reset-color-hover)}.litepicker .container__months .month-item-header .reset-button:hover>svg{fill:var(--litepicker-button-reset-color-hover)}.litepicker .container__months .month-item-header .button-previous-month,.litepicker .container__months .month-item-header .button-next-month{visibility:hidden;text-decoration:none;padding:3px 5px;border-radius:3px;-webkit-transition:color 0.3s, border 0.3s;transition:color 0.3s, border 0.3s;cursor:default}.litepicker .container__months .month-item-header .button-previous-month *,.litepicker .container__months .month-item-header .button-next-month *{pointer-events:none}.litepicker .container__months .month-item-header .button-previous-month{color:var(--litepicker-button-prev-month-color)}.litepicker .container__months .month-item-header .button-previous-month>svg,.litepicker .container__months .month-item-header .button-previous-month>img{fill:var(--litepicker-button-prev-month-color)}.litepicker .container__months .month-item-header .button-previous-month:hover{color:var(--litepicker-button-prev-month-color-hover)}.litepicker .container__months .month-item-header .button-previous-month:hover>svg{fill:var(--litepicker-button-prev-month-color-hover)}.litepicker .container__months .month-item-header .button-next-month{color:var(--litepicker-button-next-month-color)}.litepicker .container__months .month-item-header .button-next-month>svg,.litepicker .container__months .month-item-header .button-next-month>img{fill:var(--litepicker-button-next-month-color)}.litepicker .container__months .month-item-header .button-next-month:hover{color:var(--litepicker-button-next-month-color-hover)}.litepicker .container__months .month-item-header .button-next-month:hover>svg{fill:var(--litepicker-button-next-month-color-hover)}.litepicker .container__months .month-item-weekdays-row{display:-webkit-box;display:-ms-flexbox;display:flex;justify-self:center;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;color:var(--litepicker-month-weekday-color)}.litepicker .container__months .month-item-weekdays-row>div{padding:5px 0;font-size:85%;-webkit-box-flex:1;-ms-flex:1;flex:1;width:var(--litepicker-day-width);text-align:center}.litepicker .container__months .month-item:first-child .button-previous-month{visibility:visible}.litepicker .container__months .month-item:last-child .button-next-month{visibility:visible}.litepicker .container__months .month-item.no-previous-month .button-previous-month{visibility:hidden}.litepicker .container__months .month-item.no-next-month .button-next-month{visibility:hidden}.litepicker .container__days{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;justify-self:center;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;text-align:center;-webkit-box-sizing:content-box;box-sizing:content-box}.litepicker .container__days>div,.litepicker .container__days>a{padding:5px 0;width:var(--litepicker-day-width)}.litepicker .container__days .day-item{color:var(--litepicker-day-color);text-align:center;text-decoration:none;border-radius:3px;-webkit-transition:color 0.3s, border 0.3s;transition:color 0.3s, border 0.3s;
1cursor:default}.litepicker .container__days .day-item:hover{color:var(--litepicker-day-color-hover);-webkit-box-shadow:inset 0 0 0 1px var(--litepicker-day-color-hover);box-shadow:inset 0 0 0 1px var(--litepicker-day-color-hover)}.litepicker .container__days .day-item.is-today{color:var(--litepicker-is-today-color)}.litepicker .container__days .day-item.is-locked{color:var(--litepicker-is-locked-color)}.litepicker .container__days .day-item.is-locked:hover{color:var(--litepicker-is-locked-color);-webkit-box-shadow:none;box-shadow:none;cursor:default}.litepicker .container__days .day-item.is-in-range{background-color:var(--litepicker-is-in-range-color);border-radius:0}.litepicker .container__days .day-item.is-start-date{color:var(--litepicker-is-start-color);background-color:var(--litepicker-is-start-color-bg);border-top-left-radius:5px;border-bottom-left-radius:5px;border-top-right-radius:0;border-bottom-right-radius:0}.litepicker .container__days .day-item.is-start-date.is-flipped{border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:5px;border-bottom-right-radius:5px}.litepicker .container__days .day-item.is-end-date{color:var(--litepicker-is-end-color);background-color:var(--litepicker-is-end-color-bg);border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:5px;border-bottom-right-radius:5px}.litepicker .container__days .day-item.is-end-date.is-flipped{border-top-left-radius:5px;border-bottom-left-radius:5px;border-top-right-radius:0;border-bottom-right-radius:0}.litepicker .container__days .day-item.is-start-date.is-end-date{border-top-left-radius:5px;border-bottom-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px}.litepicker .container__days .day-item.is-highlighted{color:var(--litepicker-highlighted-day-color);background-color:var(--litepicker-highlighted-day-color-bg)}.litepicker .container__days .week-number{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:var(--litepicker-month-week-number-color);font-size:85%}.litepicker .container__footer{text-align:right;padding:10px 5px;margin:0 5px;background-color:var(--litepicker-footer-color-bg);-webkit-box-shadow:inset 0px 3px 3px 0px var(--litepicker-footer-box-shadow-color);box-shadow:inset 0px 3px 3px 0px var(--litepicker-footer-box-shadow-color);border-bottom-left-radius:5px;border-bottom-right-radius:5px}.litepicker .container__footer .preview-date-range{margin-right:10px;font-size:90%}.litepicker .container__footer .button-cancel{background-color:var(--litepicker-button-cancel-color-bg);color:var(--litepicker-button-cancel-color);border:0;padding:3px 7px 4px;border-radius:3px}.litepicker .container__footer .button-cancel *{pointer-events:none}.litepicker .container__footer .button-apply{background-color:var(--litepicker-button-apply-color-bg);color:var(--litepicker-button-apply-color);border:0;padding:3px 7px 4px;border-radius:3px;margin-left:10px;margin-right:10px}.litepicker .container__footer .button-apply:disabled{opacity:0.7}.litepicker .container__footer .button-apply *{pointer-events:none}.litepicker .container__tooltip{position:absolute;margin-top:-4px;padding:4px 8px;border-radius:4px;background-color:var(--litepicker-tooltip-color-bg);-webkit-box-shadow:0 1px 3px rgba(0,0,0,0.25);box-shadow:0 1px 3px rgba(0,0,0,0.25);white-space:nowrap;font-size:11px;pointer-events:none;visibility:hidden}.litepicker .container__tooltip:before{position:absolute;bottom:-5px;left:calc(50% - 5px);border-top:5px solid rgba(0,0,0,0.12);border-right:5px solid transparent;border-left:5px solid transparent;content:""}.litepicker .container__tooltip:after{position:absolute;bottom:-4px;left:calc(50% - 4px);border-top:4px solid var(--litepicker-tooltip-color-bg);border-right:4px solid transparent;border-left:4px solid transparent;content:""}\n',""]),t.locals={showWeekNumbers:"show-week-numbers",litepicker:"litepicker",containerMain:"container__main",containerMonths:"container__months",columns2:"columns-2",columns3:"columns-3",columns4:"columns-4",splitView:"split-view",monthItemHeader:"month-item-header",buttonPreviousMonth:"button-previous-month",buttonNextMonth:"button-next-month",monthItem:"month-item",monthItemName:"month-item-name",monthItemYear:"month-item-year",resetButton:"reset-button",monthItemWeekdaysRow:"month-item-weekdays-row",noPreviousMonth:"no-previous-month",noNextMonth:"no-next-month",containerDays:"container__days",dayItem:"day-item",isToday:"is-today",isLocked:"is-locked",isInRange:"is-in-range",isStartDate:"is-start-date",isFlipped:"is-flipped",isEndDate:"is-end-date",isHighlighted:"is-highlighted",weekNumber:"week-number",containerFooter:"container__footer",previewDateRange:"preview-date-range",buttonCancel:"button-cancel",buttonApply:"button-apply",containerTooltip:"container__tooltip"},e.exports=t},function(e,t,i){e.exports=function(s){var l=[];return l.toString=function(){return this.map(function(e){i=e[1]||"";var t,i,n,a=(n=e[3])?(s&&"function"==typeof btoa?(t=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),t="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t),t="/*# ".concat(t," */"),a=n.sources.map(function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}),[i].concat(a).concat([t])):[i]).join("\n"):i;return e[2]?"@media ".concat(e[2]," {").concat(a,"}"):a}).join("")},l.i=function(e,t,i){"string"==typeof e&&(e=[[null,e,""]]);var n={};if(i)for(var a=0;a<this.length;a++){var s=this[a][0];null!=s&&(n[s]=!0)}for(var o=0;o<e.length;
1o++){var r=[].concat(e[o]);i&&n[r[0]]||(t&&(r[2]?r[2]="".concat(t," and ").concat(r[2]):r[2]=t),l.push(r))}},l}},function(e,t,n){var i,a,d={},s=(a={},function(e){if(void 0===a[e]){var t=document.querySelector(e);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}a[e]=t}return a[e]});function c(e,t){for(var i=[],n={},a=0;a<e.length;a++){var s=e[a],o=t.base?s[0]+t.base:s[0],s={css:s[1],media:s[2],sourceMap:s[3]};n[o]?n[o].parts.push(s):i.push(n[o]={id:o,parts:[s]})}return i}function u(e,t){for(var i=0;i<e.length;i++){var n=e[i],a=d[n.id],s=0;if(a){for(a.refs++;s<a.parts.length;s++)a.parts[s](n.parts[s]);for(;s<n.parts.length;s++)a.parts.push(m(n.parts[s],t))}else{for(var o=[];s<n.parts.length;s++)o.push(m(n.parts[s],t));d[n.id]={id:n.id,refs:1,parts:o}}}}function o(t){var i=document.createElement("style");if(void 0===t.attributes.nonce&&(e=n.nc)&&(t.attributes.nonce=e),Object.keys(t.attributes).forEach(function(e){i.setAttribute(e,t.attributes[e])}),"function"==typeof t.insert)t.insert(i);else{var e=s(t.insert||"head");if(!e)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");e.appendChild(i)}return i}r=[];var r,l=function(e,t){return r[e]=t,r.filter(Boolean).join("\n")};function h(e,t,i,n){var i=i?"":n.css;e.styleSheet?e.styleSheet.cssText=l(t,i):(n=document.createTextNode(i),(i=e.childNodes)[t]&&e.removeChild(i[t]),i.length?e.insertBefore(n,i[t]):e.appendChild(n))}var p=null,f=0;function m(t,e){var i,n,a,s;return s=e.singleton?(i=f++,n=p=p||o(e),a=h.bind(null,n,i,!1),h.bind(null,n,i,!0)):(n=o(e),a=function(e,t,i){var n=i.css,a=i.media,i=i.sourceMap;if(a&&e.setAttribute("media",a),i&&btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n,e),function(){var e;null!==(e=n).parentNode&&e.parentNode.removeChild(e)}),a(t),function(e){e?e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap||a(t=e):s()}}e.exports=function(e,r){(r=r||{}).attributes="object"==typeof r.attributes?r.attributes:{},r.singleton||"boolean"==typeof r.singleton||(r.singleton=i=void 0===i?Boolean(window&&document&&document.all&&!window.atob):i);var l=c(e,r);return u(l,r),function(e){for(var t=[],i=0;i<l.length;i++){var n=l[i],n=d[n.id];n&&(n.refs--,t.push(n))}e&&u(c(e,r),r);for(var a=0;a<t.length;a++){var s=t[a];if(0===s.refs){for(var o=0;o<s.parts.length;o++)s.parts[o]();delete d[s.id]}}}}},function(e,t,i){var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var a in t=arguments[i])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)},r=(Object.defineProperty(t,"__esModule",{value:!0}),i(0)),t=i(1),n=i(2);t.Litepicker.prototype.show=function(e){this.emit("before:show",e=void 0===e?null:e);var t=e||this.options.element;this.triggerElement=t,this.isShowning()||(this.options.inlineMode?(this.ui.style.position="relative",this.ui.style.display="inline-block",this.ui.style.top=null,this.ui.style.left=null,this.ui.style.bottom=null,this.ui.style.right=null):(this.scrollToDate(e),this.render(),this.ui.style.position="absolute",this.ui.style.display="block",this.ui.style.zIndex=this.options.zIndex,t=this.findPosition(t),this.ui.style.top=t.top+"px",this.ui.style.left=t.left+"px",this.ui.style.right=null,this.ui.style.bottom=null,this.emit("show",e)))},t.Litepicker.prototype.hide=function(){this.isShowning()&&(this.datePicked.length=0,this.updateInput(),this.options.inlineMode?this.render():(this.ui.style.display="none",this.emit("hide")))},t.Litepicker.prototype.getDate=function(){return this.getStartDate()},t.Litepicker.prototype.getStartDate=function(){return this.options.startDate?this.options.startDate.clone():null},t.Litepicker.prototype.getEndDate=function(){return this.options.endDate?this.options.endDate.clone():null},t.Litepicker.prototype.setDate=function(e,t){void 0===t&&(t=!1);var i=new r.DateTime(e,this.options.format,this.options.lang);
vendor: 3,833 bytes, line 1
1n.dateIsLocked(i,this.options,[i])&&!t?this.emit("error:date",i):(this.setStartDate(e),this.options.inlineMode&&this.render(),this.emit("selected",this.getDate()))},t.Litepicker.prototype.setStartDate=function(e){e&&(this.options.startDate=new r.DateTime(e,this.options.format,this.options.lang),this.updateInput())},t.Litepicker.prototype.setEndDate=function(e){e&&(this.options.endDate=new r.DateTime(e,this.options.format,this.options.lang),this.options.startDate.getTime()>this.options.endDate.getTime()&&(this.options.endDate=this.options.startDate.clone(),this.options.startDate=new r.DateTime(e,this.options.format,this.options.lang)),this.updateInput())},t.Litepicker.prototype.setDateRange=function(e,t,i){void 0===i&&(i=!1),this.triggerElement=void 0;e=new r.DateTime(e,this.options.format,this.options.lang),t=new r.DateTime(t,this.options.format,this.options.lang);(this.options.disallowLockDaysInRange?n.rangeIsLocked([e,t],this.options):n.dateIsLocked(e,this.options,[e,t])||n.dateIsLocked(t,this.options,[e,t]))&&!i?this.emit("error:range",[e,t]):(this.setStartDate(e),this.setEndDate(t),this.options.inlineMode&&this.render(),this.updateInput(),this.emit("selected",this.getStartDate(),this.getEndDate()))},t.Litepicker.prototype.gotoDate=function(e,t){void 0===t&&(t=0);e=new r.DateTime(e);e.setDate(1),this.calendars[t]=e.clone(),this.render()},t.Litepicker.prototype.setLockDays=function(e){this.options.lockDays=r.DateTime.convertArray(e,this.options.lockDaysFormat),this.render()},t.Litepicker.prototype.setHighlightedDays=function(e){this.options.highlightedDays=r.DateTime.convertArray(e,this.options.highlightedDaysFormat),this.render()},t.Litepicker.prototype.setOptions=function(e){delete e.element,delete e.elementEnd,delete e.parentEl,e.startDate&&(e.startDate=new r.DateTime(e.startDate,this.options.format,this.options.lang)),e.endDate&&(e.endDate=new r.DateTime(e.endDate,this.options.format,this.options.lang));var t=o(o({},this.options.dropdowns),e.dropdowns),i=o(o({},this.options.buttonText),e.buttonText),n=o(o({},this.options.tooltipText),e.tooltipText);this.options=o(o({},this.options),e),this.options.dropdowns=o({},t),this.options.buttonText=o({},i),this.options.tooltipText=o({},n),!this.options.singleMode||this.options.startDate instanceof r.DateTime||(this.options.startDate=null,this.options.endDate=null),this.options.singleMode||this.options.startDate instanceof r.DateTime&&this.options.endDate instanceof r.DateTime||(this.options.startDate=null,this.options.endDate=null);for(var a=0;a<this.options.numberOfMonths;a+=1){var s=this.options.startDate?this.options.startDate.clone():new r.DateTime;s.setDate(1),s.setMonth(s.getMonth()+a),this.calendars[a]=s}this.options.lockDays.length&&(this.options.lockDays=r.DateTime.convertArray(this.options.lockDays,this.options.lockDaysFormat)),this.options.highlightedDays.length&&(this.options.highlightedDays=r.DateTime.convertArray(this.options.highlightedDays,this.options.highlightedDaysFormat)),this.render(),this.options.inlineMode&&this.show(),this.updateInput()},t.Litepicker.prototype.clearSelection=function(){this.options.startDate=null,this.options.endDate=null,this.datePicked.length=0,this.updateInput(),this.isShowning()&&this.render(),this.emit("clear:selection")},t.Litepicker.prototype.destroy=function(){this.ui&&this.ui.parentNode&&(this.ui.parentNode.removeChild(this.ui),this.ui=null),this.emit("destroy")}}]).Litepicker;function handleShowPassword(){$(document).on("click","#show-password",function(e){"1"===$(this).attr("data-val")?($("#login-password").prop("type","text"),$(this).attr("data-val",0),$(this).html("Ukryj")):($("#login-password").prop("type","password"),$(this).attr("data-val",1),$(this).html("Pokaż"))})}function handleEmailCheck(){$(document).on("blur","input[data-email-check]",function(){var e=$
1(this).val(),t=$(".register-sumbit"),i=$("#domains");t.prop("disabled",!0),$.ajax({type:"GET",url:"/check-email",data:{email:e},success:function(e){!0===e.occupied?(i.text(""),null!=e.domains&&0<e.domains.length&&(i.append("<br />"),i.append("To te same dane, którymi logujesz się m. in. na: "),$(e.domains).each(function(e,t){t=t.replace(/(^\w+:|^)\/\//,"");i.append("<li style='font-weight: bold'>"+t+"</li>")})),$("#email-invalid-message").hide("slow"),$("#email-occupied-message").slideDown("slow")):!1===e.valid?($("#email-occupied-message").hide("slow"),$("#email-invalid-message").slideDown("slow")):($("#email-occupied-message").hide("slow"),$("#email-invalid-message").hide("slow"),i.text(""),t.attr("disabled",!1))},error:function(e,t,i){console.log(i)}})})}function handleCheckLogin(){var t=$('button[data-check-user="1"]');t.length&&$.ajax({url:"/api/check-login",type:"GET",success:({loggedIn:e})=>{e?t.data("permaEnabled",!0):(t.prop("disabled",!0),t.data("permaDisabled",!0),t.text("Produkt niedostępny"),t.css("background-color","grey"))}})}function handleUsersInMyAccountOrders(){var e=$("body"),t=$("#userDataModal"),i="";e.on("click",'button[data-action="openModal"]',function(){switch($(this).data("role")){case"changeUser":$(".modal-title").html("Zmiana użytkownika"),$(".modal-subtitle").html($(this).data("title")),$("input[name=opvId]").val($(this).data("opv-id")),$("input[name=userId]").val($(this).data("user-id")),i="/moje-konto/multi-user-product/change-user";break;case"addUser":$(".modal-title").html("Dodaj użytkownika"),$(".modal-subtitle").html($(this).data("title")),$("input[name=opvId]").val($(this).data("opv-id")),i="/moje-konto/multi-user-product/add-user";break;default:return}t.show()}),e.on("click",".modal-content .close",function(){t.hide()}),$("#modal-form").submit(function(e){e.preventDefault(),e.stopPropagation();e=$(this).serializeArray();$.ajax({type:"POST",url:i,data:e,success:function(){location.reload()}})}),e.on("click",'button[data-role="changeRole"]',function(){var e=$
1(this).data("opv-id"),t=$(this).data("user-email");$.ajax({type:"POST",url:"/moje-konto/multi-user-product/change-role",data:{opvId:e,email:t},success:function(){location.reload()}})}),e.on("click",'button[data-role="removeUser"]',function(){var e=$(this).data("opv-id"),t=$(this).data("user-email");$.ajax({type:"POST",url:"/moje-konto/multi-user-product/remove-user",data:{opvId:e,email:t},success:function(){location.reload()}})})}function hanfleButtonsInMyAccountFiles(){var e=$("body");e.on("click",'button[data-role="generateFile"]',function(){var e=$(this).data("hash");$.ajax({type:"POST",url:"/moje-konto/files/generate",data:{hash:e},success:function(){location.reload()}})}),e.on("click",'button[data-role="downloadFile"]',function(){var e=$(this).data("hash"),t=$(this).data("version");window.location.href="http://www.gos.e-firma.pl/apiv2/files/download?hash="+e+"&type="+t}),e.on("click",'button[data-role="downloadCertificate"]',function(){var e=$(this),t=e.data("user"),e=e.data("certificate");window.location.href="http://www.gos.e-firma.pl/account/user-certificate/"+e+"?user="+t})}function addPriceToCartInfo(e,t){changePriceToElement("add","#totalPriceWithShippingNet",e),changePriceToElement("add","#totalPriceWithShippingGross",t),changePriceToElement("add","#totalGrossBeforeCoupon",t),changePriceToElement("add","#totalNetBeforeCoupon",e)}function removePriceFromCartInfo(e,t){changePriceToElement("remove","#totalPriceWithShippingNet",e),changePriceToElement("remove","#totalPriceWithShippingGross",t),changePriceToElement("remove","#totalGrossBeforeCoupon",e),changePriceToElement("remove","#totalNetBeforeCoupon",e)}function updateProductsList(e,t,i,n,a){var s,o,r=$("#item-cert-"+t);r.length?(o=(s=$(".quantity-"+t)).text(),o=parseInt(o.match(/\d+/)),isNaN(o)||("add"===a&&s.text(++o+" szt."),"remove"===a&&(1<o?s.text(--o+" szt."):r.remove()))):$(".cart-info-product-item").last().after('<div class="cart-info-product-item" id="item-cert-'+t+'">\n    <div class="text-container">\n        <p class="title">'+e+'</p>\n        <p class="type">certyfikat</p>\n        <div class="inner">\n            <p class="quantity quantity-'+t+'">1 szt.</p>\n            <p class="price">\n                <span class="text-nowrap">\n                    <span id="">'+i.toFixed(2)+'</span> zł\n                    <span class="rate">netto </span>\n                </span>\n            </p>\n        </div>\n    </div>\n</div>')}function changePriceToElement(e,t,i){var t=$(t),n=parseFloat(t.text().replace(",","."));"add"===e?t.html(preparePrice(n+parseFloat(i))):t.html(preparePrice(n-parseFloat(i)))}function preparePrice(e){return parseFloat(e).toFixed(2)}function changePriceToParticipant(e,t,i,n){var t=t.find(".order-participant-remove"),a=parseFloat(t.attr("data-price-net")),s=parseFloat(t.attr("data-price-gross")),o=a,r=s,r="add"===e?(o=a+parseFloat(i),s+parseFloat(n)):(o=a-parseFloat(i),s-parseFloat(n));t.attr("data-price-net",o.toFixed(2)),t.attr("data-price-gross",r.toFixed(2))}function addressDeliveryContentSetRequired(){var e=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];$("input[name='order[deliveryAddressProduct][deliveryAddressProductFirstName]']").prop("required",e),$("input[name='order[deliveryAddressProduct][deliveryAddressProductLastName]']").prop("required",e),$("input[name='order[deliveryAddressProduct][deliveryAddressProductAddress]']").prop("required",e),$("input[name='order[deliveryAddressProduct][deliveryAddressProductCity]']").prop("required",e),$("input[name='order[deliveryAddressProduct][deliveryAddressProductPostalCode]']").prop("required",e)}function checkDeliveryAddressProduct(){var e=$("input[name='order[deliveryAddressProduct][deliveryAddressProductFirstName]']").val(),t=$("input[name='order[deliveryAddressProduct][deliveryAddressProductLastName]']").val(),i=$("input[name='order[deliveryAddressProduct][deliveryAddressProductCompanyName]']").val(),n=$("input[name='order[deliveryAddressProduct][deliveryAddressProductAddress]']").val(),a=$("input[name='order[deliveryAddressProduct][deliveryAddressProductCity]']").val(),s=$("input[name='order[deliveryAddressProduct][deliveryAddressProductPostalCode]']").val();!1!=!!$("#orderContent").data("orderajax")||""===e&&""===t&&""===i&&""===n&&""===a&&""===s||($("#deliveryAddressProductContent").slideToggle("slow"),$('input[type="checkbox"][name="deliveryAddressProduct"]').prop("checked",!0),addressDeliveryContentSetRequired(!0))}
1function checkAddressDeliveryContent(){var e=$("input[name='order[anotherAddressToSendInvoice][correspondenceName]']").val(),t=$("input[name='order[anotherAddressToSendInvoice][correspondenceAddress]']").val(),i=$("input[name='order[anotherAddressToSendInvoice][correspondenceCity]']").val(),n=$("input[name='order[anotherAddressToSendInvoice][correspondencePostalcode]']").val();""==e&&""==t&&""==i&&""==n||($("#AddressDeliveryContent").slideToggle("slow"),$('input[type="checkbox"][name="AddressDelivery"]').prop("checked",!0)),checkDeliveryAddressProduct()}function niceInputEach(){$(".niceInput").each(function(e){$(this).val()?$(this).addClass("niceInputValid"):$(this).removeClass("niceInputValid")})}function login(e,t){sendMessageParent({method:"loginAjax",loginMethod:t,gaHashUser:e.data.gaHashUser,loginFrom:e.data.loginFrom,data:{hash:e.data.encrypted,publicToken:e.data.publicToken}})}function goNextStep(e){$.ajax({type:"GET",url:e,success:function(e){$("#orderContent").html(e),renderExtendedPaymentTime(),showSweetAlert(),checkAddressDeliveryContent()}})}function participantsRefreshCounter(e,t){var i=0;e.children().each(function(){$(this).find(".participant-counter").length&&(++i,$(this).find(".participant-counter").html(i))}),$("body").find(".quantity-"+t).html(i+" szt.")}
1function handlePaczkomatSection(){var e=$('input[type="radio"][name="supraShippingType"]:checked'),t=e.attr("data-gos-shipping-type"),e=e.attr("data-gos-shipping-method"),i=$(".paczkomaty-container").attr("data-paczkomat-has-been-selected");"1"===t?($(".paczkomaty-container").show(),$(".paczkomat-details").removeClass("d-none"),"1"===i?$(".shipping-next-button").attr("disabled",!1):($(".paczkomat-details").addClass("d-none"),$(".shipping-next-button").attr("disabled",!0)),$(".paczkomaty-summary-shipment").show(),$(".other-summary-shipment").hide()):($(".paczkomaty-container").hide(),$(".paczkomat-details").addClass("d-none"),$(".shipping-next-button").attr("disabled",!1),$(".select-paczkomat").show(),$("#paczkomat-input-name").val(""),$(".other-summary-shipment .shipment-name").html(e),$(".paczkomaty-summary-shipment").hide(),$(".other-summary-shipment").show())}function afterPointSelected(e){var t=(null===e.address_details.street?"":e.address_details.street)+" "+(null===e.address_details.building_number?"":e.address_details.building_number+",")+" "+(null===e.address_details.post_code?"":e.address_details.post_code)+" "+(null===e.address_details.city?"":e.address_details.city);$("#paczkomatyModal").modal("hide"),$(".select-paczkomat").hide(),$("#paczkomat-input-name").val(e.name),$(".paczkomat-name").html(e.name),$(".paczkomat-details").removeClass("d-none"),$(".paczkomat-full-address").html(t),$(".paczkomat-location-description").html(e.location_description),$(".shipping-next-button").attr("disabled",!1),$.ajax({type:"POST",url:"/paczkomaty/save-point",data:{"paczkomat-point":e},success:function(e){}})}function initSidebar(){var e=$("#sidebar-starter"),t=e.attr("data-url"),i=e.attr("data-session-key"),n=e.attr("data-title");e.length&&loadBestSidebar(t,i,n)}function handleSidebarLoginForm(){$(document).on("submit","#sidebar-form-login",function(e){e.preventDefault();var e=$(this).attr("action"),n=new FormData(this),a=$("#sidebar-form-login-errors");a.html(""),showBestLoader(),$.ajax({url:e,method:"POST",data:n,processData:!1,contentType:!1,success:function(e){var t,i;!0===e.success?("function"==typeof GrTracking&&GrTracking("setUserId",n.get("email")),!0===e.askForNPWZ?(i=$("#sidebar-info"),t=Routing.generate("app_frontend_npwz_index"),i=i.attr("data-trans-ask-for-npwz"),sessionStorage.setItem("token",e.token),loadBestSidebar(t,"npwzContent",i)):(sessionStorage.setItem("showLoggedInNotification",!0),location.reload())):(a.html("").append('<div class="fm-flash alert-danger">Błąd uwierzytelniania: Adres e-mail i hasło nie zgadzają się.</div>'),hideBestLoader())},error:function(e){console.log(e),hideBestLoader()}})})}function handleSidebarRegisterForm(){$(document).on("click","#registerTerm",function(){var e=$
1(".sidebar-register-agreement");e.hasClass("active")||e.addClass("active")}),$(document).on("submit","#sidebar-form-register",function(e){e.preventDefault();var e=$(this).attr("action"),t=new FormData(this),i=$("#best-sidebar-error"),n=$("#sidebar-info"),a=n.attr("data-trans-error-occurred"),s=n.attr("data-trans-error-invalid-email"),o=n.attr("data-trans-error-invalid-phone");i.html(""),showBestLoader(),$.ajax({url:e,method:"POST",data:t,processData:!1,contentType:!1,success:function(e){"function"==typeof GrTracking&&GrTracking("setUserId",t.get("email")),"success"===e.status&&$("#best-sidebar-content").html("").append(e.content),hideBestLoader()},error:function(e){i.html("").append('<div class="fm-flash alert-danger">'+a+"</div>"),"invalid address e-mail"===e.responseJSON.message&&i.html("").append('<div class="fm-flash alert-danger">'+s+"</div>"),"invalid phone number"===e.responseJSON.message&&i.html("").append('<div class="fm-flash alert-danger">'+o+"</div>"),hideBestLoader()}})})}function handleSidebarResendEmail(){$(document).on("click","#sidebar-resend-email",function(e){e.preventDefault();var t=$("#sidebar-resend-email-response"),e=$("#sidebar-info"),i=e.attr("data-trans-email-was-sent"),n=e.attr("data-trans-email-was-not-sent");t.html(""),showBestLoader(),$(this).addClass("link-disabled"),$.ajax({url:Routing.generate("app_security_handle_resend_email"),method:"POST",data:{email:$(this).data("email")},success:function(e){"success"===e.status&&(setTimeout(function(){$("#sidebar-resend-email").removeClass("link-disabled")},5e3),t.html("").append('<div class="fm-flash alert-success">'+i+"</div>"),hideBestLoader())},error:function(e){setTimeout(function(){$("#sidebar-resend-email").removeClass("link-disabled")},5e3),console.log(e),"error"===e.status&&t.html("").append('<div class="fm-flash alert-alert">'+n+"</div>"),hideBestLoader()}})})}function handleSidebarForgotPasswordForm(){$(document).on("submit","#sidebar-form-forgot-password",function(e){e.preventDefault();var e=$("#sidebar-info"),t=$("#sidebar-forgot-password-response"),i=e.attr("data-trans-resetting-request-emailsent"),n=e.attr("data-trans-error-occurred"),a=e.attr("data-trans-error-invalid-email");t.html(""),showBestLoader(),$.ajax({url:Routing.generate("app_security_handle_forgot_password_form"),method:"POST",data:new FormData(this),processData:!1,contentType:!1,success:function(e){"success"===e.status&&t.html("").append('<div class="fm-flash alert-success">'+i+"</div>"),hideBestLoader()},error:function(e){t.html("").append('<div class="fm-flash alert-danger">'+n+"</div>"),"invalid address e-mail"===e.responseJSON.message&&t.html("").append('<div class="fm-flash alert-danger">'+a+"</div>"),hideBestLoader(),console.log(e)}})})}function handleSidebarNpwzForm(){$(document).on("submit","#sidebar-form-npwz",function(e){e.preventDefault();var e=$("#sidebar-info"),t=$("#sidebar-npwz-response"),i=e.attr("data-trans-success-npwz"),n=e.attr("data-trans-error-occurred"),a=e.attr("data-trans-invalid-npwz"),e=(t.html(""),showBestLoader(),new FormData(this));e.append("npwz[userToken]",sessionStorage.getItem("token")),$.ajax({url:Routing.generate("app_frontend_npwz_handle_form"),method:"POST",data:e,processData:!1,contentType:!1,success:function(e){e.success?(t.html("").append('<div class="fm-flash alert-success">'+i+"</div>"),location.reload()):t.html("").append('<div class="fm-flash alert-danger">'+a+"</div>"),hideBestLoader()},error:function(e){t.html("").append('<div class="fm-flash alert-danger">'+n+"</div>"),hideBestLoader(),console.log(e)}})})}function handleSidebarForgotLoginForm(){$(document).on("submit","#sidebar-form-forgot-login",function(e){e.preventDefault();var e=$("#sidebar-info"),t=$("#sidebar-forgot-login-response"),i=e.attr("data-trans-error-order-not-found"),n=e.attr("data-trans-error-occurred");showBestLoader(),t.html(""),$.ajax({url:Routing.generate("app_security_handle_forgot_login_form"),method:"POST",data:new FormData(this),processData:!1,contentType:!1,success:function(e){"success"===e.status&&("order not found"===e.message?t.html("").append('<div class="fm-flash alert-danger">'+i+"</div>"):t.html("").append('<div class="fm-flash alert-success">'+e.message+"</div>")),hideBestLoader()},error:function(e){"error"===e.responseJSON.status&&t.html("").append('<div class="fm-flash alert-danger">'+n+"</div>"),hideBestLoader(),console.log(e)}})})}function handleSidebarResetPasswordForm(){$("body").on("click",".sidebar-form-reset-password__show-password",function(){var e=$
1(this).closest(".sidebar-form-reset-password__row").find("input"),t=$(this).attr("data-trans-show"),i=$(this).attr("data-trans-hide");$(this).toggleClass("active"),$(this).hasClass("active")?($(this).text(i),e.attr("type","text")):($(this).text(t),e.attr("type","password"))}),$(document).on("submit","#sidebar-form-reset-password",function(e){e.preventDefault();var i=$("#sidebar-reset-password-response"),t=$("#locale").attr("data-locale");i.html(""),showBestLoader(),$.ajax({url:Routing.generate("app_security_handle_reset_password"),method:"POST",data:new FormData(this),processData:!1,contentType:!1,success:function(e){"success"===e.status?"pl"===t?window.location.replace("/logowanie"):window.location.replace("/login"):hideBestLoader()},error:function(e){var t=e.responseJSON;i.html(""),"error"===t.status&&("form"===t.source?t.message.forEach(function(e){i.append('<div class="fm-flash alert-danger">'+e+"</div>")}):i.append('<div class="fm-flash alert-danger">'+t.message+"</div>")),hideBestLoader(),console.log(e)}})})}function handleSidebar(){$("#locale").attr("data-locale");var t=$("#sidebar-info");$("body").on("click",".g-btn-add-note",function(e){showBestSidebar()}),$("body").on("click",".best-login",function(e){e.preventDefault(),loadBestSidebar(Routing.generate("app_security_login"),"loginContent",t.attr("data-trans-login"))}),$("body").on("click",".best-register",function(e){e.preventDefault(),loadBestSidebar(Routing.generate("app_security_register"),"registerContent",t.attr("data-trans-register"))}),$("body").on("click",".best-forget-password",function(e){e.preventDefault(),loadBestSidebar(Routing.generate("app_security_forgot_password"),"passwordChangeContent",t.attr("data-trans-change-password"))}),$("body").on("click",".best-forget-login",function(e){e.preventDefault(),loadBestSidebar(Routing.generate("app_security_forgot_login"),"forgetLoginContent",t.attr("data-trans-login"))}),$("body").on("click",".sidebar-header__close, .btn-close-sidebar",function(e){e.preventDefault(),0<$("#sidebar-form-npwz").length&&location.reload(),hideBestSidebar()}),$("body").on("click","#npwz_skip",function(e){hideBestSidebar(),location.reload()}),$(document).click(function(e){$(".best-sidebar.active").length&&$(".best-sidebar.active").is(":visible")&&(e=$(e.target)).hasClass("best-overlay")&&e.hasClass("active")&&(0<$("#sidebar-form-npwz").length&&location.reload(),hideBestSidebar())}),$(".best-sidebar--register input#email").on("blur",function(){$(this).val().length?$(this).closest(".nice-field--special").addClass("active"):$(this).closest(".nice-field--special").removeClass("active")}),$(document).on("blur",".sidebar-forgot-password input#username",function(){$(this).val().length?$(this).closest(".formContent-form").addClass("active"):$(this).closest(".formContent-form").removeClass("active")})}function loadBestSidebar(e,t,i){var n=t+"-"+$("#sidebar-info").attr("data-sidebar-info"),a=$("#best-sidebar-content"),t=(sessionStorage.getItem(n),$(".sidebar-header__title"));a.html(""),showBestSidebar(),$("#best-sidebar-header-text").html(i),t.find(".sidebar-header__title-icon").removeClass("active"),(e.includes("rejestracja")||e.includes("register")?t.find(".register-icon"):t.find(".login-icon")).addClass("active"),showBestLoader(),$.ajax({url:e,method:"GET",processData:!1,contentType:!1,success:function(e){a.html("").append(e.content),sessionStorage.setItem(n,e.content),hideBestLoader()},error:function(){sendMsgSweetAlert("error","","Ups, coś poszło nie tak. Spróbuj ponownie później."),hideBestLoader()}})}function showBestSidebar(){$("body").addClass("body-lock"),$("#best-overlay").addClass("active"),$("#best-sidebar").addClass("active")}function hideBestSidebar(){$("body").removeClass("body-lock"),$("#best-overlay").removeClass("active"),$("#best-sidebar").removeClass("active"),$("#best-sidebar-ai").removeClass("active")}function showBestLoader(){$(".sidebar-body").append('<div class="loader-container"><div class="loader"></div></div>')}function hideBestLoader(){$(".sidebar-body .loader-container").remove()}function handleCheckboxUpselling(){$("body").on("change",".upselling-product-items",function(e){activeSpinner("show");var t=$(this);(t.is(":checked")?addProductToCart:removeProductFromCart)(t)})}function addProductToCart(t){$.ajax({type:"POST",url:"/koszyk/dodaj",data:{productVariantNoComplete:t.val(),couponCode:t.data("coupon"),parentProductCart:t.data("parent"),upsellingType:3},success:function(e){"ok"===e.success&&(t.prop("disabled",!0),"function"==typeof gtag&&e.gaEvent&&gtag.apply(this,e.gaEvent),window.location.reload())},error:function(){t.prop("checked",!1),activeSpinner("hide"),sendMsgSweetAlert("error","","Nie udało się dodać produktu do koszyka. Spróbuj ponownie później.")}})}function removeProductFromCart(e){e=e.data("productcart")?e.data("productcart"):null;$.isNumeric(e)&&$.ajax({type:"POST",url:"/koszyk/usun",data:{productCartId:e},success:function(e){"ok"===e.success&&(renderCart(),updateUserBarCartData(),"function"==typeof gtag)&&e.gaEvent&&gtag.apply(this,e.gaEvent)},error:function(){sendMsgSweetAlert("error","","Ups, coś poszło nie tak. Spróbuj ponownie później."),activeSpinner("hide")}})}
1function wcagSetCookie(e,t,i,n){let a="";var s;i&&((s=new Date).setTime(s.getTime()+24*i*60*60*1e3),a="; expires="+s.toUTCString()),n=n?"; path="+n:"",document.cookie=e+"="+(t||"")+a+n}function wcagGetCookie(e){var i=e+"=",n=document.cookie.split(";");for(let t=0;t<n.length;t++){let e=n[t];for(;" "==e.charAt(0);)e=e.substring(1,e.length);if(0==e.indexOf(i))return e.substring(i.length,e.length)}return null}function wcagDeleteCookie(e,t){t=t?"; path="+t:"",document.cookie=e+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"+t}function wcagRemoveHtmlClasses(e){document.documentElement.classList.remove(...e.split(" "))}function wcagAddHtmlClass(e){document.documentElement.classList.add(e)}function wcagGetCookiePath(){return window.cookiePath||"/"}function handleWcagButtons(){var t,e,i,n=$(document),a=$(document.documentElement);n.on("mousedown",".show-wcag-link",function(e){e.preventDefault(),$(".wcag-box").toggleClass("wcag-box-show")}),n.on("focus",".show-wcag-link",function(){var e=$(".wcag-box.wcag-box-top");e.length&&e.addClass("wcag-box-show")}),n.on("click",function(e){e=$(e.target);e.closest(".wcag-box").length||e.closest(".show-wcag-link").length||$(".wcag-box").removeClass("wcag-box-show")}),"wcag"===document.body.getAttribute("data-wcag")&&(n.on("click",".jm-normal",function(e){e.preventDefault(),wcagDeleteCookie("contrast",wcagGetCookiePath()),wcagRemoveHtmlClasses("night highcontrast highcontrast2 highcontrast3")}),n.on("click",".jm-night",function(e){e.preventDefault(),wcagSetCookie("contrast","night",7,wcagGetCookiePath()),wcagRemoveHtmlClasses("highcontrast highcontrast2 highcontrast3"),wcagAddHtmlClass("night")}),n.on("click",".jm-highcontrast",function(e){e.preventDefault(),wcagSetCookie("contrast","highcontrast",7,wcagGetCookiePath()),wcagRemoveHtmlClasses("night highcontrast2 highcontrast3"),wcagAddHtmlClass("highcontrast")}),n.on("click",".jm-highcontrast2",function(e){e.preventDefault(),wcagSetCookie("contrast","highcontrast2",7,wcagGetCookiePath()),wcagRemoveHtmlClasses("night highcontrast highcontrast3"),wcagAddHtmlClass("highcontrast2")}),n.on("click",".jm-highcontrast3",function(e){e.preventDefault(),wcagSetCookie("contrast","highcontrast3",7,wcagGetCookiePath()),wcagRemoveHtmlClasses("night highcontrast highcontrast2"),wcagAddHtmlClass("highcontrast3")}),e=wcagGetCookie("jm-font-size"),i=["fsize70","fsize80","fsize90","fsize100","fsize110","fsize120","fsize130"],e?(t=parseInt(e,10),a.addClass("fsize"+t)):t=100,n.on("click",".jm-font-larger",function(e){e.preventDefault(),t<130&&(a.removeClass("fsize"+t),t+=10,a.addClass("fsize"+t),wcagSetCookie("jm-font-size",t,7,wcagGetCookiePath()))}),n.on("click",".jm-font-smaller",function(e){e.preventDefault(),70<t&&(a.removeClass("fsize"+t),t-=10,a.addClass("fsize"+t),wcagSetCookie("jm-font-size",t,7,wcagGetCookiePath()))}),n.on("click",".jm-font-normal",function(e){e.preventDefault(),wcagRemoveHtmlClasses(i.join(" ")),t=100,wcagDeleteCookie("jm-font-size",wcagGetCookiePath())}))}(i=>{var n={};function a(e){var t;return(n[e]||(t=n[e]={i:e,l:!1,exports:{}},i[e].call(t.exports,t,t.exports,a),t.l=!0,t)).exports}a.m=i,a.c=n,a.d=function(e,t,i){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(a.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)a.d(i,n,function(e){return t[e]}.bind(null,n));return i},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=2)})([function(e,t,i){e.exports=function(s){var l=[];return l.toString=function(){return this.map(function(e){i=e[1]||"";var t,i,n,a=(n=e[3])?(s&&"function"==typeof btoa?(t=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),t="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t),t="/*# ".concat(t," */"),a=n.sources.map(function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}),[i].concat(a).concat([t])):[i]).join("\n"):i;return e[2]?"@media ".concat(e[2]," {").concat(a,"}"):a}).join("")},l.i=function(e,t,i){"string"==typeof e&&(e=[[null,e,""]]);var n={};if(i)for(var a=0;a<this.length;a++){var s=this[a][0];null!=s&&(n[s]=!0)}for(var o=0;o<e.length;
1o++){var r=[].concat(e[o]);i&&n[r[0]]||(t&&(r[2]?r[2]="".concat(t," and ").concat(r[2]):r[2]=t),l.push(r))}},l}},function(e,t,n){var i,a,d={},s=(a={},function(e){if(void 0===a[e]){var t=document.querySelector(e);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}a[e]=t}return a[e]});function c(e,t){for(var i=[],n={},a=0;a<e.length;a++){var s=e[a],o=t.base?s[0]+t.base:s[0],s={css:s[1],media:s[2],sourceMap:s[3]};n[o]?n[o].parts.push(s):i.push(n[o]={id:o,parts:[s]})}return i}function u(e,t){for(var i=0;i<e.length;i++){var n=e[i],a=d[n.id],s=0;if(a){for(a.refs++;s<a.parts.length;s++)a.parts[s](n.parts[s]);for(;s<n.parts.length;s++)a.parts.push(m(n.parts[s],t))}else{for(var o=[];s<n.parts.length;s++)o.push(m(n.parts[s],t));d[n.id]={id:n.id,refs:1,parts:o}}}}function o(t){var i=document.createElement("style");if(void 0===t.attributes.nonce&&(e=n.nc)&&(t.attributes.nonce=e),Object.keys(t.attributes).forEach(function(e){i.setAttribute(e,t.attributes[e])}),"function"==typeof t.insert)t.insert(i);else{var e=s(t.insert||"head");if(!e)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");e.appendChild(i)}return i}r=[];var r,l=function(e,t){return r[e]=t,r.filter(Boolean).join("\n")};function h(e,t,i,n){var i=i?"":n.css;e.styleSheet?e.styleSheet.cssText=l(t,i):(n=document.createTextNode(i),(i=e.childNodes)[t]&&e.removeChild(i[t]),i.length?e.insertBefore(n,i[t]):e.appendChild(n))}var p=null,f=0;function m(t,e){var i,n,a,s;return s=e.singleton?(i=f++,n=p=p||o(e),a=h.bind(null,n,i,!1),h.bind(null,n,i,!0)):(n=o(e),a=function(e,t,i){var n=i.css,a=i.media,i=i.sourceMap;if(a&&e.setAttribute("media",a),i&&btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n,e),function(){var e;null!==(e=n).parentNode&&e.parentNode.removeChild(e)}),a(t),function(e){e?e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap||a(t=e):s()}}e.exports=function(e,r){(r=r||{}).attributes="object"==typeof r.attributes?r.attributes:{},r.singleton||"boolean"==typeof r.singleton||(r.singleton=i=void 0===i?Boolean(window&&document&&document.all&&!window.atob):i);var l=c(e,r);return u(l,r),function(e){for(var t=[],i=0;i<l.length;i++){var n=l[i],n=d[n.id];n&&(n.refs--,t.push(n))}e&&u(c(e,r),r);for(var a=0;a<t.length;a++){var s=t[a];if(0===s.refs){for(var o=0;o<s.parts.length;o++)s.parts[o]();delete d[s.id]}}}}},function(e,t,i){function s(t,e){var i,n=Object.keys(t);return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(t),e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)),n}function a(n){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?s(Object(a),!0).forEach(function(e){var t,i;t=n,i=a[e=e],e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(a)):s(Object(a)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(a,e))})}return n}i.r(t),i(3),Litepicker.add("keyboardnav",{init:function(d){function c(e,t,i){var e=Array.from(e.querySelectorAll('.day-item[tabindex="2"]')),n=e.indexOf(t);return e.filter(function(e,t){return i(t,n)&&2===e.tabIndex})[0]}function e(e){d.isMouseDown=!0}function t(e){d.isMouseDown?d.isMouseDown=!1:this.options.inlineMode||this.isShowning()||(this.show(e.target),this.ui.querySelector('[tabindex="'.concat(d.options.keyboardnav.firstTabIndex,'"]')).focus())}function i(e){var t=this;this.options.inlineMode||setTimeout(function(){var e=document.activeElement;t.ui.contains(e)||(t.nextFocusElement=e)})}Object.defineProperties(d,{isMouseDown:{value:!1,writable:!0}}),d.options.keyboardnav=a(a({},{firstTabIndex:1}),d.options.keyboardnav),d.ui.addEventListener("keydown",function(e){var t,i,n,a,s,o,r=this,l=e.target;switch(setTimeout(function(){r.onMouseEnter({target:document.activeElement})}),e.code){case"ArrowUp":case"ArrowDown":o=e,(s=l).classList.contains("day-item")&&(o.preventDefault(),s=c(d.ui,s,function(e,t){return e===("ArrowUp"===o.code?t-7:t+7)}))&&s.focus();break;case"ArrowLeft":case"ArrowRight":n=e,(s=l).classList.contains("day-item")&&(n.preventDefault(),(s=c(d.ui,s,function(e,t){return e===("ArrowLeft"===n.code?t-1:t+1)}))?s.focus():(a=n,(s=d.ui.querySelector("".concat({ArrowLeft:".button-previous-month",ArrowRight:".button-next-month"}[a.code],'[tabindex="1"]')))&&s.dispatchEvent(new Event("click")),setTimeout(function(){var e=null;switch(a.code){case"ArrowLeft":var t=d.ui.querySelectorAll('[tabindex="2"]'),e=t[t.length-1];break;case"ArrowRight":e=d.ui.querySelector('[tabindex="2"]')}e.focus()})));break;case"Tab":i=l,setTimeout(function(){var e,t;document.activeElement.closest(".litepicker")||(t=d.ui.querySelector('[tabindex="1"]'),(t=i===t?(e=d.ui.querySelectorAll('[tabindex="2"]'))[e.length-1]:t).focus())});break;case"Enter":case"Space":t=e,l.classList.contains("day-item")&&(t.preventDefault(),document.activeElement.dispatchEvent(new Event("click")),setTimeout(function(){(d.ui.querySelector('.is-start-date[tabindex="2"]')||d.ui.querySelector('[tabindex="2"]')).focus()}));break;case"Escape":d.hide()}}.bind(d),!0);var n=d.options;n.element instanceof HTMLElement&&(n.element.addEventListener("mousedown",e.bind(d),!0),n.element.addEventListener("focus",t.bind(d),!0)),n.elementEnd instanceof HTMLElement&&(n.elementEnd.addEventListener("mousedown",e.bind(d),!0),n.elementEnd.addEventListener("focus",t.bind(d),!0)),n.element instanceof HTMLElement&&n.element.addEventListener("blur",i.bind(d),!0),n.elementEnd instanceof HTMLElement&&n.elementEnd.addEventListener("blur",i.bind(d),!0),d.on("render",function(e){Array.from(e.querySelectorAll([".month-item:first-child:not(.no-previous-month) .button-previous-month",".month-item:last-child:not(.no-next-month) .button-next-month",".reset-button","select"].join(","))).forEac
1h(function(e){return e.tabIndex=1})}),d.on("render:day",function(e){e.tabIndex=e.classList.contains("is-locked")?-1:2})}})},function(e,t,i){var n=i(4),a=("string"==typeof n&&(n=[[e.i,n,""]]),{insert:function(e){var t=document.querySelector("head"),i=window._lastElementInsertedByStyleLoader;window.disableLitepickerStyles||(i?i.nextSibling?t.insertBefore(e,i.nextSibling):t.appendChild(e):t.insertBefore(e,t.firstChild),window._lastElementInsertedByStyleLoader=e)},singleton:!1});i(1)(n,a),n.locals&&(e.exports=n.locals)},function(e,t,i){(t=i(0)(!1)).push([e.i,"",""]),e.exports=t}]),(i=>{var n={};function a(e){var t;return(n[e]||(t=n[e]={i:e,l:!1,exports:{}},i[e].call(t.exports,t,t.exports,a),t.l=!0,t)).exports}a.m=i,a.c=n,a.d=function(e,t,i){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(a.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)a.d(i,n,function(e){return t[e]}.bind(null,n));return i},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=5)})([function(e,t,i){e.exports=function(s){var l=[];return l.toString=function(){return this.map(function(e){i=e[1]||"";var t,i,n,a=(n=e[3])?(s&&"function"==typeof btoa?(t=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),t="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t),t="/*# ".concat(t," */"),a=n.sources.map(function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}),[i].concat(a).concat([t])):[i]).join("\n"):i;return e[2]?"@media ".concat(e[2]," {").concat(a,"}"):a}).join("")},l.i=function(e,t,i){"string"==typeof e&&(e=[[null,e,""]]);var n={};if(i)for(var a=0;a<this.length;a++){var s=this[a][0];null!=s&&(n[s]=!0)}for(var o=0;o<e.length;o++){var r=[].concat(e[o]);i&&n[r[0]]||(t&&(r[2]?r[2]="".concat(t," and ").concat(r[2]):r[2]=t),l.push(r))}},l}},function(e,t,n){var i,a,d={},s=(a={},function(e){if(void 0===a[e]){var t=document.querySelector(e);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}a[e]=t}return a[e]});function c(e,t){for(var i=[],n={},a=0;a<e.length;a++){var s=e[a],o=t.base?s[0]+t.base:s[0],s={css:s[1],media:s[2],sourceMap:s[3]};n[o]?n[o].parts.push(s):i.push(n[o]={id:o,parts:[s]})}return i}function u(e,t){for(var i=0;i<e.length;i++){var n=e[i],a=d[n.id],s=0;if(a){for(a.refs++;s<a.parts.length;s++)a.parts[s](n.parts[s]);for(;s<n.parts.length;s++)a.parts.push(m(n.parts[s],t))}else{for(var o=[];s<n.parts.length;s++)o.push(m(n.parts[s],t));d[n.id]={id:n.id,refs:1,parts:o}}}}function o(t){var i=document.createElement("style");if(void 0===t.attributes.nonce&&(e=n.nc)&&(t.attributes.nonce=e),Object.keys(t.attributes).forEach(function(e){i.setAttribute(e,t.attributes[e])}),"function"==typeof t.insert)t.insert(i);else{var e=s(t.insert||"head");if(!e)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");e.appendChild(i)}return i}r=[];var r,l=function(e,t){return r[e]=t,r.filter(Boolean).join("\n")};function h(e,t,i,n){var i=i?"":n.css;e.styleSheet?e.styleSheet.cssText=l(t,i):(n=document.createTextNode(i),(i=e.childNodes)[t]&&e.removeChild(i[t]),i.length?e.insertBefore(n,i[t]):e.appendChild(n))}var p=null,f=0;function m(t,e){var i,n,a,s;return s=e.singleton?(i=f++,n=p=p||o(e),a=h.bind(null,n,i,!1),h.bind(null,n,i,!0)):(n=o(e),a=function(e,t,i){var n=i.css,a=i.media,i=i.sourceMap;if(a&&e.setAttribute("media",a),i&&btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n,e),function(){var e;null!==(e=n).parentNode&&e.parentNode.removeChild(e)}),a(t),function(e){e?e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap||a(t=e):s()}}e.exports=function(e,r){(r=r||{}).attributes="object"==typeof r.attributes?r.attributes:{},r.singleton||"boolean"==typeof r.singleton||(r.singleton=i=void 0===i?Boolean(window&&document&&document.all&&!window.atob):i);var l=c(e,r);return u(l,r),function(e){for(var t=[],i=0;i<l.length;i++){var n=l[i],n=d[n.id];n&&(n.refs--,t.push(n))}e&&u(c(e,r),r);for(var a=0;a<t.length;a++){var s=t[a];if(0===s.refs){for(var o=0;o<s.parts.length;o++)s.parts[o]();delete d[s.id]}}}}},,,,function(e,t,i){function s(t,e){var i,n=Object.keys(t);return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(t),e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)),n}function o(n){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};
1e%2?s(Object(a),!0).forEach(function(e){var t,i;t=n,i=a[e=e],e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(a)):s(Object(a)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(a,e))})}return n}i.r(t),i(6),Litepicker.add("mobilefriendly",{init:function(h){var i=h.options,e=(h.options.mobilefriendly=o(o({},{breakpoint:480}),i.mobilefriendly),Object.defineProperties(h,{xTouchDown:{value:null,writable:!0},yTouchDown:{value:null,writable:!0},touchTargetMonth:{value:null,writable:!0}}),!1);try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("testPassive",null,t),window.removeEventListener("testPassive",null,t)}catch(h){}function n(){var e="portrait"===a();return window.matchMedia("(max-device-".concat(e?"width":"height",": ").concat(h.options.mobilefriendly.breakpoint,"px)")).matches}function a(){return"orientation"in window.screen&&"type"in window.screen.orientation?window.screen.orientation.type.replace(/\-\w+$/,""):window.matchMedia("(orientation: portrait)").matches?"portrait":"landscape"}function s(){"portrait"===a()?(h.options.numberOfMonths=1,h.options.numberOfColumns=1):(h.options.numberOfMonths=2,h.options.numberOfColumns=2)}h.backdrop=document.createElement("div"),h.backdrop.className="litepicker-backdrop",h.backdrop.addEventListener("click",h.hide()),i.element&&i.element.parentNode&&i.element.parentNode.appendChild(h.backdrop),window.addEventListener("orientationchange",function(e){window.addEventListener("resize",function e(){var t;n()&&h.isShowning()&&("landscape"===(t=a())?(i.numberOfMonths=2,i.numberOfColumns=2):(i.numberOfMonths=1,i.numberOfColumns=1),h.ui.classList.toggle("mobilefriendly-portrait","portrait"===t),h.ui.classList.toggle("mobilefriendly-landscape","landscape"===t),h.render()),window.removeEventListener("resize",e)})}),i.inlineMode&&n()&&(window.dispatchEvent(new Event("orientationchange")),window.dispatchEvent(new Event("resize"))),h.on("before:show",function(e){var t;h.triggerElement=e,!h.options.inlineMode&&n()?(h.emit("mobilefriendly.before:show",e),h.ui.style.position="fixed",h.ui.style.display="block",s(),h.scrollToDate(e),h.render(),t=a(),h.ui.classList.add("mobilefriendly"),h.ui.classList.toggle("mobilefriendly-portrait","portrait"===t),h.ui.classList.toggle("mobilefriendly-landscape","landscape"===t),h.ui.style.top="50%",h.ui.style.left="50%",h.ui.style.right=null,h.ui.style.bottom=null,h.ui.style.zIndex=h.options.zIndex,h.backdrop.style.display="block",h.backdrop.style.zIndex=h.options.zIndex-1,document.body.classList.add("litepicker-open"),(e||h.options.element).blur(),h.emit("mobilefriendly.show",e)):n()&&(s(),h.render())}),h.on("render",function(e){h.touchTargetMonth&&Array.from(h.ui.querySelectorAll(".month-item")).map(function(e){return e.classList.add("touch-target-".concat(h.touchTargetMonth))}),h.touchTargetMonth=null}),h.on("hide",function(){document.body.classList.remove("litepicker-open"),h.backdrop.style.display="none",h.ui.classList.remove("mobilefriendly","mobilefriendly-portrait","mobilefriendly-landscape")}),h.on("destroy",function(){h.backdrop&&h.backdrop.parentNode&&h.backdrop.parentNode.removeChild(h.backdrop)}),h.ui.addEventListener("touchstart",function(e){e=e.touches[0];h.xTouchDown=e.clientX,h.yTouchDown=e.clientY},!!e&&{passive:!0}),h.ui.addEventListener("touchmove",function(e){var t,i,n,a,s,o,r,l,d,c,u;h.xTouchDown&&h.yTouchDown&&(t=e.touches[0].clientX,e=e.touches[0].clientY,t=h.xTouchDown-t,e=h.yTouchDown-e,i=Math.abs(t)>Math.abs(e),n=h.options.numberOfMonths,l=null,d=!1,c="",a=Array.from(h.ui.querySelectorAll(".month-item")),i&&(s=h.DateTime(h.ui.querySelector(".day-item").dataset.time),o=Number("".concat(1-Math.abs(t)/100)),c=(r=0)<t?(r=-Math.abs(t),l=s.clone().add(n,"month"),d=!(u=h.options.maxDate)||l.isSameOrBefore(h.DateTime(u),"month"),"next"):(r=Math.abs(t),l=s.clone().subtract(n,"month"),d=!(u=h.options.minDate)||l.isSameOrAfter(h.DateTime(u),"month"),"prev"),d)&&a.map(function(e){e.style.opacity=o,e.style.transform="translateX(".concat(r,"px)")}),100<Math.abs(t)+Math.abs(e))&&i&&l&&d&&(h.touchTargetMonth=c,h.gotoDate(l))},!!e&&{passive:!0}),h.ui.addEventListener("touchend",function(e){h.touchTargetMonth||Array.from(h.ui.querySelectorAll(".month-item")).map(function(e){e.style.transform="translateX(0px)",e.style.opacity=1}),h.xTouchDown=null,h.yTouchDown=null},!!e&&{passive:!0})}})},function(e,t,i){var n=i(7),a=("string"==typeof n&&(n=[[e.i,n,""]]),{insert:function(e){var t=document.querySelector("head"),i=window._lastElementInsertedByStyleLoader;window.disableLitepickerStyles||(i?i.nextSibling?t.insertBefore(e,i.nextSibling):t.a
1ppendChild(e):t.insertBefore(e,t.firstChild),window._lastElementInsertedByStyleLoader=e)},singleton:!1});i(1)(n,a),n.locals&&(e.exports=n.locals)},function(e,t,i){(t=i(0)(!1)).push([e.i,':root {\n  --litepicker-mobilefriendly-backdrop-color-bg: #000;\n}\n\n.litepicker-backdrop {\n  display: none;\n  background-color: var(--litepicker-mobilefriendly-backdrop-color-bg);\n  opacity: 0.3;\n  position: fixed;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n}\n\n.litepicker-open {\n  overflow: hidden;\n}\n\n.litepicker.mobilefriendly[data-plugins*="mobilefriendly"] {\n  transform: translate(-50%, -50%);\n  font-size: 1.1rem;\n  --litepicker-container-months-box-shadow-color: #616161;\n}\n.litepicker.mobilefriendly-portrait {\n  --litepicker-day-width: 13.5vw;\n  --litepicker-month-width: calc(var(--litepicker-day-width) * 7);\n}\n.litepicker.mobilefriendly-landscape {\n  --litepicker-day-width: 5.5vw;\n  --litepicker-month-width: calc(var(--litepicker-day-width) * 7);\n}\n\n.litepicker[data-plugins*="mobilefriendly"] .container__months {\n  overflow: hidden;\n}\n\n.litepicker.mobilefriendly[data-plugins*="mobilefriendly"] .container__months .month-item-header {\n  height: var(--litepicker-day-width);\n}\n\n.litepicker.mobilefriendly[data-plugins*="mobilefriendly"] .container__days > div {\n  height: var(--litepicker-day-width);\n  display: flex;\n  align-items: center;\n  justify-content: center;\n}\n\n\n.litepicker[data-plugins*="mobilefriendly"] .container__months .month-item {\n  transform-origin: center;\n}\n\n.litepicker[data-plugins*="mobilefriendly"] .container__months .month-item.touch-target-next {\n  animation-name: lp-bounce-target-next;\n  animation-duration: .5s;\n  animation-timing-function: ease;\n}\n\n.litepicker[data-plugins*="mobilefriendly"] .container__months .month-item.touch-target-prev {\n  animation-name: lp-bounce-target-prev;\n  animation-duration: .5s;\n  animation-timing-function: ease;\n}\n\n@keyframes lp-bounce-target-next {\n  from {\n    transform: translateX(100px) scale(0.5);\n  }\n  to {\n    transform: translateX(0px) scale(1);\n  }\n}\n\n@keyframes lp-bounce-target-prev {\n  from {\n    transform: translateX(-100px) scale(0.5);\n  }\n  to {\n    transform: translateX(0px) scale(1);\n  }\n}',""]),e.exports=t}]),(i=>{var n={};function a(e){var t;return(n[e]||(t=n[e]={i:e,l:!1,exports:{}},i[e].call(t.exports,t,t.exports,a),t.l=!0,t)).exports}a.m=i,a.c=n,a.d=function(e,t,i){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(a.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)a.d(i,n,function(e){return t[e]}.bind(null,n));return i},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=8)})([function(e,t,i){e.exports=function(s){var l=[];return l.toString=function(){return this.map(function(e){i=e[1]||"";var t,i,n,a=(n=e[3])?(s&&"function"==typeof btoa?(t=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),t="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t),t="/*# ".concat(t," */"),a=n.sources.map(function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}),[i].concat(a).concat([t])):[i]).join("\n"):i;return e[2]?"@media ".concat(e[2]," {").concat(a,"}"):a}).join("")},l.i=function(e,t,i){"string"==typeof e&&(e=[[null,e,""]]);var n={};if(i)for(var a=0;a<this.length;a++){var s=this[a][0];null!=s&&(n[s]=!0)}for(var o=0;o<e.length;o++){var r=[].concat(e[o]);i&&n[r[0]]||(t&&(r[2]?r[2]="".concat(t," and ").concat(r[2]):r[2]=t),l.push(r))}},l}},function(e,t,n){var i,a,d={},s=(a={},function(e){if(void 0===a[e]){var t=document.querySelector(e);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}a[e]=t}return a[e]});function c(e,t){for(var i=[],n={},a=0;a<e.length;
1a++){var s=e[a],o=t.base?s[0]+t.base:s[0],s={css:s[1],media:s[2],sourceMap:s[3]};n[o]?n[o].parts.push(s):i.push(n[o]={id:o,parts:[s]})}return i}function u(e,t){for(var i=0;i<e.length;i++){var n=e[i],a=d[n.id],s=0;if(a){for(a.refs++;s<a.parts.length;s++)a.parts[s](n.parts[s]);for(;s<n.parts.length;s++)a.parts.push(m(n.parts[s],t))}else{for(var o=[];s<n.parts.length;s++)o.push(m(n.parts[s],t));d[n.id]={id:n.id,refs:1,parts:o}}}}function o(t){var i=document.createElement("style");if(void 0===t.attributes.nonce&&(e=n.nc)&&(t.attributes.nonce=e),Object.keys(t.attributes).forEach(function(e){i.setAttribute(e,t.attributes[e])}),"function"==typeof t.insert)t.insert(i);else{var e=s(t.insert||"head");if(!e)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");e.appendChild(i)}return i}r=[];var r,l=function(e,t){return r[e]=t,r.filter(Boolean).join("\n")};function h(e,t,i,n){var i=i?"":n.css;e.styleSheet?e.styleSheet.cssText=l(t,i):(n=document.createTextNode(i),(i=e.childNodes)[t]&&e.removeChild(i[t]),i.length?e.insertBefore(n,i[t]):e.appendChild(n))}var p=null,f=0;function m(t,e){var i,n,a,s;return s=e.singleton?(i=f++,n=p=p||o(e),a=h.bind(null,n,i,!1),h.bind(null,n,i,!0)):(n=o(e),a=function(e,t,i){var n=i.css,a=i.media,i=i.sourceMap;if(a&&e.setAttribute("media",a),i&&btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n,e),function(){var e;null!==(e=n).parentNode&&e.parentNode.removeChild(e)}),a(t),function(e){e?e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap||a(t=e):s()}}e.exports=function(e,r){(r=r||{}).attributes="object"==typeof r.attributes?r.attributes:{},r.singleton||"boolean"==typeof r.singleton||(r.singleton=i=void 0===i?Boolean(window&&document&&document.all&&!window.atob):i);var l=c(e,r);return u(l,r),function(e){for(var t=[],i=0;i<l.length;i++){var n=l[i],n=d[n.id];n&&(n.refs--,t.push(n))}e&&u(c(e,r),r);for(var a=0;a<t.length;a++){var s=t[a];if(0===s.refs){for(var o=0;o<s.parts.length;o++)s.parts[o]();delete d[s.id]}}}}},,,,,,,function(e,t,i){function s(t,e){var i,n=Object.keys(t);return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(t),e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)),n}function n(n){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?s(Object(a),!0).forEach(function(e){var t,i;t=n,i=a[e=e],e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(a)):s(Object(a)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(a,e))})}return n}i.r(t),i(9),Litepicker.add("ranges",{init:function(s){var e,t,i={position:"left",customRanges:{},force:!1,autoApply:s.options.autoApply},o=(s.options.ranges=n(n({},i),s.options.ranges),s.options.singleMode=!1,Object.keys(s.options.ranges.customRanges).length||(i=s.DateTime(),s.options.ranges.customRanges={Today:[i.clone(),i.clone()],Yesterday:[i.clone().subtract(1,"day"),i.clone().subtract(1,"day")],"Last 7 Days":[i.clone().subtract(6,"day"),i],"Last 30 Days":[i.clone().subtract(29,"day"),i],"This Month":((t=(e=i).clone()).setDate(1),[t,new Date(e.getFullYear(),e.getMonth()+1,0)]),"Last Month":((e=(t=i).clone()).setDate(1),e.setMonth(t.getMonth()-1),[e,new Date(t.getFullYear(),t.getMonth(),0)])}),s.options.ranges);s.on("render",function(n){var a=document.createElement("div");a.className="container__predefined-ranges",s.ui.dataset.rangesPosition=o.position,Object.keys(o.customRanges).forEach(function(e){var t=o.customRanges[e],i=document.createElement("button");i.innerText=e,i.tabIndex=0<=n.dataset.plugins.indexOf("keyboardnav")?1:-1,i.dataset.start=t[0].getTime(),i.dataset.end=t[1].getTime(),i.addEventListener("click",function(e){var t,e=e.target;e&&(t=s.DateTime(Number(e.dataset.start)),e=s.DateTime(Number(e.dataset.end)),o.autoApply?(s.setDateRange(t,e,o.force),s.emit("ranges.selected",t,e),s.hide()):(s.datePicked=[t,e],s.emit("ranges.preselect",t,e)),!s.options.inlineMode&&o.autoApply||s.gotoDate(t))}),a.appendChild(i)}),n.querySelector(".container__main").prepend(a)})}})},function(e,t,i){var n=i(10),a=("string"==typeof n&&(n=[[e.i,n,""]]),{insert:function(e){var t=document.querySelector("head"),i=window._lastElementInsertedByStyleLoader;window.disableLitepickerStyles||(i?i.nextSibling?t.insertBefore(e,i.nextSibling):t.a
1ppendChild(e):t.insertBefore(e,t.firstChild),window._lastElementInsertedByStyleLoader=e)},singleton:!1});i(1)(n,a),n.locals&&(e.exports=n.locals)},function(e,t,i){(t=i(0)(!1)).push([e.i,'.litepicker[data-plugins*="ranges"] > .container__main > .container__predefined-ranges {\n  display: flex;\n  flex-direction: column;\n  align-items: flex-start;\n  background: var(--litepicker-container-months-color-bg);\n  box-shadow: -2px 0px 5px var(--litepicker-footer-box-shadow-color);\n  border-radius: 3px;\n}\n.litepicker[data-plugins*="ranges"][data-ranges-position="left"] > .container__main {\n  /* */\n}\n.litepicker[data-plugins*="ranges"][data-ranges-position="right"] > .container__main{\n  flex-direction: row-reverse;\n}\n.litepicker[data-plugins*="ranges"][data-ranges-position="right"] > .container__main > .container__predefined-ranges {\n  box-shadow: 2px 0px 2px var(--litepicker-footer-box-shadow-color);\n}\n.litepicker[data-plugins*="ranges"][data-ranges-position="top"] > .container__main {\n  flex-direction: column;\n}\n.litepicker[data-plugins*="ranges"][data-ranges-position="top"] > .container__main > .container__predefined-ranges {\n  flex-direction: row;\n  box-shadow: 2px 0px 2px var(--litepicker-footer-box-shadow-color);\n}\n.litepicker[data-plugins*="ranges"][data-ranges-position="bottom"] > .container__main {\n  flex-direction: column-reverse;\n}\n.litepicker[data-plugins*="ranges"][data-ranges-position="bottom"] > .container__main > .container__predefined-ranges {\n  flex-direction: row;\n  box-shadow: 2px 0px 2px var(--litepicker-footer-box-shadow-color);\n}\n.litepicker[data-plugins*="ranges"] > .container__main > .container__predefined-ranges button {\n  padding: 5px;\n  margin: 2px 0;\n}\n.litepicker[data-plugins*="ranges"][data-ranges-position="left"] > .container__main > .container__predefined-ranges button,\n.litepicker[data-plugins*="ranges"][data-ranges-position="right"] > .container__main > .container__predefined-ranges button{\n  width: 100%;\n  text-align: left;\n}\n.litepicker[data-plugins*="ranges"] > .container__main > .container__predefined-ranges button:hover {\n  cursor: default;\n  opacity: .6;\n}',""]),e.exports=t}]),(i=>{var n={};function a(e){var t;return(n[e]||(t=n[e]={i:e,l:!1,exports:{}},i[e].call(t.exports,t,t.exports,a),t.l=!0,t)).exports}a.m=i,a.c=n,a.d=function(e,t,i){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(a.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)a.d(i,n,function(e){return t[e]}.bind(null,n));return i},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=11)})([function(e,t,i){e.exports=function(s){var l=[];return l.toString=function(){return this.map(function(e){i=e[1]||"";var t,i,n,a=(n=e[3])?(s&&"function"==typeof btoa?(t=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),t="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t),t="/*# ".concat(t," */"),a=n.sources.map(function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}),[i].concat(a).concat([t])):[i]).join("\n"):i;return e[2]?"@media ".concat(e[2]," {").concat(a,"}"):a}).join("")},l.i=function(e,t,i){"string"==typeof e&&(e=[[null,e,""]]);var n={};if(i)for(var a=0;a<this.length;a++){var s=this[a][0];null!=s&&(n[s]=!0)}for(var o=0;o<e.length;o++){var r=[].concat(e[o]);i&&n[r[0]]||(t&&(r[2]?r[2]="".concat(t," and ").concat(r[2]):r[2]=t),l.push(r))}},l}},function(e,t,n){var i,a,d={},s=(a={},function(e){if(void 0===a[e]){var t=document.querySelector(e);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}a[e]=t}return a[e]});function c(e,t){for(var i=[],n={},a=0;a<e.length;
1a++){var s=e[a],o=t.base?s[0]+t.base:s[0],s={css:s[1],media:s[2],sourceMap:s[3]};n[o]?n[o].parts.push(s):i.push(n[o]={id:o,parts:[s]})}return i}function u(e,t){for(var i=0;i<e.length;i++){var n=e[i],a=d[n.id],s=0;if(a){for(a.refs++;s<a.parts.length;s++)a.parts[s](n.parts[s]);for(;s<n.parts.length;s++)a.parts.push(m(n.parts[s],t))}else{for(var o=[];s<n.parts.length;s++)o.push(m(n.parts[s],t));d[n.id]={id:n.id,refs:1,parts:o}}}}function o(t){var i=document.createElement("style");if(void 0===t.attributes.nonce&&(e=n.nc)&&(t.attributes.nonce=e),Object.keys(t.attributes).forEach(function(e){i.setAttribute(e,t.attributes[e])}),"function"==typeof t.insert)t.insert(i);else{var e=s(t.insert||"head");if(!e)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");e.appendChild(i)}return i}r=[];var r,l=function(e,t){return r[e]=t,r.filter(Boolean).join("\n")};function h(e,t,i,n){var i=i?"":n.css;e.styleSheet?e.styleSheet.cssText=l(t,i):(n=document.createTextNode(i),(i=e.childNodes)[t]&&e.removeChild(i[t]),i.length?e.insertBefore(n,i[t]):e.appendChild(n))}var p=null,f=0;function m(t,e){var i,n,a,s;return s=e.singleton?(i=f++,n=p=p||o(e),a=h.bind(null,n,i,!1),h.bind(null,n,i,!0)):(n=o(e),a=function(e,t,i){var n=i.css,a=i.media,i=i.sourceMap;if(a&&e.setAttribute("media",a),i&&btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n,e),function(){var e;null!==(e=n).parentNode&&e.parentNode.removeChild(e)}),a(t),function(e){e?e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap||a(t=e):s()}}e.exports=function(e,r){(r=r||{}).attributes="object"==typeof r.attributes?r.attributes:{},r.singleton||"boolean"==typeof r.singleton||(r.singleton=i=void 0===i?Boolean(window&&document&&document.all&&!window.atob):i);var l=c(e,r);return u(l,r),function(e){for(var t=[],i=0;i<l.length;i++){var n=l[i],n=d[n.id];n&&(n.refs--,t.push(n))}e&&u(c(e,r),r);for(var a=0;a<t.length;a++){var s=t[a];if(0===s.refs){for(var o=0;o<s.parts.length;o++)s.parts[o]();delete d[s.id]}}}}},,,,,,,,,,function(e,t,i){function a(e){return(e=>{if(Array.isArray(e))return n(e)})(e)||(e=>{if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)})(e)||(e=>{var t;if(e)return"string"==typeof e?n(e,void 0):"Map"===(t="Object"===(t=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:t)||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?n(e,void 0):void 0})(e)||(()=>{throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")})()}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}function s(t,e){var i,n=Object.keys(t);return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(t),e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)),n}function o(n){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?s(Object(a),!0).forEach(function(e){var t,i;t=n,i=a[e=e],e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(a)):s(Object(a)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(a,e))})}return n}i.r(t),i(12),Litepicker.add("multiselect",{init:function(n){Object.defineProperties(n,{multipleDates:{value:[],enumerable:!0,writable:!0},preMultipleDates:{value:[],writable:!0}}),n.options.multiselect=o(o({},{max:null}),n.options.multiselect),n.options.autoApply=n.options.inlineMode,n.options.showTooltip=!1;function i(){var e,t=n.preMultipleDates.length,i=n.ui.querySelector(".preview-date-range");i&&0<t&&(e=n.pluralSelector(t),e=n.options.tooltipText[e]||"[".concat(e,"]"),t="".concat(t," ").concat(e),i.innerText=t)}n.on("before:show",function(){n.preMultipleDates=a(n.multipleDates)}),n.on("show",function(){i()}),n.on("before:click",function(e){var t;e.classList.contains("day-item")&&(n.preventClick=!0,e.classList.contains("is-locked")?e.blur():(t=Number(e.dataset.time),e.classList.contains("is-selected")?(n.preMultipleDates=n.preMultipleDates.filter(function(e){return e!==t}),n.emit("multiselect.deselect",n.DateTime(t))):(n.preMultipleDates[n.preMultipleDates.length]=t,n.emit("multiselect.select",n.DateTime(t))),n.options.autoApply&&n.emit("button:apply"),n.render(),i()))}),n.on("render:day",function(t){var e=n.preMultipleDates.filter(function(e){return e===Number(t.dataset.time)}).length,i=Number(n.options.multiselect.max);e?t.classList.add("is-selected"):i&&n.preMultipleDates.length>=i&&t.classList.add("is-locked")}),n.on("button:cancel",function(){n.preMultipleDates.length=0}),n.on("button:apply",function(){n.multipleDates=a(n.preMultipleDates).sort(function(e,t){return e-t})}),n.on("clear:selection",function(){n.clearMultipleDates(),n.render()}),n.clearMultipleDates=function(){n.preMultipleDates.length=0,n.multipleDates.length=0},n.getMultipleDates=function(){return n.multipleDates.map(function(e){return n.DateTime(e)})},n.multipleDatesToString=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"YYYY-MM-DD",e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:",";return n.multipleDates.map(function(e){return n.DateTime(e).format(t)}).join(e)}}})},function(e,t,i){var n=i(13),a=("string"==typeof n&&(n=[[e.i,n,""]]),{insert:function(e){var t=document.querySelector("head"),i=window._lastElementInsertedByStyleLoader;window.disableLitepickerStyles||(i?i.nextSibling?t.insertBefore(e,i.nextSibling):t.a
1ppendChild(e):t.insertBefore(e,t.firstChild),window._lastElementInsertedByStyleLoader=e)},singleton:!1});i(1)(n,a),n.locals&&(e.exports=n.locals)},function(e,t,i){(t=i(0)(!1)).push([e.i,':root {\n  --litepicker-multiselect-is-selected-color-bg: #2196f3;\n  --litepicker-multiselect-is-selected-color: #fff;\n  --litepicker-multiselect-hover-color-bg: #2196f3;\n  --litepicker-multiselect-hover-color: #fff;\n}\n\n.litepicker[data-plugins*="multiselect"] .container__days .day-item {\n  position: relative;\n  z-index: 1;\n}\n\n.litepicker[data-plugins*="multiselect"] .container__days .day-item:not(.is-locked):after {\n  content: \'\';\n  position: absolute;\n  width: 27px;\n  height: 27px;\n  top: 50%;\n  left: 50%;\n  z-index: -1;\n  border-radius: 50%;\n  transform: translate(-50%, -50%);\n}\n\n.litepicker[data-plugins*="multiselect"] .container__days .day-item:not(.is-locked):hover {\n  box-shadow: none;\n  color: var(--litepicker-day-color);\n  font-weight: bold;\n}\n\n\n.litepicker[data-plugins*="multiselect"] .container__days .day-item.is-selected,\n.litepicker[data-plugins*="multiselect"] .container__days .day-item.is-selected:hover {\n  color: var(--litepicker-multiselect-is-selected-color);\n}\n\n.litepicker[data-plugins*="multiselect"] .container__days .day-item.is-selected:after {\n  color: var(--litepicker-multiselect-is-selected-color);\n  background-color: var(--litepicker-multiselect-is-selected-color-bg);\n}\n',""]),e.exports=t}]),$(document).ready(function(){handleShowPassword(),handleEmailCheck(),handleCheckLogin()}),$(document).ready(function(){handleUsersInMyAccountOrders(),hanfleButtonsInMyAccountFiles()}),$(document).ready(function(){var locale=$("#locale").attr("data-locale"),minlength=6,body=$("body");function toggleRegulationsCheckboxes(){var i=$("#order_acceptanceRegulations-all");$('.order-regulations-checkbox:not([name="professionalNature"])').each(function(e,t){i.is(":checked")?$(t).is(":checked")||$(t).trigger("click"):$(t).is(":checked")&&$(t).trigger("click")})}$(document).ajaxComplete(function(){niceInputEach()}),niceInputEach(),body.on("click","#order_acceptanceRegulations-all",function(){toggleRegulationsCheckboxes()}),body.on("keydown",'label[for="order_acceptanceRegulations-all"]',function(e){"Enter"!==e.key&&13!==e.keyCode||($(this).trigger("click"),toggleRegulationsCheckboxes(),e.preventDefault())}),body.on("change",".order-regulations-checkbox",function(){$(this).is(":checked")||$("#order_acceptanceRegulations-all").prop("checked",!1)}),body.on("focus","#orderContent input[name$='[phone]']",function(){$(this).mask("+48 000 000 000")}),body.on("focus","#orderContent input[name$='[phoneNumber]']",function(){$(this).mask("+48 000 000 000")}),body.on("focus","#additional_phoneNumber_field",function(){$(this).mask("+48 000 000 000")}),body.on("focus","#orderContent input[name$='[postalCode]']",function(){"en"===locale?($(this).mask("AAA AAA"),$(this).attr("minlength",7),minlength=7):$(this).mask("00-000"),$($("input[name$='[postalCode]").parents("form")).validate({rules:{"input[name$='[postalCode]":{minlength:minlength}}})}),body.on("focus","#orderContent input[name$='[nip]']",function(){$(this).mask("0000000000")}),body.on("focus","#orderContent input[name$='[idWew]']",function(){$(this).mask("0000000000-00000")}),body.on("focus","#orderContent input[name$='[deliveryAddressProductPostalCode]']",function(){"en"===locale?($(this).mask("AAA AAA"),$(this).attr("minlength",7),minlength=7):$(this).mask("00-000"),$($("input[name$='[postalCode]").parents("form")).validate({rules:{"input[name$='[postalCode]":{minlength:minlength}}})}),body.on("focus","#orderContent input[name$='[correspondencePostalcode]']",function(){"en"===locale?($(this).mask("AAA AAA"),$(this).attr("minlength",7),minlength=7):$(this).mask("00-000"),$($("input[name$='[postalCode]").parents("form")).validate({rules:{"input[name$='[postalCode]":{minlength:minlength}}})}),body.on("focus","#orderContent .niceInput",function(e){$(this).addClass("niceInputValid")}),body.on("blur","#orderContent .niceInput",function(e){$(this).val()?$(this).addClass("niceInputValid"):$(this).removeClass("niceInputValid")}),body.on("click",'#orderContent button[name="save"]',function(ev){var _button=$(this),isValid=!0,pixel=_button.data("pixel"),parent,source,portal,data,postUrl,portal,data,postUrl,formType,url;activeSpinner("show"),ev.preventDefault(),$.validator.messages.required="Pole jest wymagane",$('form[method="post"]').validate({debug:!1,errorClass:"error",errorElement:"span",invali
1dHandler:function(e,t){if(t.numberOfInvalids()){for(var i=[],n=0;n<t.errorList.length;n++)null!==t.errorList[n].element.getAttribute("data-message")&&i.push(t.errorList[n].element.getAttribute("data-message"));var a=[];a.push(new Set(i)),0<a.length&&((a=$(".termsMessage").text(a.join("\n\n"))).html(a.html().replace(/\n/g,"<br/>")),$(".termsMessage").show())}else $(".termsMessage").hide()},errorPlacement:function(e,t){0<=jQuery.inArray("order-regulations-checkbox",t[0].classList)?(e.insertAfter(t.parent().parent()),t.parent().parent().css("background-color","#ffe3a5"),$("html, body").animate({scrollTop:$(".order-regulations-checkbox").offset().top},700)):(t.parent().parent().parent().attr("id","ajaxError"),e.insertAfter(t))}}),0<$("#app_user_registration_email").length&&$("#app_user_registration_email").hasClass("invalid")&&(isValid=!1,$("#app_user_registration_email").parent().parent().parent().attr("id","ajaxError")),$('form[method="post"]').valid()&&isValid?(parent=window.parent,self==top&&self==parent?(source=$(_button).data("source"),postUrl=("eforum"==source?(portal="eforum",data=$("form").eq(1).serialize(),$("form").eq(1)):(portal="uniqskills",data=$("form").serialize(),$("form"))).attr("action"),data+="&source="+portal,$.ajax({type:"POST",url:postUrl,data:data,success:function(res){pixel&&"function"==typeof fbq&&eval(pixel),_button.hasClass("login-submit")||_button.hasClass("register-submit")?goNextStep(_button.data("url")):($("#orderContent").html(res),renderExtendedPaymentTime()),activeSpinner("show")}})):(formType=$("form").attr("data-formType"),$.ajax({type:"POST",url:$("form").attr("action"),data:$("form").serialize(),success:function(data){var ret;IsJsonString(data)?(ret=jQuery.parseJSON(data),ret.success?(pixel&&"function"==typeof fbq&&eval(pixel),login(ret,formType),ret.mergeCart?msgTwoCart(null,ret.oldProductCart):(goNextStep($(".next").attr("data-url")),window.postMessage({method:"refreshUserBar"},"*"),showSweetAlert())):$("#error").html(ret.error)):"register"===formType?$("#loginContent").html(data):(pixel&&"function"==typeof fbq&&eval(pixel),$("#orderContent").html(data),renderExtendedPaymentTime()),$("#form").length&&checkAddressDeliveryContent(),activeSpinner("show"),showSweetAlert()}}))):(url=window.location.href.replace("#ajaxError",""),window.history.pushState("obj",document.title,url),null!==document.getElementById("goToErrorInput")&&document.getElementById("goToErrorInput").click(),activeSpinner("show"),showSweetAlert())}),body.on("change","#orderContent .checkbox-product-variant-group-items",function(){activeSpinner("show");var e=$(this),t=e.data("price-net"),i=e.data("price-gross"),n=e.data("trade-name"),a=e.val(),e=$("#participant-"+e.data("participant-id"));this.checked?(addPriceToCartInfo(t,i),changePriceToParticipant("add",e,t,i),updateProductsList(n,a,t,i,"add")):(removePriceFromCartInfo(t,i),changePriceToParticipant("remove",e,t,i),updateProductsList(n,a,t,i,"remove")),activeSpinner("hide")}),body.on("click",'#orderContent a[class="order-participant-remove"]',function(){activeSpinner("show");var e=$(this),t=e.data("url"),i=e.closest(".order-participant"),n=e.closest(".order-participant-list__single-item"),a=e.data("product-cart-id"),e=n.find(".order-participant").length-1;$.ajax({type:"POST",url:t,data:{quantity:e,productCartId:a,renderPrices:!0},success:function(e){"success"===e.status?(i.remove(),participantsRefreshCounter(n,a),$("#cartPrices").html(e.prices)):"Wrong data!"===e.message?sendMsgSweetAlert("error","Oops...","Nie możesz usunąć tego uczestnika"):sendMsgSweetAlert("error","Wystąpił błąd","Prosimy spróbować później"),activeSpinner("hide")},error:function(){sendMsgSweetAlert("error","Wystąpił błąd","Prosimy spróbować później"),activeSpinner("hide")}})}),body.on("click",'#orderContent button[id="addParticipant"]',function(){activeSpinner("show");var t=$(this),i=t.closest(".order-participant-list__single-item"),e=t.data("url"),n=t.data("prototype"),a=t.data("counter")+1,n=n.replace(/___participant___/g,a),s=t.data("product-cart-id"),o=i.find(".order-participant").length+1;$.ajax({type:"POST",url:e,data:{quantity:o,productCartId:s,renderPrices:!0},success:function(e){"success"===e.status?($(".product-cart-2").length?$(n).insertBefore(t.parent().parent()):$(n).insertBefore(t.parent()),t.data("counter",a),participantsRefreshCounter(i,s),$(".order-participant:last .order-participant-title").click(),$("#cartPrices").html(e.prices)):sendMsgSweetAlert("error","Wystąpił błąd","Prosimy spróbować później"),activeSpinner("hide")},error:function(){sendMsgSweetAlert("error","Wystąpił błąd","Prosimy spróbować później"),activeSpinner("hide")}})}),body.on("click",'#orderContent button[name="back"]',function(){activeSpinner("show"),$.ajax({type:"GET",url:$(this).attr("data-href"),success:function(e){$("#orderContent").html(e),$("#form").length&&checkAddressDeliveryContent(),activeSpinner("show")}})}),body.on("click","#orderContent .clientType",function(){$(this).data("orderajax")||(activeSpinner("show"),$(this).siblings().each(function(e){$(this).removeClass("order-address-client-type-button-active"),$(this).children("i").removeClass("fa fa-check-square-o")}),$(this).addClass("order-address-client-type-button-active"),$(this).children("i").addClass("fa fa-check-square-o"),$.ajax({type:"POST",url:$(this).attr("data-url"),data:$("form").serialize(),success:function(e){$("#form").html(e),checkAddressDeliveryContent(),renderExtendedPaymentTime(),activeSpinner("show")}}))}),renderExtendedPaymentTime(),body.on("change",'#orderContent input[type="checkbox"][name="AddressDelivery"]',function(){$("#AddressDeliveryContent").slideToggle("slow"),$('input[type="checkbox"][name="AddressDelivery"]').is(":checked")||($("input[name='order[anotherAddressToSendInvoice][correspondenceName]']").val(""),$("input[name='order[anotherAddressToSendInvoice][correspondenceAddress]']").val(""),$("input[name='order[anotherAddressToSendInvoice][correspondenceCity]']").val(""),$("input[name='order[anotherAddressToSendInvoice][correspondencePostalcode]']").val(""))}),body.on("change",'#orderContent input[type="checkbox"][name="deliveryAddressProduct"]',function(){$('input[type="checkbox"][name="deliveryAddressProduct"]').is(":checked")?addressDeliveryContentSetRequired(!0):($("input[name='order[deliveryAddressProduct][deliveryAddressProductFirstName]']").val(""),$("input[name='order[deliveryAddressProduct][deliveryAddressProductLastName]']").val(""),$("input[name='order[deliveryAddressProduct][deliveryAddressProductCompanyName]']").val(""),$("input[name='order[deliveryAddressProduct][deliveryAddressProductAddress]']").val(""),$("input[name='order[deliveryAddressProduct][deliveryAddressProductCity]']").val(""),$("input[name='order[deliveryAddressProduct][deliveryAddressProductPostalCode]']").val(""),addressDeliveryContentSetRequired(!1))}),body.on("input keyup paste cut","#additional_phoneNumber_field",function(){$('input[name$="[person][phoneNumber]"]').val($(this).val())}),body.on("click","#address_form_submit_button",function(e){e.preventDefault();
1var e=$(this),t=$(".order-ajax-form-address-form"),i=$("input[name$='[phoneNumber]']"),n=$("#no_phone_number_confirmation"),a=$("#phone-required-text");e.hasClass("js-phone-confirmed")?t.submit():0<i.val().length?t.valid()&&t.submit():t.valid()&&(n.slideDown(),1===a.data("required")?(a.hide(),e.removeClass("btn-primary").addClass("btn-phone-number-confirm").html("Przechodzę dalej"),$("#no_phone_number_confirmation_info").hide(),$("#phone_required_for_delivery").show()):(e.removeClass("btn-primary").addClass("btn-phone-number-confirm").addClass("js-phone-confirmed").html("Tak, przechodzę dalej"),$("#no_phone_number_confirmation_info").show(),$("#phone_required_for_delivery").hide()))}),checkAddressDeliveryContent()}),$("body").on("change",'input[type="radio"][name="supraShippingType"]',function(){handlePaczkomatSection()}),$(document).ready(function(){initSidebar(),handleSidebar(),handleSidebarRegisterForm(),handleSidebarResendEmail(),handleSidebarLoginForm(),handleSidebarForgotPasswordForm(),handleSidebarForgotLoginForm(),handleSidebarResetPasswordForm(),handleSidebarNpwzForm()}),$(document).ready(function(){handleCheckboxUpselling()}),document.addEventListener("DOMContentLoaded",function(){handleWcagButtons()});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.