1var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__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 opens = _____WB$wombat$assign$function_____("opens"); 10/*jQuery(document).ready(function() { 11 try { 12 jQuery('div.wpcf7 > form').ajaxForm({ 13 beforeSubmit: wpcf7BeforeSubmit, 14 dataType: 'json', 15 success: wpcf7ProcessJson 16 }); 17 } catch (e) { 18 } 19 20 try { 21 jQuery('div.wpcf7 > form').each(function(i, n) { 22 wpcf7ToggleSubmit(jQuery(n)); 23 }); 24 } catch (e) { 25 } 26});*/ 27 28// Exclusive checkbox 29function wpcf7ExclusiveCheckbox(elem) { 30 jQuery(elem.form).find('input:checkbox[name="' + elem.name + '"]').not(elem).removeAttr('checked'); 31} 32 33// Toggle submit button 34function wpcf7ToggleSubmit(form) { 35 var submit = jQuery(form).find('input:submit'); 36 if (! submit.length) return; 37 38 var acceptances = jQuery(form).find('input:checkbox.wpcf7-acceptance'); 39 if (! acceptances.length) return; 40 41 submit.removeAttr('disabled'); 42 acceptances.each(function(i, n) { 43 n = jQuery(n); 44 if (n.hasClass('wpcf7-invert') && n.is(':checked') || ! n.hasClass('wpcf7-invert') && ! n.is(':checked')) 45 submit.attr('disabled', 'disabled'); 46 }); 47} 48 49function wpcf7BeforeSubmit(formData, jqForm, options) { 50 wpcf7ClearResponseOutput(); 51 jQuery('img.ajax-loader', jqForm[0]).css({ visibility: 'visible' }); 52 53 formData.push({name: '_wpcf7_is_ajax_call', value: 1}); 54 jQuery(jqForm[0]).append('<input type="hidden" name="_wpcf7_is_ajax_call" value="1" />'); 55 56 return true; 57} 58 59function wpcf7NotValidTip(into, message) { 60 jQuery(into).append('<span class="wpcf7-not-valid-tip">' + message + '</span>'); 61 jQuery('span.wpcf7-not-valid-tip').mouseover(function() { 62 jQuery(this).fadeOut('fast'); 63 }); 64 jQuery(into).find(':input').mouseover(function() { 65 jQuery(into).find('.wpcf7-not-valid-tip').not(':hidden').fadeOut('fast'); 66 }); 67 jQuery(into).find(':input').focus(function() { 68 jQuery(into).find('.wpcf7-not-valid-tip').not(':hidden').fadeOut('fast'); 69 }); 70} 71 72function wpcf7ProcessJson(data) { 73 var wpcf7ResponseOutput = jQuery(data.into).find('div.wpcf7-response-output'); 74 wpcf7ClearResponseOutput(); 75 if (data.invalids) { 76 jQuery.each(data.invalids, function(i, n) { 77 wpcf7NotValidTip(jQuery(data.into).find(n.into), n.message); 78 }); 79 wpcf7ResponseOutput.addClass('wpcf7-validation-errors'); 80 } 81 if (data.captcha) { 82 jQuery.each(data.captcha, function(i, n) { 83 jQuery(data.into).find(':input[name="' + i + '"]').clearFields(); 84 jQuery(data.into).find('img.wpcf7-captcha-' + i).attr('src', n); 85 var match = /([0-9]+)\.(png|gif|jpeg)$/.exec(n); 86 jQuery(data.into).find('input:hidden[name="_wpcf7_captcha_challenge_' + i + '"]').attr('value', match[1]); 87 }); 88 } 89 if (data.quiz) { 90 jQuery.each(data.quiz, function(i, n) { 91 jQuery(data.into).find(':input[name="' + i + '"]').clearFields(); 92 jQuery(data.into).find(':input[name="' + i + '"]').siblings('span.wpcf7-quiz-label').text(n[0]); 93 jQuery(data.into).find('input:hidden[name="_wpcf7_quiz_answer_' + i + '"]').attr('value', n[1]); 94 }); 95 } 96 if (1 == data.spam) { 97 wpcf7ResponseOutput.addClass('wpcf7-spam-blocked'); 98 } 99 if (1 == data.mailSent) { 100 jQuery(data.into).find('form').resetForm().clearForm(); 101 wpcf7ResponseOutput.addClass('wpcf7-mail-sent-ok'); 102 103 if (data.onSentOk) 104 jQuery.each(data.onSentOk, function(i, n) { eval(n) }); 105 } else { 106 wpcf7ResponseOutput.addClass('wpcf7-mail-sent-ng'); 107 } 108 wpcf7ResponseOutput.append(data.message).fadeIn('fast'); 109} 110 111function wpcf7ClearResponseOutput() { 112 jQuery('div.wpcf7-response-output').hide().empty().removeClass('wpcf7-mail-sent-ok wpcf7-mail-sent-ng wpcf7-validation-errors wpcf7-spam-blocked'); 113 jQuery('span.wpcf7-not-valid-tip').remove(); 114 jQuery('img.ajax-loader').css({ visibility: 'hidden' }); 115} 116}
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.