1var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; 2if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } 3{ 4 let window = _____WB$wombat$assign$function_____("window"); 5 let self = _____WB$wombat$assign$function_____("self"); 6 let document = _____WB$wombat$assign$function_____("document"); 7 let location = _____WB$wombat$assign$function_____("location"); 8 let top = _____WB$wombat$assign$function_____("top"); 9 let parent = _____WB$wombat$assign$function_____("parent"); 10 let frames = _____WB$wombat$assign$function_____("frames"); 11 let opener = _____WB$wombat$assign$function_____("opener"); 12 13/*! 14 * jQuery Countdown Plugin v1.0 15 * https://github.com/eAdnan007/jquery-countdown 16 * 17 * Copyright 2014 Mohaimenul Haque Adnan 18 * Released under the GPL license 19 */ 20(function($){ 21 $.fn.countdown = function(options){ 22 //Variables that we are going to use 23 var dwcd_day, dwcd_hour, dwcd_minute, dwcd_second, dwcd_start_time, dwcd_end_time, dwcd_complete = false; 24 25 //Set the default settings 26 var settings = $.extend({ 27 start_time : null, 28 end_time : null, 29 show_day : true, 30 show_hour : true, 31 show_minute : true, 32 show_second : true, 33 update_int : 1, 34 progress : false, 35 onComplete : function(){}, 36 wrapper : function(unit){ 37 38 39 var wrapper = $('<div class="'+unit.toLowerCase()+'_wrapper" />'); 40 wrapper.append('<span class="counter" />'); 41 wrapper.append('<span class="title ">'+unit+'</span>'); 42 43 return wrapper; 44 }, 45 update_progress : function(progress, element){ 46 element.attr('aria-valuenow', Math.floor(progress));//We set a custom attribute, 'area-valuenow' containing the progress 47 element.css('width', Math.floor(progress)+'%');//Fill the bar with percentage of progress 48 element.text(Math.floor(progress)+'%');//Put text notation of progress inside the progressbar 49 } 50 }, options); 51 52 //If start time is not set, set it to current time. 53 if(settings.start_time == null) dwcd_start_time = new Date(); 54 else dwcd_start_time = new Date(settings.start_time); 55 56 //If end time is not set(silly), set it to some time tomorrow. 57 if(settings.end_time == null) dwcd_end_time = new Date(new Date() + 25 * 60 * 60 * 1000); 58 else dwcd_end_time = new Date(settings.end_time); 59 60 61 //Check each countdown unit if it is set to display and create html element to display them. 62 if(settings.show_day) 63 dwcd_day = settings.wrapper('Days'); 64 if(settings.show_hour) 65 dwcd_hour = settings.wrapper('Hours'); 66 if(settings.show_minute) 67 dwcd_minute = settings.wrapper('Minutes'); 68 if(settings.show_second) 69 dwcd_second = settings.wrapper('Seconds'); 70 71 72 //Update the countdown timer and progressbar on set interval. 73 update();//First time it should run without wait. 74 setInterval(update, settings.update_int*1000); 75 76 77 //We get every countdown element's html inside the main element. 78 this.prepend(dwcd_second); 79 this.prepend(dwcd_minute); 80 this.prepend(dwcd_hour); 81 this.prepend(dwcd_day); 82 83 84 function update(){ 85 86 var now = new Date(); 87 var left = dwcd_end_time - now; 88 89 //How much time is left? 90 left = Math.floor(left / 1000); 91 if(left < 1) left = 0;//We don't want to count negatives! 92 93 //If no time is left it is complete. 94 if(!dwcd_complete){ 95 if(left == 0){ 96 dwcd_complete = true; 97 settings.onComplete(); 98 } 99 } 100 101 //Extract the days and keep remaining hours in the variable 'left' 102 var days = Math.floor(left / (60 * 60 * 24)); 103 if(settings.show_day){ 104 dwcd_day.find('.counter').text(days); 105 left = left % (60 * 60 * 24); 106 } 107 108 //Extract the hours and keep remaining minutes in the variable 'left' 109 var hours = Math.floor(left / (60 * 60)); 110 if(settings.show_hour){ 111 dwcd_hour.find('.counter').text(hours); 112 left = left % (60 * 60); 113 } 114 115 //Extract the minutes and keep remaining seconds in the variable 'left' 116 var minutes = Math.floor(left / 60); 117 if(settings.show_minute){ 118 dwcd_minute.find('.counter').text(minutes); 119 left = left % 60; 120 } 121 122 //Whatever we have left is seconds. 123 var seconds = Math.floor(left); 124 if(settings.show_second){ 125 dwcd_second.find('.counter').text(seconds); 126 } 127 128 //If progressbar is set to display, get in to update it. 129 if(settings.progress != false){ 130 var total_time = Math.round(dwcd_end_time - dwcd_start_time);//How much time in total 131 var spent_time = Math.round(now - dwcd_start_time);//How much time already spent 132 var progress = spent_time/total_time*100;//Percentage of progress 133 if(progress > 100)progress = 100;//Progress should never be more than 100% 134 135 settings.update_progress(progress, settings.progress);//Call the progress update function 136 } 137 } 138 } 139})(jQuery); 140 141} 142/* 143 FILE ARCHIVED ON 20:42:22 Jan 22, 2019 AND RETRIEVED FROM THE 144 INTERNET ARCHIVE ON 09:26:37 May 04, 2021. 145 JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. 146
147 ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. 148 SECTION 108(a)(3)). 149*/ 150/* 151playback timings (ms): 152 captures_list: 603.598 153 exclusion.robots: 0.101 154 exclusion.robots.policy: 0.094 155 RedisCDXSource: 6.429 156 esindex: 0.01 157 LoadShardBlock: 574.349 (3) 158 PetaboxLoader3.datanode: 1526.053 (5) 159 CDXLines.iter: 20.196 (3) 160 load_resource: 1289.579 (2) 161 PetaboxLoader3.resolve: 153.574 (2) 162*/
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.