PageSourceSearch

https://shelfordlodge.com/4.389.1.386/en-GB/scripts/instantweb/She…&maxRoomInventory=32&carouselImageSize=0

js shelfordlodge.com collected 2026-10-04 15:45:55 UTC 6,416 bytes, 201 lines download raw bytes

1
2
3
4$(function() {
5    var bookingResourcesTranslations = {
6        room: "Room",
7        found: "found",
8        moreInfo: "Learn more",
9        lessInfo: "Less info",
10        };
11
12
13
14
15eviivo.availabilitySearch.init({
16    isDefaultReferrer: true,
17    defaultNightsServiced: 0,
18    roomsLimit: 32,
19    cultureLanguageCode: "en-GB",
20    
21    baseSearchUrl: "/en-GB/rooms",
22    
23    resources:
24    {
25        adults: "Adult(s)",
26        children: "Child(ren)",
27        room: "Room",
28        rooms: "Rooms",
29        roomAdded: "{0} Room added",
30        roomsAdded: "{0} Rooms added"
31    }
32});
33    
34delayedInitPromoFeature(eviivo.availabilitySearch.triggerSearch);
35
36
37
38        eviivo.smoothScrolling.init();
39        eviivo.popup.init();
40        eviivo.combinedInventory.init({
41        maxInventory: 32,
42        resources: {
43        soldout: "Sold Out",
44        select: "Select",
45        }
46        });
47
48        
49        eviivo.imageMainGallery.init({
50        initializeGalleryByDefault: true,
51        initializeGalleryOnClick: false,
52        initializeGalleryForRooms: true,
53        });
54
55        
56        
57
58    //enable jquery UI tooltip (only for specific targeted cp-tip items)
59    $(".cp-tip").tooltip({
60        position: {
61            my: "center bottom-15",
62            at: "center top",
63            using: function (position, feedback) {
64                $(this).css(position);
65                $("<div>")
66    .addClass("arrow")
67    .addClass(feedback.vertical)
68    .addClass(feedback.horizontal)
69    .appendTo(this);
70    }
71    },
72    content: function ()
73    {
74    return $(this).prop('title');
75    }
76    });
77
78    $(".accordion-rooms a.accordion-rooms-toggle").on("click", function () {
79    if ($('.intro-description').length) {
80    $(this).parent().siblings(".intro-description").slideToggle("slow");
81    }
82    $(this).siblings(".accordion").slideToggle("slow");
83    $(this).parent().toggleClass("expanded");
84    var textDefault = bookingResourcesTranslations.moreInfo;
85    var textExpanded = bookingResourcesTranslations.lessInfo;
86    $(this).text(function (i, text) {
87    return text === textExpanded ? textDefault : textExpanded;
88    });
89
90
91    });
92    // Close error/notice box
93    var $closeControl = $(".cp-close");
94    $closeControl.on("click", function () {
95    $(this).parent().parent().hide();
96
97    });
98
99    
100    eviivo.stickyContainer.init({
101    resources: {
102    room: bookingResourcesTranslations.room,
103    found: bookingResourcesTranslations.found
104    }
105    });
106
107    $('#accept-cookies').on("click", function () {
108    var currentCookieSession = window.eviivo.webcore.cookieManager.getCookie('userSettings');
109    if (currentCookieSession)
110    {
111    window.eviivo.webcore.cookieManager.setCookie('userSettings', currentCookieSession.concat('&' + 'cookienotification' + '=accepted'), 30);
112    }
113
114    $('.cookiebar').remove();
115    });
116
117    $.widget("custom.iconselectmenu", $.ui.selectmenu, {
118    _renderItem: function (ul, item) {
119    var li = $("<li>", { text: item.label });
120        if (item.disabled) {
121        li.addClass("ui-state-disabled");
122        }
123        $("<span>", {
124            style: item.element.attr("data-style"),
125            "class": "ui-icon " + item.element.attr("data-class")
126            })
127            .appendTo(li);
128            return li.appendTo(ul);
129            }
130            });
131
132            //Let stry to disabled zooming for mobile screens
133            if (/iphone|ipod|android|blackberry|opera mini|opera mobi|skyfire|maemo|windows phone|palm|iemobile|symbian|symbianos|fennec/i.test(navigator.userAgent.toLowerCase())) {
134            $("meta[name='viewport']").attr("content", "width=device-width, initial-scale=1.0, maximum-scale=1.0");
135            }
136            
137
138
139            
140                eviivo.bookingFlow.init({
141                constants: {"room_list":"room_list","available_rooms":"Available Rooms","accommodation":"Accommodation","view_item_list":"view_item_list","view_item":"view_item","select_item":"select_item","select_content":"select_content","add_to_cart":"add_to_cart","purchase":"purchase","page_view":"page_view","unit":"Unit","item_list_id":"item_list_id","item_list_name":"item_list_name","check_in_date":"check_in_date","check_out_date":"check_out_date","content_type":"content_type","currency":"currency","value":"value","items":"items","payment_types":{"card":"Credit Card","existing":"Existing Credit Card","paypal":"PayPal","googlepay":"Google Pay","applepay":"Apple Pay"}},
142                singularRoomTypeTranslation: "Room"
143                });
144            
145        function delayedInitPromoFeature(searchTrigger){
146        eviivo.promos.init({
147        resources: {
148        apply: "Apply",
149        unlockSpecials: "Click to unlock our exclusive deals",
150        enterPromoCode: "Enter your code or member ID"
151        },
152        queryString: {
153        promoCode: "pce",
154        askForPromoInstantDeal: "peid"
155        },
156        cookie:
157        {
158        flags:{
159        promotionCode: "pc_flags",
160        instantDeal: "pid_flags"
161        }
162        },
163        bannerTypes: {
164        webExclusivePromoCode: "WXC",
165        webExclusiveInstantDeal: "WXI",
166        webExclusivePromoCodeFail: "WXCF",
167        webExclusiveBannerWarning: "WXWARN",
168        webExclusivePromoCodeUnlocked: "WXPU"
169        },
170        captcha: {
171        siteKey: "6LdAbAoUAAAAAMuXWv2p3tnpik9AdCDyLRbpfeaB"
172        },
173        searchTrigger: searchTrigger
174        });
175
176        eviivo.promos.codeValidator.init({
177        callback: eviivo.promos.onCodeValid,
178        resources: {
179        promoValidationMessage: "Your promo code is invalid or has expired!",
180        promoValidationEmptyCode: "Promo code cannot be empty!"
181        }
182        });
183        }
184
185        eviivo.instantWebMenu.init();
186
187                    
188                eviivo.mapView.init({
189                googleMapsApiUrl: "//maps.googleapis.com/maps/api/js?key=AIzaSyCtPYb_pV8h_-HxZJIEJ_pJBuPel7LUz5s&amp;v=3&amp;callback=",
190                lat: "52.161075",
191                lng: "0.125198",
192                resources: {
193                switchToMap: "View Map",
194                switchToImage: "View Images"
195                },
196                showMapByDefault: false
197                });
198            
199        });
200
201        

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.