PageSourceSearch

https://studioadi.com/js/mix.js

js studioadi.com collected 2026-10-02 12:42:45 UTC 7,103 bytes, 181 lines download raw bytes

1(function(c, I, B) {
2    c.fn.responsiveSlides = function(l) {
3        var a = c.extend({
4            auto: !0,
5            speed: 1500,
6            timeout: 4E3,
7            pager: !1,
8            nav: !1,
9            random: !1,
10            pause: !1,
11            pauseControls: !0,
12            prevText: "Previous",
13            nextText: "Next",
14            maxwidth: "",
15            navContainer: "",
16            manualControls: "",
17            namespace: "rslides",
18            before: c.noop,
19            after: c.noop
20        }, l);
21        return this.each(function() {
22            B++;
23            var f = c(this),
24                s, r, t, m, p, q, n = 0,
25                e = f.children(),
26                C = e.size(),
27                h = parseFloat(a.speed),
28                D = parseFloat(a.timeout),
29                g = a.namespace,
30                d = g + B,
31                E = g + "_nav " + d + "_nav",
32                v = g + "_here",
33                j = d + "_on",
34                w = d + "_s",
35                k = c("<ul class='" + g + "_tabs " + d + "_tabs' />"),
36                x = {
37                    "float": "left",
38                    position: "relative",
39                    opacity: 1,
40                    zIndex: 2
41                }, y = {
42                    "float": "none",
43                    position: "absolute",
44                    opacity: 0,
45                    zIndex: 1
46                }, F = function() {
47                    var b = (document.body || document.documentElement).style,
48                        a = "transition";
49                    if ("string" === typeof b[a]) return !0;
50                    s = ["Moz", "Webkit", "Khtml", "O", "ms"];
51                    var a = a.charAt(0).toUpperCase() + a.substr(1),
52                        c;
53                    for (c = 0; c < s.length; c++)
54                        if ("string" === typeof b[s[c] + a]) return !0;
55                    return !1
56                }(),
57                z = function(b) {
58                    a.before(b);
59                    F ? (e.removeClass(j).css(y).eq(b).addClass(j).css(x), n = b, setTimeout(function() {
60                        a.after(b)
61                    }, h)) : e.stop().fadeOut(h, function() {
62                        c(this).removeClass(j).css(y).css("opacity", 1)
63                    }).eq(b).fadeIn(h, function() {
64                        c(this).addClass(j).css(x);
65                        a.after(b);
66                        n = b
67                    })
68                };
69            a.random && (e.sort(function() {
70                return Math.round(Math.random()) - 0.5
71            }), f.empty().append(e));
72            e.each(function(a) {
73                this.id = w + a
74            });
75            f.addClass(g + " " + d);
76            l && l.maxwidth && f.css("max-width", "70em");
77            e.hide().css(y).eq(0).addClass(j).css(x).show();
78            F && e.show().css({
79                "-webkit-transition": "opacity " + h + "ms ease-in-out",
80                "-moz-transition": "opacity " + h + "ms ease-in-out",
81                "-o-transition": "opacity " + h + "ms ease-in-out",
82                transition: "opacity " + h + "ms ease-in-out"
83            });
84            if (1 < e.size()) {
85                if (D < h + 100) return;
86                if (a.pager && !a.manualControls) {
87                    var A = [];
88                    e.each(function(a) {
89                        a += 1;
90                        A += "<li><a href='#' class='" + w + a + "'>" + a + "</a></li>"
91                    });
92                    k.append(A);
93                    l.navContainer ? c(a.navContainer).append(k) : f.after(k)
94                }
95                a.manualControls && (k = c(a.manualControls), k.addClass(g + "_tabs " + d + "_tabs"));
96                (a.pager || a.manualControls) && k.find("li").each(function(a) {
97                    c(this).addClass(w + (a + 1))
98                });
99                if (a.pager || a.manualControls) q = k.find("a"), r = function(a) {
100                    q.closest("li").removeClass(v).eq(a).addClass(v)
101                };
102                a.auto && (t = function() {
103                    p = setInterval(function() {
104						
105                        e.stop(!0, !0);
106                        var b = n + 1 < C ? n + 1 : 0;
107                        (a.pager || a.manualControls) && r(b);
108                        z(b)
109						
110						var myTimer;
111						var xd = 0;
112						function startTimer() {
113							
114                       myTimer = window.setInterval( function() {
115                      $('.progressbar').attr('value', xd);
116                       xd++;
117                       }, 38);  
118        
119							};
120                        startTimer();
121						
122						
123						
124                    }, D)
125                }, t());
126                m = function() {
127                    a.auto && (clearInterval(p), t())
128                };
129                a.pause && f.hover(function() {
130                    clearInterval(p)
131                }, function() {
132                    m()
133                });
134                if (a.pager || a.manualControls) q.bind("click", function(b) {
135                    b.preventDefault();
136                    a.pauseControls || m();
137                    b = q.index(this);
138                    n === b || c("." + j).queue("fx").length || (r(b), z(b))
139                }).eq(0).closest("li").addClass(v), a.pauseControls && q.hover(function() {
140                    clearInterval(p)
141                }, function() {
142                    m()
143                });
144                if (a.nav) {
145                    g = "<a href='#' class='" + E + " prev'>" + a.prevText + "</a><a href='#' class='" + E + " next'>" + a.nextText + "</a>";
146                    l.navContainer ? c(a.navContainer).append(g) : f.after(g);
147                    var d = c("." + d + "_nav"),
148                        G = d.filter(".prev");
149                    d.bind("click", function(b) {
150                        b.preventDefault();
151                        b = c("." + j);
152                        if (!b.queue("fx").length) {
153                            var d = e.index(b);
154                            b = d - 1;
155                            d = d + 1 < C ? n + 1 : 0;
156                            z(c(this)[0] === G[0] ? b : d);
157                            if (a.pager || a.manualControls) r(c(this)[0] === G[0] ? b : d);
158                            a.pauseControls || m()
159                        }
160                    });
161                    a.pauseControls && d.hover(function() {
162                        clearInterval(p)
163                    }, function() {
164                        m()
165                    })
166                }
167            }
168            if ("undefined" === typeof document.body.style.maxWidth && l.maxwidth) {
169                var H = function() {
170                    f.css("width", "100%");
171                    f.width() > u && f.css("width", u)
172                };
173                H();
174                c(I).bind("resize", function() {
175                    H()
176                })
177            }
178        })
179    }
180	
181})(jQuery, this, 0);

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.