1$("#validElm, #existsElm, #saveElm").hide();$("#newsletterSubmit").on("click",function(){alert("stop"),$("#validElm, #existsElm, #saveElm").hide();let t;const e=$("html").attr("lang");return e==="cs"?t="/ajax/newsletter/":t="/"+e+"/ajax/newsletter/",$.ajax({type:"POST",url:t,data:{mail:$("#emailNewsletter").val()},dataType:"json"}).done(function(o){o.validElm?$("#validElm").show():$("#validElm").hide(),o.existsElm?$("#existsElm").show():$("#existsElm").hide(),o.saveElm?($("#saveElm").show(),setTimeout(function(){$("#saveElm").hide(),$("#emailNewsletter").val("")},2e3)):$("#saveElm").hide()}),!1});$(document).on("click","#newsletterSubmitWindow",function(t){$("#validElm, #existsElm, #saveElm").hide();let e;const o=$("html").attr("lang");return o==="cs"?e="/newsletter-okno/":e="/"+o+"/newsletter-okno/",$.ajax({type:"POST",url:e,data:{type:"send",mail:$("#emailNewsletterWindow").val()},dataType:"html"}).done(function(a){$("#windowNewsletterBlock").replaceWith(a)}),!1});$("#contactForm").length;$(document).on("click","#pageList",function(t){t.preventDefault();const e=$(this),o=e.data("url");$.ajax({url:e.attr("href"),data:{obtiznost:$("#obtiznost").val(),vhodnost:$("#vhodnost").val(),pamatky:$("#filterForm").find(".active").attr("href")},dataType:"json"}).done(function(a){$("#ajaxBoxesVylety").length&&$("#ajaxBoxesVylety").append(a.snippets.events),$("#ajaxBoxesList").length&&$("#ajaxBoxesList").append(a.snippets.events),$("#ajaxBoxesPamatky").length&&$("#ajaxBoxesPamatky").append(a.snippets.events),$("#ajaxClanky").length&&$("#ajaxClanky").append(a.snippets.events),$("#pageList").attr("href",o+a.paginator.page),a.paginator.isShow?$("#pageList").show():$("#pageList").hide(),window.history.pushState("","",e.attr("href"))})});$(document).on("click","#pageListEvents",function(t){t.preventDefault();const e=$(this);return $.ajax({url:e.attr("href"),dataType:"json"}).done(function(o){window.history.pushState("","",e.attr("href")),$("#ajaxBoxesEvents").append(o.snippets.events),o.paginator.isShow?$("#pageListEvents").attr("href",o.paginator.nextPageUrl):$("#pageListEvents").hide()}),!1});$(document).on("change","#obtiznost, #vhodnost",function(t){const e=$("#uri").val();window.history.pushState("","",e),$.ajax({url:e,data:{obtiznost:$("#obtiznost").val(),vhodnost:$("#vhodnost").val()},dataType:"json"}).done(function(o){$("#ajaxBoxesVylety").html(o.snippets.events),$("#endNum").text(o.endnum)})});$(document).on("click",".pamatky",function(t){$(".pamatky").removeClass("active"),$(this).addClass("active");const e=$("#uri").val();return window.history.pushState("","",e),$.ajax({url:e,data:{pamatky:$(this).attr("href")},dataType:"json"}).done(function(o){$("#ajaxBoxesPamatky").html(o.snippets.events),$("#endNum").text(o.endnum)}),!1});$(document).on("click","#sendLogin",function(t){const e=$("#ext_form").attr("action");return $.ajax({type:"POST",url:e,data:{email:$("#ext_email").val(),pass:$("#ext_password").val(),type:"login",url:location.href},dataType:"json"}).done(function(o){$("#extLoginError").hide(),o.loginError&&$("#extLoginError").show()}),!1});$(document).on("click","#sendLostPassword",function(t){const e=$("#ext_form").attr("action");return $.ajax({type:"POST",url:e,data:{email:$("#ext_email").val(),type:"lostpassword"},dataType:"json"}).done(function(o){$("#extValidElm, #extExistsElm, #extSaveElm").hide(),o.validElm&&$("#extValidElm").show(),o.existsElm&&$("#extExistsElm").show(),o.saveElm&&$("#extSaveElm").show()}),!1});$(document).on("click","#provozovna",function(t){$("#elmRegistrationIc, #elmRegistration, #bookoloCheck").hide(),$("#elmRegistrationIc, #bookoloCheck").show(),$("#ext_jmenofirmy, #ext_adresa").attr("required","true").show()});$(document).on("click","#udalosti",function(t){$("#elmRegistrationIc, #elmRegistration, #bookoloCheck").hide(),$("#elmRegistration, #elmRegistration, #elmRegistrationButton").show(),$("#ext_jmenofirmy, #ext_adresa").removeAttr("required").hide()});$(document).on("keyup","#ext_ic",function(t){$("#searchDic, #searchDicError, #searchDicExists, #elmRegistration, #elmRegistrationButton").hide();const e=$("#ext_ic").val();return e.length===8&&($("#searchDic").show(),$.ajax({type:"POST",url:"/ico-vyhledavac-ares/",data:{ic:e},dataType:"json"}
1).done(function(o){if(o.aresData===!1)return $("#searchDic").hide(),$("#searchDicError").show(),!1;if(o.aresExists===!0)return $("#searchDicExists").show(),$("#searchDic, #searchDicError").hide(),!1;$("#searchDic, #searchDicError").hide(),$("#elmRegistration, #elmRegistrationButton").show(),$("#ext_jmenofirmy").length&&$("#ext_jmenofirmy").val(o.aresData.company),$("#ext_adresa").length&&$("#ext_adresa").val(o.aresData.street)})),!1});$(document).on("click","#sendRegistration",function(t){t.preventDefault(),$.getScript("https://www.google.com/recaptcha/enterprise.js?render=6Lf69dEqAAAAAIE1CGwXb3KG-NL2qcr0QjqZbfG3",function(e,o,a){grecaptcha.enterprise.ready(async()=>{const r=await grecaptcha.enterprise.execute("6Lf69dEqAAAAAIE1CGwXb3KG-NL2qcr0QjqZbfG3",{action:"form"});$("[name=gtoken]").val(r);const i=$("#ext_form").attr("action");$.ajax({type:"POST",url:i,data:$("#ext_form").serialize(),dataType:"json"}).done(function(s){$("#registrationBad, #registrationGood, #registrationBadPassLength, #registrationBadPassSame").hide(),s.registrationError&&($("#registrationBad").show(),s.errors.ext_ic?$("#ext_ic").addClass("error"):$("#ext_ic").removeClass("error"),s.errors.ext_jmenofirmy?$("#ext_jmenofirmy").addClass("error"):$("#ext_jmenofirmy").removeClass("error"),s.errors.ext_adresa?$("#ext_adresa").addClass("error"):$("#ext_adresa").removeClass("error"),s.errors.ext_jmeno?$("#ext_jmeno").addClass("error"):$("#ext_jmeno").removeClass("error"),s.errors.ext_prijmeni?$("#ext_prijmeni").addClass("error"):$("#ext_prijmeni").removeClass("error"),s.errors.ext_email?$("#ext_email").addClass("error"):$("#ext_email").removeClass("error"),s.errors.ext_email_exists&&$("#ext_email").val($("#ext_email").data("exist")),s.errors.ext_telefon?$("#ext_telefon").addClass("error"):$("#ext_telefon").removeClass("error"),s.errors.checkbox?$("#f_checkbox").addClass("error"):$("#f_checkbox").removeClass("error")),s.registrationGood&&($("#registrationGood").show(),window.setTimeout(function(){location.href=$("#uriEnd").data("uriback")},1e3))})})})});$(document).on("click","#logout",function(t){const e=$(this).attr("href");return $.ajax({type:"POST",url:e,data:{type:"logout"},dataType:"json"}).done(function(o){o.logout&&window.setTimeout(function(){location.href=window.location.href.split("#")[0]},250)}),!1});$(document).on("click","#sendChangePassword",function(t){const e=$("#ext_form").attr("action");return $.ajax({type:"POST",url:e,data:$("#ext_form").serialize(),dataType:"json"}).done(function(o){$("#extErrorPassChange, #extGoodPassChange").hide(),o.errors.ext_hesloold?$("#ext_hesloold").addClass("error"):$("#ext_hesloold").removeClass("error"),o.errors.ext_heslo?$("#ext_heslo").addClass("error"):$("#ext_heslo").removeClass("error"),o.errors.ext_hesloznovu?$("#ext_hesloznovu").addClass("error"):$("#ext_hesloznovu").removeClass("error"),o.changePassGood&&($("#extGoodPassChange").show(),$("#ext_hesloold, #ext_heslo, #ext_hesloznovu").val("")),o.changePassError&&$("#extErrorPassChange").show()}),!1});$.ajaxSetup({success:function(t){if(t){if(t.redirect&&(t.redirect==="this"?location.href=window.location.href.split("#")[0]:location.href=t.redirect),t.snippets)for(const e in t.snippets)$("#"+e).replaceWith(t.snippets[e]);if(t.dialog){$(".part-dialog").remove(),$("body").addClass("no-scroll-device").append(t.dialog),$("#bgd").fadeIn(300);const e=$(".part-dialog");e.addClass("fixed").hide().fadeIn(300);const a=e.find("iframe, video").width()/(16/9);e.find("iframe, video").css("height",a)}t.alert&&alert(t.alert)}}});$(document).on("change",".selectMain",function(t){$(".selectNext").removeAttr("disabled");const e=$(this).val();e&&($("#nextCategoryLevel_"+e).prop("checked",!1),$("#nextCategoryLevel_"+e).attr("disabled","disabled"))});$(document).on("click",".deleteImage",function(t){const e=$(this),o=e.data("uri");return $.ajax({type:"POST",url:o,data:{id:$(this).data("image")},dataType:"text"}).done(function(a){a===!0&&e.closest("tr").remove()}),!1});$(document).on("click",".deleteItem",function(t){return $.ajax({type:"POST",url:$(this).data("uri"),data:{id:$(this).data("id")},dataType:"text"}).done(function(e){e&&(window.location.href=window.location.href.split("#")[0])}),!1});function n(t){if(t.files&&t.files[0])for(let e=0;e<t.files.length;e++){const o=new FileReader;o.onload=function(a){$("#blah").append('<img src="'+a.target.result+'" width="50" />')},o.readAsDataURL(t.files[e])}}function l(t){if(t.files&&t.files[0])for(let e=0;e<t.files.length;e++){const o=new FileReader;o.onload=function(a){$("#blah2").append("Soubor vložen")},o.readAsDataURL(t.files[e])}}$("#f-company-gallery").change(function(){$("#blah").empty(),n(this)});$("#f-company-files").change(function(){$("#blah2").empty(),l(this)});function c(t){if(t.files&&t.files[0])for(let e=0;e<t.files.length;e++){const o=new FileReader;o.onload=function(a){$("#blahlogo").append('<img src="'+a.target.result+'" width="50" />')},o.readAsDataURL(t.files[e])}}$("#f-company-logo").change(function(){$("#blahlogo").empty(),c(this)});
1$(function(){$(".submitForm").click(function(t){const e=$("#f-company-gallery");parseInt(e.get(0).files.length)>5&&(t.preventDefault(),alert($("#f-company-gallery").data("text")))}),$(".submitForm").click(function(t){const e=$("#f-company-files");parseInt(e.get(0).files.length)>5&&(t.preventDefault(),alert($("#f-company-files").data("text")))})});$(document).on("change",".topDateTo",function(t){const e=$(".topDateTo option:selected").val();$("#topDataTextTo").text(e);const o=$(".topDateTo option:selected").data("money");if($("#topTotalPrice").text(o),e==="-")$("#buttonPay").hide(),$("#topTotalPriceOutter").hide();else{$("#topTotalPriceOutter").show(),$("#buttonPay").show();const a=$("#buttonPay").data("uripay"),r=$("[data-date-from]").val();$("#buttonPay").attr("href",a+"&from="+r+"&to="+e+"&totalPrice="+o)}});$(document).on("change","#accomodation-filter-form :input",function(){const t=$(this).closest("form");$.ajax({dataType:"json",data:t.serialize()})});$(document).on("click","[data-change-stars]",function(t){t.preventDefault();const e=$(this);e.siblings("a").removeClass("active"),e.find("input").prop("checked",!0).trigger("change"),e.addClass("active")});
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.