1var selectboxSelected=!1,captckaIsReady=!1;function ValidateEmail(o){return!!/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(o)}function disableQuantitySelects(o,t){var e=parseInt($("#quantity_rooms_"+t).val(),10)*parseInt($("#quantity_rooms_"+t).data("index"),10);$(".booking-selectbox option").attr("disabled",!1),$(".booking-selectbox").each(function(){var a=parseInt($(this).data("index"),10);$(this).children().each(function(){"0"!==$(this).val()&&(parseInt($(this).val(),10)*a+o>12&&$(this).attr("disabled",!0),t===a&&parseInt($(this).val(),10)*a+o-e<=12&&$(this).attr("disabled",!1))})})}function bookingProcessor(o){var t=$("#bookingAccommodation"),e=$("#bookingTotalSum"),a=$("#bookingGroupSize"),i=" ",n=0,c=0;selectboxSelected=!1,$(".booking-selectbox").each(function(){parseInt($(this).val(),10)&&(i+=$(this).val()+"x "+room_types[$(this).data("index")].name+"; <br> ",n+=parseFloat($("#price_"+$(this).data("index")).text())*$(this).val(),c+=$(this).val()*parseInt($(this).data("index")),selectboxSelected=!0)}),disableQuantitySelects(c,o),t.html(i),e.html(n.toFixed(2)+" "+booking_currency_title),a.html(c+" "+string_persons)}function bookingNext(o){selectboxSelected?(o.hide(),$(".booking-second-stage").show(),location.href="#",location.href="#bookingAccommodation",setTimeout(function(){var o=$(window).scrollTop();$(window).scrollTop(o-90)},200)):alert("Select at least one type of rooms!")}function recaptchaCallback(){captckaIsReady=!0}function bookNow(o){var t=$("#booking_name").val(),e=$("#booking_email").val(),a=$("#booking_country").val(),i=$("#booking_start_date").val(),n=$("#booking_comment").val();return t.length<2?(alert("Plase enter your Name"),!1):ValidateEmail(e)?captckaIsReady?void(o.prop("onclick",null).off("click"),o.text("Loading..."),$.post("/ajax.php",{booking:!0,tour_id:tour_id,booking_name:t,booking_email:e,booking_country:a,booking_start_date:i,booking_comment:n,accommodation:$("#bookingAccommodation").text(),totalSum:$("#bookingTotalSum").text(),groupSize:$("#bookingGroupSize").text(),captcha:grecaptcha.getResponse(),lang_id:lang_id},function(o){var t=JSON.parse(o);!0===t.success&&($("#bookingPrint").attr("href","/bookingPrint.php?bookingPrintView="+t.hash+"&lang_id="+lang_id),$(".booking-second-stage, .booking-first-stage, #bookThisTitle2, #bookThisTitle3, #bookThisTitle").hide(),$(".booking-final-stage").show(),setTimeout(function(){location.href="#",location.href="#bookingThanks";var o=$(window).scrollTop();$(window).scrollTop(o-90)},200))})):(alert("Please check I'm not a robot checkbox"),!1):(alert("You have entered an invalid email address!"),!1)}function submitContactForm(o){var t=$("#formName").val(),e=$("#formEmail").val(),a=$("#formMessage").val();return t.length<2?(alert("Enter your name"),!1):ValidateEmail(e)?t.message<10?(alert("Enter your message"),!1):captckaIsReady?void(o.prop("onclick",null).off("click"),o.text("Loading..."),$.post("/ajax.php",{contactForm:!0,name:t,email:e,message:a,captcha:grecaptcha.getResponse()},function(o){$(".contact-form-container").hide(),$(".contact-form-thanks").show()})):(alert("Please check I'm not a robot checkbox"),!1):(alert("You have entered an invalid email address!"),!1)}$(document).ready(function(){$("#booking_start_date").datepicker({onSelect:function(){return!1}})});
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.