PageSourceSearch

https://pr-logist.com.ua/wp-content/plugins/clever-fox/inc/assets/…=0.1.3.pagespeed.ce.WWZe5yvSgg.js

js pr-logist.com.ua collected 2026-10-06 14:21:27 UTC 6,726 bytes, 120 lines download raw bytes

1/*! OwlCarousel2Thumbs - v0.1.3 | (c) 2015 @gijsroge | MIT license | https://github.com/gijsroge/OwlCarousel2-Thumbs */
2!function(a){"use strict";var b=function(c){this.owl=c,this._thumbcontent=[],this.owl_currentitem=this.owl.options.startPosition,this.$element=this.owl.$element,this._handlers={"prepared.owl.carousel":a.proxy(function(b){if(b.namespace&&this.owl._options.thumbs&&!this.owl._options.thumbImage)this._thumbcontent.push(a(b.content).find("[data-thumb]").attr("data-thumb"));else if(b.namespace&&this.owl._options.thumbs&&this.owl._options.thumbImage){var c=a(b.content).find("img");this._thumbcontent.push(c)}},this),"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this.owl._options.thumbs&&(this.initialize(),this.currentslide(),this.draw())},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&"position"===a.property.name&&this.owl._options.thumbs&&(this.currentslide(),this.draw())},this),"refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._initialized&&this.draw()},this)},this.owl._options=a.extend(b.Defaults,this.owl.options),this.owl.$element.on(this._handlers)};b.Defaults={thumbs:!0,thumbImage:!1,thumbContainerClass:"owl-thumbs",thumbItemClass:"owl-thumb-item"},b.prototype.currentslide=function(){this.owl_currentitem=this.owl._current-this.owl._clones.length/2,this.owl_currentitem===this.owl._items.length&&(this.owl_currentitem=0)},b.prototype.draw=function(){a(this._thumbcontent._thumbcontainer).children().filter(".active").removeClass("active"),a(this._thumbcontent._thumbcontainer).children().eq(this.owl_currentitem).addClass("active")},b.prototype.initialize=function(){var b=this.owl._options;this._thumbcontent._thumbcontainer=a("<div>").addClass(b.thumbContainerClass).appendTo(this.$element);var c;if(this.owl._options.thumbImage)for(c=0;c<this._thumbcontent.length;++c)this._thumbcontent._thumbcontainer.append("<button class="+b.thumbItemClass+'><img src="'+this._thumbcontent[c].attr("src")+'" alt="'+this._thumbcontent[c].attr("alt")+'" /></button>');else for(c=0;c<this._thumbcontent.length;++c)this._thumbcontent._thumbcontainer.append("<button class="+b.thumbItemClass+">"+this._thumbcontent[c]+"</button>");a(this._thumbcontent._thumbcontainer).on("click","button",a.proxy(function(c){var d=a(c.target).parent().is(this._thumbcontent._thumbcontainer)?a(c.target).index():a(c.target).parent().index();c.preventDefault(),this.owl.to(d,b.dotsSpeed)},this))},b.prototype.destroy=function(){var a,b;for(a in this._handlers)this.owl.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Thumbs=b}(window.Zepto||window.jQuery,window,document);
3
4
5jQuery(function($) {
6    $(document).ready(function() {
7		// Header Slide
8        $(".header-slider").owlCarousel({
9            rtl:$("html").attr("dir") == 'rtl' ? true : false,
10            items: 1,
11            loop: true,
12            dots: false,
13            margin: 0,
14            navText: ['<i class="fa fa-chevron-left"></i>', '<i class="fa fa-chevron-right"></i>'],
15            autoHeight: $("body").hasClass("azwa-template") ? true : false,
16            autoplay: true,
17            autoplayTimeout: 60000,
18            animateIn: 'pulse',
19            animateOut: 'fadeOut',
20            thumbs: $("body").hasClass("azwa-template") ? false : true,
21            thumbImage: $("body").hasClass("azwa-template") ? false : true,
22            thumbContainerClass: 'owl-thumbs',
23            thumbItemClass: 'owl-thumb-item',
24            responsive: {
25                0: {
26                    nav: false,
27                },
28                768: {
29                    nav: $("body").hasClass("azwa-template") ? true : false,
30                },
31                992: {
32                    nav: $("body").hasClass("azwa-template") ? true : false,
33                }
34            }
35        });
36
37        // Header Slide items with animate.css
38        var owl = $('.header-slider');
39        owl.owlCarousel();
40        owl.on('translate.owl.carousel', function(event) {
41            $('.header-single-slider h1').removeClass('animated').hide();
42            $('.header-single-slider p').removeClass('animated').hide();
43            $('.header-single-slider .boxed-btn').removeClass('animated').hide();
44        });
45
46        owl.on('translated.owl.carousel', function(event) {
47            $('.header-single-slider h1').addClass('animated fadeInUp').show();
48            $('.header-single-slider p').addClass('animated fadeInDown').show();
49            $('.header-single-slider .boxed-btn').addClass('animated fadeInDown').show();
50        });
51    });
52    // Animated Typing Text
53    var typingText = function (el, toRotate, period) {
54    this.toRotate = toRotate;
55    this.el = el;
56    this.loopNum = 0;
57    this.period = parseInt(period, 10) || 2000;
58    this.txt = "";
59    this.tick();
60    this.isDeleting = false;
61    };
62
63    typingText.prototype.tick = function () {
64    var i = this.loopNum % this.toRotate.length;
65    var fullTxt = this.toRotate[i];
66
67    if (this.isDeleting) {
68      this.txt = fullTxt.substring(0, this.txt.length - 1);
69    } else {
70      this.txt = fullTxt.substring(0, this.txt.length + 1);
71    }
72
73    this.el.innerHTML = '<span class="wrap">' + this.txt + "</span>";
74
75    var that = this;
76    var delta = 200 - Math.random() * 100;
77
78    if (this.isDeleting) {
79      delta /= 2;
80    }
81
82    if (!this.isDeleting && this.txt === fullTxt) {
83      delta = this.period;
84      this.isDeleting = true;
85    } else if (this.isDeleting && this.txt === "") {
86      this.isDeleting = false;
87      this.loopNum++;
88      delta = 500;
89    }
90
91    setTimeout(function () {
92      that.tick();
93    }, delta);
94    };
95
96    window.onload = function () {
97    var elements = document.getElementsByClassName("typewrite");
98    for (var i = 0; i < elements.length; i++) {
99      var toRotate = elements[i].getAttribute("data-type");
100      var period = elements[i].getAttribute("data-period");
101      if (toRotate) {
102        new typingText(elements[i], JSON.parse(toRotate), period);
103      }
104    }
105    // INJECT CSS
106    var css = document.createElement("style");
107    css.type = "text/css";
108    css.innerHTML = $("body").hasClass("azwa-template") ? ".typewrite > .wrap { border-right: 0.08em solid #ffffff}" : ".typewrite > .wrap { border-right: 0.08em solid #ffffff}";
109    document.body.appendChild(css);
110    };
111    // Info Active/Hover
112    if ($("body").hasClass("azwa-template")) {
113      $('.single-contact').each(function(){
114        $(this).hover(function(){
115          $(this).parents('.contact-wrapper').find('.single-contact').removeClass('active');
116          $(this).addClass('active');
117        });
118      });
119    }
120});

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.