1jQuery(function ($) { 2 3 if (typeof UZB_SETTINGS === 'undefined' || !UZB_SETTINGS.forms?.length) { 4 return; 5 } 6 7 const allowedForms = UZB_SETTINGS.forms.map(String); 8 const uzb_cf7_forms_geo_location = UZB_SETTINGS.geo_location_forms.map(String); 9 10 $('.wpcf7 form').each(function () { 11 12 const $form = $(this); 13 14 // Extract CF7 form ID from action or hidden input 15 const unitTag = $form.find('input[name="_wpcf7"]').val(); 16 17 if (!unitTag) return; 18 19 if (allowedForms.includes(unitTag)) { 20 $form.addClass('zenoti-form'); 21 if(uzb_cf7_forms_geo_location.includes(unitTag)) { 22 $form.addClass('zenoti-geo-location'); 23 } 24 } 25 }); 26 27}); 28
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.