1'use strict'; 2(function ($){ 3$(document).ready(function (){ 4$('.stm-rooms-types li.active').each(function (){ 5var type=$(this).attr('data-type'); 6var $container=$(this).closest('.stm_wp_hotelier_rooms_list'); 7$container.find('.' + type).addClass('active'); 8}); 9$('.stm-rooms-types li').on('click', function (e){ 10e.preventDefault(); 11var type=$(this).attr('data-type'); 12var $container=$(this).closest('.stm_wp_hotelier_rooms_list'); 13var $links=$container.find('.stm-rooms-types li'); 14$links.removeClass('active'); 15$(this).addClass('active'); 16$container.find('.stm-rooms-list').removeClass('active'); 17$container.find('.' + type).addClass('active'); 18}); 19}); 20})(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.