PageSourceSearch

https://risehydroponics.in/wp-content/themes/consultix/js/radiantthemes-custom.js?ver=7.1

js risehydroponics.in collected 2026-10-04 20:17:15 UTC 4,753 bytes, 139 lines download raw bytes

1(function($){
2	"use strict";
3	jQuery(document).on("ready", function(){
4		// SCROLL TO TOP
5		jQuery(window).on("scroll", function(){
6			if (jQuery(this).scrollTop()>100){
7				jQuery(".scrollup").addClass("active");
8			}else{
9				jQuery(".scrollup").removeClass("active");
10			}
11		});
12		jQuery(".scrollup").on("click", function(){
13	   		jQuery("html, body").animate({scrollTop:0},600);
14	  		return false;
15		});
16		// HEADER STYLE FOUR SIDE MENU
17		jQuery(".sidenav-trigger").on("click", function(){
18			jQuery("body").toggleClass("side-menu-open");
19		});
20		// FLOATING SEARCH BAR
21		jQuery(".floating-searchbar i").on("click", function(){
22			jQuery("body").toggleClass("floating-searchbar-active");
23		});
24		// FLYOUT SEARCH BAR
25		jQuery(".flyout-searchbar-toggle i").on("click", function(){
26			jQuery("body").toggleClass("flyout-searchbar-active");
27		});
28		jQuery(".flyout-search-close").on("click", function(){
29			jQuery("body").removeClass("flyout-searchbar-active");
30		});
31		// FLYOUT MENU BAR
32		jQuery(".flyout-menubar-toggle").on("click", function(){
33			jQuery("body").toggleClass("flyout-menubar-active");
34		});
35		jQuery(".flyout_menu .nav ul.menu li.menu-item-has-children").each(function(){
36			jQuery(this).children("a").on("click", function(DisableClick){
37				DisableClick.preventDefault();
38				jQuery(this).parent().children("ul").slideToggle(500);
39			});
40		});
41		// SIDEBAR SEARCH BUTTON CHANGE
42		jQuery(".search-form, .woocommerce-product-search").each(function(){
43			jQuery(this).find("input[type=submit]").replaceWith("<button type='submit'><i class='fa fa-search'></i></button>");
44		});
45		// BLOG COMMENT BUTTON CHANGE
46		jQuery(".comments-area .comment-form > p input[type='submit']").each(function(){
47			jQuery(this).replaceWith("<button type='submit'><span>Post Comment</span></button>");
48		});
49		jQuery(".comments-area .comment-form > p input[type='reset']").each(function(){
50			jQuery(this).replaceWith("<button type='reset'><span>Reset Comment</span></button>");
51		});
52		// TOOLTIP
53		jQuery("[data-toggle='tooltip']").tooltip();
54		// SIDR
55		jQuery(".responsive-nav").each(function(){
56			jQuery(this).sidr({
57				side: 'right',
58				displace: jQuery(this).data("responsive-nav-displace"),
59				renaming: false,
60				source: '.nav',
61				name: 'main-menu-left',
62				onOpen: function(){
63					jQuery("body").addClass("main-menu-open");
64				},
65				onClose: function(){
66					jQuery("body").removeClass("main-menu-open");
67				},
68			});
69			jQuery(".overlay, .sidr-close").on("click", function(){
70				jQuery.sidr('close', 'main-menu-left');
71			});
72		});
73		// HAMBURGER SIDR
74		jQuery(".hamburger-menu-open.is-sidr").each(function(){
75			jQuery(this).sidr({
76				side: 'right',
77				displace: false,
78				renaming: false,
79				source: '.wraper_hamburger_menu.is-sidr',
80				name: 'hamburger-menu',
81			});
82			jQuery(".hamburger-menu-close").click(function(){
83				jQuery.sidr('close', 'hamburger-menu');
84			});
85		});
86		jQuery(".hamburger_menu .nav ul.menu li.menu-item-has-children").each(function(){
87			jQuery(this).children("a").on("click", function(DisableClick){
88				DisableClick.preventDefault();
89				jQuery(this).parent().children("ul").slideToggle(500);
90			});
91		});
92		// RADIANTTHEMES MEGA MENU
93		jQuery(".sidr .menu-item-has-children").each(function(){
94			jQuery(this).children(".rt-sub-menu, .rt-mega-menu").css({
95				"display": "none",
96			});
97			jQuery(this).children("a").click(function(event){
98				event.preventDefault();
99				jQuery(this).parent(".menu-item-has-children").toggleClass("radiantthemes-menu-open");
100				jQuery(this).parent(".menu-item-has-children").children(".rt-sub-menu, .rt-mega-menu").slideToggle(700);
101			});
102		});
103		// MATCHHEIGHT
104		jQuery(".matchHeight").matchHeight();
105		// WOW
106		var wow = new WOW({
107			boxClass: 'wow',
108			animateClass: 'animated',
109			mobile: true,
110			live: true,
111			scrollContainer: null,
112		});
113		wow.init();
114		// NICESCROLL
115		if( jQuery(window).width() > 767 ){
116			jQuery(".infinity-scroll").niceScroll({
117				cursorcolor: jQuery("body").data("nicescroll-cursorcolor"),
118				cursorwidth: jQuery("body").data("nicescroll-cursorwidth"),
119				cursorborder: "none",
120				cursorborderradius: "0",
121			});
122		}
123		// STICKY
124		jQuery(".i-am-sticky").sticky();
125		// RATINA
126		jQuery("img").attr("data-no-retina", "");
127		jQuery(".radiantthemes-retina img").removeAttr("data-no-retina");
128	});
129	jQuery(window).on("load", function(){
130		// PROLOADER
131		setTimeout(function(){
132			jQuery(".preloader").addClass("loaded");
133	    }, jQuery(".preloader").data("preloader-timeout") );
134		setTimeout(function(){
135			// MATCHHEIGHT
136			jQuery(".matchHeight").matchHeight();
137	    }, 2000);
138	});
139})(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.