File: /home/salamatk/takarzan.ir/wp-content/themes/xts-luman/js/scripts/itemsAnimationInView.min.js
(a=>{XTSThemeModule.$document.on("xtsProductTabLoaded xtsProductLoadMoreReInit xtsPjaxComplete xtsPortfolioLoadMoreSuccess xtsBlogLoadMoreSuccess xtsWishlistRemoveSuccess",function(){XTSThemeModule.itemsAnimationInView()}),XTSThemeModule.$document.on("xtsPortfolioPjaxComplete",function(){setTimeout(function(){XTSThemeModule.itemsAnimationInView()},100)}),a.each(["frontend/element_ready/xts_product_brands.default","frontend/element_ready/xts_product_categories.default","frontend/element_ready/xts_product_tabs.default","frontend/element_ready/xts_products.default","frontend/element_ready/xts_single_product_tabs.default","frontend/element_ready/xts_image_gallery.default","frontend/element_ready/xts_banner_carousel.default","frontend/element_ready/xts_infobox_carousel.default","frontend/element_ready/xts_blog.default","frontend/element_ready/xts_portfolio.default","frontend/element_ready/xts_instagram.default","frontend/element_ready/xts_testimonials.default","frontend/element_ready/xts_title.default"],function(e,t){XTSThemeModule.xtsElementorAddAction(t,function(){XTSThemeModule.itemsAnimationInView()})}),XTSThemeModule.itemsAnimationInView=function(){void 0!==a.fn.waypoint&&a(".xts-in-view-animation").each(function(){var n,o=[];a(this).find(".xts-col, .xts-animation-item").each(function(){var e=a(this);"inited"!==e.data("xts-waypoint")&&(e.data("xts-waypoint","inited"),e.waypoint(function(){var e=a(a(this)[0].element),t=e.parents(".xts-in-view-animation").data("animation-delay");e.addClass("xts-animation-ready"),o.push(e),function e(t){n=n||window.setInterval(function(){o.length?(a(o.shift()).addClass("xts-animated"),e(t)):(window.clearInterval(n),n=null)},t)}(t)},{offset:"90%"}))})})},a(document).ready(function(){XTSThemeModule.itemsAnimationInView()})})(jQuery);