document.documentElement.className +=" js_active ", document.documentElement.className +="ontouchstart" in document.documentElement ? " vc_mobile ":" vc_desktop ", (()=> {
for (var e=["-webkit-", "-moz-", "-ms-", "-o-", ""], t=0; t < e.length; t++) e[t] + "transform" in document.documentElement.style&&(document.documentElement.className +=" vc_transform ")
})(), (c=> {
"function"!=typeof window.vc_js&&(window.vc_js=function(){
vc_rowBehaviour();
}), "function"!=typeof window.vc_plugin_flexslider&&(window.vc_plugin_flexslider=function(e){
(e ? e.find(".wpb_flexslider"):jQuery(".wpb_flexslider")).each(function(){
var e=jQuery(this),
t=1e3 * parseInt(e.attr("data-interval"), 10),
o=e.attr("data-flex_fx"),
i=0==t ? !1:!0;
e.is(":visible")&&setTimeout(function(){
e.flexslider({
animation: o,
slideshow: i,
slideshowSpeed: t,
sliderSpeed: 800,
smoothHeight: !0
})
}, 1)
})
}), "function"!=typeof window.vc_googleplus&&(window.vc_googleplus=function(){
var e, t;
0 < jQuery(".wpb_googleplus").length&&((e=document.createElement("script")).type="text/javascript", e.async = !0, e.src="https://apis.google.com/js/plusone.js", (t=document.getElementsByTagName("script")[0]).parentNode.insertBefore(e, t))
}), "function"!=typeof window.vc_pinterest&&(window.vc_pinterest=function(){
var e, t;
0 < jQuery(".wpb_pinterest").length&&((e=document.createElement("script")).type="text/javascript", e.async = !0, e.src="https://assets.pinterest.com/js/pinit.js", (t=document.getElementsByTagName("script")[0]).parentNode.insertBefore(e, t))
}), "function"!=typeof window.vc_progress_bar&&(window.vc_progress_bar=function(){
void 0!==jQuery.fn.vcwaypoint&&jQuery(".vc_progress_bar").each(function(){
var e=jQuery(this);
e.vcwaypoint(function(){
e.find(".vc_single_bar").each(function(e){
var t=jQuery(this).find(".vc_bar"),
o=t.data("percentage-value");
setTimeout(function(){
t.css({
width: o + "%"
})
}, 200 * e)
})
}, {
offset: "85%"
})
})
}), "function"!=typeof window.vc_waypoints&&(window.vc_waypoints=function(){
void 0!==jQuery.fn.vcwaypoint&&jQuery(".wpb_animate_when_almost_visible:not(.wpb_start_animation)").each(function(){
var e=jQuery(this);
e.vcwaypoint(function(){
e.addClass("wpb_start_animation animated")
}, {
offset: "85%"
})
})
}), "function"!=typeof window.vc_toggleBehaviour&&(window.vc_toggleBehaviour=function(e){
function t(e){
e&&e.preventDefault&&e.preventDefault();
var t=jQuery(this).closest(".vc_toggle"),
e=t.find(".vc_toggle_content");
t.hasClass("vc_toggle_active") ? e.slideUp({
duration: 300,
complete: function(){
t.removeClass("vc_toggle_active")
}}):e.slideDown({
duration: 300,
complete: function(){
t.addClass("vc_toggle_active")
}})
}(e ? e.hasClass("vc_toggle_title") ? e.unbind("click"):e.find(".vc_toggle_title").off("click"):jQuery(".vc_toggle_title").off("click")).on("click", t)
}), "function"!=typeof window.vc_ttaToggleBehaviour&&(window.vc_ttaToggleBehaviour=function(e){
function t(){
var e=jQuery(this);
e.toggleClass("wpb-tta-toggle-active"), e.parent().parent().parent().find(".vc_pagination-item").each(function(){
if(!c(this).hasClass("vc_active")) return c(this).find("a").click(), !1
})
}(e ? e.find(".wpb-tta-toggle"):jQuery(".wpb-tta-toggle")).off("click").on("click", t), setTimeout(function(){
jQuery(".wpb-tta-toggle").each(function(){
var e=jQuery(this);
e.parent().parent().parent().find(".vc_tta-panels-container .vc_pagination li:first").hasClass("vc_active")||e.addClass("wpb-tta-toggle-active")
})
}, 1e3)
}), "function"!=typeof window.vc_tabsBehaviour&&(window.vc_tabsBehaviour=function(e){
var t, i;
jQuery.ui&&(e=e||jQuery(".wpb_tabs, .wpb_tour"), t=jQuery.ui&&jQuery.ui.version ? jQuery.ui.version.split("."):"1.10", i=1===parseInt(t[0], 10)&&parseInt(t[1], 10) < 9, e.each(function(){
var e=jQuery(this).attr("data-interval"),
t=[],
o=jQuery(this).find(".wpb_tour_tabs_wrapper").tabs({
show: function(e, t){
wpb_prepare_tab_content(e, t)
},
activate: function(e, t){
wpb_prepare_tab_content(e, t)
}});
if(e&&0 < e) try {
o.tabs("rotate", 1e3 * e)
} catch (e){
window.console&&window.console.warn&&console.warn("tabs behaviours error", e)
}
jQuery(this).find(".wpb_tab").each(function(){
t.push(this.id)
}), jQuery(this).find(".wpb_tabs_nav li").on("click", function(e){
return e&&e.preventDefault&&e.preventDefault(), i ? o.tabs("select", jQuery("a", this).attr("href")):o.tabs("option", "active", jQuery(this).index()), !1
}), jQuery(this).find(".wpb_prev_slide a, .wpb_next_slide a").on("click", function(e){
var t;
e&&e.preventDefault&&e.preventDefault(), i ? (t=o.tabs("option", "selected"), jQuery(this).parent().hasClass("wpb_next_slide") ? t++:t--, t < 0 ? t=o.tabs("length") - 1:t >=o.tabs("length")&&(t=0), o.tabs("select", t)):(t=o.tabs("option", "active"), e=o.find(".wpb_tab").length, t=jQuery(this).parent().hasClass("wpb_next_slide") ? e <=t + 1 ? 0:t + 1:t - 1 < 0 ? e - 1:t - 1, o.tabs("option", "active", t))
})
}))
}), "function"!=typeof window.vc_accordionBehaviour&&(window.vc_accordionBehaviour=function(){
jQuery(".wpb_accordion").each(function(){
var e=jQuery(this),
t=(e.attr("data-interval"), !isNaN(jQuery(this).data("active-tab"))&&0 < parseInt(e.data("active-tab"), 10)&&parseInt(e.data("active-tab"), 10) - 1),
o = !1===t||"yes"===e.data("collapsible"),
t=e.find(".wpb_accordion_wrapper").accordion({
header: "> div > h3",
autoHeight: !1,
heightStyle: "content",
active: t,
collapsible: o,
navigation: !0,
activate: vc_accordionActivate,
change: function(e, t){
void 0!==jQuery.fn.isotope&&t.newContent.find(".isotope").isotope("layout"), vc_carouselBehaviour(t.newPanel)
}});
!0===e.data("vcDisableKeydown")&&(t.data("uiAccordion")._keydown=function(){})
})
}), "function"!=typeof window.vc_teaserGrid&&(window.vc_teaserGrid=function(){
var i={
fitrows: "fitRows",
masonry: "masonry"
};
jQuery(".wpb_grid .teaser_grid_container:not(.wpb_carousel), .wpb_filtered_grid .teaser_grid_container:not(.wpb_carousel)").each(function(){
var e=jQuery(this),
t=e.find(".wpb_thumbnails"),
o=t.attr("data-layout-mode");
t.isotope({
itemSelector: ".isotope-item",
layoutMode: void 0===i[o] ? "fitRows":i[o]
}), e.find(".categories_filter a").data("isotope", t).on("click", function(e){
e&&e.preventDefault&&e.preventDefault();
e=jQuery(this).data("isotope");
jQuery(this).parent().parent().find(".active").removeClass("active"), jQuery(this).parent().addClass("active"), e.isotope({
filter: jQuery(this).attr("data-filter")
})
}), jQuery(window).on("load resize", function(){
t.isotope("layout")
})
})
}), "function"!=typeof window.vc_carouselBehaviour&&(window.vc_carouselBehaviour=function(e){
(e ? e.find(".wpb_carousel"):jQuery(".wpb_carousel")).each(function(){
var e=jQuery(this);
!0!==e.data("carousel_enabled")&&e.is(":visible")&&(e.data("carousel_enabled", !0), getColumnsCount(jQuery(this)), jQuery(this).hasClass("columns_count_1"), (e=jQuery(this).find(".wpb_thumbnails-fluid li")).css({
"margin-right": e.css("margin-left"),
"margin-left": 0
}), (e=jQuery(this).find("ul.wpb_thumbnails-fluid")).width(e.width() + 300))
})
}), "function"!=typeof window.vc_slidersBehaviour&&(window.vc_slidersBehaviour=function(){
jQuery(".wpb_gallery_slides").each(function(){
var e, t, o=jQuery(this);
o.hasClass("wpb_slider_nivo") ? (0===(t=1e3 * o.attr("data-interval"))&&(t=9999999999), o.find(".nivoSlider").nivoSlider({
effect: "boxRainGrow,boxRain,boxRainReverse,boxRainGrowReverse",
slices: 15,
boxCols: 8,
boxRows: 4,
animSpeed: 800,
pauseTime: t,
startSlide: 0,
directionNav: !0,
directionNavHide: !0,
controlNav: !0,
keyboardNav: !1,
pauseOnHover: !0,
manualAdvance: !1,
prevText: "Prev",
nextText: "Next"
})):i.hasClass("wpb_image_grid")&&i.find(".wpb_image_grid_ul")&&i.find(".wpb_image_grid_ul").isotope&&(jQuery.fn.imagesLoaded ? e=i.find(".wpb_image_grid_ul").imagesLoaded(function(){
e.isotope({
itemSelector: ".isotope-item",
layoutMode: "fitRows"
})
}):o.find(".wpb_image_grid_ul").isotope({
itemSelector: ".isotope-item",
layoutMode: "fitRows"
}))
})
}), "function"!=typeof window.vc_prettyPhoto&&(window.vc_prettyPhoto=function(){
try {
jQuery&&jQuery.fn&&jQuery.fn.prettyPhoto&&jQuery('a.prettyphoto, .gallery-icon a[href*=".jpg"]').prettyPhoto({
animationSpeed: "normal",
hook: "data-rel",
padding: 15,
opacity: .7,
showTitle: !0,
allowresize: !0,
counter_separator_label: "/",
hideflash: !1,
deeplinking: !1,
modal: !1,
callback: function(){
-1 < location.href.indexOf("#!prettyPhoto")&&(location.hash="")
},
social_tools: ""
})
} catch (e){
window.console&&window.console.warn&&window.console.warn("vc_prettyPhoto initialize error", e)
}}), "function"!=typeof window.vc_google_fonts&&(window.vc_google_fonts=function(){
return window.console&&window.console.warn&&window.console.warn("function vc_google_fonts is deprecated, no need to use it"), !1
}), window.vcParallaxSkroll = !1, "function"!=typeof window.vc_rowBehaviour&&(window.vc_rowBehaviour=function(){
var s=window.jQuery;
function e(){
var e;
void 0!==window.wpb_disable_full_width_row_js&&window.wpb_disable_full_width_row_js||(e=s('[data-vc-full-width="true"]'), s.each(e, function(){
var e, t, o, i, n, a, r, c=s(this),
d=(c.addClass("vc_hidden"), c.next(".vc_row-full-width"));
(d=d.length ? d:c.parent().next(".vc_row-full-width")).length&&(e=parseInt(c.css("margin-left"), 10), t=parseInt(c.css("margin-right"), 10), o=0 - d.offset().left - e, i=s(window).width(), n={
position: "relative",
left: o="rtl"===c.css("direction") ? (o=o - d.width() + i) + e + t:o,
"box-sizing": "border-box",
width: i,
"max-width": i
}, c.css(n), c.data("vcStretchContent")||("rtl"===c.css("direction") ? ((a=o) < 0&&(a=0), (r=o) < 0&&(r=0)):(r=i - (a=(a=-1 * o) < 0 ? 0:a) - d.width() + e + t) < 0&&(r=0), c.css({
"padding-left": a + "px",
"padding-right": r + "px"
})), c.attr("data-vc-full-width-init", "true"), c.removeClass("vc_hidden"), s(document).trigger("vc-full-width-row-single", {
el: c,
offset: o,
marginLeft: e,
marginRight: t,
elFull: d,
width: i,
maxWidth: i
}))
}), s(document).trigger("vc-full-width-row", e))
}
function t(){
var e, t, o=s(".vc_row-o-full-height:first");
o.length&&(e=s(window).height(), (t=o.offset().top) < e)&&o.css("min-height", 100 - t / (e / 100) + "vh"), s(document).trigger("vc-full-height-row", o)
}
s(window).off("resize.vcRowBehaviour").on("resize.vcRowBehaviour", e).on("resize.vcRowBehaviour", t), e(), t(), (0 < window.navigator.userAgent.indexOf("MSIE ")||navigator.userAgent.match(/Trident.*rv\:11\./))&&s(".vc_row-o-full-height").each(function(){
"flex"===s(this).css("display")&&s(this).wrap('<div class="vc_ie-flexbox-fixer"></div>')
}), vc_initVideoBackgrounds();
var n = !1;
if(window.vcParallaxSkroll&&window.vcParallaxSkroll.destroy(), s(".vc_parallax-inner").remove(), s("[data-5p-top-bottom]").removeAttr("data-5p-top-bottom data-30p-top-bottom"), s("[data-vc-parallax]").each(function(){
var e, t, o, i;
n = !0, "on"===s(this).data("vcParallaxOFade")&&s(this).children().attr("data-5p-top-bottom", "opacity:0;").attr("data-30p-top-bottom", "opacity:1;"), e=100 * s(this).data("vcParallax"), (t=s("<div />").addClass("vc_parallax-inner").appendTo(s(this))).height(e + "%"), o=s(this).data("vcParallaxImage"), (i=vcExtractYoutubeId(o)) ? insertYoutubeVideoAsBackground(t, i):void 0!==o&&t.css("background-image", "url(" + o + ")"), t.attr("data-bottom-top", "top: " + -(e - 100) + "%;").attr("data-top-bottom", "top: 0%;")
}), n&&window.skrollr) window.vcParallaxSkroll=skrollr.init({
forceHeight: !1,
smoothScrolling: !1,
mobileCheck: function(){
return !1
}}), window.vcParallaxSkroll
}), "function"!=typeof window.vc_gridBehaviour&&(window.vc_gridBehaviour=function(){
jQuery.fn.vcGrid&&jQuery("[data-vc-grid]").vcGrid()
}), "function"!=typeof window.getColumnsCount&&(window.getColumnsCount=function(e){
for (var t = !1, o=1; !1===t;){
if(e.hasClass("columns_count_" + o)) return t = !0, o;
o++
}}), "function"!=typeof window.wpb_prepare_tab_content&&(window.wpb_prepare_tab_content=function(e, t){
var o=t.panel||t.newPanel,
i=o.find(".vc_pie_chart:not(.vc_ready)"),
n=o.find(".vc_round-chart"),
a=o.find(".vc_line-chart"),
r=o.find('[data-ride="vc_carousel"]');
vc_carouselBehaviour(), vc_plugin_flexslider(o), t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){
var e=jQuery(this).data("vcGrid");
e&&e.gridBuilder&&e.gridBuilder.setMasonry&&e.gridBuilder.setMasonry()
}), o.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&o.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){
var e=jQuery(this).data("vcGrid");
e&&e.gridBuilder&&e.gridBuilder.setMasonry&&e.gridBuilder.setMasonry()
}), i.length&&jQuery.fn.vcChat&&i.vcChat(), n.length&&jQuery.fn.vcRoundChart&&n.vcRoundChart({
reload: !1
}), a.length&&jQuery.fn.vcLineChart&&a.vcLineChart({
reload: !1
}), r.length&&jQuery.fn.carousel&&r.carousel("resizeAction"), t=o.find(".isotope, .wpb_image_grid_ul"), i=o.find(".wpb_gmaps_widget"), 0 < t.length&&t.isotope("layout"), i.length&&!i.is(".map_ready")&&((n=i.find("iframe")).attr("src", n.attr("src")), i.addClass("map_ready")), o.parents(".isotope").length&&o.parents(".isotope").each(function(){
jQuery(this).isotope("layout")
}), c(document).trigger("wpb_prepare_tab_content", o)
}), "function"!=typeof window.vc_ttaActivation&&(window.vc_ttaActivation=function(){
jQuery("[data-vc-accordion]").on("show.vc.accordion", function(e){
var t=window.jQuery,
o={};
o.newPanel=t(this).data("vc.accordion").getTarget(), window.wpb_prepare_tab_content(e, o)
})
}), "function"!=typeof window.vc_accordionActivate&&(window.vc_accordionActivate=function(e, t){
var o, i, n, a;
t.newPanel.length&&t.newHeader.length&&(o=t.newPanel.find(".vc_pie_chart:not(.vc_ready)"), i=t.newPanel.find(".vc_round-chart"), n=t.newPanel.find(".vc_line-chart"), a=t.newPanel.find('[data-ride="vc_carousel"]'), void 0!==jQuery.fn.isotope&&t.newPanel.find(".isotope, .wpb_image_grid_ul").isotope("layout"), t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){
var e=jQuery(this).data("vcGrid");
e&&e.gridBuilder&&e.gridBuilder.setMasonry&&e.gridBuilder.setMasonry()
}), vc_carouselBehaviour(t.newPanel), vc_plugin_flexslider(t.newPanel), o.length&&jQuery.fn.vcChat&&o.vcChat(), i.length&&jQuery.fn.vcRoundChart&&i.vcRoundChart({
reload: !1
}), n.length&&jQuery.fn.vcLineChart&&n.vcLineChart({
reload: !1
}), a.length&&jQuery.fn.carousel&&a.carousel("resizeAction"), t.newPanel.parents(".isotope").length)&&t.newPanel.parents(".isotope").each(function(){
jQuery(this).isotope("layout")
})
}), "function"!=typeof window.initVideoBackgrounds&&(window.initVideoBackgrounds=function(){
return window.console&&window.console.warn&&window.console.warn("this function is deprecated use vc_initVideoBackgrounds"), vc_initVideoBackgrounds()
}), "function"!=typeof window.vc_initVideoBackgrounds&&(window.vc_initVideoBackgrounds=function(){
c(".vc_video-bg").remove(), c("[data-vc-video-bg]").each(function(){
var e, o=jQuery(this);
o.data("vcVideoBg") ? (e=o.data("vcVideoBg"), (e=vcExtractYoutubeId(e))&&(o.find(".vc_video-bg").remove(), insertYoutubeVideoAsBackground(o, e)), jQuery(window).on("grid:items:added", function(e, t){
o.has(t).length&&vcResizeVideoBackground(o)
})):o.find(".vc_video-bg").remove()
})
}), "function"!=typeof window.insertYoutubeVideoAsBackground&&(window.insertYoutubeVideoAsBackground=function(e, t, o){
if("undefined"==typeof YT||void 0===YT.Player) return 100 < (o=void 0===o ? 0:o) ? void console.warn("Too many attempts to load YouTube api"):void setTimeout(function(){
insertYoutubeVideoAsBackground(e, t, o++)
}, 100);
var i=e.prepend('<div class="vc_video-bg"><div class="inner"></div></div>').find(".inner");
new YT.Player(i[0], {
width: "100%",
height: "100%",
videoId: t,
playerVars: {
playlist: t,
iv_load_policy: 3,
enablejsapi: 1,
disablekb: 1,
autoplay: 1,
controls: 0,
showinfo: 0,
rel: 0,
loop: 1,
mute: 1,
wmode: "transparent"
},
events: {
onReady: function(e){
e.target.mute().setLoop(!0)
}}
}), vcResizeVideoBackground(e), jQuery(window).on("resize", function(){
vcResizeVideoBackground(e)
})
}), "function"!=typeof window.vcResizeVideoBackground&&(window.vcResizeVideoBackground=function(e){
var t, o, i, n, a=e.innerWidth(),
r=e.innerHeight();
a / r < 16 / 9 ? (t=r * (16 / 9), o=r, i=-Math.round((t - a) / 2) + "px", n=-Math.round((o - r) / 2) + "px"):(o=(t=a) * (9 / 16), n=-Math.round((o - r) / 2) + "px", i=-Math.round((t - a) / 2) + "px"), t +="px", o +="px", e.find(".vc_video-bg iframe").css({
maxWidth: "1000%",
marginLeft: i,
marginTop: n,
width: t,
height: o
})
}), "function"!=typeof window.vcExtractYoutubeId&&(window.vcExtractYoutubeId=function(e){
return void 0!==e&&null!==(e=e.match(/(?:https?:\/{2})?(?:w{3}\.)?youtu(?:be)?\.(?:com|be)(?:\/watch\?v=|\/)([^\s&]+)/))&&e[1]
}), "function"!=typeof window.vc_googleMapsPointer&&(window.vc_googleMapsPointer=function(){
var e=window.jQuery,
t=e(".wpb_gmaps_widget");
t.on("click", function(){
e("iframe", this).css("pointer-events", "auto")
}), t.on("mouseleave", function(){
e("iframe", this).css("pointer-events", "none")
}), e(".wpb_gmaps_widget iframe").css("pointer-events", "none")
}), "function"!=typeof window.vc_setHoverBoxPerspective&&(window.vc_setHoverBoxPerspective=function(e){
e.each(function(){
var e=jQuery(this),
t=e.width();
e.css("perspective", 4 * t + "px")
})
}), "function"!=typeof window.vc_setHoverBoxHeight&&(window.vc_setHoverBoxHeight=function(e){
e.each(function(){
var e=jQuery(this),
t=e.find(".vc-hoverbox-inner"),
o=(t.css("min-height", 0), e.find(".vc-hoverbox-front-inner").outerHeight()),
e=e.find(".vc-hoverbox-back-inner").outerHeight(),
o=e < o ? o:e;
t.css("min-height", (o=o < 250 ? 250:o) + "px")
})
}), "function"!=typeof window.vc_prepareHoverBox&&(window.vc_prepareHoverBox=function(){
var e=jQuery(".vc-hoverbox");
vc_setHoverBoxHeight(e), vc_setHoverBoxPerspective(e)
}), jQuery(document).ready(window.vc_prepareHoverBox), jQuery(window).on("resize", window.vc_prepareHoverBox), jQuery(document).ready(function(){
window.vc_js()
})
})(window.jQuery);