PageSourceSearch

https://treasure-cove-casino.com/plugins/acmeticker/acmeticker.min.js

js treasure-cove-casino.com collected 2026-10-10 01:02:13 UTC 6,702 bytes, 166 lines download raw bytes

1! function (t) {
2    "use strict";
3    t.fn.AcmeTicker = function (e) {
4        let n, i, o = t.extend({}, t.fn.AcmeTicker.defaults, e),
5            c = t(this),
6            r = !1;
7
8        function a() {
9            switch (o.type) {
10                case "vertical":
11                case "horizontal":
12                    l();
13                    break;
14                case "marquee":
15                    ! function () {
16                        let e, n, i, r = o.speed,
17                            a = o.direction,
18                            l = "left",
19                            s = 0,
20                            u = !1;
21
22                        function f(t, o) {
23                            c.animate({
24                                [l]: "-=" + t
25                            }, o, "linear", function () {
26                                c.css({
27                                    [l]: e
28                                }), f(n, i)
29                            })
30                        }
31
32                        function p() {
33                            let t = c.offset(),
34                                e = "right" === a ? s - t.left : t.left,
35                                n = e + s,
36                                i = n / r;
37                            f(n, i)
38                        }(function () {
39                            c.css({
40                                position: "absolute"
41                            }), c.find("li").css({
42                                display: "inline-block",
43                                marginRight: "10px"
44                            });
45                            let o = c.find("li");
46                            e = c.parent().outerWidth(!0), "right" === a && (l = "right"), c.width(1e4), o.each(function () {
47                                s += t(this).outerWidth(!0) + 5
48                            }), c.width(s), i = (n = s + e) / r, f(s, s / r)
49                        })(), o.controls.toggle && o.controls.toggle.on("click", function (e) {
50                            console.log("mToggle"), u = !u, t(document).trigger("acmeTickerToggle", c, u), u ? c.stop() : p()
51                        }), o.pauseOnHover && c.on("mouseenter", function () {
52                            c.stop()
53                        }).on("mouseleave", function () {
54                            p()
55                        });
56                        o.pauseOnFocus && c.on("focusin", function () {
57                            c.stop()
58                        }).on("focusout", function () {
59                            p()
60                        })
61                    }();
62                    break;
63                case "typewriter":
64                    s()
65            }
66        }
67
68        function l(t = !1) {
69            let e = o.speed,
70                i = o.autoplay,
71                a = o.direction;
72            if (t && (e = 0, i = 0, clearInterval(n), n = !1), n) return !1;
73            n = setInterval(function () {
74                if (r) return clearInterval(n), n = !1, !1;
75                let i, s, u, f;
76                i = c.find("li:first"), s = "up" === a || "right" === a ? "-=" : "+=", "horizontal" === o.type ? (u = "left", f = i.outerWidth(!0)) : (u = "margin-top", f = i.outerHeight(!0)), "prev" === t ? c.find("li:last").detach().prependTo(c) : i.detach().appendTo(c), c.find("li").css({
77                    opacity: "0",
78                    display: "none"
79                }), c.find("li:first").css({
80                    opacity: "1",
81                    position: "absolute",
82                    display: "block",
83                    [u]: s + f + "px"
84                }), c.find("li:first").animate({
85                    [u]: "0px"
86                }, e, function () {
87                    clearInterval(n), n = !1, l()
88                })
89            }, i)
90        }
91
92        function s(t = !1) {
93            if (r) return !1;
94            t && (clearInterval(n), n = !1, clearTimeout(i), i = !1, "prev" === t ? c.find("li:last").detach().prependTo(c) : c.find("li:first").detach().appendTo(c));
95            let e = o.speed,
96                a = o.autoplay,
97                l = c.find("li:first"),
98                u = l.children(),
99                f = 0;
100            l.attr("data-text") && u.text(l.attr("data-text"));
101            let p = l.text();
102
103            function d() {
104                c.find("li:first").detach().appendTo(c), clearTimeout(i), i = !1, s()
105            }
106            c.find("li").css({
107                opacity: "0",
108                display: "none"
109            }), n || (n = setInterval(function () {
110                f++;
111                let t = p.substring(0, f);
112                l.attr("data-text") || l.attr("data-text", p), f <= p.length ? (u.text(t), l.css({
113                    opacity: "1",
114                    display: "block"
115                })) : (clearInterval(n), n = !1, i = setTimeout(d, a))
116            }, e))
117        }
118        if (c.wrap("<div class='acmeticker-wrap'></div>"), c.parent().css({
119                position: "relative"
120            }), c.children("li").not(":first").hide(), a(), "marquee" !== o.type) {
121            function u() {
122                r || a()
123            }
124            o.controls.prev && o.controls.prev.on("click", function (t) {
125                switch (t.preventDefault(), o.type) {
126                    case "typewriter":
127                        s("prev");
128                        break;
129                    default:
130                        l("prev")
131                }
132            }), o.controls.next && o.controls.next.on("click", function (t) {
133                switch (t.preventDefault(), o.type) {
134                    case "typewriter":
135                        s("next");
136                        break;
137                    default:
138                        l("next")
139                }
140            }), o.controls.toggle && o.controls.toggle.on("click", function (e) {
141                e.preventDefault(), r = !r, t(document).trigger("acmeTickerToggle", c, r), u()
142            }), o.pauseOnHover && c.on("mouseenter", function () {
143                r = !0, u()
144            }).on("mouseleave", function () {
145                r = !1, u()
146            }), o.pauseOnFocus && c.on("focusin", function () {
147                r = !0, u()
148            }).on("focusout", function () {
149                r = !1, u()
150            })
151        }
152    }, t.fn.AcmeTicker.defaults = {
153        type: "horizontal",
154        autoplay: 1e1,
155        speed: 50,
156        direction: "up",
157        pauseOnFocus: !0,
158        pauseOnHover: !0,
159        controls: {
160            prev: "",
161            next: "",
162            toggle: ""
163        }
164    }
165}(jQuery);
166//# sourceMappingURL=acmeticker.min.js.map

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.