PageSourceSearch

https://premiumzrt.hu/themes/premiummedia/assets/js/premiummedia.js

js premiumzrt.hu collected 2026-10-03 02:49:51 UTC 15,857 bytes, 333 lines download raw bytes

1!(function (t) {
2    "use strict";
3    (t(".pricing-tabs").length &&
4        t(".pricing-tabs .tab-btns .tab-btn").on("click", function (e) {
5            e.preventDefault();
6            var n = t(t(this).attr("data-tab"));
7            if (t(n).hasClass("actve-tab")) return !1;
8            t(".pricing-tabs .tab-btns .tab-btn").removeClass("active-btn"), t(this).addClass("active-btn"), t(".pricing-tabs .pr-content .pr-tab").removeClass("active-tab"), t(n).addClass("active-tab");
9        }),
10    t(".typed-effect").length &&
11        t(".typed-effect").each(function () {
12            var e = t(this).data("strings"),
13                n = t(this).attr("id");
14            new Typed("#" + n, { typeSpeed: 100, backSpeed: 100, fadeOut: !0, loop: !0, strings: e.split(",") });
15        }),
16    t(".count-bar").length &&
17        t(".count-bar").appear(
18            function () {
19                var e = t(this),
20                    n = e.data("percent");
21                t(e).css("width", n).addClass("counted");
22            },
23            { accY: -50 }
24        ),
25    t(".count-box").length &&
26        t(".count-box").appear(
27            function () {
28                var e = t(this),
29                    n = e.find(".count-text").attr("data-stop"),
30                    i = parseInt(e.find(".count-text").attr("data-speed"), 10);
31                e.hasClass("counted") ||
32                    (e.addClass("counted"),
33                    t({ countNum: e.find(".count-text").text() }).animate(
34                        { countNum: n },
35                        {
36                            duration: i,
37                            easing: "linear",
38                            step: function () {
39                                e.find(".count-text").text(Math.floor(this.countNum));
40                            },
41                            complete: function () {
42                                e.find(".count-text").text(this.countNum);
43                            },
44                        }
45                    ));
46            },
47            { accY: 0 }
48        ),
49    t(".accrodion-grp").length) &&
50        t(".accrodion-grp").each(function () {
51            var e = t(this).data("grp-name"),
52                n = t(this),
53                i = n.find(".accrodion");
54            n.addClass(e),
55                n.find(".accrodion .accrodion-content").hide(),
56                n.find(".accrodion.active").find(".accrodion-content").show(),
57                i.each(function () {
58                    t(this)
59                        .find(".accrodion-title")
60                        .on("click", function () {
61                            !1 === t(this).parent().hasClass("active") &&
62                                (t(".accrodion-grp." + e)
63                                    .find(".accrodion")
64                                    .removeClass("active"),
65                                t(".accrodion-grp." + e)
66                                    .find(".accrodion")
67                                    .find(".accrodion-content")
68                                    .slideUp(),
69                                t(this).parent().addClass("active"),
70                                t(this).parent().find(".accrodion-content").slideDown());
71                        });
72                });
73        });
74    if (
75        (t(".testimonials-one__carousel").length &&
76            t(".testimonials-one__carousel").owlCarousel({
77                loop: !0,
78                margin: 30,
79                nav: !0,
80                smartSpeed: 500,
81                autoHeight: !1,
82                autoplay: !0,
83                dots: !1,
84                autoplayTimeout: 1e4,
85                navText: ['<span class="icon-right-arrow left"></span>', '<span class="icon-right-arrow"></span>'],
86                responsive: { 0: { items: 1 }, 600: { items: 1 }, 800: { items: 2 }, 1024: { items: 2 }, 1200: { items: 2 } },
87            }),
88        t(".scroll-to-target").length &&
89            t(".scroll-to-target").on("click", function () {
90
91                var e = t(this).attr("data-target");
92                return t("html, body").animate({ scrollTop: t(e).offset().top }, 1e3), !1;
93            }),
94        t(".video-popup").length && t(".video-popup").magnificPopup({ type: "iframe", mainClass: "mfp-fade", removalDelay: 160, preloader: !0, fixedContentPos: !1 }),
95        t(".img-popup").length)
96    ) {
97        var e = {};
98        t(".img-popup").each(function () {
99            var n = parseInt(t(this).attr("data-group"), 10);
100            e[n] || (e[n] = []), e[n].push(this);
101        }),
102            t.each(e, function () {
103                t(this).magnificPopup({ type: "image", closeOnContentClick: !0, closeBtnInside: !1, gallery: { enabled: !0 } });
104            });
105    }
106    if (t(".main-menu__list").length) {
107        !(function (e) {
108            let n = window.location.href.split("/").reverse()[0];
109            e.find("li").each(function () {
110                let e = t(this).find("a");
111                t(e).attr("href") == n && t(this).addClass("current");
112            }),
113                e.children("li").each(function () {
114                    t(this).find(".current").length && t(this).addClass("current");
115                }),
116                "" == n && e.find("li").eq(0).addClass("current");
117        })(t(".main-menu__list"));
118    }
119    if (t(".main-menu__list").length && t(".mobile-nav__container").length) {
120        let t = document.querySelector(".main-menu__list").outerHTML;
121        document.querySelector(".mobile-nav__container").innerHTML = t;
122    }
123    if (t(".sticky-header__content").length) {
124        let t = document.querySelector(".main-menu").innerHTML;
125        document.querySelector(".sticky-header__content").innerHTML = t;
126    }
127    if (t(".mobile-nav__container .main-menu__list").length) {
128        t(".mobile-nav__container .main-menu__list .dropdown > a").each(function () {
129            let e = t(this),
130                n = document.createElement("BUTTON");
131            n.setAttribute("aria-label", "dropdown toggler"),
132                (n.innerHTML = "<i class='fa fa-angle-down'></i>"),
133                e.append(function () {
134                    return n;
135                }),
136                e.find("button").on("click", function (e) {
137                    e.preventDefault();
138                    let n = t(this);
139                    n.toggleClass("expanded"), n.parent().toggleClass("expanded"), n.parent().parent().children("ul").slideToggle();
140                });
141        });
142    }
143    (t(".mobile-nav__toggler").length &&
144        t(".mobile-nav__toggler").on("click", function (e) {
145            e.preventDefault(), t(".mobile-nav__wrapper").toggleClass("expanded"), t("body").toggleClass("locked");
146        }),
147    t(".search-toggler").length &&
148        t(".search-toggler").on("click", function (e) {
149            e.preventDefault(), t(".search-popup").toggleClass("active"), t(".mobile-nav__wrapper").removeClass("expanded"), t("body").toggleClass("locked");
150        }),
151    t(".mini-cart__toggler").length &&
152        t(".mini-cart__toggler").on("click", function (e) {
153            e.preventDefault(), t(".mini-cart").toggleClass("expanded"), t(".mobile-nav__wrapper").removeClass("expanded"), t("body").toggleClass("locked");
154        }),
155    t(".odometer").length) &&
156        t(".odometer").each(function () {
157            t(this).appear(function () {
158                var e = t(this).attr("data-count");
159                t(this).html(e);
160            });
161        });
162    if (t(".dynamic-year").length) {
163        let e = new Date();
164        t(".dynamic-year").html(e.getFullYear());
165    }
166    t(".wow").length && new WOW({ boxClass: "wow", animateClass: "animated", mobile: !0, live: !0 }).init();
167    if (t("#donate-amount__predefined").length) {
168        let e = t("#donate-amount");
169        t("#donate-amount__predefined")
170            .find("li")
171            .on("click", function (n) {
172                n.preventDefault();
173                let i = t(this).find("a").text();
174                e.val(i), t("#donate-amount__predefined").find("li").removeClass("active"), t(this).addClass("active");
175            });
176    }
177    if (t(".thm-accordion").length) {
178        t(".thm-accordion").each(function () {
179            let e = t(this),
180                n = e.attr("id"),
181                i = e.find(".thm-accordion__title");
182            e.addClass(n);
183            let a = e.find(".thm-accordion__content").hide();
184            e.find(".active-item .thm-accordion__content").show(),
185                i.on("click", function (e) {
186                    e.preventDefault();
187                    t(this);
188                    let i = t(this).parent();
189                    !1 === i.hasClass("active-item") &&
190                        (t("#" + n)
191                            .find(".thm-accordion__item")
192                            .removeClass("active-item"),
193                        i.addClass("active-item"),
194                        a.slideUp(),
195                        i.find(".thm-accordion__content").slideDown());
196                });
197        });
198    }
199    if (
200        (t(".add").on("click", function () {
201            t(this).prev().val() < 999 &&
202                t(this)
203                    .prev()
204                    .val(+t(this).prev().val() + 1);
205        }),
206        t(".sub").on("click", function () {
207            t(this).next().val() > 1 &&
208                t(this).next().val() > 1 &&
209                t(this)
210                    .next()
211                    .val(+t(this).next().val() - 1);
212        }),
213        t(".tabs-box").length &&
214            t(".tabs-box .tab-buttons .tab-btn").on("click", function (e) {
215                e.preventDefault();
216                var n = t(t(this).attr("data-tab"));
217                if (t(n).is(":visible")) return !1;
218                n.parents(".tabs-box").find(".tab-buttons").find(".tab-btn").removeClass("active-btn"),
219                    t(this).addClass("active-btn"),
220                    n.parents(".tabs-box").find(".tabs-content").find(".tab").fadeOut(0),
221                    n.parents(".tabs-box").find(".tabs-content").find(".tab").removeClass("active-tab"),
222                    t(n).fadeIn(300),
223                    t(n).addClass("active-tab");
224            }),
225        t(".range-slider-price").length)
226    ) {
227        var n = document.getElementById("range-slider-price");
228        noUiSlider.create(n, { start: [30, 150], limit: 200, behaviour: "drag", connect: !0, range: { min: 10, max: 200 } });
229        var i = document.getElementById("min-value-rangeslider"),
230            a = document.getElementById("max-value-rangeslider");
231        n.noUiSlider.on("update", function (e, n) {
232            t(n ? a : i).text(e[n]);
233        });
234    }
235    t(window).on("load", function () {
236        if (
237            (t(".preloader").length && t(".preloader").fadeOut(),
238            document.querySelectorAll(".thm-swiper__slider").forEach(function (t) {
239                const e = JSON.parse(t.dataset.swiperOptions);
240                new Swiper(t, e);
241            }),
242            document.querySelectorAll(".thm-tiny__slider").forEach(function (t) {
243                const e = JSON.parse(t.dataset.tinyOptions);
244                tns(e);
245            }),
246            (function () {
247                if (t("#testimonials-one__thumb").length) {
248                    let t = new Swiper("#testimonials-one__thumb", { slidesPerView: 3, spaceBetween: 0, speed: 1400, watchSlidesVisibility: !0, watchSlidesProgress: !0, autoplay: { delay: 5e3 } });
249                    new Swiper("#testimonials-one__carousel", { observer: !0, observeParents: !0, speed: 1400, mousewheel: !0, slidesPerView: 1, autoplay: { delay: 5e3 }, thumbs: { swiper: t } });
250                }
251            })(),
252            t(".masonary-layout").length && t(".masonary-layout").isotope({ layoutMode: "masonry" }),
253            t(".post-filter").length &&
254                t(".post-filter li")
255                    .children(".filter-text")
256                    .on("click", function () {
257                        var e = t(this),
258                            n = e.parent().attr("data-filter");
259                        return t(".post-filter li").removeClass("active"), e.parent().addClass("active"), t(".filter-layout").isotope({ filter: n, animationOptions: { duration: 500, easing: "linear", queue: !1 } }), !1;
260                    }),
261            t(".post-filter.has-dynamic-filters-counter").length &&
262                t(".post-filter.has-dynamic-filters-counter")
263                    .find("li")
264                    .each(function () {
265                        var e = t(this).data("filter"),
266                            n = t(".filter-layout").find(e).length;
267                        t(this)
268                            .children(".filter-text")
269                            .append('<span class="count">' + n + "</span>");
270                    }),
271            t(".circle-progress").length &&
272                t(".circle-progress").appear(function () {
273                    t(".circle-progress").each(function () {
274                        let e = t(this),
275                            n = e.data("options");
276                        e.circleProgress(n);
277                    });
278                }),
279            t(".post-filter").length)
280        ) {
281            var e = t(".post-filter li");
282            t(".filter-layout").isotope({ filter: ".filter-item", animationOptions: { duration: 500, easing: "linear", queue: !1 } }),
283                e.on("click", function () {
284                    var n = t(this),
285                        i = n.attr("data-filter");
286                    return e.removeClass("active"), n.addClass("active"), t(".filter-layout").isotope({ filter: i, animationOptions: { duration: 500, easing: "linear", queue: !1 } }), !1;
287                });
288        }
289        t(".post-filter.has-dynamic-filter-counter").length &&
290            t(".post-filter.has-dynamic-filter-counter")
291                .find("li")
292                .each(function () {
293                    var e = t(this).data("filter"),
294                        n = t(".filter-layout").find(e).length;
295                    t(this).append("<sup>[" + n + "]</sup>");
296                });
297        t(".testimonial-two__slider .bxslider").length &&
298            t(".testimonial-two__slider .bxslider").bxSlider({
299                nextSelector: ".testimonial-two__slider #slider-next",
300                prevSelector: ".testimonial-two__slider #slider-prev",
301                nextText: '<i class="icon-right-arrow1"></i>',
302                prevText: '<i class="icon-right-arrow1 icon-prev"></i>',
303                mode: "horizontal",
304                auto: "true",
305                speed: "1000",
306                pagerCustom: ".testimonial-two__slider .slider-pager .testimonial-two__thumb-box",
307            });
308    }),
309        t(window).on("scroll", function () {
310            if (t(".stricked-menu").length) {
311                var e = t(".stricked-menu");
312                t(window).scrollTop() > 130 ? e.addClass("stricky-fixed") : t(this).scrollTop() <= 130 && e.removeClass("stricky-fixed");
313            }
314            if (t(".scroll-to-top").length) {
315                t(window).scrollTop() > 100 ? t(".scroll-to-top").fadeIn(500) : t(this).scrollTop() <= 100 && t(".scroll-to-top").fadeOut(500);
316            }
317        }),
318        t(".before-after-twentytwenty").length &&
319            t(".before-after-twentytwenty").each(function () {
320                var e = t(this).attr("id");
321                t("#" + e).twentytwenty(),
322                    t(document).on("shown.bs.tab", 'a[data-toggle="tab"]', function (n) {
323                        var i = t(n.target).attr("data-target"),
324                            a = t(".tab-pane" + i),
325                            o = "#" + e;
326                        0 === a.find(o).height() && a.find(o).trigger("resize");
327                    });
328            });
329			
330
331
332			
333})(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.