PageSourceSearch

https://www.balharbourshops.com/wp-content/cache/min/1/wp-content/…/js/events.js?ver=1790856231

js balharbourshops.com collected 2026-10-02 03:01:44 UTC 3,473 bytes, 2 lines download raw bytes

1(function(){jQuery(window).on('load',function(){jQuery('#wpforms-form-235344').on('wpformsAjaxSubmitFailed',function(e,response){if(response?.data?.errors.field["wpforms[fields][1]"]){jQuery('.sg-popup-id-238568').click()}});jQuery('#wpforms-form-238800').on('wpformsAjaxSubmitFailed',function(e,response){if(response?.data?.errors.field["wpforms[fields][1]"]){jQuery('.sg-popup-id-238568').click()}});jQuery('#wpforms-form-238776').on('wpformsAjaxSubmitFailed',function(e,response){if(response?.data?.errors.field["wpforms[fields][1]"]){jQuery('.sg-popup-id-238568').click()}});if(jQuery('.text-frame .time-choise').length){console.log('Events form not found');jQuery(document).ready(function($){$('.jcf-ignore-field').children('select').addClass('jcf-ignore');var formId=$('form.wpforms-form').data('formid');$('.dates-field select, .participants-field select').change(function(){var date=$('.dates-field select').val();var participants=$('.participants-field select').val();if(date==''||participants==''){return}
2$('.date-field input').val(date);$('.time-choise').show();$('.time-choises .time-choise-container').removeClass('available');$('.time-choises .time-choise-container').removeClass('checked');$.ajax({url:ajax_obj.ajax_url,type:'POST',data:{action:'check_event_dates_reserved',id:formId,date:date,nonce:ajax_obj.nonce,participants:participants},dataType:'json',success:function(response){var reserved=response.data;$('.time-choises .time-choise-container').removeClass('reserved');$('.time-choises .time-choise-container').addClass('available');$('.time-choise').find('input[type="radio"]').prop('checked',!1);if(reserved.length>0){$.each(reserved,function(index,value){$('.time-choises .time-choise-container[data-value="'+value.hour+'"]').removeClass('available');$('.time-choises .time-choise-container[data-value="'+value.hour+'"]').addClass('reserved')})}}})});$('.time-choise').each(function(){var $this=$(this);$this.hide();var $field=$this.find('.wpforms-field-required');var $description=$this.find('.wpforms-field-description');$field.css({'width':'0','height':'0','overflow':'hidden','position':'absolute','z-index':'-1'});$wrapper=$('<div class="time-choise-wrapper"></div>');$wrapper.insertAfter($description);$instructions=$('<div class="time-choise-instructions"></div>');$wrapper.append($instructions);$available=$('<div class="time-choise"><div class="time-choise-container available"><div class="time-choise-label"></div></div><div class="time-choise-tooltip">Available</div></div>');$reserved=$('<div class="time-choise"><div class="time-choise-container reserved"><div class="time-choise-label"></div></div><div class="time-choise-tooltip">Reserved</div></div>');$instructions.append($available);$instructions.append($reserved);$choises=$('<div class="time-choises"></div>');$wrapper.append($choises);$this.find('input[type="radio"]').each(function(){var $this=$(this);var value=$this.val();var label=$this.parent().text();$choise=$('<div class="time-choise-container available" data-value="'+value+'"><div class="time-choise-label">'+label+'</div></div>');$choises.append($choise);$choise.click(function(){if($(this).hasClass('available')){var value=$(this).data('value');$this.parent().parent().find('input[type="radio"]').prop('checked',!1);$this.parent().parent().find('input[type="radio"][value="'+value+'"]').prop('checked',!0);$choises.find('.time-choise-container').removeClass('checked');$(this).addClass('checked')}})})})})}})}())

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.