PageSourceSearch

https://www.milfordmarina.com/public/js/form-inputs.js?v=13.9.9

js milfordmarina.com collected 2026-10-02 23:21:28 UTC 1,441 bytes, 57 lines download raw bytes

1function formatSelectWithImage(state) {
2    const element = state.element;
3
4    return $('<span class="select2-template-image"><img src="/images/flags/'
5        + $(element).data('image')
6        + '">'
7        + $(element).text()
8        + '</span>');
9}
10
11flatpickr('.__date input', {
12    altInput: true,
13    altFormat: 'F j, Y',
14    dateFormat: 'Y-m-d'
15});
16
17flatpickr('.__time input', {
18    enableTime: true,
19    noCalendar: true,
20    time_24hr: true,
21    altInput: true,
22    altFormat: 'F j, Y',
23    dateFormat: 'Y-m-d'
24});
25
26flatpickr('.__datetime input', {
27    enableTime: true,
28    altInput: true,
29    altFormat: 'F j, Y',
30    dateFormat: 'Y-m-d'
31});
32
33$('.__select select').each(function () {
34    $(this).select2({
35        containerCssClass: 'select2-css',
36        minimumResultsForSearch: Infinity
37    });
38});
39
40$('.__selectsearch select').each(function () {
41    $(this).select2({
42        containerCssClass: 'select2-css'
43    });
44});
45
46$('.__selectwithimages select').each(function () {
47    $(this).select2({
48        containerCssClass: 'select2-css',
49        templateResult: formatSelectWithImage,
50        templateSelection: formatSelectWithImage
51    });
52});
53
54$('.__select select, .__selectsearch select, .__selectwithimages select')
55    .on('select2:select select2:unselect select2:clear', function () {
56        this.dispatchEvent(new Event('change', { bubbles: true }));
57    });

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.