!function(t){"use strict";t(document).ready(function(){t(".youzify-msg-show-search").on("click",function(i){t(".item-list-tabs #search-message-form").fadeToggle()}),t(".youzify_effect")[0]&&t(".youzify_effect").viewportChecker({classToAdd:"animated",classToRemove:"invisible",removeClassAfterAnimation:!0,offset:"10%",callbackFunction:function(i,e){i.addClass(i.data("effect"))}}),t(".youzify-navbar-view-more").click(function(i){0===t(i.target).closest(".youzify-nav-view-more-menu").length&&(i.preventDefault(),t(this).find(".youzify-nav-view-more-menu").fadeToggle())}),t(".youzify-nav-settings").click(function(i){i.preventDefault(),t(".youzify-responsive-menu").hasClass("is-active")&&(t(".youzify-responsive-menu").removeClass("is-active"),t(".youzify-profile-navmenu").fadeOut());var e=t(this).closest(".youzify-settings-area");e.toggleClass("open-settings-menu"),e.find(".youzify-settings-menu").fadeToggle(400)});var e,o=t(".youzify-author").closest(".youzify-sidebar-column");function n(){if(t(".youzify-profile-login")[0]){var i=t(".youzify-profile-login");t(window).width()<769?i.prependTo(".youzify-main-column .youzify-column-content"):i.prependTo(".youzify-sidebar-column .youzify-column-content")}if(t(".youzify-author")[0]){var e=t(".youzify-author");t(window).width()<769?e.prependTo(t(o).parent()):e.prependTo(t(o))}}n(),t(".youzify-skillbar")[0]&&(t.youzify_initSkills=function(){t(window).scrollTop()+t(window).height()>=t(".youzify-skillbar").offset().top&&(t(".youzify-skillbar").attr("loaded")||(t(".youzify-skillbar").attr("loaded",!0),t(".youzify-skillbar").each(function(){t(this).find(".youzify-skillbar-bar").animate({width:t(this).attr("data-percent")},2e3)})))},t.youzify_initSkills(),t(window).scroll(function(){t.youzify_initSkills()})),t(window).on("resize",function(i){clearTimeout(e),e=setTimeout(function(){768<t(window).width()?t(".youzify-profile-navmenu").fadeIn(1e3):t(".youzify-responsive-menu").hasClass("is-active")?t(".youzify-profile-navmenu").fadeIn(600):(t(".youzify-profile-navmenu").fadeOut(600),t(".youzify-responsive-menu").removeClass("is-active")),n()},1)}),t(".youzify-pf-zoom, .youzify-flickr-zoom").on("click",function(){t(this).next(".youzify-lightbox-img").click()}),t(document).mouseup(function(i){if(t(".youzify-settings-area").hasClass("open-settings-menu")){var e=t(".youzify-nav-settings"),o=t(".youzify-settings-menu");o.is(i.target)||e.is(i.target)||0!==o.has(i.target).length||0!==e.has(i.target).length||(t(".youzify-settings-area").removeClass("open-settings-menu"),o.slideToggle(250))}})})}(jQuery),function(i,e,o){"use strict";var n=i.querySelectorAll("html")[0];n.className=n.className.replace(/(^|\s)no-js(\s|$)/,"$1js$2")}(document,window);