PageSourceSearch

https://e-autopalyamatrica.hu/js/theme.init.js

js e-autopalyamatrica.hu collected 2026-10-05 08:36:19 UTC 10,915 bytes, 331 lines download raw bytes

1// Commom Plugins
2(function($) {
3
4	'use strict';
5
6	// Scroll to Top Button.
7	if (typeof theme.PluginScrollToTop !== 'undefined') {
8		theme.PluginScrollToTop.initialize();
9	}
10
11	// Tooltips
12	var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'))
13	var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) {
14	  	return new bootstrap.Tooltip(tooltipTriggerEl)
15	});
16
17	// Popovers
18	var popoverTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]'))
19	var popoverList = popoverTriggerList.map(function (popoverTriggerEl) {
20	  	return new bootstrap.Popover(popoverTriggerEl)
21	});
22
23	// Validations
24	if ( $.isFunction($.validator) && typeof theme.PluginValidation !== 'undefined') {
25		theme.PluginValidation.initialize();
26	}
27
28
29
30	// Animate
31	if ($.isFunction($.fn['themePluginAnimate']) && $('[data-appear-animation]').length) {
32		theme.fn.dynIntObsInit( '[data-appear-animation], [data-appear-animation-svg]', 'themePluginAnimate', theme.PluginAnimate.defaults );
33	}
34
35	// Animated Letters
36	if ($.isFunction($.fn['themePluginAnimatedLetters']) && ( $('[data-plugin-animated-letters]').length || $('.animated-letters').length )) {
37		theme.fn.intObsInit( '[data-plugin-animated-letters]:not(.manual), .animated-letters', 'themePluginAnimatedLetters' );
38	}
39
40	// Before / After
41	if ($.isFunction($.fn['themePluginBeforeAfter']) && $('[data-plugin-before-after]').length) {
42		theme.fn.intObsInit( '[data-plugin-before-after]:not(.manual)', 'themePluginBeforeAfter' );
43	}
44
45	// Carousel Light
46	if ($.isFunction($.fn['themePluginCarouselLight']) && $('.owl-carousel-light').length) {
47		theme.fn.intObsInit( '.owl-carousel-light', 'themePluginCarouselLight' );
48	}
49
50	// Carousel
51	if ($.isFunction($.fn['themePluginCarousel']) && $('[data-plugin-carousel]:not(.manual), .owl-carousel:not(.manual)').length) {
52		theme.fn.intObsInit( '[data-plugin-carousel]:not(.manual), .owl-carousel:not(.manual)', 'themePluginCarousel' );
53	}
54
55	// Chart.Circular
56	if ($.isFunction($.fn['themePluginChartCircular']) && ( $('[data-plugin-chart-circular]').length || $('.circular-bar-chart').length )) {
57		theme.fn.dynIntObsInit( '[data-plugin-chart-circular]:not(.manual), .circular-bar-chart:not(.manual)', 'themePluginChartCircular', theme.PluginChartCircular.defaults );
58	}
59
60	// Countdown
61	if ($.isFunction($.fn['themePluginCountdown']) && ( $('[data-plugin-countdown]').length || $('.countdown').length )) {
62		theme.fn.intObsInit( '[data-plugin-countdown]:not(.manual), .countdown', 'themePluginCountdown' );
63	}
64
65	// Counter
66	if ($.isFunction($.fn['themePluginCounter']) && ( $('[data-plugin-counter]').length || $('.counters [data-to]').length )) {
67		theme.fn.dynIntObsInit( '[data-plugin-counter]:not(.manual), .counters [data-to]', 'themePluginCounter', theme.PluginCounter.defaults );
68	}
69
70	// Cursor Effect
71	if ($.isFunction($.fn['themePluginCursorEffect']) && $('[data-plugin-cursor-effect]').length ) {
72		theme.fn.intObsInit( '[data-plugin-cursor-effect]:not(.manual)', 'themePluginCursorEffect' );
73	}
74
75	// Float Element
76	if ($.isFunction($.fn['themePluginFloatElement']) && $('[data-plugin-float-element]').length) {
77		theme.fn.intObsInit( '[data-plugin-float-element], [data-plugin-float-element-svg]', 'themePluginFloatElement' );
78	}
79
80	// GDPR
81	if ($.isFunction($.fn['themePluginGDPR']) && $('[data-plugin-gdpr]').length) {
82
83		$(function() {
84			$('[data-plugin-gdpr]:not(.manual)').each(function() {
85				var $this = $(this),
86					opts;
87
88				var pluginOptions = theme.fn.getOptions($this.data('plugin-options'));
89				if (pluginOptions)
90					opts = pluginOptions;
91
92				$this.themePluginGDPR(opts);
93			});
94		});
95
96	}
97
98	// GDPR Wrapper
99	if ($.isFunction($.fn['themePluginGDPRWrapper']) && $('[data-plugin-gdpr-wrapper]').length) {
100
101		$(function() {
102			$('[data-plugin-gdpr-wrapper]:not(.manual)').each(function() {
103				var $this = $(this),
104					opts;
105
106				var pluginOptions = theme.fn.getOptions($this.data('plugin-options'));
107				if (pluginOptions)
108					opts = pluginOptions;
109
110				$this.themePluginGDPRWrapper(opts);
111			});
112		});
113
114	}
115
116	// Animated Icon
117	if ($.isFunction($.fn['themePluginIcon']) && $('[data-icon]').length) {
118		theme.fn.dynIntObsInit( '[data-icon]:not(.svg-inline--fa)', 'themePluginIcon', theme.PluginIcon.defaults );
119	}
120
121	// Lightbox
122	if ($.isFunction($.fn['themePluginLightbox']) && ( $('[data-plugin-lightbox]').length || $('.lightbox').length )) {
123		theme.fn.execOnceTroughEvent( '[data-plugin-lightbox]:not(.manual), .lightbox:not(.manual)', 'mouseover.trigger.lightbox', function(){
124			var $this = $(this),
125				opts;
126
127			var pluginOptions = theme.fn.getOptions($this.data('plugin-options'));
128			if (pluginOptions)
129				opts = pluginOptions;
130
131			$this.themePluginLightbox(opts);
132		});
133	}
134
135	// Masonry
136	if ($.isFunction($.fn['themePluginMasonry']) && $('[data-plugin-masonry]').length) {
137
138		$(function() {
139			$('[data-plugin-masonry]:not(.manual)').each(function() {
140				var $this = $(this),
141					opts;
142
143				var pluginOptions = theme.fn.getOptions($this.data('plugin-options'));
144				if (pluginOptions)
145					opts = pluginOptions;
146
147				$this.themePluginMasonry(opts);
148			});
149		});
150
151	}
152
153	// Match Height
154	if ($.isFunction($.fn['themePluginMatchHeight']) && $('[data-plugin-match-height]').length) {
155
156		$(function() {
157			$('[data-plugin-match-height]:not(.manual)').each(function() {
158				var $this = $(this),
159					opts;
160
161				var pluginOptions = theme.fn.getOptions($this.data('plugin-options'));
162				if (pluginOptions)
163					opts = pluginOptions;
164
165				$this.themePluginMatchHeight(opts);
166			});
167		});
168
169	}
170
171	// Parallax
172	if ($.isFunction($.fn['themePluginParallax']) && $('[data-plugin-parallax]').length) {
173		theme.fn.intObsInit( '[data-plugin-parallax]:not(.manual)', 'themePluginParallax' );
174	}
175
176	// Progress Bar
177	if ($.isFunction($.fn['themePluginProgressBar']) && ( $('[data-plugin-progress-bar]') || $('[data-appear-progress-animation]').length )) {
178		theme.fn.dynIntObsInit( '[data-plugin-progress-bar]:not(.manual), [data-appear-progress-animation]', 'themePluginProgressBar', theme.PluginProgressBar.defaults );
179	}
180
181	// Random Images
182	if ($.isFunction($.fn['themePluginRandomImages']) && $('[data-plugin-random-images]').length) {
183		theme.fn.dynIntObsInit( '.plugin-random-images', 'themePluginRandomImages', theme.PluginRandomImages.defaults );
184	}
185
186	// Read More
187	if ($.isFunction($.fn['themePluginReadMore']) && $('[data-plugin-readmore]').length) {
188		theme.fn.intObsInit( '[data-plugin-readmore]:not(.manual)', 'themePluginReadMore' );
189	}
190
191	// Revolution Slider
192	if ($.isFunction($.fn['themePluginRevolutionSlider']) && ( $('[data-plugin-revolution-slider]').length || $('.slider-container .slider').length )) {
193
194		$(function() {
195			$('[data-plugin-revolution-slider]:not(.manual), .slider-container .slider:not(.manual)').each(function() {
196				var $this = $(this),
197					opts;
198
199				var pluginOptions = theme.fn.getOptions($this.data('plugin-options'));
200				if (pluginOptions)
201					opts = pluginOptions;
202
203				$this.themePluginRevolutionSlider(opts);
204			});
205		});
206
207	}
208
209	// Scroll Spy
210	if ($.isFunction($.fn['themePluginScrollSpy']) && $('[data-plugin-scroll-spy]').length) {
211
212		$(function() {
213			$('[data-plugin-scroll-spy]:not(.manual)').each(function() {
214				var $this = $(this),
215					opts;
216
217				var pluginOptions = theme.fn.getOptions($this.data('plugin-options'));
218				if (pluginOptions)
219					opts = pluginOptions;
220
221				$this.themePluginScrollSpy(opts);
222			});
223		});
224
225	}
226
227	// Scrollable
228	if ( $.isFunction($.fn[ 'nanoScroller' ]) && $('[data-plugin-scrollable]').length ) {
229		theme.fn.intObsInit( '[data-plugin-scrollable]', 'themePluginScrollable' );
230	}
231
232	// Section Scroll
233	if ($.isFunction($.fn['themePluginSectionScroll']) && $('[data-plugin-section-scroll]').length) {
234
235		$(function() {
236			$('[data-plugin-section-scroll]:not(.manual)').each(function() {
237				var $this = $(this),
238					opts;
239
240				var pluginOptions = theme.fn.getOptions($this.data('plugin-options'));
241				if (pluginOptions)
242					opts = pluginOptions;
243
244				$this.themePluginSectionScroll(opts);
245			});
246		});
247
248	}
249
250	// Sort
251	if ($.isFunction($.fn['themePluginSort']) && ( $('[data-plugin-sort]').length || $('.sort-source').length )) {
252		theme.fn.intObsInit( '[data-plugin-sort]:not(.manual), .sort-source:not(.manual)', 'themePluginSort' );
253	}
254
255	// Star Rating
256	if ($.isFunction($.fn['themePluginStarRating']) && $('[data-plugin-star-rating]').length) {
257		theme.fn.intObsInit( '[data-plugin-star-rating]:not(.manual)', 'themePluginStarRating' );
258	}
259
260	// Sticky
261	if ($.isFunction($.fn['themePluginSticky']) && $('[data-plugin-sticky]').length) {
262		theme.fn.execOnceTroughWindowEvent( window, 'scroll.trigger.sticky', function(){
263			$('[data-plugin-sticky]:not(.manual)').each(function() {
264				var $this = $(this),
265					opts;
266
267				var pluginOptions = theme.fn.getOptions($this.data('plugin-options'));
268				if (pluginOptions)
269					opts = pluginOptions;
270
271				$this.themePluginSticky(opts);
272			});
273		});
274	}
275
276	// Toggle
277	if ($.isFunction($.fn['themePluginToggle']) && $('[data-plugin-toggle]').length) {
278		theme.fn.intObsInit( '[data-plugin-toggle]:not(.manual)', 'themePluginToggle' );
279	}
280
281	// Tweets
282	if ($.isFunction($.fn['themePluginTweets']) && $('[data-plugin-tweets]').length) {
283
284		$(function() {
285			$('[data-plugin-tweets]:not(.manual)').each(function() {
286				var $this = $(this),
287					opts;
288
289				var pluginOptions = theme.fn.getOptions($this.data('plugin-options'));
290				if (pluginOptions)
291					opts = pluginOptions;
292
293				$this.themePluginTweets(opts);
294			});
295		});
296
297	}
298
299	// Video Background
300	if ($.isFunction($.fn['themePluginVideoBackground']) && $('[data-plugin-video-background]').length) {
301		theme.fn.intObsInit( '[data-plugin-video-background]:not(.manual)', 'themePluginVideoBackground' );
302	}
303
304	// -- Commom Partials
305
306	// Sticky Header
307	if (typeof theme.StickyHeader !== 'undefined') {
308		theme.StickyHeader.initialize();
309	}
310
311	// Nav Menu
312	if (typeof theme.Nav !== 'undefined') {
313		theme.Nav.initialize();
314	}
315
316	// Search
317	if (typeof theme.Search !== 'undefined' && ( $('#searchForm').length || $('.header-nav-features-search-reveal').length )) {
318		theme.Search.initialize();
319	}
320
321	// Newsletter
322	if (typeof theme.Newsletter !== 'undefined' && $('#newsletterForm').length) {
323		theme.fn.intObs( '#newsletterForm', 'theme.Newsletter.initialize();', {} );
324	}
325
326	// Account
327	if (typeof theme.Account !== 'undefined' && ( $('#headerAccount').length || $('#headerSignUp').length || $('#headerSignIn').length || $('#headerRecover').length || $('#headerRecoverCancel').length )) {
328		theme.Account.initialize();
329	}
330
331}).apply(this, [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.