PageSourceSearch

https://mypreaknessbets.com/js/init.js

js mypreaknessbets.com collected 2026-10-09 05:18:50 UTC 4,821 bytes, 86 lines download raw bytes

1/*
2	ZeroFour by HTML5 UP
3	html5up.net | @n33co
4	Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5*/
6
7(function($) {
8
9	skel.init({
10		reset: 'full',
11		breakpoints: {
12			'global':	{ range: '*', href: 'css/style.css' },
13			'desktop':	{ range: '737-', href: 'css/style-desktop.css', containers: 1200, grid: { gutters: 50 } },
14			'1000px':	{ range: '737-1200', href: 'css/style-1000px.css', containers: '100%!', grid: { gutters: 35 }, viewport: { width: 1080 } },
15			'mobile':	{ range: '-736', href: 'css/style-mobile.css', containers: '100%!', grid: { collapse: true, gutters: 10 }, viewport: { scalable: false } }
16		},
17		plugins: {
18			layers: {
19				config: {
20					mode: 'transform'
21				},
22				navPanel: {
23					hidden: true,
24					breakpoints: 'mobile',
25					position: 'top-left',
26					side: 'left',
27					animation: 'pushX',
28					width: '80%',
29					height: '100%',
30					clickToHide: true,
31					html: '<div data-action="navList" data-args="nav"></div>',
32					orientation: 'vertical'
33				},
34				titleBar: {
35					breakpoints: 'mobile',
36					position: 'top-left',
37					side: 'top',
38					height: 44,
39					width: '100%',
40					html: '<span class="toggle" data-action="toggleLayer" data-args="navPanel"></span><span class="title" data-action="copyHTML" data-args="logo"></span>'
41				}
42			}
43		}
44	});
45
46	$(function() {
47
48		var	$window = $(window),
49			$body = $('body');
50
51		// Disable animations/transitions until the page has loaded.
52			$body.addClass('is-loading');
53
54			$window.on('load', function() {
55				$body.removeClass('is-loading');
56			});
57
58		// Forms (IE<10).
59			var $form = $('form');
60			if ($form.length > 0) {
61
62				$form.find('.form-button-submit')
63					.on('click', function() {
64						$(this).parents('form').submit();
65						return false;
66					});
67
68				if (skel.vars.IEVersion < 10) {
69					$.fn.n33_formerize=function(){var _fakes=new Array(),_form = $(this);_form.find('input[type=text],textarea').each(function() { var e = $(this); if (e.val() == '' || e.val() == e.attr('placeholder')) { e.addClass('formerize-placeholder'); e.val(e.attr('placeholder')); } }).blur(function() { var e = $(this); if (e.attr('name').match(/_fakeformerizefield$/)) return; if (e.val() == '') { e.addClass('formerize-placeholder'); e.val(e.attr('placeholder')); } }).focus(function() { var e = $(this); if (e.attr('name').match(/_fakeformerizefield$/)) return; if (e.val() == e.attr('placeholder')) { e.removeClass('formerize-placeholder'); e.val(''); } }); _form.find('input[type=password]').each(function() { var e = $(this); var x = $($('<div>').append(e.clone()).remove().html().replace(/type="password"/i, 'type="text"').replace(/type=password/i, 'type=text')); if (e.attr('id') != '') x.attr('id', e.attr('id') + '_fakeformerizefield'); if (e.attr('name') != '') x.attr('name', e.attr('name') + '_fakeformerizefield'); x.addClass('formerize-placeholder').val(x.attr('placeholder')).insertAfter(e); if (e.val() == '') e.hide(); else x.hide(); e.blur(function(event) { event.preventDefault(); var e = $(this); var x = e.parent().find('input[name=' + e.attr('name') + '_fakeformerizefield]'); if (e.val() == '') { e.hide(); x.show(); } }); x.focus(function(event) { event.preventDefault(); var x = $(this); var e = x.parent().find('input[name=' + x.attr('name').replace('_fakeformerizefield', '') + ']'); x.hide(); e.show().focus(); }); x.keypress(function(event) { event.preventDefault(); x.val(''); }); });  _form.submit(function() { $(this).find('input[type=text],input[type=password],textarea').each(function(event) { var e = $(this); if (e.attr('name').match(/_fakeformerizefield$/)) e.attr('name', ''); if (e.val() == e.attr('placeholder')) { e.removeClass('formerize-placeholder'); e.val(''); } }); }).bind("reset", function(event) { event.preventDefault(); $(this).find('select').val($('option:first').val()); $(this).find('input,textarea').each(function() { var e = $(this); var x; e.removeClass('formerize-placeholder'); switch (this.type) { case 'submit': case 'reset': break; case 'password': e.val(e.attr('defaultValue')); x = e.parent().find('input[name=' + e.attr('name') + '_fakeformerizefield]'); if (e.val() == '') { e.hide(); x.show(); } else { e.show(); x.hide(); } break; case 'checkbox': case 'radio': e.attr('checked', e.attr('defaultValue')); break; case 'text': case 'textarea': e.val(e.attr('defaultValue')); if (e.val() == '') { e.addClass('formerize-placeholder'); e.val(e.attr('placeholder')); } break; default: e.val(e.attr('defaultValue')); break; } }); window.setTimeout(function() { for (x in _fakes) _fakes[x].trigger('formerize_sync'); }, 10); }); return _form; };
70					$form.n33_formerize();
71				}
72
73			}
74
75		// Dropdowns.
76			$('#nav > ul').dropotron({
77				offsetY: -22,
78				mode: 'fade',
79				noOpenerFade: true,
80				speed: 300,
81				detach: false
82			});
83
84	});
85
86})(jQuery);

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.