PageSourceSearch

https://theaviaryhotel.com/wp-content/themes/sailing-child/assets/…?ver=88b617168183b8f0b401555fb295d590

js theaviaryhotel.com collected 2026-10-07 12:00:44 UTC 3,472 bytes, 37 lines download raw bytes

1	var dateFormat=function(){var t=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZ]|"[^"]*"|'[^']*'/g,e=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,a=/[^-+\dA-Z]/g,m=function(t,e){for(t=String(t),e=e||2;t.length<e;)t="0"+t;return t};return function(d,n,r){var y=dateFormat;if(1!=arguments.length||"[object String]"!=Object.prototype.toString.call(d)||/\d/.test(d)||(n=d,d=void 0),d=d?new Date(d):new Date,isNaN(d))throw SyntaxError("invalid date");"UTC:"==(n=String(y.masks[n]||n||y.masks.default)).slice(0,4)&&(n=n.slice(4),r=!0);var s=r?"getUTC":"get",i=d[s+"Date"](),o=d[s+"Day"](),u=d[s+"Month"](),M=d[s+"FullYear"](),l=d[s+"Hours"](),T=d[s+"Minutes"](),h=d[s+"Seconds"](),c=d[s+"Milliseconds"](),g=r?0:d.getTimezoneOffset(),S={d:i,dd:m(i),ddd:y.i18n.dayNames[o],dddd:y.i18n.dayNames[o+7],m:u+1,mm:m(u+1),mmm:y.i18n.monthNames[u],mmmm:y.i18n.monthNames[u+12],yy:String(M).slice(2),yyyy:M,h:l%12||12,hh:m(l%12||12),H:l,HH:m(l),M:T,MM:m(T),s:h,ss:m(h),l:m(c,3),L:m(c>99?Math.round(c/10):c),t:l<12?"a":"p",tt:l<12?"am":"pm",T:l<12?"A":"P",TT:l<12?"AM":"PM",Z:r?"UTC":(String(d).match(e)||[""]).pop().replace(a,""),o:(g>0?"-":"+")+m(100*Math.floor(Math.abs(g)/60)+Math.abs(g)%60,4),S:["th","st","nd","rd"][i%10>3?0:(i%100-i%10!=10)*i%10]};return n.replace(t,function(t){return t in S?S[t]:t.slice(1,t.length-1)})}}();dateFormat.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"},dateFormat.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]},Date.prototype.format=function(t,e){return dateFormat(this,t,e)};
2
3	jQuery(document).ready(function(){
4		
5		setTimeout(function(){ 
6			new ResponsiveAutoHeight('#location_settings .panel-grid-cell');
7			new ResponsiveAutoHeight('#location_settings .so-panel');
8		}, 2000);
9		
10		   setTimeout(function(){ 
11			  jQuery('.hb-submit').click(function() {
12				  
13				var date_in = jQuery('.hb-form-check-in .check-date').datepicker("option", "dateFormat", 'dd-mm-yy');
14				var date_out = jQuery('.hb-form-check-out .check-date').datepicker("option", "dateFormat", 'dd-mm-yy');
15				
16				var date_out_val = jQuery('.hb-form-check-out .check-date').val();
17				var date_in_val = jQuery('.hb-form-check-in .check-date').val();
18				var quantity = jQuery('.select2-selection__rendered').text();
19						 
20			
21
22				setTimeout(function(){ 
23					jQuery('.hotel-booking-search form').attr('action', 'https://app-apac.thebookingbutton.com/properties/aviarydirect?promotion_code=DIRECT&check_in_date='+date_in_val+'&check_out_date='+date_out_val+'&number_adults='+quantity+'');
24
25				
26					window.open('https://app-apac.thebookingbutton.com/properties/aviarydirect?promotion_code=DIRECT&check_in_date='+date_in_val+'&check_out_date='+date_out_val+'&number_adults='+quantity+'', '_blank');
27				   
28				  // jQuery('.hotel-booking-search form').submit();
29
30				}, 500);
31				
32			});
33		   }, 2000);
34			  
35
36				
37	});

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.