1$(document).ready(function (){ 2 $('.btn-list-more').click(function (){ 3 $('.'+$(this).data('list-id')).slideDown(200); 4 if($(this).data('hide-parent')){ 5 $(this).parent().slideUp(200); 6 } 7 return false; 8 }); 9 10 $('.btn-menu').click(function (){ 11 $('#menu-mobile').slideToggle(200); 12 }); 13 14 $('.btn-submenu').click(function (){ 15 $('.submenu-item-'+$(this).data('class')).slideToggle(200); 16 return false; 17 }); 18 19 //$(document).snowfall({deviceorientation : true, round : true, minSize: 5, maxSize:8}); 20 21 $('.btn-gender').click(function (){ 22 $('.form-gender').val($(this).data('gender')); 23 $('.btn-gender.active').removeClass('active'); 24 $(this).addClass('active') 25 return false; 26 }); 27 28 $('.btn-update-request').click(function (){ 29 var redirect_url = $(this).data('redirect-url'); 30 $.post('/api/v2/update-request/', { 31 id:$(this).data('request-id'), 32 method:$(this).data('request-method'), 33 data:$(this).data('request-data'), 34 }, function (){ 35 if(redirect_url){ 36 location.href = redirect_url; 37 } 38 else{ 39 Swal.fire( 40 'СпаÑибо!', 41 'ÐаÑвка обновлена', 42 'success' 43 ); 44 } 45 }); 46 Swal.fire({ 47 title: 'СпаÑибо!', 48 html: 'ÐÑ Ð¾Ð±Ð½Ð¾Ð²Ð»Ñем ваÑÑ Ð·Ð°ÑвкÑ', 49 icon: 'success', 50 timer: 2000 51 }); 52 return false; 53 }); 54 55 $('.btn-share').click(function (){ 56 $('.ya-share2__item_more').click(); 57 return false; 58 }); 59 60 //$(document).snowfall({deviceorientation : true, minSize: 5, maxSize:24, image :"/wa-apps/content/themes/secrets2/img/heart2.png",}); 61}); 62 63function getUrlParameter(sParam) { 64 var sPageURL = window.location.search.substring(1), 65 sURLVariables = sPageURL.split('&'), 66 sParameterName, 67 i; 68 69 for (i = 0; i < sURLVariables.length; i++) { 70 sParameterName = sURLVariables[i].split('='); 71 72 if (sParameterName[0] === sParam) { 73 return sParameterName[1] === undefined ? true : decodeURIComponent(sParameterName[1]); 74 } 75 } 76 return false; 77} 78 79function init18plusModal(){ 80 if($.cookie('checked_18plus')){ 81 return false; 82 } 83 $('#supreme-container').addClass('blurred'); 84 const modal18plusEl = document.getElementById('modal-18-plus') 85 const modal18plus = new bootstrap.Modal('#modal-18-plus', { 86 keyboard: false, 87 backdrop: 'static' 88 }); 89 modal18plus.show(); 90 $('.btn-18-plus-yes').click(function (){ 91 modal18plus.hide(); 92 $('#supreme-container').removeClass('blurred'); 93 $.cookie('checked_18plus', 1, {expires: 3650, path: '/'}); 94 return false; 95 }); 96 $('.btn-18-plus-no').click(function (){ 97 modal18plus.hide(); 98 const modal18minus = new bootstrap.Modal('#modal-18-minus', { 99 keyboard: false, 100 backdrop: 'static' 101 }); 102 modal18minus.show(); 103 return false; 104 }); 105} 106 107function initQRCode(element_id, url){ 108 $(document).ready(function () { 109 new QRCode(document.getElementById(element_id), url); 110 $('#qrcode-link').attr('href', url); 111 }); 112}
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.