var logo_height,content_menu_position,content_menu_top,src,next_image,prev_image,$top_header_height,paspartu_width,paspartu_width_init,sticky_animate,current_scroll,$scrollHeight,$j=jQuery.noConflict(),common=(window.qode={},qode.modules={},{}),$scroll=(qode.modules.common=common,0),qode_body=$j("body"),qode_document=$j("document"),qode_window=$j(window),$window_width=$j(window).width(),$window_height=(qode.windowWidth=$window_width,$j(window).height()),menu_dropdown_height_set=(qode.windowHeight=$window_height,!1),sticky_amount=0,qode_grid_width=1100,content_menu_top_add=0,min_w=1500,video_width_original=1280,video_height_original=720,vid_ratio=1280/720;function getScrollAmountForStickyHeader(){return amount=void 0!==qodeGlobalVars.vars.page_scroll_amount_for_sticky&&""!==qodeGlobalVars.vars.page_scroll_amount_for_sticky?qodeGlobalVars.vars.page_scroll_amount_for_sticky:$j(".carousel.full_screen").length?$j(".carousel").height():scroll_amount_for_sticky}function qodeBrowserDetection(){var e=/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor),t=/Safari/.test(navigator.userAgent)&&/Apple Computer/.test(navigator.vendor),o=-1<navigator.userAgent.toLowerCase().indexOf("firefox"),n=window.navigator.userAgent.indexOf("MSIE ");e&&qode_body.addClass("qode-chrome"),t&&qode_body.addClass("qode-safari"),o&&qode_body.addClass("qode-firefox"),(0<n||navigator.userAgent.match(/Trident.*rv\:11\./))&&qode_body.addClass("qode-ms-explorer"),/Edge\/\d./i.test(navigator.userAgent)&&qode_body.addClass("qode-edge")}function headerSize(e){$j("header.page_header").hasClass("scroll_top")&&$j("header.page_header").hasClass("has_top")&&($j("header.page_header").hasClass("fixed")||$j("header.page_header").hasClass("fixed_hiding"))&&(0<=e&&e<=34?($j("header.page_header").css("top",-e),$j("header.page_header").css("margin-top",0),$j(".header_top").show()):34<e&&($j("header.page_header").css("top","-34px"),$j("header.page_header").css("margin-top",34),$j(".header_top").hide())),sticky_amount=getScrollAmountForStickyHeader(),$j("header").hasClass("regular")&&(10<=header_height-logo_height?$j(".q_logo a").height(logo_height):$j(".q_logo a").height(header_height-10),$j(".q_logo a img").css("height","100%")),$j("header.page_header").hasClass("fixed")&&($top_header_height=$j("header.page_header").hasClass("scroll_top")?34:0,header_height-e+$top_header_height>=min_header_height_scroll&&$top_header_height<=e?($j("header.page_header").removeClass("scrolled"),$j("header:not(.centered_logo.centered_logo_animate) nav.main_menu > ul > li > a").css("line-height",header_height-e+$top_header_height+"px"),$j("header:not(.centered_logo.centered_logo_animate) .side_menu_button").css("height",header_height-e+$top_header_height+"px"),$j("header:not(.centered_logo.centered_logo_animate) .shopping_cart_inner").css("height",header_height-e+$top_header_height+"px"),$j("header:not(.centered_logo.centered_logo_animate) .header_bottom .qode-login-register-widget.qode-user-logged-in .qode-logged-in-user").css("height",header_height-e+$top_header_height+"px"),$j("header:not(.centered_logo.centered_logo_animate) .logo_wrapper").css("height",header_height-e+$top_header_height+"px"),0<header_height-logo_height?$j("header:not(.centered_logo.centered_logo_animate) .q_logo a").css("height",logo_height+"px"):$j("header:not(.centered_logo.centered_logo_animate) .q_logo a").css("height",header_height-e+$top_header_height-10+"px")):e<$top_header_height?($j("header.page_header").removeClass("scrolled"),$j("header:not(.centered_logo.centered_logo_animate) nav.main_menu > ul > li > a").css("line-height",header_height+"px"),$j("header:not(.centered_logo.centered_logo_animate) .side_menu_button").css("height",header_height+"px"),$j("header:not(.centered_logo.centered_logo_animate) .shopping_cart_inner").css("height",header_height+"px"),$j("header:not(.centered_logo.centered_logo_animate) .header_bottom .qode-login-register-widget.qode-user-logged-in .qode-logged-in-user").css("height",header_height+"px"),$j("header:not(.centered_logo.centered_logo_animate) .logo_wrapper").css("height",header_height+"px"),0<header_height-logo_height?$j("header:not(.centered_logo.centered_logo_animate) .q_logo a").css("height",logo_height+"px"):$j("header:not(.centered_logo.centered_logo_animate) .q_logo a").css("height",header_height-10+"px")):header_height-e+$top_header_height<min_header_height_scroll&&($j("header.page_header").addClass("scrolled"),$j("header:not(.centered_logo.centered_logo_animate) nav.main_menu > ul > li > a").css("line-height",min_header_height_scroll+"px"),$j("header:not(.centered_logo.centered_logo_animate) .side_menu_button").css("height",min_header_height_scroll+"px"),$j("header:not(.centered_logo.centered_logo_animate) .shopping_cart_inner").css("height",min_header_height_scroll+"px"),$j("header:not(.centered_logo.centered_logo_animate) .header_bottom .qode-login-register-widget.qode-user-logged-in .qode-logged-in-user").css("height",min_header_height_scroll+"px"),$j("header:not(.centered_logo.centered_logo_animate) .logo_wrapper").css("height",min_header_height_scroll+"px"),0<min_header_height_scroll-logo_height?$j("header:not(.centered_logo.centered_logo_animate) .q_logo a").css("height",logo_height+"px"):$j("header:not(.centered_logo.centered_logo_animate) .q_logo a").css("height",min_header_height_scroll-10+"px")),$j("header.page_header").hasClass("centered_logo")&&$j("header.page_header").hasClass("centered_logo_animate")?header_height-e+$top_header_height<logo_height&&header_height-e+$top_header_height>=min_header_height_scroll&&logo_height>min_header_height_scroll-10&&$top_header_height<=e?$j(".q_logo a").height(header_height-e+$top_header_height-10):header_height-e+$top_header_height<logo_height&&header_height-e+$top_header_height>=min_header_height_scroll&&logo_height>min_header_height_scroll-10&&e<$top_header_height?$j(".q_logo a").height(header_height-10):header_height-e+$top_header_height<logo_height&&header_height-e+$top_header_height<min_header_height_scroll&&logo_height>min_header_height_scroll-10?$j(".q_logo a").height(min_header_height_scroll-10):(header_height-e+$top_header_height<logo_height&&header_height-e+$top_header_height<min_header_height_scroll&&logo_height<min_header_height_scroll-10||e+$top_header_height===0&&header_height,$j(".q_logo a").height(logo_height)):$j("header.page_header").hasClass("centered_logo")?($j(".q_logo a").height(logo_height),$j(".q_logo img").height("auto")):$j(".q_logo img").height("100%"),setLeftPostionedMenuPadding()),$j("header.page_header").hasClass("fixed_hiding")&&(e<scroll_amount_for_fixed_hiding?$j("header.page_header").removeClass("scrolled"):$j("header.page_header").addClass("scrolled"),$j(".q_logo a").height(logo_height/2),$j(".q_logo img").height("100%")),($j("header.page_header").hasClass("stick")||$j("header.page_header").hasClass("stick_with_left_right_menu"))&&(sticky_amount<e?($j("header.page_header").hasClass("sticky")||($top_header_height=$j("header.page_header").hasClass("has_top")?34:0,e=$j("header.page_header").hasClass("centered_logo")?$j("header.page_header").height():header_height+$top_header_height,$j("header.page_header").hasClass("menu_bottom")&&(e=header_height+60),$j("header.page_header").addClass("sticky"),$j(".content").css("padding-top",e),window.clearTimeout(sticky_animate),sticky_animate=window.setTimeout(function(){$j("header.page_header").addClass("sticky_animate")},100),10<=min_header_height_sticky-logo_height?$j(".q_logo a").height(logo_height):$j(".q_logo a").height(min_header_height_sticky-10),$j("header.page_header").hasClass("menu_bottom")&&initDropDownMenu()),10<=min_header_height_sticky-logo_height?$j(".q_logo a").height(logo_height):$j(".q_logo a").height(min_header_height_sticky-10)):($j("header.page_header").hasClass("sticky")&&($j("header").removeClass("sticky_animate"),$j("header").removeClass("sticky"),$j(".content").css("padding-top","0px"),$j("header.page_header").hasClass("menu_bottom"))&&initDropDownMenu(),setMargingsForLeftAndRightMenu(),$j("header.page_header").hasClass("centered_logo")?($j(".q_logo a").height(logo_height),$j(".q_logo img").height("auto")):10<=header_height-logo_height?$j(".q_logo a").height(logo_height):$j(".q_logo a").height(header_height-10),$j(".q_logo a img").css("height","100%")),setLeftPostionedMenuPadding())}function qodeMobileHeaderBehavior(){var t,o,n,i,a;$j("header").hasClass("sticky_mobile")&&((t=$j(".page_header")).find(".mobile_menu_button"),o=t.outerHeight(),n=$j("#wpadminbar").length?$j("#wpadminbar").height():0,i=o,a=$scroll,qode_window.on("scroll resize",function(){var e;t.find(".header_inner").css("padding-top",0),$window_width<1e3&&(i<(e=$scroll)?(t.addClass("qode-animate-mobile-header"),$j(".content").css("padding-top",o)):(t.removeClass("qode-animate-mobile-header"),$j(".content").css("padding-top",0)),a<e&&i<=e||e<=i?(t.removeClass("mobile-header-appear"),t.find(".header_inner").css("padding-top",0)):(t.addClass("mobile-header-appear"),t.find(".header_inner").css("padding-top",n)),a=$scroll)}))}function setMargingsForLeftAndRightMenu(){var e;$j("header.page_header").hasClass("stick_with_left_right_menu")&&!$j("header.page_header").hasClass("left_right_margin_set")&&(e=$j(".q_logo a img").width()/2,0==$scroll&&0!=e&&$j("header.page_header").addClass("left_right_margin_set"),$j(".logo_wrapper").width(2*e),$j("nav.main_menu.left_side > ul > li:last-child").css("margin-right",e),$j("nav.main_menu.right_side > ul > li:first-child").css("margin-left",e),$j(".rtl nav.main_menu.left_side > ul > li:first-child").css("margin-right",e),$j(".rtl nav.main_menu.left_side > ul > li:last-child").css("margin-right",0),$j(".rtl nav.main_menu.right_side > ul > li:last-child").css("margin-left",e),$j(".rtl nav.main_menu.right_side > ul > li:first-child").css("margin-left",0))}function setLeftPostionedMenuPadding(){var e,t=$j("header:not(.centered_logo) nav.main_menu");t.length&&t.hasClass("left")&&(e=$j(".q_logo a img").filter(function(){return"1"==$j(this).css("opacity")}),t.css("left",e.width()))}function logoSizeOnSmallScreens(){80<logo_height?$j(".q_logo a").height(80):$j(".q_logo a").height(logo_height),$j(".q_logo a img").css("height","100%"),$j("header.page_header").removeClass("sticky_animate sticky"),$j(".content").css("padding-top","0px")}function contentMinHeight(){var e;($j("header .header_bottom").length||$j("header .bottom_header").length)&&($j("header .header_bottom").length&&(e=$j("header .header_bottom").css("background-color")),e=null!=(e=$j("header .bottom_header").length?$j("header .bottom_header").css("background-color"):e).substring(e.indexOf("(")+1,e.lastIndexOf(")")).split(/,\s*/)[3]||$j("header.page_header").hasClass("transparent")?0:$j("header.page_header").height(),$j("body .content").css("min-height",$window_height-e-$j("footer:not(.uncover)").height()))}function contentMinHeightWithPaspartu(){var e,t,o,n,i;$j(".paspartu_enabled").length&&(e=0,n=$window_width*paspartu_width,t=$j("footer").height(),$j(".disable_footer").length&&(t=0),$j(".vertical_menu_enabled").length?$j(".paspartu_top").length&&$j(".paspartu_middle_inner").length&&(e+=n):$j(".paspartu_top").length&&(e+=n),!$j(".paspartu_bottom").length&&$j(".disable_bottom_paspartu").length||(e+=n),i=$j(".vertical_menu_enabled").length?$window_height-e-t:($j("header .header_bottom").length&&(i=$j("header .header_bottom").css("background-color")),n=null!=(o=void 0!==(i=$j("header .bottom_header").length?$j("header .bottom_header").css("background-color"):i)?i.substring(i.indexOf("(")+1,i.lastIndexOf(")")).split(/,\s*/)[3]:o)||$j("header.page_header").hasClass("transparent")?0:$j("header.page_header").height(),$window_height-n-e-t),$j(".content").length)&&$j(".content").css("min-height",i)}function initSideMenu(){$j("body").hasClass("side_area_uncovered_from_content")&&$j(".side_menu_button_wrapper a.side_menu_button_link,  a.close_side_menu").on("click",function(e){var t;e.preventDefault(),$j(".side_menu").css({right:"0"}),$j(".side_menu_button_wrapper a.side_menu_button_link").hasClass("opened")?($j(".side_menu_button_wrapper a.side_menu_button_link").removeClass("opened"),$j("body").removeClass("right_side_menu_opened"),t=setTimeout(function(){$j(".side_menu").css({visibility:"hidden"}),clearTimeout(t)},400)):($j(".side_menu").css({visibility:"visible"}),$j(this).addClass("opened"),$j("body").addClass("right_side_menu_opened"),current_scroll=$j(window).scrollTop(),$j(window).scroll(function(){var e;400<Math.abs($scroll-current_scroll)&&($j("body").removeClass("right_side_menu_opened"),$j(".side_menu_button_wrapper a").removeClass("opened"),e=setTimeout(function(){$j(".side_menu").css({visibility:"hidden"}),clearTimeout(e)},400))}))}),$j("body").hasClass("side_menu_slide_with_content")&&$j(".side_menu_button_wrapper a.side_menu_button_link, a.close_side_menu").on("click",function(e){e.preventDefault(),$j(".side_menu_button_wrapper a.side_menu_button_link").hasClass("opened")?($j("body").removeClass("side_menu_open"),$j(".side_menu_button_wrapper a.side_menu_button_link").removeClass("opened"),$j("body").removeClass("side_menu_open")):($j(this).addClass("opened"),$j("body").addClass("side_menu_open"),current_scroll=$j(window).scrollTop(),$j(window).scroll(function(){400<Math.abs($scroll-current_scroll)&&($j("body").removeClass("side_menu_open"),$j(".side_menu_button_wrapper a").removeClass("opened"))})),e.stopPropagation(),$j(".wrapper").on("click",function(){e.preventDefault(),$j("body").removeClass("side_menu_open"),$j(".side_menu_button_wrapper a.side_menu_button_link").removeClass("opened"),$j("body").removeClass("side_menu_open")})}),$j("body").hasClass("side_menu_slide_from_right")&&($j(".wrapper").prepend('<div class="cover"/>'),$j(".side_menu_button_wrapper a.side_menu_button_link, a.close_side_menu").on("click",function(e){e.preventDefault(),$j(".side_menu_button_wrapper a.side_menu_button_link").hasClass("opened")?($j(".side_menu_button_wrapper a.side_menu_button_link").removeClass("opened"),$j("body").removeClass("right_side_menu_opened")):($j(this).addClass("opened"),$j("body").addClass("right_side_menu_opened"),$j(" .wrapper .cover").on("click",function(){$j(".side_menu_button_wrapper a.side_menu_button_link").removeClass("opened"),$j("body").removeClass("right_side_menu_opened"),$j(".side_menu_button_wrapper a").removeClass("opened")}),current_scroll=$j(window).scrollTop(),$j(window).scroll(function(){400<Math.abs($scroll-current_scroll)&&($j("body").removeClass("right_side_menu_opened"),$j(".side_menu_button_wrapper a").removeClass("opened"))}))}))}function setDropDownMenuPosition(){var d=$j(".drop_down > ul > li.narrow");d.each(function(e){var t,o=$j(window).width()-16;switch(!0){case qode_body.hasClass("qode_grid_1300"):t=1350;break;case qode_body.hasClass("qode_grid_1200"):t=1250;break;default:t=1150}var n,i=$j(d[e]).offset().left,a=$j(d[e]).find(".second .inner ul").width(),r=0,r=$j("body").hasClass("boxed")?t-(i-(o-t)/2)+17:o-i+17;0<$j(d[e]).find("li.sub").length&&(n=r-a),(r<a||n<a)&&($j(d[e]).find(".second").addClass("right"),$j(d[e]).find(".second .inner ul").addClass("right"))})}function initDropDownMenu(){var l=$j(".drop_down > ul > li");l.each(function(e){var t,o,n,i,a,r,d,s;0<$j(l[e]).find(".second").length&&($j(l[e]).hasClass("wide")&&(o=(t=$j(this)).find(".inner > ul"),n=parseInt(o.css("padding-left").slice(0,-2))+parseInt(o.css("padding-right").slice(0,-2)),s=(i=t.find(".second > .inner > ul > li")).length,t.hasClass("left_position")||t.hasClass("right_position")||t.find(".second").css("left",0),a=0,i.each(function(){var e=$j(this).height();a<e&&(a=e)}),i.height(a),t.hasClass("full_width_wide_menu")?i.css("width",100/s+"%"):(r=(s=4<s?4:s)*i.outerWidth(),o.width(r)),t.hasClass("wide_background")?t.hasClass("left_position")||t.hasClass("right_position")||(d=t.find(".second").offset().left,t.find(".second").css("left",-d),t.find(".second").css("width",$j(window).width())):t.hasClass("left_position")||t.hasClass("right_position")||(d=($j(window).width()-2*($j(window).width()-$j(this).find(".second").offset().left))/2+(r+n)/2,t.find(".second").css("left",-d))),menu_dropdown_height_set||($j(l[e]).data("original_height",$j(l[e]).find(".second").height()+"px"),$j(l[e]).find(".second").height(0)),navigator.userAgent.match(/(iPod|iPhone|iPad)/)?$j(l[e]).on("touchstart mouseenter",function(){$j(l[e]).find(".second").css({height:$j(l[e]).data("original_height"),overflow:"visible",visibility:"visible",opacity:"1"})}).on("mouseleave",function(){$j(l[e]).find(".second").css({height:"0px",overflow:"hidden",visivility:"hidden",opacity:"0"})}):(s={interval:0,over:function(){setTimeout(function(){$j(l[e]).find(".second").addClass("drop_down_start"),$j(l[e]).find(".second").stop().css({height:$j(l[e]).data("original_height")})},150)},timeout:150,out:function(){$j(l[e]).find(".second").stop().css({height:"0px"}),$j(l[e]).find(".second").removeClass("drop_down_start")}},$j(l[e]).hoverIntent(s)))}),$j(".drop_down ul li.wide ul li a, .drop_down ul li.narrow ul li a").on("click",function(){var e=$j(this);e.next("ul").length||"http://#"===e.attr("href")||"#"===e.attr("href")||e.hasClass("no_link")||setTimeout(function(){e.mouseleave()},500)}),menu_dropdown_height_set=!0}function initVerticalMenu(){var o,n;$j(".no-touchevents .vertical_menu_toggle").length?(o=$j(".no-touchevents .vertical_menu_toggle > ul > li"),n=$j(".no-touchevents .vertical_menu_toggle ul li ul li"),o.each(function(e){var t;$j(o[e]).hasClass("has_sub")&&(t=$j(o[e]).find(".inner > ul > li").length,$j(o[e]).hoverIntent({over:function(){$j(o[e]).addClass("open"),$j(o[e]).find(".second").slideDown(40*t,"easeInOutSine",function(){$j(".vertical_menu_area.with_scroll").getNiceScroll().resize()})},out:function(){$j(o[e]).removeClass("open"),$j(o[e]).find(".second").slideUp(40*t,"easeInOutSine")},timeout:1e3}))}),n.each(function(e){var t;$j(n[e]).hasClass("menu-item-has-children")&&(t=$j(n[e]).find("ul > li").length,$j(n[e]).hoverIntent({over:function(){$j(n[e]).addClass("open"),$j(n[e]).find("ul").slideDown(40*t,"easeInOutSine",function(){$j(".vertical_menu_area.with_scroll").getNiceScroll().resize()})},out:function(){$j(n[e]).removeClass("open"),$j(n[e]).find("ul").slideUp(40*t,"easeInOutSine")},timeout:1e3}))})):$j(".vertical_menu_on_click").length?(o=$j(".vertical_menu_on_click > ul > li > a"),n=$j(".vertical_menu_on_click ul li ul li a"),o.each(function(e){$j(o[e]).parent().hasClass("has_sub")&&$j(o[e]).on("tap click",function(e){return e.preventDefault(),$j(this).parent().hasClass("open")?($j(this).parent().removeClass("open"),$j(this).parent().find(".second").slideUp("fast",function(){$j(".vertical_menu_area.with_scroll").getNiceScroll().resize()})):($j(".vertical_menu_on_click > ul > li").removeClass("open"),$j(".vertical_menu_on_click > ul > li").find(".second").slideUp("fast"),$j(this).parent().addClass("open"),$j(this).parent().find(".second").slideDown("slow",function(){$j(".vertical_menu_area.with_scroll").getNiceScroll().resize()})),!1})}),n.each(function(e){$j(n[e]).parent().hasClass("menu-item-has-children")&&$j(n[e]).on("tap click",function(e){return e.preventDefault(),$j(this).parent().hasClass("open")?($j(this).parent().removeClass("open"),$j(this).parent().find("ul").slideUp("fast",function(){$j(".vertical_menu_area.with_scroll").getNiceScroll().resize()})):($j(".vertical_menu_on_click ul li ul li").removeClass("open"),$j(".vertical_menu_on_click ul li ul li").find("ul").slideUp("fast"),$j(this).parent().addClass("open"),$j(this).parent().find("ul").slideDown("slow",function(){$j(".vertical_menu_area.with_scroll").getNiceScroll().resize()})),!1})})):$j(".no-touchevents .vertical_menu_float").length&&(o=$j(".no-touchevents .vertical_menu_float > ul > li"),n=$j(".no-touchevents .vertical_menu_float ul li ul li"),o.each(function(e){$j(o[e]).hasClass("has_sub")&&$j(o[e]).hoverIntent({over:function(){$j(o[e]).addClass("open"),$j(o[e]).find(".second").addClass("vertical_menu_start")},out:function(){$j(o[e]).removeClass("open"),$j(o[e]).find(".second").removeClass("vertical_menu_start")},timeout:300})}),n.each(function(e){$j(n[e]).hasClass("menu-item-has-children")&&($j(n[e]).find("ul > li").length,$j(n[e]).hoverIntent({over:function(){$j(n[e]).addClass("open"),$j(n[e]).find("ul").addClass("vertical_submenu_start")},out:function(){$j(n[e]).removeClass("open"),$j(n[e]).find("ul").removeClass("vertical_submenu_start")},timeout:300}))}))}function initVerticalMobileMenu(){$j(".vertical_menu_toggle").length?($j(".touchevents .vertical_menu_toggle > ul > li.has_sub > a .plus").on("tap click",function(e){e.stopPropagation(),e.preventDefault(),$j(this).parent().next("div.second").is(":visible")?($j(this).parents(".touchevents .vertical_menu_toggle > ul > li.has_sub").removeClass("open"),$j(this).parent().next("div.second").slideUp(200)):($j(this).parents(".touchevents .vertical_menu_toggle > ul > li.has_sub").addClass("open"),$j(this).parent().next("div.second").slideDown(200))}),$j(".touchevents .vertical_menu_toggle ul li ul li > a .plus").on("tap click",function(e){e.stopPropagation(),e.preventDefault(),$j(this).parent().next("ul").is(":visible")?($j(this).parents(".touchevents .vertical_menu_toggle ul li ul li").removeClass("open"),$j(this).parent().next("ul").slideUp(200)):($j(this).parents(".touchevents .vertical_menu_toggle ul li ul li").addClass("open"),$j(this).parent().next("ul").slideDown(200))})):$j(".vertical_menu_float").length&&($j(".touchevents .vertical_menu_float > ul > li.has_sub > a .plus").on("tap click",function(e){e.stopPropagation(),e.preventDefault(),$j(this).parent().next("div.second").hasClass("vertical_menu_start")?($j(this).parents(".touchevents .vertical_menu_float > ul > li.has_sub").removeClass("open"),$j(this).parents(".touchevents .vertical_menu_float > ul > li.has_sub").find(".second").removeClass("vertical_menu_start")):($j(this).parents(".touchevents .vertical_menu_float > ul > li.has_sub").addClass("open"),$j(this).parents(".touchevents .vertical_menu_float > ul > li.has_sub").find(".second").addClass("vertical_menu_start"))}),$j(".touchevents .vertical_menu_float ul li ul li > a .plus").on("tap click",function(e){e.stopPropagation(),e.preventDefault(),$j(this).parent().next("ul").hasClass("vertical_submenu_start")?($j(this).parents(".touchevents .vertical_menu_float ul li ul li").removeClass("open"),$j(this).parents(".touchevents .vertical_menu_float ul li ul li").find("ul").removeClass("vertical_submenu_start")):($j(this).parents(".touchevents .vertical_menu_float ul li ul li").addClass("open"),$j(this).parents(".touchevents .vertical_menu_float ul li ul li").find("ul").addClass("vertical_submenu_start"))}))}function checkVerticalMenuTransparency(){0!==$scroll?$j("body.vertical_menu_transparency").removeClass("vertical_menu_transparency_on"):$j("body.vertical_menu_transparency").addClass("vertical_menu_transparency_on")}function showHideVerticalMenu(){var t,o,n;$j(".vertical_menu_hidden").length&&(t=$j("aside.vertical_menu_area"),o=$j(".vertical_menu_area_bottom_logo"),n=!0,$j(".vertical_menu_hidden_button").on("click",function(e){e.preventDefault(),n?(n=!1,current_scroll=$j(window).scrollTop(),t.addClass("active"),o.addClass("active")):(n=!0,t.removeClass("active"),o.removeClass("active"))}),$j(window).scroll(function(){400<Math.abs($scroll-current_scroll)&&(n=!0,t.removeClass("active"),o.removeClass("active"))}),function(){var o;function e(){this.objects=[]}e.name="Outclick",e.prototype.check=function(e,t){return!e.is(t.target)&&0===e.has(t.target).length},e.prototype.trigger=function(o){var n=this,i=!1;return $j.each(this.objects,function(e,t){if(n.check(t.container,o)&&(t.related.length<1?i=!0:$j.each(t.related,function(e,t){return i=!!n.check(t,o)}),i))return t.callback.call(t.container)})},o=new e,$j.fn.outclick=function(e){var t=this;return(e=null==e?{}:e).related||(e.related=[]),e.callback||(e.callback=function(){return t.hide()}),o.objects.push({container:this,related:e.related,callback:e.callback})},$j(document).mouseup(function(e){return o.trigger(e)})}.call(this),$j(t).outclick({callback:function(){n=!0,t.removeClass("active"),o.removeClass("active")}}))}function initListAnimation(){0<$j(".animate_list").length&&0===$j(".no_animation_on_touch").length&&$j(".animate_list").each(function(){$j(this).appear(function(){$j(this).find("li").each(function(e){var t=$j(this);setTimeout(function(){t.animate({opacity:1,top:0},1500)},100*e)})},{accX:0,accY:-200})})}function qodeGridWidth(){var e=qode_body.attr("class");e.match(/grid[\w-]*\b/)&&(gridClass=e.match(/grid[\w-]*\b/).toString(),qode_grid_width=parseInt(gridClass.substr(5)))}function initServiceAnimation(){0<$j(".fade_in_circle_holder").length&&0===$j(".no_animation_on_touch").length&&$j(".fade_in_circle_holder").each(function(){$j(this).appear(function(){$j(this).addClass("animate_circle")},{accX:0,accY:-200})})}function checkTitleToShowOrHide(){var e;$j(".title_outer.animate_title_area").length&&(e=$j(".title_outer").data("height"),$scroll>$j(".title").height())&&$j(".title_outer").css({height:e,opacity:"1",overflow:"visible"})}function initTitleAreaAnimation(){var e;$j(".title_outer.animate_title_area").length&&(e=$j(".title_outer").data("height"),$j(".title_outer").hasClass("with_image")&&(e=$j(".image.responsive").height()),$scroll<$j(".title").height())&&$j(".title_outer").animate({height:e,opacity:1},500,function(){$j(this).css({overflow:"visible"}),initPortfolioSingleInfo(),0<$j("nav.content_menu").length&&(content_menu_position=$j("nav.content_menu").offset().top,contentMenuPosition())})}function initParallaxTitle(){var t,o;0<$j(".title").length&&0===$j(".touchevents").length&&($j(".title.has_fixed_background").length&&(t=parseInt($j(".title.has_fixed_background").css("background-size").match(/\d+/)),o=$j(".title.has_fixed_background").height()/1e4*7,$j(".title.has_fixed_background").offset().top,$j(".title.has_fixed_background").css({"background-position":"center "+(0+add_for_admin_bar)+"px"}),$j(".title.has_fixed_background").hasClass("zoom_out"))&&$j(".title.has_fixed_background").css({"background-size":t-$scroll+"px auto"}),$j(window).on("scroll",function(){var e;$j(".title.has_fixed_background").length&&(e=-($scroll-$j(".title.has_fixed_background").offset().top)*o,$j(".title.has_fixed_background").css({"background-position":"center "+(e+add_for_admin_bar)+"px"}),$j(".title.has_fixed_background").hasClass("zoom_out"))&&$j(".title.has_fixed_background").css({"background-size":t-$scroll+"px auto"})}))}function initParallax(){$j(".parallax_section_holder").length&&$j(".parallax_section_holder").each(function(){var e=$j(this),t=(e.hasClass("qode_full_screen_height_parallax")&&e.height($window_height),.4*e.data("speed"));e.parallax("50%",t)})}function initSideAreaScroll(){$j(".side_menu").length&&"object"==typeof qode.modules.niceScroll&&qode.modules.niceScroll.initNiceScroll($j(".side_menu"))}function initVerticalAreaMenuScroll(){$j(".vertical_menu_area.with_scroll").length&&"object"==typeof qode.modules.niceScroll&&qode.modules.niceScroll.initNiceScroll($j(".vertical_menu_area.with_scroll"))}function prettyPhoto(){$j("a[data-rel]").each(function(){$j(this).attr("rel",$j(this).data("rel"))}),$j("a[rel^='prettyPhoto']:not(.qode-single-image-pretty-photo)").prettyPhoto({animation_speed:"normal",slideshow:!1,autoplay_slideshow:!1,opacity:.8,show_title:!0,allow_resize:!0,horizontal_padding:0,default_width:650,default_height:400,counter_separator_label:"/",theme:"pp_default",hideflash:!1,wmode:"opaque",autoplay:!0,modal:!1,overlay_gallery:!1,keyboard_shortcuts:!0,deeplinking:!1,social_tools:!1}),$j("a[rel^='prettyPhoto'].qode-single-image-pretty-photo").prettyPhoto({animation_speed:"normal",slideshow:!1,autoplay_slideshow:!1,opacity:.8,show_title:!0,allow_resize:!0,horizontal_padding:0,default_width:650,default_height:400,counter_separator_label:"/",theme:"pp_default",hideflash:!1,wmode:"opaque",autoplay:!0,modal:!1,overlay_gallery:!1,keyboard_shortcuts:!0,deeplinking:!1,social_tools:!1,changepicturecallback:function(){$j(".pp_pic_holder").addClass("qode-pretty-photo-hide-navigation")}})}function initMobileMenu(){$j(".mobile_menu_button > span").on("tap click",function(e){e.preventDefault(),$j(".mobile_menu > ul").is(":visible")?$j(".mobile_menu > ul").slideUp(200):$j(".mobile_menu > ul").slideDown(200)}),initInsideMobileMenu()}function initInsideMobileMenu(){$j(".mobile_menu > ul > li.has_sub > span.mobile_arrow, .mobile_menu > ul > li.has_sub > h3, .mobile_menu > ul > li.has_sub:not(.qode-is-anchor-item) > a[href*='#']").on("tap click",function(e){e.preventDefault(),$j(this).closest("li.has_sub").find("> ul.sub_menu").is(":visible")?($j(this).closest("li.has_sub").find("> ul.sub_menu").slideUp(200),$j(this).closest("li.has_sub").removeClass("open_sub")):($j(this).closest("li.has_sub").addClass("open_sub"),$j(this).closest("li.has_sub").find("> ul.sub_menu").slideDown(200))}),$j(".mobile_menu > ul > li.has_sub > ul.sub_menu > li.has_sub > span.mobile_arrow, .mobile_menu > ul > li.has_sub > ul.sub_menu > li.has_sub > h3, .mobile_menu > ul > li.has_sub > ul.sub_menu > li.has_sub:not(.qode-is-anchor-item) > a[href*='#']").on("tap click",function(e){e.preventDefault(),$j(this).parent().find("ul.sub_menu").is(":visible")?($j(this).parent().find("ul.sub_menu").slideUp(200),$j(this).parent().removeClass("open_sub")):($j(this).parent().addClass("open_sub"),$j(this).parent().find("ul.sub_menu").slideDown(200))}),$j(".mobile_menu ul li > a, .q_logo a").on("click",function(){"http://#"!==$j(this).attr("href")&&"#"!==$j(this).attr("href")&&$j(".mobile_menu > ul").slideUp()})}function initFlexSlider(){$j(".flexslider").each(function(){var e=$j(this),t=8e3,o=(void 0!==e.data("interval")&&!1!==e.data("interval")&&(t=1e3*parseFloat(e.data("interval"))),!0),n=(void 0!==e.data("direction")&&(o=e.data("direction")),!1),i=(void 0!==e.data("control")&&(n=e.data("control")),!0),a=(void 0!==e.data("pause-on-hover")&&(i=e.data("pause-on-hover")),!1),r=(void 0!==e.data("drag")&&(a=e.data("drag")),!0),d=(0===t&&(r=!1),"slide");void 0!==e.data("flex_fx")&&!1!==e.data("flex_fx")&&(d=e.data("flex_fx")),e.flexslider({animationLoop:!0,controlNav:n,directionNav:o,useCSS:!1,pauseOnAction:i,pauseOnHover:i,slideshow:r,animation:d,prevText:"<div><i class='fa fa-angle-left'></i></div>",nextText:"<div><i class='fa fa-angle-right'></i></div>",animationSpeed:600,slideshowSpeed:t,touch:!0,start:function(){setTimeout(function(){$j(".flexslider").fitVids()},100)}}),e.find(".flex-direction-nav a").on("click",function(e){e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation()}),a&&e.swipe({swipeLeft:function(){e.flexslider("next")},swipeRight:function(){e.flexslider("prev")},threshold:20})})}function fitVideo(){$j(".portfolio_images").length&&$j(".portfolio_images").fitVids(),$j(".format-video .post_image").length&&$j(".format-video .post_image").fitVids(),$j(".format-video .q_masonry_blog_post_image").length&&$j(".format-video .q_masonry_blog_post_image").fitVids()}function initPortfolioSingleInfo(){var e,t,o,n,i=$j(".portfolio_single_follow");0<$j(".portfolio_single_follow").length&&(e=i.offset(),$scrollHeight=$j(".portfolio_container").height(),t=$j(".portfolio_container").offset(),o=$j(window),n=parseInt($j("header.page_header").css("height"),10),o.scroll(function(){960<o.width()?o.scrollTop()+n+3>e.top?o.scrollTop()+n+i.height()+24<t.top+$scrollHeight?i.stop().animate({marginTop:o.scrollTop()-e.top+n}):i.stop().animate({marginTop:$scrollHeight-i.height()-24}):i.stop().animate({marginTop:0}):i.css("margin-top",0)}))}function initTabs(){var e,t;$j(".q_tabs").length&&($j(".q_tabs").appear(function(){$j(".q_tabs").css("visibility","visible")},{accX:0,accY:-100}),t=(e=$j(".tabs-nav")).children("li"),e.each(function(){var e=$j(this);e.next().children(".tab-content").stop(!0,!0).hide().first().show(),e.children("li").first().addClass("active").stop(!0,!0).show()}),t.on("click",function(e){var t=$j(this);t.siblings().removeClass("active").end().addClass("active"),t.parent().next().children(".tab-content").stop(!0,!0).hide().siblings(t.find("a").attr("href")).fadeIn(),e.preventDefault()}))}function qodeInitAdvancedTabs(){var e=$j(".qode-advanced-tabs");e.length&&e.each(function(){var e=$j(this);e.children(".qode-advanced-tab-container").each(function(e){e+=1;var t=$j(this),o=t.attr("id"),t=t.parent().find(".qode-advanced-tabs-nav li:nth-child("+e+") a"),e=t.attr("href");-1<(o="#"+o).indexOf(e)&&t.attr("href",o)}),e.tabs()})}function qodeInitAdvancedTabsIcons(){var e=$j(".qode-advanced-tab-container");e.length&&e.each(function(){var e=$j(this),t=e.attr("id"),o="",e=(void 0===e.data("icon-html")&&"false"===e.data("icon-html")||(o=e.data("icon-html")),e.parents(".qode-advanced-tabs").find('.qode-advanced-tabs-nav > li a[href="#'+t+'"]'));void 0!==e&&e.children(".qode-advanced-icon-frame").html(o)})}function initAccordion(){$j(".q_accordion_holder").length&&($j(".q_accordion_holder").appear(function(){$j(".q_accordion_holder").css("visibility","visible")},{accX:0,accY:-100}),$j(".accordion").length&&($j(".accordion").accordion({animate:"swing",collapsible:!0,active:!1,icons:"",heightStyle:"content",activate:function(e,t){initParallax()}}),$j(".accordion").each(function(){var e=parseInt($j(this).data("active-tab")),e=(""!==e&&(e-=1,$j(this).accordion("option","active",e)),parseInt($j(this).data("border-radius"))),e=(""!==e&&$j(this).find(".accordion_mark").css("border-radius",e+"px"),"yes"==$j(this).data("collapsible"));$j(this).accordion("option","collapsible",e),$j(this).accordion("option","collapsible",e)})),$j(".toggle").addClass("accordion ui-accordion ui-accordion-icons ui-widget ui-helper-reset").find(".title-holder").addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-top ui-corner-bottom").hover(function(){$j(this).toggleClass("ui-state-hover")}).on("click",function(){return $j(this).toggleClass("ui-accordion-header-active ui-state-active ui-state-default ui-corner-bottom").next().toggleClass("ui-accordion-content-active").slideToggle(400),!1}).next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").hide(),$j(".toggle").each(function(){var e=parseInt($j(this).data("active-tab"));""!==e&&1<=e&&(e-=1,$j(this).find(".ui-accordion-content").eq(e).show(),$j(this).find(".ui-accordion-header").eq(e).addClass("ui-state-active"))}))}function initAccordionContentLink(){$j(".accordion").length&&$j(".accordion_holder .accordion_inner .accordion_content a").on("click",function(){return"_blank"===$j(this).attr("target")?window.open($j(this).attr("href"),"_blank"):window.open($j(this).attr("href"),"_self"),!1})}function initTestimonials(){$j(".testimonials_carousel").length&&$j(".testimonials_carousel").each(function(){var e=5e3,t=$j(this),o=!0,n=(0===(e=void 0!==t.data("auto-rotate-slides")&&!1!==t.data("auto-rotate-slides")?1e3*parseFloat(t.data("auto-rotate-slides")):e)&&(o=!1),"fade"),i=(void 0!==t.data("animation-type")&&!1!==t.data("animation-type")&&(n=t.data("animation-type")),!0),a=(void 0!==t.data("show-navigation")&&(i="no"!=t.data("show-navigation")),600),r=(void 0!==t.data("animation-speed")&&!1!==t.data("animation-speed")&&""!==t.data("animation-speed")&&(a=t.data("animation-speed")),qodeNumberOfTestimonialsItems(t)),d=0,s=0;void 0!==r&&1!==r&&(d=200,s=40),t.flexslider({animationLoop:!0,controlNav:!1,directionNav:i,useCSS:!1,pauseOnAction:!0,pauseOnHover:!1,slideshow:o,animation:n,itemMargin:s,minItems:r,maxItems:r,itemWidth:d,animationSpeed:a,slideshowSpeed:e,start:function(e){initParallax()}})})}function qodeNumberOfTestimonialsItems(e){e=e.data("number-per-slide");return $window_width<768&&1<e?e=1:$window_width<1024&&2<e&&(e=2),e}function qodeNumberOfTestimonialsItemsResize(){var e=$j(".testimonials_carousel, .testimonials_c_carousel");e.length&&e.each(function(){var e=$j(this),t=qodeNumberOfTestimonialsItems(e);void 0!==e.data("flexslider")&&(e.data("flexslider").vars.minItems=t),void 0!==e.data("flexslider")&&(e.data("flexslider").vars.maxItems=t)})}function initTestimonialsCarousel(){$j(".testimonials_c_carousel").length&&$j(".testimonials_c_carousel").each(function(){var e=5e3,t=$j(this),o=!0,n=(0===(e=void 0!==t.data("auto-rotate-slides")&&!1!==t.data("auto-rotate-slides")?1e3*parseFloat(t.data("auto-rotate-slides")):e)&&(o=!1),!0),i=(void 0!==t.data("show-navigation")&&(n="no"!=t.data("show-navigation")),600),a=(void 0!==t.data("animation-speed")&&!1!==t.data("animation-speed")&&""!==t.data("animation-speed")&&(i=t.data("animation-speed")),qodeNumberOfTestimonialsItems(t)),r=0,d=0;void 0!==a&&1!==a&&(r=300,d=30),t.flexslider({animationLoop:!0,controlNav:n,directionNav:!1,useCSS:!1,pauseOnAction:!0,pauseOnHover:!1,slideshow:o,animation:"slide",itemMargin:d,minItems:a,maxItems:a,itemWidth:r,animationSpeed:i,slideshowSpeed:e,start:function(e){initParallax()}})})}function initMessages(){$j(".q_message").length&&$j(".q_message").each(function(){$j(this).find(".close").on("click",function(e){e.preventDefault(),$j(this).parent().parent().fadeOut(500)})})}function initElementsAnimation(){0<$j(".element_from_fade").length&&0===$j(".no_animation_on_touch").length&&$j(".element_from_fade").each(function(){var e=$j(this);e.appear(function(){e.addClass("element_from_fade_on")},{accX:0,accY:-100})}),0<$j(".element_from_left").length&&0===$j(".no_animation_on_touch").length&&$j(".element_from_left").each(function(){var e=$j(this);e.appear(function(){e.addClass("element_from_left_on")},{accX:0,accY:-100})}),0<$j(".element_from_right").length&&0===$j(".no_animation_on_touch").length&&$j(".element_from_right").each(function(){var e=$j(this);e.appear(function(){e.addClass("element_from_right_on")},{accX:0,accY:-100})}),0<$j(".element_from_top").length&&0===$j(".no_animation_on_touch").length&&$j(".element_from_top").each(function(){var e=$j(this);e.appear(function(){e.addClass("element_from_top_on")},{accX:0,accY:-100})}),0<$j(".element_from_bottom").length&&0===$j(".no_animation_on_touch").length&&$j(".element_from_bottom").each(function(){var e=$j(this);e.appear(function(){e.addClass("element_from_bottom_on")},{accX:0,accY:-100})}),0<$j(".element_transform").length&&0===$j(".no_animation_on_touch").length&&$j(".element_transform").each(function(){var e=$j(this);e.appear(function(){e.addClass("element_transform_on")},{accX:0,accY:-100})})}function fitAudio(){$j("audio.blog_audio").mediaelementplayer({audioWidth:"100%"})}function initBlog(){var e,t,o,r,n,i,d;$j(".blog_holder.masonry, .blog_holder.blog_pinterest").length&&(e=$j(this).closest(".container_inner").width(),t=$j(".filter"),o=$j(".filter_holder ul > .filter:first-of-type"),$j(".blog_holder").closest(".column_inner").length&&(e=$j(".blog_holder").closest(".column_inner").width()),$j(".blog_holder").width(e),(r=$j(".blog_holder")).waitForImages(function(){setTimeout(function(){r.isotope({itemSelector:"article",resizable:!1,masonry:{columnWidth:".blog_holder_grid_sizer",gutter:".blog_holder_grid_gutter"}}),$j(".blog_holder.masonry, .blog_holder.blog_pinterest").animate({opacity:"1"},500)},400)}),o.addClass("active"),t.on("click",function(){t.removeClass("active"),$j(this).addClass("active");var e=$j(this).attr("data-filter");return r.isotope({filter:e}),!1}),n=$j(".qode-infinite-scroll-loading-label"),i=$j(".qode-infinite-scroll-finished-label"),r.hasClass("masonry_infinite_scroll")?(r.infiniteScroll({path:".blog_infinite_scroll_button a",append:".post",history:!1}),r.on("request.infiniteScroll",function(e,t){n.fadeIn("fast")}),r.on("load.infiniteScroll",function(e,t,o){n.fadeOut("fast")}),r.on("append.infiniteScroll",function(e,t,o,n){r.isotope("appended",n),fitVideo(),fitAudio(),initFlexSlider(),setTimeout(function(){$j(".blog_holder.masonry, .blog_holder.blog_pinterest").isotope("layout")},400)}),r.on("last.infiniteScroll",function(e,t,o){i.fadeIn("fast")})):r.hasClass("masonry_load_more")&&(d=1,$j(".blog_load_more_button a").off("click tap").on("click tap",function(e){e.preventDefault();var o,n=$j(".blog_load_more_button"),i=$j(".blog_load_more_button_loading"),e=(n.hide(),i.show(),$j(this).attr("href")),a=".blog_load_more_button a";$j(a).attr("href");$j.get(e+"",function(e){var t=$j(".masonry_load_more",e).wrapInner("").html();o=$j(a,e).attr("href"),r.append($j(t)).isotope("reloadItems").isotope({sortBy:"original-order"}),fitVideo(),fitAudio(),initFlexSlider(),setTimeout(function(){$j(".blog_holder.masonry, .blog_holder.blog_pinterest").isotope("layout")},400),n.show(),i.hide(),$j(".blog_load_more_button span").attr("rel")>d?$j(".blog_load_more_button a").attr("href",o):$j(".blog_load_more_button").remove()}),d++})))}function initBlogMasonryFullWidth(){var e,i,n,a,r;$j(".masonry_full_width").length&&(e=$j(".full_width_inner").width(),$j(".masonry_full_width").width(e),i=$j(".masonry_full_width"),$j(".filter").on("click",function(){var e=$j(this).attr("data-filter");return i.isotope({filter:e}),!1}),n=$j(".qode-infinite-scroll-loading-label"),a=$j(".qode-infinite-scroll-finished-label"),i.hasClass("masonry_infinite_scroll")?(i.infiniteScroll({path:".blog_infinite_scroll_button a",append:".post",history:!1}),i.on("request.infiniteScroll",function(e,t){n.fadeIn("fast")}),i.on("load.infiniteScroll",function(e,t,o){n.fadeOut("fast")}),i.on("append.infiniteScroll",function(e,t,o,n){i.isotope("appended",n),fitVideo(),fitAudio(),initFlexSlider(),setTimeout(function(){$j(".blog_holder.masonry_full_width").isotope("layout")},400)}),i.on("last.infiniteScroll",function(e,t,o){a.fadeIn("fast")})):i.hasClass("masonry_load_more")&&(r=1,$j(".blog_load_more_button a").off("click tap").on("click tap",function(e){e.preventDefault();var o,e=$j(this).attr("href"),n=".blog_load_more_button a";$j(n).attr("href");$j.get(e+"",function(e){var t=$j(".masonry_load_more",e).wrapInner("").html();o=$j(n,e).attr("href"),i.append($j(t)).isotope("reloadItems").isotope({sortBy:"original-order"}),fitVideo(),fitAudio(),initFlexSlider(),setTimeout(function(){$j(".blog_holder.masonry_full_width").isotope("layout")},400),$j(".blog_load_more_button span").attr("rel")>r?$j(".blog_load_more_button a").attr("href",o):$j(".blog_load_more_button").remove()}),r++})),i.waitForImages(function(){setTimeout(function(){i.isotope({itemSelector:"article",resizable:!1,masonry:{columnWidth:".blog_holder_grid_sizer",gutter:".blog_holder_grid_gutter"}}),$j(".masonry_full_width").animate({opacity:"1"},500)},400)}))}function initBlogMasonryGallery(){var i,n,a,r;$j(".blog_holder.masonry_gallery").length&&(qodeResizeBlogMasonryGallery($j(".blog_holder_grid_sizer").width()),(i=$j(".blog_holder.masonry_gallery")).width(Math.round(i.parent().width())),i.isotope({itemSelector:"article",resizable:!1,masonry:{columnWidth:".blog_holder_grid_sizer",gutter:".blog_holder_grid_gutter"}}),i.waitForImages(function(){i.animate({opacity:"1"},300,function(){i.isotope().isotope("layout")})}),n=$j(".qode-infinite-scroll-loading-label"),a=$j(".qode-infinite-scroll-finished-label"),i.hasClass("masonry_infinite_scroll")?(i.infiniteScroll({path:".blog_infinite_scroll_button a",append:".post",history:!1}),i.on("request.infiniteScroll",function(e,t){n.fadeIn("fast")}),i.on("load.infiniteScroll",function(e,t,o){n.fadeOut("fast")}),i.on("append.infiniteScroll",function(e,t,o,n){i.isotope("appended",n),fitVideo(),fitAudio(),initFlexSlider(),qodeResizeBlogMasonryGallery($j(".blog_holder_grid_sizer").width()),setTimeout(function(){i.isotope("layout")},300)}),i.on("last.infiniteScroll",function(e,t,o){a.fadeIn("fast")})):i.hasClass("masonry_load_more")&&(r=1,$j(".blog_load_more_button a").off("click tap").on("click tap",function(e){e.preventDefault();var o,e=$j(this).attr("href"),n=".blog_load_more_button a";$j(n).attr("href");$j.get(e+"",function(e){var t=$j(".masonry_load_more",e).wrapInner("").html();o=$j(n,e).attr("href"),i.append($j(t)).isotope("reloadItems").isotope({sortBy:"original-order"}),fitVideo(),fitAudio(),initFlexSlider(),qodeResizeBlogMasonryGallery($j(".blog_holder_grid_sizer").width()),setTimeout(function(){i.isotope("layout")},300),$j(".blog_load_more_button span").attr("rel")>r?$j(".blog_load_more_button a").attr("href",o):$j(".blog_load_more_button").remove()}),r++})),$j(window).resize(function(){qodeResizeBlogMasonryGallery($j(".blog_holder_grid_sizer").width()),i.isotope().isotope("layout"),i.width(Math.round(i.parent().width()))}))}function initBlogGallery(){var i,n,a,r;$j(".blog_holder.blog_gallery, .blog_holder.blog_chequered").length&&(qodeResizeBlogGallery($j(".blog_holder_grid_sizer").width()),(i=$j(".blog_holder.blog_gallery, .blog_holder.blog_chequered")).width(Math.round(i.parent().width())),i.isotope({itemSelector:"article",resizable:!1,masonry:{columnWidth:".blog_holder_grid_sizer",gutter:".blog_holder_grid_gutter"}}),i.waitForImages(function(){i.animate({opacity:"1"},300,function(){i.isotope().isotope("layout")})}),n=$j(".qode-infinite-scroll-loading-label"),a=$j(".qode-infinite-scroll-finished-label"),i.hasClass("masonry_infinite_scroll")?(i.infiniteScroll({path:".blog_infinite_scroll_button a",append:".post",history:!1}),i.on("request.infiniteScroll",function(e,t){n.fadeIn("fast")}),i.on("load.infiniteScroll",function(e,t,o){n.fadeOut("fast")}),i.on("append.infiniteScroll",function(e,t,o,n){i.isotope("appended",n),fitVideo(),fitAudio(),initFlexSlider(),qodeResizeBlogGallery($j(".blog_holder_grid_sizer").width()),setTimeout(function(){i.isotope("layout")},300)}),i.on("last.infiniteScroll",function(e,t,o){a.fadeIn("fast")})):i.hasClass("masonry_load_more")&&(r=1,$j(".blog_load_more_button a").off("click tap").on("click tap",function(e){e.preventDefault();var o,e=$j(this).attr("href"),n=".blog_load_more_button a";$j(n).attr("href");$j.get(e+"",function(e){var t=$j(".masonry_load_more",e).wrapInner("").html();o=$j(n,e).attr("href"),i.append($j(t)).isotope("reloadItems").isotope({sortBy:"original-order"}),fitVideo(),fitAudio(),initFlexSlider(),qodeResizeBlogGallery($j(".blog_holder_grid_sizer").width()),setTimeout(function(){i.isotope("layout")},300),$j(".blog_load_more_button span").attr("rel")>r?$j(".blog_load_more_button a").attr("href",o):$j(".blog_load_more_button").remove(),qodeBlogGalleryAnimation()}),r++})),$j(window).resize(function(){qodeResizeBlogGallery($j(".blog_holder_grid_sizer").width()),i.isotope().isotope("layout"),i.width(Math.round(i.parent().width()))}))}function qodeResizeBlogMasonryGallery(e){var t=$j(".blog_holder.masonry_gallery .large-height"),o=$j(".blog_holder.masonry_gallery .large-width"),n=$j(".blog_holder.masonry_gallery .large-width-height"),i=$j(".blog_holder.masonry_gallery .default");t.css("height",2*e),o.css("height",e),n.css("height",2*e),n.width()<600&&n.css("height",n.width()),$window_width<600&&t.css("height",t.width()),i.css("height",e)}function qodeResizeBlogGallery(e){$j(".blog_holder.blog_chequered .default").css("height",e)}function initSmallImageBlogHeight(){$j(".blog_small_image").length&&$j("article").each(function(){$j(this).find(".post_text_inner").css("min-height",$j(this).find(".post_image").height()-46)})}function initQBlog(){$j(".q_masonry_blog").length&&$j(".q_masonry_blog").each(function(){var e=$j(this);e.waitForImages(function(){setTimeout(function(){e.isotope({itemSelector:"article",resizable:!1,masonry:{columnWidth:".q_masonry_blog_grid_sizer",gutter:".q_masonry_blog_grid_gutter"}}),e.animate({opacity:"1"},500)},400)})})}function qodeBlogCompundMasonryGallery(){function e(){i=n.find(".qode_blog_gallery_sizer").outerWidth(),a=i+8;var e=n.find(".qode_blog_gallery_item.default"),t=n.find(".qode_blog_img_large_height"),o=n.find(".qode_blog_img_large_height_width");e.css("height",a),t.css("height",Math.round(2*a)),600<$window_width?o.css("height",Math.round(2*a)):o.css("height",a)}var n=$j(".qode_blog_masonry_gallery"),i=n.find(".qode_blog_gallery_sizer").outerWidth(),a=i+8;return{init:function(){n.length&&(e(),n.isotope({itemSelector:".qode_blog_gallery_item",masonry:{columnWidth:".qode_blog_gallery_sizer",gutter:".qode_blog_gallery_gutter"}}),$j(window).resize(function(){e()}))}}}function qodeBlogHeadlines(){var i,a,n,r,d;$j(".blog_headlines").length&&(i=$j(".blog_headlines"),(a=function(){i.bigtext({childSelector:"> article > h2",minfontsize:20}),i.find("h2").appear(function(){$j(this).addClass("show")},{accX:0,accY:-100})})(),n=$j(".qode-infinite-scroll-loading-label"),r=$j(".qode-infinite-scroll-finished-label"),i.hasClass("blog_infinite_scroll")?(i.infiniteScroll({path:".blog_infinite_scroll_button a",append:".post",history:!1}),i.on("request.infiniteScroll",function(e,t){n.fadeIn("fast")}),i.on("load.infiniteScroll",function(e,t,o){n.fadeOut("fast")}),i.on("append.infiniteScroll",function(e,t,o,n){a()}),i.on("last.infiniteScroll",function(e,t,o){r.fadeIn("fast")})):i.hasClass("blog_load_more")&&(d=1,$j(".blog_load_more_button a").off("click tap").on("click tap",function(e){e.preventDefault();var o,e=$j(this).attr("href"),n=".blog_load_more_button a";$j(n).attr("href");$j.get(e+"",function(e){var t=$j(".blog_load_more",e).wrapInner("").html();o=$j(n,e).attr("href"),i.append($j(t)),a(),$j(".blog_load_more_button span").attr("rel")>d?$j(".blog_load_more_button a").attr("href",o):$j(".blog_load_more_button").remove()}),d++})))}function initMasonryGallery(){resizeMasonryGallery($j(".grid-sizer").width()),$j(".masonry_gallery_holder").length&&($j(".masonry_gallery_holder").each(function(){var t=$j(this);t.waitForImages(function(){t.animate({opacity:1}),t.isotope({itemSelector:".masonry_gallery_item",masonry:{columnWidth:".grid-sizer"}}),t.find(".masonry_gallery_item.parallax_item").each(function(e){$j(this).masonryParallax(t.data("parallax_item_speed"),!0,t.data("parallax_item_offset"))})})}),$j(window).resize(function(){resizeMasonryGallery($j(".grid-sizer").width()),$j(".masonry_gallery_holder").isotope("reloadItems")}))}function resizeMasonryGallery(e){var t=$j(".masonry_gallery_holder .rectangle_portrait"),o=$j(".masonry_gallery_holder .rectangle_landscape"),n=$j(".masonry_gallery_holder .square_big"),i=$j(".masonry_gallery_holder .square_small");t.css("height",2*e),window.innerWidth<600?o.css("height",e/2):o.css("height",e),n.css("height",2*e),window.innerWidth<600&&n.css("height",n.width()+20),i.css("height",e)}function initMoreFacts(){$j(".more_facts_holder").length&&$j(".more_facts_holder").each(function(){var e,t=$j(this),o="More Facts",n=(""!==$j(this).find(".more_facts_button").data("morefacts")&&(o=$j(this).find(".more_facts_button").data("morefacts")),"Less Facts"),i=(""!==$j(this).find(".more_facts_button").data("lessfacts")&&(n=$j(this).find(".more_facts_button").data("lessfacts")),t.find(".more_facts_button").on("mouseenter",function(){$j(this).css("color",$j(this).data("hovercolor"))}).on("mouseleave",function(){0==t.find(".more_facts_outer").height()&&$j(this).css("color",$j(this).data("color"))}),70),a=(""!==t.find(".more_facts_inner").data("expandable_content_top_padding")&&(i=t.find(".more_facts_inner").data("expandable_content_top_padding"),t.find(".more_facts_inner").css({"padding-top":i})),600);t.find(".more_facts_button").on("click",function(){e=t.find(".more_facts_inner").height()+i,a=0<e&&e<601?800:600<e&&e<1201?1500:2100,t.hasClass("more_fact_opened")?(t.find(".more_facts_fake_arrow").fadeOut(a),t.find(".more_facts_outer").stop().animate({height:"0px"},a,function(){t.find(".more_facts_button").is(":hover")||t.find(".more_facts_button").css("color",t.find(".more_facts_button").data("color")),t.removeClass("more_fact_opened"),$j(".parallax_section_holder").length&&initParallax()}),$j(this).find(".more_facts_button_text").text(o),$j(this).find(".more_facts_button_arrow").removeClass("rotate_arrow")):(t.addClass("more_fact_opened"),t.find(".more_facts_fake_arrow").fadeIn(a),t.find(".more_facts_outer").stop().animate({height:e},a,function(){$j(".parallax_section_holder").length&&initParallax()}),$j(this).find(".more_facts_button_text").text(n),$j(this).find(".more_facts_button_arrow").addClass("rotate_arrow"))})})}function placeholderReplace(){$j("#contact-form [placeholder]").focus(function(){var e=$j(this);e.val()===e.attr("placeholder")&&(this.originalType&&(this.type=this.originalType,delete this.originalType),e.val(""),e.removeClass("placeholder"))}).blur(function(){var e=$j(this);""===e.val()&&("password"===this.type&&(this.originalType=this.type,this.type="text"),e.addClass("placeholder"),e.val(e.attr("placeholder")))}).blur(),$j("#contact-form [placeholder]").parents("form").submit(function(){$j(this).find("[placeholder]").each(function(){var e=$j(this);e.val()===e.attr("placeholder")&&e.val("")})})}function totop_button(e){var t=$j("#back_to_top");t.removeClass("off on"),"on"===e?t.addClass("on"):t.addClass("off")}function backButtonShowHide(){$j(window).scroll(function(){var e=$j(this).scrollTop(),t=$j(this).height(),e=0<e?e+t/2:1;totop_button(e<1e3?"off":"on")})}function backToTop(){$j(document).on("click","#back_to_top",function(e){e.preventDefault(),$j("body,html").animate({scrollTop:0},$j(window).scrollTop()/3,"linear")})}function initSteps(){$j(".q_steps_holder").length&&$j(".q_steps_holder").each(function(){$j(this).appear(function(){$j(this).addClass("show")},{accX:0,accY:-200})})}function initMessageHeight(){$j(".q_message.with_icon").length&&$j(".q_message.with_icon").each(function(){$j(this).find(".message_text_holder").height()>$j(this).find(".q_message_icon_holder").height()?$j(this).find(".q_message_icon_holder").height($j(this).find(".message_text").height()):$j(this).find(".message_text").height($j(this).find(".q_message_icon_holder").height())})}function initImageHover(){$j(".image_hover").length&&$j(".image_hover").each(function(){$j(this).appear(function(){var e=$j(this).attr("data-transition-delay"),t=300+parseFloat(e),o=$j(this);setTimeout(function(){o.addClass("show")},parseFloat(e)),setTimeout(function(){o.removeClass("show")},t)},{accX:0,accY:-200})})}function checkAnchorOnLoad(){var e=window.location.hash,t=encodeURI(window.location.hash.split("#")[1]),o=$j("body").hasClass("paspartu_on_top_fixed")?$window_width*paspartu_width:0;""!==e&&0<$j('[data-q_id="#'+t+'"]').length&&(t=$j("header.page_header").hasClass("fixed")&&!$j("body").hasClass("vertical_menu_enabled")?(t=$j("header.page_header").hasClass("scroll_top")?header_top_height:0,!$j("header.page_header").hasClass("transparent")||$j("header.page_header").hasClass("scrolled_not_transparent")?header_height-($j('[data-q_id="'+e+'"]').offset().top+t)/4>=min_header_height_scroll?(t=$j('[data-q_id="'+e+'"]').offset().top-header_height-o)+t/4+t/16+t/64+1:$j("header.page_header").hasClass("centered_logo")?$j('[data-q_id="'+e+'"]').offset().top-min_header_height_scroll-logo_height-30-o:$j('[data-q_id="'+e+'"]').offset().top-min_header_height_scroll-o:$j('[data-q_id="'+e+'"]').offset().top-o):$j("header.page_header").hasClass("fixed_top_header")&&!$j("body").hasClass("vertical_menu_enabled")?!$j("header.page_header").hasClass("transparent")||$j("header.page_header").hasClass("scrolled_not_transparent")?$j('[data-q_id="'+e+'"]').offset().top-header_top_height-o:$j('[data-q_id="'+e+'"]').offset().top-o:$j("header.page_header").hasClass("fixed_hiding")&&!$j("body").hasClass("vertical_menu_enabled")?!$j("header.page_header").hasClass("transparent")||$j("header.page_header").hasClass("scrolled_not_transparent")?$j('[data-q_id="'+e+'"]').offset().top-(header_height+logo_height/2+40)<=scroll_amount_for_fixed_hiding?$j('[data-q_id="'+e+'"]').offset().top-header_height-logo_height/2-40-o:$j('[data-q_id="'+e+'"]').offset().top-min_header_height_fixed_hidden-40-o:$j('[data-q_id="'+e+'"]').offset().top-o:($j("header.page_header").hasClass("stick")||$j("header.page_header").hasClass("stick_with_left_right_menu")&&!$j("body").hasClass("vertical_menu_enabled"))&&(!$j("header.page_header").hasClass("transparent")||$j("header.page_header").hasClass("scrolled_not_transparent"))?sticky_amount>=$j('[data-q_id="'+e+'"]').offset().top?$j('[data-q_id="'+e+'"]').offset().top+1-o:$j('[data-q_id="'+e+'"]').offset().top-min_header_height_sticky-o:$j('[data-q_id="'+e+'"]').offset().top-o,$j("html, body").animate({scrollTop:Math.round(t)},1500,function(){})),$j(".main_menu a, .vertical_menu a, .mobile_menu a").each(function(){var e=$j(this).prop("hash");""!==e&&0<$j('[data-q_id="'+e+'"]').length&&$j('[data-q_id="'+e+'"]').offset().top>=$window_height&&0===$scroll&&($j(this).parent().removeClass("active current-menu-item"),$j(this).removeClass("current"))})}function changeActiveState(e){$j(".main_menu a[href*='#']").length&&$j(".main_menu a").parent().removeClass("active"),$j(".main_menu a").each(function(){$j(this).prop("hash")===e&&((0===$j(this).closest(".second").length?$j(this):$j(this).closest(".second")).parent().addClass("active"),$j(".main_menu a").removeClass("current"),$j(this).addClass("current"))}),$j(".vertical_menu a[href*='#']").length&&$j(".vertical_menu a").parent().removeClass("active"),$j(".vertical_menu a").each(function(){$j(this).prop("hash")===e&&((0===$j(this).closest(".second").length?$j(this):$j(this).closest(".second")).parent().addClass("active"),$j(".vertical_menu a").removeClass("current"),$j(this).addClass("current"))}),$j(".mobile_menu a[href*='#']").length&&$j(".mobile_menu a").parent().removeClass("active"),$j(".mobile_menu a").each(function(){$j(this).prop("hash")===e&&((0===$j(this).closest(".sub_menu").length?$j(this):$j(this).closest(".sub_menu")).parent().addClass("active"),$j(".mobile_menu a").removeClass("current"),$j(this).addClass("current"))})}function checkAnchorOnScroll(){$j("[data-q_id]").length&&!$j("header.page_header").hasClass("regular")&&($j("[data-q_id]").waypoint(function(e){"down"===e&&changeActiveState($j(this)[0].adapter.$element.data("q_id"))},{offset:"50%"}),$j("[data-q_id]").waypoint(function(e){"up"===e&&changeActiveState($j(this)[0].adapter.$element.data("q_id"))},{offset:function(){return-($j(this)[0].adapter.$element.outerHeight()-150)}}))}function initHashClick(){var n,i=$j("html, body"),a=$j("body").hasClass("paspartu_on_top_fixed")?$window_width*paspartu_width:0;$j(document).on("click",".main_menu a, .vertical_menu a, .qbutton:not(.contact_form_button, .qode-archive-submit-button, .qode-listing-archive-load-more, .qode-rating-form-trigger, .qode-lms-actions-buttons, .qode-tours-search-submit, .qodef-property-filter-button), .anchor, .widget li.anchor a",function(){var e,t=$j(this),o=$j(this).prop("hash");if(""!==o&&""===$j(this).attr("href").split("#")[0]||""!==o&&""!==$j(this).attr("href").split("#")[0]&&o===window.location.hash||""!==o&&$j(this).attr("href").split("#")[0]===window.location.href.split("#")[0])return n=$j("header.page_header").hasClass("fixed")&&!$j("body").hasClass("vertical_menu_enabled")?(e=$j("header.page_header").hasClass("scroll_top")?header_top_height:0,!$j("header.page_header").hasClass("transparent")||$j("header.page_header").hasClass("scrolled_not_transparent")?header_height-($j('[data-q_id="'+o+'"]').offset().top+e)/4>=min_header_height_scroll?(e=$j('[data-q_id="'+o+'"]').offset().top-header_height-a)+e/4+e/16+e/64+1:$j("header.page_header").hasClass("centered_logo")?$j('[data-q_id="'+o+'"]').offset().top-min_header_height_scroll-logo_height-a-30:$j('[data-q_id="'+o+'"]').offset().top-min_header_height_scroll-a:$j('[data-q_id="'+o+'"]').offset().top-a):$j("header.page_header").hasClass("fixed_top_header")&&!$j("body").hasClass("vertical_menu_enabled")?!$j("header.page_header").hasClass("transparent")||$j("header.page_header").hasClass("scrolled_not_transparent")?$j('[data-q_id="'+o+'"]').offset().top-header_top_height-a:$j('[data-q_id="'+o+'"]').offset().top-a:$j("header.page_header").hasClass("fixed_hiding")&&!$j("body").hasClass("vertical_menu_enabled")?!$j("header.page_header").hasClass("transparent")||$j("header.page_header").hasClass("scrolled_not_transparent")?$j('[data-q_id="'+o+'"]').offset().top-(header_height+logo_height/2+40)<=scroll_amount_for_fixed_hiding?$j('[data-q_id="'+o+'"]').offset().top-header_height-logo_height/2-40-a:$j('[data-q_id="'+o+'"]').offset().top-min_header_height_fixed_hidden-40-a:$j('[data-q_id="'+o+'"]').offset().top-a:($j("header.page_header").hasClass("stick")||$j("header.page_header").hasClass("stick_with_left_right_menu")&&!$j("body").hasClass("vertical_menu_enabled"))&&(!$j("header.page_header").hasClass("transparent")||$j("header.page_header").hasClass("scrolled_not_transparent"))?sticky_amount>=$j('[data-q_id="'+o+'"]').offset().top?$j('[data-q_id="'+o+'"]').offset().top+2-a:$j('[data-q_id="'+o+'"]').offset().top-min_header_height_sticky-a:$j('[data-q_id="'+o+'"]').offset().top-a,0<$j('[data-q_id="'+o+'"]').length&&i.stop().animate({scrollTop:Math.round(n)},1500,function(){anchorActiveState(t)}),history.pushState&&history.pushState(null,null,o),!1}),$j(document).on("click",".mobile_menu a",function(){var e=$j(this),t=$j(this).prop("hash");if(""!==t&&""===$j(this).attr("href").split("#")[0]||""!==t&&""!==$j(this).attr("href").split("#")[0]&&t===window.location.hash||""!==t&&$j(this).attr("href").split("#")[0]===window.location.href.split("#")[0])return 0<$j('[data-q_id="'+t+'"]').length&&i.animate({scrollTop:Math.round($j('[data-q_id="'+t+'"]').offset().top-$j(".mobile_menu").height())},500,function(){anchorActiveState(e)}),history.pushState&&history.pushState(null,null,t),!1})}function countClientsPerRow(){$j(".qode_clients").length&&$j(".qode_clients").each(function(){var e,t=$j(this),o=t.height(),n=t.width(),i=t.find(".qode_client_holder").width(),a=t.find(".qode_client_holder").length,o=(t.find(".qode_client_holder").each(function(){e=e>$j(this).height()?e:$j(this).height()}),e+=35,Math.ceil(o/e),Math.ceil(n/i)),n=a-o*Math.floor(a/o),i=(0===n&&(n=o),t.find(".qode_client_holder").removeClass("border-bottom-none"),a-n-1);t.find(".qode_client_holder:gt("+i+")").addClass("border-bottom-none")})}function animatedTextIconHeight(){var e,t;$j(".animated_icons_with_text").length&&((e=$j(".animated_icons_with_text")).find(".animated_text p").each(function(){t=t>$j(this).height()?t:$j(this).height()}),t<155&&(t=155),e.find(".animated_icon_with_text_inner").height(t))}function countAnimatedTextIconPerRow(){$j(".animated_icons_with_text").length&&$j(".animated_icons_with_text").each(function(){var e,t=$j(this),o=(t.height(),t.width()),n=t.find(".animated_icon_with_text_holder").width()+1,i=t.find(".animated_icon_with_text_holder").length,o=(t.find(".animated_icon_with_text_holder").each(function(){e=e>$j(this).height()?e:$j(this).height()}),e+=30,Math.ceil(o/n)),n=i-o*Math.floor(i/o),o=(0===n&&(n=o),t.find(".animated_icon_with_text_holder").removeClass("border-bottom-none"),i-n-1);t.find(".animated_icon_with_text_holder:gt("+o+")").addClass("border-bottom-none")})}function anchorActiveState(e){0<e.closest(".main_menu").length&&$j(".main_menu a").parent().removeClass("active"),0<e.closest(".vertical_menu").length&&$j(".vertical_menu a").parent().removeClass("active"),(0===e.closest(".second").length?e:e.closest(".second")).parent().addClass("active"),0<e.closest(".mobile_menu").length&&($j(".mobile_menu a").parent().removeClass("active"),e.parent().addClass("active")),$j(".mobile_menu a, .main_menu a, .vertical_menu a").removeClass("current"),e.addClass("current")}function initVideoBackground(){$j(".video-wrap .video").mediaelementplayer({enableKeyboard:!1,iPadUseNativeControls:!1,pauseOtherPlayers:!1,iPhoneUseNativeControls:!1,AndroidUseNativeControls:!1}),navigator.userAgent.match(/(Android|iPod|iPhone|iPad|IEMobile|Opera Mini)/)&&(initVideoBackgroundSize(),$j(".mobile-video-image").show(),$j(".video-wrap").remove())}function initVideoBackgroundSize(){$j(".section .video-wrap").each(function(e){var t=$j(this).closest(".section").outerWidth(),o=($j(this).width(t),$j(this).closest(".section").outerHeight()),n=(min_w=vid_ratio*(o+20),$j(this).height(o),t/video_width_original),i=(o-header_height)/video_height_original,n=i<n?n:i;n*video_width_original<min_w&&(n=min_w/video_width_original),$j(this).find("video, .mejs-overlay, .mejs-poster").width(Math.ceil(n*video_width_original+2)),$j(this).find("video, .mejs-overlay, .mejs-poster").height(Math.ceil(n*video_height_original+2)),$j(this).scrollLeft(($j(this).find("video").width()-t)/2),$j(this).find(".mejs-overlay, .mejs-poster").scrollTop(($j(this).find("video").height()-o)/2),$j(this).scrollTop(($j(this).find("video").height()-o)/2),$j(this).css("opacity",1),$j(".no-touchevents .section .mobile-video-image ").css("display","none")}),$j(".carousel .item .video .video-wrap").each(function(e){var t=$j(window).width(),o=($j(this).width(t),$j(window).width()<1e3?$j("header.page_header").height()-6:0),o=$j(this).closest(".carousel.slide").height()-o,n=(min_w=vid_ratio*(20+o),$j(this).height(o),t/video_width_original),i=(o-header_height)/video_height_original,n=i<n?n:i;n*video_width_original<min_w&&(n=min_w/video_width_original),$j(this).find("video, .mejs-overlay, .mejs-poster").width(Math.ceil(n*video_width_original+2)),$j(this).find("video, .mejs-overlay, .mejs-poster").height(Math.ceil(n*video_height_original+2)),$j(this).scrollLeft(($j(this).find("video").width()-t)/2),$j(this).find(".mejs-overlay, .mejs-poster").scrollTop(($j(this).find("video").height()-o)/2),$j(this).scrollTop(($j(this).find("video").height()-o)/2)}),$j(".portfolio_single .video .video-wrap, .blog_holder .video .video-wrap").each(function(e){var t=$j(this),o=$j(this).closest(".video").outerWidth(),n=($j(this).width(o),9*o/16),t=(navigator.userAgent.match(/(Android|iPod|iPhone|iPad|IEMobile|Opera Mini)/)&&(t.parent().width(o),t.parent().height(n)),min_w=vid_ratio*(20+n),$j(this).height(n),o/video_width_original),i=(n-header_height)/video_height_original,t=i<t?t:i;t*video_width_original<min_w&&(t=min_w/video_width_original),$j(this).find("video, .mejs-overlay, .mejs-poster").width(Math.ceil(t*video_width_original+2)),$j(this).find("video, .mejs-overlay, .mejs-poster").height(Math.ceil(t*video_height_original+2)),$j(this).scrollLeft(($j(this).find("video").width()-o)/2),$j(this).find(".mejs-overlay, .mejs-poster").scrollTop(($j(this).find("video").height()-n)/2),$j(this).scrollTop(($j(this).find("video").height()-n)/2)})}function initIconWithTextAnimation(){0<$j(".q_icon_animation").length&&0===$j(".no_animation_on_touch").length&&$j(".q_icon_animation").each(function(){$j(this).appear(function(){$j(this).addClass("q_show_animation")},{accX:0,accY:-200})})}function initSearchButton(){$j(".search_slides_from_window_top").length&&$j(".search_slides_from_window_top").on("click",function(e){var t;e.preventDefault(),$j("html").hasClass("touch")||$j("html").hasClass("touchevents")?("0"==$j(".qode_search_form").height()?($j('.qode_search_form input[type="text"]').onfocus=function(){window.scrollTo(0,0),document.body.scrollTop=0},$j('.qode_search_form input[type="text"]').onclick=function(){window.scrollTo(0,0),document.body.scrollTop=0},$j(".header_top_bottom_holder").css("top","50px"),$j(".qode_search_form").css("height","50px"),$j(".content_inner").css("margin-top","50px"),$scroll<34&&$j("header.page_header").css("top","0")):($j(".qode_search_form").css("height","0"),$j(".header_top_bottom_holder").css("top","0"),$j(".content_inner").css("margin-top","0"),$scroll<34&&$j("header.page_header").css("top",-$scroll)),$j(window).scroll(function(){"0"!=$j(".qode_search_form").height()&&50<$scroll&&($j(".qode_search_form").css("height","0"),$j(".header_top_bottom_holder").css("top","0"),$j(".content_inner").css("margin-top","0"))}),$j(".qode_search_close").on("click",function(e){e.preventDefault(),$j(".qode_search_form").css("height","0"),$j(".header_top_bottom_holder").css("top","0"),$j(".content_inner").css("margin-top","0"),$scroll<34&&$j("header.page_header").css("top",-$scroll)})):(t=$j(".title").hasClass("has_fixed_background")?parseInt($j(".title.has_fixed_background").css("backgroundPosition").split(" ")[1]):0,"0"==$j(".qode_search_form").height()?($j('.qode_search_form input[type="text"]').focus(),$j("body").addClass("qode-search-slides-from-top-opened"),$scroll<34&&$j("header.page_header").stop().animate({top:0},150),$j(".title.has_fixed_background").animate({"background-position-y":t+50+"px"},150)):($j("body").removeClass("qode-search-slides-from-top-opened"),$scroll<34&&$j("header.page_header").stop().animate({top:-$scroll},150),$j(".title.has_fixed_background").animate({"background-position-y":t-50+"px"},150)),$j(window).scroll(function(){"0"!=$j(".qode_search_form").height()&&50<$scroll&&($j("body").removeClass("qode-search-slides-from-top-opened"),$j(".title.has_fixed_background").css("backgroundPosition","center "+t+"px"))}),$j(".qode_search_close").on("click",function(e){e.preventDefault(),$j("body").removeClass("qode-search-slides-from-top-opened"),$scroll<34&&$j("header.page_header").stop().animate({top:-$scroll},150),$j(".title.has_fixed_background").animate({"background-position-y":t+"px"},150)}))}),$j(".search_slides_from_header_bottom").length&&$j(".search_slides_from_header_bottom").on("click",function(e){e.preventDefault(),$j(".qode_search_form_2").hasClass("animated")?($j(".qode_search_form_2").removeClass("animated"),$j(".qode_search_form_2").css("bottom","0")):($j('.qode_search_form input[type="text"]').focus(),$j(".qode_search_form_2").addClass("animated"),e=$j(".qode_search_form_2").height(),$j(".qode_search_form_2").css("bottom",-e)),$j(".qode_search_form_2").addClass("disabled"),$j('.qode_search_form_2 input[type="submit"]').attr("disabled","disabled"),""!==$j(".qode_search_form_2 .qode_search_field").val()&&" "!==$j(".qode_search_form_2 .qode_search_field").val()?($j('.qode_search_form_2 input[type="submit"]').removeAttr("disabled"),$j(".qode_search_form_2").removeClass("disabled")):($j(".qode_search_form_2").addClass("disabled"),$j('.qode_search_form_2 input[type="submit"]').attr("disabled","disabled")),$j(".qode_search_form_2 .qode_search_field").keyup(function(){""!==$j(this).val()&&" "!=$j(this).val()?($j('.qode_search_form_2 input[type="submit"]').removeAttr("disabled"),$j(".qode_search_form_2").removeClass("disabled")):($j('.qode_search_form_2 input[type="submit"]').attr("disabled","disabled"),$j(".qode_search_form_2").addClass("disabled"))}),$j(".content, footer").on("click",function(e){$j(".qode_search_form_2").removeClass("animated"),$j(".qode_search_form_2").css("bottom","0")})}),$j(".search_covers_header").length&&$j(".search_covers_header").on("click",function(e){e.preventDefault(),e=($j(".search_covers_only_bottom").length?$j(".header_bottom"):$j(".fixed_top_header").length?$j(".top_header"):$j(".header_top_bottom_holder")).height(),$j(".qode_search_form_3 .form_holder_outer").height(e),$j(".search_covers_only_bottom").length&&($j(".qode_search_form_3").css("bottom",0),$j(".qode_search_form_3").css("top","auto")),$j(".qode_search_form_3").stop(!0).fadeIn(600,"easeOutExpo"),$j('.qode_search_form_3 input[type="text"]').focus(),$j(window).scroll(function(){var e;e=($j(".search_covers_only_bottom").length?$j(".header_bottom"):$j(".fixed_top_header").length?$j(".top_header"):$j(".header_top_bottom_holder")).height(),$j(".qode_search_form_3 .form_holder_outer").height(e)}),$j(".qode_search_close, .content, footer").on("click",function(e){e.preventDefault(),$j(".qode_search_form_3").stop(!0).fadeOut(450,"easeOutExpo")}),$j(".qode_search_form_3").blur(function(e){$j(".qode_search_form_3").stop(!0).fadeOut(450,"easeOutExpo")})}),$j(".fullscreen_search").length&&($j(".fullscreen_search_holder.from_circle").length&&($j(".fullscreen_search").on("click",function(e){e.preventDefault(),$j(".fullscreen_search_overlay").hasClass("animate")?($j(".fullscreen_search_overlay").removeClass("animate"),$j(".fullscreen_search_holder").css("opacity","0"),$j(".fullscreen_search_close").css("opacity","0"),$j(".fullscreen_search_close").css("visibility","hidden"),$j(".fullscreen_search").css("opacity","1"),$j(".fullscreen_search_holder").css("display","none")):($j(".fullscreen_search_overlay").addClass("animate"),$j(".fullscreen_search_holder").css("display","block"),setTimeout(function(){$j(".fullscreen_search_holder").css("opacity","1"),$j(".fullscreen_search_close").css("opacity","1"),$j(".fullscreen_search_close").css("visibility","visible"),$j(".fullscreen_search").css("opacity","0")},200))}),$j(".fullscreen_search_close").on("click",function(e){e.preventDefault(),$j(".fullscreen_search_overlay").removeClass("animate"),$j(".fullscreen_search_holder").css("opacity","0"),$j(".fullscreen_search_close").css("opacity","0"),$j(".fullscreen_search_close").css("visibility","hidden"),$j(".fullscreen_search").css("opacity","1"),$j(".fullscreen_search_holder").css("display","none")})),$j(".fullscreen_search_holder.fade").length&&($j(".fullscreen_search").on("click",function(e){e.preventDefault(),$j(".fullscreen_search_holder").hasClass("animate")?($j("body").removeClass("fullscreen_search_opened"),$j(".fullscreen_search_holder").removeClass("animate"),$j("body").removeClass("search_fade_out"),$j("body").removeClass("search_fade_in")):($j("body").addClass("fullscreen_search_opened"),$j("body").removeClass("search_fade_out"),$j("body").addClass("search_fade_in"),$j(".fullscreen_search_holder").addClass("animate"))}),$j(".fullscreen_search_close").on("click",function(e){e.preventDefault(),$j("body").removeClass("fullscreen_search_opened"),$j(".fullscreen_search_holder").removeClass("animate"),$j("body").removeClass("search_fade_in"),$j("body").addClass("search_fade_out")})),$j(".fullscreen_search_holder .search_field").focus(function(){$j(".fullscreen_search_holder .field_holder .line").css("width","100%")}),$j(".fullscreen_search_holder .search_field").blur(function(){$j(".fullscreen_search_holder .field_holder .line").css("width","0")}),$j(window).scroll(function(){var e=$j(".page_header .header_bottom").height();$j(".page_header").hasClass("sticky")?($j(".fullscreen_search_holder .side_menu_button").css("height",e),$j(".fullscreen_search_holder .close_container").css("top","0")):$j(".page_header").hasClass("fixed")?$j(".fullscreen_search_holder .side_menu_button").css("height",e):($j(".fullscreen_search_holder .side_menu_button").css("height",""),$j(".fullscreen_search_holder .close_container").css("top",""))})),$j(".qode_search_submit").length&&$j(".qode_search_submit").on("click",function(e){e.preventDefault(),e.stopPropagation(),$j(this).parents("form").first().submit()})}function updateShoppingCart(){$j("body").on("added_to_cart",function(e,t,o){var n=$j(".shopping_cart_header");{var i;t["div.widget_shopping_cart_content"]&&(t=jQuery(t["div.widget_shopping_cart_content"]),i=t.find(".cart_list"),t=t.find(".total").contents(":not(strong)").text(),n.find(".shopping_cart_dropdown_inner").html("").append(i),n.find(".total span").html("").append(t))}})}function setContentBottomMargin(){$j(".uncover").length&&$j(".content").css("margin-bottom",$j("footer").height())}function footerWidth(){$j(".uncover").length&&$j("body").hasClass("vertical_menu_enabled")&&1e3<$window_width?$j(".uncover").width($window_width-$j(".vertical_menu_area").width()):$j(".uncover").css("width","100%")}function initCoverBoxes(){$j(".cover_boxes").length&&$j(".cover_boxes").each(function(){var e=0,t=1,e=(void 0!==$j(this).data("active-element")&&!1!==$j(this).data("active-element")&&(e=(t=parseFloat($j(this).data("active-element")))-1),3<t?0:e),o=($j(this).find("li").eq(e).addClass("act"),$j(this));$j(this).find("li").each(function(){$j(this).on("mouseenter",function(){$j(o).find("li").removeClass("act"),$j(this).addClass("act")})})})}function createContentMenu(){$j(".content_menu").each(function(){var i,a,e;0===$j(this).find("ul").length&&(""!==$j(this).css("background-color")&&(i=$j(this).css("background-color")),(a=$j("<ul class='menu'></ul>")).appendTo($j(this)),(e=$j(this).siblings(".in_content_menu")).length)&&e.each(function(){var e=$j(this).data("q_id"),t=$j(this).data("q_title"),o=$j(this).data("q_icon"),n=$j("<li />"),o=$j("<i />",{class:"fa "+o}),e=$j("<a />",{href:e,html:"<span>"+t+"</span>"}),t=$j("<div />",""!==i?{class:"arrow",style:"border-color: "+i+" transparent transparent transparent"}:{class:"arrow"});o.prependTo(e),e.appendTo(n),t.appendTo(n),n.appendTo(a)})})}function createSelectContentMenu(){$j(".content_menu").each(function(){var o=$j(this),i=$j("<ul></ul>");i.appendTo($j(this).find(".nav_select_menu")),$j(this).find("ul.menu li a").each(function(){var e=$j(this).attr("href"),t=$j(this).text(),o=$j(this).find("i").clone(),n=(2===$j(this).parents("li").length&&(t="&nbsp;&nbsp;&nbsp;"+t),3===$j(this).parents("li").length&&(t="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"+t),3<$j(this).parents("li").length&&(t="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"+t),$j("<li />")),e=$j("<a />",{href:e,html:t});o.prependTo(e),e.appendTo(n),n.appendTo(i)}),o.find(".nav_select_button").on("click",function(){return o.find(".nav_select_menu ul").is(":visible")?o.find(".nav_select_menu ul").slideUp():o.find(".nav_select_menu ul").slideDown(),!1}),o.find(".nav_select_menu ul li a").on("click",function(){o.find(".nav_select_menu ul").slideUp();var e=$j(this),t=e.attr("href"),t=$j("div.wpb_row[data-q_id='"+t+"'],section.parallax_section_holder[data-q_id='"+t+"'],div[data-element_type=container].parallax_section_holder[data-q_id='"+t+"'],.qode-elementor-content-menu-item[data-q_id='"+t+"']").offset().top;return $j("html,body").stop().animate({scrollTop:t},500,"swing",function(){$j("nav.content_menu ul li").removeClass("active"),e.parent().addClass("active")}),!1})})}function contentMenuPosition(){var e;$j("nav.content_menu").length&&(e=sticky_amount<content_menu_position?min_header_height_sticky:0,content_menu_position-e-content_menu_top_add-$scroll<=0&&($j("header").hasClass("stick")||$j("header").hasClass("stick_with_left_right_menu"))?((!(content_menu_position<sticky_amount)||sticky_amount<$scroll?$j("nav.content_menu").css({position:"fixed",top:min_header_height_sticky+content_menu_top_add}):$j("nav.content_menu").css({position:"fixed",top:0,transition:"none"})).addClass("fixed"),$j("header.sticky").addClass("no_shadow"),$j(".content > .content_inner > .container > .container_inner").css("margin-top",content_line_height),$j(".content > .content_inner > .full_width").css("margin-top",content_line_height)):content_menu_position-content_menu_top-content_menu_top_add-$scroll<=0&&!$j("header").hasClass("stick")?($j("nav.content_menu").css({position:"fixed",top:content_menu_top+content_menu_top_add}).addClass("fixed"),$j(".content > .content_inner > .container > .container_inner").css("margin-top",content_line_height),$j(".content > .content_inner > .full_width").css("margin-top",content_line_height)):($j("nav.content_menu").css({position:"relative",top:"0px"}).removeClass("fixed"),$j("header.sticky").removeClass("no_shadow"),$j(".content > .content_inner > .container > .container_inner").css("margin-top","0px"),$j(".content > .content_inner > .full_width").css("margin-top","0px")),$j(".content .in_content_menu").waypoint(function(e){var t=$j(this).data("q_id");$j("nav.content_menu.fixed li a").each(function(){$j(this).attr("href")===t?$j(this).parent().addClass("active"):$j(this).parent().removeClass("active")})},{offset:"150"}))}function contentMenuCheckLastSection(){var e,t;$j("nav.content_menu").length&&$j(".content .in_content_menu").length&&(e=$j(".content .in_content_menu:last").offset().top+$j(".content .in_content_menu:last").height(),t=$j(".content .in_content_menu:first").offset().top-content_menu_top-content_menu_top_add-100,e<$scroll&&$j("nav.content_menu.fixed li").removeClass("active"),$scroll<t)&&$j("nav.content_menu li:first, nav.content_menu ul.menu li:first").removeClass("active")}function contentMenuScrollTo(){$j("nav.content_menu").length&&$j("nav.content_menu ul.menu li a").on("click",function(e){e.preventDefault();var t=$j(this);return $j(this).parent().hasClass("active")||(e=t.attr("href"),e=$j("div.wpb_row[data-q_id='"+e+"'],section.parallax_section_holder[data-q_id='"+e+"'],div[data-element_type=container].parallax_section_holder[data-q_id='"+e+"'],.qode-elementor-content-menu-item[data-q_id='"+e+"']").offset().top-content_line_height-content_menu_top-content_menu_top_add,$j("html,body").stop().animate({scrollTop:e},500,"swing",function(){$j("nav.content_menu ul li").removeClass("active"),t.parent().addClass("active")})),!1})}function initButtonHover(){$j(".qbutton").length&&$j(".qbutton").each(function(){var e,t,o,n,i,a,r;void 0!==$j(this).data("hover-background-color")&&!1!==$j(this).data("hover-background-color")&&(o=$j(this).data("hover-background-color"),e=$j(this).css("background-color"),o.startsWith("#")&&9===o.length&&(t=o.replace("#",""),o="rgba("+parseInt(t.substring(0,2),16)+","+parseInt(t.substring(2,4),16)+","+parseInt(t.substring(4,6),16)+","+parseFloat(parseInt(parseInt(t.substring(6,8),16)/255*100)/100)+")"),$j(this).hover(function(){$j(this).css("background-color",o)},function(){$j(this).css("background-color",e)})),void 0!==$j(this).data("hover-border-color")&&!1!==$j(this).data("hover-border-color")&&(n=$j(this).data("hover-border-color"),i=$j(this).css("border-top-color"),$j(this).hover(function(){$j(this).css("border-color",n)},function(){$j(this).css("border-color",i)})),void 0!==$j(this).data("hover-color")&&!1!==$j(this).data("hover-color")&&(a=$j(this).data("hover-color"),r=$j(this).css("color"),$j(this).hover(function(){$j(this).css("color",a)},function(){$j(this).css("color",r)}))})}void 0===paspartu_width_init&&(paspartu_width_init=.02),common.getLoadMoreData=getLoadMoreData,common.setLoadMoreAjaxData=setLoadMoreAjaxData,qode.animationEnd=animationEventEnd(),qode.transitionEnd=transitionEventEnd(),$j(document).ready(function(){$j("header").hasClass("regular")&&(content_menu_top=0),$j("header").hasClass("fixed_top_header")&&(content_menu_top=header_height),$j("header").hasClass("fixed")&&(content_menu_top=min_header_height_scroll),$j("header").hasClass("fixed_hiding")&&(content_menu_top=min_header_height_fixed_hidden+40),($j("header").hasClass("stick")||$j("header").hasClass("stick_with_left_right_menu"))&&(content_menu_top=0),!$j("header.page_header").hasClass("scroll_top")&&$j("header.page_header").hasClass("has_top")&&$j("header.page_header").hasClass("fixed")&&(content_menu_top_add=34),$j("body").hasClass("vertical_menu_enabled")&&(content_menu_top_add=content_menu_top=0),paspartu_width=$window_width<1024?.02:paspartu_width_init,contentMinHeight(),contentMinHeightWithPaspartu(),qodeGridWidth(),setDropDownMenuPosition(),initDropDownMenu(),initVerticalMenu(),initVerticalMobileMenu(),initSideMenu(),initPopupMenu(),initMessageHeight(),initListAnimation(),initServiceAnimation(),initParallaxTitle(),initSideAreaScroll(),initVerticalAreaMenuScroll(),prettyPhoto(),initMobileMenu(),initFlexSlider(),fitVideo(),fitAudio(),initAccordion(),initAccordionContentLink(),qodeInitAccordions(),initMessages(),initMoreFacts(),placeholderReplace(),backButtonShowHide(),backToTop(),initSteps(),initElementsAnimation(),updateShoppingCart(),initHashClick(),initIconWithTextAnimation(),initVideoBackground(),initSearchButton(),initCoverBoxes(),createContentMenu(),contentMenuScrollTo(),createSelectContentMenu(),initButtonHover(),initEnlargeButton(),initSocialIconHover(),initPageTitleAnimation(),initIconShortcodeHover(),qodeIcon().init(),initIconWithTextHover(),parallaxLayers(),initHorizontalMarquee(),qodeHorizontalMarqueeLoop(),initExpandingImages(),qodeLazyImages(),initItemShowcase(),qodeCTASection().init(),qodeInitInteractiveIconShowcase(),qodeInitSendContactForm(),qodeWorkflow(),qodeMobileHeaderBehavior(),initElementsHolderResponsiveStyle(),$j(".widget #searchform").mousedown(function(){$j(this).addClass("form_focus")}).focusout(function(){$j(this).removeClass("form_focus")}),$scroll=$j(window).scrollTop(),checkTitleToShowOrHide(),checkVerticalMenuTransparency(),1e3<$j(window).width()?headerSize($scroll):logoSizeOnSmallScreens(),768<$j(window).width()&&contentMenuPosition(),contentMenuCheckLastSection(),$j("header:not(.stick_with_left_right_menu) .q_logo a").css("visibility","visible"),initFullScreenTemplate(),showHideVerticalMenu(),initMasonryGallery(),initLoadNextPostOnBottom(),initBlogMasonryGallery(),initBlogGallery(),qodeV2Button().init(),qodeCardsSlider().init(),qodeCardsGallery(),qodeInitEllipticalSlider(),qodeInitPricingCalculator(),qodeSlidingImageHolder(),qodeScrollingImage()}),$j(window).on("load",function(){qodeBrowserDetection(),$j(".touchevents .main_menu li:has(div.second)").doubleTapToGo(),setLeftPostionedMenuPadding(),initSmallImageBlogHeight(),setDropDownMenuPosition(),initDropDownMenu(),initPortfolioSingleInfo(),initTestimonials(),initTestimonialsCarousel(),initVideoBackgroundSize(),initBlog(),initBlogMasonryFullWidth(),initQBlog(),initTabs(),qodeInitAdvancedTabs(),qodeInitAdvancedTabsIcons(),countClientsPerRow(),animatedTextIconHeight(),countAnimatedTextIconPerRow(),initTitleAreaAnimation(),setContentBottomMargin(),footerWidth(),0<$j("nav.content_menu").length&&(content_menu_position=$j("nav.content_menu").offset().top,contentMenuPosition()),contentMenuCheckLastSection(),initPreviewSlider(),initInDeviceSlider(),initTabsActiveBorder(),setActiveTabBorder(),initImageHover(),$j("header.stick_with_left_right_menu .q_logo a").css("visibility","visible"),setMargingsForLeftAndRightMenu(),initParallax(),initQodeElementAnimationSkrollr(),qodeBlogCompundMasonryGallery().init(),qodeBlogHeadlines(),qodeCardsSlider().load(),initContentSlider(),qodePageTransitionEffect(),qodeContactPageAcceptance(),setTimeout(function(){checkAnchorOnScroll(),qodeBlogGalleryAnimation(),checkAnchorOnLoad(),checkHeaderStyleOnScroll()},700),qodePanelArea(),initDropDownAfterWPMLReplaceMenu()}),$j(window).scroll(function(){$scroll=$j(window).scrollTop(),1e3<$j(window).width()&&headerSize($scroll),768<$j(window).width()&&contentMenuPosition(),contentMenuCheckLastSection(),checkVerticalMenuTransparency(),qodeLazyImages(),$j(".touchevents .drop_down > ul > li").mouseleave(),$j(".touchevents .drop_down > ul > li").blur()}),$j(window).resize(function(){$window_width=$j(window).width(),$window_height=$j(window).height(),paspartu_width=$window_width<1024?.02:paspartu_width_init,1e3<$j(window).width()?headerSize($scroll):logoSizeOnSmallScreens(),initMessageHeight(),qodeNumberOfTestimonialsItemsResize(),fitAudio(),initSmallImageBlogHeight(),initBlog(),initBlogMasonryFullWidth(),initQBlog(),animatedTextIconHeight(),countAnimatedTextIconPerRow(),initVideoBackgroundSize(),countClientsPerRow(),setContentBottomMargin(),footerWidth(),$j(".vertical_split_slider").height($window_height),initMasonryGallery(),contentMinHeight(),contentMinHeightWithPaspartu()}),(s=>{var l=s(window),c=l.height();l.resize(function(){c=l.height()}),s.fn.parallax=function(n,i,e){var a,r,d=s(this);function t(){var o=l.scrollTop();d.each(function(){var e=s(this),t=e.offset().top;t+a(e)<o||o+c<t||d.css("backgroundPosition",n+" "+Math.round((r-o)*i)+"px")})}d.each(function(){r=d.offset().top}),a=e?function(e){return e.outerHeight(!0)}:function(e){return e.height()},(arguments.length<1||null===n)&&(n="50%"),(arguments.length<2||null===i)&&(i=.1),(arguments.length<3||null===e)&&(e=!0),l.bind("scroll",t).resize(t),t()}})(jQuery),(c=>{var h=c(window);c.fn.masonryParallax=function(e,t,o){var n=c(this),i=0,a=n.offset().top,r=t?function(e){return e.outerHeight(!0)}:function(e){return e.height()},d=(0!=o&&(i=o),(arguments.length<1||null===e)&&(e=.1),(arguments.length<2||null===t)&&(t=!0),n.offset().top),s=r(n);function l(){d+s<$scroll||$scroll+$window_height<d||n.css("transform","translate3d(0px, "+Math.round((a-s-$scroll)*e+i)+"px, 0px)")}h.bind("scroll",l).resize(l),l()}})(jQuery);var qodeV2Button=function(){var e=$j(".qode-btn");return{init:function(){e.length&&e.each(function(){var e,t,o,n,i,a,r,d,s,l,c,h;void 0!==(r=$j(this)).data("hover-color")&&(o=function(e){e.data.button.css("color",e.data.color)},t=r.css("color"),e=r.data("hover-color"),r.hasClass("qode-btn-3d-hover")||(r.on("mouseenter",{button:r,color:e},o),r.on("mouseleave",{button:r,color:t},o))),void 0!==(e=$j(this)).data("hover-bg-color")&&(r=function(e){e.data.button.css("background-color",e.data.color)},t=e.css("background-color"),o=e.data("hover-bg-color"),e.hasClass("qode-btn-3d-hover")||(e.on("mouseenter",{button:e,color:o},r),e.on("mouseleave",{button:e,color:t},r))),r=$j(this),void 0!==(h=r.find(".qode-button-v2-icon-holder")).data("hover-icon-border-color")&&(a=function(e){e.data.iconHolder.css("border-color",e.data.color)},i=h.css("borderLeftColor"),n=h.data("hover-icon-border-color"),r.hasClass("qode-btn-3d-hover")||(r.on("mouseenter",{iconHolder:h,color:n},a),r.on("mouseleave",{iconHolder:h,color:i},a))),n=$j(this),void 0!==(r=n.find(".qode-button-v2-icon-holder")).data("hover-icon-bg-color")&&(h=function(e){e.data.iconHolder.css("background-color",e.data.color)},i=r.css("backgroundColor"),a=r.data("hover-icon-bg-color"),n.hasClass("qode-btn-3d-hover")||(n.on("mouseenter",{iconHolder:r,color:a},h),n.on("mouseleave",{iconHolder:r,color:i},h))),(r=$j(this)).hasClass("qode-btn-3d-hover")&&(r=(d=r.closest(".qode-3d-button-holder")).find(".qode-btn-3d-hover"),s=r.first(),r=(l=r.last()).find(".qode-button-v2-icon-holder"),h=d.outerHeight(),c=Math.round(h/2),s.css("transform","rotateX(0deg) translateZ("+c+"px)"),l.css("transform","rotateX(90deg) translateZ("+c+"px)"),setTimeout(function(){d.css("opacity","1")},200),d.on("mouseenter",function(){s.css("transform","rotateX(-90deg) translateZ("+c+"px)"),l.css("transform","rotateX(0deg) translateZ("+c+"px)")}),d.on("mouseleave",function(){s.css("transform","rotateX(0deg) translateZ("+c+"px)"),l.css("transform","rotateX(90deg) translateZ("+c+"px)")}),void 0!==l.data("hover-color")&&(h=l.data("hover-color"),l.css("color",h)),void 0!==l.data("hover-bg-color")&&(h=l.data("hover-bg-color"),l.css("background-color",h)),void 0!==l.data("hover-border-color")&&(h=l.data("hover-border-color"),l.css("border-color",h)),void 0!==r.data("hover-icon-border-color")&&(h=r.data("hover-icon-border-color"),r.css("border-color",h)),void 0!==r.data("hover-icon-bg-color"))&&(h=r.data("hover-icon-bg-color"),r.css("background-color",h))})}}};function initEnlargeButton(){$j(".qbutton.enlarge").length&&$j(".qbutton.enlarge").each(function(){var e=$j(this),t=parseInt(e.css("padding-left")),o=Math.floor(t/100*20);e.mouseenter(function(){e.css({"padding-left":t+o}),e.css({"padding-right":t+o})}),e.mouseleave(function(){e.css({"padding-left":t}),e.css({"padding-right":t})})})}function initSocialIconHover(){$j(".q_social_icon_holder").length&&$j(".q_social_icon_holder").each(function(){var e,t,o,n,i,a,r;void 0!==$j(this).data("hover-background-color")&&!1!==$j(this).data("hover-background-color")&&(e=$j(this).data("hover-background-color"),t=$j(this).find(".fa-stack").css("background-color"),$j(this).find(".fa-stack").hover(function(){$j(this).css("background-color",e)},function(){$j(this).css("background-color",t)})),void 0!==$j(this).data("hover-border-color")&&!1!==$j(this).data("hover-border-color")&&(o=$j(this).data("hover-border-color"),n=$j(this).find(".fa-stack").css("border-top-color"),$j(this).find(".fa-stack").hover(function(){$j(this).css("border-color",o)},function(){$j(this).css("border-color",n)})),void 0!==$j(this).data("hover-color")&&!1!==$j(this).data("hover-color")&&(r=$j(this).data("hover-color"),$j(this).find(".fa-stack i, .fa-stack span").length?(i=void 0!==$j(this).data("color")?$j(this).data("color"):$j(this).find(".fa-stack i, .fa-stack span").css("color"),a=$j(this).find(".fa-stack i, .fa-stack span").attr("style")):$j(this).find(".simple_social").length&&(i=void 0!==$j(this).data("color")?$j(this).data("color"):$j(this).find(".simple_social").css("color"),a=$j(this).find(".simple_social").attr("style")),$j(this).find(".fa-stack").length?$j(this).find(".fa-stack").hover(function(){$j(this).find("i, span").attr("style",function(e,t){return a+"color: "+r+"!important;"})},function(){$j(this).find("i, span").attr("style",function(e,t){return a+"color: "+i+";"})}):$j(this).find(".simple_social").length&&$j(this).find(".simple_social").hover(function(){$j(this).attr("style",function(e,t){return a+"color: "+r+"!important;"})},function(){$j(this).attr("style",function(e,t){return a+"color: "+i+";"})}))})}function initTabsActiveBorder(){$j(".q_tabs.vertical, .q_tabs.boxed").length&&$j(".q_tabs.vertical, .q_tabs.boxed").each(function(){var e=getParentBackgroundColor($j(this)),t=$j(this).find("li.active a");$j(this).hasClass("boxed")&&t.css("border-bottom-color",e),$j(this).hasClass("left")&&t.css("border-right-color",e),$j(this).hasClass("right")&&t.css("border-left-color",e)})}function getParentBackgroundColor(e){return e.parents().filter(function(){var e=$j(this).css("background-color");return"transparent"!=e&&"rgba(0, 0, 0, 0)"!=e}).eq(0).css("background-color")}function setActiveTabBorder(){$j(".q_tabs li.active").length&&$j(this).on("click",function(){initTabsActiveBorder()})}function initPopupMenu(){$j("a.popup_menu").length&&($j(".popup_menu_holder_outer").height($window_height),"object"==typeof qode.modules.niceScroll&&qode.modules.niceScroll.initNiceScroll($j(".popup_menu_holder_outer")),($j("body").hasClass("qode_popup_menu_push_text_right")||$j("body").hasClass("qode_popup_menu_push_text_top"))&&($j(".popup_menu_holder_outer nav > ul > li > a").each(function(e){$j(this).css({"-webkit-animation-delay":70*e+"ms","animation-delay":70*e+"ms"})}),$j(".popup_menu_widget_holder > div").css({"-webkit-animation-delay":70*($j(".popup_menu_holder_outer nav > ul > li > a").length+1)+"ms","animation-delay":70*($j(".popup_menu_holder_outer nav > ul > li > a").length+1)+"ms"})),$j(window).resize(function(){$j(".popup_menu_holder_outer").height($window_height)}),initPopupMenuHolderOpening(),initPopupMenuItemsOpening())}function initPopupMenuHolderOpening(){$j("a.popup_menu").on("click",function(e){e.preventDefault(),$j(this).hasClass("opened")?($j(this).removeClass("opened"),$j("body").removeClass("popup_menu_opened"),($j(this).hasClass("qode_popup_menu_push_text_right")||$j(this).hasClass("qode_popup_menu_push_text_top")||$j(this).hasClass("qode_popup_menu_text_scaledown"))&&$j("body").removeClass("qode_popup_menu_fade_in").addClass("qode_popup_menu_fade_out"),$j(this).hasClass("qode_popup_menu_push_text_right")?$j("body").addClass("qode_popup_menu_push_nav_right"):$j(this).hasClass("qode_popup_menu_push_text_top")&&$j("body").addClass("qode_popup_menu_push_nav_top"),setTimeout(function(){$j("body").hasClass("page-template-full_screen-php")||$j("body").css("overflow","visible"),$j("nav.popup_menu ul.sub_menu").slideUp(200,function(){$j("nav.popup_menu").getNiceScroll().resize()})},400)):($j(this).addClass("opened"),$j("body").addClass("popup_menu_opened"),$j(this).hasClass("qode_popup_menu_push_text_right")?($j("body").addClass("qode_popup_menu_fade_in").removeClass("qode_popup_menu_fade_out"),$j("body").removeClass("qode_popup_menu_push_nav_right")):$j(this).hasClass("qode_popup_menu_push_text_top")?($j("body").addClass("qode_popup_menu_fade_in").removeClass("qode_popup_menu_fade_out"),$j("body").removeClass("qode_popup_menu_push_nav_top")):$j(this).hasClass("qode_popup_menu_text_scaledown")&&$j("body").addClass("qode_popup_menu_fade_in").removeClass("qode_popup_menu_fade_out"),setTimeout(function(){$j("body").hasClass("page-template-full_screen-php")||$j("body").css("overflow","hidden")},400))})}function initPopupMenuItemsOpening(){$j(".popup_menu > ul > li.has_sub > a, .popup_menu > ul > li.has_sub > h6").on("tap click",function(e){return e.preventDefault(),$j(this).closest("li.has_sub").find("> ul.sub_menu").is(":visible")?($j(this).closest("li.has_sub").find("> ul.sub_menu").slideUp(200,function(){$j(".popup_menu_holder_outer").getNiceScroll().resize()}),$j(this).closest("li.has_sub").removeClass("open_sub")):($j(this).closest("li.has_sub").addClass("open_sub"),$j(this).closest("li.has_sub").find("> ul.sub_menu").slideDown(200,function(){$j(".popup_menu_holder_outer").getNiceScroll().resize()})),!1}),$j(".popup_menu ul li:not(.has_sub) a").on("click",function(){if("http://#"===$j(this).attr("href")||"#"===$j(this).attr("href"))return!1;$j("a.popup_menu").removeClass("opened"),$j("body").removeClass("popup_menu_opened").css("overflow","visible"),$j("nav.popup_menu ul.sub_menu").slideUp(200,function(){$j("nav.popup_menu").getNiceScroll().resize()})})}function initFullScreenTemplate(){var o,n;$j(".full_screen_holder").length&&600<$window_width&&(o="",o=$j("header.page_header").hasClass("light")?"light":$j("header.page_header").hasClass("dark")?"dark":header_style_admin,$j(".full_screen_preloader").css("height",$window_height),$j("#up_fs_button").on("click",function(){return $j.fn.fullpage.moveSectionUp(),!1}),$j("#down_fs_button").on("click",function(){return $j.fn.fullpage.moveSectionDown(),!1}),n=$j(".full_screen_inner > .full_screen_section").length,$j("html").hasClass("qode-initialized-fss")&&$j.fn.fullpage.destroy("all"),$j(".full_screen_inner").fullpage({sectionSelector:".full_screen_section",scrollOverflow:!0,afterLoad:function(e,t){checkActiveArrowsOnFullScrrenTemplate(n,t),checkFullScreenSectionsForHeaderStyle(t,o)},afterRender:function(){$j("html").addClass("qode-initialized-fss"),$j(this).addClass("qode-initialized"),checkActiveArrowsOnFullScrrenTemplate(n,1),checkFullScreenSectionsForHeaderStyle(1,o),1!==n&&$j(".full_screen_holder").find(".full_screen_navigation_holder").css("visibility","visible"),$j(".full_screen_holder").find(".full_screen_inner").css("visibility","visible"),$j(".full_screen_preloader").hide(),$j(".full_screen_holder video.full_screen_sections_video").length&&$j(".full_screen_holder video.full_screen_sections_video").each(function(){$j(this).get(0).play()})}}))}function checkActiveArrowsOnFullScrrenTemplate(e,t){1===t?($j(".full_screen_navigation_holder #up_fs_button").hide(),t!=e&&$j(".full_screen_navigation_holder #down_fs_button").show()):t===e?(2===e&&$j(".full_screen_navigation_holder #up_fs_button").show(),$j(".full_screen_navigation_holder #down_fs_button").hide()):($j(".full_screen_navigation_holder #up_fs_button").show(),$j(".full_screen_navigation_holder #down_fs_button").show())}function checkFullScreenSectionsForHeaderStyle(e,t){0<$j("[data-q_header_style]").length&&$j("header").hasClass("header_style_on_scroll")&&(void 0!==$j($j(".full_screen_holder .full_screen_inner .full_screen_section")[e-1]).data("q_header_style")?(e=$j($j(".full_screen_holder .full_screen_inner .full_screen_section")[e-1]).data("q_header_style"),$j("header").removeClass("dark light").addClass(e)):$j("header").removeClass("dark light").addClass(t))}function checkHeaderStyleOnScroll(){var t,e,o;0<$j("[data-q_header_style]").length&&$j("header").hasClass("header_style_on_scroll")&&(t="",t=$j("header.page_header").hasClass("light")?"light":$j("header.page_header").hasClass("dark")?"dark":header_style_admin,e=$j("body").hasClass("paspartu_on_top_fixed")?Math.round($window_width*paspartu_width):0,o=$j("body").hasClass("paspartu_on_bottom_fixed")?Math.round($window_width*paspartu_width):0,$j(".full_width_inner > .wpb_row.section, .full_width_inner > .parallax_section_holder, .container_inner > .wpb_row.section, .container_inner > .parallax_section_holder, .portfolio_single > .wpb_row.section").waypoint(function(e){"down"===e&&(void 0!==(e=$j(this)[0].adapter.$element).data("q_header_style")?(e=e.data("q_header_style"),$j("header").removeClass("dark light").addClass(e)):$j("header").removeClass("dark light").addClass(t))},{offset:0+e}),$j(".title, .full_width_inner > .wpb_row.section, .full_width_inner > .parallax_section_holder, .container_inner > .wpb_row.section, .container_inner > .parallax_section_holder, .portfolio_single > .wpb_row.section, .q_slider").waypoint(function(e){"up"===e&&(void 0!==(e=$j(this)[0].adapter.$element).data("q_header_style")?(e=e.data("q_header_style"),$j("header").removeClass("dark light").addClass(e)):$j("header").removeClass("dark light").addClass(t))},{offset:function(){return-$j(this)[0].adapter.$element.outerHeight()+o}}))}function initHorizontalMarquee(){$j(".qode-horizontal-marquee").each(function(){function e(){a=t.width(),i=0,s.find("> .qode-hm-item").css("margin",0),t.height(Math.min($window_height,d)),s.find("> .qode-hm-item").each(function(){$j(this).css("max-width",a),i+=$j(this).outerWidth()+r}),i-=r,s.width(i).css("left",0),s.find("> .qode-hm-item").css("margin-right",r+"px")}var o,n,i,a,t=$j(this),r=void 0!==t.data("spacing")?t.data("spacing"):0,d=void 0!==t.data("height")?t.data("height"):0,s=t.find(".qode-horizontal-marquee-inner");e(),$j(window).resize(e),s.find("img").on("dragstart",function(e){e.preventDefault()}),t.hasClass("qode-loop")||(s.on("mousedown touchstart",function(e){e="touchstart"==(e=void 0!==e.originalEvent?e.originalEvent:e).type?e.touches[0]:e,o={x:e.clientX,y:e.clientY},n=parseInt(s.css("left"),10),s.addClass("qode-dragged")}),s.on("mousemove touchmove",function(e){var t=(e=void 0!==e.originalEvent?e.originalEvent:e).type,e=(e="touchmove"==t?e.touches[0]:e).clientX;("touchmove"==t||"mousemove"==t&&s.is(".qode-dragged"))&&s.css({left:Math.max(-i+a,Math.min(n+(e-o.x),0))+"px"})}),s.on("mouseup touchend mouseleave",function(e){s.removeClass("qode-dragged")}))})}function qodeHorizontalMarqueeLoop(){var e=$j(".qode-horizontal-marquee.qode-loop");e.length&&e.each(function(){var t=$j(this),o=(t.find(".qode-horizontal-marquee-inner").clone().appendTo(t),t.find(".qode-horizontal-marquee-inner")),r=o.first(),d=o.last();t.waitForImages(function(){function n(){a=r.width()+e,i=0,r.css({left:0}),d.css({width:a,left:a})}var i,a,e;e=""!==t.data("spacing")?t.data("spacing"):0,n(),qodeRequestAnimationFrame(),t.hasClass("qode-appear-fx")&&t.addClass("qode-appeared"),o.each(function(e){var t=$j(this),o=function(){--i,t.position().left<=-a&&(t.css("left",parseInt(a-1)),i=0),t.css({transform:"translate3d("+ +i+"px,0,0)"}),Math.abs(r.position().left-d.position().left)<a-1&&n(),requestNextAnimationFrame(o)};o()}),$j(window).resize(function(){setTimeout(function(){n()},200)})})})}function qodeRequestAnimationFrame(){$j("html").hasClass("touch")&&!$j("html").hasClass("touchevents")||window.requestAnimFrame||(window.requestAnimFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e,t){window.setTimeout(e,1e3/60)})}function initExpandingImages(){var e=$j(".qode-expanding-images");e.length&&e.each(function(){var e=$j(this);0<getIEversion()&&e.addClass("qode-ie-specific"),$j("html").hasClass("touch")&&$j("html").hasClass("touchevents")||skrollr.init({edgeStrategy:"set",smoothScrolling:!1,forceHeight:!1}).refresh()})}function initItemShowcase(){var e=$j(".qode-item-showcase");e.length&&e.each(function(){var t=$j(this),e=t.find(".qode-item-left"),o=t.find(".qode-item-right"),n=t.find(".qode-item-image"),i=(e.wrapAll("<div class='qode-item-showcase-holder qode-holder-left' />"),o.wrapAll("<div class='qode-item-showcase-holder qode-holder-right' />"),t.find(".qode-item-showcase-holder").append("<span class='qode-item-line'></span>"),$j(".qode-item-line"));function a(e){t.find(e).each(function(e){var t=$j(this);setTimeout(function(){t.addClass("qode-appeared")},150*e)})}$j("html").hasClass("touch")&&$j("html").hasClass("touchevents")?i.each(function(){var e=$j(this),t=e.closest(".qode-item-showcase-holder"),t=t.height()-t.find(".qode-item").last().height();e.css("height",t),e.css("opacity",1)}):(t.animate({opacity:1},200),setTimeout(function(){t.appear(function(){n.addClass("qode-appeared"),i.each(function(){var e=$j(this),t=e.closest(".qode-item-showcase-holder"),t=t.height()-t.find(".qode-item").last().height();e.css("height",t),e.css("opacity",1)}),t.on("webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend",function(e){1200<$window_width?(a(".qode-holder-left .qode-item"),a(".qode-holder-right .qode-item")):a(".qode-item")})})},100))})}var qodeCTASection=function(){var e=$j(".qode-cta-section");return{init:function(){e.length&&e.each(function(){var e=$j(this),t=e.find("img"),o=e.find(".qode-cta-section-text-wrapper");$j("html").hasClass("touch")&&$j("html").hasClass("touchevents")||!e.hasClass("qode-cta-appear-effect")||((e=function(e){e.appear(function(){setTimeout(function(){e.addClass("qode-appeared")},30)},{accX:0,accY:-$window_height/3})})(t),e(o))})}}};function initPreviewSlider(){$j(".qode-preview-slider").each(function(){var e=$j(this),t=e.find(".qode-presl-main-slider"),n=e.find(".qode-presl-small-slider-holder").find(".qode-presl-small-slider");t.find(".qode-presl-link.small").each(function(e){$j('<li><div class="qode-presl-small-item"><div class="qode-presl-main-item-inner"></div></div></li>').appendTo(n.find("> .slides")).find(".qode-presl-main-item-inner").append($j(this))}),t.flexslider({animation:"slide",animationSpeed:700,slideshow:!0,slideshowSpeed:5e3,useCSS:!0,touch:!0,autostart:!1,directionNav:!0,controlNav:!0,prevText:'<i class="icon-arrows-left"></i>',nextText:'<i class="icon-arrows-right"></i>',start:function(e){e.find(".qode-presl-main-item").css({opacity:"1",filter:"alpha(opacity=100)"}).find("img").addClass("visible")},before:function(e){var t=e.animatingTo,o=e.currentSlide;0==t?e.find(".slides li:first-child").next().next().clone().appendTo(e.find(".slides")).removeClass("clone").addClass("clone_end"):t==e.count-1&&e.find(".slides li:last-child").prev().prev().clone().appendTo(e.find(".slides")).removeClass("clone").addClass("clone_start"),0==t&&o==e.count-1&&"next"==e.direction?n.flexslider("next"):t==e.count-1&&0==o&&"prev"==e.direction?n.flexslider("prev"):n.find(".flex-control-nav a").eq(t).trigger("click"),e.find(".flex-direction-nav").addClass("moving")},after:function(e){e.removeClass("control-initiated direction-initiated"),e.find(".clone_start, .clone_end").remove(),e.find(".flex-direction-nav").removeClass("moving")}}),n.flexslider({animation:"slide",animationSpeed:700,animationLoop:!0,useCSS:!0,touch:!1,slideshow:!1,directionNav:!1,controlNav:!0,start:function(e){e.find("img").addClass("visible"),e.closest(".qode-presl-small-slider-holder").find(".qode-presl-phone").addClass("visible")}})})}var getIEversion=function(){var e,t=-1;return"Microsoft Internet Explorer"==navigator.appName?(e=navigator.userAgent,null!=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})").exec(e)&&(t=parseFloat(RegExp.$1))):"Netscape"==navigator.appName&&(e=navigator.userAgent,null!=new RegExp("Trident/.*rv:([0-9]{1,}[.0-9]{0,})").exec(e))&&(t=parseFloat(RegExp.$1)),t};function initInDeviceSlider(){$j(".qode-in-device-slider").each(function(){var t,o,e=$j(this).find(".qode-ids-slider"),n="yes"==e.data("navigation"),i="yes"==e.data("auto-start"),a=i?e.data("timeout"):0,r=!!e.closest(".qode-horizontal-marquee").length;0<getIEversion()&&e.addClass("qode-ids-ie-specific"),e.flexslider({animation:"slide",animationSpeed:700,animationLoop:!0,useCSS:!0,touch:!r,slideshow:i,slideshowSpeed:a,directionNav:n,controlNav:!1,prevText:'<i class="icon-arrows-left"></i>',nextText:'<i class="icon-arrows-right"></i>',start:function(e){e.find("img").addClass("visible"),e.closest(".qode-ids-slider-holder").find(".qode-ids-frame").addClass("visible"),e.is(".qode-ids-titles-on-hover")&&e.hover(function(){$j(this).find(".qode-ids-link").addClass("hovered")},function(){$j(this).find(".qode-ids-link").removeClass("hovered")})}}),r&&(o=!1,e.find(".qode-ids-link").on("dragstart",function(e){e.preventDefault()}).on("click",function(e){o?o=!1:e.preventDefault()}).on("mousedown touchstart",function(e){e="touchstart"==(e=void 0!==e.originalEvent?e.originalEvent:e).type?e.touches[0]:e,t={x:e.clientX,y:e.clientY}}).on("mouseup touchend",function(e){e=(e="touchend"==(e=void 0!==e.originalEvent?e.originalEvent:e).type?e.changedTouches[0]:e).clientX;Math.abs(e-t.x)<10&&(o=!0)}))})}function checkSVG(e){e=e.find(".active .qode_slide-svg-holder");"yes"===e.data("svg-drawing")&&drawSVG(e)}function drawSVG(e){e=Array.prototype.slice.call(e.find("svg"));e.forEach(function(e,t){var o=new SVGEl(e);t,setTimeout(function(){o.render()},0)})}var docElem=window.document.documentElement;function SVGEl(e){this.el=e;e=$j(this.el).closest(".qode_slide-svg-holder").data("svg-frames");this.image=this.el.previousElementSibling,this.current_frame=0,this.total_frames=e,this.path=[],this.length=[],this.handle=0,this.init()}function initPageTitleAnimation(){"yes"===$j(".title_outer").data("animation")&&0<$j(".no-touchevents .title_outer").length&&skrollr.init({edgeStrategy:"set",smoothScrolling:!1,forceHeight:!1}).refresh()}function initElementsHolderResponsiveStyle(){var e=$j(".q_elements_holder");e.length&&e.each(function(){var e=$j(this).children(".q_elements_item"),t="",s="";e.each(function(){var e=$j(this),t="",o="",n="",i="",a="",r="",d="";void 0!==e.data("item-class")&&!1!==e.data("item-class")&&(t=e.data("item-class")),void 0!==e.data("1280-1440")&&!1!==e.data("1280-1440")&&(o=e.data("1280-1440")),void 0!==e.data("1024-1280")&&!1!==e.data("1024-1280")&&(n=e.data("1024-1280")),void 0!==e.data("768-1024")&&!1!==e.data("768-1024")&&(i=e.data("768-1024")),void 0!==e.data("600-768")&&!1!==e.data("600-768")&&(a=e.data("600-768")),void 0!==e.data("480-600")&&!1!==e.data("480-600")&&(r=e.data("480-600")),void 0!==e.data("480")&&!1!==e.data("480")&&(d=e.data("480")),(o.length||n.length||i.length||a.length||r.length||d.length)&&(o.length&&(s+="@media only screen and (min-width: 1280px) and (max-width: 1440px){.q_elements_item_content."+t+" { padding: "+o+" !important; }}"),n.length&&(s+="@media only screen and (min-width: 1024px) and (max-width: 1280px){.q_elements_item_content."+t+" { padding: "+n+" !important; }}"),i.length&&(s+="@media only screen and (min-width: 768px) and (max-width: 1024px){.q_elements_item_content."+t+" { padding: "+i+" !important; }}"),a.length&&(s+="@media only screen and (min-width: 680px) and (max-width: 768px){.q_elements_item_content."+t+" { padding: "+a+" !important; }}"),r.length&&(s+="@media only screen and (min-width: 480px) and (max-width: 680px){.q_elements_item_content."+t+" { padding: "+r+" !important; }}"),d.length)&&(s+="@media only screen and (max-width: 480px){.q_elements_item_content."+t+" { padding: "+d+" !important; }}")}),(t=s.length?'<style type="text/css">'+s+"</style>":t).length&&$j("head").append(t)})}function initQodeElementAnimationSkrollr(){0===$j(".no-touchevents .carousel").length&&$j(".no-touchevents .q_elements_holder > .q_elements_item").each(function(){void 0===$j(this).data("animation")&&void 0===$j(".title_outer").data("animation")||"yes"!==$j(this).data("animation")||skrollr.init({edgeStrategy:"set",smoothScrolling:!1,forceHeight:!1}).refresh()})}function initIconShortcodeHover(){$j(".qode_icon_shortcode").length&&$j(".qode_icon_shortcode").each(function(){var e,t,o,n,i,a;void 0!==$j(this).data("type")&&-1!=["circle","square"].indexOf($j(this).data("type"))&&void 0!==$j(this).data("hover-bg-color")&&("circle"==$j(this).data("type")?(e=$j(this).find("i").first(),o=$j(this).data("hover-bg-color"),t=e.attr("style"),$j(this).hover(function(){e.attr("style",t+"color: "+o+"!important")},function(){e.attr("style",t)})):(o=$j(this).data("hover-bg-color"),n=$j(this).css("background-color"),$j(this).hover(function(){$j(this).css("background-color",o)},function(){$j(this).css("background-color",n)}))),void 0!==$j(this).data("hover-icon-color")&&(i=$j(this).data("hover-icon-color"),a=$j(this).find(".qode_icon_element ").css("color"),$j(this).hover(function(){$j(this).find(".qode_icon_element ").css("color",i)},function(){$j(this).find(".qode_icon_element ").css("color",a)}))})}window.requestAnimFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)},window.cancelAnimFrame=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||window.msCancelAnimationFrame||function(e){window.clearTimeout(e)},SVGEl.prototype.init=function(){var o=this;[].slice.call(this.el.querySelectorAll("path")).forEach(function(e,t){o.path[t]=e;e=o.path[t].getTotalLength();o.length[t]=e,o.path[t].style.strokeDasharray=e+" "+e,o.path[t].style.strokeDashoffset=e})},SVGEl.prototype.render=function(){this.rendered||(this.rendered=!0,this.draw())},SVGEl.prototype.draw=function(){var e=this,t=this.current_frame/this.total_frames;if(1<t)window.cancelAnimFrame(this.handle);else{this.current_frame++;for(var o=0,n=this.path.length;o<n;o++)this.path[o].style.strokeDashoffset=Math.floor(this.length[o]*(1-t));this.handle=window.requestAnimFrame(function(){e.draw()})}};var qodeIcon=function(){var e=$j(".qode-icon-holder");return{init:function(){e.length&&e.each(function(){var e,t,o,n,i;void 0!==(o=$j(this)).data("hover-color")&&(e=function(e){e.data.icon.css("color",e.data.color)},n=o.find(".qode-icon-element"),t=o.data("hover-color"),i=n.css("color"),""!==t)&&(o.parents(".qode-start-icon-hover").length?(o.parents(".qode-start-icon-hover").on("mouseenter",{icon:n,color:t},e),o.parents(".qode-start-icon-hover")):(o.on("mouseenter",{icon:n,color:t},e),o)).on("mouseleave",{icon:n,color:i},e),void 0!==(t=$j(this)).data("hover-background-color")&&(o=function(e){e.data.icon.css("background-color",e.data.color)},n=t.data("hover-background-color"),i=t.css("background-color"),""!==n)&&(t.parents(".qode-start-icon-hover").length?(t.parents(".qode-start-icon-hover").on("mouseenter",{icon:t,color:n},o),t.parents(".qode-start-icon-hover")):(t.on("mouseenter",{icon:t,color:n},o),t)).on("mouseleave",{icon:t,color:i},o)})}}};function initIconWithTextHover(){$j(".qode_iwt_icon_holder").length&&$j(".qode_iwt_icon_holder").each(function(){var e,t,o,n,i;void 0!==$j(this).data("icon-hover-bg-color")&&(e=$j(this).data("icon-hover-bg-color"),t=$j(this).css("background-color"),$j(this).hover(function(){$j(this).css("background-color",e)},function(){$j(this).css("background-color",t)})),void 0!==$j(this).data("icon-hover-color")&&(o=$j(this).find(".qode_iwt_icon_element"),n=$j(this).data("icon-hover-color"),i=o.css("color"),$j(this).hover(function(){o.css("color",n)},function(){o.css("color",i)}))})}function initLoadNextPostOnBottom(){var i,a,r,d,s;$j(".blog_vertical_loop").length&&(a=$j("body").hasClass("paspartu_enabled")?Math.round($window_width*paspartu_width):0,r=$j("header.page_header").hasClass("transparent")?0:header_height,d=!0,s=$j(".blog_vertical_loop .blog_holder"),$j(document).on("click",".blog_vertical_loop_button a",function(e){if(e.preventDefault(),!d)return!1;d=!1;var t=$j(this),e=t.attr("href"),o=".blog_vertical_loop_button_holder a",n=($j(o).attr("href"),i=$window_width<1e3?$j("header.page_header").height():r,$j(window).scrollTop()),n=t.closest("article").offset().top-n-i-a;s.find("article:eq(1)").addClass("fade_out"),t.closest("article").addClass("move_up").removeClass("next_post").css("transform","translateY(-"+n+"px)"),setTimeout(function(){$j(window).scrollTop(0),s.find("article:eq(0)").remove(),s.find("article:eq(0)").addClass("previous_post"),t.closest("article").removeAttr("style").removeClass("move_up")},450),$j.get(e+"",function(e){var t=$j(e).find("article").addClass("next_post");$j(o,e).attr("href"),s.append($j(t)),d=!0})}),$j(document).on("click",".blog_vertical_loop_back_button a",function(e){if(e.preventDefault(),!d)return!1;d=!1;var t=$j(this),o=t.attr("href"),n=".blog_vertical_loop_button_holder.prev_post a";$j(n).attr("href");s.find("article:eq(0)").removeClass("fade_out").addClass("fade_in"),t.closest("article").addClass("move_up").css("transform","translateY("+$window_height+"px)"),setTimeout(function(){s.find("article:last-child").remove(),s.find("article:eq(0)").removeClass("previous_post fade_in"),t.closest("article").addClass("next_post").removeAttr("style").removeClass("move_up"),$j.get(o+"",function(e){var t=$j(e).find("article").removeClass("next_post").addClass("previous_post");$j(n,e).attr("href"),s.prepend($j(t)),d=!0})},450)}),$j.get($j(".blog_vertical_loop_button_holder .last_page a").attr("href")+"",function(e){e=$j(e).find("article").removeClass("next_post").addClass("previous_post");s.prepend($j(e))}),$j.get($j(".blog_vertical_loop_button a").attr("href")+"",function(e){e=$j(e).find("article").addClass("next_post");s.append($j(e))}))}function setParallaxLayersHeight(e,t){var o=t,n=[1600,1300,1e3,768,567,320];n[0]<$window_width?o=t:n[1]<$window_width?o=.75*t:n[2]<$window_width?o=.6*t:n[3]<$window_width?o=.55*t:$window_width<=n[3]&&(o=.45*t),e.css({height:o+"px"})}function parallaxLayers(){$j(".qode_parallax_layers").length&&$j(".qode_parallax_layers").each(function(){var e,t=$j(this),o=($j(this).hasClass("full_screen_height")?(t.height($window_height),$j(window).resize(function(){t.height($window_height)})):(e=$j(this).data("height"),setParallaxLayersHeight(t,e),$j(window).resize(function(){setParallaxLayersHeight(t,e)})),t.find(".qode_parallax_layers_holder")),n=0,i=t.find(".image").length;t.find(".image").each(function(){var e,t=$j(this);""!=t.css("background-image")&&"none"!=t.css("background-image")&&(t=(t=(t=t.attr("style")).match(/url\(["']?([^'")]+)['"]?\)/))?t[1]:"")&&((e=new Image).src=t,$j(e).on("load",function(){++n==i&&(o.removeClass("preload_parallax_layers"),$j("html").hasClass("no-touch"))&&o.mouseParallax()}))})})}function initDropDownAfterWPMLReplaceMenu(){var e,t;qode_body.hasClass("qode-wpml-enabled")&&qode_body.hasClass("qode-page-transition-enabled")&&(e={attributes:!0,childList:!0,characterData:!0},$j("nav.main_menu").length&&(t=document.querySelector(".main_menu"),new MutationObserver(function(e){initDropDownMenu(),initInsideMobileMenu()}).observe(t,e)),$j("nav.vertical_menu").length&&(t=document.querySelector(".vertical_menu"),new MutationObserver(function(e){initVerticalMenu(),initInsideMobileMenu()}).observe(t,e)),$j("nav.popup_menu").length)&&(t=document.querySelector("nav.popup_menu"),new MutationObserver(function(e){initPopupMenuItemsOpening()}).observe(t,e))}function initContentSlider(){$j(".qode_content_slider").each(function(){var e,i=$j(this),t=8e3,o=(void 0!==i.data("interval")&&!1!==i.data("interval")&&(t=1e3*parseFloat(i.data("interval"))),!1),n=(void 0!==i.data("direction")&&(o=i.data("direction")),!1),a=(void 0!==i.data("control")&&(n=i.data("control")),!1),r=(void 0!==i.data("pause-on-hover")&&(a=i.data("pause-on-hover")),!1),d=(void 0!==i.data("drag")&&(r=i.data("drag")),!0),s=(0===t&&(d=!1),"slide"),l=(void 0!==i.data("flex_fx")&&!1!==i.data("flex_fx")&&(s=i.data("flex_fx")),!1),c=(i.find(".qode-lazy-image").length&&(l=!0),i.flexslider({selector:".qode_content_slider_inner > .qode_content_slider_item",animationLoop:!0,controlNav:n,directionNav:o,useCSS:!1,pauseOnAction:a,pauseOnHover:a,slideshow:d,animation:s,prevText:"<div><i class='fa fa-angle-left'></i></div>",nextText:"<div><i class='fa fa-angle-right'></i></div>",animationSpeed:600,slideshowSpeed:t,touch:!0,smoothHeight:l,start:function(){c(i)},after:function(){c(i)}}),function(e){i.find(".qode-lazy-image").length&&qodeLazyImages()});i.find(".flex-direction-nav a").on("click",function(e){e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation()}),r&&i.swipe({swipeLeft:function(){i.flexslider("next")},swipeRight:function(){i.flexslider("prev")},threshold:20}),i.hasClass("control_nav_justified")&&((e=function(e){var t=i.find("ol"),o=(t.addClass("qode-type1-gradient-left-to-right-after"),1440<$window_width?t.css("max-width",qode_grid_width):t.css("max-width",Math.round(.8*i.outerWidth())),t.find("li")),n=o.outerWidth(),t=parseInt(t.css("max-width"))-n*o.length,n=Math.floor(t/o.length);o.css("margin-right",n),o.last().css("margin-right",0)})(),$j(window).resize(function(){e()}))})}function qodeBlogGalleryAnimation(){var e=$j(".blog_holder.blog_gallery");e.length&&e.each(function(){$j(this).find("article").each(function(){var e=$j(this),t=e.find(".post_excerpt"),o=parseInt(t.outerHeight(!0)),n=e.find(".post_category"),i=e.find(".entry_title");n.css({transform:"translateY("+o+"px)"}),i.css({transform:"translateY("+o+"px)"}),e.mouseenter(function(){n.css({transform:"translateY(0px)"}),i.css({transform:"translateY(0px)"}),t.css({visibility:"visible",opacity:"1"})}),e.mouseleave(function(){n.css({transform:"translateY("+o+"px)"}),i.css({transform:"translateY("+o+"px)"}),t.css({visibility:"hidden",opacity:"0"})})})})}function qodeLazyImages(){$j.fn.preloader=function(e,t){return e&&"destroy"==e?this.find(".qode-lazy-preloader").remove():(e=$j('<div class="qode-lazy-preloader"></div>'),$j('<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="75" width="75" viewbox="0 0 75 75"><circle stroke-linecap="round" cx="37.5" cy="37.5" r="33.5" stroke-width="4"/></svg>').appendTo(e),e.appendTo(this),"function"==typeof t&&t()),this},$j('.qode-lazy-image[data-image][data-lazy="true"]:not(.lazyLoading)').each(function(e,t){(t=$j(t)).attr("data-ratio")&&t.height(t.width()*t.data("ratio"));var o,n=t[0].getBoundingClientRect(),i=$window_height||document.documentElement.clientHeight,a=$window_width||document.documentElement.clientWidth,r=t.outerHeight(),d=t.outerWidth();(0!=n.top||0!=n.right||0!=n.bottom||0!=n.left)&&(0<=n.top||0<=n.top+r)&&0<=n.bottom&&n.bottom-r-i<=0&&(0<=n.left||0<=n.left+d)&&0<=n.right&&n.right-d-a<=0&&(o=null,(o="IMG"==t.prop("tagName")?t.parent():t)&&o.preloader("init"),t.addClass("lazyLoading"),r=new Image,$j(r).on("load",function(){o.preloader("destroy"),t.removeAttr("data-image").removeData("image").removeAttr("data-lazy").removeData("lazy").removeClass("lazyLoading"),"IMG"===t.prop("tagName")?(t.attr("src",$j(this).attr("src")),t.height("auto")):t.css("background-image","url("+$j(this).attr("src")+")")}).attr("src",t.data("image")))})}(l=>{l.fn.extend({mouseParallax:function(t){t=l.extend({moveFactor:1.5,targetContainer:this},t);return this.each(function(){var a,r,d=t,s=l(d.targetContainer).find(".image, .paralax_layers_content_holder"),e=(s.each(function(e){l(this).css("z-index",e)}),a=l(d.targetContainer).offset().left,r=l(d.targetContainer).offset().top,l(d.targetContainer).on("mouseenter",function(e){a=e.pageX-l(this).offset().left,r=e.pageY-l(this).offset().top}),l(d.targetContainer).on("mousemove",function(e){var t=l(this).offset().left+a,o=l(this).offset().top+r,n=e.pageX-t,i=e.pageY-o;s.each(function(e){l(this).css({marginLeft:-n/100*d.moveFactor*(e+1),marginTop:-i/100*d.moveFactor*(e+1)},100)})}),{interval:0,over:function(){},timeout:500,out:function(){s.each(function(e){l(this).stop().animate({marginLeft:0,marginTop:0},300)})}});l(d.targetContainer).hoverIntent(e)})}})})(jQuery);var qodeCardsSlider=function(){function n(e,a,r){e.each(function(e,t){var o=$j(t).find(".qode-card-slider > .slide"),n=$j(t).find(".dot"),i=Math.round(o.length/2)-1;a?(0<n.length?$j(n[i]).trigger("click"):l(o,$j(t),1,i,$j(o[i]),r),$j(t).data("card-slide",1+i).attr("data-card-slide",1+i),$j(t).find(".button").removeClass("hidden")):0<n.length?$j(n[0]).trigger("click"):l(o,$j(t),1,1,$j(o[0]),r)})}function d(e,t,o){t.find(".qode-card-slider").width(99999),e.each(function(){$j(this).css("max-width",t.outerWidth())})}function s(){$j(".qode-card-panes").each(function(){var e=$j(this),t=e.find(".pane").height();e.height(t<-1?-1:t)})}function e(){$j(".qode-card-slider-holder").each(function(e,i){var t,a=$j(i).find(".qode-card-slider > .slide"),o=$j(i).data("active-middle-slide"),r=$j(i).data("center");$j(i).find(".button").each(function(e,n){$j(n).on("click",function(){var e="prev"==$j(n).data("direction")?-1:1,t=$j(i).data("card-slide"),e=$j(i).data("card-slide")+e,o=$j(i).find('.slide[data-card-slide="'+e+'"]');return o.length&&(l(a,$j(i),t,e,o,r),$j(i).find(".dot").removeClass("active").filter('[data-card-slide="'+e+'"]').addClass("active")),!1})}),$j(i).find(".dot").each(function(e,n){$j(n).on("click",function(){$j(i).find(".dot").removeClass("active"),$j(n).addClass("active");var e=$j(i).data("card-slide"),t=$j(n).data("card-slide"),o=$j(i).find('.slide[data-card-slide="'+t+'"]');return o.length&&l(a,$j(i),e,t,o,r),!1})}),d(a,$j(i)),n($j(i),o,r),(t=$j(i)).swipe({swipeLeft:function(){t.find('.button[data-direction="next"]').trigger("click")},swipeRight:function(){t.find('.button[data-direction="prev"]').trigger("click")},threshold:20}),$j(window).resize(function(){d(a,$j(i)),n($j(i),o,r),s()})})}var l=function(e,t,o,n,i,a){t.data("card-slide",n).attr("data-card-slide",n),t.find(".qode-card-slider").css("margin-left",a?-i.position().left+$j(t).outerWidth()/2-i.outerWidth()/2:-i.position().left),setTimeout(function(){qodeLazyImages()},500);a=o<n?1:-1;0<a&&n==e.length?t.find('.button[data-direction="next"]').addClass("hidden"):t.find('.button[data-direction="next"]').removeClass("hidden"),a<0&&1==n?t.find('.button[data-direction="prev"]').addClass("hidden"):t.find('.button[data-direction="prev"]').removeClass("hidden")};return{init:function(){$j(".qode-card-slider-holder").length&&(e(),s(),$j(".qode-cards-holder .card").each(function(e,t){$j(t).on("click",function(){var e=$j("."+$j(t).data("value"));return e.closest(".qode-card-panes").find(".pane").removeClass("active"),e.addClass("active"),qodeLazyImages(),!1})}),$j(".qode-cards-holder").each(function(e,o){$j(o).find(".qode-card-panes .pane").last().addClass("active"),$j(o).find(".qode-card-panes .pane .card").length?$j(o).find(".qode-card-panes .pane .card").each(function(e,t){$j(t).detach(),$j(o).find(".qode-cards-header").append($j(t))}):$j(o).find(".qode-cards-header").remove()}),$j(".cards").each(function(){var t=$j(this),o=t.find(".card");o.each(function(){var e=$j(this);e.on("click",function(){return o.last().is(e)||(e.detach(),e.insertAfter(o.last()),o=t.find(".card")),!1})})}))},load:function(){$j(".qode-card-slider-holder").length&&(s(),$j(".cards").each(function(){var e=$j(this),t=e.find(".card").get().reverse();e.appear(function(){$j(t).each(function(e){var t=$j(this);setTimeout(function(){t.addClass("hovered"),setTimeout(function(){t.removeClass("hovered")},600)},200*e)})},{accX:0,accY:-$window_height/3})}))}}};function qodeCardsGallery(){$j(".qode-cards-gallery-holder").length&&$j(".qode-cards-gallery-holder").each(function(){var t,o=$j(this),n=o.find(".card");switch(o.data("side")){case"left":t="0 0 0 20%";break;case"right":t="0 20% 0 0";break;case"top":t="20% 0 0 0";break;case"bottom":t="0 0 20% 0"}n.each(function(){var e=$j(this);e.on("click",function(){if(!n.last().is(e))return e.addClass("out").animate({opacity:0,margin:t},200,function(){e.detach(),e.insertAfter(n.last()).animate({opacity:1,margin:"0"},500,function(){e.removeClass("out")}),n=o.find(".card")}),!1})})})}function qodeInitEllipticalSlider(){var e=$j(".qode-elliptical-slider");e.length&&e.each(function(){var e=$j(this),t=$j(".qode-elliptical-slider > .qode-elliptical-slider-slides"),o=600,n=!1;void 0!==t.data("animation-speed")&&!1!==t.data("animation-speed")&&(o=t.data("animation-speed")),"yes"==t.data("autoplay")&&(n=!0),e.flexslider({selector:".qode-elliptical-slider-slides > .qode-elliptical-slide",animationLoop:!0,controlNav:!0,directionNav:!1,useCSS:!1,pauseOnAction:!0,pauseOnHover:!0,slideshow:n,animationSpeed:o,slideshowSpeed:5e3,touch:!0})})}function qodeInitPricingCalculator(){var e=$j(".qode-pricing-calculator");e.length&&e.each(function(){var n=$j(this),e=$j(this).find(".qode-pricing-calculator-item"),i=0;e.each(function(){var e=$j(this),t=e.data("price"),o=e.find("input");o.prop("checked")&&(i+=t),e.on("change",function(e){o.prop("checked")?i+=t:i-=t,n.find(".qode-pricing-calculator-total-price").text(i)})})})}function qodeSlidingImageHolder(){var e=$j(".qode-sliding-image-holder");e.length&&e.each(function(){var e,a,t=$j(this);$j("html").hasClass("touch")&&$j("html").hasClass("touchevents")||(qodeRequestAnimationFrame(),e=t.find(".qode-sliding-image-background-image"),0==(a=Math.round(e.width()))&&(a=1920),t.find(".qode-aux-background-image").css("left",a),e.each(function(e){var t=$j(this),o=0,n=1,i=function(){o-=n,Math.round(t.offset().left)<=-a&&(t.css("left",parseInt(a-2*n)),o=0),t.css("transform","translate3d("+o+"px,0,0)"),requestNextAnimationFrame(i)};$j(window).on("load",function(){i(),$j("html").addClass("qode-sliding-image-holder-initialized")}),$j("html").hasClass("qode-sliding-image-holder-initialized")||i()}))})}function qodeRequestAnimationFrame(){window.requestNextAnimationFrame=function(){var o,e,n=void 0,t=navigator.userAgent,i=this;return window.webkitRequestAnimationFrame&&(o=function(e){void 0===e&&(e=+new Date),i.callback(e)},n=window.webkitRequestAnimationFrame,window.webkitRequestAnimationFrame=function(e,t){i.callback=e,n(o,t)}),window.mozRequestAnimationFrame&&(e=t.indexOf("rv:"),-1!=t.indexOf("Gecko"))&&"2.0"===t.substr(e+3,3)&&(window.mozRequestAnimationFrame=void 0),window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e,t){var o,n;window.setTimeout(function(){o=+new Date,e(o),n=+new Date,i.timeout=1e3/60-(n-o)},i.timeout)}}()}function qodePageTransitionEffect(){var o=$j("body.qode-page-loading-effect-enabled > .qode-page-loading-effect-holder");o.length&&(o.fadeOut(500),$j(window).bind("pageshow",function(e){e.originalEvent.persisted&&o.fadeOut(500)}),$j("a").on("click",function(e){var t=$j(this);!(1==e.which&&0<=t.attr("href").indexOf(window.location.host)&&void 0===t.data("rel")&&void 0===t.attr("rel"))||t.hasClass("qode-like")||t.parents(".blog_load_more_button")||t.parents(".qode-single-product-images")||void 0!==t.attr("target")&&"_self"!==t.attr("target")||t.attr("href").split("#")[0]===window.location.href.split("#")[0]||(e.preventDefault(),o.addClass("qode-hide-spinner"),o.fadeIn(500,function(){window.location=t.attr("href")}))}))}function qodeInitAccordions(){var e=$j(".qode-accordion-holder");e.length&&e.each(function(){var e,t,o=$j(this);o.hasClass("qode-accordion")&&o.accordion({animate:"easeInOutQuint",collapsible:!0,active:0,icons:"",heightStyle:"content"}),o.hasClass("qode-toggle")&&(t=(e=(o=$j(this)).find(".qode-title-holder")).next(),o.addClass("accordion ui-accordion ui-accordion-icons ui-widget ui-helper-reset"),e.addClass("ui-accordion-header ui-state-default ui-corner-top ui-corner-bottom"),t.addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").hide(),e.each(function(){var t=$j(this);t.hover(function(){t.toggleClass("ui-state-hover")}),t.on("click",function(e){e.preventDefault(),e.stopImmediatePropagation(),t.toggleClass("ui-accordion-header-active ui-state-active ui-state-default ui-corner-bottom"),t.next().toggleClass("ui-accordion-content-active").slideToggle(300)})}))})}function qodeInitInteractiveIconShowcase(){var e=$j(".qode-int-icon-showcase"),c=$j(".no_animation_on_touch");e.length&&e.each(function(){var o,n=$j(this),e=n.find(".qode-showcase-item-holder"),t=n.find(".qode-showcase-icon"),i=(n.find(".qode-showcase-content"),n.find(".qode-showcase-item-holder:first-child")),a=n.find(".qode-showcase-item-holder.qode-showcase-active"),r=!1,d=!1,s=3e3,l=e.length;void 0!==n.data("interval")&&!1!==n.data("interval")&&(s=n.data("interval")),c.length?(i.addClass("qode-showcase-active"),r=!0):n.appear(function(){setTimeout(function(){n.addClass("qode-appeared"),a.length||(r=!0,i.addClass("qode-showcase-active"),n.hasClass("qode-autoplay")&&(o=0,setInterval(function(){d||(e.removeClass("qode-showcase-active qode-current"),o==l-1?o=0:o++,e.eq(o).addClass("qode-showcase-active"))},s),n.hover(function(e){d=!0},function(e){d=!1})))},30)},{accX:0,accY:-200}),t.each(function(){var e=$j(this),t=e.parent();e.mouseenter(function(){1==r&&(t.siblings().removeClass("qode-showcase-active qode-current"),t.addClass("qode-showcase-active qode-current"),o=n.find(".qode-current").index())})})})}function qodeInitSendContactForm(){var e=$j(".qode-contact-form-contact-template");e.length&&e.each(function(){var o=$j(this);o.on("submit",function(e){e.preventDefault();var t=!0;o.find(".contact-error").remove(),o.parent().find(".contact-success").remove(),o.find(".requiredField").each(function(){var e=$j(this);""==jQuery.trim(e.val())||jQuery.trim(e.val())==jQuery.trim(e.attr("placeholder"))?(e.parent().append('<strong class="contact-error">'+o.data("required-message")+"</strong>"),e.addClass("inputError"),t=!1):!e.hasClass("email")||/^([\w-\.]+@([\w-]+\.)+[\w-]{2,6})?$/.test(jQuery.trim(e.val()))||(e.parent().append('<strong class="contact-error">'+o.data("wrong-email-message")+"</strong>"),e.addClass("inputError"),t=!1)}),t&&(e={action:"bridge_core_send_contact_page_form",form_data:o.serialize(),contact_page_nonce:o.find("#bridge_qode_contact_page_nonce").val()},$j.ajax({type:"POST",data:e,url:QodeAdminAjax.ajaxurl,success:function(e){e=JSON.parse(e);"success"==e.status?(o.before('<div class="contact-success"><p>'+e.message+"</p></div>"),o.hide()):o.before('<div class="contact-success"><p>'+e.message+"</p></div>")}}))})})}function qodeRecaptchaCallback(){var e=$j("#qode-captcha-element-holder");e.length&&grecaptcha.render("qode-captcha-element-holder",{sitekey:e.data("sitekey")})}function qodeWorkflow(){var e=$j(".qode-workflow");e.length&&e.each(function(){var e,t=$j(this);t.hasClass("qode-workflow-animate")&&(e=t.find(".qode-workflow-item"),t.appear(function(){t.addClass("qode-appeared"),setTimeout(function(){e.each(function(e){var t=$j(this);setTimeout(function(){t.addClass("qode-appeared")},350*e)})},350)},{accX:0,accY:-$window_height/3}))})}function getLoadMoreData(e){var t,o=e.data(),n={};for(t in o)o.hasOwnProperty(t)&&void 0!==o[t]&&!1!==o[t]&&(n[t]=o[t]);return n}function setLoadMoreAjaxData(e,t){var o,n={action:t};for(o in e)e.hasOwnProperty(o)&&void 0!==e[o]&&!1!==e[o]&&(n[o]=e[o]);return n}function qodeScrollingImage(){var e=$j(".qode-scrolling-image-holder");e.length&&e.each(function(){function e(){t=d.height(),o=s.height(),n=Math.round(o-t),i=2*Math.round(o/t),t<o&&(l=!0)}var t,o,n,i,a=$j(this),r=a.find(".qode-si-content-holder"),d=a.find(".qode-si-frame"),s=a.find(".qode-si-image"),l=!1;a.waitForImages(function(){a.css("visibility","visible"),e(),r.mouseenter(function(){s.css("transition-duration",i+"s"),s.css("transform","translate3d(0px, -"+n+"px, 0px)")}),r.mouseleave(function(){l&&(s.css("transition-duration",Math.min(i/3,3)+"s"),s.css("transform","translate3d(0px, 0px, 0px)"))})}),$j(window).resize(function(){e()})})}function animationEventEnd(){var e,t=document.createElement("animationDetector"),o={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"animationend",WebkitAnimation:"webkitAnimationEnd"};for(e in o)if(void 0!==t.style[e])return o[e]}function transitionEventEnd(){var e,t=document.createElement("transitionDetector"),o={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",transition:"transitionend"};for(e in o)if(void 0!==t.style[e])return o[e]}function qodeContactPageAcceptance(){var e=$j(".qode-contact-form-contact-template"),t=e.find(".contact_form_acceptance .contact_form_acceptance_value"),o=e.find(".contact_form_button");t.length&&t.each(function(){var e=$j(this);o.attr("disabled","disabled"),e.change(function(){e.is(":checked")?o.removeAttr("disabled"):o.attr("disabled","disabled")})})}function qodePanelArea(){var t,e=$j(".qode-panel-area"),o=$j("a.qode_panel_area_opener"),n=$j(".qode-close-panel"),i=$j(".wrapper");e.length&&o.length&&(e.outerHeight()>=$window_height&&e.height($window_height),"object"==typeof qode.modules.niceScroll&&qode.modules.niceScroll.initNiceScroll(e),t=function(){qode_body.hasClass("qode-panel-area-opened")&&qode_body.removeClass("qode-panel-area-opened")},o.on("click",function(e){e.preventDefault(),e.stopPropagation(),qode_body.hasClass("qode-panel-area-opened")?t():qode_body.hasClass("qode-panel-area-opened")||qode_body.addClass("qode-panel-area-opened")}),n.on("click",function(e){e.preventDefault(),t()}),i.on("click",function(e){qode_body.hasClass("qode-panel-area-opened")&&t()}))}(n=>{var e={};function t(){o()}function o(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/global",function(){var e;initParallax(),(e=n(".parallax_section_holder")).length&&e.each(function(){var e=n(this),t=e.find(".qode-parallax-helper-holder"),o=1;t.length&&void 0!==t.data("speed")&&""!==t.data("speed")&&(o=t.data("speed")),e.parallax("50%",.4*o)}),initFullScreenTemplate(),"object"==typeof qode.modules.stickyWidget&&qode.modules.stickyWidget.qodeInitStickyWidget()})})}(qode.modules.elementorGlobal=e).qodeInitElementorGlobal=o,e.qodeOnWindowLoad=t,n(window).on("load",t)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_animation_holder.default",function(){initElementsAnimation()})})}(qode.modules.elementorAnimationHolder=t).qodeInitElementorAnimationHolder=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(n=>{var e={};function t(){o()}function o(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_action.default",function(){initButtonHover()})}),$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/global",function(){var e;initParallax(),(e=n(".parallax_section_holder")).length&&e.each(function(){var e=n(this),t=e.find(".qode-parallax-helper-holder"),o=1;t.length&&void 0!==t.data("speed")&&""!==t.data("speed")&&(o=t.data("speed")),e.parallax("50%",.4*o)}),initFullScreenTemplate()})})}(qode.modules.elementorAction=e).qodeInitElementorAction=o,e.qodeOnWindowLoad=t,n(window).on("load",t)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_button.default",function(){initButtonHover(),initEnlargeButton()})})}(qode.modules.elementorButton=t).qodeInitElementorButton=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_content_slider.default",function(){initContentSlider()})})}(qode.modules.elementorContentSlider=t).qodeInitElementorContentSlider=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_cover_boxes.default",function(){initCoverBoxes()})})}(qode.modules.elementorCoverBoxes=t).qodeInitElementorCoverBoxes=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_fullscreen_sections.default",function(){initFullScreenTemplate()})})}(qode.modules.elementorFullscreenSections=t).qodeInitElementorFullscreenSections=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_expanding_images.default",function(){initExpandingImages()})})}(qode.modules.elementorExpandingImages=t).qodeInitElementorExpandingImages=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_horizontal_marquee.default",function(){initHorizontalMarquee(),qodeHorizontalMarqueeLoop()})})}(qode.modules.elementorHorizontalMarquee=t).qodeInitElementorHorizontalMarquee=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_icon.default",function(){initIconShortcodeHover(),initIconWithTextAnimation()})})}(qode.modules.elementorIcon=t).qodeInitElementorIcon=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_image_gallery.default",function(){initFlexSlider()})})}(qode.modules.elementorImageGallery=t).qodeInitElementorImageGallery=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_icon_text.default",function(){initIconWithTextHover(),initIconShortcodeHover(),initIconWithTextAnimation()})})}(qode.modules.elementorIconText=t).qodeInitElementorIconText=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_image_hover.default",function(){initImageHover()})})}(qode.modules.elementorImageHover=t).qodeInitElementorImageHover=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_in_device_slider.default",function(){initInDeviceSlider()})})}(qode.modules.elementorInDeviceSlider=t).qodeInitElementorInDeviceSlider=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_masonry_gallery.default",function(){initMasonryGallery()})})}(qode.modules.elementorMasonryGallery=t).qodeInitElementorMasonryGallery=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_masonry_blog.default",function(){initQBlog()})})}(qode.modules.elementorMasonryBlog=t).qodeInitElementorMasonryBlog=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_message.default",function(){initMessages(),initMessageHeight()})})}(qode.modules.elementorMessage=t).qodeInitElementorMessage=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_old_accordion.default",function(){initAccordion()})})}(qode.modules.elementorOldAccordion=t).qodeInitElementorOldAccordion=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_parallax_layers.default",function(){parallaxLayers()})})}(qode.modules.elementorParallaxLayers=t).qodeInitElementorParallaxLayers=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_old_tab.default",function(){initTabs()})})}(qode.modules.elementorOldTab=t).qodeInitElementorOldTab=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_product_list_elegant.default",function(){initEnlargeButton()})})}(qode.modules.elementorProductListElegant=t).qodeInitElementorProductListElegant=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_preview_slider.default",function(){initPreviewSlider()})})}(qode.modules.elementorPreviewSlider=t).qodeInitElementorPreviewSlider=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),jQuery(window).on("load",function(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_product_list_pinterest.default",function(){qodeInitProductListMasonryPinterestShortcode()})})}),jQuery(window).on("load",function(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_product_list_masonry.default",function(){qodeInitProductListMasonryPinterestShortcode()})})}),jQuery(window).on("load",function(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_social_icons.default",function(){initSocialIconHover()})})}),jQuery(window).on("load",function(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_testimonials.default",function(){initTestimonials()})})}),jQuery(window).on("load",function(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_testimonials_carousel.default",function(){initTestimonialsCarousel()})})}),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_accordion.default",function(){qodeInitAccordions()})})}(qode.modules.elementorAccordion=t).qodeInitElementorAccordion=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),jQuery(window).on("load",function(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_unordered_list.default",function(){initListAnimation()})})}),(d=>{var e={};function t(){o()}function o(){var e=d(".qode-advanced-image-gallery.qode-aig-masonry-type");e.length&&e.each(function(){var e,t,o,n,i=d(this),a=i.find(".qode-aig-masonry"),r=i.find(".qode-aig-grid-sizer").width();i.hasClass("qode-aig-images-fixed")&&(e=parseInt(i.find(".qode-aig-image").css("padding-left")),t=i.find(".qode-aig-default-masonry-item"),o=i.find(".qode-aig-large-width-masonry-item"),n=i.find(".qode-aig-large-height-masonry-item"),i=i.find(".qode-aig-large-masonry-item"),680<qode.windowWidth?(t.css("height",r-2*e),n.css("height",Math.round(2*r)-2*e),i.css("height",Math.round(2*r)-2*e),o.css("height",r-2*e)):(t.css("height",r-2*e),n.css("height",2*r-2*e),i.css("height",r-2*e),o.css("height",Math.floor(r/2)-2*e))),a.waitForImages(function(){a.isotope({layoutMode:"packery",itemSelector:".qode-aig-image",percentPosition:!0,packery:{gutter:".qode-aig-grid-gutter",columnWidth:".qode-aig-grid-sizer"}}),setTimeout(function(){a.isotope("layout"),initParallax()},800),a.css("opacity","1")})})}(qode.modules.imageGallery=e).qodeInitAdvancedImageGalleryMasonry=o,e.qodeOnWindowLoad=t,d(window).on("load",t)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_advanced_image_gallery.default",function(){qode.modules.owlSlider.qodeOwlSlider(),qode.modules.imageGallery.qodeInitAdvancedImageGalleryMasonry()})})}(qode.modules.elementorImageGallery=t).qodeInitElementorAdvancedImageGalleryMasonry=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_tabs.default",function(){qodeInitAdvancedTabs(),qodeInitAdvancedTabsIcons()})})}(qode.modules.elementorAdvancedTabs=t).qodeInitElementorAdvancedTabs=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_button_v2.default",function(){qodeV2Button().init()})})}(qode.modules.elementorButtonV2=t).qodeInitElementorButtonV2=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_call_to_action_section.default",function(){qodeCTASection().init()})})}(qode.modules.elementorCallToActionSection=t).qodeInitElementorCallToActionSection=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){qodeCardsGallery(),elementorFrontend.hooks.addAction("frontend/element_ready/bridge_cards_gallery.default",function(){qodeCardsGallery()})})}(qode.modules.elementorCardsGallery=t).qodeInitElementorCardsGallery=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_cards_slider.default",function(){qodeCardsSlider().init()})})}(qode.modules.elementorCardsSlider=t).qodeInitElementorCardsSlider=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_elliptical_slider.default",function(){qodeInitEllipticalSlider()})})}(qode.modules.elementorEllipticalSlider=t).qodeInitElementorEllipticalSlider=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_expendable_section.default",function(){initMoreFacts()})})}(qode.modules.elementorExpendableSection=t).qodeInitElementorExpendableSection=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_content_menu.default",function(){createContentMenu(),createSelectContentMenu(),contentMenuPosition(),contentMenuCheckLastSection(),contentMenuScrollTo()})})}(qode.modules.elementorContentMenu=t).qodeInitElementorContentMenu=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_horizontal_timeline.default",function(){qode.modules.timeline.qodeInitHorizontalTimeline()})})}(qode.modules.elementorHorizontalTimeline=t).qodeInitElementorHorizontalTimeline=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(w=>{var e={};function t(){o()}function o(){var e=w(".qode-horizontal-timeline"),h=120;function u(e,t,o){var n=d(e.eventsWrapper),i=Number(e.timelineWrapper.css("width").replace("px",""));"next"===o?r(e,n-i+h,i-t):r(e,n+i-h)}function _(e,t,o){var n,i=e.eventsContent.find(".selected");0<("next"===o?i.next():i.prev()).length&&(i=e.eventsWrapper.find(".selected"),m(n=("next"===o?i.parent("li").next("li"):i.parent("li").prev("li")).children("a"),e.fillingLine,t),p(n,e.eventsContent),n.addClass("selected"),i.removeClass("selected"),g(n),f(o,n,e))}function f(e,t,o){var t=window.getComputedStyle(t.get(0),null),t=Number(t.getPropertyValue("left").replace("px","")),n=Number(o.timelineWrapper.css("width").replace("px","")),i=Number(o.eventsWrapper.css("width").replace("px","")),a=d(o.eventsWrapper);("next"===e&&n-a<t||"prev"==e&&t<-a)&&r(o,n/2-t,n-i)}function r(e,t,o){t=0<t?0:t,i(e.eventsWrapper.get(0),"translateX",(t=void 0!==o&&t<o?o:t)+"px"),0===t?e.timelineNavigation.find(".qode-prev").addClass("inactive"):e.timelineNavigation.find(".qode-prev").removeClass("inactive"),t===o?e.timelineNavigation.find(".qode-next").addClass("inactive"):e.timelineNavigation.find(".qode-next").removeClass("inactive")}function m(e,t,o){var e=window.getComputedStyle(e.get(0),null),n=e.getPropertyValue("left"),e=e.getPropertyValue("width"),e=(n=Number(n.replace("px",""))+Number(e.replace("px",""))/2)/o;i(t.get(0),"scaleX",e)}function p(e,t){var o,n,e=e.data("date"),i=t.find(".selected"),a=t.find('[data-date="'+e+'"]'),e=a.height();n=a.index()>i.index()?(o="selected qode-enter-right","qode-leave-left"):(o="selected qode-enter-left","qode-leave-right"),a.attr("class",o),i.attr("class",n).one("webkitAnimationEnd oanimationend msAnimationEnd animationend",function(){i.removeClass("qode-leave-right qode-leave-left"),a.removeClass("qode-enter-left qode-enter-right")}),t.css("height",e+"px")}function g(e){e.parent("li").prevAll("li").children("a").addClass("older-event").end().end().nextAll("li").children("a").removeClass("older-event")}function d(e){var e=window.getComputedStyle(e.get(0),null),e=e.getPropertyValue("-webkit-transform")||e.getPropertyValue("-moz-transform")||e.getPropertyValue("-ms-transform")||e.getPropertyValue("-o-transform")||e.getPropertyValue("transform");return e=0<=e.indexOf("(")?(e=(e=(e=e.split("(")[1]).split(")")[0]).split(","))[4]:0,Number(e)}function i(e,t,o){e.style["-webkit-transform"]=t+"("+o+")",e.style["-moz-transform"]=t+"("+o+")",e.style["-ms-transform"]=t+"("+o+")",e.style["-o-transform"]=t+"("+o+")",e.style.transform=t+"("+o+")"}function $(e,t){return Math.round(t-e)}function j(e){for(var t=e.offsetTop,o=e.offsetLeft,n=e.offsetWidth,i=e.offsetHeight;e.offsetParent;)t+=(e=e.offsetParent).offsetTop,o+=e.offsetLeft;return t<window.pageYOffset+window.innerHeight&&o<window.pageXOffset+window.innerWidth&&t+i>window.pageYOffset&&o+n>window.pageXOffset}function v(){return window.getComputedStyle(document.querySelector(".qode-horizontal-timeline"),"::before").getPropertyValue("content").replace(/'/g,"").replace(/"/g,"")}680<qode.windowWidth&&qode.windowWidth<=1024?h=60:qode.windowWidth<680&&(h=105),e.length&&e.each(function(){for(var o,t=w(this),n={},e=(n.timelineWrapper=t.find(".qode-events-wrapper"),n.eventsWrapper=n.timelineWrapper.children(".qode-events"),n.fillingLine=n.eventsWrapper.children(".qode-filling-line"),n.timelineEvents=n.eventsWrapper.find("a"),n.timelineDates=(o=[],n.timelineEvents.each(function(){var e=w(this).data("date").split("T"),t=(e=1<e.length?(t=e[0].split("/"),e[1].split(":")):0<=e[0].indexOf(":")?(t=["2000","0","0"],e[0].split(":")):(t=e[0].split("/"),["0","0"]),new Date(t[2],t[1]-1,t[0],e[0],e[1]));o.push(t)}),o),n.eventsMinLapse=(e=>{for(var t=[],o=1;o<e.length;o++){var n=$(e[o-1],e[o]);t.push(n)}return Math.min.apply(null,t)})(n.timelineDates),n.timelineNavigation=t.find(".qode-timeline-navigation"),n.eventsContent=t.children(".qode-events-content"),n.eventsWrapper.find("ol li:first-child a").addClass("selected"),n.eventsContent.find("ol li:first-child").addClass("selected"),n),i=h,a=t,r=!1,d=0;d<e.timelineDates.length;d++){var s=$(e.timelineDates[0],e.timelineDates[d]),s=Math.round(s/e.eventsMinLapse)+1;e.timelineEvents.eq(d).css("left",s*i-24+"px"),r=s*i<a.outerWidth()-80}if(r){(e=>{e.timelineNavigation.find(".qode-prev").addClass("inactive"),e.timelineNavigation.find(".qode-next").addClass("inactive")})(e);for(var l=(a.outerWidth()-80-24*(e.timelineDates.length-1))/(e.timelineDates.length+1),d=0;d<e.timelineDates.length;d++)e.timelineEvents.eq(d).css("left",(d+1)*l+"px")}var c=((e,t,o)=>{var n=$(e.timelineDates[0],e.timelineDates[e.timelineDates.length-1])/e.eventsMinLapse;return(n=(n=Math.round(n)+2)*t)<o.outerWidth()-80&&(n=o.outerWidth()-80),e.eventsWrapper.css("width",n+"px"),m(e.eventsWrapper.find("a.selected"),e.fillingLine,n),f("next",e.eventsWrapper.find("a.selected"),e),n})(n,h,t);t.addClass("loaded"),n.timelineNavigation.on("click",".qode-next",function(e){e.preventDefault(),u(n,c,"next")}),n.timelineNavigation.on("click",".qode-prev",function(e){e.preventDefault(),u(n,c,"prev")}),n.eventsWrapper.on("click","a",function(e){e.preventDefault(),n.timelineEvents.removeClass("selected"),w(this).addClass("selected"),g(w(this)),m(w(this),n.fillingLine,c),p(w(this),n.eventsContent)}),n.eventsContent.on("swipeleft",function(){"mobile"==v()&&_(n,c,"next")}),n.eventsContent.on("swiperight",function(){"mobile"==v()&&_(n,c,"prev")}),w(document).keyup(function(e){"37"===e.which&&j(t.get(0))?_(n,c,"prev"):"39"===e.which&&j(t.get(0))&&_(n,c,"next")})})}(qode.modules.timeline=e).qodeInitHorizontalTimeline=o,e.qodeOnDocumentReady=t,w(document).ready(t)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_info_card_with_icon.default",function(){qodeIcon().init()})})}(qode.modules.elementorInfoCardWithIcon=t).qodeInitElementorInfoCardWithIcon=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_interactive_icon_showcase.default",function(){qodeInitInteractiveIconShowcase()})})}(qode.modules.elementorInteractiveIconShowcase=t).qodeInitElementorInteractiveIconShowcase=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(i=>{var e={};function t(){n()}function o(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/qode_interactive_links.default",function(){n()})})}function n(){var e=i(".qode-interactive-links");e.length&&e.each(function(){var e=i(this),o=e.find(".qode-il-titles-holder .qode-il-link"),n=e.find(".qode-il-image");o.length&&(o.eq(0).addClass("qode-active"),n.eq(0).addClass("qode-active"),o.each(function(){var t=i(this);t.on("mouseenter",function(){var e;t.hasClass("qode-active")||(e=t.data("index"),n.removeClass("qode-active"),o.removeClass("qode-active"),t.addClass("qode-active"),n.eq(e).addClass("qode-active"))})}))})}(qode.modules.interactiveLinks=e).qodeInteractiveLinks=n,e.qodeOnDocumentReady=t,e.qodeOnWindowLoad=o,i(document).ready(t),i(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_interactive_project_list.default",function(){qode.modules.interactiveProjectList.qodeInitInteractiveProjectList(),qode.modules.interactiveProjectList.qodeInitPortfolioInteractiveLinkShowcase()})})}(qode.modules.elementorInteractiveProjectList=t).qodeInitElementorInteractiveProjectList=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(r=>{var e={};function t(){var e;o(),n(),(e=r(".qode-interactive-project-list")).length&&e.each(function(){r(this).find(".qode-ipl-item").each(function(){var e=r(this).find(".qode-ipl-title:not(.qode-ipl-responsive-title)"),t=e.text();e.attr("data-title",t)})})}function o(){var e=r(".qode-interactive-project-list");e.length&&e.each(function(){var e=r(this),t=e.find(".qode-ipl-item"),o=e.find(".qode-ipl-right"),n=o.find(".qode-ipl-image"),i=0,a=0;n.each(function(){r(this).attr("img-index",i),r(this).data("img-index",i),i++}),t.each(function(){r(this).attr("data-index",a),r(this).data("data-index",a),a++}),t.each(function(){var e=r(this),t=e.find(".qode-ipl-title:not(.qode-ipl-responsive-title)"),o=e.find(".qode-pli-link");e.find(o).appendTo(t)}),t.on("mouseenter",function(){var e=r(this).data("data-index");n.css("opacity",0),o.find('.qode-ipl-image[img-index="'+e+'"]').css("opacity",1)}).on("mouseleave",function(){})})}function n(){var e=r(".qode-interactive-project-list");e.length&&e.each(function(){var t=r(this),o=t.find(".qode-ipl-right .qode-ipl-image"),n=t.find(".qode-ipl-left .qode-ipl-item");o.eq(0).addClass("qode-active"),n.eq(0).addClass("qode-active"),t.find('.qode-ipl-left .qode-ipl-item[data-index="0"]').addClass("qode-active"),n.children().on("touchstart mouseenter",function(){var e=r(this).parent(),e=parseInt(e.data("index"),10);o.removeClass("qode-active").eq(e).addClass("qode-active"),n.removeClass("qode-active"),t.find('.qode-ipl-left .qode-ipl-item[data-index="'+e+'"]').addClass("qode-active")})})}(qode.modules.interactiveProjectList=e).qodeInitInteractiveProjectList=o,e.qodeInitPortfolioInteractiveLinkShowcase=n,e.qodeOnDocumentReady=t,r(document).ready(t)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_intro_section.default",function(){qode.modules.introSection.qodeIntroSection()})})}(qode.modules.elementorIntroSection=t).qodeInitElementorIntroSection=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(s=>{var e={};function t(){o()}function o(){function e(){d.y=r.offset().top,d.h=r.outerHeight()}function t(){s(".qode-is-bg-wrapper").css({height:d.h+"px"})}var o,n,i,a,r=s(".qode-intro-section"),d={start:1.3,end:1.5};r.length&&((a=r).closest(".elementor-section").siblings().length&&a.closest(".elementor-section").siblings().css({position:"relative","z-index":10}),o=r,n=d,i=0,s(".qode-is-content-wrapper"),s(".qode-is-content"),s(".qode-is-subtitle"),s(".qode-is-title"),s(window).on("scroll",function(){n.downwards=i<=$scroll,i=$scroll,n.downwards;var e=o.outerHeight()/2.5,e=1-$scroll/e+1.7,t=o.find(".qode-is-title");t.attr("data-color"),t.attr("data-color-after-scroll"),o.find(".qode-is-subtitle"),t.attr("data-color"),t.attr("data-color-after-scroll"),o.find(".qode-is-content-btm"),t.attr("data-color"),t.attr("data-color-after-scroll"),e=(e=1<e?1:e)<0?0:e,o.find(".qode-is-bg-wrapper").css("opacity",e)}),(a=(a=r).find(".qode-is-content")).length&&a.addClass("qode--appear"),r.waitForImages(function(){e(),t()}),s(window).on("resize",function(){e(),t()}))}(qode.modules.introSection=e).qodeIntroSection=o,e.qodeOnDocumentReady=t,s(document).ready(t)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_item_showcase.default",function(){qodeLazyImages(),initItemShowcase()})})}(qode.modules.elementorItemShowcase=t).qodeInitElementorItemShowcase=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_pricing_calculator.default",function(){qodeInitPricingCalculator()})})}(qode.modules.elementorPricingCalculator=t).qodeInitElementorPricingCalculator=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),jQuery(window).on("load",function(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_product_list.default",function(){qodeInitProductListMasonryShortcode()})})}),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_portfolio_list_stacked.default",function(){qode.modules.ptfListStacked.qodeInitPortfolioListStacked().init()})})}(qode.modules.elementorPortfolioListStacked=t).qodeInitElementorPortfolioListStacked=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(m=>{var e={};function t(){n().init()}function o(){n().resize()}function n(){function e(){var n=1;qode.windowWidth<=1440&&1024<qode.windowWidth&&(n=.65),qode.windowWidth<=1024&&768<qode.windowWidth&&(n=.5),qode.windowWidth<=768&&414<qode.windowWidth&&(n=.4),qode.windowWidth<=414&&320<qode.windowWidth&&(n=.25),qode.windowWidth<=320&&(n=.2),l.items.each(function(){var e=m(this),t=(e.find("img")[0].naturalWidth/Math.min(qode.windowWidth,1920)*100).toFixed(2),o=(e.find("img")[0].naturalHeight/Math.min(qode.windowHeight,1080)*100).toFixed(2),t={width:t*n+"%",height:o*n+"%"};e.css(t)})}function t(){l.items.each(function(){var e=m(this),t=e.find(".qode-pls-item-inner"),o=1200<=qode.windowWidth?parseInt(e.data("x")):.88*parseInt(e.data("x")),n=1024<qode.windowWidth?parseInt(e.data("y")):parseInt(e.data("y"))+20;e.css({top:(n||50)+"%",left:(o||50)+"%"}),t.css("transform","translateX("+parseInt(isNaN(o)?-50:0)+"%) translateY("+parseInt(isNaN(n)?-50:0)+"%)")})}function o(){var e=l.items.filter(function(){return m(this).data("index")==l.activeIndex});"next"==l.direction&&c(e.find("img"))?(l.activeIndex++,l.activeIndex==l.total&&(l.deltaY=0),l.activeIndex=Math.min(l.activeIndex,l.total-1),e=_()):"prev"==l.direction&&0==e.data("move")&&(l.endOfScrollVisible&&u(),l.activeIndex--,l.activeIndex=Math.max(l.activeIndex,0),e=_()),!l.endOfScrollVisible&&"next"==l.direction&&l.activeIndex==l.total-1&&Math.abs(e.data("move"))>.1*e.find("img").height()&&h(),l.activeText.data("index")!==l.activeIndex&&f(),e.addClass("qode-active").data("move",Math.min(e.data("move")+l.deltaY,0)).css("transform","translate3d(0,"+Math.round(e.data("move")-.2*e.data("buffer"))+"px,0)").data("buffer",Math.abs(e.data("move")))}function n(){l.items.each(function(e){var t=m(this).find("img"),o=Math.round(l.tX*l.tilt*(e+1)),e=Math.round(l.tY*l.tilt*(e+1));t.css("transform","translateX("+o+"px) translateY("+e+"px)")})}function i(e){l.direction=-e.deltaY<0?"next":"prev",l.deltaY=-e.deltaY,3==Math.abs(l.deltaY)&&(l.deltaY=10*l.deltaY),requestAnimationFrame(o)}function a(e){l.tX=.5-e.screenX/qode.windowWidth,l.tY=.5-e.screenY/qode.windowHeight,requestAnimationFrame(n)}function r(e){l.data("y-start",parseInt(e.changedTouches[0].clientY))}function d(e){l.data("y-end",parseInt(e.changedTouches[0].clientY)),l.deltaY=l.data("y-end")-l.data("y-start"),l.direction=l.deltaY<0?"next":"prev",l.deltaY=Math.min(Math.max(l.deltaY,-20),100),requestAnimationFrame(o)}function s(e){l.on("mousemove",function(e){var t=e.clientX,o=e.clientY;requestAnimationFrame(function(){l.info.css({transform:"translate3d("+t+"px, "+o+"px, 0)"})})}),l.on("mousemove","img",function(e){var t=m(e.currentTarget).closest(l.items).data("index");l.info.data("active")!==t&&(e=l.textItems.filter(function(){return m(this).data("index")==t}).find(".qode-pls-title-holder").html(),l.info.data("active",t).addClass("qode-show"),l.info.find(".qode-pls-title-holder").html(e)),m(".qode-page-header").css("pointer-events","none")}),l.on("mouseleave","img",function(e){l.info.data("active",null).removeClass("qode-show"),m(".qode-page-header").css("pointer-events","auto")})}var l=m("#qode-portfolio-list-stacked"),c=(l.length&&(l.items=l.find(".qode-pls-item"),l.total=l.items.length,l.textItems=l.find(".qode-pls-text-item"),l.imgs=l.find("img"),l.info=m("#qode-pls-info"),l.endOfScrollVisible=!1,l.endOfScroll=l.find(".qode-pls-end-of-scroll"),l.activeIndex=0,l.activeText=l.textItems.first(),l.direction=null,l.deltaY=0,l.tilt=30,l.tX=0,l.tY=0,l.items.each(function(){m(this).data("move",0),m(this).data("buffer",0)})),function(e){return e.offset().top<=.97*-e.height()}),h=function(){l.endOfScrollVisible=!0,l.endOfScroll.addClass("qode-visible"),l.addClass("qode-eos")},u=function(){l.endOfScrollVisible=!1,l.endOfScroll.removeClass("qode-visible"),l.removeClass("qode-eos")},_=function(){return l.items.removeClass("qode-active"),l.items.filter(function(){return m(this).data("index")==l.activeIndex})},f=function(){l.textItems.removeClass("qode-active"),l.activeText=l.textItems.filter(function(){return m(this).data("index")==l.activeIndex}).addClass("qode-active")};return{init:function(){l.length&&(m("html").addClass("qode-overflow"),l.items.first().addClass("qode-active"),l.textItems.first().addClass("qode-active"),e(),t(),l.items.each(function(){var e=m(this);e.css({"z-index":l.total-e.data("index")})}),l.waitForImages(function(){l.addClass("qode-loaded"),Modernizr.touch||(document.body.addEventListener("wheel",i),document.body.addEventListener("mousemove",a),s()),Modernizr.touch&&(l[0].addEventListener("touchstart",r),l[0].addEventListener("touchmove",d))}))},resize:function(){l.length&&(t(),e())}}}(qode.modules.ptfListStacked=e).qodeOnWindowLoad=t,e.qodeOnWindowResize=o,e.qodeInitPortfolioListStacked=n,m(window).on("load",t),m(window).resize(o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_scrolling_image.default",function(){qodeScrollingImage()})})}(qode.modules.elementorScrollingImage=t).qodeInitElementorScrollingImage=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_sliding_image_holder.default",function(){qodeSlidingImageHolder()})})}(qode.modules.elementorSlidingImageHolder=t).qodeInitElementorSlidingImageHolder=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),jQuery(document).ready(function(){}),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_workflow.default",function(){qodeWorkflow()})})}(qode.modules.elementorWorkflow=t).qodeInitElementorWorkflow=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery);
window.addComment=function(v){var I,C,h,E=v.document,b={commentReplyClass:"comment-reply-link",commentReplyTitleId:"reply-title",cancelReplyId:"cancel-comment-reply-link",commentFormId:"commentform",temporaryFormId:"wp-temp-form-div",parentIdFieldId:"comment_parent",postIdFieldId:"comment_post_ID"},e=v.MutationObserver||v.WebKitMutationObserver||v.MozMutationObserver,r="querySelector"in E&&"addEventListener"in v,n=!!E.documentElement.dataset;function t(){d(),e&&new e(o).observe(E.body,{childList:!0,subtree:!0})}function d(e){if(r&&(I=g(b.cancelReplyId),C=g(b.commentFormId),I)){I.addEventListener("touchstart",l),I.addEventListener("click",l);function t(e){if((e.metaKey||e.ctrlKey)&&13===e.keyCode&&"a"!==E.activeElement.tagName.toLowerCase())return C.removeEventListener("keydown",t),e.preventDefault(),C.submit.click(),!1}C&&C.addEventListener("keydown",t);for(var n,d=function(e){var t=b.commentReplyClass;e&&e.childNodes||(e=E);e=E.getElementsByClassName?e.getElementsByClassName(t):e.querySelectorAll("."+t);return e}(e),o=0,i=d.length;o<i;o++)(n=d[o]).addEventListener("touchstart",a),n.addEventListener("click",a)}}function l(e){var t,n,d=g(b.temporaryFormId);d&&h&&(g(b.parentIdFieldId).value="0",t=d.textContent,d.parentNode.replaceChild(h,d),this.style.display="none",n=(d=(d=g(b.commentReplyTitleId))&&d.firstChild)&&d.nextSibling,d&&d.nodeType===Node.TEXT_NODE&&t&&(n&&"A"===n.nodeName&&n.id!==b.cancelReplyId&&(n.style.display=""),d.textContent=t),e.preventDefault())}function a(e){var t=g(b.commentReplyTitleId),t=t&&t.firstChild.textContent,n=this,d=m(n,"belowelement"),o=m(n,"commentid"),i=m(n,"respondelement"),r=m(n,"postid"),n=m(n,"replyto")||t;d&&o&&i&&r&&!1===v.addComment.moveForm(d,o,i,r,n)&&e.preventDefault()}function o(e){for(var t=e.length;t--;)if(e[t].addedNodes.length)return void d()}function m(e,t){return n?e.dataset[t]:e.getAttribute("data-"+t)}function g(e){return E.getElementById(e)}return r&&"loading"!==E.readyState?t():r&&v.addEventListener("DOMContentLoaded",t,!1),{init:d,moveForm:function(e,t,n,d,o){var i,r,l,a,m,c,s,e=g(e),n=(h=g(n),g(b.parentIdFieldId)),y=g(b.postIdFieldId),p=g(b.commentReplyTitleId),u=(p=p&&p.firstChild)&&p.nextSibling;if(e&&h&&n){void 0===o&&(o=p&&p.textContent),a=h,m=b.temporaryFormId,c=g(m),s=(s=g(b.commentReplyTitleId))?s.firstChild.textContent:"",c||((c=E.createElement("div")).id=m,c.style.display="none",c.textContent=s,a.parentNode.insertBefore(c,a)),d&&y&&(y.value=d),n.value=t,I.style.display="",e.parentNode.insertBefore(h,e.nextSibling),p&&p.nodeType===Node.TEXT_NODE&&(u&&"A"===u.nodeName&&u.id!==b.cancelReplyId&&(u.style.display="none"),p.textContent=o),I.onclick=function(){return!1};try{for(var f=0;f<C.elements.length;f++)if(i=C.elements[f],r=!1,"getComputedStyle"in v?l=v.getComputedStyle(i):E.documentElement.currentStyle&&(l=i.currentStyle),(i.offsetWidth<=0&&i.offsetHeight<=0||"hidden"===l.visibility)&&(r=!0),"hidden"!==i.type&&!i.disabled&&!r){i.focus();break}}catch(e){}return!1}}}}(window);
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_toggleBehaviour(),vc_tabsBehaviour(),vc_accordionBehaviour(),vc_teaserGrid(),vc_carouselBehaviour(),vc_slidersBehaviour(),vc_prettyPhoto(),vc_pinterest(),vc_progress_bar(),vc_plugin_flexslider(),vc_gridBehaviour(),vc_rowBehaviour(),vc_prepareHoverBox(),vc_googleMapsPointer(),vc_ttaActivation(),vc_ttaToggleBehaviour(),jQuery(document).trigger("vc_js"),window.setTimeout(vc_waypoints,500)}),"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),i=e.attr("data-flex_fx"),o=0==t?!1:!0;e.is(":visible")&&setTimeout(function(){e.flexslider({animation:i,slideshow:o,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"),i=t.data("percentage-value");setTimeout(function(){t.css({width:i+"%"})},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,o;jQuery.ui&&(e=e||jQuery(".wpb_tabs, .wpb_tour"),t=jQuery.ui&&jQuery.ui.version?jQuery.ui.version.split("."):"1.10",o=1===parseInt(t[0],10)&&parseInt(t[1],10)<9,e.each(function(){var e=jQuery(this).attr("data-interval"),t=[],i=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{i.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(),o?i.tabs("select",jQuery("a",this).attr("href")):i.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(),o?(t=i.tabs("option","selected"),jQuery(this).parent().hasClass("wpb_next_slide")?t++:t--,t<0?t=i.tabs("length")-1:t>=i.tabs("length")&&(t=0),i.tabs("select",t)):(t=i.tabs("option","active"),e=i.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,i.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),i=!1===t||"yes"===e.data("collapsible"),t=e.find(".wpb_accordion_wrapper").accordion({header:"> div > h3",autoHeight:!1,heightStyle:"content",active:t,collapsible:i,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 o={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"),i=t.attr("data-layout-mode");t.isotope({itemSelector:".isotope-item",layoutMode:void 0===o[i]?"fitRows":o[i]}),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,i=jQuery(this);i.hasClass("wpb_slider_nivo")?(0===(t=1e3*i.attr("data-interval"))&&(t=9999999999),jQuery.fn.nivoSlider&&!i.data("nivo-initialized")&&(i.data("nivo-initialized",!0),i.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",percentPosition:!0})}):i.find(".wpb_image_grid_ul").isotope({itemSelector:".isotope-item",layoutMode:"fitRows",percentPosition:!0}))})}),"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,i,o,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&&(c.removeAttr("data-vc-full-width-temp"),e=parseInt(c.css("margin-left"),10),t=parseInt(c.css("margin-right"),10),i=0-d.offset().left-e,o=s(window).width(),n={position:"relative",left:i="rtl"===c.css("direction")?(i=i-d.width()+o)+e+t:i,"box-sizing":"border-box",width:o,"max-width":o},c.css(n),c.data("vcStretchContent")||("rtl"===c.css("direction")?((a=i)<0&&(a=0),(r=i)<0&&(r=0)):(r=o-(a=(a=-1*i)<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:i,marginLeft:e,marginRight:t,elFull:d,width:o,maxWidth:o}))}),s(document).trigger("vc-full-width-row",e))}function t(){var e,t,i=s(".vc_row-o-full-height:first");i.length&&(e=s(window).height(),(t=i.offset().top)<e)&&i.css("min-height",100-t/(e/100)+"vh"),s(document).trigger("vc-full-height-row",i)}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,i,o;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+"%"),i=s(this).data("vcParallaxImage"),(o=vcExtractYoutubeId(i))?insertYoutubeVideoAsBackground(t,o):void 0!==i&&t.css("background-image","url("+i+")"),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,i=1;!1===t;){if(e.hasClass("columns_count_"+i))return t=!0,i;i++}}),"function"!=typeof window.wpb_prepare_tab_content&&(window.wpb_prepare_tab_content=function(e,t){var i=t.panel||t.newPanel,o=i.find(".vc_pie_chart:not(.vc_ready)"),n=i.find(".vc_round-chart"),a=i.find(".vc_line-chart"),r=i.find('[data-ride="vc_carousel"]');vc_carouselBehaviour(),vc_plugin_flexslider(i),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()}),i.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&i.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.length&&jQuery.fn.vcChat&&o.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=i.find(".isotope, .wpb_image_grid_ul"),o=i.find(".wpb_gmaps_widget"),0<t.length&&t.isotope("layout"),o.length&&!o.is(".map_ready")&&((n=o.find("iframe")).attr("src",n.attr("src")),o.addClass("map_ready")),i.parents(".isotope").length&&i.parents(".isotope").each(function(){jQuery(this).isotope("layout")}),c(document).trigger("wpb_prepare_tab_content",i)}),"function"!=typeof window.vc_ttaActivation&&(window.vc_ttaActivation=function(){jQuery("[data-vc-accordion]").on("show.vc.accordion",function(e){var t=window.jQuery,i={};i.newPanel=t(this).data("vc.accordion").getTarget(),window.wpb_prepare_tab_content(e,i)})}),"function"!=typeof window.vc_accordionActivate&&(window.vc_accordionActivate=function(e,t){var i,o,n,a;t.newPanel.length&&t.newHeader.length&&(i=t.newPanel.find(".vc_pie_chart:not(.vc_ready)"),o=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),i.length&&jQuery.fn.vcChat&&i.vcChat(),o.length&&jQuery.fn.vcRoundChart&&o.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,i=jQuery(this);i.data("vcVideoBg")?(e=i.data("vcVideoBg"),(e=vcExtractYoutubeId(e))&&(i.find(".vc_video-bg").remove(),insertYoutubeVideoAsBackground(i,e)),jQuery(window).on("grid:items:added",function(e,t){i.has(t).length&&vcResizeVideoBackground(i)})):i.find(".vc_video-bg").remove()})}),"function"!=typeof window.insertYoutubeVideoAsBackground&&(window.insertYoutubeVideoAsBackground=function(e,t,i){if("undefined"==typeof YT||void 0===YT.Player)return 100<(i=void 0===i?0:i)?void console.warn("Too many attempts to load YouTube api"):void setTimeout(function(){insertYoutubeVideoAsBackground(e,t,i++)},100);var o=e.prepend('<div class="vc_video-bg"><div class="inner"></div></div>').find(".inner");new YT.Player(o[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,i,o,n,a=e.innerWidth(),r=e.innerHeight();a/r<16/9?(t=r*(16/9),i=r,o=-Math.round((t-a)/2)+"px",n=-Math.round((i-r)/2)+"px"):(i=(t=a)*(9/16),n=-Math.round((i-r)/2)+"px",o=-Math.round((t-a)/2)+"px"),t+="px",i+="px",e.find(".vc_video-bg iframe").css({maxWidth:"1000%",marginLeft:o,marginTop:n,width:t,height:i})}),"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"),i=(t.css("min-height",0),e.find(".vc-hoverbox-front-inner").outerHeight()),e=e.find(".vc-hoverbox-back-inner").outerHeight(),i=e<i?i:e;t.css("min-height",(i=i<250?250:i)+"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);
!function(e){var i={init:function(i){return i=e.extend({},e.fn.lemmonSlider.defaults,i),this.each((function(){var n=e(this);if(!n.data("slider")){var o=n.find(i.slider),s=n.next().filter(".controls"),l=o.find(i.items),r=1;l.each((function(){r+=e(this).outerWidth(!0)})),o.width(r),i.slideToLast&&o.css("padding-right",n.width()),i.infinite&&(n.data("slider-infinite",!0),r*=3,o.width(r),l.clone(!0,!0).addClass("-after").insertAfter(l.filter(":last")),l.filter(":first").before(l.clone(!0,!0).addClass("-before")),l=o.find(i.items)),n.items=l,n.options=i,t({},n,0,0,0),n.bind("nextSlide",(function(s,r){var f=n.scrollLeft(),d=0,a=0;l.each((function(t){0==d&&parseInt(e(this).position().left-1)>i.offset&&(d=parseInt(e(this).position().left-1),a=t)})),d>0&&o.outerWidth()-f-n.width()-1>0?t(s,n,f+d,a,"slow"):i.loop&&t(s,n,0,0,"slow")})),n.bind("prevSlide",(function(s,r){var f=n.scrollLeft(),d=0,a=0;if(l.each((function(t){e(this).position().left<i.offset&&(d=e(this).position().left,a=t)})),d)t(s,n,f+d,a,"slow");else if(i.loop){var c=o.outerWidth()-n.width(),p=l.filter(":last").position().left;a=l.size()-1,t(s,n,c>p?p:c,a,"slow")}})),n.bind("nextPage",(function(o,s){var f=n.scrollLeft(),d=n.width(),a=0,c=0;l.each((function(i){e(this).position().left<d&&(a=e(this).position().left,c=i)})),a>0&&f+d+1<r?t(o,n,f+a,c,"slow"):i.loop&&t(o,n,0,0,"slow")})),n.bind("prevPage",(function(s,r){var f=n.scrollLeft(),d=n.width(),a=0;if(l.each((function(i){e(this).position().left<1-d&&(a=e(this).next().position().left,slide=i)})),f)0==a?t(s,n,0,0,"slow"):t(s,n,f+a,slide,"slow");else if(i.loop){var c=o.outerWidth()-n.width(),p=l.filter(":last").position().left;c>p?n.animate({scrollLeft:p},"slow"):n.animate({scrollLeft:c},"slow")}})),n.bind("slideTo",(function(e,i,o){t(e,n,n.scrollLeft()+l.filter(":eq("+i+")").position().left,i,o)})),s.find(".next-slide").click((function(){return n.trigger("nextSlide"),!1})),s.find(".prev-slide").click((function(){return n.trigger("prevSlide"),!1})),s.find(".next-page").click((function(){return n.trigger("nextPage"),!1})),s.find(".prev-page").click((function(){return n.trigger("prevPage"),!1})),n.data("slider",{target:n,options:i})}}))},addItem:function(t){t=e.extend({},e.fn.lemmonSlider.defaults,t);var n=e(this),o=n.find(t.slider);n.next().filter(".controls"),o.find(t.items);if(t.infinite=n.data("slider-infinite"),!t.item)return!1;i.destroy.apply(this),t.prepend?o.prepend(t.item):o.append(t.item),i.init.apply(this,[t])},destroy:function(){return this.each((function(){var i=e(this),t=i.next().filter(".controls"),n=i.find("> *:first > *");i.data("slider");i.unbind("nextSlide"),i.unbind("prevSlide"),i.unbind("nextPage"),i.unbind("prevPage"),i.unbind("slideTo"),t.find(".next-slide").unbind("click"),t.find(".prev-slide").unbind("click"),t.find(".next-page").unbind("click"),t.find(".next-page").unbind("click"),i.removeData("slider"),i.data("slider-infinite")&&e.merge(n.filter(".-before"),n.filter(".-after")).each((function(i,t){e(t).remove()}))}))}};function t(i,t,o,s,l){if(t.items.filter("li:eq("+s+")").addClass("active").siblings(".active").removeClass("active"),t.options.center){var r=e(t.items[s]);t.options.offset=Math.floor((e(".qode_image_gallery_holder").width()-r.width())/2)}if(void 0===l&&(l="slow"),l)t.animate({scrollLeft:o-t.options.offset},l,(function(){n(t)}));else{t.scrollLeft(o-t.options.offset),n(t)}}function n(e){var i=e.items.filter(".active");if(i.hasClass("-before")){var t=i.prevAll().size();i.removeClass("active"),i=e.items.filter(":not(.-before):eq("+t+")").addClass("active"),e.scrollLeft(e.scrollLeft()+i.position().left-e.options.offset)}else if(i.hasClass("-after")){t=i.prevAll(".-after").size();i.removeClass("active"),i=e.items.filter(":not(.-before):eq("+t+")").addClass("active"),e.scrollLeft(e.scrollLeft()+i.position().left-e.options.offset)}}e.fn.lemmonSlider=function(t,n){return i[t]?i[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?void e.error("Method "+t+" does not exist on jQuery.lemmonSlider"):i.init.apply(this,arguments)},e.fn.lemmonSlider.defaults={items:"> *",loop:!0,slideToLast:!1,slider:"> *:first",infinite:!0,center:!0,offset:0}}(jQuery);
!function(e){var n={};function o(){a()}function i(){d()}function a(){e(".qode_image_gallery_no_space").length&&(e(".qode_image_gallery_no_space").each(function(){e(this).animate({opacity:1},1e3),e(this).find(".qode_image_gallery_holder").lemmonSlider({infinite:!0})}),e(".qode_image_gallery_no_space").on("click","li:not(.active) a",function(){return!(800<window.innerWidth)}))}function d(){e(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_image_slider_no_space.default",function(){a()})})}(qode.modules.imageSliderNoSpace=n).initImageGallerySliderNoSpace=a,n.qodeInitElementorImageSliderNoSpace=d,n.qodeOnDocumentReady=o,n.qodeOnWindowLoad=i,e(document).ready(o),e(window).on("load",i)}(jQuery);
!function($){"use strict";function initQodeLike(){$(document).on("click",".qode-like",function(){var likeLink=$(this),id=$(this).attr("id");if(likeLink.hasClass("liked"))return!1;var type="";"undefined"!=typeof likeLink.data("type")&&(type=likeLink.data("type"));var $dataToPass={action:"qode_like",likes_id:id,type:type};return $.ajax({method:"POST",url:qodeLike.ajaxurl,data:$dataToPass,success:function(data){likeLink.html(data).addClass("liked").attr("title","You already like this!"),likeLink.find("span").css("opacity",1)}}),!1})}$(document).ready(function($){initQodeLike()})}(jQuery);
((r,d,l)=>{l={$div:null,settings:null,store:null,chatbox:!1,showed_at:0,is_ready:!1,is_mobile:/Mobile|Android|iPhone|iPad/i.test(navigator.userAgent),can_qr:r.QrCreator&&"function"==typeof QrCreator.render,...l},(r.joinchat_obj=l).$=function(t){return this.$div.querySelector(t)},l.$$=function(t){return this.$div.querySelectorAll(t)},l.send_event=function(o){if((o={event_category:this.settings.event_category||"JoinChat",event_label:"",event_action:"",chat_channel:"whatsapp",chat_id:"--",is_mobile:this.is_mobile?"yes":"no",page_location:location.href,page_title:d.title||"no title",...o}).event_label=o.event_label||o.link||"",o.event_action=o.event_action||o.chat_channel+": "+o.chat_id,delete o.link,d.dispatchEvent(new CustomEvent("joinchat:event",{detail:o,cancelable:!0}))){let t=r[this.settings.data_layer]||r[r.gtm4wp_datalayer_name]||r.dataLayerPYS||r.dataLayer;if("object"==typeof t){let n=r.gtag||function(){t.push(arguments)},s=void 0!==this.settings.ga_event?this.settings.ga_event:"generate_lead";if(s){let e={transport_type:"beacon",...o},i=(Object.keys(e).forEach(t=>{"page_location"===t?e[t]=e[t].substring(0,1e3):"page_referrer"===t?e[t]=e[t].substring(0,420):"page_title"===t?e[t]=e[t].substring(0,300):"string"==typeof e[t]&&(e[t]=e[t].substring(0,100))}),[]),a=t=>{i.includes(t)||(t.startsWith("G-")||t.startsWith("GT-"))&&(i.push(t),n("event",s,{send_to:t,...e}))};if(r.google_tag_data&&google_tag_data.tidr&&google_tag_data.tidr.destination)for(var h in google_tag_data.tidr.destination)a(h);t.forEach(t=>{"config"===t[0]&&t[1]&&a(t[1])})}this.settings.gads&&n("event","conversion",{send_to:this.settings.gads})}var e,i,a=o.event_category;delete o.event_category,"object"==typeof t&&t.push({event:a,...o}),"function"==typeof fbq&&("whatsapp"===o.chat_channel&&(i=""+(e=o.chat_id).substring(0,3)+"X".repeat(e.length-5)+e.substring(e.length-2),o.chat_id=i,o.event_label=o.event_label.replace(e,i),o.event_action=o.event_action.replace(e,i)),fbq("trackCustom",a,o))}},l.get_wa_link=function(t,e,i){e=void 0!==e?e:this.settings.message_send||"",i=void 0!==i?i:this.settings.whatsapp_web&&!this.is_mobile;i=new URL((i?"https://web.whatsapp.com/send?phone=":"https://wa.me/")+(t||this.settings.telephone));return e&&i.searchParams.set("text",e),i.toString()},l.track_click=function(t){var e;this.settings.tracking_url&&(e={trigger:t.trigger||"unknown",chat_channel:t.chat_channel||"",chat_id:t.chat_id||"",is_mobile:this.is_mobile?"1":"0"},d.dispatchEvent(new CustomEvent("joinchat:track",{detail:{params:t,payload:e},cancelable:!0})))&&(t=new URLSearchParams(e),this.settings.tracking_nonce&&t.set("nonce",this.settings.tracking_nonce),"function"==typeof navigator.sendBeacon?navigator.sendBeacon(this.settings.tracking_url,t):fetch(this.settings.tracking_url,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},body:t.toString(),keepalive:!0,credentials:"same-origin"}).catch(()=>{}))},l.show=function(t){this.$div.removeAttribute("hidden"),this.$div.classList.add("joinchat--show"),t&&this.$div.classList.add("joinchat--tooltip")},l.hide=function(){this.$div.classList.remove("joinchat--show")},l.chatbox_show=function(t="unknown"){this.chatbox||(this.chatbox=!0,this.showed_at=Date.now(),clearTimeout(this.open_text_anim_timeout),this.$div.classList.add("joinchat--chatbox"),this.$div.classList.add("joinchat--opening"),this.open_text_anim_timeout=setTimeout(()=>this.$div.classList.remove("joinchat--opening"),550),this.settings.message_badge&&this.$(".joinchat__badge").classList.replace("joinchat__badge--in","joinchat__badge--out"),d.dispatchEvent(new CustomEvent("joinchat:show",{detail:{trigger:t}})))},l.chatbox_hide=function(){this.chatbox&&(this.chatbox=!1,clearTimeout(this.open_text_anim_timeout),this.$div.classList.remove("joinchat--chatbox","joinchat--tooltip","joinchat--opening"),this.settings.message_badge&&this.$(".joinchat__badge").classList.remove("joinchat__badge--out"),d.dispatchEvent(new Event("joinchat:hide")))},l.save_hash=function(){var t;!this.settings.message_hash||this.settings.message_delay<0||(t=(this.store.getItem("joinchat_hashes")||"").split(",").filter(Boolean)).includes(this.settings.message_hash)||(t.push(this.settings.message_hash),this.store.setItem("joinchat_hashes",t.join(",")))},l.open_whatsapp=function(t,e,i="unknown"){t=t||this.settings.telephone,e=void 0!==e?e:this.settings.message_send||"";t={link:this.get_wa_link(t,e),chat_channel:"whatsapp",chat_id:t,chat_message:e,trigger:i};d.dispatchEvent(new CustomEvent("joinchat:open",{detail:t,cancelable:!0}))&&(this.track_click(t),this.send_event(t),r.open(t.link,"joinchat","noopener"))},l.need_optin=function(){return this.$div.classList.contains("joinchat--optout")},l.use_qr=function(){return!!this.settings.qr&&this.can_qr&&!this.is_mobile},l.open=function(t,e,i,a="unknown"){t&&!this.need_optin()||!l.$(".joinchat__chatbox")?Date.now()<l.showed_at+600||(this.save_hash(),this.open_whatsapp(e,i,a)):this.chatbox_show(a)},l.close=function(){this.save_hash(),this.chatbox_hide()},l.rand_text=function(t){t.querySelectorAll("jc-rand").forEach(t=>{var e=t.children;t.insertAdjacentHTML("afterend",e[Math.floor(Math.random()*e.length)].innerHTML),t.remove()})},l.qr=function(t,e){var i=d.createElement("CANVAS");return QrCreator.render(Object.assign({text:t,radius:.4,background:"#FFF",size:200*(r.devicePixelRatio||1)},this.settings.qr||{},e||{}),i),i};var t=()=>{if(l.$div=d.querySelector(".joinchat"),l.$div){l.settings=JSON.parse(l.$div.dataset.settings);try{localStorage.test=2,l.store=localStorage}catch(t){l.store={_data:{},setItem:function(t,e){this._data[t]=String(e)},getItem:function(t){return this._data.hasOwnProperty(t)?this._data[t]:null}}}if(l.settings&&l.settings.telephone){if(l.is_mobile||!l.settings.mobile_only){d.dispatchEvent(new Event("joinchat:starting"));var e=1e3*l.settings.button_delay,n=Math.max(0,1e3*l.settings.message_delay);let c=!!l.settings.message_hash;var s=parseInt(l.store.getItem("joinchat_views")||1)>=l.settings.message_views,o=(l.store.getItem("joinchat_hashes")||"").split(",").filter(Boolean);let i=void 0!==l.settings.cta_viewed?l.settings.cta_viewed:-1!==o.indexOf(l.settings.message_hash||"none"),t=!i&&(l.settings.message_badge||!c||!n||!s),a=(setTimeout(()=>l.show(t),e),(t,e=!1)=>l.open(e,void 0,void 0,t));if(c&&!i&&n){let t;l.settings.message_badge?t=setTimeout(()=>l.$(".joinchat__badge").classList.add("joinchat__badge--in"),e+n):s&&(t=setTimeout(()=>a("auto"),e+n)),d.addEventListener("joinchat:show",()=>clearTimeout(t),{once:!0})}if(o=l.$(".joinchat__button"),!l.is_mobile){let t;o.addEventListener("mouseenter",()=>{l.$(".joinchat__chatbox")&&(t=setTimeout(()=>a("hover"),1500))}),o.addEventListener("mouseleave",()=>{clearTimeout(t)})}if(o.addEventListener("click",()=>a("button")),l.$(".joinchat__open")?.addEventListener("click",()=>a("contact",!0)),l.$(".joinchat__close")?.addEventListener("click",()=>l.close()),l.$("#joinchat_optin")?.addEventListener("change",t=>{t=t.target.checked;l.$div.classList.toggle("joinchat--optout",!t),d.dispatchEvent(new CustomEvent("joinchat:optin",{detail:{optin:t}}))}),l.is_mobile){let e,t,i=()=>{var t=(d.activeElement.type||"").toLowerCase();["date","datetime","email","month","number","password","search","tel","text","textarea","time","url","week"].includes(t)?l.chatbox?(l.chatbox_hide(),setTimeout(()=>l.hide(),400)):l.hide():l.show()};["focusin","focusout"].forEach(t=>d.addEventListener(t,t=>{t.target.matches("input, textarea")&&!l.$div.contains(t.target)&&(clearTimeout(e),e=setTimeout(i,200))})),r.addEventListener("resize",()=>{clearTimeout(t),t=setTimeout(()=>{l.$div.style.setProperty("--vh",r.innerHeight+"px")},200)}),r.dispatchEvent(new Event("resize"))}if(l.use_qr()?l.$(".joinchat__qr").appendChild(l.qr(l.get_wa_link(void 0,void 0,!1))):l.$(".joinchat__qr")?.remove(),n&&!s&&l.store.setItem("joinchat_views",parseInt(l.store.getItem("joinchat_views")||0)+1),d.addEventListener("joinchat:show",()=>{let a=l.$(".joinchat__scroll"),n=l.$(".joinchat__chat"),s=l.$$(".joinchat__bubble");var t=r.matchMedia("(prefers-reduced-motion)").matches;if(!n)return;if(c&&l.rand_text(n),l.$$("[data-src]").forEach(t=>{t.setAttribute("src",t.dataset.src),t.removeAttribute("data-src")}),!t){1<s.length&&(s.forEach(t=>t.classList.add("joinchat--hidden")),l.$(".joinchat__optin")?.classList.add("joinchat--hidden"));let e=n.offsetHeight,i;new MutationObserver(()=>{var t;a.scrollHeight>a.offsetHeight||(t=n.offsetHeight,clearTimeout(i),n.style.height=e+"px",n.offsetHeight,n.style.height=t+"px",e=t,i=setTimeout(()=>{n.style.height="",e=n.offsetHeight},205))}).observe(n,{childList:!0,attributes:!0,attributeFilter:["class"]})}if(s.length<=1||t)return void setTimeout(()=>n.dispatchEvent(new Event("joinchat:bubbles")),1);let e=0,i=(t,e)=>Math.round(Math.random()*(e-t)+t),o=(t,e)=>{l.$(".joinchat__bubble--loading")?.remove(),t.classList.remove("joinchat--hidden"),setTimeout(h,e)},h=()=>{if(e>=s.length)l.$(".joinchat__optin")?.classList.remove("joinchat--hidden"),n.dispatchEvent(new Event("joinchat:bubbles"));else{let t=s[e++];t.classList.contains("joinchat__bubble--note")?o(t,210):(n.insertAdjacentHTML("beforeend",'<div class="joinchat__bubble joinchat__bubble--loading"></div>'),setTimeout(()=>o(t,i(400,600)),Math.min(60*t.textContent.split(/\s+/).length+210,3e3)))}};h()},{once:!0}),"#joinchat"!==(e=new URL(r.location)).hash&&!e.searchParams.has("joinchat")||(o=1e3*(parseInt(e.searchParams.get("joinchat"))||0),setTimeout(()=>l.show(),o),setTimeout(()=>l.chatbox_show("url"),700+o)),d.addEventListener("click",t=>{var e=t.target.closest('.joinchat_open, .joinchat_app, a[href="#joinchat"], a[href="#whatsapp"]');e&&(t.preventDefault(),t=e===e.closest('.joinchat_app, a[href="#whatsapp"]'),l.open(t,e.dataset.phone,e.dataset.message,"trigger"))}),d.addEventListener("click",t=>{t.target.closest(".joinchat_close")&&(t.preventDefault(),l.close())}),n=d.querySelectorAll(".joinchat_show, .joinchat_force_show"),c&&n&&"IntersectionObserver"in r){let e=new IntersectionObserver(t=>{t.forEach(t=>{t.intersectionRatio<=0||i&&!t.target.classList.contains("joinchat_force_show")||(e.disconnect(),a("screen"))})});n.forEach(t=>e.observe(t))}l.is_ready=!0,d.dispatchEvent(new Event("joinchat:start"))}else l.hide(),d.addEventListener("click",t=>{var e=t.target.closest('.joinchat_open, .joinchat_app, a[href="#joinchat"], a[href="#whatsapp"]');e&&(t.preventDefault(),l.open_whatsapp(e.dataset.phone,e.dataset.message,"trigger"))});if(l.can_qr&&!l.is_mobile?d.querySelectorAll(".joinchat-button__qr").forEach(t=>t.appendChild(l.qr(l.get_wa_link(t.dataset.phone,t.dataset.message,!1)))):d.querySelectorAll(".wp-block-joinchat-button figure").forEach(t=>t.remove()),void 0!==l.settings.sku&&"function"==typeof jQuery){let a=l.settings.message_send;jQuery("form.variations_form").on("found_variation reset_data",function(t,e){let i=e&&e.sku||l.settings.sku;l.$$(".joinchat__chat jc-sku").forEach(t=>t.textContent=i),l.settings.message_send=a.replace(/<jc-sku>.*<\/jc-sku>/g,i)})}}}};"loading"!==d.readyState?t():d.addEventListener("DOMContentLoaded",t)})(window,document,window.joinchat_obj||{});
!function(r){"use strict";var t,e,n;t=[function(r,t,e){e(1),e(53),e(81),e(82),e(93),e(94),e(99),e(100),e(110),e(120),e(122),e(123),e(124),r.exports=e(125)},function(r,t,e){var n=e(2),o=e(4),a=e(48),c=ArrayBuffer.prototype;n&&!("detached"in c)&&o(c,"detached",{configurable:!0,get:function(){return a(this)}})},function(r,t,e){var n=e(3);r.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(r,t,e){r.exports=function(r){try{return!!r()}catch(r){return!0}}},function(r,t,e){var n=e(5),o=e(23);r.exports=function(r,t,e){return e.get&&n(e.get,t,{getter:!0}),e.set&&n(e.set,t,{setter:!0}),o.f(r,t,e)}},function(t,e,n){var o=n(6),a=n(3),c=n(8),i=n(9),u=n(2),s=n(13).CONFIGURABLE,f=n(14),p=n(19),l=p.enforce,y=p.get,v=String,h=Object.defineProperty,g=o("".slice),b=o("".replace),m=o([].join),d=u&&!a((function(){return 8!==h((function(){}),"length",{value:8}).length})),w=String(String).split("String"),E=t.exports=function(t,e,n){"Symbol("===g(v(e),0,7)&&(e="["+b(v(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!i(t,"name")||s&&t.name!==e)&&(u?h(t,"name",{value:e,configurable:!0}):t.name=e),d&&n&&i(n,"arity")&&t.length!==n.arity&&h(t,"length",{value:n.arity});try{n&&i(n,"constructor")&&n.constructor?u&&h(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=r)}catch(r){}var o=l(t);return i(o,"source")||(o.source=m(w,"string"==typeof e?e:"")),t};Function.prototype.toString=E((function(){return c(this)&&y(this).source||f(this)}),"toString")},function(r,t,e){var n=e(7),o=Function.prototype,a=o.call,c=n&&o.bind.bind(a,a);r.exports=n?c:function(r){return function(){return a.apply(r,arguments)}}},function(r,t,e){var n=e(3);r.exports=!n((function(){var r=function(){}.bind();return"function"!=typeof r||r.hasOwnProperty("prototype")}))},function(t,e,n){var o="object"==typeof document&&document.all;t.exports=void 0===o&&o!==r?function(r){return"function"==typeof r||r===o}:function(r){return"function"==typeof r}},function(r,t,e){var n=e(6),o=e(10),a=n({}.hasOwnProperty);r.exports=Object.hasOwn||function(r,t){return a(o(r),t)}},function(r,t,e){var n=e(11),o=Object;r.exports=function(r){return o(n(r))}},function(r,t,e){var n=e(12),o=TypeError;r.exports=function(r){if(n(r))throw new o("Can't call method on "+r);return r}},function(t,e,n){t.exports=function(t){return null===t||t===r}},function(r,t,e){var n=e(2),o=e(9),a=Function.prototype,c=n&&Object.getOwnPropertyDescriptor,i=o(a,"name"),u=i&&"something"===function(){}.name,s=i&&(!n||n&&c(a,"name").configurable);r.exports={EXISTS:i,PROPER:u,CONFIGURABLE:s}},function(r,t,e){var n=e(6),o=e(8),a=e(15),c=n(Function.toString);o(a.inspectSource)||(a.inspectSource=function(r){return c(r)}),r.exports=a.inspectSource},function(r,t,e){var n=e(16),o=e(17),a=e(18),c="__core-js_shared__",i=r.exports=o[c]||a(c,{});(i.versions||(i.versions=[])).push({version:"3.39.0",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE",source:"https://github.com/zloirock/core-js"})},function(r,t,e){r.exports=!1},function(r,t,e){var n=function(r){return r&&r.Math===Math&&r};r.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof global&&global)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},function(r,t,e){var n=e(17),o=Object.defineProperty;r.exports=function(r,t){try{o(n,r,{value:t,configurable:!0,writable:!0})}catch(e){n[r]=t}return t}},function(r,t,e){var n,o,a,c=e(20),i=e(17),u=e(21),s=e(22),f=e(9),p=e(15),l=e(46),y=e(47),v="Object already initialized",h=i.TypeError,g=i.WeakMap;if(c||p.state){var b=p.state||(p.state=new g);b.get=b.get,b.has=b.has,b.set=b.set,n=function(r,t){if(b.has(r))throw new h(v);return t.facade=r,b.set(r,t),t},o=function(r){return b.get(r)||{}},a=function(r){return b.has(r)}}else{var m=l("state");y[m]=!0,n=function(r,t){if(f(r,m))throw new h(v);return t.facade=r,s(r,m,t),t},o=function(r){return f(r,m)?r[m]:{}},a=function(r){return f(r,m)}}r.exports={set:n,get:o,has:a,enforce:function(r){return a(r)?o(r):n(r,{})},getterFor:function(r){return function(t){var e;if(!u(t)||(e=o(t)).type!==r)throw new h("Incompatible receiver, "+r+" required");return e}}}},function(r,t,e){var n=e(17),o=e(8),a=n.WeakMap;r.exports=o(a)&&/native code/.test(String(a))},function(r,t,e){var n=e(8);r.exports=function(r){return"object"==typeof r?null!==r:n(r)}},function(r,t,e){var n=e(2),o=e(23),a=e(45);r.exports=n?function(r,t,e){return o.f(r,t,a(1,e))}:function(r,t,e){return r[t]=e,r}},function(r,t,e){var n=e(2),o=e(24),a=e(26),c=e(27),i=e(28),u=TypeError,s=Object.defineProperty,f=Object.getOwnPropertyDescriptor,p="enumerable",l="configurable",y="writable";t.f=n?a?function(r,t,e){if(c(r),t=i(t),c(e),"function"==typeof r&&"prototype"===t&&"value"in e&&y in e&&!e[y]){var n=f(r,t);n&&n[y]&&(r[t]=e.value,e={configurable:l in e?e[l]:n[l],enumerable:p in e?e[p]:n[p],writable:!1})}return s(r,t,e)}:s:function(r,t,e){if(c(r),t=i(t),c(e),o)try{return s(r,t,e)}catch(r){}if("get"in e||"set"in e)throw new u("Accessors not supported");return"value"in e&&(r[t]=e.value),r}},function(r,t,e){var n=e(2),o=e(3),a=e(25);r.exports=!n&&!o((function(){return 7!==Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},function(r,t,e){var n=e(17),o=e(21),a=n.document,c=o(a)&&o(a.createElement);r.exports=function(r){return c?a.createElement(r):{}}},function(r,t,e){var n=e(2),o=e(3);r.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},function(r,t,e){var n=e(21),o=String,a=TypeError;r.exports=function(r){if(n(r))return r;throw new a(o(r)+" is not an object")}},function(r,t,e){var n=e(29),o=e(31);r.exports=function(r){var t=n(r,"string");return o(t)?t:t+""}},function(t,e,n){var o=n(30),a=n(21),c=n(31),i=n(38),u=n(41),s=n(42),f=TypeError,p=s("toPrimitive");t.exports=function(t,e){if(!a(t)||c(t))return t;var n,s=i(t,p);if(s){if(e===r&&(e="default"),n=o(s,t,e),!a(n)||c(n))return n;throw new f("Can't convert object to primitive value")}return e===r&&(e="number"),u(t,e)}},function(r,t,e){var n=e(7),o=Function.prototype.call;r.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},function(r,t,e){var n=e(32),o=e(8),a=e(33),c=e(34),i=Object;r.exports=c?function(r){return"symbol"==typeof r}:function(r){var t=n("Symbol");return o(t)&&a(t.prototype,i(r))}},function(t,e,n){var o=n(17),a=n(8);t.exports=function(t,e){return arguments.length<2?(n=o[t],a(n)?n:r):o[t]&&o[t][e];var n}},function(r,t,e){var n=e(6);r.exports=n({}.isPrototypeOf)},function(r,t,e){var n=e(35);r.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(r,t,e){var n=e(36),o=e(3),a=e(17).String;r.exports=!!Object.getOwnPropertySymbols&&!o((function(){var r=Symbol("symbol detection");return!a(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},function(r,t,e){var n,o,a=e(17),c=e(37),i=a.process,u=a.Deno,s=i&&i.versions||u&&u.version,f=s&&s.v8;f&&(o=(n=f.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&c&&(!(n=c.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=c.match(/Chrome\/(\d+)/))&&(o=+n[1]),r.exports=o},function(r,t,e){var n=e(17).navigator,o=n&&n.userAgent;r.exports=o?String(o):""},function(t,e,n){var o=n(39),a=n(12);t.exports=function(t,e){var n=t[e];return a(n)?r:o(n)}},function(r,t,e){var n=e(8),o=e(40),a=TypeError;r.exports=function(r){if(n(r))return r;throw new a(o(r)+" is not a function")}},function(r,t,e){var n=String;r.exports=function(r){try{return n(r)}catch(r){return"Object"}}},function(r,t,e){var n=e(30),o=e(8),a=e(21),c=TypeError;r.exports=function(r,t){var e,i;if("string"===t&&o(e=r.toString)&&!a(i=n(e,r)))return i;if(o(e=r.valueOf)&&!a(i=n(e,r)))return i;if("string"!==t&&o(e=r.toString)&&!a(i=n(e,r)))return i;throw new c("Can't convert object to primitive value")}},function(r,t,e){var n=e(17),o=e(43),a=e(9),c=e(44),i=e(35),u=e(34),s=n.Symbol,f=o("wks"),p=u?s.for||s:s&&s.withoutSetter||c;r.exports=function(r){return a(f,r)||(f[r]=i&&a(s,r)?s[r]:p("Symbol."+r)),f[r]}},function(r,t,e){var n=e(15);r.exports=function(r,t){return n[r]||(n[r]=t||{})}},function(t,e,n){var o=n(6),a=0,c=Math.random(),i=o(1..toString);t.exports=function(t){return"Symbol("+(t===r?"":t)+")_"+i(++a+c,36)}},function(r,t,e){r.exports=function(r,t){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:t}}},function(r,t,e){var n=e(43),o=e(44),a=n("keys");r.exports=function(r){return a[r]||(a[r]=o(r))}},function(r,t,e){r.exports={}},function(r,t,e){var n=e(17),o=e(49),a=e(51),c=n.ArrayBuffer,i=c&&c.prototype,u=i&&o(i.slice);r.exports=function(r){if(0!==a(r))return!1;if(!u)return!1;try{return u(r,0,0),!1}catch(r){return!0}}},function(r,t,e){var n=e(50),o=e(6);r.exports=function(r){if("Function"===n(r))return o(r)}},function(r,t,e){var n=e(6),o=n({}.toString),a=n("".slice);r.exports=function(r){return a(o(r),8,-1)}},function(r,t,e){var n=e(17),o=e(52),a=e(50),c=n.ArrayBuffer,i=n.TypeError;r.exports=c&&o(c.prototype,"byteLength","get")||function(r){if("ArrayBuffer"!==a(r))throw new i("ArrayBuffer expected");return r.byteLength}},function(r,t,e){var n=e(6),o=e(39);r.exports=function(r,t,e){try{return n(o(Object.getOwnPropertyDescriptor(r,t)[e]))}catch(r){}}},function(t,e,n){var o=n(54),a=n(73);a&&o({target:"ArrayBuffer",proto:!0},{transfer:function(){return a(this,arguments.length?arguments[0]:r,!0)}})},function(t,e,n){var o=n(17),a=n(55).f,c=n(22),i=n(59),u=n(18),s=n(60),f=n(72);t.exports=function(t,e){var n,p,l,y,v,h=t.target,g=t.global,b=t.stat;if(n=g?o:b?o[h]||u(h,{}):o[h]&&o[h].prototype)for(p in e){if(y=e[p],l=t.dontCallGetSet?(v=a(n,p))&&v.value:n[p],!f(g?p:h+(b?".":"#")+p,t.forced)&&l!==r){if(typeof y==typeof l)continue;s(y,l)}(t.sham||l&&l.sham)&&c(y,"sham",!0),i(n,p,y,t)}}},function(r,t,e){var n=e(2),o=e(30),a=e(56),c=e(45),i=e(57),u=e(28),s=e(9),f=e(24),p=Object.getOwnPropertyDescriptor;t.f=n?p:function(r,t){if(r=i(r),t=u(t),f)try{return p(r,t)}catch(r){}if(s(r,t))return c(!o(a.f,r,t),r[t])}},function(r,t,e){var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,a=o&&!n.call({1:2},1);t.f=a?function(r){var t=o(this,r);return!!t&&t.enumerable}:n},function(r,t,e){var n=e(58),o=e(11);r.exports=function(r){return n(o(r))}},function(r,t,e){var n=e(6),o=e(3),a=e(50),c=Object,i=n("".split);r.exports=o((function(){return!c("z").propertyIsEnumerable(0)}))?function(r){return"String"===a(r)?i(r,""):c(r)}:c},function(t,e,n){var o=n(8),a=n(23),c=n(5),i=n(18);t.exports=function(t,e,n,u){u||(u={});var s=u.enumerable,f=u.name!==r?u.name:e;if(o(n)&&c(n,f,u),u.global)s?t[e]=n:i(e,n);else{try{u.unsafe?t[e]&&(s=!0):delete t[e]}catch(r){}s?t[e]=n:a.f(t,e,{value:n,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return t}},function(r,t,e){var n=e(9),o=e(61),a=e(55),c=e(23);r.exports=function(r,t,e){for(var i=o(t),u=c.f,s=a.f,f=0;f<i.length;f++){var p=i[f];n(r,p)||e&&n(e,p)||u(r,p,s(t,p))}}},function(r,t,e){var n=e(32),o=e(6),a=e(62),c=e(71),i=e(27),u=o([].concat);r.exports=n("Reflect","ownKeys")||function(r){var t=a.f(i(r)),e=c.f;return e?u(t,e(r)):t}},function(r,t,e){var n=e(63),o=e(70).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(r){return n(r,o)}},function(r,t,e){var n=e(6),o=e(9),a=e(57),c=e(64).indexOf,i=e(47),u=n([].push);r.exports=function(r,t){var e,n=a(r),s=0,f=[];for(e in n)!o(i,e)&&o(n,e)&&u(f,e);for(;t.length>s;)o(n,e=t[s++])&&(~c(f,e)||u(f,e));return f}},function(r,t,e){var n=e(57),o=e(65),a=e(68),c=function(r){return function(t,e,c){var i=n(t),u=a(i);if(0===u)return!r&&-1;var s,f=o(c,u);if(r&&e!=e){for(;u>f;)if((s=i[f++])!=s)return!0}else for(;u>f;f++)if((r||f in i)&&i[f]===e)return r||f||0;return!r&&-1}};r.exports={includes:c(!0),indexOf:c(!1)}},function(r,t,e){var n=e(66),o=Math.max,a=Math.min;r.exports=function(r,t){var e=n(r);return e<0?o(e+t,0):a(e,t)}},function(r,t,e){var n=e(67);r.exports=function(r){var t=+r;return t!=t||0===t?0:n(t)}},function(r,t,e){var n=Math.ceil,o=Math.floor;r.exports=Math.trunc||function(r){var t=+r;return(t>0?o:n)(t)}},function(r,t,e){var n=e(69);r.exports=function(r){return n(r.length)}},function(r,t,e){var n=e(66),o=Math.min;r.exports=function(r){var t=n(r);return t>0?o(t,9007199254740991):0}},function(r,t,e){r.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(r,t,e){t.f=Object.getOwnPropertySymbols},function(r,t,e){var n=e(3),o=e(8),a=/#|\.prototype\./,c=function(r,t){var e=u[i(r)];return e===f||e!==s&&(o(t)?n(t):!!t)},i=c.normalize=function(r){return String(r).replace(a,".").toLowerCase()},u=c.data={},s=c.NATIVE="N",f=c.POLYFILL="P";r.exports=c},function(t,e,n){var o=n(17),a=n(6),c=n(52),i=n(74),u=n(75),s=n(51),f=n(76),p=n(80),l=o.structuredClone,y=o.ArrayBuffer,v=o.DataView,h=Math.min,g=y.prototype,b=v.prototype,m=a(g.slice),d=c(g,"resizable","get"),w=c(g,"maxByteLength","get"),E=a(b.getInt8),x=a(b.setInt8);t.exports=(p||f)&&function(t,e,n){var o,a=s(t),c=e===r?a:i(e),g=!d||!d(t);if(u(t),p&&(t=l(t,{transfer:[t]}),a===c&&(n||g)))return t;if(a>=c&&(!n||g))o=m(t,0,c);else{var b=n&&!g&&w?{maxByteLength:w(t)}:r;o=new y(c,b);for(var O=new v(t),R=new v(o),S=h(c,a),A=0;A<S;A++)x(R,A,E(O,A))}return p||f(t),o}},function(t,e,n){var o=n(66),a=n(69),c=RangeError;t.exports=function(t){if(t===r)return 0;var e=o(t),n=a(e);if(e!==n)throw new c("Wrong length or index");return n}},function(r,t,e){var n=e(48),o=TypeError;r.exports=function(r){if(n(r))throw new o("ArrayBuffer is detached");return r}},function(r,t,e){var n,o,a,c,i=e(17),u=e(77),s=e(80),f=i.structuredClone,p=i.ArrayBuffer,l=i.MessageChannel,y=!1;if(s)y=function(r){f(r,{transfer:[r]})};else if(p)try{l||(n=u("worker_threads"))&&(l=n.MessageChannel),l&&(o=new l,a=new p(2),c=function(r){o.port1.postMessage(null,[r])},2===a.byteLength&&(c(a),0===a.byteLength&&(y=c)))}catch(r){}r.exports=y},function(r,t,e){var n=e(17),o=e(78);r.exports=function(r){if(o){try{return n.process.getBuiltinModule(r)}catch(r){}try{return Function('return require("'+r+'")')()}catch(r){}}}},function(r,t,e){var n=e(79);r.exports="NODE"===n},function(r,t,e){var n=e(17),o=e(37),a=e(50),c=function(r){return o.slice(0,r.length)===r};r.exports=c("Bun/")?"BUN":c("Cloudflare-Workers")?"CLOUDFLARE":c("Deno/")?"DENO":c("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===a(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"},function(r,t,e){var n=e(17),o=e(3),a=e(36),c=e(79),i=n.structuredClone;r.exports=!!i&&!o((function(){if("DENO"===c&&a>92||"NODE"===c&&a>94||"BROWSER"===c&&a>97)return!1;var r=new ArrayBuffer(8),t=i(r,{transfer:[r]});return 0!==r.byteLength||8!==t.byteLength}))},function(t,e,n){var o=n(54),a=n(73);a&&o({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return a(this,arguments.length?arguments[0]:r,!1)}})},function(r,t,e){var n=e(54),o=e(6),a=e(39),c=e(11),i=e(83),u=e(92),s=e(16),f=e(3),p=u.Map,l=u.has,y=u.get,v=u.set,h=o([].push),g=s||f((function(){return 1!==p.groupBy("ab",(function(r){return r})).get("a").length}));n({target:"Map",stat:!0,forced:s||g},{groupBy:function(r,t){c(r),a(t);var e=new p,n=0;return i(r,(function(r){var o=t(r,n++);l(e,o)?h(y(e,o),r):v(e,o,[r])})),e}})},function(r,t,e){var n=e(84),o=e(30),a=e(27),c=e(40),i=e(85),u=e(68),s=e(33),f=e(87),p=e(88),l=e(91),y=TypeError,v=function(r,t){this.stopped=r,this.result=t},h=v.prototype;r.exports=function(r,t,e){var g,b,m,d,w,E,x,O=e&&e.that,R=!(!e||!e.AS_ENTRIES),S=!(!e||!e.IS_RECORD),A=!(!e||!e.IS_ITERATOR),T=!(!e||!e.INTERRUPTED),D=n(t,O),_=function(r){return g&&l(g,"normal",r),new v(!0,r)},I=function(r){return R?(a(r),T?D(r[0],r[1],_):D(r[0],r[1])):T?D(r,_):D(r)};if(S)g=r.iterator;else if(A)g=r;else{if(!(b=p(r)))throw new y(c(r)+" is not iterable");if(i(b)){for(m=0,d=u(r);d>m;m++)if((w=I(r[m]))&&s(h,w))return w;return new v(!1)}g=f(r,b)}for(E=S?r.next:g.next;!(x=o(E,g)).done;){try{w=I(x.value)}catch(r){l(g,"throw",r)}if("object"==typeof w&&w&&s(h,w))return w}return new v(!1)}},function(t,e,n){var o=n(49),a=n(39),c=n(7),i=o(o.bind);t.exports=function(t,e){return a(t),e===r?t:c?i(t,e):function(){return t.apply(e,arguments)}}},function(t,e,n){var o=n(42),a=n(86),c=o("iterator"),i=Array.prototype;t.exports=function(t){return t!==r&&(a.Array===t||i[c]===t)}},function(r,t,e){r.exports={}},function(r,t,e){var n=e(30),o=e(39),a=e(27),c=e(40),i=e(88),u=TypeError;r.exports=function(r,t){var e=arguments.length<2?i(r):t;if(o(e))return a(n(e,r));throw new u(c(r)+" is not iterable")}},function(r,t,e){var n=e(89),o=e(38),a=e(12),c=e(86),i=e(42)("iterator");r.exports=function(r){if(!a(r))return o(r,i)||o(r,"@@iterator")||c[n(r)]}},function(t,e,n){var o=n(90),a=n(8),c=n(50),i=n(42)("toStringTag"),u=Object,s="Arguments"===c(function(){return arguments}());t.exports=o?c:function(t){var e,n,o;return t===r?"Undefined":null===t?"Null":"string"==typeof(n=function(r,t){try{return r[t]}catch(r){}}(e=u(t),i))?n:s?c(e):"Object"===(o=c(e))&&a(e.callee)?"Arguments":o}},function(r,t,e){var n={};n[e(42)("toStringTag")]="z",r.exports="[object z]"===String(n)},function(r,t,e){var n=e(30),o=e(27),a=e(38);r.exports=function(r,t,e){var c,i;o(r);try{if(!(c=a(r,"return"))){if("throw"===t)throw e;return e}c=n(c,r)}catch(r){i=!0,c=r}if("throw"===t)throw e;if(i)throw c;return o(c),e}},function(r,t,e){var n=e(6),o=Map.prototype;r.exports={Map:Map,set:n(o.set),get:n(o.get),has:n(o.has),remove:n(o.delete),proto:o}},function(r,t,e){var n=e(54),o=e(32),a=e(6),c=e(39),i=e(11),u=e(28),s=e(83),f=e(3),p=Object.groupBy,l=o("Object","create"),y=a([].push);n({target:"Object",stat:!0,forced:!p||f((function(){return 1!==p("ab",(function(r){return r})).a.length}))},{groupBy:function(r,t){i(r),c(t);var e=l(null),n=0;return s(r,(function(r){var o=u(t(r,n++));o in e?y(e[o],r):e[o]=[r]})),e}})},function(t,e,n){var o=n(54),a=n(17),c=n(95),i=n(96),u=n(97),s=n(39),f=n(98),p=a.Promise,l=!1;o({target:"Promise",stat:!0,forced:!p||!p.try||f((function(){p.try((function(r){l=8===r}),8)})).error||!l},{try:function(t){var e=arguments.length>1?i(arguments,1):[],n=u.f(this),o=f((function(){return c(s(t),r,e)}));return(o.error?n.reject:n.resolve)(o.value),n.promise}})},function(r,t,e){var n=e(7),o=Function.prototype,a=o.apply,c=o.call;r.exports="object"==typeof Reflect&&Reflect.apply||(n?c.bind(a):function(){return c.apply(a,arguments)})},function(r,t,e){var n=e(6);r.exports=n([].slice)},function(t,e,n){var o=n(39),a=TypeError,c=function(t){var e,n;this.promise=new t((function(t,o){if(e!==r||n!==r)throw new a("Bad Promise constructor");e=t,n=o})),this.resolve=o(e),this.reject=o(n)};t.exports.f=function(r){return new c(r)}},function(r,t,e){r.exports=function(r){try{return{error:!1,value:r()}}catch(r){return{error:!0,value:r}}}},function(r,t,e){var n=e(54),o=e(97);n({target:"Promise",stat:!0},{withResolvers:function(){var r=o.f(this);return{promise:r.promise,resolve:r.resolve,reject:r.reject}}})},function(t,e,n){var o=n(54),a=n(17),c=n(32),i=n(45),u=n(23).f,s=n(9),f=n(101),p=n(102),l=n(106),y=n(108),v=n(109),h=n(2),g=n(16),b="DOMException",m=c("Error"),d=c(b),w=function(){f(this,E);var t=arguments.length,e=l(t<1?r:arguments[0]),n=l(t<2?r:arguments[1],"Error"),o=new d(e,n),a=new m(e);return a.name=b,u(o,"stack",i(1,v(a.stack,1))),p(o,this,w),o},E=w.prototype=d.prototype,x="stack"in new m(b),O="stack"in new d(1,2),R=d&&h&&Object.getOwnPropertyDescriptor(a,b),S=!(!R||R.writable&&R.configurable),A=x&&!S&&!O;o({global:!0,constructor:!0,forced:g||A},{DOMException:A?w:d});var T=c(b),D=T.prototype;if(D.constructor!==T)for(var _ in g||u(D,"constructor",i(1,T)),y)if(s(y,_)){var I=y[_],j=I.s;s(T,j)||u(T,j,i(6,I.c))}},function(r,t,e){var n=e(33),o=TypeError;r.exports=function(r,t){if(n(t,r))return r;throw new o("Incorrect invocation")}},function(r,t,e){var n=e(8),o=e(21),a=e(103);r.exports=function(r,t,e){var c,i;return a&&n(c=t.constructor)&&c!==e&&o(i=c.prototype)&&i!==e.prototype&&a(r,i),r}},function(t,e,n){var o=n(52),a=n(21),c=n(11),i=n(104);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var r,t=!1,e={};try{(r=o(Object.prototype,"__proto__","set"))(e,[]),t=e instanceof Array}catch(r){}return function(e,n){return c(e),i(n),a(e)?(t?r(e,n):e.__proto__=n,e):e}}():r)},function(r,t,e){var n=e(105),o=String,a=TypeError;r.exports=function(r){if(n(r))return r;throw new a("Can't set "+o(r)+" as a prototype")}},function(r,t,e){var n=e(21);r.exports=function(r){return n(r)||null===r}},function(t,e,n){var o=n(107);t.exports=function(t,e){return t===r?arguments.length<2?"":e:o(t)}},function(r,t,e){var n=e(89),o=String;r.exports=function(r){if("Symbol"===n(r))throw new TypeError("Cannot convert a Symbol value to a string");return o(r)}},function(r,t,e){r.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},function(r,t,e){var n=e(6),o=Error,a=n("".replace),c=String(new o("zxcasd").stack),i=/\n\s*at [^:]*:[^\n]*/,u=i.test(c);r.exports=function(r,t){if(u&&"string"==typeof r&&!o.prepareStackTrace)for(;t--;)r=a(r,i,"");return r}},function(t,e,n){var o,a=n(16),c=n(54),i=n(17),u=n(32),s=n(6),f=n(3),p=n(44),l=n(8),y=n(111),v=n(12),h=n(21),g=n(31),b=n(83),m=n(27),d=n(89),w=n(9),E=n(112),x=n(22),O=n(68),R=n(113),S=n(114),A=n(92),T=n(116),D=n(117),_=n(76),I=n(119),j=n(80),M=i.Object,k=i.Array,P=i.Date,C=i.Error,L=i.TypeError,B=i.PerformanceMark,N=u("DOMException"),U=A.Map,F=A.has,z=A.get,W=A.set,V=T.Set,H=T.add,G=T.has,Y=u("Object","keys"),Q=s([].push),q=s((!0).valueOf),X=s(1..valueOf),K=s("".valueOf),Z=s(P.prototype.getTime),$=p("structuredClone"),J="DataCloneError",rr="Transferring",tr=function(r){return!f((function(){var t=new i.Set([7]),e=r(t),n=r(M(7));return e===t||!e.has(7)||!h(n)||7!=+n}))&&r},er=function(r,t){return!f((function(){var e=new t,n=r({a:e,b:e});return!(n&&n.a===n.b&&n.a instanceof t&&n.a.stack===e.stack)}))},nr=i.structuredClone,or=a||!er(nr,C)||!er(nr,N)||(o=nr,!!f((function(){var r=o(new i.AggregateError([1],$,{cause:3}));return"AggregateError"!==r.name||1!==r.errors[0]||r.message!==$||3!==r.cause}))),ar=!nr&&tr((function(r){return new B($,{detail:r}).detail})),cr=tr(nr)||ar,ir=function(r){throw new N("Uncloneable type: "+r,J)},ur=function(r,t){throw new N((t||"Cloning")+" of "+r+" cannot be properly polyfilled in this engine",J)},sr=function(r,t){return cr||ur(t),cr(r)},fr=function(t,e,n){if(F(e,t))return z(e,t);var o,a,c,u,s,f;if("SharedArrayBuffer"===(n||d(t)))o=cr?cr(t):t;else{var p=i.DataView;p||l(t.slice)||ur("ArrayBuffer");try{if(l(t.slice)&&!t.resizable)o=t.slice(0);else{a=t.byteLength,c="maxByteLength"in t?{maxByteLength:t.maxByteLength}:r,o=new ArrayBuffer(a,c),u=new p(t),s=new p(o);for(f=0;f<a;f++)s.setUint8(f,u.getUint8(f))}}catch(r){throw new N("ArrayBuffer is detached",J)}}return W(e,t,o),o},pr=function(t,e){if(g(t)&&ir("Symbol"),!h(t))return t;if(e){if(F(e,t))return z(e,t)}else e=new U;var n,o,a,c,s,f,p,y,v=d(t);switch(v){case"Array":a=k(O(t));break;case"Object":a={};break;case"Map":a=new U;break;case"Set":a=new V;break;case"RegExp":a=new RegExp(t.source,S(t));break;case"Error":switch(o=t.name){case"AggregateError":a=new(u(o))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":a=new(u(o));break;case"CompileError":case"LinkError":case"RuntimeError":a=new(u("WebAssembly",o));break;default:a=new C}break;case"DOMException":a=new N(t.message,t.name);break;case"ArrayBuffer":case"SharedArrayBuffer":a=fr(t,e,v);break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float16Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":f="DataView"===v?t.byteLength:t.length,a=function(r,t,e,n,o){var a=i[t];return h(a)||ur(t),new a(fr(r.buffer,o),e,n)}(t,v,t.byteOffset,f,e);break;case"DOMQuad":try{a=new DOMQuad(pr(t.p1,e),pr(t.p2,e),pr(t.p3,e),pr(t.p4,e))}catch(r){a=sr(t,v)}break;case"File":if(cr)try{a=cr(t),d(a)!==v&&(a=r)}catch(r){}if(!a)try{a=new File([t],t.name,t)}catch(r){}a||ur(v);break;case"FileList":if(c=function(){var r;try{r=new i.DataTransfer}catch(t){try{r=new i.ClipboardEvent("").clipboardData}catch(r){}}return r&&r.items&&r.files?r:null}()){for(s=0,f=O(t);s<f;s++)c.items.add(pr(t[s],e));a=c.files}else a=sr(t,v);break;case"ImageData":try{a=new ImageData(pr(t.data,e),t.width,t.height,{colorSpace:t.colorSpace})}catch(r){a=sr(t,v)}break;default:if(cr)a=cr(t);else switch(v){case"BigInt":a=M(t.valueOf());break;case"Boolean":a=M(q(t));break;case"Number":a=M(X(t));break;case"String":a=M(K(t));break;case"Date":a=new P(Z(t));break;case"Blob":try{a=t.slice(0,t.size,t.type)}catch(r){ur(v)}break;case"DOMPoint":case"DOMPointReadOnly":n=i[v];try{a=n.fromPoint?n.fromPoint(t):new n(t.x,t.y,t.z,t.w)}catch(r){ur(v)}break;case"DOMRect":case"DOMRectReadOnly":n=i[v];try{a=n.fromRect?n.fromRect(t):new n(t.x,t.y,t.width,t.height)}catch(r){ur(v)}break;case"DOMMatrix":case"DOMMatrixReadOnly":n=i[v];try{a=n.fromMatrix?n.fromMatrix(t):new n(t)}catch(r){ur(v)}break;case"AudioData":case"VideoFrame":l(t.clone)||ur(v);try{a=t.clone()}catch(r){ir(v)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":ur(v);default:ir(v)}}switch(W(e,t,a),v){case"Array":case"Object":for(p=Y(t),s=0,f=O(p);s<f;s++)y=p[s],E(a,y,pr(t[y],e));break;case"Map":t.forEach((function(r,t){W(a,pr(t,e),pr(r,e))}));break;case"Set":t.forEach((function(r){H(a,pr(r,e))}));break;case"Error":x(a,"message",pr(t.message,e)),w(t,"cause")&&x(a,"cause",pr(t.cause,e)),"AggregateError"===o?a.errors=pr(t.errors,e):"SuppressedError"===o&&(a.error=pr(t.error,e),a.suppressed=pr(t.suppressed,e));case"DOMException":I&&x(a,"stack",pr(t.stack,e))}return a};c({global:!0,enumerable:!0,sham:!j,forced:or},{structuredClone:function(t){var e,n,o=R(arguments.length,1)>1&&!v(arguments[1])?m(arguments[1]):r,a=o?o.transfer:r;a!==r&&(n=function(t,e){if(!h(t))throw new L("Transfer option cannot be converted to a sequence");var n=[];b(t,(function(r){Q(n,m(r))}));for(var o,a,c,u,s,f=0,p=O(n),v=new V;f<p;){if(o=n[f++],"ArrayBuffer"===(a=d(o))?G(v,o):F(e,o))throw new N("Duplicate transferable",J);if("ArrayBuffer"!==a){if(j)u=nr(o,{transfer:[o]});else switch(a){case"ImageBitmap":c=i.OffscreenCanvas,y(c)||ur(a,rr);try{(s=new c(o.width,o.height)).getContext("bitmaprenderer").transferFromImageBitmap(o),u=s.transferToImageBitmap()}catch(r){}break;case"AudioData":case"VideoFrame":l(o.clone)&&l(o.close)||ur(a,rr);try{u=o.clone(),o.close()}catch(r){}break;case"MediaSourceHandle":case"MessagePort":case"MIDIAccess":case"OffscreenCanvas":case"ReadableStream":case"RTCDataChannel":case"TransformStream":case"WebTransportReceiveStream":case"WebTransportSendStream":case"WritableStream":ur(a,rr)}if(u===r)throw new N("This object cannot be transferred: "+a,J);W(e,o,u)}else H(v,o)}return v}(a,e=new U));var c=pr(t,e);return n&&function(r){D(r,(function(r){j?cr(r,{transfer:[r]}):l(r.transfer)?r.transfer():_?_(r):ur("ArrayBuffer",rr)}))}(n),c}})},function(r,t,e){var n=e(6),o=e(3),a=e(8),c=e(89),i=e(32),u=e(14),s=function(){},f=i("Reflect","construct"),p=/^\s*(?:class|function)\b/,l=n(p.exec),y=!p.test(s),v=function(r){if(!a(r))return!1;try{return f(s,[],r),!0}catch(r){return!1}},h=function(r){if(!a(r))return!1;switch(c(r)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return y||!!l(p,u(r))}catch(r){return!0}};h.sham=!0,r.exports=!f||o((function(){var r;return v(v.call)||!v(Object)||!v((function(){r=!0}))||r}))?h:v},function(r,t,e){var n=e(2),o=e(23),a=e(45);r.exports=function(r,t,e){n?o.f(r,t,a(0,e)):r[t]=e}},function(r,t,e){var n=TypeError;r.exports=function(r,t){if(r<t)throw new n("Not enough arguments");return r}},function(t,e,n){var o=n(30),a=n(9),c=n(33),i=n(115),u=RegExp.prototype;t.exports=function(t){var e=t.flags;return e!==r||"flags"in u||a(t,"flags")||!c(u,t)?e:o(i,t)}},function(r,t,e){var n=e(27);r.exports=function(){var r=n(this),t="";return r.hasIndices&&(t+="d"),r.global&&(t+="g"),r.ignoreCase&&(t+="i"),r.multiline&&(t+="m"),r.dotAll&&(t+="s"),r.unicode&&(t+="u"),r.unicodeSets&&(t+="v"),r.sticky&&(t+="y"),t}},function(r,t,e){var n=e(6),o=Set.prototype;r.exports={Set:Set,add:n(o.add),has:n(o.has),remove:n(o.delete),proto:o}},function(r,t,e){var n=e(6),o=e(118),a=e(116),c=a.Set,i=a.proto,u=n(i.forEach),s=n(i.keys),f=s(new c).next;r.exports=function(r,t,e){return e?o({iterator:s(r),next:f},t):u(r,t)}},function(t,e,n){var o=n(30);t.exports=function(t,e,n){for(var a,c,i=n?t:t.iterator,u=t.next;!(a=o(u,i)).done;)if((c=e(a.value))!==r)return c}},function(r,t,e){var n=e(3),o=e(45);r.exports=!n((function(){var r=new Error("a");return!("stack"in r)||(Object.defineProperty(r,"stack",o(1,7)),7!==r.stack)}))},function(t,e,n){var o=n(54),a=n(32),c=n(3),i=n(113),u=n(107),s=n(121),f=a("URL"),p=s&&c((function(){f.canParse()})),l=c((function(){return 1!==f.canParse.length}));o({target:"URL",stat:!0,forced:!p||l},{canParse:function(t){var e=i(arguments.length,1),n=u(t),o=e<2||arguments[1]===r?r:u(arguments[1]);try{return!!new f(n,o)}catch(r){return!1}}})},function(t,e,n){var o=n(3),a=n(42),c=n(2),i=n(16),u=a("iterator");t.exports=!o((function(){var t=new URL("b?a=1&b=2&c=3","https://a"),e=t.searchParams,n=new URLSearchParams("a=1&a=2&b=3"),o="";return t.pathname="c%20d",e.forEach((function(r,t){e.delete("b"),o+=t+r})),n.delete("a",2),n.delete("b",r),i&&(!t.toJSON||!n.has("a",1)||n.has("a",2)||!n.has("a",r)||n.has("b"))||!e.size&&(i||!c)||!e.sort||"https://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[u]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==o||"x"!==new URL("https://x",r).host}))},function(t,e,n){var o=n(54),a=n(32),c=n(113),i=n(107),u=n(121),s=a("URL");o({target:"URL",stat:!0,forced:!u},{parse:function(t){var e=c(arguments.length,1),n=i(t),o=e<2||arguments[1]===r?r:i(arguments[1]);try{return new s(n,o)}catch(r){return null}}})},function(t,e,n){var o=n(59),a=n(6),c=n(107),i=n(113),u=URLSearchParams,s=u.prototype,f=a(s.append),p=a(s.delete),l=a(s.forEach),y=a([].push),v=new u("a=1&a=2&b=3");v.delete("a",1),v.delete("b",r),v+""!="a=2"&&o(s,"delete",(function(t){var e=arguments.length,n=e<2?r:arguments[1];if(e&&n===r)return p(this,t);var o=[];l(this,(function(r,t){y(o,{key:t,value:r})})),i(e,1);for(var a,u=c(t),s=c(n),v=0,h=0,g=!1,b=o.length;v<b;)a=o[v++],g||a.key===u?(g=!0,p(this,a.key)):h++;for(;h<b;)(a=o[h++]).key===u&&a.value===s||f(this,a.key,a.value)}),{enumerable:!0,unsafe:!0})},function(t,e,n){var o=n(59),a=n(6),c=n(107),i=n(113),u=URLSearchParams,s=u.prototype,f=a(s.getAll),p=a(s.has),l=new u("a=1");!l.has("a",2)&&l.has("a",r)||o(s,"has",(function(t){var e=arguments.length,n=e<2?r:arguments[1];if(e&&n===r)return p(this,t);var o=f(this,t);i(e,1);for(var a=c(n),u=0;u<o.length;)if(o[u++]===a)return!0;return!1}),{enumerable:!0,unsafe:!0})},function(r,t,e){var n=e(2),o=e(6),a=e(4),c=URLSearchParams.prototype,i=o(c.forEach);n&&!("size"in c)&&a(c,"size",{get:function(){var r=0;return i(this,(function(){r++})),r},configurable:!0,enumerable:!0})}],e={},(n=function(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}).m=t,n.c=e,n.d=function(r,t,e){n.o(r,t)||Object.defineProperty(r,t,{enumerable:!0,get:e})},n.r=function(r){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},n.t=function(r,t){if(1&t&&(r=n(r)),8&t)return r;if(4&t&&"object"==typeof r&&r&&r.__esModule)return r;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:r}),2&t&&"string"!=typeof r)for(var o in r)n.d(e,o,function(t){return r[t]}.bind(null,o));return e},n.n=function(r){var t=r&&r.__esModule?function(){return r.default}:function(){return r};return n.d(t,"a",t),t},n.o=function(r,t){return Object.prototype.hasOwnProperty.call(r,t)},n.p="",n(n.s=0)}();
document.addEventListener("DOMContentLoaded",(e=>{var t;wpcf7_recaptcha={...null!==(t=wpcf7_recaptcha)&&void 0!==t?t:{}};const c=wpcf7_recaptcha.sitekey,{homepage:n,contactform:a}=wpcf7_recaptcha.actions,o=e=>{const{action:t,func:n,params:a}=e;grecaptcha.execute(c,{action:t}).then((e=>{const c=new CustomEvent("wpcf7grecaptchaexecuted",{detail:{action:t,token:e}});document.dispatchEvent(c)})).then((()=>{"function"==typeof n&&n(...a)})).catch((e=>console.error(e)))};if(grecaptcha.ready((()=>{o({action:n})})),document.addEventListener("change",(e=>{o({action:a})})),"undefined"!=typeof wpcf7&&"function"==typeof wpcf7.submit){const e=wpcf7.submit;wpcf7.submit=(t,c={})=>{o({action:a,func:e,params:[t,c]})}}document.addEventListener("wpcf7grecaptchaexecuted",(e=>{const t=document.querySelectorAll('form.wpcf7-form input[name="_wpcf7_recaptcha_response"]');for(let c=0;c<t.length;c++)t[c].setAttribute("value",e.detail.token)}))}));
(function(){
var supportsPassive=false;
try {
var opts=Object.defineProperty({}, 'passive', {
get:function(){
supportsPassive=true;
}});
window.addEventListener('testPassive', null, opts);
window.removeEventListener('testPassive', null, opts);
} catch(e){}
function init(){
var input_begin='';
var keydowns={};
var lastKeyup=null;
var lastKeydown=null;
var keypresses=[];
var modifierKeys=[];
var correctionKeys=[];
var lastMouseup=null;
var lastMousedown=null;
var mouseclicks=[];
var mouseclickCoordinates=[];
var mousemoveTimer=null;
var lastMousemoveX=null;
var lastMousemoveY=null;
var mousemoveStart=null;
var mousemoves=[];
var touchmoveCountTimer=null;
var touchmoveCount=0;
var lastTouchEnd=null;
var lastTouchStart=null;
var touchEvents=[];
var scrollCountTimer=null;
var scrollCount=0;
var correctionKeyCodes=[ 'Backspace', 'Delete', 'ArrowUp', 'ArrowDown', 'ArrowLeft', 'ArrowRight', 'Home', 'End', 'PageUp', 'PageDown' ];
var modifierKeyCodes=[ 'Shift', 'CapsLock' ];
var forms=document.querySelectorAll('form[method=post]');
for(var i=0; i < forms.length; i++){
var form=forms[i];
var formAction=form.getAttribute('action');
if(formAction){
if(formAction.indexOf('http://')==0||formAction.indexOf('https://')==0){
if(formAction.indexOf('http://' + window.location.hostname + '/')!=0&&formAction.indexOf('https://' + window.location.hostname + '/')!=0){
continue;
}}
}
form.addEventListener('submit', function (){
var ak_bkp=prepare_array_for_request(keypresses);
var ak_bmc=prepare_array_for_request(mouseclicks);
var ak_bte=prepare_array_for_request(touchEvents);
var ak_bmm=prepare_array_for_request(mousemoves);
var ak_bcc=prepare_array_for_request(mouseclickCoordinates);
var input_fields={
'bib': input_begin,
'bfs': Date.now(),
'bkpc': keypresses.length,
'bkp': ak_bkp,
'bmc': ak_bmc,
'bmcc': mouseclicks.length,
'bmk': modifierKeys.join(';'),
'bck': correctionKeys.join(';'),
'bmmc': mousemoves.length,
'btmc': touchmoveCount,
'bsc': scrollCount,
'bte': ak_bte,
'btec':touchEvents.length,
'bmm':ak_bmm,
'bcc':ak_bcc
};
var akismet_field_prefix='ak_';
if(this.getElementsByClassName){
var possible_akismet_containers=this.getElementsByClassName('akismet-fields-container');
for(var containerIndex=0; containerIndex < possible_akismet_containers.length; containerIndex++){
var container=possible_akismet_containers.item(containerIndex);
if(container.getAttribute('data-prefix') ){
akismet_field_prefix=container.getAttribute('data-prefix');
break;
}}
}
for(var field_name in input_fields){
var field=document.createElement('input');
field.setAttribute('type', 'hidden');
field.setAttribute('name', akismet_field_prefix + field_name);
field.setAttribute('value', input_fields[ field_name ]);
this.appendChild(field);
}}, supportsPassive ? { passive: true }:false);
form.addEventListener('keydown', function(e){
if(e.key in keydowns){
return;
}
var keydownTime=(new Date()).getTime();
keydowns[ e.key ]=[ keydownTime ];
if(! input_begin){
input_begin=keydownTime;
}
var lastKeyEvent=Math.max(lastKeydown, lastKeyup);
if(lastKeyEvent){
keydowns[ e.key ].push(keydownTime - lastKeyEvent);
}
lastKeydown=keydownTime;
}, supportsPassive ? { passive: true }:false);
form.addEventListener('keyup', function(e){
if(!(e.key in keydowns) ){
return;
}
var keyupTime=(new Date()).getTime();
if('TEXTAREA'===e.target.nodeName||'INPUT'===e.target.nodeName){
if(-1!==modifierKeyCodes.indexOf(e.key) ){
modifierKeys.push(keypresses.length - 1);
}else if(-1!==correctionKeyCodes.indexOf(e.key) ){
correctionKeys.push(keypresses.length - 1);
}else{
var keydownTime=keydowns[ e.key ][0];
var keypress=[];
keypress.push(keyupTime - keydownTime);
if(keydowns[ e.key ].length > 1){
keypress.push(keydowns[ e.key ][1]);
}
keypresses.push(keypress);
}}
delete keydowns[ e.key ];
lastKeyup=keyupTime;
}, supportsPassive ? { passive: true }:false);
form.addEventListener("focusin", function(e){
lastKeydown=null;
lastKeyup=null;
keydowns={};}, supportsPassive ? { passive: true }:false);
form.addEventListener("focusout", function(e){
lastKeydown=null;
lastKeyup=null;
keydowns={};}, supportsPassive ? { passive: true }:false);
}
document.addEventListener('mousedown', function(e){
lastMousedown=(new Date()).getTime();
var mouseclickCoordinate=[];
var rect=e.target.getBoundingClientRect();
var relativeX=e.clientX - rect.left;
var relativeY=e.clientY - rect.top;
mouseclickCoordinate.push(Math.round(relativeX) );
mouseclickCoordinate.push(Math.round(relativeY) );
mouseclickCoordinate.push(rect.width > 0 ? Math.round(relativeX / rect.width * 100):0);
mouseclickCoordinate.push(rect.height > 0 ? Math.round(relativeY / rect.height * 100):0);
mouseclickCoordinates.push(mouseclickCoordinate);
}, supportsPassive ? { passive: true }:false);
document.addEventListener('mouseup', function(e){
if(! lastMousedown){
return;
}
var now=(new Date()).getTime();
var mouseclick=[];
mouseclick.push(now - lastMousedown);
if(lastMouseup){
mouseclick.push(lastMousedown - lastMouseup);
}
mouseclicks.push(mouseclick);
lastMouseup=now;
lastKeydown=null;
lastKeyup=null;
keydowns={};}, supportsPassive ? { passive: true }:false);
document.addEventListener('mousemove', function(e){
if(mousemoveTimer){
clearTimeout(mousemoveTimer);
mousemoveTimer=null;
}else{
mousemoveStart=(new Date()).getTime();
lastMousemoveX=e.offsetX;
lastMousemoveY=e.offsetY;
}
mousemoveTimer=setTimeout(function(theEvent, originalMousemoveStart){
var now=(new Date()).getTime() - 500;
var mousemove=[];
mousemove.push(now - originalMousemoveStart);
mousemove.push(Math.round(Math.sqrt(Math.pow(theEvent.offsetX - lastMousemoveX, 2) +
Math.pow(theEvent.offsetY - lastMousemoveY, 2)
)
)
);
if(mousemove[1] > 0){
mousemoves.push(mousemove);
}
mousemoveStart=null;
mousemoveTimer=null;
}, 500, e, mousemoveStart);
}, supportsPassive ? { passive: true }:false);
document.addEventListener('touchmove', function(e){
if(touchmoveCountTimer){
clearTimeout(touchmoveCountTimer);
}
touchmoveCountTimer=setTimeout(function (){
touchmoveCount++;
}, 500);
}, supportsPassive ? { passive: true }:false);
document.addEventListener('touchstart', function(e){
lastTouchStart=(new Date()).getTime();
}, supportsPassive ? { passive: true }:false);
document.addEventListener('touchend', function(e){
if(! lastTouchStart){
return;
}
var now=(new Date()).getTime();
var touchEvent=[];
touchEvent.push(now - lastTouchStart);
if(lastTouchEnd){
touchEvent.push(lastTouchStart - lastTouchEnd);
}
touchEvents.push(touchEvent);
lastTouchEnd=now;
lastKeydown=null;
lastKeyup=null;
keydowns={};}, supportsPassive ? { passive: true }:false);
document.addEventListener('scroll', function(e){
if(scrollCountTimer){
clearTimeout(scrollCountTimer);
}
scrollCountTimer=setTimeout(function (){
scrollCount++;
}, 500);
}, supportsPassive ? { passive: true }:false);
}
function prepare_array_for_request(a, limit){
if(! limit){
limit=100;
}
var rv='';
if(a.length > 0){
var random_starting_point=Math.max(0, Math.floor(Math.random() * a.length - limit) );
for(var i=0; i < limit&&i < a.length; i++){
var entry=a[ random_starting_point + i ];
rv +=entry.join(',') + ';';
}}
return rv;
}
if(document.readyState!=='loading'){
init();
}else{
document.addEventListener('DOMContentLoaded', init);
}})();
USR_PREFS_CK_NAME="undefined"!=typeof USR_PREFS_CK_NAME?USR_PREFS_CK_NAME:"lwaio_consent_preferences",ACTED_CONSENT_CK_NAME="undefined"!=typeof ACTED_CONSENT_CK_NAME?ACTED_CONSENT_CK_NAME:"lwaio_consent_acted",EXP_CK_NAME="undefined"!=typeof EXP_CK_NAME?EXP_CK_NAME:"1 Year",function(e){"use strict";let t={set:function(e,t,o,i=""){let s="";if(o){let e=new Date;e.setTime(e.getTime()+24*o*60*60*1e3),s="; expires="+e.toGMTString()}i&&(i="; domain="+i),document.cookie=e+"="+t+s+"; path=/"+i},read:function(e){let t=e+"=",o=document.cookie.split(";"),i=o.length;for(let e=0;e<i;e++){let i=o[e];for(;" "==i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(t))return i.substring(t.length,i.length)}return null},exists:function(e){return null!==this.read(e)},getallcookies:function(){let e=document.cookie.split(";"),t={},o=e.length;for(let i=0;i<o;i++){let o=e[i].split("=");t[(o[0]+"").trim()]=unescape(o[1])}return t},erase:function(e,t){t?this.set(e,"",-10,t):this.set(e,"",-10)}},o={bar_config:{},show_config:{},allowed_categories:[],set:function(e){if("function"!=typeof JSON.parse)return void console.log("LWAIOCookieConsent requires JSON.parse but your browser doesn't support it");this.settings=JSON.parse(e.settings),EXP_CK_NAME=this.settings.cookie_expiry,this.bar_elm=jQuery(this.settings.notify_div_id),this.show_again_elm=jQuery(this.settings.show_again_div_id),this.details_elm=this.bar_elm.find(".lwaio_messagebar_detail"),this.main_button=jQuery("#cookie_action_accept"),this.main_link=jQuery("#cookie_action_link"),this.reject_button=jQuery("#cookie_action_reject"),this.settings_button=jQuery("#cookie_action_settings"),this.save_button=jQuery("#cookie_action_save"),this.confirm_button=jQuery("#cookie_action_confirm"),this.cancel_button=jQuery("#cookie_action_cancel"),this.accept_all_button=jQuery("#cookie_action_accept_all"),this.configBar(),this.toggleBar(),this.attachEvents(),this.configButtons(),this.settings.auto_scroll&&window.addEventListener("scroll",o.acceptOnScroll,!1);let i=JSON.parse(t.read(USR_PREFS_CK_NAME)),s=t.read(ACTED_CONSENT_CK_NAME),n="";n=new CustomEvent("LwAioCookieConsentOnLoad",{detail:{lwaio_consent_preferences:i,lwaio_consent_acted:s}}),window.dispatchEvent(n)},attachEvents:function(){jQuery(".lwaio_action_button").click(function(e){e.preventDefault();let i="",s="",n="",a="",c=jQuery(this).attr("data-lwaio_action");if("accept_all"==c)o.enableAllCookies(),o.accept_all_close(),s=JSON.parse(t.read(USR_PREFS_CK_NAME)),n=JSON.stringify(s),a=t.read(ACTED_CONSENT_CK_NAME),t.set(USR_PREFS_CK_NAME,n,EXP_CK_NAME),i=new CustomEvent("LwAioCookieConsentOnAcceptAll",{detail:{lwaio_consent_preferences:s,lwaio_consent_acted:a}}),window.dispatchEvent(i),o.logConsent(c);else if("accept"==c)o.accept_close(),s=JSON.parse(t.read(USR_PREFS_CK_NAME)),n=JSON.stringify(s),a=t.read(ACTED_CONSENT_CK_NAME),t.set(USR_PREFS_CK_NAME,n,EXP_CK_NAME),i=new CustomEvent("LwAioCookieConsentOnAccept",{detail:{lwaio_consent_preferences:s,lwaio_consent_acted:a}}),window.dispatchEvent(i),o.logConsent(c);else if("reject"==c){o.reject_close(),s=JSON.parse(t.read(USR_PREFS_CK_NAME)),a=t.read(ACTED_CONSENT_CK_NAME),t.erase(USR_PREFS_CK_NAME),i=new CustomEvent("LwAioCookieConsentOnReject",{detail:{lwaio_consent_preferences:s,lwaio_consent_acted:a}}),window.dispatchEvent(i);let e=t.getallcookies();"object"==typeof e&&null!==e&&jQuery.each(e,function(e,o){e!=ACTED_CONSENT_CK_NAME&&t.erase(e,"."+window.location.host)}),o.logConsent(c)}else"settings"==c?(o.bar_elm.slideUp(o.settings.animate_speed_hide),o.show_again_elm.slideUp(o.settings.animate_speed_hide)):"close"==c?o.displayHeader():"show_settings"==c?o.show_details():"hide_settings"==c?o.hide_details():"close_banner"==c&&(o.hideHeader(),o.accept_close(),"yes"!=(a=t.read(ACTED_CONSENT_CK_NAME))&&(s=JSON.parse(t.read(USR_PREFS_CK_NAME)),n=JSON.stringify(s),t.set(USR_PREFS_CK_NAME,n,EXP_CK_NAME),i=new CustomEvent("LwAioCookieConsentOnAccept",{detail:{lwaio_consent_preferences:s,lwaio_consent_acted:a}}),window.dispatchEvent(i)))}),jQuery(".group-switch-buttons input").each(function(){let e=jQuery(this).val(),i={},s="";if(t.read(USR_PREFS_CK_NAME)&&(i=JSON.parse(t.read(USR_PREFS_CK_NAME))),"necessary"==e||jQuery(this).is(":checked"))i[e]="yes",o.allowed_categories.push(e);else{i[e]="no";let t=o.allowed_categories.length;for(let i=0;i<t;i++)o.allowed_categories[i]==e&&o.allowed_categories.splice(i,1)}s=JSON.stringify(i),t.set(USR_PREFS_CK_NAME,s,EXP_CK_NAME)}),jQuery(document).on("click","#lwaio-consent-show-again",function(t){t.preventDefault(),jQuery(o.settings.notify_div_id).find("p.lwaio").show(),jQuery(o.settings.notify_div_id).find(".lwaio.group-description-buttons").show(),o.displayHeader(),e(this).hide()}),jQuery(document).on("click",".group-switch-buttons input",function(){let e=jQuery(this).val(),i={},s="";if(t.read(USR_PREFS_CK_NAME)&&(i=JSON.parse(t.read(USR_PREFS_CK_NAME))),jQuery(this).is(":checked"))i[e]="yes",o.allowed_categories.push(e);else{i[e]="no";let t=o.allowed_categories.length;for(let i=0;i<t;i++)o.allowed_categories[i]==e&&o.allowed_categories.splice(i,1)}s=JSON.stringify(i),t.set(USR_PREFS_CK_NAME,s,EXP_CK_NAME)}),jQuery(document).on("click","#lwaio_consent_tabs_overview",function(e){e.preventDefault();let t=jQuery(this);jQuery("#lwaio_consent_tabs").find("a").removeClass("tab_selected"),t.addClass("tab_selected"),t.css("border-bottom-color",o.settings.border_active_color),t.css("background-color",o.settings.background_active_color),jQuery("#lwaio_consent_tabs_about").css("border-bottom-color",o.settings.border_color),jQuery("#lwaio_consent_tabs_about").css("background-color",o.settings.background_color),jQuery("#lwaio_consent_about").hide(),jQuery("#lwaio_consent_overview").show()}),jQuery(document).on("click","#lwaio_consent_tabs_about",function(e){e.preventDefault();let t=jQuery(this);jQuery("#lwaio_consent_tabs").find("a").removeClass("tab_selected"),t.addClass("tab_selected"),t.css("border-bottom-color",o.settings.border_active_color),t.css("background-color",o.settings.background_active_color),jQuery("#lwaio_consent_tabs_overview").css("border-bottom-color",o.settings.border_color),jQuery("#lwaio_consent_tabs_overview").css("background-color",o.settings.background_color),jQuery("#lwaio_consent_overview").hide(),jQuery("#lwaio_consent_about").show()}),jQuery(document).on("click","#lwaio_consent_overview_cookie_container_types a",function(e){e.preventDefault();let t=jQuery(this),i=t.parent();i.find("a").removeClass("lwaio_consent_overview_cookie_container_type_selected"),i.find("a").css("border-right-color",o.settings.border_color),i.find("a").css("background-color",o.settings.background_color),t.addClass("lwaio_consent_overview_cookie_container_type_selected"),t.css("border-right-color",o.settings.border_active_color),t.css("background-color",o.settings.background_active_color);let s=jQuery(this).attr("data-target"),n=i.siblings("#lwaio_consent_overview_cookie_container_type_details");n.find(".lwaio_consent_cookie_type_details").hide(),n.find("#"+s).show()})},configButtons:function(){this.settings_button.attr("style",`color: ${this.settings.button_link_color} !important; background-color: ${this.settings.secondary_color} !important`),this.main_button.css("color",this.settings.button_link_color),this.main_button.css("background-color",this.settings.primary_color),this.accept_all_button.css("color",this.settings.button_link_color),this.accept_all_button.css("background-color",this.settings.primary_color),this.confirm_button.css("color",this.settings.button_link_color),this.confirm_button.css("background-color",this.settings.primary_color),this.main_link.css("color",this.settings.secondary_color),this.reject_button.css("display","inline-block"),this.reject_button.attr("style",`color: ${this.settings.button_link_color} !important; background-color: ${this.settings.secondary_color} !important`),this.cancel_button.css("color",this.settings.button_link_color),this.cancel_button.css("display","inline-block"),this.cancel_button.css("background-color",this.settings.secondary_color),this.save_button.css("color",this.settings.button_link_color),this.save_button.css("background-color",this.settings.primary_color),this.details_elm.find("table.lwaio_consent_cookie_type_table tr").css("border-color",o.settings.border_color),this.details_elm.find(".lwaio_consent_cookie_type_intro").css("border-color",o.settings.border_color),this.details_elm.find("a").each(function(){jQuery(this).css("border-color",o.settings.border_color),jQuery(this).css("background-color",o.settings.background_color)}),this.details_elm.find("a.lwaio_consent_overview_cookie_container_type_selected").css("border-right-color",o.settings.border_active_color),this.details_elm.find("a.lwaio_consent_overview_cookie_container_type_selected").css("background-color",o.settings.background_active_color),this.details_elm.find("#lwaio_consent").css("border-color",o.settings.border_color),this.details_elm.find("#lwaio_consent_tabs").css("border-color",o.settings.border_color),this.details_elm.find("#lwaio_consent_tabs .tab_selected").css("border-bottom-color",o.settings.border_active_color),this.details_elm.find("#lwaio_consent_tabs .tab_selected").css("background-color",o.settings.background_active_color)},configBar:function(){this.bar_config={"background-color":this.settings.background,color:this.settings.text,"border-top":"1px solid "+this.settings.secondary_color},this.show_config={width:"auto","background-color":this.settings.background,color:this.settings.text,position:"fixed",opacity:this.settings.opacity,bottom:"0","border-top":"1px solid "+this.settings.secondary_color},"right"==this.settings.show_again_position?this.show_config.right=this.settings.show_again_margin+"%":this.show_config.left=this.settings.show_again_margin+"%",this.bar_config.position="fixed",this.bar_config.opacity=this.settings.opacity,this.bar_elm.find(".lwaio_messagebar_content").css("max-width","800px"),"bottom"==this.settings.banner_position?this.bar_config.bottom="0":this.bar_config.top="0",this.bar_elm.css(this.bar_config).hide(),this.show_again_elm.css(this.show_config).hide()},toggleBar:function(){t.exists(ACTED_CONSENT_CK_NAME)?this.hideHeader():(this.displayHeader(),this.settings.auto_hide&&setTimeout(function(){o.accept_close()},this.settings.auto_hide_delay))},accept_close:function(){return t.set(ACTED_CONSENT_CK_NAME,"yes",EXP_CK_NAME),this.settings.notify_animate_hide?this.bar_elm.slideUp(this.settings.animate_speed_hide,i.runScripts):this.bar_elm.hide(i.runScripts),this.show_again_elm.slideDown(this.settings.animate_speed_hide),1==this.settings.accept_reload&&window.location.reload(!0),!1},accept_all_close:function(){return t.set(ACTED_CONSENT_CK_NAME,"yes",EXP_CK_NAME),this.settings.notify_animate_hide?this.bar_elm.slideUp(this.settings.animate_speed_hide,i.runScripts):this.bar_elm.hide(i.runScripts),this.show_again_elm.slideDown(this.settings.animate_speed_hide),1==this.settings.accept_reload&&window.location.reload(!0),!1},reject_close:function(){return t.set(ACTED_CONSENT_CK_NAME,"yes",EXP_CK_NAME),o.disableAllCookies(),this.settings.notify_animate_hide?this.bar_elm.slideUp(this.settings.animate_speed_hide,i.runScripts):this.bar_elm.hide(i.runScripts),this.show_again_elm.slideDown(this.settings.animate_speed_hide),1==this.settings.decline_reload&&window.location.reload(!0),!1},logConsent:function(e){this.settings.logging_on&&jQuery.ajax({url:log_obj.ajax_url,type:"POST",data:{action:"lwaio_log_consent_action",lwaio_user_action:e,cookie_list:t.getallcookies()},success:function(e){}})},disableAllCookies:function(){let i={},s="";t.read(USR_PREFS_CK_NAME)&&(i=JSON.parse(t.read(USR_PREFS_CK_NAME)),jQuery.each(i,function(t,s){if("necessary"!=t){i[t]="no",e('.group-switch-buttons input[value="'+t+'"]').prop("checked",!1);let s=o.allowed_categories.length;for(let e=0;e<s;e++)o.allowed_categories[e]==t&&o.allowed_categories.splice(e,1)}}),s=JSON.stringify(i),t.set(USR_PREFS_CK_NAME,s,EXP_CK_NAME))},enableAllCookies:function(){let i={},s="";t.read(USR_PREFS_CK_NAME)&&(i=JSON.parse(t.read(USR_PREFS_CK_NAME)),jQuery.each(i,function(t,s){if("necessary"!=t){i[t]="yes",e('.group-switch-buttons input[value="'+t+'"]').prop("checked",!0);let s=o.allowed_categories.length;for(let e=0;e<s;e++)o.allowed_categories[e]==t&&o.allowed_categories.splice(e,1)}}),s=JSON.stringify(i),t.set(USR_PREFS_CK_NAME,s,EXP_CK_NAME))},show_details:function(){this.details_elm.show(),this.bar_elm.css("opacity",1),this.details_elm.css("border-top-color",o.settings.border_color),this.settings_button.attr("data-lwaio_action","hide_settings")},hide_details:function(){this.details_elm.hide(),this.bar_elm.css("opacity",o.settings.opacity),this.settings_button.attr("data-lwaio_action","show_settings")},displayHeader:function(e,t){this.bar_elm.show(),e&&(jQuery(o.settings.notify_div_id).find("p.lwaio").hide(),jQuery(o.settings.notify_div_id).find(".lwaio.group-description-buttons").hide()),this.show_again_elm.slideUp(this.settings.animate_speed_hide)},hideHeader:function(e){this.bar_elm.slideUp(this.settings.animate_speed_hide),e||this.show_again_elm.slideDown(this.settings.animate_speed_hide)},acceptOnScroll:function(){let i=e(window).scrollTop()/(e(document).height()-e(window).height());Math.round(100*i)>o.settings.auto_scroll_offset&&!t.exists(ACTED_CONSENT_CK_NAME)&&(o.accept_close(),window.removeEventListener("scroll",o.acceptOnScroll,!1),1==o.settings.auto_scroll_reload&&window.location.reload())}},i={blockingStatus:!0,scriptsLoaded:!1,set:function(e){"function"==typeof JSON.parse?this.cookies=JSON.parse(e.cookies):console.log("LWAIOCookieConsent requires JSON.parse but your browser doesn't support it")},removeCookieByCategory:function(){if(1==i.blockingStatus)for(let e in i.cookies){let s=i.cookies[e],n=s.lwaio_category_slug;if(-1===o.allowed_categories.indexOf(n)){let e=s.data;if(e&&0!=e.length)for(let o in e){let i=e[o];t.erase(i.name)}}}},runScripts:function(){let e=["iframe","IFRAME","EMBED","embed","OBJECT","object","IMG","img"],s=function(e){n.renderScripts(),a.renderSrcElement(),e(),i.scriptsLoaded=!0},n={scriptsDone:function(){let e=document.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),window.document.dispatchEvent(e)},seq:function(e,t,o){void 0===o&&(o=0),e[o](function(){++o===e.length?t():n.seq(e,t,o)})},insertScript:function(e,s){let n=["data-wpl-class","data-wpl-label","data-wpl-placeholder","data-wpl-script-type","data-wpl-src"],a=e.getAttribute("data-wpl-script-type"),c=e.getAttribute("data-wpl-element-position"),r=e.getAttribute("data-wpl-block"),l=document.createElement("script");l.type="text/plain",e.async&&(l.async=e.async),e.defer&&(l.defer=e.defer),e.src?(l.onload=s,l.onerror=s,l.src=e.src):l.textContent=e.innerText;let _=jQuery(e).prop("attributes"),d=_.length;for(let e=0;e<d;++e)"id"!==_[e].nodeName&&-1!==n.indexOf(_[e].nodeName)&&l.setAttribute(_[e].nodeName,_[e].value);!0===i.blockingStatus?("yes"==t.read(ACTED_CONSENT_CK_NAME)&&-1!==o.allowed_categories.indexOf(a)||null==t.read(ACTED_CONSENT_CK_NAME)&&"false"===r)&&(l.setAttribute("data-wpl-consent","accepted"),l.type="text/javascript"):l.type="text/javascript",e.type!=l.type&&("head"===c?(document.head.appendChild(l),e.src||s(),e.parentNode.removeChild(e)):(document.body.appendChild(l),e.src||s(),e.parentNode.removeChild(e)))},renderScripts:function(){let e=document.querySelectorAll('script[data-wpl-class="wpl-blocker-script"]');if(e.length>0){let t,o=[];Array.prototype.forEach.call(e,function(e){t=e.getAttribute("type");e.tagName;o.push(function(t){n.insertScript(e,t)})}),n.seq(o,n.scriptsDone)}}},a={renderSrcElement:function(){let s=document.querySelectorAll('[data-wpl-class="wpl-blocker-script"]'),n=s.length;for(let a=0;a<n;a++){let n=s[a],c=n.tagName;if(-1!==e.indexOf(c)){let e=n.getAttribute("data-wpl-script-type"),s=n.getAttribute("data-wpl-block");!0===i.blockingStatus?"yes"==t.read(ACTED_CONSENT_CK_NAME)&&-1!==o.allowed_categories.indexOf(e)||null!=t.read(ACTED_CONSENT_CK_NAME)&&"false"===s?this.replaceSrc(n):this.addPlaceholder(n):this.replaceSrc(n)}}},addPlaceholder:function(e){if(0===jQuery(e).prev(".wpl-iframe-placeholder").length){let t=e.getAttribute("data-wpl-placeholder"),o=e.getAttribute("width"),i=e.getAttribute("height");null==o&&(o=e.offsetWidth),null==i&&(i=e.offsetHeight);let s=/px/,n='<div style="width:'+(o=s.test(o)?o:o+"px")+"; height:"+(i=s.test(i)?i:i+"px")+';" class="wpl-iframe-placeholder"><div class="wpl-inner-text">'+t+"</div></div>";"IMG"!==e.tagName&&jQuery(n).insertBefore(e),e.removeAttribute("src"),e.style.display="none"}},replaceSrc:function(e){if(!e.hasAttribute("src")){let t=e.getAttribute("data-wpl-src");e.setAttribute("src",t),jQuery(e).prev(".wpl-iframe-placeholder").length>0&&jQuery(e).prev(".wpl-iframe-placeholder").remove(),e.style.display="block"}}};(function(){jQuery(document).on("click",".wpl_manage_current_consent",function(){o.displayHeader()})})(),s(i.removeCookieByCategory)}};e(document).ready(function(){"undefined"!=typeof lwaiobar_settings&&o.set({settings:lwaiobar_settings}),"undefined"!=typeof lwaios_list&&(i.set({cookies:lwaios_list}),i.runScripts())}),e(document).ready(function(){e(".lwaio-column").click(function(){e(".lwaio-column",this),e(this).children(".lwaio-columns").hasClass("active-group")||(e(".lwaio-columns").removeClass("active-group"),e(this).children(".lwaio-columns").addClass("active-group")),e(this).siblings(".description-container").hasClass("hide")&&(e(".description-container").addClass("hide"),e(this).siblings(".description-container").removeClass("hide"))})})}(jQuery);