HEX
Server: Apache
System: Linux host.fiblib.com 5.14.0-570.58.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 29 06:24:11 EDT 2025 x86_64
User: scientificreligi (1062)
PHP: 8.0.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/scientificreligi/public_html/wp-content/themes/scientific-religion/assets/js/main.min.js
!function(r){"use strict";var i=window.G5_Main||{};window.G5_Main=i;var l=r(window),o=r("body"),e=(o.hasClass("rtl"),navigator.userAgent.toLowerCase());e.match(/(iphone|ipod|android|iemobile)/),e.match(/(iphone|ipod|ipad|android|iemobile)/),e.match(/(iphone|ipod|ipad)/),e.match(/(iemobile)/),i.blog={init:function(){this.events(),this.readingProcess()},readingProcess:function(){var s=r("#gsf-reading-process"),a=r(".single-post .gf-single-wrap .post-single");0<s.length&&0<a.length&&a.imagesLoaded(function(){var t=a.height(),o=l.height(),i=0,e=a.offset().top,n=l.scrollTop();e<n&&(i=100*(n-e)/(t-o)),100<i&&(i=100),s.css("width",i+"%"),l.scroll(function(){var i=0,e=a.offset().top,n=l.scrollTop();e<n&&(i=100*(n-e)/(t-o)),100<i&&(i=100),s.css("width",i+"%")})})},events:function(){}},i.page={init:function(){this.rowEqualHeight(),this.events()},rowEqualHeight:function(){r(".row-equal-height").each(function(){var i,e,n,t=r(".gsf-product-singular",r(this)),o=r(".product-info",t).outerHeight(),s=r(".gf-banner",r(this)),a=r(".gf-banner-bg",s);G5_Core.util.isDesktop()?(i=r(".image-item",r(".product-singular-images",t)),e=i.outerHeight(),n=o+e,a.css("padding-bottom",n+"px"),r(".product-singular-images",t).on("owlInitialized",function(){i=r(".image-item",r(this)),e=i.outerHeight(),n=o+e,a.css("padding-bottom",n+"px")})):a.css("padding-bottom","")})},events:function(){r(window).on("resize",function(){setTimeout(function(){i.page.rowEqualHeight()},500)})}},i.popup={init:function(){var i=r(".gsf-login-link-sign-in"),e=r("#gsf-popup-login-wrapper"),n=r(".gsf-login-link-sign-up"),t=r("#gsf-popup-register-wrapper");i.on("click",function(){e.length&&e.modal()}),n.on("click",function(){t.length&&t.modal()}),this.login_link_event()},login_link_event:function(){var t=null;r("#gsf-popup-login-form, #gsf-popup-register-form").submit(function(i){t=null;var e=r(i.target).find('[type="submit"]'),n="#"+r(this).attr("id");e.hasClass("ladda-button")&&0<e.length&&(t=Ladda.create(e[0])).start();e=r(n).serialize();return o.addClass("overflow-hidden"),o.append('<div class="processing-title"><i class="fa fa-spinner fa-spin fa-fw"></i></div>'),r.ajax({type:"POST",data:e,url:g5plus_variable.ajax_url,success:function(i){r(".processing-title").fadeOut(function(){r(".processing-title").remove(),o.removeClass("overflow-hidden")});i=r.parseJSON(i);i.code<0?r(".login-message",n).html(i.message):window.location.reload(),null!==t&&(t.stop(),t.remove())},error:function(i){r(".processing-title").fadeOut(function(){r(".processing-title").remove(),o.removeClass("overflow-hidden")}),null!==t&&(t.stop(),t.remove())}}),i.preventDefault(),!1})}},i.event={init:function(){this.registerAnimation()},registerAnimation:function(){"undefined"!=typeof tribe_ev&&r(tribe_ev.events).on("tribe_ev_ajaxSuccess",function(){G5_Core_Animation.prototype.registerAnimation()})}},r(document).ready(function(){i.blog.init(),i.page.init(),i.popup.init(),i.event.init()})}(jQuery);