PageSourceSearch

https://patrickkavanaghcountry.com/assets/patrickkavanaghcountry.c…/evolve/library/media/js/tabs-5548b19d2d.js

js patrickkavanaghcountry.com collected 2026-09-25 00:00:45 UTC 4,039 bytes, 91 lines download raw bytes

1var _____WB$wombat$assign$function_____=function(name){return (globalThis._wb_wombat && globalThis._wb_wombat.local_init && globalThis._wb_wombat.local_init(name))||globalThis[name];};if(!globalThis.__WB_pmw){globalThis.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{
2let window = _____WB$wombat$assign$function_____("window");
3let self = _____WB$wombat$assign$function_____("self");
4let document = _____WB$wombat$assign$function_____("document");
5let location = _____WB$wombat$assign$function_____("location");
6let top = _____WB$wombat$assign$function_____("top");
7let parent = _____WB$wombat$assign$function_____("parent");
8let frames = _____WB$wombat$assign$function_____("frames");
9let opener = _____WB$wombat$assign$function_____("opener");
10	// Tabs
11	//When page loads...
12	jQuery('.tabs-wrapper').each(function() {
13		jQuery(this).find(".tab_content").hide(); //Hide all content
14		if(document.location.hash && jQuery(this).find("ul.tabs li a[href='"+document.location.hash+"']").length >= 1) {
15			jQuery(this).find("ul.tabs li a[href='"+document.location.hash+"']").parent().addClass("active").show(); //Activate first tab
16			jQuery(this).find(document.location.hash+".tab_content").show(); //Show first tab content
17		} else {
18			jQuery(this).find("ul.tabs li:first").addClass("active").show(); //Activate first tab
19			jQuery(this).find(".tab_content:first").show(); //Show first tab content
20		}
21	});
22	
23	//On Click Event
24	jQuery("ul.tabs li").click(function(e) {
25		jQuery(this).parents('.tabs-wrapper').find("ul.tabs li").removeClass("active"); //Remove any "active" class
26		jQuery(this).addClass("active"); //Add "active" class to selected tab
27		jQuery(this).parents('.tabs-wrapper').find(".tab_content").hide(); //Hide all tab content
28
29		var activeTab = jQuery(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content
30		jQuery(this).parents('.tabs-wrapper').find(activeTab).fadeIn(); //Fade in the active ID content
31		
32	});
33	
34	jQuery("ul.tabs li a").click(function(e) {
35		e.preventDefault();
36	})
37
38	jQuery('#sidebar .tabset').each(function() {
39		var menuWidth = jQuery(this).width();
40	    var menuItems = jQuery(this).find('li').size();
41	    var itemWidth = (menuWidth/menuItems)-1;
42	   	var menuItemsExcludingLast = jQuery(this).find('li:not(:last)');
43	    var menuItemsExcludingLastSize = jQuery(this).find('li:not(:last)').size();
44
45	    jQuery(this).css({'width': menuWidth +'px'});
46	    jQuery(this).find('li').css({'width': itemWidth +'px'});
47
48	    var menuItemsExcludingLastWidth = ((menuItemsExcludingLast.width() + 1) * menuItemsExcludingLastSize);
49	    var lastItemSize = menuWidth - menuItemsExcludingLastWidth;
50
51	    //jQuery(this).find('li:last').css({'width': lastItemSize +'px'});
52	});
53  
54  
55	jQuery('.footer-area .tabset').each(function() {
56		var menuWidth = jQuery(this).width();
57	    var menuItems = jQuery(this).find('li').size();
58	    var itemWidth = (menuWidth/menuItems)-1;
59	   	var menuItemsExcludingLast = jQuery(this).find('li:not(:last)');
60	    var menuItemsExcludingLastSize = jQuery(this).find('li:not(:last)').size();
61
62	    jQuery(this).css({'width': menuWidth +'px'});
63	    jQuery(this).find('li').css({'width': itemWidth +'px'});
64
65	    var menuItemsExcludingLastWidth = ((menuItemsExcludingLast.width() + 1) * menuItemsExcludingLastSize);
66	    var lastItemSize = menuWidth - menuItemsExcludingLastWidth;
67
68	    //jQuery(this).find('li:last').css({'width': lastItemSize +'px'});
69	}); 
70}
71
72/*
73     FILE ARCHIVED ON 07:22:57 Oct 19, 2019 AND RETRIEVED FROM THE
74     INTERNET ARCHIVE ON 12:33:18 Aug 22, 2026.
75     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.
76
77     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
78     SECTION 108(a)(3)).
79*/
80/*
81playback timings (ms):
82  captures_list: 0.457
83  exclusion.robots: 0.059
84  exclusion.robots.policy: 0.049
85  esindex: 0.007
86  cdx.remote: 13.853
87  LoadShardBlock: 108.658 (3)
88  PetaboxLoader3.datanode: 44.862 (4)
89  PetaboxLoader3.resolve: 16.325 (2)
90  load_resource: 10.6
91*/

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.