File: /home/redpsiju/public_html/wp-content/themes/vastart/assets/js/theme.min.js
!function(){"use strict";!function(n){n(document).ready(function(){!function(){var n=jQuery;n(document).on("click",".comment-reply-link",function(o){o.preventDefault();var e=n("#cancel-comment-reply-link"),t=e.clone().attr("id","#cancel-comment-reply-"+Date.now());t.unbind("click"),t.bind("click",function(n){n.preventDefault(),e.trigger("click"),t.remove()}),e.appendTo(n(".form-submit")),n("html, body").animate({scrollTop:n(".comment-respond").offset().top-30})})}(),jQuery(".uf-carousel").carousel(),function(){var n=jQuery;n(".related-posts .card").each(function(o,e){n(e).height()})}(),function(){var n=jQuery;n('[data-toggle="popover"]').popover({html:!0});var o=n("#sosial-share-content").html();n(".social-share").popover({html:!0,trigger:"focus",animation:!0,placement:"right",content:o})}(),function(){var n=jQuery;n(".uf-mobile-nav-expand-submenu").on("click",function(){n(this).next(".sub-menu").addClass("open");var o=n(".uf-mobile-nav-content").width(),e=n("#mobile_navigation").position().left-o;n("#mobile_navigation").css("transform","translateX("+e+"px)")}),n(".uf-mobile-nav-close-submenu").on("click",function(){n(this).parent().parent(".sub-menu").removeClass("open");var o=n(".uf-mobile-nav-content").width(),e=n("#mobile_navigation").position().left+o;n("#mobile_navigation").css("transform","translateX("+e+"px)")}),n(".uf-mobile-nav-modal").on("hidden.bs.modal",function(){n(".sub-menu").removeClass("open"),n("#mobile_navigation").css("transform","translateX(0)")})}(),function(){var n=jQuery;n(".dt_show_fullscreen_button").on("click",function(o){o.preventDefault(),n("#dt_fullscreen_modal").addClass("dt_show_popup")}),n(".dt_close_fullscreen_button").on("click",function(o){o.preventDefault(),n("#dt_fullscreen_modal").removeClass("dt_show_popup")})}(),(n("body").hasClass("blog")||n("body").hasClass("category")||n("body").hasClass("archive")||n("body").hasClass("search"))&&n("body").hasClass("vastart-masonry-layout")&&(n("body").hasClass("single")||function(){var n=jQuery;new AnimOnScroll(document.querySelector("#vastart-grid"),{minDuration:.4,maxDuration:1.7,viewportFactor:.2}),n(".vastart-grid").masonry({itemSelector:".grid-item",columnWidth:".grid-sizer",horizontalOrder:!0,gutter:24,transitionDuration:"0.8s",percentPosition:!0})}())})}(jQuery)}();
//# sourceMappingURL=theme.min.js.map