PageSourceSearch

https://dzenhotel.ru/bitrix/components/mibok/rasp.timetable/lib/js/additional.min.js?171644597012370

js dzenhotel.ru collected 2026-10-05 03:32:37 UTC 12,370 bytes, 1 lines download raw bytes

1function MibokCheckSubmit(){var e=$("#mibok-timetableModal *[data-req]").length,a=0;$("#mibok-timetableModal *[data-req]").each(function(e,t){""!=$(t).val()&&a++}),$(".main-user-consent-request input[type=checkbox]").length>0?a==e&&$(".main-user-consent-request input[type=checkbox]:checked").length>0?$(".mibok-form-submit").removeAttr("disabled"):$(".mibok-form-submit").attr("disabled","disabled"):a==e?$(".mibok-form-submit").removeAttr("disabled"):$(".mibok-form-submit").attr("disabled","disabled")}$(document).on("click",".mibok-dropdown .dropdown-menu ul",function(e){e.stopPropagation()}).on("change",".mibok-slide-filter input[type=checkbox]",function(){$(".mibok-add-filter").animate({opacity:"toggle",height:"toggle"},1e3),$(".mibok-add-filter").toggleClass("open")}).on("change",".dropdown-menu .scroll-visible input[type=checkbox]",function(){var e=$(this).parents(".mibok-dropdown"),a="";e.find("input[type=checkbox]:checked").each(function(e,t){""!=a&&(a+=", "),a+=$(t).next().html()}),""==a&&(a=$(".mibok-word-all").text()),e.find(".mibok-filter-value").length>0&&e.find(".mibok-filter-value").html(a),e.find(".mibok-filter-list-head").length>0&&e.find(".mibok-filter-list-head").html(a+' <span class="ic-m-t-bottom"></span>')}).on("click",".mibok-show-form",function(){$(this).animate({opacity:"toggle",he
1ight:"toggle"},300),$(".mibok-wrapper-form").animate({opacity:"toggle",height:"toggle"},1e3)}).on("input","#mibok-timetableModal input[type=text]",function(){MibokCheckSubmit()}).on("input","#mibok-timetableModal input[type=email]",function(){MibokCheckSubmit()}).on("change",".main-user-consent-request input[type=checkbox]",function(){$(".main-user-consent-request input[type=checkbox]:checked").length<=0?$(".mibok-form-submit").attr("disabled","disabled"):MibokCheckSubmit()}).on("submit","#mibok-timetableModal form",function(){$(".mibok-modal .modal-body").animate({opacity:"toggle",height:"toggle"},1500)}).on("click",".mibok-hover-lesson .mibok-modal-timetable",function(e){e.preventDefault()}).on("click","#accordion-consent .panel-title a",function(){$(this).hasClass("open")?$(this).removeClass("open"):$(this).addClass("open")}).on("shown.bs.collapse",".collapse",function(e){$(this).find(".panel-body").perfectScrollbar("update")}).on("input","#mibok-timetableModal textarea",function(){MibokCheckSubmit()}).on("click",".mibok-hover-lesson",function(){$(".modal-content").removeClass().addClass("modal-content "+$(this).parent().data("class-color"))}),$(document).ready(function(){if($(".mibok-dropdown .dropdown-menu ul").perfectScrollbar({wheelSpeed:1,minScrollbarLength:48}),$(".mibok-carousel-lessons").length>0){$(".item-lesson .count-rasp").length;if($(".count-rasp").length>0){var e=new Object,a=$("input[name=IBLOCK_ID]").val(),t=$("input[name=TIMETABLE_AJAX]").val();$(".count-rasp").each(function(a){var t=$(this).parents(".item-lesson"),o=t.attr("data-id"),i=t.find("input[name=TIME_INFO]").val();$(this);e[a]={ELEMENT_ID:o,TIME_INFO:i}}),$.ajax({type:"POST",url:t,dataType:"json",data:{ITEMS:e,IBLOCK_ID:a,ACTION:"GetLimit"},success:function(e){for(var a in e){var t=$('.count-rasp[data-rasp-id="'+e[a].id+'"]');t.length>0&&t.addClass(e[a].class).html(e[a].table+"/"+e[a].iblock)}$(".mibok-wrapper-grid").removeClass("mibok-preloader")}})}else $(".mibok-wrapper-grid").removeClass("mibok-preloader")}if($("#datepicker").length>0){var o="left";$("body ").width()<768&&(o="right");var i=$("#datepicker input[name=minDate]").val(),n=$("#datepicker input[name=dateLimit]").val(),l=$("#datepicker input[name=period_begin]").val(),r=$("#datepicker input[name=period_end]").val(),d=$("#datepicker input[name=dayList]").val().split(","),m=$("#datepicker input[name=monthList]").val().split(",");$("#datepicker").daterangepicker({autoApply:!0,opens:o,startDate:l,endDate:r,minDate:i,dateLimit:{days:n},locale:{format:"DD.MM.YYYY",separator:",",daysOfWeek:d,monthNames:m,firstDay:1}}),$("#datepicker").on("apply.daterangepicker",function(e,a){$("#datepicker input[name=period_begin]").val(a.startDate.format("DD.MM.YYYY")),$("#datepicker input[name=period_end]").val(a.endDate.format("DD.MM.YYYY"))})}}),jQuery(function(e){if(e(".mibok-dropdown .dropdown-menu").parent().on("shown.bs.dropdown",function(){e(this).find("ul").perfectScrollbar("update")}),e("#mibok-timetableModal").on("show.bs.modal",function(a){var t=e(a.relatedTarget).parents(".item-lesson"),o=e("input[name=TIMETABLE_AJAX]").val(),i=e("input[name=FIELD_CODE_MODAL]").val(),n=e("input[name=PROPERTY_CODE_MODAL]").val(),l=e("input[name=IBLOCK_ID]").val(),r=e("input[name=IBLOCK_TYPE]").val(),d=e("input[name=LIST_SETTINGS_MODAL_NAME]").val(),m=e("input[name=MODAL_DATA]").val(),s=t.find("input[name=TIME_INFO]").val(),c=e("input[name=PROPERTY_CODES_RECORD]").val(),p=e("input[name=PROPERTY_CODES_RECORD_REQUIRED]").val(),u=e("input[name=RECORD_PARAM]").val(),f=e("input[name=IS_RECORD]").val(),b=e("input[name=CONSENT]").val(),h=e("input[name=SIGN]").val(),g=t.attr("data-id");e.ajax({type:"POST",url:o,async:!1,data:{ELEMENT_ID:g,FIELD:i,IBLOCK_ID:l,IBLOCK_TYPE:r,PROPERTY:n,MODAL_NAME:d,TIME_INFO:s,MODAL_DATA:m,PROP_RECORD:c,PROP_RECORD_REQ:p,RECORD_PARAM:u,IS_RECORD:f,CONSENT:b,SIGN:h},success:function(t){e("#mibok-timetableModal .modal-content").html(t);var o=e(a.relatedTarget).parents(".item-lesson");o.addClass("emitate-hover"),e("#mibok-timetableModal").find(".modal-content").addClass(o.attr("data-class-color"));var i=e("body").width();e("body").css({"overflow-y":"hidden"}).css({"padding-right":e("body").width()-i}),e(".mibok-modal .modal-wrapper-info").perfectScrollbar(),e(".mibok-panel-consent .panel-body").perfectScrollbar()}})}),e("#mibok-timetableModal").on("shown.bs.modal",function(a){(e(".mibok-modal .modal-wrapper-info .table").height()>e(".mibok-modal .modal-wrapper-info").height()?e(".mibok-modal .modal-wrapper-info").perfectScrollbar("update"):e(".mibok-modal .modal-wrapper-info").perfectScrollbar("destroy"),e(".modal-footer-admin .modal-wrapper-info").length>0)&&(e(".modal-footer-admin .modal-wrapper-info .table").height()>e(".modal-footer-admin .modal-wrapper-info").height()&&e(".modal-footer-admin .modal-wrapper-info").perfectScrollbar())}),e("#mibok-timetableModal").on("hide.bs.modal",function(a){e(".item-lesson.emitate-hover").removeClass("emitate-hover"),e("body").css({"padding-right":"0","overflow-y":"auto"});var t=e(this).find("input[name=AJAX_COUNTER_ELEMENT_ID]").val(),o=e(this).find("input[name=AJAX_COUNTER_TMSTMP]").val(),i=e(".item-lesson[data-id="+t+"][data-tmstmp="+o+"]").find(".count-rasp");if(i.length>0){var n=e("input[name=TIMETABLE_AJAX]").val(),l=e(this).find("input[name=AJAX_COUNTER_TIME_INFO]").val(),r=e(this).find("input[name=AJAX_COUNTER_IBLOCK_ID]").val();e.ajax({type:"POST",url:n,dataType:"json",data:{ELEMENT_ID:t,IBLOCK_ID:r,TIME_INFO:l,ACTION:"GetLimitOne"},success:function(e){i.addClass(e.class).html(e.table+"/"+e.iblock),""==e.class&&i.removeClass("no-item-record")}})}}),e("#mibok-timetableModal").on("hidden.bs.modal",function(a){e("#mibok-timetableModal").find(".modal
1-content").removeClass("green blue yellow violet orange pink turquoise braun grey")}),"undefined"!=typeof Swiper){flag=!1,duration=250;const e={640:{slidesPerView:2},768:{slidesPerView:4},1024:{slidesPerView:6}};var a=new Swiper(".swiper1",{watchSlidesProgress:!0,breakpoints:e,freeMode:!1,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}}),t=new Swiper(".swiper2",{watchSlidesProgress:!0,breakpoints:e,freeMode:!1});a.controller.control=t,t.controller.control=a}else{var o=e(".mibok-carousel-day"),i=e(".mibok-carousel-lessons");flag=!1,duration=250;var n=e(".mibok-wrapper-grid ").width();if(n>=990)o.owlCarousel({loop:!1,margin:0,nav:!0,pagination:!1,navText:["",""],responsive:{0:{items:1},330:{items:2},480:{items:3},630:{items:4},768:{items:7}},sync:i}).on("changed.owl.carousel",function(e){flag||(flag=!0,i.trigger("to.owl.carousel",[e.item.index,duration,!0]),flag=!1)}),i.owlCarousel({loop:!1,margin:0,nav:!1,pagination:!1,responsive:{0:{items:1},330:{items:2},480:{items:3},630:{items:4},768:{items:7}},onInitialized:r,sync:o}).on("changed.owl.carousel",function(e){flag||(flag=!0,o.trigger("to.owl.carousel",[e.item.index,duration,!0]),flag=!1)});else{var l=n/138;o.owlCarousel({loop:!1,margin:0,nav:!0,pagination:!1,navText:["",""],items:Math.floor(l),sync:i}).on("changed.owl.carousel",function(e){flag||(flag=!0,i.trigger("to.owl.carousel",[e.item.index,duration,!0]),flag=!1)}),i.owlCarousel({loop:!1,margin:0,nav:!1,pagination:!1,items:Math.floor(l),onInitialized:r,sync:o}).on("changed.owl.carousel",function(e){flag||(flag=!0,o.trigger("to.owl.carousel",[e.item.index,duration,!0]),flag=!1)})}}function r(a){e(".mibok-carousel-lessons .owl-item").each(function(a,t){(e(t).children().hasClass("day-current")&&e(t).next().children().hasClass("day-past")||e(t).children().hasClass("day-current")&&e(t).next().children().hasClass("day-future")||e(t).children().hasClass("day-no")&&e(t).next().children().hasClass("day-past")||e(t).children().hasClass("day-no")&&e(t).next().children().hasClass("day-future"))&&e(t).next().find(".item").css("border-left","none")})}window.dispatchEvent(new Event("resize"))}),$(document).on("click",".admin-record-cancel",function(){var e=$
1("input[name=TIMETABLE_AJAX]").val(),a=$("input[name=RECORD_PARAM_CANCEL]").val(),t=$("input[name=RECORD_PARAM]").val(),o=$("input[name=AJAX_COUNTER_IBLOCK_ID]").val(),i=$("input[name=AJAX_COUNTER_ELEMENT_ID]").val(),n=$(this).attr("data-recordtbl"),l=$(this).attr("data-recordiblock"),r=$(this).parents("tr"),d=$(this).find("input[name=AJAX_COUNTER_ELEMENT_ID]").val(),m=$(this).find("input[name=AJAX_COUNTER_TMSTMP]").val();$(".item-lesson[data-id="+d+"][data-tmstmp="+m+"]").find(".count-rasp");return $(".modal-footer-admin").remove(".alert"),$.ajax({type:"POST",url:e,dataType:"json",data:{ID_TBL:n,ID_IBLOCK:l,ACTION:"CancelRecord",MESSAGE_TEMPLATE_ID:a,PARAMS:t,RASP_IBLOCK_ID:o,RASP_IBLOCK_ELEMENT:i},success:function(e){"ok"==e.success?(r.remove(),$(".modal-footer-admin table").find("tr:not(.tr-add-admin)").each(function(e,a){$(a).find("td:first-child").html(e+1)}),$(".modal-footer-admin [name=admin-limit-info]").length>0&&""!=$(".modal-footer-admin [name=admin-limit-info]").val()&&$(".modal-footer-admin [name=admin-limit-info]").val()>$(".modal-footer-admin table").find("tr:not(.tr-add-admin)").length&&$(".modal-footer-admin table").find(".tr-add-admin").removeClass("hidden")):"error"==e.success&&r.parents(".modal-wrapper-info").before('<div class="alert alert-danger">ERROR DELETE</div>')}}),!1}).on("click",".admin-show-comment",function(){return $(this).next("textarea").removeClass("hidden"),$(this).remove(),!1}
1).on("click",".admin-record-add",function(){var e=$("input[name=TIMETABLE_AJAX]").val(),a=$("#mibok-timetableModal input[name=AJAX_COUNTER_TIME_INFO]").val(),t=$("#mibok-timetableModal input[name=AJAX_COUNTER_ELEMENT_ID]").val(),o=$(this).parents("tr"),i=o.find("textarea").val();return $(".modal-footer-admin").remove(".alert"),$.ajax({type:"POST",url:e,dataType:"json",data:{ELEMENT_ID:t,TIME_INFO:a,COMMENT:i,ACTION:"AddRecordAdmin"},success:function(e){if("ok"==e.success){var a=$(".modal-footer-admin table").find("tr:not(.tr-add-admin)").length;o.before("<tr><td>"+(a+1)+"</td><td>"+e["td-info"]+i+"</td><td>"+e["td-btn"]+"</td></tr>"),o.find("textarea").val(""),$(".modal-footer-admin .alert").length>0&&$(".modal-footer-admin .alert").remove(),$(".modal-footer-admin .modal-wrapper-info").perfectScrollbar()}else"error"==e.success&&o.parents(".modal-wrapper-info").before('<div class="alert alert-danger">ERROR BLOCK</div>');$(".modal-footer-admin [name=admin-limit-info]").length>0&&""!=$(".modal-footer-admin [name=admin-limit-info]").val()&&$(".modal-footer-admin [name=admin-limit-info]").val()<=$(".modal-footer-admin table").find("tr:not(.tr-add-admin)").length&&o.addClass("hidden")}}),!1}),$(window).scroll(function(){if($(".changebtstrp").length<=0&&$(".mibok-wrapper-grid").length>0){var e=$(".mibok-wrapper-grid ").offset().top,a=jQuery(document).scrollTop(),t=$(".mibok-border-bottom").offset().top;if(a>e&&a<t){var o=$(".mibok-wrapper-grid").width();$(".mibok-grid-bg").removeClass("hidden").addClass("fixed").css("width",o)}else a>=t?$(".mibok-grid-bg").addClass("hidden").removeClass("fixed"):$(".mibok-grid-bg").removeClass("fixed hidden")}});

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.