<% if (leadgen.video) { %>
<% } %>
<% if (leadgen.background_images.length > 0) { %>
<% } %>
<% if (leadgen.blur_frame_enabled) { %>
<% } %>
<% if (leadgen.logo) { %>
<% } %>
<% if (leadgen.callback_screen_texts.length > 0) { %>
<% for (var [idx, text] of leadgen.callback_screen_texts.entries()) { %>
<% if (text != '') { %>
<%= text %>
<% } %>
<% } %>
<% } %>
<% if (leadgen.custom_buttons2) { %>
<% for (var [idx, btn] of leadgen.custom_buttons2.entries()) { %>
<% } %>
<% } %>
<% if (leadgen.input_fields.indexOf('name') > -1) { %>
-1) { %>
c-validator="required"
<% } %>
/>
<% } %>
<% if (leadgen.input_fields.indexOf('phone') > -1) { %>
c-mask="<%= Comagic.UI.C.PHONE_MASK_FORMAT %>"
c-validator="<%= leadgen.required_fields.indexOf('phone') > -1 ? 'required ' : '' %>phone phone_mask_filled"
<% } else { %>
c-validator="<%= leadgen.required_fields.indexOf('phone') > -1 ? 'required ' : '' %>phone"
<% } %>
/>
<% if (typeof is_widget_prefix_country !== 'undefined' && is_widget_prefix_country) { %>
<% } %>
<% } %>
<% if (leadgen.input_fields.indexOf('email') > -1) { %>
<% } %>
<% if (leadgen.input_fields.indexOf('address') > -1) { %>
<% if (leadgen.create_taxi_request) { %>
<% } else { %>
-1) { %>
c-validator="required"
<% } %>
/>
<% } %>
<% } %>
<% if (typeof leadgen.simple_delayed_call_time === 'object' && leadgen.simple_delayed_call_time.enabled) { %>
<% } %>
<% if (leadgen.comment_field_enabled) { %>
<% } %>
<% if (leadgen.use_staff_group && leadgen.staff_groups.length > 0) { %>
<% } %>
<% if (leadgen.input_fields.length) { %>
<% } %>
<% if (leadgen.processing_personal_data_text && leadgen.input_fields.length) { %>
<% } %>
<% if (typeof leadgen.mailing_agreement === 'object' && leadgen.mailing_agreement.enabled) { %>
<% } %>
<% if (leadgen.license_text) { %>
<% } %>
<% if (leadgen.thanks_screen_texts.length > 0) { %>
<% for (var [idx, text] of leadgen.thanks_screen_texts.entries()) { %>
<% if (text != '') { %>
<%= text %>
<% } %>
<% } %>
<% } %>