PageSourceSearch

https://www.ayuntamientodearico.com/wp-content/plugins/radiantthem…diantthemes-addons-custom.js?ver=1790292391

js ayuntamientodearico.com collected 2026-09-24 23:27:35 UTC 14,747 bytes, 385 lines download raw bytes

1jQuery(document).ready(function(){
2	// MATCHHEIGHT
3	jQuery(".matchHeight").matchHeight();
4	// RADIANTTHEMES ACCORDION.
5	jQuery(".radiantthemes-accordion-item").each(function(){
6		jQuery(this).find(".radiantthemes-accordion-item-body").hide();
7		jQuery(this).find(".radiantthemes-accordion-item-title").click(function(){
8			jQuery(this).parent().children(".radiantthemes-accordion-item-body").slideToggle("500");
9			jQuery(this).parent().toggleClass("radiantthemes-active");
10		});
11	});
12	// RADIANTTHEMES BEFOREAFTER.
13	jQuery(".rt-beforeafter").each(function(){
14		jQuery(this).beforeAfter();
15	});
16	// RADIANTTHEMES COUNTDOWN.
17	jQuery(".rt-countdown").each(function(){
18		jQuery(this).countdown( jQuery(this).data("countdown") , function(event){
19			jQuery(this).html(
20			  event.strftime("<div class='time'><strong>%D</strong> Days</div> <div class='time'><strong>%H</strong> Hours</div> <div class='time'><strong>%M</strong> Min</div> <div class='time'><strong>%S</strong> Sec</div>")
21			);
22		});
23	});
24	// RADIANTTHEMES COUNTERUP.
25	/*setTimeout(function(){
26	    jQuery(".rt-counterup .odometer").each(function(){
27	    	jQuery(this).html( jQuery(this).data("counterup-value") );
28	    });
29	}, 1);*/
30	jQuery(".rt-counterup .rt-counterup-value").each(function(){
31		jQuery(this).counterUp({
32			delay: jQuery(this).data("counterup-delay"),
33			time: jQuery(this).data("counterup-time"),
34		});
35	});
36	// RADIANTTHEMES POPUP VIDEO.
37	jQuery(".rt-popup-video").each(function(){
38        jQuery(this).find(".video-link").fancybox({
39            defaults:{
40                speed: 1000,
41            },
42        });
43    });
44	// RADIANTTHEMES PROGRESS BAR.
45	jQuery(".rt-progress-bar").each(function(){
46		jQuery(this).find(".progress-width").text( jQuery(this).data("progress-bar-width") );
47		jQuery(this).find(".progress").css({
48			"height": jQuery(this).data("progress-bar-height")
49		});
50		jQuery(this).find(".progress-bar").css({
51			"width": jQuery(this).data("progress-bar-width")
52		});
53	});
54	// RADIANTTHEMES TAB ELEMENT.
55	jQuery(".rt-tab").each(function(){
56		jQuery(this).find("ul.nav-tabs a:first").tab("show");
57	});
58	// RADIANTTHEMES TYPEWRITER.
59	jQuery(".radiantthemes-typewriter-text").each(function(){
60        jQuery(this).children(".typed-writer").typed({
61            stringsElement: jQuery(this).children(".typed-strings") ,
62            typeSpeed: jQuery(this).data("typewriter-typespeed") ,
63            startDelay: jQuery(this).data("typewriter-startdelay") ,
64            backSpeed: jQuery(this).data("typewriter-backspeed") ,
65            backDelay: jQuery(this).data("typewriter-backdelay") ,
66            shuffle: jQuery(this).data("typewriter-shuffle") ,
67            loop: jQuery(this).data("typewriter-loop") ,
68            loopCount: false, // false = infinite
69            showCursor: false,
70            cursorChar: "|",
71        });
72    });
73    // RADIANTTHEMES CIRCULAR PROGRESS BAR.
74    jQuery(".radiantthemes-circular-progress-bar-main").circlos();
75    // RADIANTTHEMES TWITTER WIDGET.
76    jQuery(".radiantthemes-twitter-widget-holder").each(function(){
77		twitterFetcher.fetch({
78			"profile": {
79				"screenName": jQuery(this).data("twitter-box-username")
80			},
81			"domId": jQuery(this).attr("id"),
82			"maxTweets": jQuery(this).data("twitter-box-maxtweets"),
83			"enableLinks": jQuery(this).data("twitter-box-enablelinks"),
84			"showUser": jQuery(this).data("twitter-box-showuser"),
85			"showTime": jQuery(this).data("twitter-box-showtime"),
86			"showImages": jQuery(this).data("twitter-box-showimages"),
87			"lang": 'en',
88		});
89	});
90});
91jQuery(window).load(function(){
92	// MATCHHEIGHT
93	jQuery(".matchHeight").matchHeight();
94	setTimeout(function(){
95		// MATCHHEIGHT
96		jQuery(".matchHeight").matchHeight();
97	}, 500);
98	// RADIANTTHEMES BLOG ELEMENT.
99	jQuery(".blog.owl-carousel").each(function(){
100		jQuery(this).owlCarousel({
101			nav: jQuery(this).data("owl-nav") ,
102			dots: jQuery(this).data("owl-dots") ,
103			loop: jQuery(this).data("owl-loop") ,
104			autoplay: jQuery(this).data("owl-autoplay") ,
105			autoplayTimeout: jQuery(this).data("owl-autoplay-timeout") ,
106			responsive:{
107		        0:{ items: jQuery(this).data("owl-mobile-items") },
108		        321:{ items: jQuery(this).data("owl-mobile-items") },
109		        480:{ items: jQuery(this).data("owl-tab-items") },
110		        768:{ items: jQuery(this).data("owl-tab-items") },
111		        992:{ items: jQuery(this).data("owl-desktop-items") },
112		        1200:{ items: jQuery(this).data("owl-desktop-items") }
113		    }
114		});
115	});
116	jQuery(".blog:not(.owl-carousel)").each(function(){
117		jQuery(this).children().css({
118			"width" : "calc(100% / " + jQuery(this).data("row-items") + ")",
119		});
120	});
121	// RADIANTTHEMES TEAM ELEMENT.
122	jQuery(".team.owl-carousel").each(function(){
123		jQuery(this).owlCarousel({
124			nav: jQuery(this).data("owl-nav") ,
125			dots: jQuery(this).data("owl-dots") ,
126			loop: jQuery(this).data("owl-loop") ,
127			autoplay: jQuery(this).data("owl-autoplay") ,
128			autoplayTimeout: jQuery(this).data("owl-autoplay-timeout") ,
129			responsive:{
130		        0:{ items: jQuery(this).data("owl-mobile-items") },
131		        321:{ items: jQuery(this).data("owl-mobile-items") },
132		        480:{ items: jQuery(this).data("owl-tab-items") },
133		        768:{ items: jQuery(this).data("owl-tab-items") },
134		        992:{ items: jQuery(this).data("owl-desktop-items") },
135		        1200:{ items: jQuery(this).data("owl-desktop-items") }
136		    }
137		});
138	});
139	jQuery(".team:not(.owl-carousel)").each(function(){
140		jQuery(this).children().css({
141			"width" : "calc(100% / " + jQuery(this).data("row-items") + ")",
142		});
143	});
144	// RADIANTTHEMES TESTIMONIAL ELEMENT.
145	jQuery(".testimonial.owl-carousel").each(function(){
146		jQuery(this).owlCarousel({
147			thumbs: true,
148			thumbImage: false,
149			nav: jQuery(this).data("owl-nav") ,
150			dots: jQuery(this).data("owl-dots") ,
151			loop: jQuery(this).data("owl-loop") ,
152			//center: true,
153			autoplay: jQuery(this).data("owl-autoplay") ,
154			autoplayTimeout: jQuery(this).data("owl-autoplay-timeout") ,
155			animateIn: 'fadeIn',
156			animateOut: 'fadeOut',
157			responsive:{
158		        0:{ items: jQuery(this).data("owl-mobile-items") },
159		        321:{ items: jQuery(this).data("owl-mobile-items") },
160		        480:{ items: jQuery(this).data("owl-tab-items") },
161		        768:{ items: jQuery(this).data("owl-tab-items") },
162		        992:{ items: jQuery(this).data("owl-desktop-items") },
163		        1200:{ items: jQuery(this).data("owl-desktop-items") }
164		    }
165		});
166	});
167	jQuery(".testimonial:not(.owl-carousel)").each(function(){
168		jQuery(this).children().css({
169			"width" : "calc(100% / " + jQuery(this).data("row-items") + ")",
170		});
171	});
172	// RADIANTTHEMES CLIENTS ELEMENT.
173	jQuery(".clients.owl-carousel").each(function(){
174		jQuery(this).owlCarousel({
175			nav: jQuery(this).data("owl-nav") ,
176			dots: jQuery(this).data("owl-dots") ,
177			loop: jQuery(this).data("owl-loop") ,
178			autoplay: jQuery(this).data("owl-autoplay") ,
179			autoplayTimeout: jQuery(this).data("owl-autoplay-timeout") ,
180			responsive:{
181		        0:{ items: jQuery(this).data("owl-mobile-items") },
182		        321:{ items: jQuery(this).data("owl-mobile-items") },
183		        480:{ items: jQuery(this).data("owl-tab-items") },
184		        768:{ items: jQuery(this).data("owl-tab-items") },
185		        992:{ items: jQuery(this).data("owl-desktop-items") },
186		        1200:{ items: jQuery(this).data("owl-desktop-items") }
187		    }
188		});
189	});
190	jQuery(".clients:not(.owl-carousel)").each(function(){
191		jQuery(this).children().css({
192			"width" : "calc(100% / " + jQuery(this).data("row-items") + ")",
193		});
194	});
195	// RADIANTTHEMES IMAGE GALLERY.
196    jQuery(".rt-image-gallery").each(function(){
197        jQuery(this).find(".owl-carousel").owlCarousel({
198            nav: false,
199            dots: false,
200            loop: true,
201            autoplay: true,
202            autoplayTimeout: 6000,
203            items: 1,
204            thumbs: true,
205            thumbImage: true,
206        });
207        jQuery(this).find(".owl-thumb-item").css({
208            "width" : "calc(100% / " + jQuery(this).data("thumbnail-items") + ")" ,
209        });
210	});
211	// RADIANTTHEMES IMAGE SLIDER.
212	jQuery(".rt-image-slider.owl-carousel").each(function(){
213        jQuery(this).owlCarousel({
214            nav: true,
215            dots: true,
216            loop: true,
217            //center: true,
218            //mouseDrag: false,
219            //touchDrag: false,
220            autoplay: true,
221            autoplayTimeout: 6000,
222            responsive:{
223                0:{ items: jQuery(this).data("owl-mobile-items") },
224                321:{ items: jQuery(this).data("owl-mobile-items") },
225                480:{ items: jQuery(this).data("owl-tab-items") },
226                768:{ items: jQuery(this).data("owl-tab-items") },
227                992:{ items: jQuery(this).data("owl-desktop-items") },
228                1200:{ items: jQuery(this).data("owl-desktop-items") }
229            }
230        });
231		jQuery(this).find(".fancybox").fancybox({
232			animationEffect: "zoom-in-out",
233            animationDuration: 500,
234            zoomOpacity: "auto",
235            thumbs: {
236                autoStart: true,
237                axis: "x",
238            }
239		});
240	});
241	// RADIANTTHEMES PORTFOLIO SLIDER.
242    jQuery(".rt-portfolio-slider.owl-carousel").each(function(){
243		jQuery(this).owlCarousel({
244			nav: true,
245			dots: false,
246			mouseDrag: false,
247			touchDrag: true,
248			loop: jQuery(this).data("portfolio-mobileitem") ,
249			autoplay: jQuery(this).data("portfolio-mobileitem") ,
250			autoplayTimeout: jQuery(this).data("portfolio-mobileitem") ,
251			responsive:{
252		        0:{ items: jQuery(this).data("portfolio-mobileitem") },
253		        321:{ items: jQuery(this).data("portfolio-mobileitem") },
254		        480:{ items: jQuery(this).data("portfolio-tabitem") },
255		        768:{ items: jQuery(this).data("portfolio-tabitem") },
256		        992:{ items: jQuery(this).data("portfolio-desktopitem") },
257		        1200:{ items: jQuery(this).data("portfolio-desktopitem") }
258		    }
259        });
260        if ( jQuery(this).hasClass("has-fancybox") ) {
261            jQuery(this).find(".fancybox").fancybox({
262                animationEffect: "zoom-in-out",
263                animationDuration: 500,
264                zoomOpacity: "auto",
265            });
266        }
267	});
268	// RADIANTTHEMES TIMELINE.
269	jQuery(".radiantthemes-timeline").each(function(){
270		jQuery(this).find(".owl-carousel").owlCarousel({
271            nav: false,
272            dots: false,
273            loop: true,
274            autoplay: true,
275            autoplayTimeout: 6000,
276            items: 1,
277            thumbs: true,
278            thumbImage: false,
279        });
280	});
281    // RADIANTTHEMES CASE STUDIES SLIDER.
282    jQuery(".radiantthemes-case-studies-slider.owl-carousel").each(function(){
283		jQuery(this).owlCarousel({
284			nav: false,
285			dots: false,
286			mouseDrag: false,
287			touchDrag: true,
288			loop: jQuery(this).data("case-studies-mobileitem") ,
289			autoplay: jQuery(this).data("case-studies-mobileitem") ,
290			autoplayTimeout: jQuery(this).data("case-studies-mobileitem") ,
291			responsive:{
292		        0:{ items: jQuery(this).data("case-studies-mobileitem") },
293		        321:{ items: jQuery(this).data("case-studies-mobileitem") },
294		        480:{ items: jQuery(this).data("case-studies-tabitem") },
295		        768:{ items: jQuery(this).data("case-studies-tabitem") },
296		        992:{ items: jQuery(this).data("case-studies-desktopitem") },
297		        1200:{ items: jQuery(this).data("case-studies-desktopitem") }
298		    }
299        });
300        if ( jQuery(this).hasClass("has-fancybox") ) {
301            jQuery(this).find(".fancybox").fancybox({
302                animationEffect: "zoom-in-out",
303                animationDuration: 500,
304                zoomOpacity: "auto",
305            });
306        }
307	});
308	// RADIANTTHEMES BLOG ELEMENT.
309	jQuery(".blog.isotope:not(.owl-carousel)").each(function(){
310		jQuery(this).isotope({
311	        layoutMode: 'masonry',
312	    });
313    });
314	// RADIANTTHEMES CASE STUDY ELEMENT.
315	jQuery(".rt-case-study-box.isotope").each(function(){
316        var $RTCaseStudyBoxElementOne = jQuery(this).isotope({
317            layoutMode: 'masonry',
318        });
319        jQuery(this).parent().children(".rt-case-study-box-filter > button:last-child").addClass("current-menu-item");
320        jQuery(this).parent().children(".rt-case-study-box-filter").on( 'click', 'button', function(){
321            jQuery(this).parent().find("button").removeClass("current-menu-item");
322            jQuery(this).attr("class","current-menu-item");
323            $RTCaseStudyBoxElementOne.isotope({
324                filter: jQuery(this).attr("data-filter"),
325            });
326        });
327        if ( jQuery(this).hasClass("has-fancybox") ) {
328            jQuery(this).find(".fancybox").fancybox({
329                animationEffect: "zoom-in-out",
330                animationDuration: 500,
331                zoomOpacity: "auto",
332            });
333        }
334    });
335    // RADIANTTHEMES FLIP BOX.
336    jQuery(".rt-flip-box").each(function(){
337	    jQuery(this).children(".holder").justFlipIt({
338    	    FlipX: jQuery(this).data("flip-box-x") ,
339    	    Template: jQuery(this).find(".second-card") ,
340    	});
341    	jQuery(this).find(".first-card").unwrap();
342	});
343});
344jQuery(window).on("load", function(){
345	// RADIANTTHEMES PORTFOLIO BOX.
346    jQuery(window).load( PortfolioBox );
347    setTimeout( PortfolioBox , 500 );
348    function PortfolioBox(){
349		jQuery(".rt-portfolio-box.isotope").each(function(){
350	        jQuery(this).isotope({
351	        	percentPosition: true,
352	        	layoutMode: 'packery',
353	            //layoutMode: 'masonry',
354	        });
355	        jQuery(this).find(".fancybox").fancybox({
356	            animationEffect: "zoom-in-out",
357	            animationDuration: 500,
358	            zoomOpacity: "auto",
359	        });
360	    });
361	};
362	// RADIANTTHEMES IMAGE GALLERY.
363    jQuery(window).load( ImageGalleryBox );
364    setTimeout( ImageGalleryBox , 500 );
365    function ImageGalleryBox(){
366		jQuery(".rt-image-gallery-holder.isotope").each(function(){
367	        jQuery(this).isotope({
368	        	percentPosition: true,
369	        	layoutMode: 'packery',
370	            //layoutMode: 'masonry',
371	        });
372	        jQuery(this).find(".fancybox").fancybox({
373	            animationEffect: "zoom-in-out",
374	            animationDuration: 500,
375	            zoomOpacity: "auto",
376	        });
377	    });
378	};
379    // VIVUS JS.
380	/*new Vivus('web-design-icon', {
381		type: 'oneByOne',
382		start: 'inViewport',
383		duration: 400,
384	});*/
385});

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.