1(function ($) { 2 $(document).ready(function () { 3 4 var hash = document.location.hash; 5 6 //пеÑÐµÑ Ð¾Ð´ к вÑбоÑÑ ÑеанÑа 7 $('body').on('click', '.step1__film_info', function (ev) { 8 9 var $this = $(this); 10 //обÑабоÑка пеÑвого Ñапа по ÑилÑÐ¼Ñ ÐºÐ°Ðº Ñ Ð¾Ð²ÐµÑ. 11 if((isMobile.any() || hash == '#mobile') && !$this.hasClass('pushed')){ 12 $('.film_list .step1__film_info').removeClass('pushed'); 13 $this.addClass('pushed'); 14 return 15 } 16 17 if (this.id) { 18 //$this = $(this); 19 //$this.addClass('step1__list_time_element_selected'); 20 var src = '/api/getSchedule?'; 21 src += 'filmId=' + this.id.replace(/film_/, ''); 22 src += '&cityId=' + window.cityId; 23 src += '&marketId=' + window.marketId; 24 var vars = window.location.search.substring(1).split('&'); 25 for (var i = 0; i < vars.length; i++) { 26 var pair = vars[i].split('='); 27 if (decodeURIComponent(pair[0]) == 'sessid' && pair[1]) { 28 src += '&sessid=' + decodeURIComponent(pair[1]); 29 break; 30 } 31 } 32 if (window.theatreId) src += '&theatreId=' + window.theatreId; 33 window.location = src.replace(/host=([A-zÐ-Ñ0-9-.]*)/, encodeURI); 34 } 35 ev.preventDefault(); 36 }); 37 }); 38})(jQuery);
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.