$(window).load(function(){"use strict";var t=$(".team-list");t.isotope({filter:"*",itemSelector:".team-item",layoutMode:"fitRows"}),$(".filter a").click(function(){$(".filter .active").removeClass("active"),$(this).addClass("active");var i=$(this).attr("data-filter");return t.isotope({filter:i}),!1});var i=$(".portfolio-list");i.isotope({filter:"*",itemSelector:".portfolio-item",layoutMode:"fitRows"}),$(".portfolio-filter a").click(function(){$(".portfolio-filter .active").removeClass("active"),$(this).addClass("active");var t=$(this).attr("data-filter");return i.isotope({filter:t}),!1}),$("#mobile-team-filter").click(function(){$(this).toggleClass("select-active"),$("ul.filter").toggleClass("filter-active")}),$("#mobile-portfolio-filter").click(function(){$(this).toggleClass("select-active"),$("ul.portfolio-filter").toggleClass("filter-active")})});