1(function ($) { 2 window.booklyStaffServices = function (Options) { 3 let $container = $('.' + Options.form_id); 4 if (!$container.length) { 5 return; 6 } 7 let options = { 8 get_staff_services: { 9 action: 'bookly_staff_cabinet_get_services', 10 staff_id: Options.staff_id 11 }, 12 saving: function (alerts) { 13 $.each(alerts, function (type, messages) { 14 if (messages.length > 0) { 15 window.booklyNativeAlert(messages.join('\n')); 16 } 17 }); 18 }, 19 booklyAlert: function (alerts) { 20 options.saving(alerts); 21 }, 22 validation: function () {}, 23 l10n: BooklySCServicesL10n 24 }; 25 26 // Init Staff Services. 27 new BooklyStaffServices($container, options); 28 }; 29})(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.