1document.addEventListener("DOMContentLoaded", function(){ 2 if (document.querySelector('#ui-select-time')) { 3 const selectTime = new SelectUI('#ui-select-time', { 4 placeholder: 'ÐÑемÑ*', 5 errorText: 'ÐÑбеÑиÑе вÑемÑ*', 6 nameSelect: 'ui-select-time', 7 data: [ 8 {id: '1', value: '15:00 - 16:30'}, 9 {id: '2', value: '17:00 - 18:30'}, 10 {id: '3', value: '18:00 - 18:30'}, 11 ], 12 }); 13 } 14 15 if (document.querySelector('#ui-select-guest')) { 16 const selectGuest = new SelectUI('#ui-select-guest', { 17 placeholder: 'Ðол-во гоÑÑей*', 18 errorText: 'УкажиÑе кол-во гоÑÑей*', 19 nameSelect: 'ui-select-guest', 20 data: [ 21 {id: '1', value: '1'}, 22 {id: '2', value: '2'}, 23 {id: '3', value: '3'}, 24 ], 25 }); 26 } 27});
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.