PageSourceSearch

https://gacoslot138-dg.cfd/assets/js/root/uc_jackpot.js?v=2

js gacoslot138-dg.cfd collected 2026-10-10 02:42:22 UTC 2,859 bytes, 67 lines download raw bytes

1let jumpingAmount = 0.6306;
2let updateJackpotDuration = 960000;
3let updateJackpotTime = 200;
4let decimalPlace = 0;
5let updateJackpotTimeout = 0;
6let updateAmountInterval = 0;
7let progressiveJackpotObject = {
8    amount: 0,
9    display: 0,
10    currency: ""
11};
12if (typeof jpThousandSeperator === 'undefined' || jpThousandSeperator === "" || jpThousandSeperator === null || typeof jpDecimalSeperator === 'undefined' || jpDecimalSeperator === "" || jpDecimalSeperator === null) {
13    let localeAmount = (1000.1).toLocaleString(languageCode);
14    jpThousandSeperator = localeAmount.slice(1, 2);
15    jpDecimalSeperator = localeAmount.slice(-2, -1);
16}
17$(function () {
18    setTimeout(sendUpdateJackpot, 5000);
19});
20function sendUpdateJackpot() {
21    fetch(`${getJackpot}`, {
22        method: 'GET',
23        headers: {
24            'Content-Type': 'application/json; charset=utf-8'
25        }
26    })
27    .then(response => response.json())
28    .then(msg => {
29        if (msg.Item1 && msg.Item2) {
30            var currency = msg.Item3;
31            var amt = msg.Item2;
32            var provider = msg.Item1;
33            $(".jackpot-container .jackpot-provider").each(function () {
34                var $this = $(this);
35                var useIcon = $this.attr("data-useicon");
36                if (useIcon === "True") {
37                    $this.attr("data-provider", provider)
38                        .addClass("svg-icon");
39                } else {
40                    $this.html(provider);
41                }
42            });
43            $(".jackpot-container .jackpot-currency").html(currency);
44            if (amt >= 0) {
45                progressiveJackpotObject.amount = amt;
46                decimalPlace = (Math.floor(progressiveJackpotObject.amount).toString().length <= 9) ? 2 : 0;
47            }
48
49            progressiveJackpotObject.display = progressiveJackpotObject.amount - (jumpingAmount * (updateJackpotDuration / updateJackpotTime));
50            clearInterval(updateAmountInterval);
51            updateAmountInterval = setInterval(increaseGap, updateJackpotTime);
52
53            clearTimeout(updateJackpotTimeout);
54            updateJackpotTimeout = setTimeout(sendUpdateJackpot, updateJackpotDuration, false);
55        }
56    });
57}
58function increaseGap() {
59    progressiveJackpotObject.display += jumpingAmount;
60    if (progressiveJackpotObject.display >= progressiveJackpotObject.amount) {
61        clearInterval(updateAmountInterval);
62        progressiveJackpotObject.display = progressiveJackpotObject.amount;
63    }
64    var amt = progressiveJackpotObject.display;
65    if (amt <= 0) return;
66    $(".jackpot-container .jackpot-amount").html(progressiveJackpotObject.currency + " " + amt.toFixed(decimalPlace).replace(".", jpDecimalSeperator).replace(/\B(?=(\d{3})+(?!\d))/g, jpThousandSeperator));
67}

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.