PageSourceSearch

https://tickets.museumgouda.nl/custom/museumgouda/js/custom.js?v1.0.1494

js museumgouda.nl collected 2026-09-24 20:39:19 UTC 1,361 bytes, 46 lines download raw bytes

1/************************************************
2    Museum Gouda
3************************************************/
4
5$(function () {
6    /************************************************
7	Dynamic prices
8************************************************/
9    if (
10        parseFloat(ticketsTotalPrice) <= 0 ||
11        typeof dynamicPriceDates == "undefined" ||
12        dynamicPriceDates.length === 0
13    ) {
14        $("#calendar-section").removeClass("has-titles");
15    } else {
16        $("#calendar-section").addClass("has-titles");
17        var dates = [];
18
19        $.each(dynamicPriceDates, function (date, settings) {
20            var dayPrice = 0;
21
22            $.each(ticketNumbers, function (i, number) {
23                if (settings["day"][i]["price"] != undefined) {
24                    var base = settings["day"][i]["base"];
25                    var price = settings["day"][i]["price"];
26
27                    dayPrice += parseFloat((price - base) * number);
28                }
29            });
30
31            dates.push({
32                date: date,
33                title:
34                    dayPrice !== 0
35                        ? (dayPrice < 0 ? "" : "+") + convertPrice(dayPrice)
36                        : "",
37            });
38        });
39
40        datesTitle = {
41            dates: dates,
42        };
43
44        $(".calendar").datepicker("refresh");
45    }
46});

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.