function equalHeight(group){var tallest=0;group.css("height","auto"),group.each((function(){var thisHeight=$(this).height();thisHeight>tallest&&(tallest=thisHeight)})),group.height(tallest)}var resizeTimer_3;($((function(){$("html, body");$("header a.menu-toggle").on("click",(function(){return $("body").toggleClass("opened-menu"),$(".mobile-menu").toggleClass("opened"),!1})),$(document).bind("mouseup touchend",(function(e){var container=$("header a.menu-toggle, .mobile-menu");container.is(e.target)||0!==container.has(e.target).length||($(".mobile-menu").removeClass("opened"),$("body").removeClass("opened-menu"))})),$(".mobile-menu ul.mobile-nav > li.has-dropdown > a").on("click",(function(){$(this).parent().toggleClass("expanded");var dropdownID=this.hash.substr(1);return $(".mobile-menu ul.mobile-nav > li.has-dropdown .dropdown-contents[id='"+!dropdownID+"']").slideUp(),$(".mobile-menu ul.mobile-nav > li.has-dropdown .dropdown-contents[id='"+dropdownID+"']").slideToggle(),!1})),$(document).bind("mouseup touchend",(function(e){var container=$(".mobile-menu ul.mobile-nav > li.has-dropdown > a, .mobile-menu ul.mobile-nav > li.has-dropdown ul");container.is(e.target)||0!==container.has(e.target).length||$(".mobile-menu ul.mobile-nav > li.has-dropdown").removeClass("expanded")})),$(".mobile-menu ul.mobile-nav > li.has-dropdown .dropdown-contents > .col-title > a").on("click",(function(){return $(this).parent().toggleClass("expanded"),$(this).parent().next().slideToggle(),!1})),$(".mobile-menu ul.mobile-nav > li.has-dropdown .dropdown-contents .dropd-menu .has-submenu > a").on("click",(function(){return $(this).parent().toggleClass("expanded"),$(this).next().slideToggle(),!1})),$("header .top-nav > li.has-action > a").on("click",(function(){$("header .top-nav > li.has-action > a").not($(this)).parent().removeClass("expanded"),$(this).parent().toggleClass("expanded");var dropdownID=this.hash.substr(1);return $("header .header-top .dropdown-contents[id='"+!dropdownID+"']").removeClass("active"),$("header .header-top .dropdown-contents[id='"+dropdownID+"']").toggleClass("active"),!1})),$("header .header-top .dropdown-contents a.close-dropdown").on("click",(function(){var dropdownID=$(this).closest(".dropdown-contents").attr("id");return dropdownID=dropdownID.substr(1),$("header .top-nav > li.has-action > a[href='#"+dropdownID+"']").parent().removeClass("expanded"),$(this).closest(".dropdown-contents").removeClass("active"),!1})),$(document).bind("mouseup touchend",(function(e){var container=$("header .top-nav > li.has-action > a, header .header-top .dropdown-contents");container.is(e.target)||0!==container.has(e.target).length||($("header .top-nav > li.has-action").removeClass("expanded"),$("header .header-top .dropdown-contents").removeClass("active"))})),$("header .navigation > li.has-dropdown > a").on("click",(function(){$("header .navigation > li.has-dropdown > a").not($(this)).parent().removeClass("expanded"),$(this).parent().toggleClass("expanded");var dropdownID=this.hash.substr(1);return $("header .header-nav .dropdown-contents[id='"+!dropdownID+"']").removeClass("active"),$("header .header-nav .dropdown-contents[id='"+dropdownID+"']").toggleClass("active"),!1})),$("header .header-nav .dropdown-contents a.close-dropdown").on("click",(function(){var dropdownID=$(this).closest(".dropdown-contents").attr("id");return dropdownID=dropdownID.substr(1),$("header .navigation > li.has-dropdown > a[href='#"+dropdownID+"']").parent().removeClass("expanded"),$(this).closest(".dropdown-contents").removeClass("active"),!1})),$(document).bind("mouseup touchend",(function(e){var container=$("header .navigation > li.has-dropdown > a, header .header-nav .dropdown-contents");container.is(e.target)||0!==container.has(e.target).length||($("header .navigation > li.has-dropdown").removeClass("expanded"),$("header .header-nav .dropdown-contents").removeClass("active"))})),$("header .header-nav .dropdown-contents ul.products-list li a").on("click",(function(){$("header .header-nav .dropdown-contents ul.products-list li").removeClass("active"),$(this).parent().addClass("active");var selected_tab=$(this).attr("href");return"#"!=selected_tab&&($("header .header-nav .dropdown-contents .product-tab-content").hide(),$(selected_tab).fadeIn()),!1})),$(".subscribe-toggle").on("click",(function(){return $(".subscribe-block").toggleClass("expanded"),$(".subscribe-form").slideToggle(),!1})),$(".library-filters ul li a").on("click",(function(){var tema=$(this).attr("data-filter");if($(".library-filters ul li").removeClass("active"),$(this).parent().addClass("active"),"all"==tema)$(".library-element").fadeIn(450);else{var el=$("."+tema).fadeIn(450);$(".library-element").not(el).hide()}return!1})),setTimeout((function(){equalHeight($(".posts-list .post-item:not(.featured-post) .post-info")),equalHeight($(".library-grid .library-element .library-link")),$(window).trigger("resize")}),500),$(window).scroll((function(){}))})),Modernizr.touchevents)||$(window).resize((function(){clearTimeout(resizeTimer_3),resizeTimer_3=setTimeout((function(){equalHeight($(".posts-list .post-item:not(.featured-post) .post-info")),equalHeight($(".library-grid .library-element .library-link"))}),200)}));$(window).bind("orientationchange",(function(){equalHeight($(".posts-list .post-item:not(.featured-post) .post-info")),equalHeight($(".library-grid .library-element .library-link"))})); //# sourceURL=https://cdn2.hubspot.net/hub/6430607/hub_generated/template_assets/72110053277/1651097716917/Deacero2020/engine.js