PageSourceSearch

https://dilsakinleri.com/wp-content/themes/histudy/assets/js/has-elementor.js?ver=3.1.0.1769697893

js dilsakinleri.com collected 2026-10-03 22:30:09 UTC 21,908 bytes, 698 lines download raw bytes

1(function() {
2	'use strict';
3
4	var $ = jQuery;
5
6
7	function _typeof(obj) {
8		"@babel/helpers - typeof";
9
10		if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
11			_typeof = function(obj) {
12				return typeof obj;
13			};
14		} else {
15			_typeof = function(obj) {
16				return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
17			};
18		}
19
20		return _typeof(obj);
21	}
22    var eduJs = {
23        i: function (e) {
24            eduJs.d();
25            eduJs.methods();
26        },
27        d: function (e) {
28            this._window = $(window),
29                this._document = $(document),
30                this._body = $('body'),
31                this._html = $('html')
32        },
33        methods: function (e) {
34            eduJs.pricingPlan();
35            eduJs.salActive();
36        },
37        salActive: function () {
38            sal({
39                threshold: 0.01,
40                once: true,
41            });
42        },
43        pricingPlan: function () {
44            var mainPlan = $('.rbt-pricing-area');
45            mainPlan.each(function() {
46                var yearlySelectBtn = $('.yearly-plan-btn'),
47                    monthlySelectBtn = $('.monthly-plan-btn'),
48                    monthlyPrice = $('.monthly-pricing'),
49                    yearlyPrice = $('.yearly-pricing'),
50                    buttonSlide = $('.pricing-checkbox');
51
52                $(monthlySelectBtn).on('click', function() {
53                    buttonSlide.prop('checked', true);
54                    $(this).addClass('active').parent('.nav-item').siblings().children().removeClass('active');
55                    monthlyPrice.css('display', 'block');
56                    yearlyPrice.css('display', 'none');
57                });
58                
59                $(yearlySelectBtn).on('click', function() {
60                    buttonSlide.prop('checked', false);
61                    $(this).addClass('active').parent('.nav-item').siblings().children().removeClass('active');
62                    monthlyPrice.css('display', 'none');
63                    yearlyPrice.css('display', 'block');
64                });
65    
66                $(buttonSlide).change(function() {
67                    if ($('input[class="pricing-checkbox"]:checked').length > 0) {
68                        monthlySelectBtn.addClass('active');
69                        yearlySelectBtn.removeClass('active');
70                        monthlyPrice.css('display', 'block');
71                        yearlyPrice.css('display', 'none');
72                    }else {
73                        yearlySelectBtn.addClass('active');
74                        monthlySelectBtn.removeClass('active');
75                        monthlyPrice.css('display', 'none');
76                        yearlyPrice.css('display', 'block');
77                    }
78                });
79            });
80        },
81
82    }
83	function _defineProperty(obj, key, value) {
84		if (key in obj) {
85			Object.defineProperty(obj, key, {
86				value: value,
87				enumerable: true,
88				configurable: true,
89				writable: true
90			});
91		} else {
92			obj[key] = value;
93		}
94
95		return obj;
96	}
97
98	var ThemeHelper = {
99		
100        
101	};
102	var Theme = {
103
104        masonryActivation: function name() {
105            $('.masonary-wrapper-activation').imagesLoaded(function () {
106                // filter items on button click
107                $('.messonry-button').on('click', 'button', function () {
108                    var filterValue = $(this).attr('data-filter');
109                    $(this).siblings('.is-checked').removeClass('is-checked');
110                    $(this).addClass('is-checked');
111                    $grid.isotope({
112                        filter: filterValue
113                    });
114                });
115                // init Isotope
116                var $grid = $('.mesonry-list').isotope({
117                    percentPosition: true,
118                    transitionDuration: '0.7s',
119                    layoutMode: 'masonry',
120                    masonry: {
121                        columnWidth: '.resizer',
122                    }
123                });
124            });
125            $('.splash-masonary-wrapper-activation').imagesLoaded(function () {
126                // filter items on button click
127                $('.messonry-button').on('click', 'button', function () {
128                    var filterValue = $(this).attr('data-filter');
129                    $(this).siblings('.is-checked').removeClass('is-checked');
130                    $(this).addClass('is-checked');
131                    $grid.isotope({
132                        filter: filterValue
133                    });
134                });
135                // init Isotope
136                var $grid = $('.splash-mesonry-list').isotope({
137                    percentPosition: true,
138                    transitionDuration: '0.7s',
139                    layoutMode: 'masonry',
140                    masonry: {
141                        columnWidth: '.resizer',
142                    }
143                });
144            });
145        },
146       counterUp: function counterUp() {
147            var odo = $('.odometer');
148            odo.each(function() {
149                $('.odometer').appear(function(e) {
150                    var countNumber = $(this).attr('data-count');
151                    $(this).html(countNumber);
152                });
153            });
154        },
155
156      eduSwiperActive: function eduSwiperActive() {
157        
158            var bannerSwiper = new Swiper('.banner-swiper-active', {
159                effect: 'cards',
160                grabCursor: true,
161                pagination: {
162                    el: '.rbt-swiper-pagination',
163                    clickable: true,
164                },
165            });
166
167            
168
169            var swiper = new Swiper('.team-slide-activation', {
170                slidesPerView: 1,
171                spaceBetween: 30,
172                loop: true,
173                pagination: {
174                    el: '.rbt-swiper-pagination',
175                    clickable: true,
176                },
177                navigation: {
178                    prevEl: '.rbt-arrow-left',
179                    nextEl: '.rbt-arrow-right',
180                    clickable: true,
181                },
182                breakpoints: {
183                    575: {
184                      slidesPerView: 1,
185                    },
186                    768: {
187                      slidesPerView: 2,
188                    },
189                    992: {
190                      slidesPerView: 3,
191                    },
192                },
193            });
194
195            var swiper = new Swiper('.team-slide-activation-4', {
196                slidesPerView: 1,
197                spaceBetween: 30,
198                loop: true,
199                pagination: {
200                    el: '.rbt-swiper-pagination',
201                    clickable: true,
202                },
203                navigation: {
204                    prevEl: '.rbt-arrow-left',
205                    nextEl: '.rbt-arrow-right',
206                    clickable: true,
207                },
208                breakpoints: {
209                    575: {
210                      slidesPerView: 1,
211                    },
212                    768: {
213                      slidesPerView: 2,
214                    },
215                    992: {
216                      slidesPerView: 3,
217                    },
218                    
219                    1200: {
220                      slidesPerView: 4,
221                    },
222                },
223            });
224
225            var swiper = new Swiper('.blog-post-gallery-activation', {
226                slidesPerView: 1,
227                autoHeight: true,
228                loop: true,
229                navigation: {
230                    prevEl: '.rbt-arrow-left',
231                    nextEl: '.rbt-arrow-right',
232                    clickable: true,
233                }
234            });
235
236            var swiper = new Swiper('.team-slide-activation-2', {
237                slidesPerView: 3,
238                spaceBetween: 0,
239                loop: true,
240                pagination: {
241                    el: '.rbt-swiper-pagination',
242                    clickable: true,
243                },
244                breakpoints: {
245                    320: {
246                        slidesPerView: 1,
247                    },
248                    480: {
249                        slidesPerView: 2,
250                    },
251                    768: {
252                        slidesPerView: 2,
253                    },
254                    992: {
255                        slidesPerView: 3,
256                    },
257                },
258            });
259
260            var swiper = new Swiper('.service-item-3-activation', {
261                slidesPerView: 1,
262                spaceBetween: 0,
263                loop: false,
264                navigation: {
265                    prevEl: '.rbt-arrow-left',
266                    nextEl: '.rbt-arrow-right',
267                    clickable: true,
268                },
269                breakpoints: {
270                    480: {
271                      slidesPerView: 1,
272                    },
273                    481: {
274                      slidesPerView: 2,
275                    },
276                    768: {
277                      slidesPerView: 3,
278                    },
279                    992: {
280                      slidesPerView: 3,
281                    },
282                },
283            });
284
285            var swiper = new Swiper('.viral-banner-activation', {
286                slidesPerView: 1,
287                spaceBetween: 0,
288                loop: false,
289                navigation: {
290                    prevEl: '.rbt-arrow-left',
291                    nextEl: '.rbt-arrow-right',
292                    clickable: true,
293                },
294            });
295
296           
297
298            var swiperThumb = new Swiper('.rbtmySwiperThumb', {
299                spaceBetween: 10,
300                slidesPerView: 2,
301                allowTouchMove: false,
302            });
303
304
305            var swiper = new Swiper('.rbt-banner-activation', {
306                slidesPerView: 1,
307                spaceBetween: 0,
308                loop: false,
309                autoHeight: true,
310                navigation: {
311                    prevEl: '.rbt-arrow-left',
312                    nextEl: '.rbt-arrow-right',
313                    clickable: true,
314                },
315                thumbs: {
316                    swiper: swiperThumb,
317                },
318            });
319
320            var swiper = new Swiper('.rbt-banner-activation-two', {
321                slidesPerView: 1,
322                spaceBetween: 0,
323                loop: false,
324                autoHeight: true,
325                navigation: {
326                    prevEl: '.rbt-arrow-left',
327                    nextEl: '.rbt-arrow-right',
328                    clickable: true,
329                },
330               
331            });
332
333            var swiper = new Swiper('.rbt-gif-banner-area', {
334                slidesPerView: 1,
335                spaceBetween: 0,
336                loop: true,
337                navigation: {
338                    prevEl: '.rbt-arrow-left',
339                    nextEl: '.rbt-arrow-right',
340                    clickable: true,
341                },
342            });
343
344            var swiper = new Swiper('.testimonial-item-3-activation', {
345                slidesPerView: 1,
346                spaceBetween: 0,
347                loop: false,
348                navigation: {
349                    prevEl: '.rbt-arrow-left',
350                    nextEl: '.rbt-arrow-right',
351                    clickable: true,
352                },
353                pagination: {
354                    el: '.rbt-swiper-pagination',
355                    clickable: true,
356                },
357                breakpoints: {
358                    575: {
359                      slidesPerView: 1,
360                    },
361
362                    768: {
363                      slidesPerView: 2,
364                    },
365
366                    992: {
367                      slidesPerView: 3,
368                    },
369                },
370            });
371
372            var swiper = new Swiper('.testimonial-activation-1', {
373                slidesPerView: 1,
374                spaceBetween: 0,
375                loop: true,
376                pagination: {
377                    el: '.rbt-swiper-pagination',
378                    clickable: true,
379                },
380            });
381
382            var swiper = new Swiper('.modern-course-carousel-activation', {
383                slidesPerView: 1,
384                spaceBetween: 0,
385                loop: true,
386                navigation: {
387                    prevEl: '.rbt-arrow-left',
388                    nextEl: '.rbt-arrow-right',
389                    clickable: true,
390                },
391            });
392
393            var swiper = new Swiper('.category-activation-one', {
394                slidesPerView: 1,
395                spaceBetween: 0,
396                loop: true,
397                navigation: {
398                    prevEl: '.rbt-arrow-left',
399                    nextEl: '.rbt-arrow-right',
400                    clickable: true,
401                },
402                breakpoints: {
403                    481: {
404                        slidesPerView: 1,
405                    },
406                    768: {
407                        slidesPerView: 2,
408                    },
409                    992: {
410                        slidesPerView: 3,
411                    },
412                    1200: {
413                        slidesPerView: 4,
414                    }
415                },
416            });
417
418            var swiper = new Swiper('.category-activation-stylefive', {
419                slidesPerView: 1,
420                spaceBetween: 0,
421                loop: true,
422                navigation: {
423                    prevEl: '.rbt-arrow-left',
424                    nextEl: '.rbt-arrow-right',
425                    clickable: true,
426                },
427                pagination: {
428                    el: '.swiper-pagination', // This targets the element where the dots will appear
429                    clickable: true,           // Makes the dots clickable
430                },
431                breakpoints: {
432                    481: {
433                        slidesPerView: 1,
434                    },
435                    768: {
436                        slidesPerView: 2,
437                    },
438                    992: {
439                        slidesPerView: 3,
440                    },
441                    1200: {
442                        slidesPerView: 4,
443                    }
444                },
445            });
446
447
448            var swiper = new Swiper('.category-activation-two', {
449                slidesPerView: 1,
450                spaceBetween: 0,
451                loop: false,
452                navigation: {
453                    prevEl: '.rbt-arrow-left',
454                    nextEl: '.rbt-arrow-right',
455                    clickable: true,
456                },
457                scrollbar: {
458                    el: '.swiper-scrollbar',
459                        draggable: true,
460                        hide: true,
461                        snapOnRelease: true
462                },
463                breakpoints: {
464                    480: {
465                      slidesPerView: 1,
466                    },
467                    481: {
468                      slidesPerView: 2,
469                    },
470                    768: {
471                      slidesPerView: 2,
472                    },
473                    992: {
474                      slidesPerView: 3,
475                    },
476
477                    1200: {
478                      slidesPerView: 6,
479                    },
480                },
481            });
482
483            var swiper = new Swiper('.category-activation-three', {
484                slidesPerView: 1,
485                spaceBetween: 0,
486                loop: true,
487                navigation: {
488                    prevEl: '.rbt-arrow-left',
489                    nextEl: '.rbt-arrow-right',
490                    clickable: true,
491                },
492                scrollbar: {
493                    el: '.swiper-scrollbar',
494                        draggable: true,
495                        hide: true,
496                        snapOnRelease: true
497                },
498                breakpoints: {
499                    480: {
500                      slidesPerView: 1,
501                    },
502                    481: {
503                      slidesPerView: 2,
504                    },
505                    768: {
506                      slidesPerView: 2,
507                    },
508                    992: {
509                      slidesPerView: 3,
510                    },
511                    1200: {
512                      slidesPerView: 4,
513                    },
514                },
515            });
516          
517            var swiper = new Swiper(".category-activation-four", {
518                slidesPerView: 1,
519                spaceBetween: 30,
520                loop: true,
521                navigation: {
522                  nextEl: ".rbt-arrow-left",
523                  prevEl: ".rbt-arrow-right",
524                  clickable: true,
525                },
526                scrollbar: {
527                  el: ".swiper-scrollbar",
528                  draggable: true,
529                  hide: true,
530                  snapOnRelease: true,
531                },
532                breakpoints: {
533                  480: {
534                    slidesPerView: 1,
535                  },
536                  481: {
537                    slidesPerView: 2,
538                  },
539                  768: {
540                    slidesPerView: 2,
541                  },
542                  992: {
543                    slidesPerView: 3,
544                  },
545                  1200: {
546                    slidesPerView: 4,
547                  },
548                },
549              });
550
551            var swiper = new Swiper('.event-activation-1', {
552                slidesPerView: 1,
553                slidesPerGroup: 1,
554                loop: true,
555                spaceBetween: 30,
556                navigation: {
557                    prevEl: '.rbt-arrow-left',
558                    nextEl: '.rbt-arrow-right',
559                    clickable: true,
560                },
561                scrollbar: {
562                    el: '.swiper-scrollbar',
563                        draggable: true,
564                        hide: true,
565                        snapOnRelease: true
566                },
567                pagination: {
568                    el: '.rbt-swiper-pagination',
569                    clickable: true,
570                },
571                breakpoints: {
572                    575: {
573                      slidesPerView: 1,
574                    },
575
576                    768: {
577                      slidesPerView: 2,
578                    },
579
580                    992: {
581                      slidesPerView: 3,
582                    },
583                    1200: {
584                      slidesPerView: 3,
585                      slidesPerGroup: 3,
586                    },
587                },
588            });
589
590
591            var swiper = new Swiper('.banner-splash-inner-layout-active', {
592                effect: 'cards',
593                grabCursor: true,
594                clickable: true,
595                loop: true,
596                pagination: {
597                    el: '.rbt-swiper-pagination',
598                    clickable: true,
599                    type: "fraction",
600                },
601                navigation: {
602                    prevEl: '.rbt-arrow-left',
603                    nextEl: '.rbt-arrow-right',
604                    clickable: true,
605                },
606            });
607
608
609
610        },
611
612 
613     
614	};
615
616	function widthgen() {
617		$(window).on('load resize', elementWidth);
618
619		function elementWidth() {
620			$('.elementwidth').each(function() {
621				var $container = $(this),
622					width = $container.outerWidth(),
623					classes = $container.attr("class").split(' ');
624				var classes1 = startWith(classes, 'elwidth');
625				classes1 = classes1[0].split('-');
626				classes1.splice(0, 1);
627				var classes2 = startWith(classes, 'elmaxwidth');
628				classes2.forEach(function(el) {
629					$container.removeClass(el);
630				});
631				classes1.forEach(function(el) {
632					var maxWidth = parseInt(el);
633
634					if (width <= maxWidth) {
635						$container.addClass('elmaxwidth-' + maxWidth);
636					}
637				});
638			});
639		}
640
641
642		function startWith(item, stringName) {
643			return $.grep(item, function(elem) {
644				return elem.indexOf(stringName) == 0;
645			});
646		}
647	}
648
649	
650	widthgen();
651	
652
653	
654    function content_ready_scripts() {
655		Theme.eduSwiperActive();	 
656        Theme.counterUp();
657        Theme.masonryActivation();
658        eduJs.i();
659        $("[data-background]").each(function () {
660            if( $(this).attr("data-background").length > 0 ) {
661                $(this).css("background-image", "url( " + $(this).attr("data-background") + "  )");
662            }
663        });
664         
665	}
666
667	function content_load_scripts() {	
668		Theme.eduSwiperActive();
669         
670       
671	}
672
673	$(document).ready(function() {
674		content_ready_scripts();	
675	});
676
677	$(window).on('load', function() {
678		content_load_scripts();	
679	 
680	});
681
682	$(window).on('load resize', function() {			
683		content_load_scripts();
684	});	
685
686
687
688	$(window).on('elementor/frontend/init', function() {
689		if (elementorFrontend.isEditMode()) {
690			elementorFrontend.hooks.addAction('frontend/element_ready/widget', function() {
691				content_ready_scripts();
692				content_load_scripts();
693
694			});
695		}
696	});
697
698}());

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.