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),(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_animation_holder.default",function(){initElementsAnimation()})})}(qode.modules.elementorAnimationHolder=t).qodeInitElementorAnimationHolder=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.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_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_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_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_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_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_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_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_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_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_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_preview_slider.default",function(){initPreviewSlider()})})}(qode.modules.elementorPreviewSlider=t).qodeInitElementorPreviewSlider=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),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_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_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()})})}),jQuery(window).on("load",function(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_unordered_list.default",function(){initListAnimation()})})}),(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),(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_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_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_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_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_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_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);
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var o in n)("object"==typeof exports?exports:e)[o]=n[o]}}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t);var o,i="fslightbox-",r="".concat(i,"styles"),s="".concat(i,"cursor-grabbing"),a="".concat(i,"full-dimension"),c="".concat(i,"flex-centered"),l="".concat(i,"open"),u="".concat(i,"transform-transition"),d="".concat(i,"absoluted"),f="".concat(i,"slide-btn"),p="".concat(f,"-container"),h="".concat(i,"fade-in"),m="".concat(i,"fade-out"),g=h+"-strong",v=m+"-strong",b="".concat(i,"opacity-"),x="".concat(b,"1"),y="".concat(i,"source");function w(e){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function S(e){var t=e.stageIndexes,n=e.core.stageManager,o=e.props.sources.length-1;n.getPreviousSlideIndex=function(){return 0===t.current?o:t.current-1},n.getNextSlideIndex=function(){return t.current===o?0:t.current+1},n.updateStageIndexes=0===o?function(){}:1===o?function(){0===t.current?(t.next=1,delete t.previous):(t.previous=0,delete t.next)}:function(){t.previous=n.getPreviousSlideIndex(),t.next=n.getNextSlideIndex()},n.i=o<=2?function(){return!0}:function(e){var n=t.current;if(0===n&&e===o||n===o&&0===e)return!0;var i=n-e;return-1===i||0===i||1===i}}"object"===("undefined"==typeof document?"undefined":w(document))&&((o=document.createElement("style")).className=r,o.appendChild(document.createTextNode(".fslightbox-absoluted{position:absolute;top:0;left:0}.fslightbox-fade-in{animation:fslightbox-fade-in .3s cubic-bezier(0,0,.7,1)}.fslightbox-fade-out{animation:fslightbox-fade-out .3s ease}.fslightbox-fade-in-strong{animation:fslightbox-fade-in-strong .3s cubic-bezier(0,0,.7,1)}.fslightbox-fade-out-strong{animation:fslightbox-fade-out-strong .3s ease}@keyframes fslightbox-fade-in{from{opacity:.65}to{opacity:1}}@keyframes fslightbox-fade-out{from{opacity:.35}to{opacity:0}}@keyframes fslightbox-fade-in-strong{from{opacity:.3}to{opacity:1}}@keyframes fslightbox-fade-out-strong{from{opacity:1}to{opacity:0}}.fslightbox-cursor-grabbing{cursor:grabbing}.fslightbox-full-dimension{width:100%;height:100%}.fslightbox-open{overflow:hidden;height:100%}.fslightbox-flex-centered{display:flex;justify-content:center;align-items:center}.fslightbox-opacity-0{opacity:0!important}.fslightbox-opacity-1{opacity:1!important}.fslightbox-scrollbarfix{padding-right:17px}.fslightbox-transform-transition{transition:transform .3s}.fslightbox-container{font-family:Arial,sans-serif;position:fixed;top:0;left:0;background:linear-gradient(rgba(30,30,30,.9),#000 1810%);touch-action:pinch-zoom;z-index:1000000000;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.fslightbox-container *{box-sizing:border-box}.fslightbox-svg-path{transition:fill .15s ease;fill:#ddd}.fslightbox-nav{height:45px;width:100%;position:absolute;top:0;left:0}.fslightbox-slide-number-container{display:flex;justify-content:center;align-items:center;position:relative;height:100%;font-size:15px;color:#d7d7d7;z-index:0;max-width:55px;text-align:left}.fslightbox-slide-number-container .fslightbox-flex-centered{height:100%}.fslightbox-slash{display:block;margin:0 5px;width:1px;height:12px;transform:rotate(15deg);background:#fff}.fslightbox-toolbar{position:absolute;z-index:3;right:0;top:0;height:100%;display:flex;background:rgba(35,35,35,.65)}.fslightbox-toolbar-button{height:100%;width:45px;cursor:pointer}.fslightbox-toolbar-button:hover .fslightbox-svg-path{fill:#fff}.fslightbox-slide-btn-container{display:flex;align-items:center;padding:12px 12px 12px 6px;position:absolute;top:50%;cursor:pointer;z-index:3;transform:translateY(-50%)}@media (min-width:476px){.fslightbox-slide-btn-container{padding:22px 22px 22px 6px}}@media (min-width:768px){.fslightbox-slide-btn-container{padding:30px 30px 30px 6px}}.fslightbox-slide-btn-container:hover .fslightbox-svg-path{fill:#f1f1f1}.fslightbox-slide-btn{padding:9px;font-size:26px;background:rgba(35,35,35,.65)}@media (min-width:768px){.fslightbox-slide-btn{padding:10px}}@media (min-width:1600px){.fslightbox-slide-btn{padding:11px}}.fslightbox-slide-btn-container-previous{left:0}@media (max-width:475.99px){.fslightbox-slide-btn-container-previous{padding-left:3px}}.fslightbox-slide-btn-container-next{right:0;padding-left:12px;padding-right:3px}@media (min-width:476px){.fslightbox-slide-btn-container-next{padding-left:22px}}@media (min-width:768px){.fslightbox-slide-btn-container-next{padding-left:30px}}@media (min-width:476px){.fslightbox-slide-btn-container-next{padding-right:6px}}.fslightbox-down-event-detector{position:absolute;z-index:1}.fslightbox-slide-swiping-hoverer{z-index:4}.fslightbox-invalid-file-wrapper{font-size:22px;color:#eaebeb;margin:auto}.fslightbox-video{object-fit:cover}.fslightbox-youtube-iframe{border:0}.fslightboxl{display:block;margin:auto;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:67px;height:67px}.fslightboxl div{box-sizing:border-box;display:block;position:absolute;width:54px;height:54px;margin:6px;border:5px solid;border-color:#999 transparent transparent transparent;border-radius:50%;animation:fslightboxl 1.2s cubic-bezier(.5,0,.5,1) infinite}.fslightboxl div:nth-child(1){animation-delay:-.45s}.fslightboxl div:nth-child(2){animation-delay:-.3s}.fslightboxl div:nth-child(3){animation-delay:-.15s}@keyframes fslightboxl{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.fslightbox-source{position:relative;z-index:2;opacity:0}")),document.head.appendChild(o));function L(e){var t,n=e.props,o=0,i={};this.getSourceTypeFromLocalStorageByUrl=function(e){return t[e]?t[e]:r(e)},this.handleReceivedSourceTypeForUrl=function(e,n){if(!1===i[n]&&(o--,"invalid"!==e?i[n]=e:delete i[n],0===o)){!function(e,t){for(var n in t)e[n]=t[n]}(t,i);try{localStorage.setItem("fslightbox-types",JSON.stringify(t))}catch(e){}}};var r=function(e){o++,i[e]=!1};if(n.disableLocalStorage)this.getSourceTypeFromLocalStorageByUrl=function(){},this.handleReceivedSourceTypeForUrl=function(){};else{try{t=JSON.parse(localStorage.getItem("fslightbox-types"))}catch(e){}t||(t={},this.getSourceTypeFromLocalStorageByUrl=r)}}function A(e,t,n,o){var i=e.data,r=e.elements.sources,s=n/o,a=0;this.adjustSize=function(){if((a=i.maxSourceWidth/s)<i.maxSourceHeight)return n<i.maxSourceWidth&&(a=o),c();a=o>i.maxSourceHeight?i.maxSourceHeight:o,c()};var c=function(){r[t].style.width=a*s+"px",r[t].style.height=a+"px"}}function C(e,t){var n=this,o=e.collections.sourceSizers,i=e.elements,r=i.sourceAnimationWrappers,s=i.sources,a=e.isl,c=e.resolve;function l(e,n){o[t]=c(A,[t,e,n]),o[t].adjustSize()}this.runActions=function(e,o){a[t]=!0,s[t].classList.add(x),r[t].classList.add(g),r[t].removeChild(r[t].firstChild),l(e,o),n.runActions=l}}function E(e,t){var n,o=this,i=e.elements.sources,r=e.props,s=(0,e.resolve)(C,[t]);this.handleImageLoad=function(e){var t=e.target,n=t.naturalWidth,o=t.naturalHeight;s.runActions(n,o)},this.handleVideoLoad=function(e){var t=e.target,o=t.videoWidth,i=t.videoHeight;n=!0,s.runActions(o,i)},this.handleNotMetaDatedVideoLoad=function(){n||o.handleYoutubeLoad()},this.handleYoutubeLoad=function(){var e=1920,t=1080;r.maxYoutubeDimensions&&(e=r.maxYoutubeDimensions.width,t=r.maxYoutubeDimensions.height),s.runActions(e,t)},this.handleCustomLoad=function(){var e=i[t],n=e.offsetWidth,r=e.offsetHeight;n&&r?s.runActions(n,r):setTimeout(o.handleCustomLoad)}}function F(e,t,n){var o=e.elements.sources,i=e.props.customClasses,r=i[t]?i[t]:"";o[t].className=n+" "+r}function I(e,t){var n=e.elements.sources,o=e.props.customAttributes;for(var i in o[t])n[t].setAttribute(i,o[t][i])}function T(e,t){var n=e.collections.sourceLoadHandlers,o=e.elements,i=o.sources,r=o.sourceAnimationWrappers,s=e.props.sources;i[t]=document.createElement("img"),F(e,t,y),i[t].src=s[t],i[t].onload=n[t].handleImageLoad,I(e,t),r[t].appendChild(i[t])}function N(e,t){var n=e.collections.sourceLoadHandlers,o=e.elements,i=o.sources,r=o.sourceAnimationWrappers,s=e.props,a=s.sources,c=s.videosPosters;i[t]=document.createElement("video"),F(e,t,y),i[t].src=a[t],i[t].onloadedmetadata=function(e){n[t].handleVideoLoad(e)},i[t].controls=!0,I(e,t),c[t]&&(i[t].poster=c[t]);var l=document.createElement("source");l.src=a[t],i[t].appendChild(l),setTimeout(n[t].handleNotMetaDatedVideoLoad,3e3),r[t].appendChild(i[t])}function z(e,t){var n=e.collections.sourceLoadHandlers,o=e.elements,r=o.sources,s=o.sourceAnimationWrappers,a=e.props.sources;r[t]=document.createElement("iframe"),F(e,t,"".concat(y," ").concat(i,"youtube-iframe"));var c=a[t],l=c.split("?")[1];r[t].src="https://www.youtube.com/embed/".concat(c.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/)[2],"?").concat(l||""),r[t].allowFullscreen=!0,I(e,t),s[t].appendChild(r[t]),n[t].handleYoutubeLoad()}function P(e,t){var n=e.collections.sourceLoadHandlers,o=e.elements,i=o.sources,r=o.sourceAnimationWrappers,s=e.props.sources;i[t]=s[t],F(e,t,"".concat(i[t].className," ").concat(y)),r[t].appendChild(i[t]),n[t].handleCustomLoad()}function k(e,t){var n=e.elements,o=n.sources,r=n.sourceAnimationWrappers;e.props.sources;o[t]=document.createElement("div"),o[t].className="".concat(i,"invalid-file-wrapper ").concat(c),o[t].innerHTML="Invalid source",r[t].classList.add(g),r[t].removeChild(r[t].firstChild),r[t].appendChild(o[t])}function H(e){var t=e.collections,n=t.sourceLoadHandlers,o=t.sourcesRenderFunctions,i=e.core.sourceDisplayFacade,r=e.resolve;this.runActionsForSourceTypeAndIndex=function(t,s){var a;switch("invalid"!==t&&(n[s]=r(E,[s])),t){case"image":a=T;break;case"video":a=N;break;case"youtube":a=z;break;case"custom":a=P;break;default:a=k}o[s]=function(){return a(e,s)},i.displaySourcesWhichShouldBeDisplayed()}}function W(){var e,t,n,o={isUrlYoutubeOne:function(e){var t=document.createElement("a");return t.href=e,"www.youtube.com"===t.hostname||"youtu.be"===t.hostname},getTypeFromResponseContentType:function(e){return e.slice(0,e.indexOf("/"))}};function i(){if(4!==n.readyState){if(2===n.readyState){var e;switch(o.getTypeFromResponseContentType(n.getResponseHeader("content-type"))){case"image":e="image";break;case"video":e="video";break;default:e="invalid"}n.onreadystatechange=null,n.abort(),t(e)}}else t("invalid")}this.setUrlToCheck=function(t){e=t},this.getSourceType=function(r){if(o.isUrlYoutubeOne(e))return r("youtube");t=r,(n=new XMLHttpRequest).onreadystatechange=i,n.open("GET",e,!0),n.send()}}function R(e,t,n){var o=e.props,i=o.types,r=o.type,s=o.sources,a=e.resolve;this.getTypeSetByClientForIndex=function(e){var t;return i&&i[e]?t=i[e]:r&&(t=r),t},this.retrieveTypeWithXhrForIndex=function(e){var o=a(W);o.setUrlToCheck(s[e]),o.getSourceType((function(o){t.handleReceivedSourceTypeForUrl(o,s[e]),n.runActionsForSourceTypeAndIndex(o,e)}))}}function D(e,t){var n=e.core.stageManager,o=e.elements,i=o.smw,r=o.sourceWrappersContainer,s=e.props,l=0,f=document.createElement("div");function p(e){f.style.transform="translateX(".concat(e+l,"px)"),l=0}function h(){return(1+s.slideDistance)*innerWidth}f.className="".concat(d," ").concat(a," ").concat(c),f.s=function(){f.style.display="flex"},f.h=function(){f.style.display="none"},f.a=function(){f.classList.add(u)},f.d=function(){f.classList.remove(u)},f.n=function(){f.style.removeProperty("transform")},f.v=function(e){return l=e,f},f.ne=function(){p(-h())},f.z=function(){p(0)},f.p=function(){p(h())},n.i(t)||f.h(),i[t]=f,r.appendChild(f),function(e,t){var n=e.elements,o=n.smw,i=n.sourceAnimationWrappers,r=document.createElement("div"),s=document.createElement("div");s.className="fslightboxl";for(var a=0;a<3;a++){var c=document.createElement("div");s.appendChild(c)}r.appendChild(s),o[t].appendChild(r),i[t]=r}(e,t)}function O(e,t,n,o){var r=document.createElementNS("http://www.w3.org/2000/svg","svg");r.setAttributeNS(null,"width",t),r.setAttributeNS(null,"height",t),r.setAttributeNS(null,"viewBox",n);var s=document.createElementNS("http://www.w3.org/2000/svg","path");return s.setAttributeNS(null,"class","".concat(i,"svg-path")),s.setAttributeNS(null,"d",o),r.appendChild(s),e.appendChild(r),r}function M(e,t){var n=document.createElement("div");return n.className="".concat(i,"toolbar-button ").concat(c),n.title=t,e.appendChild(n),n}function j(e,t){var n=document.createElement("div");n.className="".concat(i,"toolbar"),t.appendChild(n),function(e,t){var n=e.componentsServices,o=e.data,i=e.fs,r="M4.5 11H3v4h4v-1.5H4.5V11zM3 7h1.5V4.5H7V3H3v4zm10.5 6.5H11V15h4v-4h-1.5v2.5zM11 3v1.5h2.5V7H15V3h-4z",s=M(t);s.title="Enter fullscreen";var a=O(s,"20px","0 0 18 18",r);n.ofs=function(){o.ifs=!0,s.title="Exit fullscreen",a.setAttributeNS(null,"width","24px"),a.setAttributeNS(null,"height","24px"),a.setAttributeNS(null,"viewBox","0 0 950 1024"),a.firstChild.setAttributeNS(null,"d","M682 342h128v84h-212v-212h84v128zM598 810v-212h212v84h-128v128h-84zM342 342v-128h84v212h-212v-84h128zM214 682v-84h212v212h-84v-128h-128z")},n.xfs=function(){o.ifs=!1,s.title="Enter fullscreen",a.setAttributeNS(null,"width","20px"),a.setAttributeNS(null,"height","20px"),a.setAttributeNS(null,"viewBox","0 0 18 18"),a.firstChild.setAttributeNS(null,"d",r)},s.onclick=i.t}(e,n),function(e,t){var n=M(t,"Close");n.onclick=e.core.lightboxCloser.closeLightbox,O(n,"20px","0 0 24 24","M 4.7070312 3.2929688 L 3.2929688 4.7070312 L 10.585938 12 L 3.2929688 19.292969 L 4.7070312 20.707031 L 12 13.414062 L 19.292969 20.707031 L 20.707031 19.292969 L 13.414062 12 L 20.707031 4.7070312 L 19.292969 3.2929688 L 12 10.585938 L 4.7070312 3.2929688 z")}(e,n)}function X(e){var t=e.props.sources,n=e.elements.container,o=document.createElement("div");o.className="".concat(i,"nav"),n.appendChild(o),j(e,o),t.length>1&&function(e,t){var n=e.componentsServices,o=e.props.sources,r=(e.stageIndexes,document.createElement("div"));r.className="".concat(i,"slide-number-container");var s=document.createElement("div");s.className=c;var a=document.createElement("span");n.setSlideNumber=function(e){return a.innerHTML=e};var l=document.createElement("span");l.className="".concat(i,"slash");var u=document.createElement("div");u.innerHTML=o.length,r.appendChild(s),s.appendChild(a),s.appendChild(l),s.appendChild(u),t.appendChild(r),setTimeout((function(){s.offsetWidth>55&&(r.style.justifyContent="flex-start")}))}(e,o)}function B(e,t,n,o){var i=e.elements.container,r=n.charAt(0).toUpperCase()+n.slice(1),s=document.createElement("div");s.className="".concat(p," ").concat(p,"-").concat(n),s.title="".concat(r," slide"),s.onclick=t,function(e,t){var n=document.createElement("div");n.className="".concat(f," ").concat(c),O(n,"20px","0 0 20 20",t),e.appendChild(n)}(s,o),i.appendChild(s)}function U(e){var t=e.core,n=t.lightboxCloser,o=t.slideChangeFacade,i=e.fs;this.listener=function(e){switch(e.key){case"Escape":n.closeLightbox();break;case"ArrowLeft":o.changeToPrevious();break;case"ArrowRight":o.changeToNext();break;case"F11":e.preventDefault(),i.t()}}}function q(e){var t=e.elements,n=e.sourcePointerProps,o=e.stageIndexes;function i(e,o){t.smw[e].v(n.swipedX)[o]()}this.runActionsForEvent=function(e){var r,a,c;t.container.contains(t.slideSwipingHoverer)||t.container.appendChild(t.slideSwipingHoverer),r=t.container,a=s,(c=r.classList).contains(a)||c.add(a),n.swipedX=e.screenX-n.downScreenX;var l=o.previous,u=o.next;i(o.current,"z"),void 0!==l&&n.swipedX>0?i(l,"ne"):void 0!==u&&n.swipedX<0&&i(u,"p")}}function V(e){var t=e.props.sources,n=e.resolve,o=e.sourcePointerProps,i=n(q);1===t.length?this.listener=function(){o.swipedX=1}:this.listener=function(e){o.isPointering&&i.runActionsForEvent(e)}}function _(e){var t=e.core.slideIndexChanger,n=e.elements.smw,o=e.stageIndexes,i=e.sws;function r(e){var t=n[o.current];t.a(),t[e]()}function s(e,t){void 0!==e&&(n[e].s(),n[e][t]())}this.runPositiveSwipedXActions=function(){var e=o.previous;if(void 0===e)r("z");else{r("p");var n=o.next;t.changeTo(e);var a=o.previous;i.d(a),i.b(n),r("z"),s(a,"ne")}},this.runNegativeSwipedXActions=function(){var e=o.next;if(void 0===e)r("z");else{r("ne");var n=o.previous;t.changeTo(e);var a=o.next;i.d(a),i.b(n),r("z"),s(a,"p")}}}function Y(e,t){e.contains(t)&&e.removeChild(t)}function J(e){var t=e.core.lightboxCloser,n=e.elements,o=e.resolve,i=e.sourcePointerProps,r=o(_);this.runNoSwipeActions=function(){Y(n.container,n.slideSwipingHoverer),i.isSourceDownEventTarget||t.closeLightbox(),i.isPointering=!1},this.runActions=function(){i.swipedX>0?r.runPositiveSwipedXActions():r.runNegativeSwipedXActions(),Y(n.container,n.slideSwipingHoverer),n.container.classList.remove(s),i.isPointering=!1}}function G(e){var t=e.resolve,n=e.sourcePointerProps,o=t(J);this.listener=function(){n.isPointering&&(n.swipedX?o.runActions():o.runNoSwipeActions())}}function $(e){var t=this,n=e.core,o=n.eventsDispatcher,i=n.globalEventsController,r=n.scrollbarRecompensor,s=e.data,a=e.elements,c=e.fs,u=e.props,d=e.sourcePointerProps;this.isLightboxFadingOut=!1,this.runActions=function(){t.isLightboxFadingOut=!0,a.container.classList.add(v),i.removeListeners(),u.exitFullscreenOnClose&&s.ifs&&c.x(),setTimeout((function(){t.isLightboxFadingOut=!1,d.isPointering=!1,a.container.classList.remove(v),document.documentElement.classList.remove(l),r.removeRecompense(),document.body.removeChild(a.container),o.dispatch("onClose")}),270)}}function K(e,t){var n=e.classList;n.contains(t)&&n.remove(t)}function Q(e){var t,n,o;n=(t=e).core.eventsDispatcher,o=t.props,n.dispatch=function(e){o[e]&&o[e]()},function(e){var t=e.componentsServices,n=e.data,o=e.fs,i=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"];function r(e){for(var t=0;t<i.length;t++)document[e](i[t],s)}function s(){document.fullscreenElement||document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement?t.ofs():t.xfs()}o.o=function(){t.ofs();var e=document.documentElement;e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.msRequestFullscreen&&e.msRequestFullscreen()},o.x=function(){t.xfs(),document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen()},o.t=function(){n.ifs?o.x():o.o()},o.l=function(){r("addEventListener")},o.q=function(){r("removeEventListener")}}(e),function(e){var t=e.core,n=t.globalEventsController,o=t.windowResizeActioner,i=e.fs,r=e.resolve,s=r(U),a=r(V),c=r(G);n.attachListeners=function(){document.addEventListener("pointermove",a.listener),document.addEventListener("pointerup",c.listener),addEventListener("resize",o.runActions),document.addEventListener("keydown",s.listener),i.l()},n.removeListeners=function(){document.removeEventListener("pointermove",a.listener),document.removeEventListener("pointerup",c.listener),removeEventListener("resize",o.runActions),document.removeEventListener("keydown",s.listener),i.q()}}(e),function(e){var t=e.core.lightboxCloser,n=(0,e.resolve)($);t.closeLightbox=function(){n.isLightboxFadingOut||n.runActions()}}(e),function(e){var t=e.data,n=e.core.scrollbarRecompensor;function o(){document.body.offsetHeight>innerHeight&&(document.body.style.marginRight=t.scrollbarWidth+"px")}n.addRecompense=function(){"complete"===document.readyState?o():addEventListener("load",(function(){o(),n.addRecompense=o}))},n.removeRecompense=function(){document.body.style.removeProperty("margin-right")}}(e),function(e){var t=e.core,n=t.slideChangeFacade,o=t.slideIndexChanger,i=t.stageManager;e.props.sources.length>1?(n.changeToPrevious=function(){o.jumpTo(i.getPreviousSlideIndex())},n.changeToNext=function(){o.jumpTo(i.getNextSlideIndex())}):(n.changeToPrevious=function(){},n.changeToNext=function(){})}(e),function(e){var t=e.componentsServices,n=e.core,o=n.slideIndexChanger,i=n.sourceDisplayFacade,r=n.stageManager,s=e.elements,a=s.smw,c=s.sourceAnimationWrappers,l=e.isl,u=e.stageIndexes,d=e.sws;o.changeTo=function(e){u.current=e,r.updateStageIndexes(),t.setSlideNumber(e+1),i.displaySourcesWhichShouldBeDisplayed()},o.jumpTo=function(e){var t=u.previous,n=u.current,i=u.next,s=l[n],f=l[e];o.changeTo(e);for(var p=0;p<a.length;p++)a[p].d();d.d(n),d.c(),requestAnimationFrame((function(){requestAnimationFrame((function(){var e=u.previous,o=u.next;function p(){r.i(n)?n===u.previous?a[n].ne():n===u.next&&a[n].p():(a[n].h(),a[n].n())}s&&c[n].classList.add(m),f&&c[u.current].classList.add(h),d.a(),void 0!==e&&e!==n&&a[e].ne(),a[u.current].n(),void 0!==o&&o!==n&&a[o].p(),d.b(t),d.b(i),l[n]?setTimeout(p,260):p()}))}))}}(e),function(e){var t=e.core.sourcesPointerDown,n=e.elements,o=n.smw,i=n.sources,r=e.sourcePointerProps,s=e.stageIndexes;t.listener=function(e){"VIDEO"!==e.target.tagName&&e.preventDefault(),r.isPointering=!0,r.downScreenX=e.screenX,r.swipedX=0;var t=i[s.current];t&&t.contains(e.target)?r.isSourceDownEventTarget=!0:r.isSourceDownEventTarget=!1;for(var n=0;n<o.length;n++)o[n].d()}}(e),function(e){var t=e.collections.sourcesRenderFunctions,n=e.core.sourceDisplayFacade,o=e.props,i=e.stageIndexes;function r(e){t[e]&&(t[e](),delete t[e])}n.displaySourcesWhichShouldBeDisplayed=function(){if(o.loadOnlyCurrentSource)r(i.current);else for(var e in i)r(i[e])}}(e),function(e){var t=e.core.stageManager,n=e.elements,o=n.smw,i=n.sourceAnimationWrappers,r=e.isl,s=e.stageIndexes,a=e.sws;a.a=function(){for(var e in s)o[s[e]].s()},a.b=function(e){void 0===e||t.i(e)||(o[e].h(),o[e].n())},a.c=function(){for(var e in s)a.d(s[e])},a.d=function(e){if(r[e]){var t=i[e];K(t,g),K(t,h),K(t,m)}}}(e),function(e){var t=e.collections.sourceSizers,n=e.core.windowResizeActioner,o=e.data,i=e.elements.smw,r=e.stageIndexes;n.runActions=function(){innerWidth<992?o.maxSourceWidth=innerWidth:o.maxSourceWidth=.9*innerWidth,o.maxSourceHeight=.9*innerHeight;for(var e=0;e<i.length;e++)i[e].d(),t[e]&&t[e].adjustSize();var n=r.previous,s=r.next;void 0!==n&&i[n].ne(),void 0!==s&&i[s].p()}}(e)}function Z(e){var t=e.componentsServices,n=e.core,o=n.eventsDispatcher,r=n.globalEventsController,s=n.scrollbarRecompensor,c=n.sourceDisplayFacade,u=n.stageManager,f=n.windowResizeActioner,p=e.data,h=e.elements,m=(e.props,e.stageIndexes),v=e.sws;function b(){var t,n;p.i=!0,p.scrollbarWidth=function(){var e=document.createElement("div"),t=e.style,n=document.createElement("div");t.visibility="hidden",t.width="100px",t.msOverflowStyle="scrollbar",t.overflow="scroll",n.style.width="100%",document.body.appendChild(e);var o=e.offsetWidth;e.appendChild(n);var i=n.offsetWidth;return document.body.removeChild(e),o-i}(),Q(e),h.container=document.createElement("div"),h.container.className="".concat(i,"container ").concat(a," ").concat(g),function(e){var t=e.elements;t.slideSwipingHoverer=document.createElement("div"),t.slideSwipingHoverer.className="".concat(i,"slide-swiping-hoverer ").concat(a," ").concat(d)}(e),X(e),function(e){var t=e.core.sourcesPointerDown,n=e.elements,o=e.props.sources,i=document.createElement("div");i.className="".concat(d," ").concat(a),n.container.appendChild(i),i.addEventListener("pointerdown",t.listener),n.sourceWrappersContainer=i;for(var r=0;r<o.length;r++)D(e,r)}(e),e.props.sources.length>1&&(n=(t=e).core.slideChangeFacade,B(t,n.changeToPrevious,"previous","M18.271,9.212H3.615l4.184-4.184c0.306-0.306,0.306-0.801,0-1.107c-0.306-0.306-0.801-0.306-1.107,0L1.21,9.403C1.194,9.417,1.174,9.421,1.158,9.437c-0.181,0.181-0.242,0.425-0.209,0.66c0.005,0.038,0.012,0.071,0.022,0.109c0.028,0.098,0.075,0.188,0.142,0.271c0.021,0.026,0.021,0.061,0.045,0.085c0.015,0.016,0.034,0.02,0.05,0.033l5.484,5.483c0.306,0.307,0.801,0.307,1.107,0c0.306-0.305,0.306-0.801,0-1.105l-4.184-4.185h14.656c0.436,0,0.788-0.353,0.788-0.788S18.707,9.212,18.271,9.212z"),B(t,n.changeToNext,"next","M1.729,9.212h14.656l-4.184-4.184c-0.307-0.306-0.307-0.801,0-1.107c0.305-0.306,0.801-0.306,1.106,0l5.481,5.482c0.018,0.014,0.037,0.019,0.053,0.034c0.181,0.181,0.242,0.425,0.209,0.66c-0.004,0.038-0.012,0.071-0.021,0.109c-0.028,0.098-0.075,0.188-0.143,0.271c-0.021,0.026-0.021,0.061-0.045,0.085c-0.015,0.016-0.034,0.02-0.051,0.033l-5.483,5.483c-0.306,0.307-0.802,0.307-1.106,0c-0.307-0.305-0.307-0.801,0-1.105l4.184-4.185H1.729c-0.436,0-0.788-0.353-0.788-0.788S1.293,9.212,1.729,9.212z")),function(e){for(var t=e.props.sources,n=e.resolve,o=n(L),i=n(H),r=n(R,[o,i]),s=0;s<t.length;s++)if("string"==typeof t[s]){var a=r.getTypeSetByClientForIndex(s);if(a)i.runActionsForSourceTypeAndIndex(a,s);else{var c=o.getSourceTypeFromLocalStorageByUrl(t[s]);c?i.runActionsForSourceTypeAndIndex(c,s):r.retrieveTypeWithXhrForIndex(s)}}else i.runActionsForSourceTypeAndIndex("custom",s)}(e),o.dispatch("onInit")}e.open=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=m.previous,a=m.current,d=m.next;m.current=n,p.i||S(e),u.updateStageIndexes(),p.i?(v.c(),v.a(),v.b(i),v.b(a),v.b(d),o.dispatch("onShow")):b(),c.displaySourcesWhichShouldBeDisplayed(),t.setSlideNumber(n+1),document.body.appendChild(h.container),document.documentElement.classList.add(l),s.addRecompense(),r.attachListeners(),f.runActions(),h.smw[m.current].n(),o.dispatch("onOpen")}}function ee(e,t,n){return(ee=te()?Reflect.construct.bind():function(e,t,n){var o=[null];o.push.apply(o,t);var i=new(Function.bind.apply(e,o));return n&&ne(i,n.prototype),i}).apply(null,arguments)}function te(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function ne(e,t){return(ne=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function oe(e){return function(e){if(Array.isArray(e))return ie(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return ie(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ie(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ie(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function re(){for(var e=document.getElementsByTagName("a"),t=function(t){if(!e[t].hasAttribute("data-fslightbox"))return"continue";var n=e[t].hasAttribute("data-href")?e[t].getAttribute("data-href"):e[t].getAttribute("href");if(!n)return console.warn('The "data-fslightbox" attribute was set without the "href" attribute.'),"continue";var o=e[t].getAttribute("data-fslightbox");fsLightboxInstances[o]||(fsLightboxInstances[o]=new FsLightbox);var i=null;"#"===n.charAt(0)?(i=document.getElementById(n.substring(1)).cloneNode(!0)).removeAttribute("id"):i=n,fsLightboxInstances[o].props.sources.push(i),fsLightboxInstances[o].elements.a.push(e[t]);var r=fsLightboxInstances[o].props.sources.length-1;e[t].onclick=function(e){e.preventDefault(),fsLightboxInstances[o].open(r)},d("types","data-type"),d("videosPosters","data-video-poster"),d("customClasses","data-class"),d("customClasses","data-custom-class");for(var s=["href","data-fslightbox","data-href","data-type","data-video-poster","data-class","data-custom-class"],a=e[t].attributes,c=fsLightboxInstances[o].props.customAttributes,l=0;l<a.length;l++)if(-1===s.indexOf(a[l].name)&&"data-"===a[l].name.substr(0,5)){c[r]||(c[r]={});var u=a[l].name.substr(5);c[r][u]=a[l].value}function d(n,i){e[t].hasAttribute(i)&&(fsLightboxInstances[o].props[n][r]=e[t].getAttribute(i))}},n=0;n<e.length;n++)t(n);var o=Object.keys(fsLightboxInstances);window.fsLightbox=fsLightboxInstances[o[o.length-1]]}window.FsLightbox=function(){var e=this;this.props={sources:[],customAttributes:[],customClasses:[],types:[],videosPosters:[],slideDistance:.3},this.data={isFullscreenOpen:!1,maxSourceWidth:0,maxSourceHeight:0,scrollbarWidth:0},this.isl=[],this.sourcePointerProps={downScreenX:null,isPointering:!1,isSourceDownEventTarget:!1,swipedX:0},this.stageIndexes={},this.elements={a:[],container:null,slideSwipingHoverer:null,smw:[],sourceWrappersContainer:null,sources:[],sourceAnimationWrappers:[]},this.componentsServices={setSlideNumber:function(){}},this.resolve=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return n.unshift(e),ee(t,oe(n))},this.collections={sourceLoadHandlers:[],sourcesRenderFunctions:[],sourceSizers:[]},this.core={eventsDispatcher:{},globalEventsController:{},lightboxCloser:{},lightboxUpdater:{},scrollbarRecompensor:{},slideChangeFacade:{},slideIndexChanger:{},sourcesPointerDown:{},sourceDisplayFacade:{},stageManager:{},windowResizeActioner:{}},this.fs={},this.sws={},Z(this),this.close=function(){return e.core.lightboxCloser.closeLightbox()}},window.fsLightboxInstances={},re(),window.refreshFsLightbox=function(){for(var e in fsLightboxInstances){var t=fsLightboxInstances[e].props;fsLightboxInstances[e]=new FsLightbox,fsLightboxInstances[e].props=t,fsLightboxInstances[e].props.sources=[],fsLightboxInstances[e].elements.a=[]}re()}}])}));
(function(f){"function"===typeof define&&define.amd?define(["jquery"],f):"object"===typeof exports?module.exports=f(require("jquery")):f(jQuery)})(function(f){var B=!1,F=!1,O=0,P=2E3,A=0,J=["webkit","ms","moz","o"],v=window.requestAnimationFrame||!1,w=window.cancelAnimationFrame||!1;if(!v)for(var Q in J){var G=J[Q];if(v=window[G+"RequestAnimationFrame"]){w=window[G+"CancelAnimationFrame"]||window[G+"CancelRequestAnimationFrame"];break}}var x=window.MutationObserver||window.WebKitMutationObserver||
!1,K={zindex:"auto",cursoropacitymin:0,cursoropacitymax:1,cursorcolor:"#424242",cursorwidth:"6px",cursorborder:"1px solid #fff",cursorborderradius:"5px",scrollspeed:60,mousescrollstep:24,touchbehavior:!1,hwacceleration:!0,usetransition:!0,boxzoom:!1,dblclickzoom:!0,gesturezoom:!0,grabcursorenabled:!0,autohidemode:!0,background:"",iframeautoresize:!0,cursorminheight:32,preservenativescrolling:!0,railoffset:!1,railhoffset:!1,bouncescroll:!0,spacebarenabled:!0,railpadding:{top:0,right:0,left:0,bottom:0},
disableoutline:!0,horizrailenabled:!0,railalign:"right",railvalign:"bottom",enabletranslate3d:!0,enablemousewheel:!0,enablekeyboard:!0,smoothscroll:!0,sensitiverail:!0,enablemouselockapi:!0,cursorfixedheight:!1,directionlockdeadzone:6,hidecursordelay:400,nativeparentscrolling:!0,enablescrollonselection:!0,overflowx:!0,overflowy:!0,cursordragspeed:.3,rtlmode:"auto",cursordragontouch:!1,oneaxismousemode:"auto",scriptpath:function(){var f=document.getElementsByTagName("script"),f=f.length?f[f.length-
1].src.split("?")[0]:"";return 0<f.split("/").length?f.split("/").slice(0,-1).join("/")+"/":""}(),preventmultitouchscrolling:!0,disablemutationobserver:!1},H=!1,R=function(){if(H)return H;var f=document.createElement("DIV"),c=f.style,k=navigator.userAgent,l=navigator.platform,d={haspointerlock:"pointerLockElement"in document||"webkitPointerLockElement"in document||"mozPointerLockElement"in document};d.isopera="opera"in window;d.isopera12=d.isopera&&"getUserMedia"in navigator;d.isoperamini="[object OperaMini]"===Object.prototype.toString.call(window.operamini);d.isie="all"in document&&"attachEvent"in f&&!d.isopera;d.isieold=d.isie&&!("msInterpolationMode"in c);d.isie7=d.isie&&!d.isieold&&(!("documentMode"in document)||7==document.documentMode);d.isie8=d.isie&&"documentMode"in document&&8==document.documentMode;d.isie9=d.isie&&"performance"in window&&9==document.documentMode;d.isie10=d.isie&&"performance"in window&&10==document.documentMode;d.isie11="msRequestFullscreen"in f&&11<=document.documentMode;d.isieedge12=
navigator.userAgent.match(/Edge\/12\./);d.isieedge="msOverflowStyle"in f;d.ismodernie=d.isie11||d.isieedge;d.isie9mobile=/iemobile.9/i.test(k);d.isie9mobile&&(d.isie9=!1);d.isie7mobile=!d.isie9mobile&&d.isie7&&/iemobile/i.test(k);d.ismozilla="MozAppearance"in c;d.iswebkit="WebkitAppearance"in c;d.ischrome="chrome"in window;d.ischrome38=d.ischrome&&"touchAction"in c;d.ischrome22=!d.ischrome38&&d.ischrome&&d.haspointerlock;d.ischrome26=!d.ischrome38&&d.ischrome&&"transition"in c;d.cantouch="ontouchstart"in
document.documentElement||"ontouchstart"in window;d.hasw3ctouch=(window.PointerEvent||!1)&&(0<navigator.MaxTouchPoints||0<navigator.msMaxTouchPoints);d.hasmstouch=!d.hasw3ctouch&&(window.MSPointerEvent||!1);d.ismac=/^mac$/i.test(l);d.isios=d.cantouch&&/iphone|ipad|ipod/i.test(l);d.isios4=d.isios&&!("seal"in Object);d.isios7=d.isios&&"webkitHidden"in document;d.isios8=d.isios&&"hidden"in document;d.isandroid=/android/i.test(k);d.haseventlistener="addEventListener"in f;d.trstyle=!1;d.hastransform=!1;
d.hastranslate3d=!1;d.transitionstyle=!1;d.hastransition=!1;d.transitionend=!1;l=["transform","msTransform","webkitTransform","MozTransform","OTransform"];for(k=0;k<l.length;k++)if(void 0!==c[l[k]]){d.trstyle=l[k];break}d.hastransform=!!d.trstyle;d.hastransform&&(c[d.trstyle]="translate3d(1px,2px,3px)",d.hastranslate3d=/translate3d/.test(c[d.trstyle]));d.transitionstyle=!1;d.prefixstyle="";d.transitionend=!1;for(var l="transition webkitTransition msTransition MozTransition OTransition OTransition KhtmlTransition".split(" "),
q=" -webkit- -ms- -moz- -o- -o -khtml-".split(" "),t="transitionend webkitTransitionEnd msTransitionEnd transitionend otransitionend oTransitionEnd KhtmlTransitionEnd".split(" "),k=0;k<l.length;k++)if(l[k]in c){d.transitionstyle=l[k];d.prefixstyle=q[k];d.transitionend=t[k];break}d.ischrome26&&(d.prefixstyle=q[1]);d.hastransition=d.transitionstyle;a:{k=["grab","-webkit-grab","-moz-grab"];if(d.ischrome&&!d.ischrome38||d.isie)k=[];for(l=0;l<k.length;l++)if(q=k[l],c.cursor=q,c.cursor==q){c=q;break a}c=
"url(//patriciaportfolio.googlecode.com/files/openhand.cur),n-resize"}d.cursorgrabvalue=c;d.hasmousecapture="setCapture"in f;d.hasMutationObserver=!1!==x;return H=d},S=function(h,c){function k(){var b=a.doc.css(e.trstyle);return b&&"matrix"==b.substr(0,6)?b.replace(/^.*\((.*)\)$/g,"$1").replace(/px/g,"").split(/, +/):!1}function l(){var b=a.win;if("zIndex"in b)return b.zIndex();for(;0<b.length&&9!=b[0].nodeType;){var g=b.css("zIndex");if(!isNaN(g)&&0!=g)return parseInt(g);b=b.parent()}return!1}function d(b,
g,u){g=b.css(g);b=parseFloat(g);return isNaN(b)?(b=z[g]||0,u=3==b?u?a.win.outerHeight()-a.win.innerHeight():a.win.outerWidth()-a.win.innerWidth():1,a.isie8&&b&&(b+=1),u?b:0):b}function q(b,g,u,c){a._bind(b,g,function(a){a=a?a:window.event;var c={original:a,target:a.target||a.srcElement,type:"wheel",deltaMode:"MozMousePixelScroll"==a.type?0:1,deltaX:0,deltaZ:0,preventDefault:function(){a.preventDefault?a.preventDefault():a.returnValue=!1;return!1},stopImmediatePropagation:function(){a.stopImmediatePropagation?
a.stopImmediatePropagation():a.cancelBubble=!0}};"mousewheel"==g?(a.wheelDeltaX&&(c.deltaX=-.025*a.wheelDeltaX),a.wheelDeltaY&&(c.deltaY=-.025*a.wheelDeltaY),c.deltaY||c.deltaX||(c.deltaY=-.025*a.wheelDelta)):c.deltaY=a.detail;return u.call(b,c)},c)}function t(b,g,c){var d,e;0==b.deltaMode?(d=-Math.floor(a.opt.mousescrollstep/54*b.deltaX),e=-Math.floor(a.opt.mousescrollstep/54*b.deltaY)):1==b.deltaMode&&(d=-Math.floor(b.deltaX*a.opt.mousescrollstep),e=-Math.floor(b.deltaY*a.opt.mousescrollstep));
g&&a.opt.oneaxismousemode&&0==d&&e&&(d=e,e=0,c&&(0>d?a.getScrollLeft()>=a.page.maxw:0>=a.getScrollLeft())&&(e=d,d=0));a.isrtlmode&&(d=-d);d&&(a.scrollmom&&a.scrollmom.stop(),a.lastdeltax+=d,a.debounced("mousewheelx",function(){var b=a.lastdeltax;a.lastdeltax=0;a.rail.drag||a.doScrollLeftBy(b)},15));if(e){if(a.opt.nativeparentscrolling&&c&&!a.ispage&&!a.zoomactive)if(0>e){if(a.getScrollTop()>=a.page.maxh)return!0}else if(0>=a.getScrollTop())return!0;a.scrollmom&&a.scrollmom.stop();a.lastdeltay+=e;
a.synched("mousewheely",function(){var b=a.lastdeltay;a.lastdeltay=0;a.rail.drag||a.doScrollBy(b)},15)}b.stopImmediatePropagation();return b.preventDefault()}var a=this;this.version="3.6.8";this.name="nicescroll";this.me=c;this.opt={doc:f("body"),win:!1};f.extend(this.opt,K);this.opt.snapbackspeed=80;if(h)for(var r in a.opt)void 0!==h[r]&&(a.opt[r]=h[r]);a.opt.disablemutationobserver&&(x=!1);this.iddoc=(this.doc=a.opt.doc)&&this.doc[0]?this.doc[0].id||"":"";this.ispage=/^BODY|HTML/.test(a.opt.win?
a.opt.win[0].nodeName:this.doc[0].nodeName);this.haswrapper=!1!==a.opt.win;this.win=a.opt.win||(this.ispage?f(window):this.doc);this.docscroll=this.ispage&&!this.haswrapper?f(window):this.win;this.body=f("body");this.iframe=this.isfixed=this.viewport=!1;this.isiframe="IFRAME"==this.doc[0].nodeName&&"IFRAME"==this.win[0].nodeName;this.istextarea="TEXTAREA"==this.win[0].nodeName;this.forcescreen=!1;this.canshowonmouseevent="scroll"!=a.opt.autohidemode;this.page=this.view=this.onzoomout=this.onzoomin=
this.onscrollcancel=this.onscrollend=this.onscrollstart=this.onclick=this.ongesturezoom=this.onkeypress=this.onmousewheel=this.onmousemove=this.onmouseup=this.onmousedown=!1;this.scroll={x:0,y:0};this.scrollratio={x:0,y:0};this.cursorheight=20;this.scrollvaluemax=0;if("auto"==this.opt.rtlmode){r=this.win[0]==window?this.body:this.win;var p=r.css("writing-mode")||r.css("-webkit-writing-mode")||r.css("-ms-writing-mode")||r.css("-moz-writing-mode");"horizontal-tb"==p||"lr-tb"==p||""==p?(this.isrtlmode=
"rtl"==r.css("direction"),this.isvertical=!1):(this.isrtlmode="vertical-rl"==p||"tb"==p||"tb-rl"==p||"rl-tb"==p,this.isvertical="vertical-rl"==p||"tb"==p||"tb-rl"==p)}else this.isrtlmode=!0===this.opt.rtlmode,this.isvertical=!1;this.observerbody=this.observerremover=this.observer=this.scrollmom=this.scrollrunning=!1;do this.id="ascrail"+P++;while(document.getElementById(this.id));this.hasmousefocus=this.hasfocus=this.zoomactive=this.zoom=this.selectiondrag=this.cursorfreezed=this.cursor=this.rail=
!1;this.visibility=!0;this.hidden=this.locked=this.railslocked=!1;this.cursoractive=!0;this.wheelprevented=!1;this.overflowx=a.opt.overflowx;this.overflowy=a.opt.overflowy;this.nativescrollingarea=!1;this.checkarea=0;this.events=[];this.saved={};this.delaylist={};this.synclist={};this.lastdeltay=this.lastdeltax=0;this.detected=R();var e=f.extend({},this.detected);this.ishwscroll=(this.canhwscroll=e.hastransform&&a.opt.hwacceleration)&&a.haswrapper;this.hasreversehr=this.isrtlmode?this.isvertical?
!(e.iswebkit||e.isie||e.isie11):!(e.iswebkit||e.isie&&!e.isie10&&!e.isie11):!1;this.istouchcapable=!1;e.cantouch||!e.hasw3ctouch&&!e.hasmstouch?!e.cantouch||e.isios||e.isandroid||!e.iswebkit&&!e.ismozilla||(this.istouchcapable=!0):this.istouchcapable=!0;a.opt.enablemouselockapi||(e.hasmousecapture=!1,e.haspointerlock=!1);this.debounced=function(b,g,c){a&&(a.delaylist[b]||(g.call(a),a.delaylist[b]={h:v(function(){a.delaylist[b].fn.call(a);a.delaylist[b]=!1},c)}),a.delaylist[b].fn=g)};var I=!1;this.synched=
function(b,g){a.synclist[b]=g;(function(){I||(v(function(){if(a){I=!1;for(var b in a.synclist){var g=a.synclist[b];g&&g.call(a);a.synclist[b]=!1}}}),I=!0)})();return b};this.unsynched=function(b){a.synclist[b]&&(a.synclist[b]=!1)};this.css=function(b,g){for(var c in g)a.saved.css.push([b,c,b.css(c)]),b.css(c,g[c])};this.scrollTop=function(b){return void 0===b?a.getScrollTop():a.setScrollTop(b)};this.scrollLeft=function(b){return void 0===b?a.getScrollLeft():a.setScrollLeft(b)};var D=function(a,g,
c,d,e,f,k){this.st=a;this.ed=g;this.spd=c;this.p1=d||0;this.p2=e||1;this.p3=f||0;this.p4=k||1;this.ts=(new Date).getTime();this.df=this.ed-this.st};D.prototype={B2:function(a){return 3*a*a*(1-a)},B3:function(a){return 3*a*(1-a)*(1-a)},B4:function(a){return(1-a)*(1-a)*(1-a)},getNow:function(){var a=1-((new Date).getTime()-this.ts)/this.spd,g=this.B2(a)+this.B3(a)+this.B4(a);return 0>a?this.ed:this.st+Math.round(this.df*g)},update:function(a,g){this.st=this.getNow();this.ed=a;this.spd=g;this.ts=(new Date).getTime();
this.df=this.ed-this.st;return this}};if(this.ishwscroll){this.doc.translate={x:0,y:0,tx:"0px",ty:"0px"};e.hastranslate3d&&e.isios&&this.doc.css("-webkit-backface-visibility","hidden");this.getScrollTop=function(b){if(!b){if(b=k())return 16==b.length?-b[13]:-b[5];if(a.timerscroll&&a.timerscroll.bz)return a.timerscroll.bz.getNow()}return a.doc.translate.y};this.getScrollLeft=function(b){if(!b){if(b=k())return 16==b.length?-b[12]:-b[4];if(a.timerscroll&&a.timerscroll.bh)return a.timerscroll.bh.getNow()}return a.doc.translate.x};
this.notifyScrollEvent=function(a){var g=document.createEvent("UIEvents");g.initUIEvent("scroll",!1,!0,window,1);g.niceevent=!0;a.dispatchEvent(g)};var y=this.isrtlmode?1:-1;e.hastranslate3d&&a.opt.enabletranslate3d?(this.setScrollTop=function(b,g){a.doc.translate.y=b;a.doc.translate.ty=-1*b+"px";a.doc.css(e.trstyle,"translate3d("+a.doc.translate.tx+","+a.doc.translate.ty+",0px)");g||a.notifyScrollEvent(a.win[0])},this.setScrollLeft=function(b,g){a.doc.translate.x=b;a.doc.translate.tx=b*y+"px";a.doc.css(e.trstyle,
"translate3d("+a.doc.translate.tx+","+a.doc.translate.ty+",0px)");g||a.notifyScrollEvent(a.win[0])}):(this.setScrollTop=function(b,g){a.doc.translate.y=b;a.doc.translate.ty=-1*b+"px";a.doc.css(e.trstyle,"translate("+a.doc.translate.tx+","+a.doc.translate.ty+")");g||a.notifyScrollEvent(a.win[0])},this.setScrollLeft=function(b,g){a.doc.translate.x=b;a.doc.translate.tx=b*y+"px";a.doc.css(e.trstyle,"translate("+a.doc.translate.tx+","+a.doc.translate.ty+")");g||a.notifyScrollEvent(a.win[0])})}else this.getScrollTop=
function(){return a.docscroll.scrollTop()},this.setScrollTop=function(b){return setTimeout(function(){a&&a.docscroll.scrollTop(b)},1)},this.getScrollLeft=function(){return a.hasreversehr?a.detected.ismozilla?a.page.maxw-Math.abs(a.docscroll.scrollLeft()):a.page.maxw-a.docscroll.scrollLeft():a.docscroll.scrollLeft()},this.setScrollLeft=function(b){return setTimeout(function(){if(a)return a.hasreversehr&&(b=a.detected.ismozilla?-(a.page.maxw-b):a.page.maxw-b),a.docscroll.scrollLeft(b)},1)};this.getTarget=
function(a){return a?a.target?a.target:a.srcElement?a.srcElement:!1:!1};this.hasParent=function(a,g){if(!a)return!1;for(var c=a.target||a.srcElement||a||!1;c&&c.id!=g;)c=c.parentNode||!1;return!1!==c};var z={thin:1,medium:3,thick:5};this.getDocumentScrollOffset=function(){return{top:window.pageYOffset||document.documentElement.scrollTop,left:window.pageXOffset||document.documentElement.scrollLeft}};this.getOffset=function(){if(a.isfixed){var b=a.win.offset(),g=a.getDocumentScrollOffset();b.top-=g.top;
b.left-=g.left;return b}b=a.win.offset();if(!a.viewport)return b;g=a.viewport.offset();return{top:b.top-g.top,left:b.left-g.left}};this.updateScrollBar=function(b){var g,c,e;if(a.ishwscroll)a.rail.css({height:a.win.innerHeight()-(a.opt.railpadding.top+a.opt.railpadding.bottom)}),a.railh&&a.railh.css({width:a.win.innerWidth()-(a.opt.railpadding.left+a.opt.railpadding.right)});else{var f=a.getOffset();g=f.top;c=f.left-(a.opt.railpadding.left+a.opt.railpadding.right);g+=d(a.win,"border-top-width",!0);
c+=a.rail.align?a.win.outerWidth()-d(a.win,"border-right-width")-a.rail.width:d(a.win,"border-left-width");if(e=a.opt.railoffset)e.top&&(g+=e.top),e.left&&(c+=e.left);a.railslocked||a.rail.css({top:g,left:c,height:(b?b.h:a.win.innerHeight())-(a.opt.railpadding.top+a.opt.railpadding.bottom)});a.zoom&&a.zoom.css({top:g+1,left:1==a.rail.align?c-20:c+a.rail.width+4});if(a.railh&&!a.railslocked){g=f.top;c=f.left;if(e=a.opt.railhoffset)e.top&&(g+=e.top),e.left&&(c+=e.left);b=a.railh.align?g+d(a.win,"border-top-width",
!0)+a.win.innerHeight()-a.railh.height:g+d(a.win,"border-top-width",!0);c+=d(a.win,"border-left-width");a.railh.css({top:b-(a.opt.railpadding.top+a.opt.railpadding.bottom),left:c,width:a.railh.width})}}};this.doRailClick=function(b,g,c){var d;a.railslocked||(a.cancelEvent(b),g?(g=c?a.doScrollLeft:a.doScrollTop,d=c?(b.pageX-a.railh.offset().left-a.cursorwidth/2)*a.scrollratio.x:(b.pageY-a.rail.offset().top-a.cursorheight/2)*a.scrollratio.y,g(d)):(g=c?a.doScrollLeftBy:a.doScrollBy,d=c?a.scroll.x:a.scroll.y,
b=c?b.pageX-a.railh.offset().left:b.pageY-a.rail.offset().top,c=c?a.view.w:a.view.h,g(d>=b?c:-c)))};a.hasanimationframe=v;a.hascancelanimationframe=w;a.hasanimationframe?a.hascancelanimationframe||(w=function(){a.cancelAnimationFrame=!0}):(v=function(a){return setTimeout(a,15-Math.floor(+new Date/1E3)%16)},w=clearTimeout);this.init=function(){a.saved.css=[];if(e.isie7mobile||e.isoperamini)return!0;e.hasmstouch&&a.css(a.ispage?f("html"):a.win,{_touchaction:"none"});var b=e.ismodernie||e.isie10?{"-ms-overflow-style":"none"}:
{"overflow-y":"hidden"};a.zindex="auto";a.zindex=a.ispage||"auto"!=a.opt.zindex?a.opt.zindex:l()||"auto";!a.ispage&&"auto"!=a.zindex&&a.zindex>A&&(A=a.zindex);a.isie&&0==a.zindex&&"auto"==a.opt.zindex&&(a.zindex="auto");if(!a.ispage||!e.cantouch&&!e.isieold&&!e.isie9mobile){var c=a.docscroll;a.ispage&&(c=a.haswrapper?a.win:a.doc);e.isie9mobile||a.css(c,b);a.ispage&&e.isie7&&("BODY"==a.doc[0].nodeName?a.css(f("html"),{"overflow-y":"hidden"}):"HTML"==a.doc[0].nodeName&&a.css(f("body"),b));!e.isios||
a.ispage||a.haswrapper||a.css(f("body"),{"-webkit-overflow-scrolling":"touch"});var d=f(document.createElement("div"));d.css({position:"relative",top:0,"float":"right",width:a.opt.cursorwidth,height:0,"background-color":a.opt.cursorcolor,border:a.opt.cursorborder,"background-clip":"padding-box","-webkit-border-radius":a.opt.cursorborderradius,"-moz-border-radius":a.opt.cursorborderradius,"border-radius":a.opt.cursorborderradius});d.hborder=parseFloat(d.outerHeight()-d.innerHeight());d.addClass("nicescroll-cursors");
a.cursor=d;var m=f(document.createElement("div"));m.attr("id",a.id);m.addClass("nicescroll-rails nicescroll-rails-vr");var k,h,p=["left","right","top","bottom"],L;for(L in p)h=p[L],(k=a.opt.railpadding[h])?m.css("padding-"+h,k+"px"):a.opt.railpadding[h]=0;m.append(d);m.width=Math.max(parseFloat(a.opt.cursorwidth),d.outerWidth());m.css({width:m.width+"px",zIndex:a.zindex,background:a.opt.background,cursor:"default"});m.visibility=!0;m.scrollable=!0;m.align="left"==a.opt.railalign?0:1;a.rail=m;d=a.rail.drag=
!1;!a.opt.boxzoom||a.ispage||e.isieold||(d=document.createElement("div"),a.bind(d,"click",a.doZoom),a.bind(d,"mouseenter",function(){a.zoom.css("opacity",a.opt.cursoropacitymax)}),a.bind(d,"mouseleave",function(){a.zoom.css("opacity",a.opt.cursoropacitymin)}),a.zoom=f(d),a.zoom.css({cursor:"pointer",zIndex:a.zindex,backgroundImage:"url("+a.opt.scriptpath+"zoomico.png)",height:18,width:18,backgroundPosition:"0px 0px"}),a.opt.dblclickzoom&&a.bind(a.win,"dblclick",a.doZoom),e.cantouch&&a.opt.gesturezoom&&
(a.ongesturezoom=function(b){1.5<b.scale&&a.doZoomIn(b);.8>b.scale&&a.doZoomOut(b);return a.cancelEvent(b)},a.bind(a.win,"gestureend",a.ongesturezoom)));a.railh=!1;var n;a.opt.horizrailenabled&&(a.css(c,{overflowX:"hidden"}),d=f(document.createElement("div")),d.css({position:"absolute",top:0,height:a.opt.cursorwidth,width:0,backgroundColor:a.opt.cursorcolor,border:a.opt.cursorborder,backgroundClip:"padding-box","-webkit-border-radius":a.opt.cursorborderradius,"-moz-border-radius":a.opt.cursorborderradius,
"border-radius":a.opt.cursorborderradius}),e.isieold&&d.css("overflow","hidden"),d.wborder=parseFloat(d.outerWidth()-d.innerWidth()),d.addClass("nicescroll-cursors"),a.cursorh=d,n=f(document.createElement("div")),n.attr("id",a.id+"-hr"),n.addClass("nicescroll-rails nicescroll-rails-hr"),n.height=Math.max(parseFloat(a.opt.cursorwidth),d.outerHeight()),n.css({height:n.height+"px",zIndex:a.zindex,background:a.opt.background}),n.append(d),n.visibility=!0,n.scrollable=!0,n.align="top"==a.opt.railvalign?
0:1,a.railh=n,a.railh.drag=!1);a.ispage?(m.css({position:"fixed",top:0,height:"100%"}),m.align?m.css({right:0}):m.css({left:0}),a.body.append(m),a.railh&&(n.css({position:"fixed",left:0,width:"100%"}),n.align?n.css({bottom:0}):n.css({top:0}),a.body.append(n))):(a.ishwscroll?("static"==a.win.css("position")&&a.css(a.win,{position:"relative"}),c="HTML"==a.win[0].nodeName?a.body:a.win,f(c).scrollTop(0).scrollLeft(0),a.zoom&&(a.zoom.css({position:"absolute",top:1,right:0,"margin-right":m.width+4}),c.append(a.zoom)),
m.css({position:"absolute",top:0}),m.align?m.css({right:0}):m.css({left:0}),c.append(m),n&&(n.css({position:"absolute",left:0,bottom:0}),n.align?n.css({bottom:0}):n.css({top:0}),c.append(n))):(a.isfixed="fixed"==a.win.css("position"),c=a.isfixed?"fixed":"absolute",a.isfixed||(a.viewport=a.getViewport(a.win[0])),a.viewport&&(a.body=a.viewport,0==/fixed|absolute/.test(a.viewport.css("position"))&&a.css(a.viewport,{position:"relative"})),m.css({position:c}),a.zoom&&a.zoom.css({position:c}),a.updateScrollBar(),
a.body.append(m),a.zoom&&a.body.append(a.zoom),a.railh&&(n.css({position:c}),a.body.append(n))),e.isios&&a.css(a.win,{"-webkit-tap-highlight-color":"rgba(0,0,0,0)","-webkit-touch-callout":"none"}),e.isie&&a.opt.disableoutline&&a.win.attr("hideFocus","true"),e.iswebkit&&a.opt.disableoutline&&a.win.css("outline","none"));!1===a.opt.autohidemode?(a.autohidedom=!1,a.rail.css({opacity:a.opt.cursoropacitymax}),a.railh&&a.railh.css({opacity:a.opt.cursoropacitymax})):!0===a.opt.autohidemode||"leave"===a.opt.autohidemode?
(a.autohidedom=f().add(a.rail),e.isie8&&(a.autohidedom=a.autohidedom.add(a.cursor)),a.railh&&(a.autohidedom=a.autohidedom.add(a.railh)),a.railh&&e.isie8&&(a.autohidedom=a.autohidedom.add(a.cursorh))):"scroll"==a.opt.autohidemode?(a.autohidedom=f().add(a.rail),a.railh&&(a.autohidedom=a.autohidedom.add(a.railh))):"cursor"==a.opt.autohidemode?(a.autohidedom=f().add(a.cursor),a.railh&&(a.autohidedom=a.autohidedom.add(a.cursorh))):"hidden"==a.opt.autohidemode&&(a.autohidedom=!1,a.hide(),a.railslocked=
!1);if(e.isie9mobile)a.scrollmom=new M(a),a.onmangotouch=function(){var b=a.getScrollTop(),c=a.getScrollLeft();if(b==a.scrollmom.lastscrolly&&c==a.scrollmom.lastscrollx)return!0;var g=b-a.mangotouch.sy,d=c-a.mangotouch.sx;if(0!=Math.round(Math.sqrt(Math.pow(d,2)+Math.pow(g,2)))){var e=0>g?-1:1,f=0>d?-1:1,u=+new Date;a.mangotouch.lazy&&clearTimeout(a.mangotouch.lazy);80<u-a.mangotouch.tm||a.mangotouch.dry!=e||a.mangotouch.drx!=f?(a.scrollmom.stop(),a.scrollmom.reset(c,b),a.mangotouch.sy=b,a.mangotouch.ly=
b,a.mangotouch.sx=c,a.mangotouch.lx=c,a.mangotouch.dry=e,a.mangotouch.drx=f,a.mangotouch.tm=u):(a.scrollmom.stop(),a.scrollmom.update(a.mangotouch.sx-d,a.mangotouch.sy-g),a.mangotouch.tm=u,g=Math.max(Math.abs(a.mangotouch.ly-b),Math.abs(a.mangotouch.lx-c)),a.mangotouch.ly=b,a.mangotouch.lx=c,2<g&&(a.mangotouch.lazy=setTimeout(function(){a.mangotouch.lazy=!1;a.mangotouch.dry=0;a.mangotouch.drx=0;a.mangotouch.tm=0;a.scrollmom.doMomentum(30)},100)))}},m=a.getScrollTop(),n=a.getScrollLeft(),a.mangotouch=
{sy:m,ly:m,dry:0,sx:n,lx:n,drx:0,lazy:!1,tm:0},a.bind(a.docscroll,"scroll",a.onmangotouch);else{if(e.cantouch||a.istouchcapable||a.opt.touchbehavior||e.hasmstouch){a.scrollmom=new M(a);a.ontouchstart=function(b){if(b.pointerType&&2!=b.pointerType&&"touch"!=b.pointerType)return!1;a.hasmoving=!1;if(!a.railslocked){var c;if(e.hasmstouch)for(c=b.target?b.target:!1;c;){var g=f(c).getNiceScroll();if(0<g.length&&g[0].me==a.me)break;if(0<g.length)return!1;if("DIV"==c.nodeName&&c.id==a.id)break;c=c.parentNode?
c.parentNode:!1}a.cancelScroll();if((c=a.getTarget(b))&&/INPUT/i.test(c.nodeName)&&/range/i.test(c.type))return a.stopPropagation(b);!("clientX"in b)&&"changedTouches"in b&&(b.clientX=b.changedTouches[0].clientX,b.clientY=b.changedTouches[0].clientY);a.forcescreen&&(g=b,b={original:b.original?b.original:b},b.clientX=g.screenX,b.clientY=g.screenY);a.rail.drag={x:b.clientX,y:b.clientY,sx:a.scroll.x,sy:a.scroll.y,st:a.getScrollTop(),sl:a.getScrollLeft(),pt:2,dl:!1};if(a.ispage||!a.opt.directionlockdeadzone)a.rail.drag.dl=
"f";else{var g=f(window).width(),d=f(window).height(),d=Math.max(0,Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)-d),g=Math.max(0,Math.max(document.body.scrollWidth,document.documentElement.scrollWidth)-g);a.rail.drag.ck=!a.rail.scrollable&&a.railh.scrollable?0<d?"v":!1:a.rail.scrollable&&!a.railh.scrollable?0<g?"h":!1:!1;a.rail.drag.ck||(a.rail.drag.dl="f")}a.opt.touchbehavior&&a.isiframe&&e.isie&&(g=a.win.position(),a.rail.drag.x+=g.left,a.rail.drag.y+=g.top);a.hasmoving=
!1;a.lastmouseup=!1;a.scrollmom.reset(b.clientX,b.clientY);if(!e.cantouch&&!this.istouchcapable&&!b.pointerType){if(!c||!/INPUT|SELECT|TEXTAREA/i.test(c.nodeName))return!a.ispage&&e.hasmousecapture&&c.setCapture(),a.opt.touchbehavior?(c.onclick&&!c._onclick&&(c._onclick=c.onclick,c.onclick=function(b){if(a.hasmoving)return!1;c._onclick.call(this,b)}),a.cancelEvent(b)):a.stopPropagation(b);/SUBMIT|CANCEL|BUTTON/i.test(f(c).attr("type"))&&(pc={tg:c,click:!1},a.preventclick=pc)}}};a.ontouchend=function(b){if(!a.rail.drag)return!0;
if(2==a.rail.drag.pt){if(b.pointerType&&2!=b.pointerType&&"touch"!=b.pointerType)return!1;a.scrollmom.doMomentum();a.rail.drag=!1;if(a.hasmoving&&(a.lastmouseup=!0,a.hideCursor(),e.hasmousecapture&&document.releaseCapture(),!e.cantouch))return a.cancelEvent(b)}else if(1==a.rail.drag.pt)return a.onmouseup(b)};var q=a.opt.touchbehavior&&a.isiframe&&!e.hasmousecapture;a.ontouchmove=function(b,c){if(!a.rail.drag||b.targetTouches&&a.opt.preventmultitouchscrolling&&1<b.targetTouches.length||b.pointerType&&
2!=b.pointerType&&"touch"!=b.pointerType)return!1;if(2==a.rail.drag.pt){if(e.cantouch&&e.isios&&void 0===b.original)return!0;a.hasmoving=!0;a.preventclick&&!a.preventclick.click&&(a.preventclick.click=a.preventclick.tg.onclick||!1,a.preventclick.tg.onclick=a.onpreventclick);b=f.extend({original:b},b);"changedTouches"in b&&(b.clientX=b.changedTouches[0].clientX,b.clientY=b.changedTouches[0].clientY);if(a.forcescreen){var g=b;b={original:b.original?b.original:b};b.clientX=g.screenX;b.clientY=g.screenY}var d,
g=d=0;q&&!c&&(d=a.win.position(),g=-d.left,d=-d.top);var u=b.clientY+d;d=u-a.rail.drag.y;var m=b.clientX+g,k=m-a.rail.drag.x,h=a.rail.drag.st-d;a.ishwscroll&&a.opt.bouncescroll?0>h?h=Math.round(h/2):h>a.page.maxh&&(h=a.page.maxh+Math.round((h-a.page.maxh)/2)):(0>h&&(u=h=0),h>a.page.maxh&&(h=a.page.maxh,u=0));var l;a.railh&&a.railh.scrollable&&(l=a.isrtlmode?k-a.rail.drag.sl:a.rail.drag.sl-k,a.ishwscroll&&a.opt.bouncescroll?0>l?l=Math.round(l/2):l>a.page.maxw&&(l=a.page.maxw+Math.round((l-a.page.maxw)/
2)):(0>l&&(m=l=0),l>a.page.maxw&&(l=a.page.maxw,m=0)));g=!1;if(a.rail.drag.dl)g=!0,"v"==a.rail.drag.dl?l=a.rail.drag.sl:"h"==a.rail.drag.dl&&(h=a.rail.drag.st);else{d=Math.abs(d);var k=Math.abs(k),C=a.opt.directionlockdeadzone;if("v"==a.rail.drag.ck){if(d>C&&k<=.3*d)return a.rail.drag=!1,!0;k>C&&(a.rail.drag.dl="f",f("body").scrollTop(f("body").scrollTop()))}else if("h"==a.rail.drag.ck){if(k>C&&d<=.3*k)return a.rail.drag=!1,!0;d>C&&(a.rail.drag.dl="f",f("body").scrollLeft(f("body").scrollLeft()))}}a.synched("touchmove",
function(){a.rail.drag&&2==a.rail.drag.pt&&(a.prepareTransition&&a.prepareTransition(0),a.rail.scrollable&&a.setScrollTop(h),a.scrollmom.update(m,u),a.railh&&a.railh.scrollable?(a.setScrollLeft(l),a.showCursor(h,l)):a.showCursor(h),e.isie10&&document.selection.clear())});e.ischrome&&a.istouchcapable&&(g=!1);if(g)return a.cancelEvent(b)}else if(1==a.rail.drag.pt)return a.onmousemove(b)}}a.onmousedown=function(b,c){if(!a.rail.drag||1==a.rail.drag.pt){if(a.railslocked)return a.cancelEvent(b);a.cancelScroll();
a.rail.drag={x:b.clientX,y:b.clientY,sx:a.scroll.x,sy:a.scroll.y,pt:1,hr:!!c};var g=a.getTarget(b);!a.ispage&&e.hasmousecapture&&g.setCapture();a.isiframe&&!e.hasmousecapture&&(a.saved.csspointerevents=a.doc.css("pointer-events"),a.css(a.doc,{"pointer-events":"none"}));a.hasmoving=!1;return a.cancelEvent(b)}};a.onmouseup=function(b){if(a.rail.drag){if(1!=a.rail.drag.pt)return!0;e.hasmousecapture&&document.releaseCapture();a.isiframe&&!e.hasmousecapture&&a.doc.css("pointer-events",a.saved.csspointerevents);
a.rail.drag=!1;a.hasmoving&&a.triggerScrollEnd();return a.cancelEvent(b)}};a.onmousemove=function(b){if(a.rail.drag){if(1==a.rail.drag.pt){if(e.ischrome&&0==b.which)return a.onmouseup(b);a.cursorfreezed=!0;a.hasmoving=!0;if(a.rail.drag.hr){a.scroll.x=a.rail.drag.sx+(b.clientX-a.rail.drag.x);0>a.scroll.x&&(a.scroll.x=0);var c=a.scrollvaluemaxw;a.scroll.x>c&&(a.scroll.x=c)}else a.scroll.y=a.rail.drag.sy+(b.clientY-a.rail.drag.y),0>a.scroll.y&&(a.scroll.y=0),c=a.scrollvaluemax,a.scroll.y>c&&(a.scroll.y=
c);a.synched("mousemove",function(){a.rail.drag&&1==a.rail.drag.pt&&(a.showCursor(),a.rail.drag.hr?a.hasreversehr?a.doScrollLeft(a.scrollvaluemaxw-Math.round(a.scroll.x*a.scrollratio.x),a.opt.cursordragspeed):a.doScrollLeft(Math.round(a.scroll.x*a.scrollratio.x),a.opt.cursordragspeed):a.doScrollTop(Math.round(a.scroll.y*a.scrollratio.y),a.opt.cursordragspeed))});return a.cancelEvent(b)}}else a.checkarea=0};if(e.cantouch||a.opt.touchbehavior)a.onpreventclick=function(b){if(a.preventclick)return a.preventclick.tg.onclick=
a.preventclick.click,a.preventclick=!1,a.cancelEvent(b)},a.bind(a.win,"mousedown",a.ontouchstart),a.onclick=e.isios?!1:function(b){return a.lastmouseup?(a.lastmouseup=!1,a.cancelEvent(b)):!0},a.opt.grabcursorenabled&&e.cursorgrabvalue&&(a.css(a.ispage?a.doc:a.win,{cursor:e.cursorgrabvalue}),a.css(a.rail,{cursor:e.cursorgrabvalue}));else{var r=function(b){if(a.selectiondrag){if(b){var c=a.win.outerHeight();b=b.pageY-a.selectiondrag.top;0<b&&b<c&&(b=0);b>=c&&(b-=c);a.selectiondrag.df=b}0!=a.selectiondrag.df&&
(a.doScrollBy(2*-Math.floor(a.selectiondrag.df/6)),a.debounced("doselectionscroll",function(){r()},50))}};a.hasTextSelected="getSelection"in document?function(){return 0<document.getSelection().rangeCount}:"selection"in document?function(){return"None"!=document.selection.type}:function(){return!1};a.onselectionstart=function(b){a.ispage||(a.selectiondrag=a.win.offset())};a.onselectionend=function(b){a.selectiondrag=!1};a.onselectiondrag=function(b){a.selectiondrag&&a.hasTextSelected()&&a.debounced("selectionscroll",
function(){r(b)},250)}}e.hasw3ctouch?(a.css(a.rail,{"touch-action":"none"}),a.css(a.cursor,{"touch-action":"none"}),a.bind(a.win,"pointerdown",a.ontouchstart),a.bind(document,"pointerup",a.ontouchend),a.bind(document,"pointermove",a.ontouchmove)):e.hasmstouch?(a.css(a.rail,{"-ms-touch-action":"none"}),a.css(a.cursor,{"-ms-touch-action":"none"}),a.bind(a.win,"MSPointerDown",a.ontouchstart),a.bind(document,"MSPointerUp",a.ontouchend),a.bind(document,"MSPointerMove",a.ontouchmove),a.bind(a.cursor,"MSGestureHold",
function(a){a.preventDefault()}),a.bind(a.cursor,"contextmenu",function(a){a.preventDefault()})):this.istouchcapable&&(a.bind(a.win,"touchstart",a.ontouchstart),a.bind(document,"touchend",a.ontouchend),a.bind(document,"touchcancel",a.ontouchend),a.bind(document,"touchmove",a.ontouchmove));if(a.opt.cursordragontouch||!e.cantouch&&!a.opt.touchbehavior)a.rail.css({cursor:"default"}),a.railh&&a.railh.css({cursor:"default"}),a.jqbind(a.rail,"mouseenter",function(){if(!a.ispage&&!a.win.is(":visible"))return!1;
a.canshowonmouseevent&&a.showCursor();a.rail.active=!0}),a.jqbind(a.rail,"mouseleave",function(){a.rail.active=!1;a.rail.drag||a.hideCursor()}),a.opt.sensitiverail&&(a.bind(a.rail,"click",function(b){a.doRailClick(b,!1,!1)}),a.bind(a.rail,"dblclick",function(b){a.doRailClick(b,!0,!1)}),a.bind(a.cursor,"click",function(b){a.cancelEvent(b)}),a.bind(a.cursor,"dblclick",function(b){a.cancelEvent(b)})),a.railh&&(a.jqbind(a.railh,"mouseenter",function(){if(!a.ispage&&!a.win.is(":visible"))return!1;a.canshowonmouseevent&&
a.showCursor();a.rail.active=!0}),a.jqbind(a.railh,"mouseleave",function(){a.rail.active=!1;a.rail.drag||a.hideCursor()}),a.opt.sensitiverail&&(a.bind(a.railh,"click",function(b){a.doRailClick(b,!1,!0)}),a.bind(a.railh,"dblclick",function(b){a.doRailClick(b,!0,!0)}),a.bind(a.cursorh,"click",function(b){a.cancelEvent(b)}),a.bind(a.cursorh,"dblclick",function(b){a.cancelEvent(b)})));e.cantouch||a.opt.touchbehavior?(a.bind(e.hasmousecapture?a.win:document,"mouseup",a.ontouchend),a.bind(document,"mousemove",
a.ontouchmove),a.onclick&&a.bind(document,"click",a.onclick),a.opt.cursordragontouch?(a.bind(a.cursor,"mousedown",a.onmousedown),a.bind(a.cursor,"mouseup",a.onmouseup),a.cursorh&&a.bind(a.cursorh,"mousedown",function(b){a.onmousedown(b,!0)}),a.cursorh&&a.bind(a.cursorh,"mouseup",a.onmouseup)):(a.bind(a.rail,"mousedown",function(a){a.preventDefault()}),a.railh&&a.bind(a.railh,"mousedown",function(a){a.preventDefault()}))):(a.bind(e.hasmousecapture?a.win:document,"mouseup",a.onmouseup),a.bind(document,
"mousemove",a.onmousemove),a.onclick&&a.bind(document,"click",a.onclick),a.bind(a.cursor,"mousedown",a.onmousedown),a.bind(a.cursor,"mouseup",a.onmouseup),a.railh&&(a.bind(a.cursorh,"mousedown",function(b){a.onmousedown(b,!0)}),a.bind(a.cursorh,"mouseup",a.onmouseup)),!a.ispage&&a.opt.enablescrollonselection&&(a.bind(a.win[0],"mousedown",a.onselectionstart),a.bind(document,"mouseup",a.onselectionend),a.bind(a.cursor,"mouseup",a.onselectionend),a.cursorh&&a.bind(a.cursorh,"mouseup",a.onselectionend),
a.bind(document,"mousemove",a.onselectiondrag)),a.zoom&&(a.jqbind(a.zoom,"mouseenter",function(){a.canshowonmouseevent&&a.showCursor();a.rail.active=!0}),a.jqbind(a.zoom,"mouseleave",function(){a.rail.active=!1;a.rail.drag||a.hideCursor()})));a.opt.enablemousewheel&&(a.isiframe||a.mousewheel(e.isie&&a.ispage?document:a.win,a.onmousewheel),a.mousewheel(a.rail,a.onmousewheel),a.railh&&a.mousewheel(a.railh,a.onmousewheelhr));a.ispage||e.cantouch||/HTML|^BODY/.test(a.win[0].nodeName)||(a.win.attr("tabindex")||
a.win.attr({tabindex:O++}),a.jqbind(a.win,"focus",function(b){B=a.getTarget(b).id||!0;a.hasfocus=!0;a.canshowonmouseevent&&a.noticeCursor()}),a.jqbind(a.win,"blur",function(b){B=!1;a.hasfocus=!1}),a.jqbind(a.win,"mouseenter",function(b){F=a.getTarget(b).id||!0;a.hasmousefocus=!0;a.canshowonmouseevent&&a.noticeCursor()}),a.jqbind(a.win,"mouseleave",function(){F=!1;a.hasmousefocus=!1;a.rail.drag||a.hideCursor()}))}a.onkeypress=function(b){if(a.railslocked&&0==a.page.maxh)return!0;b=b?b:window.e;var c=
a.getTarget(b);if(c&&/INPUT|TEXTAREA|SELECT|OPTION/.test(c.nodeName)&&(!c.getAttribute("type")&&!c.type||!/submit|button|cancel/i.tp)||f(c).attr("contenteditable"))return!0;if(a.hasfocus||a.hasmousefocus&&!B||a.ispage&&!B&&!F){c=b.keyCode;if(a.railslocked&&27!=c)return a.cancelEvent(b);var g=b.ctrlKey||!1,d=b.shiftKey||!1,e=!1;switch(c){case 38:case 63233:a.doScrollBy(72);e=!0;break;case 40:case 63235:a.doScrollBy(-72);e=!0;break;case 37:case 63232:a.railh&&(g?a.doScrollLeft(0):a.doScrollLeftBy(72),
e=!0);break;case 39:case 63234:a.railh&&(g?a.doScrollLeft(a.page.maxw):a.doScrollLeftBy(-72),e=!0);break;case 33:case 63276:a.doScrollBy(a.view.h);e=!0;break;case 34:case 63277:a.doScrollBy(-a.view.h);e=!0;break;case 36:case 63273:a.railh&&g?a.doScrollPos(0,0):a.doScrollTo(0);e=!0;break;case 35:case 63275:a.railh&&g?a.doScrollPos(a.page.maxw,a.page.maxh):a.doScrollTo(a.page.maxh);e=!0;break;case 32:a.opt.spacebarenabled&&(d?a.doScrollBy(a.view.h):a.doScrollBy(-a.view.h),e=!0);break;case 27:a.zoomactive&&
(a.doZoom(),e=!0)}if(e)return a.cancelEvent(b)}};a.opt.enablekeyboard&&a.bind(document,e.isopera&&!e.isopera12?"keypress":"keydown",a.onkeypress);a.bind(document,"keydown",function(b){b.ctrlKey&&(a.wheelprevented=!0)});a.bind(document,"keyup",function(b){b.ctrlKey||(a.wheelprevented=!1)});a.bind(window,"blur",function(b){a.wheelprevented=!1});a.bind(window,"resize",a.lazyResize);a.bind(window,"orientationchange",a.lazyResize);a.bind(window,"load",a.lazyResize);if(e.ischrome&&!a.ispage&&!a.haswrapper){var t=
a.win.attr("style"),m=parseFloat(a.win.css("width"))+1;a.win.css("width",m);a.synched("chromefix",function(){a.win.attr("style",t)})}a.onAttributeChange=function(b){a.lazyResize(a.isieold?250:30)};a.isie11||!1===x||(a.observerbody=new x(function(b){b.forEach(function(b){if("attributes"==b.type)return f("body").hasClass("modal-open")&&f("body").hasClass("modal-dialog")&&!f.contains(f(".modal-dialog")[0],a.doc[0])?a.hide():a.show()});if(document.body.scrollHeight!=a.page.maxh)return a.lazyResize(30)}),
a.observerbody.observe(document.body,{childList:!0,subtree:!0,characterData:!1,attributes:!0,attributeFilter:["class"]}));a.ispage||a.haswrapper||(!1!==x?(a.observer=new x(function(b){b.forEach(a.onAttributeChange)}),a.observer.observe(a.win[0],{childList:!0,characterData:!1,attributes:!0,subtree:!1}),a.observerremover=new x(function(b){b.forEach(function(b){if(0<b.removedNodes.length)for(var c in b.removedNodes)if(a&&b.removedNodes[c]==a.win[0])return a.remove()})}),a.observerremover.observe(a.win[0].parentNode,
{childList:!0,characterData:!1,attributes:!1,subtree:!1})):(a.bind(a.win,e.isie&&!e.isie9?"propertychange":"DOMAttrModified",a.onAttributeChange),e.isie9&&a.win[0].attachEvent("onpropertychange",a.onAttributeChange),a.bind(a.win,"DOMNodeRemoved",function(b){b.target==a.win[0]&&a.remove()})));!a.ispage&&a.opt.boxzoom&&a.bind(window,"resize",a.resizeZoom);a.istextarea&&(a.bind(a.win,"keydown",a.lazyResize),a.bind(a.win,"mouseup",a.lazyResize));a.lazyResize(30)}if("IFRAME"==this.doc[0].nodeName){var N=
function(){a.iframexd=!1;var c;try{c="contentDocument"in this?this.contentDocument:this.contentWindow.document}catch(g){a.iframexd=!0,c=!1}if(a.iframexd)return"console"in window&&console.log("NiceScroll error: policy restriced iframe"),!0;a.forcescreen=!0;a.isiframe&&(a.iframe={doc:f(c),html:a.doc.contents().find("html")[0],body:a.doc.contents().find("body")[0]},a.getContentSize=function(){return{w:Math.max(a.iframe.html.scrollWidth,a.iframe.body.scrollWidth),h:Math.max(a.iframe.html.scrollHeight,
a.iframe.body.scrollHeight)}},a.docscroll=f(a.iframe.body));if(!e.isios&&a.opt.iframeautoresize&&!a.isiframe){a.win.scrollTop(0);a.doc.height("");var d=Math.max(c.getElementsByTagName("html")[0].scrollHeight,c.body.scrollHeight);a.doc.height(d)}a.lazyResize(30);e.isie7&&a.css(f(a.iframe.html),b);a.css(f(a.iframe.body),b);e.isios&&a.haswrapper&&a.css(f(c.body),{"-webkit-transform":"translate3d(0,0,0)"});"contentWindow"in this?a.bind(this.contentWindow,"scroll",a.onscroll):a.bind(c,"scroll",a.onscroll);
a.opt.enablemousewheel&&a.mousewheel(c,a.onmousewheel);a.opt.enablekeyboard&&a.bind(c,e.isopera?"keypress":"keydown",a.onkeypress);if(e.cantouch||a.opt.touchbehavior)a.bind(c,"mousedown",a.ontouchstart),a.bind(c,"mousemove",function(b){return a.ontouchmove(b,!0)}),a.opt.grabcursorenabled&&e.cursorgrabvalue&&a.css(f(c.body),{cursor:e.cursorgrabvalue});a.bind(c,"mouseup",a.ontouchend);a.zoom&&(a.opt.dblclickzoom&&a.bind(c,"dblclick",a.doZoom),a.ongesturezoom&&a.bind(c,"gestureend",a.ongesturezoom))};
this.doc[0].readyState&&"complete"==this.doc[0].readyState&&setTimeout(function(){N.call(a.doc[0],!1)},500);a.bind(this.doc,"load",N)}};this.showCursor=function(b,c){a.cursortimeout&&(clearTimeout(a.cursortimeout),a.cursortimeout=0);if(a.rail){a.autohidedom&&(a.autohidedom.stop().css({opacity:a.opt.cursoropacitymax}),a.cursoractive=!0);a.rail.drag&&1==a.rail.drag.pt||(void 0!==b&&!1!==b&&(a.scroll.y=Math.round(1*b/a.scrollratio.y)),void 0!==c&&(a.scroll.x=Math.round(1*c/a.scrollratio.x)));a.cursor.css({height:a.cursorheight,
top:a.scroll.y});if(a.cursorh){var d=a.hasreversehr?a.scrollvaluemaxw-a.scroll.x:a.scroll.x;!a.rail.align&&a.rail.visibility?a.cursorh.css({width:a.cursorwidth,left:d+a.rail.width}):a.cursorh.css({width:a.cursorwidth,left:d});a.cursoractive=!0}a.zoom&&a.zoom.stop().css({opacity:a.opt.cursoropacitymax})}};this.hideCursor=function(b){a.cursortimeout||!a.rail||!a.autohidedom||a.hasmousefocus&&"leave"==a.opt.autohidemode||(a.cursortimeout=setTimeout(function(){a.rail.active&&a.showonmouseevent||(a.autohidedom.stop().animate({opacity:a.opt.cursoropacitymin}),
a.zoom&&a.zoom.stop().animate({opacity:a.opt.cursoropacitymin}),a.cursoractive=!1);a.cursortimeout=0},b||a.opt.hidecursordelay))};this.noticeCursor=function(b,c,d){a.showCursor(c,d);a.rail.active||a.hideCursor(b)};this.getContentSize=a.ispage?function(){return{w:Math.max(document.body.scrollWidth,document.documentElement.scrollWidth),h:Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}}:a.haswrapper?function(){return{w:a.doc.outerWidth()+parseInt(a.win.css("paddingLeft"))+
parseInt(a.win.css("paddingRight")),h:a.doc.outerHeight()+parseInt(a.win.css("paddingTop"))+parseInt(a.win.css("paddingBottom"))}}:function(){return{w:a.docscroll[0].scrollWidth,h:a.docscroll[0].scrollHeight}};this.onResize=function(b,c){if(!a||!a.win)return!1;if(!a.haswrapper&&!a.ispage){if("none"==a.win.css("display"))return a.visibility&&a.hideRail().hideRailHr(),!1;a.hidden||a.visibility||a.showRail().showRailHr()}var d=a.page.maxh,e=a.page.maxw,f=a.view.h,k=a.view.w;a.view={w:a.ispage?a.win.width():
parseInt(a.win[0].clientWidth),h:a.ispage?a.win.height():parseInt(a.win[0].clientHeight)};a.page=c?c:a.getContentSize();a.page.maxh=Math.max(0,a.page.h-a.view.h);a.page.maxw=Math.max(0,a.page.w-a.view.w);if(a.page.maxh==d&&a.page.maxw==e&&a.view.w==k&&a.view.h==f){if(a.ispage)return a;d=a.win.offset();if(a.lastposition&&(e=a.lastposition,e.top==d.top&&e.left==d.left))return a;a.lastposition=d}0==a.page.maxh?(a.hideRail(),a.scrollvaluemax=0,a.scroll.y=0,a.scrollratio.y=0,a.cursorheight=0,a.setScrollTop(0),
a.rail&&(a.rail.scrollable=!1)):(a.page.maxh-=a.opt.railpadding.top+a.opt.railpadding.bottom,a.rail.scrollable=!0);0==a.page.maxw?(a.hideRailHr(),a.scrollvaluemaxw=0,a.scroll.x=0,a.scrollratio.x=0,a.cursorwidth=0,a.setScrollLeft(0),a.railh&&(a.railh.scrollable=!1)):(a.page.maxw-=a.opt.railpadding.left+a.opt.railpadding.right,a.railh&&(a.railh.scrollable=a.opt.horizrailenabled));a.railslocked=a.locked||0==a.page.maxh&&0==a.page.maxw;if(a.railslocked)return a.ispage||a.updateScrollBar(a.view),!1;a.hidden||
a.visibility?!a.railh||a.hidden||a.railh.visibility||a.showRailHr():a.showRail().showRailHr();a.istextarea&&a.win.css("resize")&&"none"!=a.win.css("resize")&&(a.view.h-=20);a.cursorheight=Math.min(a.view.h,Math.round(a.view.h/a.page.h*a.view.h));a.cursorheight=a.opt.cursorfixedheight?a.opt.cursorfixedheight:Math.max(a.opt.cursorminheight,a.cursorheight);a.cursorwidth=Math.min(a.view.w,Math.round(a.view.w/a.page.w*a.view.w));a.cursorwidth=a.opt.cursorfixedheight?a.opt.cursorfixedheight:Math.max(a.opt.cursorminheight,
a.cursorwidth);a.scrollvaluemax=a.view.h-a.cursorheight-a.cursor.hborder-(a.opt.railpadding.top+a.opt.railpadding.bottom);a.railh&&(a.railh.width=0<a.page.maxh?a.view.w-a.rail.width:a.view.w,a.scrollvaluemaxw=a.railh.width-a.cursorwidth-a.cursorh.wborder-(a.opt.railpadding.left+a.opt.railpadding.right));a.ispage||a.updateScrollBar(a.view);a.scrollratio={x:a.page.maxw/a.scrollvaluemaxw,y:a.page.maxh/a.scrollvaluemax};a.getScrollTop()>a.page.maxh?a.doScrollTop(a.page.maxh):(a.scroll.y=Math.round(a.getScrollTop()*
(1/a.scrollratio.y)),a.scroll.x=Math.round(a.getScrollLeft()*(1/a.scrollratio.x)),a.cursoractive&&a.noticeCursor());a.scroll.y&&0==a.getScrollTop()&&a.doScrollTo(Math.floor(a.scroll.y*a.scrollratio.y));return a};this.resize=a.onResize;this.hlazyresize=0;this.lazyResize=function(b){a.haswrapper||a.hide();a.hlazyresize&&clearTimeout(a.hlazyresize);a.hlazyresize=setTimeout(function(){a&&a.show().resize()},240);return a};this.jqbind=function(b,c,d){a.events.push({e:b,n:c,f:d,q:!0});f(b).bind(c,d)};this.mousewheel=
function(b,c,d){b="jquery"in b?b[0]:b;if("onwheel"in document.createElement("div"))a._bind(b,"wheel",c,d||!1);else{var e=void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll";q(b,e,c,d||!1);"DOMMouseScroll"==e&&q(b,"MozMousePixelScroll",c,d||!1)}};e.haseventlistener?(this.bind=function(b,c,d,e){a._bind("jquery"in b?b[0]:b,c,d,e||!1)},this._bind=function(b,c,d,e){a.events.push({e:b,n:c,f:d,b:e,q:!1});b.addEventListener(c,d,e||!1)},this.cancelEvent=function(a){if(!a)return!1;a=a.original?a.original:
a;a.cancelable&&a.preventDefault();a.stopPropagation();a.preventManipulation&&a.preventManipulation();return!1},this.stopPropagation=function(a){if(!a)return!1;a=a.original?a.original:a;a.stopPropagation();return!1},this._unbind=function(a,c,d,e){a.removeEventListener(c,d,e)}):(this.bind=function(b,c,d,e){var f="jquery"in b?b[0]:b;a._bind(f,c,function(b){(b=b||window.event||!1)&&b.srcElement&&(b.target=b.srcElement);"pageY"in b||(b.pageX=b.clientX+document.documentElement.scrollLeft,b.pageY=b.clientY+
document.documentElement.scrollTop);return!1===d.call(f,b)||!1===e?a.cancelEvent(b):!0})},this._bind=function(b,c,d,e){a.events.push({e:b,n:c,f:d,b:e,q:!1});b.attachEvent?b.attachEvent("on"+c,d):b["on"+c]=d},this.cancelEvent=function(a){a=window.event||!1;if(!a)return!1;a.cancelBubble=!0;a.cancel=!0;return a.returnValue=!1},this.stopPropagation=function(a){a=window.event||!1;if(!a)return!1;a.cancelBubble=!0;return!1},this._unbind=function(a,c,d,e){a.detachEvent?a.detachEvent("on"+c,d):a["on"+c]=!1});
this.unbindAll=function(){for(var b=0;b<a.events.length;b++){var c=a.events[b];c.q?c.e.unbind(c.n,c.f):a._unbind(c.e,c.n,c.f,c.b)}};this.showRail=function(){0==a.page.maxh||!a.ispage&&"none"==a.win.css("display")||(a.visibility=!0,a.rail.visibility=!0,a.rail.css("display","block"));return a};this.showRailHr=function(){if(!a.railh)return a;0==a.page.maxw||!a.ispage&&"none"==a.win.css("display")||(a.railh.visibility=!0,a.railh.css("display","block"));return a};this.hideRail=function(){a.visibility=
!1;a.rail.visibility=!1;a.rail.css("display","none");return a};this.hideRailHr=function(){if(!a.railh)return a;a.railh.visibility=!1;a.railh.css("display","none");return a};this.show=function(){a.hidden=!1;a.railslocked=!1;return a.showRail().showRailHr()};this.hide=function(){a.hidden=!0;a.railslocked=!0;return a.hideRail().hideRailHr()};this.toggle=function(){return a.hidden?a.show():a.hide()};this.remove=function(){a.stop();a.cursortimeout&&clearTimeout(a.cursortimeout);for(var b in a.delaylist)a.delaylist[b]&&
w(a.delaylist[b].h);a.doZoomOut();a.unbindAll();e.isie9&&a.win[0].detachEvent("onpropertychange",a.onAttributeChange);!1!==a.observer&&a.observer.disconnect();!1!==a.observerremover&&a.observerremover.disconnect();!1!==a.observerbody&&a.observerbody.disconnect();a.events=null;a.cursor&&a.cursor.remove();a.cursorh&&a.cursorh.remove();a.rail&&a.rail.remove();a.railh&&a.railh.remove();a.zoom&&a.zoom.remove();for(b=0;b<a.saved.css.length;b++){var c=a.saved.css[b];c[0].css(c[1],void 0===c[2]?"":c[2])}a.saved=
!1;a.me.data("__nicescroll","");var d=f.nicescroll;d.each(function(b){if(this&&this.id===a.id){delete d[b];for(var c=++b;c<d.length;c++,b++)d[b]=d[c];d.length--;d.length&&delete d[d.length]}});for(var k in a)a[k]=null,delete a[k];a=null};this.scrollstart=function(b){this.onscrollstart=b;return a};this.scrollend=function(b){this.onscrollend=b;return a};this.scrollcancel=function(b){this.onscrollcancel=b;return a};this.zoomin=function(b){this.onzoomin=b;return a};this.zoomout=function(b){this.onzoomout=
b;return a};this.isScrollable=function(a){a=a.target?a.target:a;if("OPTION"==a.nodeName)return!0;for(;a&&1==a.nodeType&&!/^BODY|HTML/.test(a.nodeName);){var c=f(a),c=c.css("overflowY")||c.css("overflowX")||c.css("overflow")||"";if(/scroll|auto/.test(c))return a.clientHeight!=a.scrollHeight;a=a.parentNode?a.parentNode:!1}return!1};this.getViewport=function(a){for(a=a&&a.parentNode?a.parentNode:!1;a&&1==a.nodeType&&!/^BODY|HTML/.test(a.nodeName);){var c=f(a);if(/fixed|absolute/.test(c.css("position")))return c;
var d=c.css("overflowY")||c.css("overflowX")||c.css("overflow")||"";if(/scroll|auto/.test(d)&&a.clientHeight!=a.scrollHeight||0<c.getNiceScroll().length)return c;a=a.parentNode?a.parentNode:!1}return!1};this.triggerScrollEnd=function(){if(a.onscrollend){var b=a.getScrollLeft(),c=a.getScrollTop();a.onscrollend.call(a,{type:"scrollend",current:{x:b,y:c},end:{x:b,y:c}})}};this.onmousewheel=function(b){if(!a.wheelprevented){if(a.railslocked)return a.debounced("checkunlock",a.resize,250),!0;if(a.rail.drag)return a.cancelEvent(b);
"auto"==a.opt.oneaxismousemode&&0!=b.deltaX&&(a.opt.oneaxismousemode=!1);if(a.opt.oneaxismousemode&&0==b.deltaX&&!a.rail.scrollable)return a.railh&&a.railh.scrollable?a.onmousewheelhr(b):!0;var c=+new Date,d=!1;a.opt.preservenativescrolling&&a.checkarea+600<c&&(a.nativescrollingarea=a.isScrollable(b),d=!0);a.checkarea=c;if(a.nativescrollingarea)return!0;if(b=t(b,!1,d))a.checkarea=0;return b}};this.onmousewheelhr=function(b){if(!a.wheelprevented){if(a.railslocked||!a.railh.scrollable)return!0;if(a.rail.drag)return a.cancelEvent(b);
var c=+new Date,d=!1;a.opt.preservenativescrolling&&a.checkarea+600<c&&(a.nativescrollingarea=a.isScrollable(b),d=!0);a.checkarea=c;return a.nativescrollingarea?!0:a.railslocked?a.cancelEvent(b):t(b,!0,d)}};this.stop=function(){a.cancelScroll();a.scrollmon&&a.scrollmon.stop();a.cursorfreezed=!1;a.scroll.y=Math.round(a.getScrollTop()*(1/a.scrollratio.y));a.noticeCursor();return a};this.getTransitionSpeed=function(b){b=Math.min(Math.round(10*a.opt.scrollspeed),Math.round(b/20*a.opt.scrollspeed));return 20<
b?b:0};a.opt.smoothscroll?a.ishwscroll&&e.hastransition&&a.opt.usetransition&&a.opt.smoothscroll?(this.prepareTransition=function(b,c){var d=c?20<b?b:0:a.getTransitionSpeed(b),f=d?e.prefixstyle+"transform "+d+"ms ease-out":"";a.lasttransitionstyle&&a.lasttransitionstyle==f||(a.lasttransitionstyle=f,a.doc.css(e.transitionstyle,f));return d},this.doScrollLeft=function(b,c){var d=a.scrollrunning?a.newscrolly:a.getScrollTop();a.doScrollPos(b,d,c)},this.doScrollTop=function(b,c){var d=a.scrollrunning?
a.newscrollx:a.getScrollLeft();a.doScrollPos(d,b,c)},this.doScrollPos=function(b,c,d){var f=a.getScrollTop(),k=a.getScrollLeft();(0>(a.newscrolly-f)*(c-f)||0>(a.newscrollx-k)*(b-k))&&a.cancelScroll();0==a.opt.bouncescroll&&(0>c?c=0:c>a.page.maxh&&(c=a.page.maxh),0>b?b=0:b>a.page.maxw&&(b=a.page.maxw));if(a.scrollrunning&&b==a.newscrollx&&c==a.newscrolly)return!1;a.newscrolly=c;a.newscrollx=b;a.newscrollspeed=d||!1;if(a.timer)return!1;a.timer=setTimeout(function(){var d=a.getScrollTop(),f=a.getScrollLeft(),
k=Math.round(Math.sqrt(Math.pow(b-f,2)+Math.pow(c-d,2))),k=a.newscrollspeed&&1<a.newscrollspeed?a.newscrollspeed:a.getTransitionSpeed(k);a.newscrollspeed&&1>=a.newscrollspeed&&(k*=a.newscrollspeed);a.prepareTransition(k,!0);a.timerscroll&&a.timerscroll.tm&&clearInterval(a.timerscroll.tm);0<k&&(!a.scrollrunning&&a.onscrollstart&&a.onscrollstart.call(a,{type:"scrollstart",current:{x:f,y:d},request:{x:b,y:c},end:{x:a.newscrollx,y:a.newscrolly},speed:k}),e.transitionend?a.scrollendtrapped||(a.scrollendtrapped=
!0,a.bind(a.doc,e.transitionend,a.onScrollTransitionEnd,!1)):(a.scrollendtrapped&&clearTimeout(a.scrollendtrapped),a.scrollendtrapped=setTimeout(a.onScrollTransitionEnd,k)),a.timerscroll={bz:new D(d,a.newscrolly,k,0,0,.58,1),bh:new D(f,a.newscrollx,k,0,0,.58,1)},a.cursorfreezed||(a.timerscroll.tm=setInterval(function(){a.showCursor(a.getScrollTop(),a.getScrollLeft())},60)));a.synched("doScroll-set",function(){a.timer=0;a.scrollendtrapped&&(a.scrollrunning=!0);a.setScrollTop(a.newscrolly);a.setScrollLeft(a.newscrollx);
if(!a.scrollendtrapped)a.onScrollTransitionEnd()})},50)},this.cancelScroll=function(){if(!a.scrollendtrapped)return!0;var b=a.getScrollTop(),c=a.getScrollLeft();a.scrollrunning=!1;e.transitionend||clearTimeout(e.transitionend);a.scrollendtrapped=!1;a._unbind(a.doc[0],e.transitionend,a.onScrollTransitionEnd);a.prepareTransition(0);a.setScrollTop(b);a.railh&&a.setScrollLeft(c);a.timerscroll&&a.timerscroll.tm&&clearInterval(a.timerscroll.tm);a.timerscroll=!1;a.cursorfreezed=!1;a.showCursor(b,c);return a},
this.onScrollTransitionEnd=function(){a.scrollendtrapped&&a._unbind(a.doc[0],e.transitionend,a.onScrollTransitionEnd);a.scrollendtrapped=!1;a.prepareTransition(0);a.timerscroll&&a.timerscroll.tm&&clearInterval(a.timerscroll.tm);a.timerscroll=!1;var b=a.getScrollTop(),c=a.getScrollLeft();a.setScrollTop(b);a.railh&&a.setScrollLeft(c);a.noticeCursor(!1,b,c);a.cursorfreezed=!1;0>b?b=0:b>a.page.maxh&&(b=a.page.maxh);0>c?c=0:c>a.page.maxw&&(c=a.page.maxw);if(b!=a.newscrolly||c!=a.newscrollx)return a.doScrollPos(c,
b,a.opt.snapbackspeed);a.onscrollend&&a.scrollrunning&&a.triggerScrollEnd();a.scrollrunning=!1}):(this.doScrollLeft=function(b,c){var d=a.scrollrunning?a.newscrolly:a.getScrollTop();a.doScrollPos(b,d,c)},this.doScrollTop=function(b,c){var d=a.scrollrunning?a.newscrollx:a.getScrollLeft();a.doScrollPos(d,b,c)},this.doScrollPos=function(b,c,d){function e(){if(a.cancelAnimationFrame)return!0;a.scrollrunning=!0;if(p=1-p)return a.timer=v(e)||1;var b=0,c,d,f=d=a.getScrollTop();if(a.dst.ay){f=a.bzscroll?
a.dst.py+a.bzscroll.getNow()*a.dst.ay:a.newscrolly;c=f-d;if(0>c&&f<a.newscrolly||0<c&&f>a.newscrolly)f=a.newscrolly;a.setScrollTop(f);f==a.newscrolly&&(b=1)}else b=1;d=c=a.getScrollLeft();if(a.dst.ax){d=a.bzscroll?a.dst.px+a.bzscroll.getNow()*a.dst.ax:a.newscrollx;c=d-c;if(0>c&&d<a.newscrollx||0<c&&d>a.newscrollx)d=a.newscrollx;a.setScrollLeft(d);d==a.newscrollx&&(b+=1)}else b+=1;2==b?(a.timer=0,a.cursorfreezed=!1,a.bzscroll=!1,a.scrollrunning=!1,0>f?f=0:f>a.page.maxh&&(f=Math.max(0,a.page.maxh)),
0>d?d=0:d>a.page.maxw&&(d=a.page.maxw),d!=a.newscrollx||f!=a.newscrolly?a.doScrollPos(d,f):a.onscrollend&&a.triggerScrollEnd()):a.timer=v(e)||1}c=void 0===c||!1===c?a.getScrollTop(!0):c;if(a.timer&&a.newscrolly==c&&a.newscrollx==b)return!0;a.timer&&w(a.timer);a.timer=0;var f=a.getScrollTop(),k=a.getScrollLeft();(0>(a.newscrolly-f)*(c-f)||0>(a.newscrollx-k)*(b-k))&&a.cancelScroll();a.newscrolly=c;a.newscrollx=b;a.bouncescroll&&a.rail.visibility||(0>a.newscrolly?a.newscrolly=0:a.newscrolly>a.page.maxh&&
(a.newscrolly=a.page.maxh));a.bouncescroll&&a.railh.visibility||(0>a.newscrollx?a.newscrollx=0:a.newscrollx>a.page.maxw&&(a.newscrollx=a.page.maxw));a.dst={};a.dst.x=b-k;a.dst.y=c-f;a.dst.px=k;a.dst.py=f;var h=Math.round(Math.sqrt(Math.pow(a.dst.x,2)+Math.pow(a.dst.y,2)));a.dst.ax=a.dst.x/h;a.dst.ay=a.dst.y/h;var l=0,n=h;0==a.dst.x?(l=f,n=c,a.dst.ay=1,a.dst.py=0):0==a.dst.y&&(l=k,n=b,a.dst.ax=1,a.dst.px=0);h=a.getTransitionSpeed(h);d&&1>=d&&(h*=d);a.bzscroll=0<h?a.bzscroll?a.bzscroll.update(n,h):
new D(l,n,h,0,1,0,1):!1;if(!a.timer){(f==a.page.maxh&&c>=a.page.maxh||k==a.page.maxw&&b>=a.page.maxw)&&a.checkContentSize();var p=1;a.cancelAnimationFrame=!1;a.timer=1;a.onscrollstart&&!a.scrollrunning&&a.onscrollstart.call(a,{type:"scrollstart",current:{x:k,y:f},request:{x:b,y:c},end:{x:a.newscrollx,y:a.newscrolly},speed:h});e();(f==a.page.maxh&&c>=f||k==a.page.maxw&&b>=k)&&a.checkContentSize();a.noticeCursor()}},this.cancelScroll=function(){a.timer&&w(a.timer);a.timer=0;a.bzscroll=!1;a.scrollrunning=
!1;return a}):(this.doScrollLeft=function(b,c){var d=a.getScrollTop();a.doScrollPos(b,d,c)},this.doScrollTop=function(b,c){var d=a.getScrollLeft();a.doScrollPos(d,b,c)},this.doScrollPos=function(b,c,d){var e=b>a.page.maxw?a.page.maxw:b;0>e&&(e=0);var f=c>a.page.maxh?a.page.maxh:c;0>f&&(f=0);a.synched("scroll",function(){a.setScrollTop(f);a.setScrollLeft(e)})},this.cancelScroll=function(){});this.doScrollBy=function(b,c){var d=0,d=c?Math.floor((a.scroll.y-b)*a.scrollratio.y):(a.timer?a.newscrolly:
a.getScrollTop(!0))-b;if(a.bouncescroll){var e=Math.round(a.view.h/2);d<-e?d=-e:d>a.page.maxh+e&&(d=a.page.maxh+e)}a.cursorfreezed=!1;e=a.getScrollTop(!0);if(0>d&&0>=e)return a.noticeCursor();if(d>a.page.maxh&&e>=a.page.maxh)return a.checkContentSize(),a.noticeCursor();a.doScrollTop(d)};this.doScrollLeftBy=function(b,c){var d=0,d=c?Math.floor((a.scroll.x-b)*a.scrollratio.x):(a.timer?a.newscrollx:a.getScrollLeft(!0))-b;if(a.bouncescroll){var e=Math.round(a.view.w/2);d<-e?d=-e:d>a.page.maxw+e&&(d=a.page.maxw+
e)}a.cursorfreezed=!1;e=a.getScrollLeft(!0);if(0>d&&0>=e||d>a.page.maxw&&e>=a.page.maxw)return a.noticeCursor();a.doScrollLeft(d)};this.doScrollTo=function(b,c){a.cursorfreezed=!1;a.doScrollTop(b)};this.checkContentSize=function(){var b=a.getContentSize();b.h==a.page.h&&b.w==a.page.w||a.resize(!1,b)};a.onscroll=function(b){a.rail.drag||a.cursorfreezed||a.synched("scroll",function(){a.scroll.y=Math.round(a.getScrollTop()*(1/a.scrollratio.y));a.railh&&(a.scroll.x=Math.round(a.getScrollLeft()*(1/a.scrollratio.x)));
a.noticeCursor()})};a.bind(a.docscroll,"scroll",a.onscroll);this.doZoomIn=function(b){if(!a.zoomactive){a.zoomactive=!0;a.zoomrestore={style:{}};var c="position top left zIndex backgroundColor marginTop marginBottom marginLeft marginRight".split(" "),d=a.win[0].style,k;for(k in c){var h=c[k];a.zoomrestore.style[h]=void 0!==d[h]?d[h]:""}a.zoomrestore.style.width=a.win.css("width");a.zoomrestore.style.height=a.win.css("height");a.zoomrestore.padding={w:a.win.outerWidth()-a.win.width(),h:a.win.outerHeight()-
a.win.height()};e.isios4&&(a.zoomrestore.scrollTop=f(window).scrollTop(),f(window).scrollTop(0));a.win.css({position:e.isios4?"absolute":"fixed",top:0,left:0,zIndex:A+100,margin:0});c=a.win.css("backgroundColor");(""==c||/transparent|rgba\(0, 0, 0, 0\)|rgba\(0,0,0,0\)/.test(c))&&a.win.css("backgroundColor","#fff");a.rail.css({zIndex:A+101});a.zoom.css({zIndex:A+102});a.zoom.css("backgroundPosition","0px -18px");a.resizeZoom();a.onzoomin&&a.onzoomin.call(a);return a.cancelEvent(b)}};this.doZoomOut=
function(b){if(a.zoomactive)return a.zoomactive=!1,a.win.css("margin",""),a.win.css(a.zoomrestore.style),e.isios4&&f(window).scrollTop(a.zoomrestore.scrollTop),a.rail.css({"z-index":a.zindex}),a.zoom.css({"z-index":a.zindex}),a.zoomrestore=!1,a.zoom.css("backgroundPosition","0px 0px"),a.onResize(),a.onzoomout&&a.onzoomout.call(a),a.cancelEvent(b)};this.doZoom=function(b){return a.zoomactive?a.doZoomOut(b):a.doZoomIn(b)};this.resizeZoom=function(){if(a.zoomactive){var b=a.getScrollTop();a.win.css({width:f(window).width()-
a.zoomrestore.padding.w+"px",height:f(window).height()-a.zoomrestore.padding.h+"px"});a.onResize();a.setScrollTop(Math.min(a.page.maxh,b))}};this.init();f.nicescroll.push(this)},M=function(f){var c=this;this.nc=f;this.steptime=this.lasttime=this.speedy=this.speedx=this.lasty=this.lastx=0;this.snapy=this.snapx=!1;this.demuly=this.demulx=0;this.lastscrolly=this.lastscrollx=-1;this.timer=this.chky=this.chkx=0;this.time=function(){return+new Date};this.reset=function(f,h){c.stop();var d=c.time();c.steptime=
0;c.lasttime=d;c.speedx=0;c.speedy=0;c.lastx=f;c.lasty=h;c.lastscrollx=-1;c.lastscrolly=-1};this.update=function(f,h){var d=c.time();c.steptime=d-c.lasttime;c.lasttime=d;var d=h-c.lasty,q=f-c.lastx,t=c.nc.getScrollTop(),a=c.nc.getScrollLeft(),t=t+d,a=a+q;c.snapx=0>a||a>c.nc.page.maxw;c.snapy=0>t||t>c.nc.page.maxh;c.speedx=q;c.speedy=d;c.lastx=f;c.lasty=h};this.stop=function(){c.nc.unsynched("domomentum2d");c.timer&&clearTimeout(c.timer);c.timer=0;c.lastscrollx=-1;c.lastscrolly=-1};this.doSnapy=function(f,
h){var d=!1;0>h?(h=0,d=!0):h>c.nc.page.maxh&&(h=c.nc.page.maxh,d=!0);0>f?(f=0,d=!0):f>c.nc.page.maxw&&(f=c.nc.page.maxw,d=!0);d?c.nc.doScrollPos(f,h,c.nc.opt.snapbackspeed):c.nc.triggerScrollEnd()};this.doMomentum=function(f){var h=c.time(),d=f?h+f:c.lasttime;f=c.nc.getScrollLeft();var q=c.nc.getScrollTop(),t=c.nc.page.maxh,a=c.nc.page.maxw;c.speedx=0<a?Math.min(60,c.speedx):0;c.speedy=0<t?Math.min(60,c.speedy):0;d=d&&60>=h-d;if(0>q||q>t||0>f||f>a)d=!1;f=c.speedx&&d?c.speedx:!1;if(c.speedy&&d&&c.speedy||
f){var r=Math.max(16,c.steptime);50<r&&(f=r/50,c.speedx*=f,c.speedy*=f,r=50);c.demulxy=0;c.lastscrollx=c.nc.getScrollLeft();c.chkx=c.lastscrollx;c.lastscrolly=c.nc.getScrollTop();c.chky=c.lastscrolly;var p=c.lastscrollx,e=c.lastscrolly,v=function(){var d=600<c.time()-h?.04:.02;c.speedx&&(p=Math.floor(c.lastscrollx-c.speedx*(1-c.demulxy)),c.lastscrollx=p,0>p||p>a)&&(d=.1);c.speedy&&(e=Math.floor(c.lastscrolly-c.speedy*(1-c.demulxy)),c.lastscrolly=e,0>e||e>t)&&(d=.1);c.demulxy=Math.min(1,c.demulxy+
d);c.nc.synched("domomentum2d",function(){c.speedx&&(c.nc.getScrollLeft(),c.chkx=p,c.nc.setScrollLeft(p));c.speedy&&(c.nc.getScrollTop(),c.chky=e,c.nc.setScrollTop(e));c.timer||(c.nc.hideCursor(),c.doSnapy(p,e))});1>c.demulxy?c.timer=setTimeout(v,r):(c.stop(),c.nc.hideCursor(),c.doSnapy(p,e))};v()}else c.doSnapy(c.nc.getScrollLeft(),c.nc.getScrollTop())}},y=f.fn.scrollTop;f.cssHooks.pageYOffset={get:function(h,c,k){return(c=f.data(h,"__nicescroll")||!1)&&c.ishwscroll?c.getScrollTop():y.call(h)},set:function(h,
c){var k=f.data(h,"__nicescroll")||!1;k&&k.ishwscroll?k.setScrollTop(parseInt(c)):y.call(h,c);return this}};f.fn.scrollTop=function(h){if(void 0===h){var c=this[0]?f.data(this[0],"__nicescroll")||!1:!1;return c&&c.ishwscroll?c.getScrollTop():y.call(this)}return this.each(function(){var c=f.data(this,"__nicescroll")||!1;c&&c.ishwscroll?c.setScrollTop(parseInt(h)):y.call(f(this),h)})};var z=f.fn.scrollLeft;f.cssHooks.pageXOffset={get:function(h,c,k){return(c=f.data(h,"__nicescroll")||!1)&&c.ishwscroll?
c.getScrollLeft():z.call(h)},set:function(h,c){var k=f.data(h,"__nicescroll")||!1;k&&k.ishwscroll?k.setScrollLeft(parseInt(c)):z.call(h,c);return this}};f.fn.scrollLeft=function(h){if(void 0===h){var c=this[0]?f.data(this[0],"__nicescroll")||!1:!1;return c&&c.ishwscroll?c.getScrollLeft():z.call(this)}return this.each(function(){var c=f.data(this,"__nicescroll")||!1;c&&c.ishwscroll?c.setScrollLeft(parseInt(h)):z.call(f(this),h)})};var E=function(h){var c=this;this.length=0;this.name="nicescrollarray";
this.each=function(d){f.each(c,d);return c};this.push=function(d){c[c.length]=d;c.length++};this.eq=function(d){return c[d]};if(h)for(var k=0;k<h.length;k++){var l=f.data(h[k],"__nicescroll")||!1;l&&(this[this.length]=l,this.length++)}return this};(function(f,c,k){for(var l=0;l<c.length;l++)k(f,c[l])})(E.prototype,"show hide toggle onResize resize remove stop doScrollPos".split(" "),function(f,c){f[c]=function(){var f=arguments;return this.each(function(){this[c].apply(this,f)})}});f.fn.getNiceScroll=
function(h){return void 0===h?new E(this):this[h]&&f.data(this[h],"__nicescroll")||!1};f.expr[":"].nicescroll=function(h){return void 0!==f.data(h,"__nicescroll")};f.fn.niceScroll=function(h,c){void 0!==c||"object"!=typeof h||"jquery"in h||(c=h,h=!1);c=f.extend({},c);var k=new E;void 0===c&&(c={});h&&(c.doc=f(h),c.win=f(this));var l=!("doc"in c);l||"win"in c||(c.win=f(this));this.each(function(){var d=f(this).data("__nicescroll")||!1;d||(c.doc=l?f(this):c.doc,d=new S(c,f(this)),f(this).data("__nicescroll",
d));k.push(d)});return 1==k.length?k[0]:k};window.NiceScroll={getjQuery:function(){return f}};f.nicescroll||(f.nicescroll=new E,f.nicescroll.options=K)});
(()=>{var r={};(qode.modules.niceScroll=r).initNiceScroll=function(r){r.length&&r.niceScroll({scrollspeed:60,mousescrollstep:40,cursorwidth:0,cursorborder:0,cursorborderradius:0,cursorcolor:"transparent",autohidemode:!1,horizrailenabled:!1})}})(jQuery);
(()=>{var n={243:function(n,t,r){n=r.nmd(n),function(){var e,u="Expected a function",i="__lodash_hash_undefined__",o="__lodash_placeholder__",f=32,a=128,c=1/0,l=9007199254740991,s=NaN,h=4294967295,p=[["ary",a],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",f],["partialRight",64],["rearg",256]],v="[object Arguments]",_="[object Array]",g="[object Boolean]",y="[object Date]",d="[object Error]",w="[object Function]",b="[object GeneratorFunction]",m="[object Map]",x="[object Number]",j="[object Object]",A="[object Promise]",k="[object RegExp]",O="[object Set]",E="[object String]",I="[object Symbol]",R="[object WeakMap]",z="[object ArrayBuffer]",S="[object DataView]",C="[object Float32Array]",L="[object Float64Array]",W="[object Int8Array]",T="[object Int16Array]",U="[object Int32Array]",B="[object Uint8Array]",D="[object Uint8ClampedArray]",$="[object Uint16Array]",M="[object Uint32Array]",F=/\b__p \+='';/g,N=/\b(__p \+=) '' \+/g,P=/(__e\(.*?\)|\b__t\)) \+\n'';/g,q=/&(?:amp|lt|gt|quot|#39);/g,Z=/[&<>"']/g,K=RegExp(q.source),V=RegExp(Z.source),G=/<%-([\s\S]+?)%>/g,H=/<%([\s\S]+?)%>/g,J=/<%=([\s\S]+?)%>/g,Y=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Q=/^\w*$/,X=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,nn=/[\\^$.*+?()[\]{}|]/g,tn=RegExp(nn.source),rn=/^\s+/,en=/\s/,un=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,on=/\{\n\/\* \[wrapped with (.+)\] \*/,fn=/,? & /,an=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,cn=/[()=,{}\[\]\/\s]/,ln=/\\(\\)?/g,sn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,hn=/\w*$/,pn=/^[-+]0x[0-9a-f]+$/i,vn=/^0b[01]+$/i,_n=/^\[object .+?Constructor\]$/,gn=/^0o[0-7]+$/i,yn=/^(?:0|[1-9]\d*)$/,dn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,wn=/($^)/,bn=/['\n\r\u2028\u2029\\]/g,mn="\\ud800-\\udfff",xn="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",jn="\\u2700-\\u27bf",An="a-z\\xdf-\\xf6\\xf8-\\xff",kn="A-Z\\xc0-\\xd6\\xd8-\\xde",On="\\ufe0e\\ufe0f",En="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",In="["+mn+"]",Rn="["+En+"]",zn="["+xn+"]",Sn="\\d+",Cn="["+jn+"]",Ln="["+An+"]",Wn="[^"+mn+En+Sn+jn+An+kn+"]",Tn="\\ud83c[\\udffb-\\udfff]",Un="[^"+mn+"]",Bn="(?:\\ud83c[\\udde6-\\uddff]){2}",Dn="[\\ud800-\\udbff][\\udc00-\\udfff]",$n="["+kn+"]",Mn="\\u200d",Fn="(?:"+Ln+"|"+Wn+")",Nn="(?:"+$n+"|"+Wn+")",Pn="(?:['’](?:d|ll|m|re|s|t|ve))?",qn="(?:['’](?:D|LL|M|RE|S|T|VE))?",Zn="(?:"+zn+"|"+Tn+")?",Kn="["+On+"]?",Vn=Kn+Zn+"(?:"+Mn+"(?:"+[Un,Bn,Dn].join("|")+")"+Kn+Zn+")*",Gn="(?:"+[Cn,Bn,Dn].join("|")+")"+Vn,Hn="(?:"+[Un+zn+"?",zn,Bn,Dn,In].join("|")+")",Jn=RegExp("['’]","g"),Yn=RegExp(zn,"g"),Qn=RegExp(Tn+"(?="+Tn+")|"+Hn+Vn,"g"),Xn=RegExp([$n+"?"+Ln+"+"+Pn+"(?="+[Rn,$n,"$"].join("|")+")",Nn+"+"+qn+"(?="+[Rn,$n+Fn,"$"].join("|")+")",$n+"?"+Fn+"+"+Pn,$n+"+"+qn,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Sn,Gn].join("|"),"g"),nt=RegExp("["+Mn+mn+xn+On+"]"),tt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,rt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],et=-1,ut={};ut[C]=ut[L]=ut[W]=ut[T]=ut[U]=ut[B]=ut[D]=ut[$]=ut[M]=!0,ut[v]=ut[_]=ut[z]=ut[g]=ut[S]=ut[y]=ut[d]=ut[w]=ut[m]=ut[x]=ut[j]=ut[k]=ut[O]=ut[E]=ut[R]=!1;var it={};it[v]=it[_]=it[z]=it[S]=it[g]=it[y]=it[C]=it[L]=it[W]=it[T]=it[U]=it[m]=it[x]=it[j]=it[k]=it[O]=it[E]=it[I]=it[B]=it[D]=it[$]=it[M]=!0,it[d]=it[w]=it[R]=!1;var ot={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ft=parseFloat,at=parseInt,ct="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,lt="object"==typeof self&&self&&self.Object===Object&&self,st=ct||lt||Function("return this")(),ht=t&&!t.nodeType&&t,pt=ht&&n&&!n.nodeType&&n,vt=pt&&pt.exports===ht,_t=vt&&ct.process,gt=function(){try{return pt&&pt.require&&pt.require("util").types||_t&&_t.binding&&_t.binding("util")}catch(n){}}(),yt=gt&&gt.isArrayBuffer,dt=gt&&gt.isDate,wt=gt&&gt.isMap,bt=gt&&gt.isRegExp,mt=gt&&gt.isSet,xt=gt&&gt.isTypedArray;function jt(n,t,r){switch(r.length){case 0:return n.call(t);case 1:return n.call(t,r[0]);case 2:return n.call(t,r[0],r[1]);case 3:return n.call(t,r[0],r[1],r[2])}return n.apply(t,r)}function At(n,t,r,e){for(var u=-1,i=null==n?0:n.length;++u<i;){var o=n[u];t(e,o,r(o),n)}return e}function kt(n,t){for(var r=-1,e=null==n?0:n.length;++r<e&&!1!==t(n[r],r,n););return n}function Ot(n,t){for(var r=null==n?0:n.length;r--&&!1!==t(n[r],r,n););return n}function Et(n,t){for(var r=-1,e=null==n?0:n.length;++r<e;)if(!t(n[r],r,n))return!1;return!0}function It(n,t){for(var r=-1,e=null==n?0:n.length,u=0,i=[];++r<e;){var o=n[r];t(o,r,n)&&(i[u++]=o)}return i}function Rt(n,t){return!(null==n||!n.length)&&$t(n,t,0)>-1}function zt(n,t,r){for(var e=-1,u=null==n?0:n.length;++e<u;)if(r(t,n[e]))return!0;return!1}function St(n,t){for(var r=-1,e=null==n?0:n.length,u=Array(e);++r<e;)u[r]=t(n[r],r,n);return u}function Ct(n,t){for(var r=-1,e=t.length,u=n.length;++r<e;)n[u+r]=t[r];return n}function Lt(n,t,r,e){var u=-1,i=null==n?0:n.length;for(e&&i&&(r=n[++u]);++u<i;)r=t(r,n[u],u,n);return r}function Wt(n,t,r,e){var u=null==n?0:n.length;for(e&&u&&(r=n[--u]);u--;)r=t(r,n[u],u,n);return r}function Tt(n,t){for(var r=-1,e=null==n?0:n.length;++r<e;)if(t(n[r],r,n))return!0;return!1}var Ut=Pt("length");function Bt(n,t,r){var e;return r(n,function(n,r,u){if(t(n,r,u))return e=r,!1}),e}function Dt(n,t,r,e){for(var u=n.length,i=r+(e?1:-1);e?i--:++i<u;)if(t(n[i],i,n))return i;return-1}function $t(n,t,r){return t==t?function(n,t,r){for(var e=r-1,u=n.length;++e<u;)if(n[e]===t)return e;return-1}(n,t,r):Dt(n,Ft,r)}function Mt(n,t,r,e){for(var u=r-1,i=n.length;++u<i;)if(e(n[u],t))return u;return-1}function Ft(n){return n!=n}function Nt(n,t){var r=null==n?0:n.length;return r?Kt(n,t)/r:s}function Pt(n){return function(t){return null==t?e:t[n]}}function qt(n){return function(t){return null==n?e:n[t]}}function Zt(n,t,r,e,u){return u(n,function(n,u,i){r=e?(e=!1,n):t(r,n,u,i)}),r}function Kt(n,t){for(var r,u=-1,i=n.length;++u<i;){var o=t(n[u]);o!==e&&(r=r===e?o:r+o)}return r}function Vt(n,t){for(var r=-1,e=Array(n);++r<n;)e[r]=t(r);return e}function Gt(n){return n?n.slice(0,sr(n)+1).replace(rn,""):n}function Ht(n){return function(t){return n(t)}}function Jt(n,t){return St(t,function(t){return n[t]})}function Yt(n,t){return n.has(t)}function Qt(n,t){for(var r=-1,e=n.length;++r<e&&$t(t,n[r],0)>-1;);return r}function Xt(n,t){for(var r=n.length;r--&&$t(t,n[r],0)>-1;);return r}var nr=qt({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",Ĳ:"IJ",ĳ:"ij",Œ:"Oe",œ:"oe",ŉ:"'n",ſ:"s"}),tr=qt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function rr(n){return"\\"+ot[n]}function er(n){return nt.test(n)}function ur(n){var t=-1,r=Array(n.size);return n.forEach(function(n,e){r[++t]=[e,n]}),r}function ir(n,t){return function(r){return n(t(r))}}function or(n,t){for(var r=-1,e=n.length,u=0,i=[];++r<e;){var f=n[r];f!==t&&f!==o||(n[r]=o,i[u++]=r)}return i}function fr(n){var t=-1,r=Array(n.size);return n.forEach(function(n){r[++t]=n}),r}function ar(n){var t=-1,r=Array(n.size);return n.forEach(function(n){r[++t]=[n,n]}),r}function cr(n){return er(n)?function(n){for(var t=Qn.lastIndex=0;Qn.test(n);)++t;return t}(n):Ut(n)}function lr(n){return er(n)?function(n){return n.match(Qn)||[]}(n):function(n){return n.split("")}(n)}function sr(n){for(var t=n.length;t--&&en.test(n.charAt(t)););return t}var hr=qt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),pr=function n(t){var r,en=(t=null==t?st:pr.defaults(st.Object(),t,pr.pick(st,rt))).Array,mn=t.Date,xn=t.Error,jn=t.Function,An=t.Math,kn=t.Object,On=t.RegExp,En=t.String,In=t.TypeError,Rn=en.prototype,zn=jn.prototype,Sn=kn.prototype,Cn=t["__core-js_shared__"],Ln=zn.toString,Wn=Sn.hasOwnProperty,Tn=0,Un=(r=/[^.]+$/.exec(Cn&&Cn.keys&&Cn.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",Bn=Sn.toString,Dn=Ln.call(kn),$n=st._,Mn=On("^"+Ln.call(Wn).replace(nn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Fn=vt?t.Buffer:e,Nn=t.Symbol,Pn=t.Uint8Array,qn=Fn?Fn.allocUnsafe:e,Zn=ir(kn.getPrototypeOf,kn),Kn=kn.create,Vn=Sn.propertyIsEnumerable,Gn=Rn.splice,Hn=Nn?Nn.isConcatSpreadable:e,Qn=Nn?Nn.iterator:e,nt=Nn?Nn.toStringTag:e,ot=function(){try{var n=ai(kn,"defineProperty");return n({},"",{}),n}catch(n){}}(),ct=t.clearTimeout!==st.clearTimeout&&t.clearTimeout,lt=mn&&mn.now!==st.Date.now&&mn.now,ht=t.setTimeout!==st.setTimeout&&t.setTimeout,pt=An.ceil,_t=An.floor,gt=kn.getOwnPropertySymbols,Ut=Fn?Fn.isBuffer:e,qt=t.isFinite,vr=Rn.join,_r=ir(kn.keys,kn),gr=An.max,yr=An.min,dr=mn.now,wr=t.parseInt,br=An.random,mr=Rn.reverse,xr=ai(t,"DataView"),jr=ai(t,"Map"),Ar=ai(t,"Promise"),kr=ai(t,"Set"),Or=ai(t,"WeakMap"),Er=ai(kn,"create"),Ir=Or&&new Or,Rr={},zr=Ui(xr),Sr=Ui(jr),Cr=Ui(Ar),Lr=Ui(kr),Wr=Ui(Or),Tr=Nn?Nn.prototype:e,Ur=Tr?Tr.valueOf:e,Br=Tr?Tr.toString:e;function Dr(n){if(nf(n)&&!Po(n)&&!(n instanceof Nr)){if(n instanceof Fr)return n;if(Wn.call(n,"__wrapped__"))return Bi(n)}return new Fr(n)}var $r=function(){function n(){}return function(t){if(!Xo(t))return{};if(Kn)return Kn(t);n.prototype=t;var r=new n;return n.prototype=e,r}}();function Mr(){}function Fr(n,t){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=e}function Nr(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=h,this.__views__=[]}function Pr(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1])}}function qr(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1])}}function Zr(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1])}}function Kr(n){var t=-1,r=null==n?0:n.length;for(this.__data__=new Zr;++t<r;)this.add(n[t])}function Vr(n){var t=this.__data__=new qr(n);this.size=t.size}function Gr(n,t){var r=Po(n),e=!r&&No(n),u=!r&&!e&&Vo(n),i=!r&&!e&&!u&&cf(n),o=r||e||u||i,f=o?Vt(n.length,En):[],a=f.length;for(var c in n)!t&&!Wn.call(n,c)||o&&("length"==c||u&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||_i(c,a))||f.push(c);return f}function Hr(n){var t=n.length;return t?n[Ze(0,t-1)]:e}function Jr(n,t){return Si(Ou(n),ie(t,0,n.length))}function Yr(n){return Si(Ou(n))}function Qr(n,t,r){(r!==e&&!$o(n[t],r)||r===e&&!(t in n))&&ee(n,t,r)}function Xr(n,t,r){var u=n[t];Wn.call(n,t)&&$o(u,r)&&(r!==e||t in n)||ee(n,t,r)}function ne(n,t){for(var r=n.length;r--;)if($o(n[r][0],t))return r;return-1}function te(n,t,r,e){return le(n,function(n,u,i){t(e,n,r(n),i)}),e}function re(n,t){return n&&Eu(t,Sf(t),n)}function ee(n,t,r){"__proto__"==t&&ot?ot(n,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):n[t]=r}function ue(n,t){for(var r=-1,u=t.length,i=en(u),o=null==n;++r<u;)i[r]=o?e:Of(n,t[r]);return i}function ie(n,t,r){return n==n&&(r!==e&&(n=n<=r?n:r),t!==e&&(n=n>=t?n:t)),n}function oe(n,t,r,u,i,o){var f,a=1&t,c=2&t,l=4&t;if(r&&(f=i?r(n,u,i,o):r(n)),f!==e)return f;if(!Xo(n))return n;var s=Po(n);if(s){if(f=function(n){var t=n.length,r=new n.constructor(t);return t&&"string"==typeof n[0]&&Wn.call(n,"index")&&(r.index=n.index,r.input=n.input),r}(n),!a)return Ou(n,f)}else{var h=si(n),p=h==w||h==b;if(Vo(n))return bu(n,a);if(h==j||h==v||p&&!i){if(f=c||p?{}:pi(n),!a)return c?function(n,t){return Eu(n,li(n),t)}(n,function(n,t){return n&&Eu(t,Cf(t),n)}(f,n)):function(n,t){return Eu(n,ci(n),t)}(n,re(f,n))}else{if(!it[h])return i?n:{};f=function(n,t,r){var e,u=n.constructor;switch(t){case z:return mu(n);case g:case y:return new u(+n);case S:return function(n,t){var r=t?mu(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.byteLength)}(n,r);case C:case L:case W:case T:case U:case B:case D:case $:case M:return xu(n,r);case m:return new u;case x:case E:return new u(n);case k:return function(n){var t=new n.constructor(n.source,hn.exec(n));return t.lastIndex=n.lastIndex,t}(n);case O:return new u;case I:return e=n,Ur?kn(Ur.call(e)):{}}}(n,h,a)}}o||(o=new Vr);var _=o.get(n);if(_)return _;o.set(n,f),of(n)?n.forEach(function(e){f.add(oe(e,t,r,e,n,o))}):tf(n)&&n.forEach(function(e,u){f.set(u,oe(e,t,r,u,n,o))});var d=s?e:(l?c?ti:ni:c?Cf:Sf)(n);return kt(d||n,function(e,u){d&&(e=n[u=e]),Xr(f,u,oe(e,t,r,u,n,o))}),f}function fe(n,t,r){var u=r.length;if(null==n)return!u;for(n=kn(n);u--;){var i=r[u],o=t[i],f=n[i];if(f===e&&!(i in n)||!o(f))return!1}return!0}function ae(n,t,r){if("function"!=typeof n)throw new In(u);return Ei(function(){n.apply(e,r)},t)}function ce(n,t,r,e){var u=-1,i=Rt,o=!0,f=n.length,a=[],c=t.length;if(!f)return a;r&&(t=St(t,Ht(r))),e?(i=zt,o=!1):t.length>=200&&(i=Yt,o=!1,t=new Kr(t));n:for(;++u<f;){var l=n[u],s=null==r?l:r(l);if(l=e||0!==l?l:0,o&&s==s){for(var h=c;h--;)if(t[h]===s)continue n;a.push(l)}else i(t,s,e)||a.push(l)}return a}Dr.templateSettings={escape:G,evaluate:H,interpolate:J,variable:"",imports:{_:Dr}},Dr.prototype=Mr.prototype,Dr.prototype.constructor=Dr,Fr.prototype=$r(Mr.prototype),Fr.prototype.constructor=Fr,Nr.prototype=$r(Mr.prototype),Nr.prototype.constructor=Nr,Pr.prototype.clear=function(){this.__data__=Er?Er(null):{},this.size=0},Pr.prototype.delete=function(n){var t=this.has(n)&&delete this.__data__[n];return this.size-=t?1:0,t},Pr.prototype.get=function(n){var t=this.__data__;if(Er){var r=t[n];return r===i?e:r}return Wn.call(t,n)?t[n]:e},Pr.prototype.has=function(n){var t=this.__data__;return Er?t[n]!==e:Wn.call(t,n)},Pr.prototype.set=function(n,t){var r=this.__data__;return this.size+=this.has(n)?0:1,r[n]=Er&&t===e?i:t,this},qr.prototype.clear=function(){this.__data__=[],this.size=0},qr.prototype.delete=function(n){var t=this.__data__,r=ne(t,n);return!(r<0||(r==t.length-1?t.pop():Gn.call(t,r,1),--this.size,0))},qr.prototype.get=function(n){var t=this.__data__,r=ne(t,n);return r<0?e:t[r][1]},qr.prototype.has=function(n){return ne(this.__data__,n)>-1},qr.prototype.set=function(n,t){var r=this.__data__,e=ne(r,n);return e<0?(++this.size,r.push([n,t])):r[e][1]=t,this},Zr.prototype.clear=function(){this.size=0,this.__data__={hash:new Pr,map:new(jr||qr),string:new Pr}},Zr.prototype.delete=function(n){var t=oi(this,n).delete(n);return this.size-=t?1:0,t},Zr.prototype.get=function(n){return oi(this,n).get(n)},Zr.prototype.has=function(n){return oi(this,n).has(n)},Zr.prototype.set=function(n,t){var r=oi(this,n),e=r.size;return r.set(n,t),this.size+=r.size==e?0:1,this},Kr.prototype.add=Kr.prototype.push=function(n){return this.__data__.set(n,i),this},Kr.prototype.has=function(n){return this.__data__.has(n)},Vr.prototype.clear=function(){this.__data__=new qr,this.size=0},Vr.prototype.delete=function(n){var t=this.__data__,r=t.delete(n);return this.size=t.size,r},Vr.prototype.get=function(n){return this.__data__.get(n)},Vr.prototype.has=function(n){return this.__data__.has(n)},Vr.prototype.set=function(n,t){var r=this.__data__;if(r instanceof qr){var e=r.__data__;if(!jr||e.length<199)return e.push([n,t]),this.size=++r.size,this;r=this.__data__=new Zr(e)}return r.set(n,t),this.size=r.size,this};var le=zu(de),se=zu(we,!0);function he(n,t){var r=!0;return le(n,function(n,e,u){return r=!!t(n,e,u)}),r}function pe(n,t,r){for(var u=-1,i=n.length;++u<i;){var o=n[u],f=t(o);if(null!=f&&(a===e?f==f&&!af(f):r(f,a)))var a=f,c=o}return c}function ve(n,t){var r=[];return le(n,function(n,e,u){t(n,e,u)&&r.push(n)}),r}function _e(n,t,r,e,u){var i=-1,o=n.length;for(r||(r=vi),u||(u=[]);++i<o;){var f=n[i];t>0&&r(f)?t>1?_e(f,t-1,r,e,u):Ct(u,f):e||(u[u.length]=f)}return u}var ge=Su(),ye=Su(!0);function de(n,t){return n&&ge(n,t,Sf)}function we(n,t){return n&&ye(n,t,Sf)}function be(n,t){return It(t,function(t){return Jo(n[t])})}function me(n,t){for(var r=0,u=(t=gu(t,n)).length;null!=n&&r<u;)n=n[Ti(t[r++])];return r&&r==u?n:e}function xe(n,t,r){var e=t(n);return Po(n)?e:Ct(e,r(n))}function je(n){return null==n?n===e?"[object Undefined]":"[object Null]":nt&&nt in kn(n)?function(n){var t=Wn.call(n,nt),r=n[nt];try{n[nt]=e;var u=!0}catch(n){}var i=Bn.call(n);return u&&(t?n[nt]=r:delete n[nt]),i}(n):function(n){return Bn.call(n)}(n)}function Ae(n,t){return n>t}function ke(n,t){return null!=n&&Wn.call(n,t)}function Oe(n,t){return null!=n&&t in kn(n)}function Ee(n,t,r){for(var u=r?zt:Rt,i=n[0].length,o=n.length,f=o,a=en(o),c=1/0,l=[];f--;){var s=n[f];f&&t&&(s=St(s,Ht(t))),c=yr(s.length,c),a[f]=!r&&(t||i>=120&&s.length>=120)?new Kr(f&&s):e}s=n[0];var h=-1,p=a[0];n:for(;++h<i&&l.length<c;){var v=s[h],_=t?t(v):v;if(v=r||0!==v?v:0,!(p?Yt(p,_):u(l,_,r))){for(f=o;--f;){var g=a[f];if(!(g?Yt(g,_):u(n[f],_,r)))continue n}p&&p.push(_),l.push(v)}}return l}function Ie(n,t,r){var u=null==(n=Ai(n,t=gu(t,n)))?n:n[Ti(Gi(t))];return null==u?e:jt(u,n,r)}function Re(n){return nf(n)&&je(n)==v}function ze(n,t,r,u,i){return n===t||(null==n||null==t||!nf(n)&&!nf(t)?n!=n&&t!=t:function(n,t,r,u,i,o){var f=Po(n),a=Po(t),c=f?_:si(n),l=a?_:si(t),s=(c=c==v?j:c)==j,h=(l=l==v?j:l)==j,p=c==l;if(p&&Vo(n)){if(!Vo(t))return!1;f=!0,s=!1}if(p&&!s)return o||(o=new Vr),f||cf(n)?Qu(n,t,r,u,i,o):function(n,t,r,e,u,i,o){switch(r){case S:if(n.byteLength!=t.byteLength||n.byteOffset!=t.byteOffset)return!1;n=n.buffer,t=t.buffer;case z:return!(n.byteLength!=t.byteLength||!i(new Pn(n),new Pn(t)));case g:case y:case x:return $o(+n,+t);case d:return n.name==t.name&&n.message==t.message;case k:case E:return n==t+"";case m:var f=ur;case O:var a=1&e;if(f||(f=fr),n.size!=t.size&&!a)return!1;var c=o.get(n);if(c)return c==t;e|=2,o.set(n,t);var l=Qu(f(n),f(t),e,u,i,o);return o.delete(n),l;case I:if(Ur)return Ur.call(n)==Ur.call(t)}return!1}(n,t,c,r,u,i,o);if(!(1&r)){var w=s&&Wn.call(n,"__wrapped__"),b=h&&Wn.call(t,"__wrapped__");if(w||b){var A=w?n.value():n,R=b?t.value():t;return o||(o=new Vr),i(A,R,r,u,o)}}return!!p&&(o||(o=new Vr),function(n,t,r,u,i,o){var f=1&r,a=ni(n),c=a.length;if(c!=ni(t).length&&!f)return!1;for(var l=c;l--;){var s=a[l];if(!(f?s in t:Wn.call(t,s)))return!1}var h=o.get(n),p=o.get(t);if(h&&p)return h==t&&p==n;var v=!0;o.set(n,t),o.set(t,n);for(var _=f;++l<c;){var g=n[s=a[l]],y=t[s];if(u)var d=f?u(y,g,s,t,n,o):u(g,y,s,n,t,o);if(!(d===e?g===y||i(g,y,r,u,o):d)){v=!1;break}_||(_="constructor"==s)}if(v&&!_){var w=n.constructor,b=t.constructor;w==b||!("constructor"in n)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof b&&b instanceof b||(v=!1)}return o.delete(n),o.delete(t),v}(n,t,r,u,i,o))}(n,t,r,u,ze,i))}function Se(n,t,r,u){var i=r.length,o=i,f=!u;if(null==n)return!o;for(n=kn(n);i--;){var a=r[i];if(f&&a[2]?a[1]!==n[a[0]]:!(a[0]in n))return!1}for(;++i<o;){var c=(a=r[i])[0],l=n[c],s=a[1];if(f&&a[2]){if(l===e&&!(c in n))return!1}else{var h=new Vr;if(u)var p=u(l,s,c,n,t,h);if(!(p===e?ze(s,l,3,u,h):p))return!1}}return!0}function Ce(n){return!(!Xo(n)||(t=n,Un&&Un in t))&&(Jo(n)?Mn:_n).test(Ui(n));var t}function Le(n){return"function"==typeof n?n:null==n?ea:"object"==typeof n?Po(n)?De(n[0],n[1]):Be(n):ha(n)}function We(n){if(!bi(n))return _r(n);var t=[];for(var r in kn(n))Wn.call(n,r)&&"constructor"!=r&&t.push(r);return t}function Te(n,t){return n<t}function Ue(n,t){var r=-1,e=Zo(n)?en(n.length):[];return le(n,function(n,u,i){e[++r]=t(n,u,i)}),e}function Be(n){var t=fi(n);return 1==t.length&&t[0][2]?xi(t[0][0],t[0][1]):function(r){return r===n||Se(r,n,t)}}function De(n,t){return yi(n)&&mi(t)?xi(Ti(n),t):function(r){var u=Of(r,n);return u===e&&u===t?Ef(r,n):ze(t,u,3)}}function $e(n,t,r,u,i){n!==t&&ge(t,function(o,f){if(i||(i=new Vr),Xo(o))!function(n,t,r,u,i,o,f){var a=ki(n,r),c=ki(t,r),l=f.get(c);if(l)Qr(n,r,l);else{var s=o?o(a,c,r+"",n,t,f):e,h=s===e;if(h){var p=Po(c),v=!p&&Vo(c),_=!p&&!v&&cf(c);s=c,p||v||_?Po(a)?s=a:Ko(a)?s=Ou(a):v?(h=!1,s=bu(c,!0)):_?(h=!1,s=xu(c,!0)):s=[]:ef(c)||No(c)?(s=a,No(a)?s=yf(a):Xo(a)&&!Jo(a)||(s=pi(c))):h=!1}h&&(f.set(c,s),i(s,c,u,o,f),f.delete(c)),Qr(n,r,s)}}(n,t,f,r,$e,u,i);else{var a=u?u(ki(n,f),o,f+"",n,t,i):e;a===e&&(a=o),Qr(n,f,a)}},Cf)}function Me(n,t){var r=n.length;if(r)return _i(t+=t<0?r:0,r)?n[t]:e}function Fe(n,t,r){t=t.length?St(t,function(n){return Po(n)?function(t){return me(t,1===n.length?n[0]:n)}:n}):[ea];var e=-1;t=St(t,Ht(ii()));var u=Ue(n,function(n,r,u){var i=St(t,function(t){return t(n)});return{criteria:i,index:++e,value:n}});return function(n){var t=n.length;for(n.sort(function(n,t){return function(n,t,r){for(var e=-1,u=n.criteria,i=t.criteria,o=u.length,f=r.length;++e<o;){var a=ju(u[e],i[e]);if(a)return e>=f?a:a*("desc"==r[e]?-1:1)}return n.index-t.index}(n,t,r)});t--;)n[t]=n[t].value;return n}(u)}function Ne(n,t,r){for(var e=-1,u=t.length,i={};++e<u;){var o=t[e],f=me(n,o);r(f,o)&&Je(i,gu(o,n),f)}return i}function Pe(n,t,r,e){var u=e?Mt:$t,i=-1,o=t.length,f=n;for(n===t&&(t=Ou(t)),r&&(f=St(n,Ht(r)));++i<o;)for(var a=0,c=t[i],l=r?r(c):c;(a=u(f,l,a,e))>-1;)f!==n&&Gn.call(f,a,1),Gn.call(n,a,1);return n}function qe(n,t){for(var r=n?t.length:0,e=r-1;r--;){var u=t[r];if(r==e||u!==i){var i=u;_i(u)?Gn.call(n,u,1):au(n,u)}}return n}function Ze(n,t){return n+_t(br()*(t-n+1))}function Ke(n,t){var r="";if(!n||t<1||t>l)return r;do{t%2&&(r+=n),(t=_t(t/2))&&(n+=n)}while(t);return r}function Ve(n,t){return Ii(ji(n,t,ea),n+"")}function Ge(n){return Hr(Mf(n))}function He(n,t){var r=Mf(n);return Si(r,ie(t,0,r.length))}function Je(n,t,r,u){if(!Xo(n))return n;for(var i=-1,o=(t=gu(t,n)).length,f=o-1,a=n;null!=a&&++i<o;){var c=Ti(t[i]),l=r;if("__proto__"===c||"constructor"===c||"prototype"===c)return n;if(i!=f){var s=a[c];(l=u?u(s,c,a):e)===e&&(l=Xo(s)?s:_i(t[i+1])?[]:{})}Xr(a,c,l),a=a[c]}return n}var Ye=Ir?function(n,t){return Ir.set(n,t),n}:ea,Qe=ot?function(n,t){return ot(n,"toString",{configurable:!0,enumerable:!1,value:na(t),writable:!0})}:ea;function Xe(n){return Si(Mf(n))}function nu(n,t,r){var e=-1,u=n.length;t<0&&(t=-t>u?0:u+t),(r=r>u?u:r)<0&&(r+=u),u=t>r?0:r-t>>>0,t>>>=0;for(var i=en(u);++e<u;)i[e]=n[e+t];return i}function tu(n,t){var r;return le(n,function(n,e,u){return!(r=t(n,e,u))}),!!r}function ru(n,t,r){var e=0,u=null==n?e:n.length;if("number"==typeof t&&t==t&&u<=2147483647){for(;e<u;){var i=e+u>>>1,o=n[i];null!==o&&!af(o)&&(r?o<=t:o<t)?e=i+1:u=i}return u}return eu(n,t,ea,r)}function eu(n,t,r,u){var i=0,o=null==n?0:n.length;if(0===o)return 0;for(var f=(t=r(t))!=t,a=null===t,c=af(t),l=t===e;i<o;){var s=_t((i+o)/2),h=r(n[s]),p=h!==e,v=null===h,_=h==h,g=af(h);if(f)var y=u||_;else y=l?_&&(u||p):a?_&&p&&(u||!v):c?_&&p&&!v&&(u||!g):!v&&!g&&(u?h<=t:h<t);y?i=s+1:o=s}return yr(o,4294967294)}function uu(n,t){for(var r=-1,e=n.length,u=0,i=[];++r<e;){var o=n[r],f=t?t(o):o;if(!r||!$o(f,a)){var a=f;i[u++]=0===o?0:o}}return i}function iu(n){return"number"==typeof n?n:af(n)?s:+n}function ou(n){if("string"==typeof n)return n;if(Po(n))return St(n,ou)+"";if(af(n))return Br?Br.call(n):"";var t=n+"";return"0"==t&&1/n==-1/0?"-0":t}function fu(n,t,r){var e=-1,u=Rt,i=n.length,o=!0,f=[],a=f;if(r)o=!1,u=zt;else if(i>=200){var c=t?null:Ku(n);if(c)return fr(c);o=!1,u=Yt,a=new Kr}else a=t?[]:f;n:for(;++e<i;){var l=n[e],s=t?t(l):l;if(l=r||0!==l?l:0,o&&s==s){for(var h=a.length;h--;)if(a[h]===s)continue n;t&&a.push(s),f.push(l)}else u(a,s,r)||(a!==f&&a.push(s),f.push(l))}return f}function au(n,t){return null==(n=Ai(n,t=gu(t,n)))||delete n[Ti(Gi(t))]}function cu(n,t,r,e){return Je(n,t,r(me(n,t)),e)}function lu(n,t,r,e){for(var u=n.length,i=e?u:-1;(e?i--:++i<u)&&t(n[i],i,n););return r?nu(n,e?0:i,e?i+1:u):nu(n,e?i+1:0,e?u:i)}function su(n,t){var r=n;return r instanceof Nr&&(r=r.value()),Lt(t,function(n,t){return t.func.apply(t.thisArg,Ct([n],t.args))},r)}function hu(n,t,r){var e=n.length;if(e<2)return e?fu(n[0]):[];for(var u=-1,i=en(e);++u<e;)for(var o=n[u],f=-1;++f<e;)f!=u&&(i[u]=ce(i[u]||o,n[f],t,r));return fu(_e(i,1),t,r)}function pu(n,t,r){for(var u=-1,i=n.length,o=t.length,f={};++u<i;){var a=u<o?t[u]:e;r(f,n[u],a)}return f}function vu(n){return Ko(n)?n:[]}function _u(n){return"function"==typeof n?n:ea}function gu(n,t){return Po(n)?n:yi(n,t)?[n]:Wi(df(n))}var yu=Ve;function du(n,t,r){var u=n.length;return r=r===e?u:r,!t&&r>=u?n:nu(n,t,r)}var wu=ct||function(n){return st.clearTimeout(n)};function bu(n,t){if(t)return n.slice();var r=n.length,e=qn?qn(r):new n.constructor(r);return n.copy(e),e}function mu(n){var t=new n.constructor(n.byteLength);return new Pn(t).set(new Pn(n)),t}function xu(n,t){var r=t?mu(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.length)}function ju(n,t){if(n!==t){var r=n!==e,u=null===n,i=n==n,o=af(n),f=t!==e,a=null===t,c=t==t,l=af(t);if(!a&&!l&&!o&&n>t||o&&f&&c&&!a&&!l||u&&f&&c||!r&&c||!i)return 1;if(!u&&!o&&!l&&n<t||l&&r&&i&&!u&&!o||a&&r&&i||!f&&i||!c)return-1}return 0}function Au(n,t,r,e){for(var u=-1,i=n.length,o=r.length,f=-1,a=t.length,c=gr(i-o,0),l=en(a+c),s=!e;++f<a;)l[f]=t[f];for(;++u<o;)(s||u<i)&&(l[r[u]]=n[u]);for(;c--;)l[f++]=n[u++];return l}function ku(n,t,r,e){for(var u=-1,i=n.length,o=-1,f=r.length,a=-1,c=t.length,l=gr(i-f,0),s=en(l+c),h=!e;++u<l;)s[u]=n[u];for(var p=u;++a<c;)s[p+a]=t[a];for(;++o<f;)(h||u<i)&&(s[p+r[o]]=n[u++]);return s}function Ou(n,t){var r=-1,e=n.length;for(t||(t=en(e));++r<e;)t[r]=n[r];return t}function Eu(n,t,r,u){var i=!r;r||(r={});for(var o=-1,f=t.length;++o<f;){var a=t[o],c=u?u(r[a],n[a],a,r,n):e;c===e&&(c=n[a]),i?ee(r,a,c):Xr(r,a,c)}return r}function Iu(n,t){return function(r,e){var u=Po(r)?At:te,i=t?t():{};return u(r,n,ii(e,2),i)}}function Ru(n){return Ve(function(t,r){var u=-1,i=r.length,o=i>1?r[i-1]:e,f=i>2?r[2]:e;for(o=n.length>3&&"function"==typeof o?(i--,o):e,f&&gi(r[0],r[1],f)&&(o=i<3?e:o,i=1),t=kn(t);++u<i;){var a=r[u];a&&n(t,a,u,o)}return t})}function zu(n,t){return function(r,e){if(null==r)return r;if(!Zo(r))return n(r,e);for(var u=r.length,i=t?u:-1,o=kn(r);(t?i--:++i<u)&&!1!==e(o[i],i,o););return r}}function Su(n){return function(t,r,e){for(var u=-1,i=kn(t),o=e(t),f=o.length;f--;){var a=o[n?f:++u];if(!1===r(i[a],a,i))break}return t}}function Cu(n){return function(t){var r=er(t=df(t))?lr(t):e,u=r?r[0]:t.charAt(0),i=r?du(r,1).join(""):t.slice(1);return u[n]()+i}}function Lu(n){return function(t){return Lt(Yf(Pf(t).replace(Jn,"")),n,"")}}function Wu(n){return function(){var t=arguments;switch(t.length){case 0:return new n;case 1:return new n(t[0]);case 2:return new n(t[0],t[1]);case 3:return new n(t[0],t[1],t[2]);case 4:return new n(t[0],t[1],t[2],t[3]);case 5:return new n(t[0],t[1],t[2],t[3],t[4]);case 6:return new n(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new n(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=$r(n.prototype),e=n.apply(r,t);return Xo(e)?e:r}}function Tu(n){return function(t,r,u){var i=kn(t);if(!Zo(t)){var o=ii(r,3);t=Sf(t),r=function(n){return o(i[n],n,i)}}var f=n(t,r,u);return f>-1?i[o?t[f]:f]:e}}function Uu(n){return Xu(function(t){var r=t.length,i=r,o=Fr.prototype.thru;for(n&&t.reverse();i--;){var f=t[i];if("function"!=typeof f)throw new In(u);if(o&&!a&&"wrapper"==ei(f))var a=new Fr([],!0)}for(i=a?i:r;++i<r;){var c=ei(f=t[i]),l="wrapper"==c?ri(f):e;a=l&&di(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?a[ei(l[0])].apply(a,l[3]):1==f.length&&di(f)?a[c]():a.thru(f)}return function(){var n=arguments,e=n[0];if(a&&1==n.length&&Po(e))return a.plant(e).value();for(var u=0,i=r?t[u].apply(this,n):e;++u<r;)i=t[u].call(this,i);return i}})}function Bu(n,t,r,u,i,o,f,c,l,s){var h=t&a,p=1&t,v=2&t,_=24&t,g=512&t,y=v?e:Wu(n);return function a(){for(var d=arguments.length,w=en(d),b=d;b--;)w[b]=arguments[b];if(_)var m=ui(a),x=function(n,t){for(var r=n.length,e=0;r--;)n[r]===t&&++e;return e}(w,m);if(u&&(w=Au(w,u,i,_)),o&&(w=ku(w,o,f,_)),d-=x,_&&d<s){var j=or(w,m);return qu(n,t,Bu,a.placeholder,r,w,j,c,l,s-d)}var A=p?r:this,k=v?A[n]:n;return d=w.length,c?w=function(n,t){for(var r=n.length,u=yr(t.length,r),i=Ou(n);u--;){var o=t[u];n[u]=_i(o,r)?i[o]:e}return n}(w,c):g&&d>1&&w.reverse(),h&&l<d&&(w.length=l),this&&this!==st&&this instanceof a&&(k=y||Wu(k)),k.apply(A,w)}}function Du(n,t){return function(r,e){return function(n,t,r,e){return de(n,function(n,u,i){t(e,r(n),u,i)}),e}(r,n,t(e),{})}}function $u(n,t){return function(r,u){var i;if(r===e&&u===e)return t;if(r!==e&&(i=r),u!==e){if(i===e)return u;"string"==typeof r||"string"==typeof u?(r=ou(r),u=ou(u)):(r=iu(r),u=iu(u)),i=n(r,u)}return i}}function Mu(n){return Xu(function(t){return t=St(t,Ht(ii())),Ve(function(r){var e=this;return n(t,function(n){return jt(n,e,r)})})})}function Fu(n,t){var r=(t=t===e?" ":ou(t)).length;if(r<2)return r?Ke(t,n):t;var u=Ke(t,pt(n/cr(t)));return er(t)?du(lr(u),0,n).join(""):u.slice(0,n)}function Nu(n){return function(t,r,u){return u&&"number"!=typeof u&&gi(t,r,u)&&(r=u=e),t=pf(t),r===e?(r=t,t=0):r=pf(r),function(n,t,r,e){for(var u=-1,i=gr(pt((t-n)/(r||1)),0),o=en(i);i--;)o[e?i:++u]=n,n+=r;return o}(t,r,u=u===e?t<r?1:-1:pf(u),n)}}function Pu(n){return function(t,r){return"string"==typeof t&&"string"==typeof r||(t=gf(t),r=gf(r)),n(t,r)}}function qu(n,t,r,u,i,o,a,c,l,s){var h=8&t;t|=h?f:64,4&(t&=~(h?64:f))||(t&=-4);var p=[n,t,i,h?o:e,h?a:e,h?e:o,h?e:a,c,l,s],v=r.apply(e,p);return di(n)&&Oi(v,p),v.placeholder=u,Ri(v,n,t)}function Zu(n){var t=An[n];return function(n,r){if(n=gf(n),(r=null==r?0:yr(vf(r),292))&&qt(n)){var e=(df(n)+"e").split("e");return+((e=(df(t(e[0]+"e"+(+e[1]+r)))+"e").split("e"))[0]+"e"+(+e[1]-r))}return t(n)}}var Ku=kr&&1/fr(new kr([,-0]))[1]==c?function(n){return new kr(n)}:aa;function Vu(n){return function(t){var r=si(t);return r==m?ur(t):r==O?ar(t):function(n,t){return St(t,function(t){return[t,n[t]]})}(t,n(t))}}function Gu(n,t,r,i,c,l,s,h){var p=2&t;if(!p&&"function"!=typeof n)throw new In(u);var v=i?i.length:0;if(v||(t&=-97,i=c=e),s=s===e?s:gr(vf(s),0),h=h===e?h:vf(h),v-=c?c.length:0,64&t){var _=i,g=c;i=c=e}var y=p?e:ri(n),d=[n,t,r,i,c,_,g,l,s,h];if(y&&function(n,t){var r=n[1],e=t[1],u=r|e,i=u<131,f=e==a&&8==r||e==a&&256==r&&n[7].length<=t[8]||384==e&&t[7].length<=t[8]&&8==r;if(!i&&!f)return n;1&e&&(n[2]=t[2],u|=1&r?0:4);var c=t[3];if(c){var l=n[3];n[3]=l?Au(l,c,t[4]):c,n[4]=l?or(n[3],o):t[4]}(c=t[5])&&(l=n[5],n[5]=l?ku(l,c,t[6]):c,n[6]=l?or(n[5],o):t[6]),(c=t[7])&&(n[7]=c),e&a&&(n[8]=null==n[8]?t[8]:yr(n[8],t[8])),null==n[9]&&(n[9]=t[9]),n[0]=t[0],n[1]=u}(d,y),n=d[0],t=d[1],r=d[2],i=d[3],c=d[4],!(h=d[9]=d[9]===e?p?0:n.length:gr(d[9]-v,0))&&24&t&&(t&=-25),t&&1!=t)w=8==t||16==t?function(n,t,r){var u=Wu(n);return function i(){for(var o=arguments.length,f=en(o),a=o,c=ui(i);a--;)f[a]=arguments[a];var l=o<3&&f[0]!==c&&f[o-1]!==c?[]:or(f,c);return(o-=l.length)<r?qu(n,t,Bu,i.placeholder,e,f,l,e,e,r-o):jt(this&&this!==st&&this instanceof i?u:n,this,f)}}(n,t,h):t!=f&&33!=t||c.length?Bu.apply(e,d):function(n,t,r,e){var u=1&t,i=Wu(n);return function t(){for(var o=-1,f=arguments.length,a=-1,c=e.length,l=en(c+f),s=this&&this!==st&&this instanceof t?i:n;++a<c;)l[a]=e[a];for(;f--;)l[a++]=arguments[++o];return jt(s,u?r:this,l)}}(n,t,r,i);else var w=function(n,t,r){var e=1&t,u=Wu(n);return function t(){return(this&&this!==st&&this instanceof t?u:n).apply(e?r:this,arguments)}}(n,t,r);return Ri((y?Ye:Oi)(w,d),n,t)}function Hu(n,t,r,u){return n===e||$o(n,Sn[r])&&!Wn.call(u,r)?t:n}function Ju(n,t,r,u,i,o){return Xo(n)&&Xo(t)&&(o.set(t,n),$e(n,t,e,Ju,o),o.delete(t)),n}function Yu(n){return ef(n)?e:n}function Qu(n,t,r,u,i,o){var f=1&r,a=n.length,c=t.length;if(a!=c&&!(f&&c>a))return!1;var l=o.get(n),s=o.get(t);if(l&&s)return l==t&&s==n;var h=-1,p=!0,v=2&r?new Kr:e;for(o.set(n,t),o.set(t,n);++h<a;){var _=n[h],g=t[h];if(u)var y=f?u(g,_,h,t,n,o):u(_,g,h,n,t,o);if(y!==e){if(y)continue;p=!1;break}if(v){if(!Tt(t,function(n,t){if(!Yt(v,t)&&(_===n||i(_,n,r,u,o)))return v.push(t)})){p=!1;break}}else if(_!==g&&!i(_,g,r,u,o)){p=!1;break}}return o.delete(n),o.delete(t),p}function Xu(n){return Ii(ji(n,e,Pi),n+"")}function ni(n){return xe(n,Sf,ci)}function ti(n){return xe(n,Cf,li)}var ri=Ir?function(n){return Ir.get(n)}:aa;function ei(n){for(var t=n.name+"",r=Rr[t],e=Wn.call(Rr,t)?r.length:0;e--;){var u=r[e],i=u.func;if(null==i||i==n)return u.name}return t}function ui(n){return(Wn.call(Dr,"placeholder")?Dr:n).placeholder}function ii(){var n=Dr.iteratee||ua;return n=n===ua?Le:n,arguments.length?n(arguments[0],arguments[1]):n}function oi(n,t){var r,e,u=n.__data__;return("string"==(e=typeof(r=t))||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==r:null===r)?u["string"==typeof t?"string":"hash"]:u.map}function fi(n){for(var t=Sf(n),r=t.length;r--;){var e=t[r],u=n[e];t[r]=[e,u,mi(u)]}return t}function ai(n,t){var r=function(n,t){return null==n?e:n[t]}(n,t);return Ce(r)?r:e}var ci=gt?function(n){return null==n?[]:(n=kn(n),It(gt(n),function(t){return Vn.call(n,t)}))}:_a,li=gt?function(n){for(var t=[];n;)Ct(t,ci(n)),n=Zn(n);return t}:_a,si=je;function hi(n,t,r){for(var e=-1,u=(t=gu(t,n)).length,i=!1;++e<u;){var o=Ti(t[e]);if(!(i=null!=n&&r(n,o)))break;n=n[o]}return i||++e!=u?i:!!(u=null==n?0:n.length)&&Qo(u)&&_i(o,u)&&(Po(n)||No(n))}function pi(n){return"function"!=typeof n.constructor||bi(n)?{}:$r(Zn(n))}function vi(n){return Po(n)||No(n)||!!(Hn&&n&&n[Hn])}function _i(n,t){var r=typeof n;return!!(t=null==t?l:t)&&("number"==r||"symbol"!=r&&yn.test(n))&&n>-1&&n%1==0&&n<t}function gi(n,t,r){if(!Xo(r))return!1;var e=typeof t;return!!("number"==e?Zo(r)&&_i(t,r.length):"string"==e&&t in r)&&$o(r[t],n)}function yi(n,t){if(Po(n))return!1;var r=typeof n;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=n&&!af(n))||Q.test(n)||!Y.test(n)||null!=t&&n in kn(t)}function di(n){var t=ei(n),r=Dr[t];if("function"!=typeof r||!(t in Nr.prototype))return!1;if(n===r)return!0;var e=ri(r);return!!e&&n===e[0]}(xr&&si(new xr(new ArrayBuffer(1)))!=S||jr&&si(new jr)!=m||Ar&&si(Ar.resolve())!=A||kr&&si(new kr)!=O||Or&&si(new Or)!=R)&&(si=function(n){var t=je(n),r=t==j?n.constructor:e,u=r?Ui(r):"";if(u)switch(u){case zr:return S;case Sr:return m;case Cr:return A;case Lr:return O;case Wr:return R}return t});var wi=Cn?Jo:ga;function bi(n){var t=n&&n.constructor;return n===("function"==typeof t&&t.prototype||Sn)}function mi(n){return n==n&&!Xo(n)}function xi(n,t){return function(r){return null!=r&&r[n]===t&&(t!==e||n in kn(r))}}function ji(n,t,r){return t=gr(t===e?n.length-1:t,0),function(){for(var e=arguments,u=-1,i=gr(e.length-t,0),o=en(i);++u<i;)o[u]=e[t+u];u=-1;for(var f=en(t+1);++u<t;)f[u]=e[u];return f[t]=r(o),jt(n,this,f)}}function Ai(n,t){return t.length<2?n:me(n,nu(t,0,-1))}function ki(n,t){if(("constructor"!==t||"function"!=typeof n[t])&&"__proto__"!=t)return n[t]}var Oi=zi(Ye),Ei=ht||function(n,t){return st.setTimeout(n,t)},Ii=zi(Qe);function Ri(n,t,r){var e=t+"";return Ii(n,function(n,t){var r=t.length;if(!r)return n;var e=r-1;return t[e]=(r>1?"& ":"")+t[e],t=t.join(r>2?", ":" "),n.replace(un,"{\n/* [wrapped with "+t+"] */\n")}(e,function(n,t){return kt(p,function(r){var e="_."+r[0];t&r[1]&&!Rt(n,e)&&n.push(e)}),n.sort()}(function(n){var t=n.match(on);return t?t[1].split(fn):[]}(e),r)))}function zi(n){var t=0,r=0;return function(){var u=dr(),i=16-(u-r);if(r=u,i>0){if(++t>=800)return arguments[0]}else t=0;return n.apply(e,arguments)}}function Si(n,t){var r=-1,u=n.length,i=u-1;for(t=t===e?u:t;++r<t;){var o=Ze(r,i),f=n[o];n[o]=n[r],n[r]=f}return n.length=t,n}var Ci,Li,Wi=(Ci=Lo(function(n){var t=[];return 46===n.charCodeAt(0)&&t.push(""),n.replace(X,function(n,r,e,u){t.push(e?u.replace(ln,"$1"):r||n)}),t},function(n){return 500===Li.size&&Li.clear(),n}),Li=Ci.cache,Ci);function Ti(n){if("string"==typeof n||af(n))return n;var t=n+"";return"0"==t&&1/n==-1/0?"-0":t}function Ui(n){if(null!=n){try{return Ln.call(n)}catch(n){}try{return n+""}catch(n){}}return""}function Bi(n){if(n instanceof Nr)return n.clone();var t=new Fr(n.__wrapped__,n.__chain__);return t.__actions__=Ou(n.__actions__),t.__index__=n.__index__,t.__values__=n.__values__,t}var Di=Ve(function(n,t){return Ko(n)?ce(n,_e(t,1,Ko,!0)):[]}),$i=Ve(function(n,t){var r=Gi(t);return Ko(r)&&(r=e),Ko(n)?ce(n,_e(t,1,Ko,!0),ii(r,2)):[]}),Mi=Ve(function(n,t){var r=Gi(t);return Ko(r)&&(r=e),Ko(n)?ce(n,_e(t,1,Ko,!0),e,r):[]});function Fi(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=null==r?0:vf(r);return u<0&&(u=gr(e+u,0)),Dt(n,ii(t,3),u)}function Ni(n,t,r){var u=null==n?0:n.length;if(!u)return-1;var i=u-1;return r!==e&&(i=vf(r),i=r<0?gr(u+i,0):yr(i,u-1)),Dt(n,ii(t,3),i,!0)}function Pi(n){return null!=n&&n.length?_e(n,1):[]}function qi(n){return n&&n.length?n[0]:e}var Zi=Ve(function(n){var t=St(n,vu);return t.length&&t[0]===n[0]?Ee(t):[]}),Ki=Ve(function(n){var t=Gi(n),r=St(n,vu);return t===Gi(r)?t=e:r.pop(),r.length&&r[0]===n[0]?Ee(r,ii(t,2)):[]}),Vi=Ve(function(n){var t=Gi(n),r=St(n,vu);return(t="function"==typeof t?t:e)&&r.pop(),r.length&&r[0]===n[0]?Ee(r,e,t):[]});function Gi(n){var t=null==n?0:n.length;return t?n[t-1]:e}var Hi=Ve(Ji);function Ji(n,t){return n&&n.length&&t&&t.length?Pe(n,t):n}var Yi=Xu(function(n,t){var r=null==n?0:n.length,e=ue(n,t);return qe(n,St(t,function(n){return _i(n,r)?+n:n}).sort(ju)),e});function Qi(n){return null==n?n:mr.call(n)}var Xi=Ve(function(n){return fu(_e(n,1,Ko,!0))}),no=Ve(function(n){var t=Gi(n);return Ko(t)&&(t=e),fu(_e(n,1,Ko,!0),ii(t,2))}),to=Ve(function(n){var t=Gi(n);return t="function"==typeof t?t:e,fu(_e(n,1,Ko,!0),e,t)});function ro(n){if(!n||!n.length)return[];var t=0;return n=It(n,function(n){if(Ko(n))return t=gr(n.length,t),!0}),Vt(t,function(t){return St(n,Pt(t))})}function eo(n,t){if(!n||!n.length)return[];var r=ro(n);return null==t?r:St(r,function(n){return jt(t,e,n)})}var uo=Ve(function(n,t){return Ko(n)?ce(n,t):[]}),io=Ve(function(n){return hu(It(n,Ko))}),oo=Ve(function(n){var t=Gi(n);return Ko(t)&&(t=e),hu(It(n,Ko),ii(t,2))}),fo=Ve(function(n){var t=Gi(n);return t="function"==typeof t?t:e,hu(It(n,Ko),e,t)}),ao=Ve(ro),co=Ve(function(n){var t=n.length,r=t>1?n[t-1]:e;return r="function"==typeof r?(n.pop(),r):e,eo(n,r)});function lo(n){var t=Dr(n);return t.__chain__=!0,t}function so(n,t){return t(n)}var ho=Xu(function(n){var t=n.length,r=t?n[0]:0,u=this.__wrapped__,i=function(t){return ue(t,n)};return!(t>1||this.__actions__.length)&&u instanceof Nr&&_i(r)?((u=u.slice(r,+r+(t?1:0))).__actions__.push({func:so,args:[i],thisArg:e}),new Fr(u,this.__chain__).thru(function(n){return t&&!n.length&&n.push(e),n})):this.thru(i)}),po=Iu(function(n,t,r){Wn.call(n,r)?++n[r]:ee(n,r,1)}),vo=Tu(Fi),_o=Tu(Ni);function go(n,t){return(Po(n)?kt:le)(n,ii(t,3))}function yo(n,t){return(Po(n)?Ot:se)(n,ii(t,3))}var wo=Iu(function(n,t,r){Wn.call(n,r)?n[r].push(t):ee(n,r,[t])}),bo=Ve(function(n,t,r){var e=-1,u="function"==typeof t,i=Zo(n)?en(n.length):[];return le(n,function(n){i[++e]=u?jt(t,n,r):Ie(n,t,r)}),i}),mo=Iu(function(n,t,r){ee(n,r,t)});function xo(n,t){return(Po(n)?St:Ue)(n,ii(t,3))}var jo=Iu(function(n,t,r){n[r?0:1].push(t)},function(){return[[],[]]}),Ao=Ve(function(n,t){if(null==n)return[];var r=t.length;return r>1&&gi(n,t[0],t[1])?t=[]:r>2&&gi(t[0],t[1],t[2])&&(t=[t[0]]),Fe(n,_e(t,1),[])}),ko=lt||function(){return st.Date.now()};function Oo(n,t,r){return t=r?e:t,t=n&&null==t?n.length:t,Gu(n,a,e,e,e,e,t)}function Eo(n,t){var r;if("function"!=typeof t)throw new In(u);return n=vf(n),function(){return--n>0&&(r=t.apply(this,arguments)),n<=1&&(t=e),r}}var Io=Ve(function(n,t,r){var e=1;if(r.length){var u=or(r,ui(Io));e|=f}return Gu(n,e,t,r,u)}),Ro=Ve(function(n,t,r){var e=3;if(r.length){var u=or(r,ui(Ro));e|=f}return Gu(t,e,n,r,u)});function zo(n,t,r){var i,o,f,a,c,l,s=0,h=!1,p=!1,v=!0;if("function"!=typeof n)throw new In(u);function _(t){var r=i,u=o;return i=o=e,s=t,a=n.apply(u,r)}function g(n){var r=n-l;return l===e||r>=t||r<0||p&&n-s>=f}function y(){var n=ko();if(g(n))return d(n);c=Ei(y,function(n){var r=t-(n-l);return p?yr(r,f-(n-s)):r}(n))}function d(n){return c=e,v&&i?_(n):(i=o=e,a)}function w(){var n=ko(),r=g(n);if(i=arguments,o=this,l=n,r){if(c===e)return function(n){return s=n,c=Ei(y,t),h?_(n):a}(l);if(p)return wu(c),c=Ei(y,t),_(l)}return c===e&&(c=Ei(y,t)),a}return t=gf(t)||0,Xo(r)&&(h=!!r.leading,f=(p="maxWait"in r)?gr(gf(r.maxWait)||0,t):f,v="trailing"in r?!!r.trailing:v),w.cancel=function(){c!==e&&wu(c),s=0,i=l=o=c=e},w.flush=function(){return c===e?a:d(ko())},w}var So=Ve(function(n,t){return ae(n,1,t)}),Co=Ve(function(n,t,r){return ae(n,gf(t)||0,r)});function Lo(n,t){if("function"!=typeof n||null!=t&&"function"!=typeof t)throw new In(u);var r=function(){var e=arguments,u=t?t.apply(this,e):e[0],i=r.cache;if(i.has(u))return i.get(u);var o=n.apply(this,e);return r.cache=i.set(u,o)||i,o};return r.cache=new(Lo.Cache||Zr),r}function Wo(n){if("function"!=typeof n)throw new In(u);return function(){var t=arguments;switch(t.length){case 0:return!n.call(this);case 1:return!n.call(this,t[0]);case 2:return!n.call(this,t[0],t[1]);case 3:return!n.call(this,t[0],t[1],t[2])}return!n.apply(this,t)}}Lo.Cache=Zr;var To=yu(function(n,t){var r=(t=1==t.length&&Po(t[0])?St(t[0],Ht(ii())):St(_e(t,1),Ht(ii()))).length;return Ve(function(e){for(var u=-1,i=yr(e.length,r);++u<i;)e[u]=t[u].call(this,e[u]);return jt(n,this,e)})}),Uo=Ve(function(n,t){var r=or(t,ui(Uo));return Gu(n,f,e,t,r)}),Bo=Ve(function(n,t){var r=or(t,ui(Bo));return Gu(n,64,e,t,r)}),Do=Xu(function(n,t){return Gu(n,256,e,e,e,t)});function $o(n,t){return n===t||n!=n&&t!=t}var Mo=Pu(Ae),Fo=Pu(function(n,t){return n>=t}),No=Re(function(){return arguments}())?Re:function(n){return nf(n)&&Wn.call(n,"callee")&&!Vn.call(n,"callee")},Po=en.isArray,qo=yt?Ht(yt):function(n){return nf(n)&&je(n)==z};function Zo(n){return null!=n&&Qo(n.length)&&!Jo(n)}function Ko(n){return nf(n)&&Zo(n)}var Vo=Ut||ga,Go=dt?Ht(dt):function(n){return nf(n)&&je(n)==y};function Ho(n){if(!nf(n))return!1;var t=je(n);return t==d||"[object DOMException]"==t||"string"==typeof n.message&&"string"==typeof n.name&&!ef(n)}function Jo(n){if(!Xo(n))return!1;var t=je(n);return t==w||t==b||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Yo(n){return"number"==typeof n&&n==vf(n)}function Qo(n){return"number"==typeof n&&n>-1&&n%1==0&&n<=l}function Xo(n){var t=typeof n;return null!=n&&("object"==t||"function"==t)}function nf(n){return null!=n&&"object"==typeof n}var tf=wt?Ht(wt):function(n){return nf(n)&&si(n)==m};function rf(n){return"number"==typeof n||nf(n)&&je(n)==x}function ef(n){if(!nf(n)||je(n)!=j)return!1;var t=Zn(n);if(null===t)return!0;var r=Wn.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Ln.call(r)==Dn}var uf=bt?Ht(bt):function(n){return nf(n)&&je(n)==k},of=mt?Ht(mt):function(n){return nf(n)&&si(n)==O};function ff(n){return"string"==typeof n||!Po(n)&&nf(n)&&je(n)==E}function af(n){return"symbol"==typeof n||nf(n)&&je(n)==I}var cf=xt?Ht(xt):function(n){return nf(n)&&Qo(n.length)&&!!ut[je(n)]},lf=Pu(Te),sf=Pu(function(n,t){return n<=t});function hf(n){if(!n)return[];if(Zo(n))return ff(n)?lr(n):Ou(n);if(Qn&&n[Qn])return function(n){for(var t,r=[];!(t=n.next()).done;)r.push(t.value);return r}(n[Qn]());var t=si(n);return(t==m?ur:t==O?fr:Mf)(n)}function pf(n){return n?(n=gf(n))===c||n===-1/0?17976931348623157e292*(n<0?-1:1):n==n?n:0:0===n?n:0}function vf(n){var t=pf(n),r=t%1;return t==t?r?t-r:t:0}function _f(n){return n?ie(vf(n),0,h):0}function gf(n){if("number"==typeof n)return n;if(af(n))return s;if(Xo(n)){var t="function"==typeof n.valueOf?n.valueOf():n;n=Xo(t)?t+"":t}if("string"!=typeof n)return 0===n?n:+n;n=Gt(n);var r=vn.test(n);return r||gn.test(n)?at(n.slice(2),r?2:8):pn.test(n)?s:+n}function yf(n){return Eu(n,Cf(n))}function df(n){return null==n?"":ou(n)}var wf=Ru(function(n,t){if(bi(t)||Zo(t))Eu(t,Sf(t),n);else for(var r in t)Wn.call(t,r)&&Xr(n,r,t[r])}),bf=Ru(function(n,t){Eu(t,Cf(t),n)}),mf=Ru(function(n,t,r,e){Eu(t,Cf(t),n,e)}),xf=Ru(function(n,t,r,e){Eu(t,Sf(t),n,e)}),jf=Xu(ue),Af=Ve(function(n,t){n=kn(n);var r=-1,u=t.length,i=u>2?t[2]:e;for(i&&gi(t[0],t[1],i)&&(u=1);++r<u;)for(var o=t[r],f=Cf(o),a=-1,c=f.length;++a<c;){var l=f[a],s=n[l];(s===e||$o(s,Sn[l])&&!Wn.call(n,l))&&(n[l]=o[l])}return n}),kf=Ve(function(n){return n.push(e,Ju),jt(Wf,e,n)});function Of(n,t,r){var u=null==n?e:me(n,t);return u===e?r:u}function Ef(n,t){return null!=n&&hi(n,t,Oe)}var If=Du(function(n,t,r){null!=t&&"function"!=typeof t.toString&&(t=Bn.call(t)),n[t]=r},na(ea)),Rf=Du(function(n,t,r){null!=t&&"function"!=typeof t.toString&&(t=Bn.call(t)),Wn.call(n,t)?n[t].push(r):n[t]=[r]},ii),zf=Ve(Ie);function Sf(n){return Zo(n)?Gr(n):We(n)}function Cf(n){return Zo(n)?Gr(n,!0):function(n){if(!Xo(n))return function(n){var t=[];if(null!=n)for(var r in kn(n))t.push(r);return t}(n);var t=bi(n),r=[];for(var e in n)("constructor"!=e||!t&&Wn.call(n,e))&&r.push(e);return r}(n)}var Lf=Ru(function(n,t,r){$e(n,t,r)}),Wf=Ru(function(n,t,r,e){$e(n,t,r,e)}),Tf=Xu(function(n,t){var r={};if(null==n)return r;var e=!1;t=St(t,function(t){return t=gu(t,n),e||(e=t.length>1),t}),Eu(n,ti(n),r),e&&(r=oe(r,7,Yu));for(var u=t.length;u--;)au(r,t[u]);return r}),Uf=Xu(function(n,t){return null==n?{}:function(n,t){return Ne(n,t,function(t,r){return Ef(n,r)})}(n,t)});function Bf(n,t){if(null==n)return{};var r=St(ti(n),function(n){return[n]});return t=ii(t),Ne(n,r,function(n,r){return t(n,r[0])})}var Df=Vu(Sf),$f=Vu(Cf);function Mf(n){return null==n?[]:Jt(n,Sf(n))}var Ff=Lu(function(n,t,r){return t=t.toLowerCase(),n+(r?Nf(t):t)});function Nf(n){return Jf(df(n).toLowerCase())}function Pf(n){return(n=df(n))&&n.replace(dn,nr).replace(Yn,"")}var qf=Lu(function(n,t,r){return n+(r?"-":"")+t.toLowerCase()}),Zf=Lu(function(n,t,r){return n+(r?" ":"")+t.toLowerCase()}),Kf=Cu("toLowerCase"),Vf=Lu(function(n,t,r){return n+(r?"_":"")+t.toLowerCase()}),Gf=Lu(function(n,t,r){return n+(r?" ":"")+Jf(t)}),Hf=Lu(function(n,t,r){return n+(r?" ":"")+t.toUpperCase()}),Jf=Cu("toUpperCase");function Yf(n,t,r){return n=df(n),(t=r?e:t)===e?function(n){return tt.test(n)}(n)?function(n){return n.match(Xn)||[]}(n):function(n){return n.match(an)||[]}(n):n.match(t)||[]}var Qf=Ve(function(n,t){try{return jt(n,e,t)}catch(n){return Ho(n)?n:new xn(n)}}),Xf=Xu(function(n,t){return kt(t,function(t){t=Ti(t),ee(n,t,Io(n[t],n))}),n});function na(n){return function(){return n}}var ta=Uu(),ra=Uu(!0);function ea(n){return n}function ua(n){return Le("function"==typeof n?n:oe(n,1))}var ia=Ve(function(n,t){return function(r){return Ie(r,n,t)}}),oa=Ve(function(n,t){return function(r){return Ie(n,r,t)}});function fa(n,t,r){var e=Sf(t),u=be(t,e);null!=r||Xo(t)&&(u.length||!e.length)||(r=t,t=n,n=this,u=be(t,Sf(t)));var i=!(Xo(r)&&"chain"in r&&!r.chain),o=Jo(n);return kt(u,function(r){var e=t[r];n[r]=e,o&&(n.prototype[r]=function(){var t=this.__chain__;if(i||t){var r=n(this.__wrapped__);return(r.__actions__=Ou(this.__actions__)).push({func:e,args:arguments,thisArg:n}),r.__chain__=t,r}return e.apply(n,Ct([this.value()],arguments))})}),n}function aa(){}var ca=Mu(St),la=Mu(Et),sa=Mu(Tt);function ha(n){return yi(n)?Pt(Ti(n)):function(n){return function(t){return me(t,n)}}(n)}var pa=Nu(),va=Nu(!0);function _a(){return[]}function ga(){return!1}var ya,da=$u(function(n,t){return n+t},0),wa=Zu("ceil"),ba=$u(function(n,t){return n/t},1),ma=Zu("floor"),xa=$u(function(n,t){return n*t},1),ja=Zu("round"),Aa=$u(function(n,t){return n-t},0);return Dr.after=function(n,t){if("function"!=typeof t)throw new In(u);return n=vf(n),function(){if(--n<1)return t.apply(this,arguments)}},Dr.ary=Oo,Dr.assign=wf,Dr.assignIn=bf,Dr.assignInWith=mf,Dr.assignWith=xf,Dr.at=jf,Dr.before=Eo,Dr.bind=Io,Dr.bindAll=Xf,Dr.bindKey=Ro,Dr.castArray=function(){if(!arguments.length)return[];var n=arguments[0];return Po(n)?n:[n]},Dr.chain=lo,Dr.chunk=function(n,t,r){t=(r?gi(n,t,r):t===e)?1:gr(vf(t),0);var u=null==n?0:n.length;if(!u||t<1)return[];for(var i=0,o=0,f=en(pt(u/t));i<u;)f[o++]=nu(n,i,i+=t);return f},Dr.compact=function(n){for(var t=-1,r=null==n?0:n.length,e=0,u=[];++t<r;){var i=n[t];i&&(u[e++]=i)}return u},Dr.concat=function(){var n=arguments.length;if(!n)return[];for(var t=en(n-1),r=arguments[0],e=n;e--;)t[e-1]=arguments[e];return Ct(Po(r)?Ou(r):[r],_e(t,1))},Dr.cond=function(n){var t=null==n?0:n.length,r=ii();return n=t?St(n,function(n){if("function"!=typeof n[1])throw new In(u);return[r(n[0]),n[1]]}):[],Ve(function(r){for(var e=-1;++e<t;){var u=n[e];if(jt(u[0],this,r))return jt(u[1],this,r)}})},Dr.conforms=function(n){return function(n){var t=Sf(n);return function(r){return fe(r,n,t)}}(oe(n,1))},Dr.constant=na,Dr.countBy=po,Dr.create=function(n,t){var r=$r(n);return null==t?r:re(r,t)},Dr.curry=function n(t,r,u){var i=Gu(t,8,e,e,e,e,e,r=u?e:r);return i.placeholder=n.placeholder,i},Dr.curryRight=function n(t,r,u){var i=Gu(t,16,e,e,e,e,e,r=u?e:r);return i.placeholder=n.placeholder,i},Dr.debounce=zo,Dr.defaults=Af,Dr.defaultsDeep=kf,Dr.defer=So,Dr.delay=Co,Dr.difference=Di,Dr.differenceBy=$i,Dr.differenceWith=Mi,Dr.drop=function(n,t,r){var u=null==n?0:n.length;return u?nu(n,(t=r||t===e?1:vf(t))<0?0:t,u):[]},Dr.dropRight=function(n,t,r){var u=null==n?0:n.length;return u?nu(n,0,(t=u-(t=r||t===e?1:vf(t)))<0?0:t):[]},Dr.dropRightWhile=function(n,t){return n&&n.length?lu(n,ii(t,3),!0,!0):[]},Dr.dropWhile=function(n,t){return n&&n.length?lu(n,ii(t,3),!0):[]},Dr.fill=function(n,t,r,u){var i=null==n?0:n.length;return i?(r&&"number"!=typeof r&&gi(n,t,r)&&(r=0,u=i),function(n,t,r,u){var i=n.length;for((r=vf(r))<0&&(r=-r>i?0:i+r),(u=u===e||u>i?i:vf(u))<0&&(u+=i),u=r>u?0:_f(u);r<u;)n[r++]=t;return n}(n,t,r,u)):[]},Dr.filter=function(n,t){return(Po(n)?It:ve)(n,ii(t,3))},Dr.flatMap=function(n,t){return _e(xo(n,t),1)},Dr.flatMapDeep=function(n,t){return _e(xo(n,t),c)},Dr.flatMapDepth=function(n,t,r){return r=r===e?1:vf(r),_e(xo(n,t),r)},Dr.flatten=Pi,Dr.flattenDeep=function(n){return null!=n&&n.length?_e(n,c):[]},Dr.flattenDepth=function(n,t){return null!=n&&n.length?_e(n,t=t===e?1:vf(t)):[]},Dr.flip=function(n){return Gu(n,512)},Dr.flow=ta,Dr.flowRight=ra,Dr.fromPairs=function(n){for(var t=-1,r=null==n?0:n.length,e={};++t<r;){var u=n[t];e[u[0]]=u[1]}return e},Dr.functions=function(n){return null==n?[]:be(n,Sf(n))},Dr.functionsIn=function(n){return null==n?[]:be(n,Cf(n))},Dr.groupBy=wo,Dr.initial=function(n){return null!=n&&n.length?nu(n,0,-1):[]},Dr.intersection=Zi,Dr.intersectionBy=Ki,Dr.intersectionWith=Vi,Dr.invert=If,Dr.invertBy=Rf,Dr.invokeMap=bo,Dr.iteratee=ua,Dr.keyBy=mo,Dr.keys=Sf,Dr.keysIn=Cf,Dr.map=xo,Dr.mapKeys=function(n,t){var r={};return t=ii(t,3),de(n,function(n,e,u){ee(r,t(n,e,u),n)}),r},Dr.mapValues=function(n,t){var r={};return t=ii(t,3),de(n,function(n,e,u){ee(r,e,t(n,e,u))}),r},Dr.matches=function(n){return Be(oe(n,1))},Dr.matchesProperty=function(n,t){return De(n,oe(t,1))},Dr.memoize=Lo,Dr.merge=Lf,Dr.mergeWith=Wf,Dr.method=ia,Dr.methodOf=oa,Dr.mixin=fa,Dr.negate=Wo,Dr.nthArg=function(n){return n=vf(n),Ve(function(t){return Me(t,n)})},Dr.omit=Tf,Dr.omitBy=function(n,t){return Bf(n,Wo(ii(t)))},Dr.once=function(n){return Eo(2,n)},Dr.orderBy=function(n,t,r,u){return null==n?[]:(Po(t)||(t=null==t?[]:[t]),Po(r=u?e:r)||(r=null==r?[]:[r]),Fe(n,t,r))},Dr.over=ca,Dr.overArgs=To,Dr.overEvery=la,Dr.overSome=sa,Dr.partial=Uo,Dr.partialRight=Bo,Dr.partition=jo,Dr.pick=Uf,Dr.pickBy=Bf,Dr.property=ha,Dr.propertyOf=function(n){return function(t){return null==n?e:me(n,t)}},Dr.pull=Hi,Dr.pullAll=Ji,Dr.pullAllBy=function(n,t,r){return n&&n.length&&t&&t.length?Pe(n,t,ii(r,2)):n},Dr.pullAllWith=function(n,t,r){return n&&n.length&&t&&t.length?Pe(n,t,e,r):n},Dr.pullAt=Yi,Dr.range=pa,Dr.rangeRight=va,Dr.rearg=Do,Dr.reject=function(n,t){return(Po(n)?It:ve)(n,Wo(ii(t,3)))},Dr.remove=function(n,t){var r=[];if(!n||!n.length)return r;var e=-1,u=[],i=n.length;for(t=ii(t,3);++e<i;){var o=n[e];t(o,e,n)&&(r.push(o),u.push(e))}return qe(n,u),r},Dr.rest=function(n,t){if("function"!=typeof n)throw new In(u);return Ve(n,t=t===e?t:vf(t))},Dr.reverse=Qi,Dr.sampleSize=function(n,t,r){return t=(r?gi(n,t,r):t===e)?1:vf(t),(Po(n)?Jr:He)(n,t)},Dr.set=function(n,t,r){return null==n?n:Je(n,t,r)},Dr.setWith=function(n,t,r,u){return u="function"==typeof u?u:e,null==n?n:Je(n,t,r,u)},Dr.shuffle=function(n){return(Po(n)?Yr:Xe)(n)},Dr.slice=function(n,t,r){var u=null==n?0:n.length;return u?(r&&"number"!=typeof r&&gi(n,t,r)?(t=0,r=u):(t=null==t?0:vf(t),r=r===e?u:vf(r)),nu(n,t,r)):[]},Dr.sortBy=Ao,Dr.sortedUniq=function(n){return n&&n.length?uu(n):[]},Dr.sortedUniqBy=function(n,t){return n&&n.length?uu(n,ii(t,2)):[]},Dr.split=function(n,t,r){return r&&"number"!=typeof r&&gi(n,t,r)&&(t=r=e),(r=r===e?h:r>>>0)?(n=df(n))&&("string"==typeof t||null!=t&&!uf(t))&&!(t=ou(t))&&er(n)?du(lr(n),0,r):n.split(t,r):[]},Dr.spread=function(n,t){if("function"!=typeof n)throw new In(u);return t=null==t?0:gr(vf(t),0),Ve(function(r){var e=r[t],u=du(r,0,t);return e&&Ct(u,e),jt(n,this,u)})},Dr.tail=function(n){var t=null==n?0:n.length;return t?nu(n,1,t):[]},Dr.take=function(n,t,r){return n&&n.length?nu(n,0,(t=r||t===e?1:vf(t))<0?0:t):[]},Dr.takeRight=function(n,t,r){var u=null==n?0:n.length;return u?nu(n,(t=u-(t=r||t===e?1:vf(t)))<0?0:t,u):[]},Dr.takeRightWhile=function(n,t){return n&&n.length?lu(n,ii(t,3),!1,!0):[]},Dr.takeWhile=function(n,t){return n&&n.length?lu(n,ii(t,3)):[]},Dr.tap=function(n,t){return t(n),n},Dr.throttle=function(n,t,r){var e=!0,i=!0;if("function"!=typeof n)throw new In(u);return Xo(r)&&(e="leading"in r?!!r.leading:e,i="trailing"in r?!!r.trailing:i),zo(n,t,{leading:e,maxWait:t,trailing:i})},Dr.thru=so,Dr.toArray=hf,Dr.toPairs=Df,Dr.toPairsIn=$f,Dr.toPath=function(n){return Po(n)?St(n,Ti):af(n)?[n]:Ou(Wi(df(n)))},Dr.toPlainObject=yf,Dr.transform=function(n,t,r){var e=Po(n),u=e||Vo(n)||cf(n);if(t=ii(t,4),null==r){var i=n&&n.constructor;r=u?e?new i:[]:Xo(n)&&Jo(i)?$r(Zn(n)):{}}return(u?kt:de)(n,function(n,e,u){return t(r,n,e,u)}),r},Dr.unary=function(n){return Oo(n,1)},Dr.union=Xi,Dr.unionBy=no,Dr.unionWith=to,Dr.uniq=function(n){return n&&n.length?fu(n):[]},Dr.uniqBy=function(n,t){return n&&n.length?fu(n,ii(t,2)):[]},Dr.uniqWith=function(n,t){return t="function"==typeof t?t:e,n&&n.length?fu(n,e,t):[]},Dr.unset=function(n,t){return null==n||au(n,t)},Dr.unzip=ro,Dr.unzipWith=eo,Dr.update=function(n,t,r){return null==n?n:cu(n,t,_u(r))},Dr.updateWith=function(n,t,r,u){return u="function"==typeof u?u:e,null==n?n:cu(n,t,_u(r),u)},Dr.values=Mf,Dr.valuesIn=function(n){return null==n?[]:Jt(n,Cf(n))},Dr.without=uo,Dr.words=Yf,Dr.wrap=function(n,t){return Uo(_u(t),n)},Dr.xor=io,Dr.xorBy=oo,Dr.xorWith=fo,Dr.zip=ao,Dr.zipObject=function(n,t){return pu(n||[],t||[],Xr)},Dr.zipObjectDeep=function(n,t){return pu(n||[],t||[],Je)},Dr.zipWith=co,Dr.entries=Df,Dr.entriesIn=$f,Dr.extend=bf,Dr.extendWith=mf,fa(Dr,Dr),Dr.add=da,Dr.attempt=Qf,Dr.camelCase=Ff,Dr.capitalize=Nf,Dr.ceil=wa,Dr.clamp=function(n,t,r){return r===e&&(r=t,t=e),r!==e&&(r=(r=gf(r))==r?r:0),t!==e&&(t=(t=gf(t))==t?t:0),ie(gf(n),t,r)},Dr.clone=function(n){return oe(n,4)},Dr.cloneDeep=function(n){return oe(n,5)},Dr.cloneDeepWith=function(n,t){return oe(n,5,t="function"==typeof t?t:e)},Dr.cloneWith=function(n,t){return oe(n,4,t="function"==typeof t?t:e)},Dr.conformsTo=function(n,t){return null==t||fe(n,t,Sf(t))},Dr.deburr=Pf,Dr.defaultTo=function(n,t){return null==n||n!=n?t:n},Dr.divide=ba,Dr.endsWith=function(n,t,r){n=df(n),t=ou(t);var u=n.length,i=r=r===e?u:ie(vf(r),0,u);return(r-=t.length)>=0&&n.slice(r,i)==t},Dr.eq=$o,Dr.escape=function(n){return(n=df(n))&&V.test(n)?n.replace(Z,tr):n},Dr.escapeRegExp=function(n){return(n=df(n))&&tn.test(n)?n.replace(nn,"\\$&"):n},Dr.every=function(n,t,r){var u=Po(n)?Et:he;return r&&gi(n,t,r)&&(t=e),u(n,ii(t,3))},Dr.find=vo,Dr.findIndex=Fi,Dr.findKey=function(n,t){return Bt(n,ii(t,3),de)},Dr.findLast=_o,Dr.findLastIndex=Ni,Dr.findLastKey=function(n,t){return Bt(n,ii(t,3),we)},Dr.floor=ma,Dr.forEach=go,Dr.forEachRight=yo,Dr.forIn=function(n,t){return null==n?n:ge(n,ii(t,3),Cf)},Dr.forInRight=function(n,t){return null==n?n:ye(n,ii(t,3),Cf)},Dr.forOwn=function(n,t){return n&&de(n,ii(t,3))},Dr.forOwnRight=function(n,t){return n&&we(n,ii(t,3))},Dr.get=Of,Dr.gt=Mo,Dr.gte=Fo,Dr.has=function(n,t){return null!=n&&hi(n,t,ke)},Dr.hasIn=Ef,Dr.head=qi,Dr.identity=ea,Dr.includes=function(n,t,r,e){n=Zo(n)?n:Mf(n),r=r&&!e?vf(r):0;var u=n.length;return r<0&&(r=gr(u+r,0)),ff(n)?r<=u&&n.indexOf(t,r)>-1:!!u&&$t(n,t,r)>-1},Dr.indexOf=function(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=null==r?0:vf(r);return u<0&&(u=gr(e+u,0)),$t(n,t,u)},Dr.inRange=function(n,t,r){return t=pf(t),r===e?(r=t,t=0):r=pf(r),function(n,t,r){return n>=yr(t,r)&&n<gr(t,r)}(n=gf(n),t,r)},Dr.invoke=zf,Dr.isArguments=No,Dr.isArray=Po,Dr.isArrayBuffer=qo,Dr.isArrayLike=Zo,Dr.isArrayLikeObject=Ko,Dr.isBoolean=function(n){return!0===n||!1===n||nf(n)&&je(n)==g},Dr.isBuffer=Vo,Dr.isDate=Go,Dr.isElement=function(n){return nf(n)&&1===n.nodeType&&!ef(n)},Dr.isEmpty=function(n){if(null==n)return!0;if(Zo(n)&&(Po(n)||"string"==typeof n||"function"==typeof n.splice||Vo(n)||cf(n)||No(n)))return!n.length;var t=si(n);if(t==m||t==O)return!n.size;if(bi(n))return!We(n).length;for(var r in n)if(Wn.call(n,r))return!1;return!0},Dr.isEqual=function(n,t){return ze(n,t)},Dr.isEqualWith=function(n,t,r){var u=(r="function"==typeof r?r:e)?r(n,t):e;return u===e?ze(n,t,e,r):!!u},Dr.isError=Ho,Dr.isFinite=function(n){return"number"==typeof n&&qt(n)},Dr.isFunction=Jo,Dr.isInteger=Yo,Dr.isLength=Qo,Dr.isMap=tf,Dr.isMatch=function(n,t){return n===t||Se(n,t,fi(t))},Dr.isMatchWith=function(n,t,r){return r="function"==typeof r?r:e,Se(n,t,fi(t),r)},Dr.isNaN=function(n){return rf(n)&&n!=+n},Dr.isNative=function(n){if(wi(n))throw new xn("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Ce(n)},Dr.isNil=function(n){return null==n},Dr.isNull=function(n){return null===n},Dr.isNumber=rf,Dr.isObject=Xo,Dr.isObjectLike=nf,Dr.isPlainObject=ef,Dr.isRegExp=uf,Dr.isSafeInteger=function(n){return Yo(n)&&n>=-9007199254740991&&n<=l},Dr.isSet=of,Dr.isString=ff,Dr.isSymbol=af,Dr.isTypedArray=cf,Dr.isUndefined=function(n){return n===e},Dr.isWeakMap=function(n){return nf(n)&&si(n)==R},Dr.isWeakSet=function(n){return nf(n)&&"[object WeakSet]"==je(n)},Dr.join=function(n,t){return null==n?"":vr.call(n,t)},Dr.kebabCase=qf,Dr.last=Gi,Dr.lastIndexOf=function(n,t,r){var u=null==n?0:n.length;if(!u)return-1;var i=u;return r!==e&&(i=(i=vf(r))<0?gr(u+i,0):yr(i,u-1)),t==t?function(n,t,r){for(var e=r+1;e--;)if(n[e]===t)return e;return e}(n,t,i):Dt(n,Ft,i,!0)},Dr.lowerCase=Zf,Dr.lowerFirst=Kf,Dr.lt=lf,Dr.lte=sf,Dr.max=function(n){return n&&n.length?pe(n,ea,Ae):e},Dr.maxBy=function(n,t){return n&&n.length?pe(n,ii(t,2),Ae):e},Dr.mean=function(n){return Nt(n,ea)},Dr.meanBy=function(n,t){return Nt(n,ii(t,2))},Dr.min=function(n){return n&&n.length?pe(n,ea,Te):e},Dr.minBy=function(n,t){return n&&n.length?pe(n,ii(t,2),Te):e},Dr.stubArray=_a,Dr.stubFalse=ga,Dr.stubObject=function(){return{}},Dr.stubString=function(){return""},Dr.stubTrue=function(){return!0},Dr.multiply=xa,Dr.nth=function(n,t){return n&&n.length?Me(n,vf(t)):e},Dr.noConflict=function(){return st._===this&&(st._=$n),this},Dr.noop=aa,Dr.now=ko,Dr.pad=function(n,t,r){n=df(n);var e=(t=vf(t))?cr(n):0;if(!t||e>=t)return n;var u=(t-e)/2;return Fu(_t(u),r)+n+Fu(pt(u),r)},Dr.padEnd=function(n,t,r){n=df(n);var e=(t=vf(t))?cr(n):0;return t&&e<t?n+Fu(t-e,r):n},Dr.padStart=function(n,t,r){n=df(n);var e=(t=vf(t))?cr(n):0;return t&&e<t?Fu(t-e,r)+n:n},Dr.parseInt=function(n,t,r){return r||null==t?t=0:t&&(t=+t),wr(df(n).replace(rn,""),t||0)},Dr.random=function(n,t,r){if(r&&"boolean"!=typeof r&&gi(n,t,r)&&(t=r=e),r===e&&("boolean"==typeof t?(r=t,t=e):"boolean"==typeof n&&(r=n,n=e)),n===e&&t===e?(n=0,t=1):(n=pf(n),t===e?(t=n,n=0):t=pf(t)),n>t){var u=n;n=t,t=u}if(r||n%1||t%1){var i=br();return yr(n+i*(t-n+ft("1e-"+((i+"").length-1))),t)}return Ze(n,t)},Dr.reduce=function(n,t,r){var e=Po(n)?Lt:Zt,u=arguments.length<3;return e(n,ii(t,4),r,u,le)},Dr.reduceRight=function(n,t,r){var e=Po(n)?Wt:Zt,u=arguments.length<3;return e(n,ii(t,4),r,u,se)},Dr.repeat=function(n,t,r){return t=(r?gi(n,t,r):t===e)?1:vf(t),Ke(df(n),t)},Dr.replace=function(){var n=arguments,t=df(n[0]);return n.length<3?t:t.replace(n[1],n[2])},Dr.result=function(n,t,r){var u=-1,i=(t=gu(t,n)).length;for(i||(i=1,n=e);++u<i;){var o=null==n?e:n[Ti(t[u])];o===e&&(u=i,o=r),n=Jo(o)?o.call(n):o}return n},Dr.round=ja,Dr.runInContext=n,Dr.sample=function(n){return(Po(n)?Hr:Ge)(n)},Dr.size=function(n){if(null==n)return 0;if(Zo(n))return ff(n)?cr(n):n.length;var t=si(n);return t==m||t==O?n.size:We(n).length},Dr.snakeCase=Vf,Dr.some=function(n,t,r){var u=Po(n)?Tt:tu;return r&&gi(n,t,r)&&(t=e),u(n,ii(t,3))},Dr.sortedIndex=function(n,t){return ru(n,t)},Dr.sortedIndexBy=function(n,t,r){return eu(n,t,ii(r,2))},Dr.sortedIndexOf=function(n,t){var r=null==n?0:n.length;if(r){var e=ru(n,t);if(e<r&&$o(n[e],t))return e}return-1},Dr.sortedLastIndex=function(n,t){return ru(n,t,!0)},Dr.sortedLastIndexBy=function(n,t,r){return eu(n,t,ii(r,2),!0)},Dr.sortedLastIndexOf=function(n,t){if(null!=n&&n.length){var r=ru(n,t,!0)-1;if($o(n[r],t))return r}return-1},Dr.startCase=Gf,Dr.startsWith=function(n,t,r){return n=df(n),r=null==r?0:ie(vf(r),0,n.length),t=ou(t),n.slice(r,r+t.length)==t},Dr.subtract=Aa,Dr.sum=function(n){return n&&n.length?Kt(n,ea):0},Dr.sumBy=function(n,t){return n&&n.length?Kt(n,ii(t,2)):0},Dr.template=function(n,t,r){var u=Dr.templateSettings;r&&gi(n,t,r)&&(t=e),n=df(n),t=mf({},t,u,Hu);var i,o,f=mf({},t.imports,u.imports,Hu),a=Sf(f),c=Jt(f,a),l=0,s=t.interpolate||wn,h="__p +='",p=On((t.escape||wn).source+"|"+s.source+"|"+(s===J?sn:wn).source+"|"+(t.evaluate||wn).source+"|$","g"),v="//# sourceURL="+(Wn.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++et+"]")+"\n";n.replace(p,function(t,r,e,u,f,a){return e||(e=u),h+=n.slice(l,a).replace(bn,rr),r&&(i=!0,h+="' +\n__e("+r+") +\n'"),f&&(o=!0,h+="';\n"+f+";\n__p +='"),e&&(h+="' +\n((__t=("+e+"))==null ? '':__t) +\n'"),l=a+t.length,t}),h+="';\n";var _=Wn.call(t,"variable")&&t.variable;if(_){if(cn.test(_))throw new xn("Invalid `variable` option passed into `_.template`")}else h="with (obj){\n"+h+"\n}\n";h=(o?h.replace(F,""):h).replace(N,"$1").replace(P,"$1;"),h="function("+(_||"obj")+"){\n"+(_?"":"obj||(obj={});\n")+"var __t, __p=''"+(i?", __e=_.escape":"")+(o?", __j=Array.prototype.join;\nfunction print(){ __p +=__j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var g=Qf(function(){return jn(a,v+"return "+h).apply(e,c)});if(g.source=h,Ho(g))throw g;return g},Dr.times=function(n,t){if((n=vf(n))<1||n>l)return[];var r=h,e=yr(n,h);t=ii(t),n-=h;for(var u=Vt(e,t);++r<n;)t(r);return u},Dr.toFinite=pf,Dr.toInteger=vf,Dr.toLength=_f,Dr.toLower=function(n){return df(n).toLowerCase()},Dr.toNumber=gf,Dr.toSafeInteger=function(n){return n?ie(vf(n),-9007199254740991,l):0===n?n:0},Dr.toString=df,Dr.toUpper=function(n){return df(n).toUpperCase()},Dr.trim=function(n,t,r){if((n=df(n))&&(r||t===e))return Gt(n);if(!n||!(t=ou(t)))return n;var u=lr(n),i=lr(t);return du(u,Qt(u,i),Xt(u,i)+1).join("")},Dr.trimEnd=function(n,t,r){if((n=df(n))&&(r||t===e))return n.slice(0,sr(n)+1);if(!n||!(t=ou(t)))return n;var u=lr(n);return du(u,0,Xt(u,lr(t))+1).join("")},Dr.trimStart=function(n,t,r){if((n=df(n))&&(r||t===e))return n.replace(rn,"");if(!n||!(t=ou(t)))return n;var u=lr(n);return du(u,Qt(u,lr(t))).join("")},Dr.truncate=function(n,t){var r=30,u="...";if(Xo(t)){var i="separator"in t?t.separator:i;r="length"in t?vf(t.length):r,u="omission"in t?ou(t.omission):u}var o=(n=df(n)).length;if(er(n)){var f=lr(n);o=f.length}if(r>=o)return n;var a=r-cr(u);if(a<1)return u;var c=f?du(f,0,a).join(""):n.slice(0,a);if(i===e)return c+u;if(f&&(a+=c.length-a),uf(i)){if(n.slice(a).search(i)){var l,s=c;for(i.global||(i=On(i.source,df(hn.exec(i))+"g")),i.lastIndex=0;l=i.exec(s);)var h=l.index;c=c.slice(0,h===e?a:h)}}else if(n.indexOf(ou(i),a)!=a){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+u},Dr.unescape=function(n){return(n=df(n))&&K.test(n)?n.replace(q,hr):n},Dr.uniqueId=function(n){var t=++Tn;return df(n)+t},Dr.upperCase=Hf,Dr.upperFirst=Jf,Dr.each=go,Dr.eachRight=yo,Dr.first=qi,fa(Dr,(ya={},de(Dr,function(n,t){Wn.call(Dr.prototype,t)||(ya[t]=n)}),ya),{chain:!1}),Dr.VERSION="4.17.21",kt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(n){Dr[n].placeholder=Dr}),kt(["drop","take"],function(n,t){Nr.prototype[n]=function(r){r=r===e?1:gr(vf(r),0);var u=this.__filtered__&&!t?new Nr(this):this.clone();return u.__filtered__?u.__takeCount__=yr(r,u.__takeCount__):u.__views__.push({size:yr(r,h),type:n+(u.__dir__<0?"Right":"")}),u},Nr.prototype[n+"Right"]=function(t){return this.reverse()[n](t).reverse()}}),kt(["filter","map","takeWhile"],function(n,t){var r=t+1,e=1==r||3==r;Nr.prototype[n]=function(n){var t=this.clone();return t.__iteratees__.push({iteratee:ii(n,3),type:r}),t.__filtered__=t.__filtered__||e,t}}),kt(["head","last"],function(n,t){var r="take"+(t?"Right":"");Nr.prototype[n]=function(){return this[r](1).value()[0]}}),kt(["initial","tail"],function(n,t){var r="drop"+(t?"":"Right");Nr.prototype[n]=function(){return this.__filtered__?new Nr(this):this[r](1)}}),Nr.prototype.compact=function(){return this.filter(ea)},Nr.prototype.find=function(n){return this.filter(n).head()},Nr.prototype.findLast=function(n){return this.reverse().find(n)},Nr.prototype.invokeMap=Ve(function(n,t){return"function"==typeof n?new Nr(this):this.map(function(r){return Ie(r,n,t)})}),Nr.prototype.reject=function(n){return this.filter(Wo(ii(n)))},Nr.prototype.slice=function(n,t){n=vf(n);var r=this;return r.__filtered__&&(n>0||t<0)?new Nr(r):(n<0?r=r.takeRight(-n):n&&(r=r.drop(n)),t!==e&&(r=(t=vf(t))<0?r.dropRight(-t):r.take(t-n)),r)},Nr.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},Nr.prototype.toArray=function(){return this.take(h)},de(Nr.prototype,function(n,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),u=/^(?:head|last)$/.test(t),i=Dr[u?"take"+("last"==t?"Right":""):t],o=u||/^find/.test(t);i&&(Dr.prototype[t]=function(){var t=this.__wrapped__,f=u?[1]:arguments,a=t instanceof Nr,c=f[0],l=a||Po(t),s=function(n){var t=i.apply(Dr,Ct([n],f));return u&&h?t[0]:t};l&&r&&"function"==typeof c&&1!=c.length&&(a=l=!1);var h=this.__chain__,p=!!this.__actions__.length,v=o&&!h,_=a&&!p;if(!o&&l){t=_?t:new Nr(this);var g=n.apply(t,f);return g.__actions__.push({func:so,args:[s],thisArg:e}),new Fr(g,h)}return v&&_?n.apply(this,f):(g=this.thru(s),v?u?g.value()[0]:g.value():g)})}),kt(["pop","push","shift","sort","splice","unshift"],function(n){var t=Rn[n],r=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",e=/^(?:pop|shift)$/.test(n);Dr.prototype[n]=function(){var n=arguments;if(e&&!this.__chain__){var u=this.value();return t.apply(Po(u)?u:[],n)}return this[r](function(r){return t.apply(Po(r)?r:[],n)})}}),de(Nr.prototype,function(n,t){var r=Dr[t];if(r){var e=r.name+"";Wn.call(Rr,e)||(Rr[e]=[]),Rr[e].push({name:t,func:r})}}),Rr[Bu(e,2).name]=[{name:"wrapper",func:e}],Nr.prototype.clone=function(){var n=new Nr(this.__wrapped__);return n.__actions__=Ou(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=Ou(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=Ou(this.__views__),n},Nr.prototype.reverse=function(){if(this.__filtered__){var n=new Nr(this);n.__dir__=-1,n.__filtered__=!0}else(n=this.clone()).__dir__*=-1;return n},Nr.prototype.value=function(){var n=this.__wrapped__.value(),t=this.__dir__,r=Po(n),e=t<0,u=r?n.length:0,i=function(n,t,r){for(var e=-1,u=r.length;++e<u;){var i=r[e],o=i.size;switch(i.type){case"drop":n+=o;break;case"dropRight":t-=o;break;case"take":t=yr(t,n+o);break;case"takeRight":n=gr(n,t-o)}}return{start:n,end:t}}(0,u,this.__views__),o=i.start,f=i.end,a=f-o,c=e?f:o-1,l=this.__iteratees__,s=l.length,h=0,p=yr(a,this.__takeCount__);if(!r||!e&&u==a&&p==a)return su(n,this.__actions__);var v=[];n:for(;a--&&h<p;){for(var _=-1,g=n[c+=t];++_<s;){var y=l[_],d=y.iteratee,w=y.type,b=d(g);if(2==w)g=b;else if(!b){if(1==w)continue n;break n}}v[h++]=g}return v},Dr.prototype.at=ho,Dr.prototype.chain=function(){return lo(this)},Dr.prototype.commit=function(){return new Fr(this.value(),this.__chain__)},Dr.prototype.next=function(){this.__values__===e&&(this.__values__=hf(this.value()));var n=this.__index__>=this.__values__.length;return{done:n,value:n?e:this.__values__[this.__index__++]}},Dr.prototype.plant=function(n){for(var t,r=this;r instanceof Mr;){var u=Bi(r);u.__index__=0,u.__values__=e,t?i.__wrapped__=u:t=u;var i=u;r=r.__wrapped__}return i.__wrapped__=n,t},Dr.prototype.reverse=function(){var n=this.__wrapped__;if(n instanceof Nr){var t=n;return this.__actions__.length&&(t=new Nr(this)),(t=t.reverse()).__actions__.push({func:so,args:[Qi],thisArg:e}),new Fr(t,this.__chain__)}return this.thru(Qi)},Dr.prototype.toJSON=Dr.prototype.valueOf=Dr.prototype.value=function(){return su(this.__wrapped__,this.__actions__)},Dr.prototype.first=Dr.prototype.head,Qn&&(Dr.prototype[Qn]=function(){return this}),Dr}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(st._=pr,define(function(){return pr})):pt?((pt.exports=pr)._=pr,ht._=pr):st._=pr}.call(this)}},t={};function r(e){var u=t[e];if(void 0!==u)return u.exports;var i=t[e]={id:e,loaded:!1,exports:{}};return n[e].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.n=n=>{var t=n&&n.__esModule?()=>n.default:()=>n;return r.d(t,{a:t}),t},r.d=(n,t)=>{for(var e in t)r.o(t,e)&&!r.o(n,e)&&Object.defineProperty(n,e,{enumerable:!0,get:t[e]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(n){if("object"==typeof window)return window}}(),r.o=(n,t)=>Object.prototype.hasOwnProperty.call(n,t),r.nmd=n=>(n.paths=[],n.children||(n.children=[]),n),(()=>{"use strict";var n=r(243);!function(){function t(){if(!r.g.wp_consent_type&&!r.g.wp_fallback_consent_type)return;const t={};let e=!1;Object.entries(r.g._googlesitekitConsentCategoryMap).forEach(n=>{let[u,i]=n;r.g.wp_has_consent&&r.g.wp_has_consent(u)&&(i.forEach(n=>{t[n]="granted"}),e=e||!!i.length)}),e&&!(0,n.isEqual)(t,r.g._googlesitekitConsents)&&(r.g.gtag("consent","update",t),r.g._googlesitekitConsents=t)}r.g.document.addEventListener("wp_listen_for_consent_change",function(n){if(n.detail){const t={};let e=!1;Object.keys(n.detail).forEach(u=>{if(r.g._googlesitekitConsentCategoryMap[u]){const i="allow"===n.detail[u]?"granted":"denied",o=r.g._googlesitekitConsentCategoryMap[u];o.forEach(n=>{t[n]=i}),e=!!o.length}}),e&&r.g.gtag("consent","update",t)}}),r.g.document.addEventListener("wp_consent_type_defined",t),r.g.document.addEventListener("DOMContentLoaded",()=>{r.g.waitfor_consent_hook||t()})}()})()})();<form action="" method="post">
<div id="request-filesystem-credentials-form" class="request-filesystem-credentials-form">
	<h2 id='request-filesystem-credentials-title'>Connection Information</h2><p id="request-filesystem-credentials-desc">
	To perform the requested action, WordPress needs to access your web server. Please enter your FTP or SSH credentials to proceed. If you do not remember your credentials, you should contact your web host.</p>
<label for="hostname">
	<span class="field-title">Hostname</span>
	<input name="hostname" type="text" id="hostname" aria-describedby="request-filesystem-credentials-desc" class="code" placeholder="example: www.wordpress.org" value="212.91.32.153:1927" />
</label>
<div class="ftp-username">
	<label for="username">
		<span class="field-title">FTP/SSH Username</span>
		<input name="username" type="text" id="username" value="asotech" />
	</label>
</div>
<div class="ftp-password">
	<label for="password">
		<span class="field-title">FTP/SSH Password</span>
		<input name="password" type="password" id="password" value="" spellcheck="false" />
		This password will not be stored on the server.	</label>
</div>
<fieldset>
<legend>Connection Type</legend>
		<label for="ftp">
		<input type="radio" name="connection_type" id="ftp" value="ftp"  checked='checked'  />
		FTP	</label>
			<label for="ftps">
		<input type="radio" name="connection_type" id="ftps" value="ftps"   />
		FTPS (SSL)	</label>
			<label for="ssh">
		<input type="radio" name="connection_type" id="ssh" value="ssh"   />
		SSH2	</label>
		</fieldset>
	<fieldset id="ssh-keys" class="hidden">
<legend>Authentication Keys</legend>
<label for="public_key">
	<span class="field-title">Public Key:</span>
	<input name="public_key" type="text" id="public_key" aria-describedby="auth-keys-desc" value="" />
</label>
<label for="private_key">
	<span class="field-title">Private Key:</span>
	<input name="private_key" type="text" id="private_key" value="" />
</label>
<p id="auth-keys-desc">Enter the location on the server where the public and private keys are located. If a passphrase is needed, enter that in the password field above.</p>
</fieldset>
			<p class="request-filesystem-credentials-action-buttons">
		