{"forms": [{"id": 86665, "template": 2405, "button_template": null, "test_group": null, "new_targeting": {"filter": {"id": "root", "name": "root", "nodes": [{"id": "2", "name": "$and", "type": "current_page", "nodes": [{"id": "3", "field": "page", "value": ["https://ohotaktiv.ru/cart/"], "operator": "$in_contains"}], "operator": "$and"}, {"id": "4", "field": "device", "value": ["pc"], "operator": "$in"}], "operator": "$and"}}, "settings_splits": [{"settings": {"unit": "option3", "title": "\u0422\u043e\u0432\u0430\u0440\u044b \u0432 \u0432\u0430\u0448\u0435\u0439 \u043a\u043e\u0440\u0437\u0438\u043d\u0435 \u043c\u043e\u0433\u0443\u0442 \u0441\u043a\u043e\u0440\u043e \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u0442\u044c\u0441\u044f!", "num_max": "6", "num_min": "4.00", "bg_color": "#F7F8F9", "subtitle": "\u0435\u0449\u0451 \u043a\u0443\u043f\u0438\u043b\u0438 \u044d\u0442\u0438 \u0442\u043e\u0432\u0430\u0440\u044b \u0437\u0430\u00a0\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 30 \u043c\u0438\u043d\u0443\u0442", "title_fw": "600", "title_lh": "1.3", "width_mob": "350", "title_show": "1", "width_desk": "530", "close_color": "#787878", "font_custom": "Gilroy", "font_family": "Manrope, sans-serif", "img_gap_mob": "20", "shadow_blur": "15", "shadow_show": "1", "subtitle_fw": "400", "subtitle_lh": "1.3", "title_color": "#000", "border_color": "#000", "img_gap_desk": "20", "shadow_color": "#000", "title_fs_mob": "18", "border_radius": "10", "close_bg_show": "1", "hidden_locale": "ru", "img_src_mob_1": "https://personalization-web-stable.mindbox.ru/user-media/img/img1_-4046223917592434249.svg", "img_src_mob_2": "https://personalization-web-stable.mindbox.ru/user-media/img/img2_-2609905930432291790.png", "padding_x_mob": "18", "padding_y_mob": "16", "shadow_spread": "0", "subtitle_show": "1", "title_fs_desk": "18.00", "close_bg_color": "#C9CED6", "close_size_mob": "24", "img_show_mob_1": "1", "img_show_mob_2": "1", "img_src_desk_1": "https://personalization-web-stable.mindbox.ru/user-media/35535/10e2c11a33cd18a48a36bd6fe89cdebc37a5e10feff9674f08b3b19d32a8edf7.png", "img_src_desk_2": "https://personalization-web-stable.mindbox.ru/user-media/img/img2_-2609905930432291790.png", "padding_x_desk": "18", "padding_y_desk": "16", "subtitle_color": "#1D1D1D", "bg_transparency": "1", "close_size_desk": "32", "img_show_desk_1": "1", "img_show_desk_2": "0", "img_width_mob_1": "50", "img_width_mob_2": "102", "shadow_offset_x": "0", "shadow_offset_y": "14", "subtitle_fs_mob": "14", "border_width_mob": "0", "font_custom_show": "1", "img_position_y_1": "center", "img_position_y_2": "center", "img_width_desk_1": "60", "img_width_desk_2": "120", "subtitle_fs_desk": "16", "border_width_desk": "0", "close_border_radius": "30", "shadow_transparency": "0.1", "close_position_x_mob": "12", "close_position_y_mob": "12", "title_position_x_mob": "left", "close_bg_transparency": "1", "close_position_x_desk": "15", "close_position_y_desk": "12", "img_margin_left_mob_1": "6", "title_position_x_desk": "left", "img_margin_left_desk_1": "16", "img_margin_right_mob_2": "0", "img_margin_right_desk_2": "0", "subtitle_position_x_mob": "left", "title_margin_bottom_mob": "10", "subtitle_position_x_desk": "left", "title_margin_bottom_desk": "10"}, "button_settings": {}, "conditions_splits": [{"conditions": {"delay": "7"}, "combinator": "or", "id": 198028}], "id": 86073, "behavior_settings": {"button": {"on": false, "positions": {"desktop": {"top": "0px", "left": "0px"}}, "conditions": "targeting", "show_before": true}, "partscreen": {"mobile": null, "tablet": null, "desktop": {"target": "window", "position": "bottom-left", "vertical_offset": 30, "element_position": "right", "horizontal_offset": 30, "element_vertical_offset": 0, "element_horizontal_offset": 0}, "animation_in": "fadeInLeft", "allow_overlay": true, "animation_out": "fadeOutLeft", "paranja_color": "#000000", "paranja_opacity": "0.00"}}}], "pinned": false, "name": "\u041f\u043e\u043f\u0430\u043f \u0442\u043e\u0432\u0430\u0440\u044b \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0435", "active": true, "embed_selector": false, "selector": "", "placement": "start", "frequency": {"once_lifetime": false, "once_session": false, "priority": false, "minimal_timeout": 172800}, "start_date": null, "end_date": null, "day_of_week": [true, true, true, true, true, true, true], "start_time": null, "end_time": null, "timezone_minutes": 180, "custom_fields": [], "container_id": null, "child_forms": [], "salt": null, "control_group": null, "variants": [{"is_winner": false, "ab_test_variant_internal_id": null, "view_settings": {"button_template": null, "rendered_preview": "https://personalization-web-stable.mindbox.ru/user-media/screenshots/form-variant-86853.png?ts=1714116738868", "rendered_button_preview": null, "settings": {"unit": "option3", "title": "\u0422\u043e\u0432\u0430\u0440\u044b \u0432 \u0432\u0430\u0448\u0435\u0439 \u043a\u043e\u0440\u0437\u0438\u043d\u0435 \u043c\u043e\u0433\u0443\u0442 \u0441\u043a\u043e\u0440\u043e \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u0442\u044c\u0441\u044f!", "num_max": "6", "num_min": "4.00", "bg_color": "#F7F8F9", "subtitle": "\u0435\u0449\u0451 \u043a\u0443\u043f\u0438\u043b\u0438 \u044d\u0442\u0438 \u0442\u043e\u0432\u0430\u0440\u044b \u0437\u0430\u00a0\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 30 \u043c\u0438\u043d\u0443\u0442", "title_fw": "600", "title_lh": "1.3", "width_mob": "350", "title_show": "1", "width_desk": "530", "close_color": "#787878", "font_custom": "Gilroy", "font_family": "Manrope, sans-serif", "img_gap_mob": "20", "shadow_blur": "15", "shadow_show": "1", "subtitle_fw": "400", "subtitle_lh": "1.3", "title_color": "#000", "border_color": "#000", "img_gap_desk": "20", "shadow_color": "#000", "title_fs_mob": "18", "border_radius": "10", "close_bg_show": "1", "hidden_locale": "ru", "img_src_mob_1": "https://personalization-web-stable.mindbox.ru/user-media/img/img1_-4046223917592434249.svg", "img_src_mob_2": "https://personalization-web-stable.mindbox.ru/user-media/img/img2_-2609905930432291790.png", "padding_x_mob": "18", "padding_y_mob": "16", "shadow_spread": "0", "subtitle_show": "1", "title_fs_desk": "18.00", "close_bg_color": "#C9CED6", "close_size_mob": "24", "img_show_mob_1": "1", "img_show_mob_2": "1", "img_src_desk_1": "https://personalization-web-stable.mindbox.ru/user-media/35535/10e2c11a33cd18a48a36bd6fe89cdebc37a5e10feff9674f08b3b19d32a8edf7.png", "img_src_desk_2": "https://personalization-web-stable.mindbox.ru/user-media/img/img2_-2609905930432291790.png", "padding_x_desk": "18", "padding_y_desk": "16", "subtitle_color": "#1D1D1D", "bg_transparency": "1", "close_size_desk": "32", "img_show_desk_1": "1", "img_show_desk_2": "0", "img_width_mob_1": "50", "img_width_mob_2": "102", "shadow_offset_x": "0", "shadow_offset_y": "14", "subtitle_fs_mob": "14", "border_width_mob": "0", "font_custom_show": "1", "img_position_y_1": "center", "img_position_y_2": "center", "img_width_desk_1": "60", "img_width_desk_2": "120", "subtitle_fs_desk": "16", "border_width_desk": "0", "close_border_radius": "30", "shadow_transparency": "0.1", "close_position_x_mob": "12", "close_position_y_mob": "12", "title_position_x_mob": "left", "close_bg_transparency": "1", "close_position_x_desk": "15", "close_position_y_desk": "12", "img_margin_left_mob_1": "6", "title_position_x_desk": "left", "img_margin_left_desk_1": "16", "img_margin_right_mob_2": "0", "img_margin_right_desk_2": "0", "subtitle_position_x_mob": "left", "title_margin_bottom_mob": "10", "subtitle_position_x_desk": "left", "title_margin_bottom_desk": "10"}, "button_settings": {}, "behavior_settings": {"button": {"on": false, "positions": {"desktop": {"top": "0px", "left": "0px"}}, "conditions": "targeting", "show_before": true}, "partscreen": {"mobile": null, "tablet": null, "desktop": {"target": "window", "position": "bottom-left", "vertical_offset": 30, "element_position": "right", "horizontal_offset": 30, "element_vertical_offset": 0, "element_horizontal_offset": 0}, "animation_in": "fadeInLeft", "allow_overlay": true, "animation_out": "fadeOutLeft", "paranja_color": "#000000", "paranja_opacity": "0.00"}}, "html": "", "css": "", "button_html": "", "button_css": ""}, "modulus_lower_inclusive": null, "modulus_upper_exclusive": null}], "is_transactional": false}, {"id": 86656, "template": 904, "button_template": null, "test_group": null, "new_targeting": {"filter": {"id": "root", "name": "root", "nodes": [{"id": "2", "name": "$and", "type": "current_page", "nodes": [{"id": "3", "field": "page", "value": "https://ohotaktiv.ru/card", "operator": "$exclude"}, {"id": "4", "field": "page", "value": "https://ohotaktiv.ru/order/", "operator": "$exclude"}, {"id": "5", "field": "page", "value": "https://ohotaktiv.ru/cart/", "operator": "$exclude"}, {"id": "6", "field": "page", "value": "https://ohotaktiv.ru/shops/", "operator": "$exclude"}, {"id": "7", "field": "page", "value": "https://ohotaktiv.ru/result/?success=true", "operator": "$exclude"}], "operator": "$and"}, {"id": "8", "field": "device", "value": ["pc"], "operator": "$in"}], "operator": "$and"}}, "settings_splits": [{"settings": {"ff1": "700", "img": "https://personalization-web-stable.mindbox.ru/user-media/35535/10e2c11a33cd18a48a36bd6fe89cdebc37a5e10feff9674f08b3b19d32a8edf7.png", "title": "\u0410\u043a\u0446\u0438\u0438 \u0438 \u0441\u043a\u0438\u0434\u043a\u0438
\u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u043e\u0432", "img_top": "-1", "pad_top": "46", "btn_text": "\u041f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f", "img_left": "-1", "pad_left": "30", "show_img": "1", "btn_color": "#1D1D1D", "btn_width": "140", "form_font": "Roboto, sans-serif", "img_width": "53", "inp_color": "#1D1D1D", "inp_width": "260", "pad_right": "30", "sub_title": "\u0420\u0430\u0437 \u0432 \u043d\u0435\u0434\u0435\u043b\u044e \u043f\u043e\u043b\u0443\u0447\u0430\u0439\u0442\u0435 \u043f\u043e\u0434\u0431\u043e\u0440\u043a\u0443 \u043b\u0443\u0447\u0448\u0438\u0445 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0439", "btn_height": "45", "form_width": "400", "img_thanks": "https://personalization-web-stable.mindbox.ru/user-media/35535/10e2c11a33cd18a48a36bd6fe89cdebc37a5e10feff9674f08b3b19d32a8edf7.png", "inp_height": "45", "pad_bottom": "38", "show_title": "1", "btn_bgcolor": "#FFDD2D", "close_color": "#787878", "font_custom": "Gilroy", "form_bg_img": "https://personalization-web-stable.mindbox.ru/user-media/35535/d3ce7b3bf43b2058bd7f84051c8e25c3fa8bbdb0571d31c4a29ceaa7a3a84e61.png", "form_height": "245", "img_top_mob": "-1", "inp_bgcolor": "#ffffff", "pad_top_mob": "46", "title_color": "#282828", "btn_fontsize": "13", "img_left_mob": "1", "inp_fontsize": "13", "pad_left_mob": "35", "show_form_bg": "0", "thanks_title": "\u0421\u043f\u0430\u0441\u0438\u0431\u043e!
\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043d\u0430 \u0441\u0432\u044f\u0437\u0438", "btn_width_mob": "100", "close_bgcolor": "#C9CED6", "form_bg_color": "#F7F8F9", "img_width_mob": "53", "inp_width_mob": "200", "pad_right_mob": "35", "btn_height_mob": "45", "form_width_mob": "300", "img_thanks_top": "1", "inp_height_mob": "45", "pad_bottom_mob": "40", "show_sub_title": "1", "title_fontsize": "21.00", "btn_hover_color": "#1D1D1D", "form_height_mob": "241", "img_thanks_left": "-1", "show_thanks_img": "1", "sub_title_color": "#1D1D1D", "btn_fontsize_mob": "12", "font_custom_show": "1", "form_line_height": "1.4", "img_thanks_width": "80", "inp_fontsize_mob": "12", "btn_hover_bgcolor": "#FCBC17", "form_border_color": "#ffffff", "form_border_width": "0", "placeholder_email": "\u0412\u0430\u0448 Email", "show_thanks_title": "1", "form_border_radius": "10", "img_thanks_top_mob": "-1", "sub_title_fontsize": "14", "title_fontsize_mob": "16", "img_thanks_left_mob": "-1", "form_line_height_mob": "1.4", "img_thanks_width_mob": "80", "below_form_legal_text": "", "inp_placeholder_color": "#b8b8b8", "sub_title_fontsize_mob": "12", "show_legal_text_below_form": "0"}, "button_settings": {}, "conditions_splits": [{"conditions": {"session_time": "30"}, "combinator": "or", "id": 198024}], "id": 86064, "behavior_settings": {"button": {"on": false, "positions": {"desktop": {"top": "0px", "left": "0px"}}, "conditions": "targeting", "show_before": true}, "partscreen": {"mobile": null, "tablet": null, "desktop": {"target": "window", "position": "bottom-left", "vertical_offset": 30, "element_position": "right", "horizontal_offset": 30, "element_vertical_offset": 0, "element_horizontal_offset": 0}, "animation_in": "fadeInLeft", "allow_overlay": false, "animation_out": "fadeOutLeft", "paranja_color": "#000000", "paranja_opacity": "0.00"}}}], "pinned": false, "name": "\u041f\u043e\u0434\u043f\u0438\u0441\u043a\u0430 \u043d\u0430 \u0440\u0430\u0441\u0441\u044b\u043b\u043a\u0443 \u041f\u041a_", "active": true, "embed_selector": false, "selector": "", "placement": "start", "frequency": {"once_lifetime": false, "once_session": false, "priority": false, "minimal_timeout": 172800}, "start_date": null, "end_date": null, "day_of_week": [true, true, true, true, true, true, true], "start_time": null, "end_time": null, "timezone_minutes": 180, "custom_fields": [], "container_id": null, "child_forms": [], "salt": null, "control_group": null, "variants": [{"is_winner": false, "ab_test_variant_internal_id": null, "view_settings": {"button_template": null, "rendered_preview": "https://personalization-web-stable.mindbox.ru/user-media/screenshots/form-variant-86844.png?ts=1713962276777", "rendered_button_preview": null, "settings": {"ff1": "700", "img": "https://personalization-web-stable.mindbox.ru/user-media/35535/10e2c11a33cd18a48a36bd6fe89cdebc37a5e10feff9674f08b3b19d32a8edf7.png", "title": "\u0410\u043a\u0446\u0438\u0438 \u0438 \u0441\u043a\u0438\u0434\u043a\u0438
\u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u043e\u0432", "img_top": "-1", "pad_top": "46", "btn_text": "\u041f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f", "img_left": "-1", "pad_left": "30", "show_img": "1", "btn_color": "#1D1D1D", "btn_width": "140", "form_font": "Roboto, sans-serif", "img_width": "53", "inp_color": "#1D1D1D", "inp_width": "260", "pad_right": "30", "sub_title": "\u0420\u0430\u0437 \u0432 \u043d\u0435\u0434\u0435\u043b\u044e \u043f\u043e\u043b\u0443\u0447\u0430\u0439\u0442\u0435 \u043f\u043e\u0434\u0431\u043e\u0440\u043a\u0443 \u043b\u0443\u0447\u0448\u0438\u0445 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0439", "btn_height": "45", "form_width": "400", "img_thanks": "https://personalization-web-stable.mindbox.ru/user-media/35535/10e2c11a33cd18a48a36bd6fe89cdebc37a5e10feff9674f08b3b19d32a8edf7.png", "inp_height": "45", "pad_bottom": "38", "show_title": "1", "btn_bgcolor": "#FFDD2D", "close_color": "#787878", "font_custom": "Gilroy", "form_bg_img": "https://personalization-web-stable.mindbox.ru/user-media/35535/d3ce7b3bf43b2058bd7f84051c8e25c3fa8bbdb0571d31c4a29ceaa7a3a84e61.png", "form_height": "245", "img_top_mob": "-1", "inp_bgcolor": "#ffffff", "pad_top_mob": "46", "title_color": "#282828", "btn_fontsize": "13", "img_left_mob": "1", "inp_fontsize": "13", "pad_left_mob": "35", "show_form_bg": "0", "thanks_title": "\u0421\u043f\u0430\u0441\u0438\u0431\u043e!
\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043d\u0430 \u0441\u0432\u044f\u0437\u0438", "btn_width_mob": "100", "close_bgcolor": "#C9CED6", "form_bg_color": "#F7F8F9", "img_width_mob": "53", "inp_width_mob": "200", "pad_right_mob": "35", "btn_height_mob": "45", "form_width_mob": "300", "img_thanks_top": "1", "inp_height_mob": "45", "pad_bottom_mob": "40", "show_sub_title": "1", "title_fontsize": "21.00", "btn_hover_color": "#1D1D1D", "form_height_mob": "241", "img_thanks_left": "-1", "show_thanks_img": "1", "sub_title_color": "#1D1D1D", "btn_fontsize_mob": "12", "font_custom_show": "1", "form_line_height": "1.4", "img_thanks_width": "80", "inp_fontsize_mob": "12", "btn_hover_bgcolor": "#FCBC17", "form_border_color": "#ffffff", "form_border_width": "0", "placeholder_email": "\u0412\u0430\u0448 Email", "show_thanks_title": "1", "form_border_radius": "10", "img_thanks_top_mob": "-1", "sub_title_fontsize": "14", "title_fontsize_mob": "16", "img_thanks_left_mob": "-1", "form_line_height_mob": "1.4", "img_thanks_width_mob": "80", "below_form_legal_text": "", "inp_placeholder_color": "#b8b8b8", "sub_title_fontsize_mob": "12", "show_legal_text_below_form": "0"}, "button_settings": {}, "behavior_settings": {"button": {"on": false, "positions": {"desktop": {"top": "0px", "left": "0px"}}, "conditions": "targeting", "show_before": true}, "partscreen": {"mobile": null, "tablet": null, "desktop": {"target": "window", "position": "bottom-left", "vertical_offset": 30, "element_position": "right", "horizontal_offset": 30, "element_vertical_offset": 0, "element_horizontal_offset": 0}, "animation_in": "fadeInLeft", "allow_overlay": false, "animation_out": "fadeOutLeft", "paranja_color": "#000000", "paranja_opacity": "0.00"}}, "html": "", "css": "", "button_html": "", "button_css": ""}, "modulus_lower_inclusive": null, "modulus_upper_exclusive": null}], "is_transactional": false}], "templates": [{"id": 904, "html": "
\r\n
\r\n\r\n
\r\n
\r\n <% if(parseInt(show_img)) { %>\r\n \" class=\"popmechanic-image\">\r\n <% } %>\r\n <% if(parseInt(show_title)) { %>\r\n
\r\n <%=title%>\r\n
\r\n <% } %>\r\n
\r\n <% if(parseInt(show_sub_title)) { %>\r\n
\r\n <%=sub_title%>\r\n
\r\n <% } %>\r\n
\r\n\r\n
\r\n \">\r\n\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n <% if(parseInt(show_thanks_img)) { %>\r\n \" class=\"popmechanic-thanks-image\">\r\n <% } %>\r\n <% if(parseInt(show_thanks_title)) { %>\r\n
\r\n <%=thanks_title%>\r\n
\r\n <% } %>\r\n
\r\n\r\n\r\n
\r\n
\r\n
×
\r\n <% \r\n try {\r\n show_legal_text_below_form = show_legal_text_below_form;\r\n } catch (e) { show_legal_text_below_form = 0 }\r\n try {\r\n below_form_legal_text = below_form_legal_text;\r\n } catch (e) { below_form_legal_text = \"\" }\r\n %>\r\n <% if(parseInt(show_legal_text_below_form) && below_form_legal_text) { %>\r\n
<%=below_form_legal_text%>
\r\n <% } %>\r\n
", "css": "<% try {\r\n font_custom_show = font_custom_show;\r\n } catch (e) { font_custom_show = 0 }\r\n%>\r\n\r\n<% if(!parseInt(font_custom_show)) { %>\r\n @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Roboto:wght@400;700&display=swap');\r\n<% } %>\r\n\r\n#popmechanic-form * {\r\n margin: 0;\r\n padding: 0;\r\n border: 0;\r\n font-size: 100%;\r\n font: inherit;\r\n vertical-align: baseline;\r\n background: none;\r\n -webkit-box-sizing: border-box;\r\n box-sizing: border-box;\r\n}\r\n\r\n#popmechanic-form {\r\n width: <%=form_width%>px;\r\n height: <%=form_height%>px;\r\n <% if(font_custom_show && parseInt(font_custom_show)) { %>\r\n font-family: <% try { print(font_custom); } catch (e) { print('sans-serif'); } %>;\r\n <% } else { %>\r\n font-family: <% try { print(form_font); } catch (e) { print('sans-serif'); } %>;\r\n <% } %>\r\n -webkit-box-sizing: border-box;\r\n box-sizing: border-box;\r\n position: relative;\r\n background-color: <%=form_bg_color%>;\r\n <% if(parseInt(show_form_bg)) { %>\r\n background-image: url(<%=form_bg_img%>);\r\n background-position: center;\r\n background-size: cover;\r\n background-repeat: no-repeat;\r\n <% } %>\r\n border-radius: <%=form_border_radius%>px;\r\n line-height: <%=form_line_height%>;\r\n -webkit-box-shadow: 1px 1px 20px 2px rgba(1, 2, 2, 0.1),\r\n 0 0 0 <%=form_border_width%>px <%=form_border_color%>;\r\n box-shadow: 1px 1px 20px 2px rgba(1, 2, 2, 0.1),\r\n 0 0 0 <%=form_border_width%>px <%=form_border_color%>;\r\n}\r\n\r\n#popmechanic-form .popmechanic-content {\r\n text-align: left;\r\n padding-top: <%=pad_top%>px;\r\n padding-bottom: <%=pad_bottom%>px;\r\n padding-left: <%=pad_left%>px;\r\n padding-right: <%=pad_right%>px;\r\n}\r\n\r\n#popmechanic-form .popmechanic-main {\r\n display: -webkit-box;\r\n display: -ms-flexbox;\r\n display: flex;\r\n -webkit-box-orient: vertical;\r\n -webkit-box-direction: normal;\r\n -ms-flex-direction: column;\r\n flex-direction: column;\r\n height: 100%;\r\n}\r\n\r\n#popmechanic-form .popmechanic-thankyou {\r\n display: none;\r\n -webkit-box-align: center;\r\n -ms-flex-align: center;\r\n align-items: center;\r\n -webkit-box-pack: center;\r\n -ms-flex-pack: center;\r\n justify-content: center;\r\n height: 100%;\r\n}\r\n\r\n.popmechanic-success #popmechanic-form .popmechanic-thankyou {\r\n display: -webkit-box;\r\n display: -ms-flexbox;\r\n display: flex;\r\n}\r\n\r\n.popmechanic-success #popmechanic-form .popmechanic-main {\r\n display: none;\r\n}\r\n\r\n.popmechanic-mobile #popmechanic-form {\r\n width: <%=form_width_mob%>px;\r\n height: <%=form_height_mob%>px;\r\n line-height: <%=form_line_height_mob%>;\r\n}\r\n\r\n.popmechanic-mobile #popmechanic-form .popmechanic-content {\r\n padding-top: <%=pad_top_mob%>px;\r\n padding-bottom: <%=pad_bottom_mob%>px;\r\n padding-left: <%=pad_left_mob%>px;\r\n padding-right: <%=pad_right_mob%>px;\r\n}\r\n\r\n#popmechanic-form .popmechanic-image {\r\n position: relative;\r\n width: <%=img_width%>px;\r\n top: <%=img_top%>px;\r\n left: <%=img_left%>px;\r\n margin-right: 20px;\r\n}\r\n\r\n#popmechanic-form .popmechanic-thanks-image {\r\n position: relative;\r\n width: <%=img_thanks_width%>px;\r\n top: <%=img_thanks_top%>px;\r\n left: <%=img_thanks_left%>px;\r\n margin-right: 20px;\r\n}\r\n\r\n.popmechanic-mobile #popmechanic-form .popmechanic-image {\r\n top: <%=img_top_mob%>px;\r\n left: <%=img_left_mob%>px;\r\n width: <%=img_width_mob%>px;\r\n}\r\n\r\n.popmechanic-mobile #popmechanic-form .popmechanic-thanks-image {\r\n width: <%=img_thanks_width_mob%>px;\r\n top: <%=img_thanks_top_mob%>px;\r\n left: <%=img_thanks_left_mob%>px;\r\n margin-right: 16px;\r\n}\r\n\r\n#popmechanic-form .popmechanic-close {\r\n cursor: pointer;\r\n text-align: center;\r\n position: absolute;\r\n right: -15px;\r\n top: -15px;\r\n color: <%=close_color%>;\r\n background-color: <%=close_bgcolor%>;\r\n border-radius: 50%;\r\n font-weight: 400;\r\n line-height: 30px;\r\n width: 30px;\r\n height: 30px;\r\n font-size: 25px;\r\n}\r\n.popmechanic-mobile #popmechanic-form .popmechanic-close {\r\n top: -7px;\r\n right: -5px;\r\n}\r\n#popmechanic-form .popmechanic-title-wrapper {\r\n display: -webkit-box;\r\n display: -ms-flexbox;\r\n display: flex;\r\n -webkit-box-align: center;\r\n -ms-flex-align: center;\r\n align-items: center;\r\n margin-bottom: 20px;\r\n}\r\n\r\n#popmechanic-form .popmechanic-title {\r\n font-size: <%=title_fontsize%>px;\r\n color: <%=title_color%>;\r\n font-weight: <%=ff1%>;\r\n}\r\n\r\n.popmechanic-mobile #popmechanic-form .popmechanic-title {\r\n font-size: <%=title_fontsize_mob%>px;\r\n}\r\n\r\n#popmechanic-form .popmechanic-sub-title {\r\n font-size: <%=sub_title_fontsize%>px;\r\n font-weight: 400;\r\n color: <%=sub_title_color%>;\r\n}\r\n\r\n.popmechanic-mobile #popmechanic-form .popmechanic-sub-title {\r\n font-size: <%=sub_title_fontsize_mob%>px;\r\n}\r\n\r\n#popmechanic-form .popmechanic-inputs {\r\n margin-top: auto;\r\n display: -webkit-box;\r\n display: -ms-flexbox;\r\n display: flex;\r\n -webkit-box-pack: justify;\r\n -ms-flex-pack: justify;\r\n justify-content: space-between;\r\n -webkit-box-align: center;\r\n -ms-flex-align: center;\r\n align-items: center;\r\n}\r\n\r\n#popmechanic-form .popmechanic-input {\r\n font-size: <%=inp_fontsize%>px;\r\n background-color: <%=inp_bgcolor%>;\r\n color: <%=inp_color%>;\r\n display: block;\r\n width: <%=inp_width%>px;\r\n height: <%=inp_height%>px;\r\n font-weight: 400;\r\n text-align: left;\r\n padding-left: 29px;\r\n outline: none;\r\n border-radius: 0;\r\n border-bottom-left-radius: <%=form_border_radius%>px;\r\n -webkit-box-shadow: -1px 1px 20px 2px rgba(1, 2, 2, 0.1);\r\n box-shadow: -1px 1px 20px 2px rgba(1, 2, 2, 0.1);\r\n}\r\n\r\n#popmechanic-form .popmechanic-input::-webkit-input-placeholder {\r\n color: <%=inp_placeholder_color%>;\r\n font-weight: 400;\r\n}\r\n\r\n#popmechanic-form .popmechanic-input:-ms-input-placeholder {\r\n color: <%=inp_placeholder_color%>;\r\n font-weight: 400;\r\n}\r\n\r\n#popmechanic-form .popmechanic-input::-ms-input-placeholder {\r\n color: <%=inp_placeholder_color%>;\r\n font-weight: 400;\r\n}\r\n\r\n#popmechanic-form .popmechanic-input::placeholder {\r\n color: <%=inp_placeholder_color%>;\r\n font-weight: 400;\r\n}\r\n\r\n#popmechanic-form .popmechanic-invalid {\r\n border: 1px solid red;\r\n}\r\n\r\n.popmechanic-mobile #popmechanic-form .popmechanic-input {\r\n width: <%=inp_width_mob%>px;\r\n height: <%=inp_height_mob%>px;\r\n font-size: <%=inp_fontsize_mob%>px;\r\n}\r\n\r\n#popmechanic-form .popmechanic-submit {\r\n display: block;\r\n width: <%=btn_width%>px;\r\n height: <%=btn_height%>px;\r\n background: <%=btn_bgcolor%>;\r\n color: <%=btn_color%>;\r\n font-size: <%=btn_fontsize%>px;\r\n font-weight: 700;\r\n line-height: <%=btn_height%>px;\r\n border-radius: 0;\r\n border-bottom-right-radius: <%=form_border_radius%>px;\r\n -webkit-box-shadow: -1px 1px 20px 2px rgba(1, 2, 2, 0.1);\r\n box-shadow: -1px 1px 20px 2px rgba(1, 2, 2, 0.1);\r\n cursor: pointer;\r\n outline: none;\r\n border: none;\r\n text-decoration: none;\r\n -webkit-transition: all .3s;\r\n transition: all .3s;\r\n}\r\n\r\n#popmechanic-form .popmechanic-submit:hover {\r\n color: <%=btn_hover_color%>;\r\n background: <%=btn_hover_bgcolor%>;\r\n}\r\n\r\n.popmechanic-mobile #popmechanic-form .popmechanic-submit {\r\n width: <%=btn_width_mob%>px;\r\n height: <%=btn_height_mob%>px;\r\n font-size: <%=btn_fontsize_mob%>px;\r\n line-height: <%=btn_height_mob%>px;\r\n}", "button": "", "on_show": "", "on_close": "", "embed_code": "", "behaviors": ["partscreen", "humble", "post-text", "lead"], "template_type": "partscreen-info", "need_reset": true, "parameters": [], "on_targeting_ready": "", "on_child_ready": ""}, {"id": 2405, "html": "
\r\n\r\n\t
\r\n\t\t
\r\n\t\t\t
\r\n\r\n\t\t\t\t<% if ((desktop.toString() !== \"false\") && parseInt(img_show_desk_1)) { %>\r\n\t\t\t\t\"\r\n\t\t\t\t\t\t alt=\"\">\r\n\t\t\t\t<% } %>\r\n\t\t\t\t<% if ((desktop.toString() === \"false\") && parseInt(img_show_mob_1)) { %>\r\n\t\t\t\t\"\r\n\t\t\t\t\t\t alt=\"\">\r\n\t\t\t\t<% } %>\r\n\r\n\t\t\t\t
\r\n\t\t\t\t\t<% if (parseInt(title_show)) { %>\r\n\t\t\t\t\t
<%= title %>
\r\n\t\t\t\t\t<% } %>\r\n\r\n\t\t\t\t\t<% if (parseInt(subtitle_show)) { %>\r\n\t\t\t\t\t
<%= subtitle %>
\r\n\t\t\t\t\t<% } %>\r\n\t\t\t\t
\r\n\r\n\t\t\t\t<% if ((desktop.toString() !== \"false\") && parseInt(img_show_desk_2)) { %>\r\n\t\t\t\t\"\r\n\t\t\t\t\t\t alt=\"\">\r\n\t\t\t\t<% } %>\r\n\t\t\t\t<% if ((desktop.toString() === \"false\") && parseInt(img_show_mob_2)) { %>\r\n\t\t\t\t\"\r\n\t\t\t\t\t\t alt=\"\">\r\n\t\t\t\t<% } %>\r\n\r\n\t\t\t
\r\n\t\t
\r\n\t
\r\n\r\n\t\r\n\t
\r\n
", "css": "<% if(!parseInt(font_custom_show)) { %>\r\n\t@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');\r\n<% } %>\r\n\r\n<%\r\n\tfunction hexToRgb(hex) {\r\n\t\treturn hex.replace(/^#?([a-f\\d])([a-f\\d])([a-f\\d])$/i, function (m, r, g, b) {\r\n\t\t\treturn \"#\".concat(r).concat(r).concat(g).concat(g).concat(b).concat(b);\r\n\t\t}).substring(1).match(/.{2}/g).map(function (x) {\r\n\t\t\treturn parseInt(x, 16);\r\n\t\t});\r\n\t};\r\n%>\r\n\r\n.popmechanic-reset, .popmechanic-reset * {\r\n\tbox-sizing: border-box;\r\n\tmargin: 0;\r\n\tfont-size: 16px;\r\n\tline-height: normal;\r\n}\r\n.popmechanic-reset::before,\r\n.popmechanic-reset::after,\r\n.popmechanic-reset *::before,\r\n.popmechanic-reset *::after {\r\n\tbox-sizing: border-box;\r\n}\r\n.popmechanic-reset A,\r\n.popmechanic-reset * A {\r\n\tcolor: inherit;\r\n\tfont-size: inherit;\r\n}\r\n#popmechanic-form {\r\n\tposition: relative !important;\r\n\tdisplay: inline-block;\r\n\tvertical-align: middle;\r\n\t<% if(parseInt(font_custom_show)) { %>\r\n\t\tfont-family: <%= font_custom %>;\r\n\t<% } else { %>\r\n\t\tfont-family: <%= font_family %>;\r\n\t<% } %>\r\n}\r\n#popmechanic-form .popmechanic-main {\r\n\tposition: relative;\r\n\twidth: 100vw;\r\n\tmax-width: 100%;\r\n}\r\n#popmechanic-form .popmechanic-container {\r\n\twidth: 100%;\r\n\tmax-width: 100%;\r\n\toverflow: hidden;\r\n\tborder: 0 solid <%= border_color %>;\r\n\tborder-radius: <%= border_radius %>px;\r\n\tbackground-color: rgba(<%= hexToRgb(bg_color) %>, <%= bg_transparency %>);\r\n\t<% if (parseInt(shadow_show)) { %>\r\n\t\tbox-shadow: <%= shadow_offset_x %>px <%= shadow_offset_y %>px <%= shadow_blur %>px <%= shadow_spread %>px rgba(<%= hexToRgb(shadow_color) %>, <%= shadow_transparency %>);\r\n\t<% } %>\r\n}\r\n#popmechanic-form .popmechanic-content {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tmax-width: 100%;\r\n}\r\n#popmechanic-form .popmechanic-image {\r\n\tdisplay: block;\r\n\tflex-shrink: 0;\r\n\tmax-width: 100%;\r\n\theight: auto;\r\n}\r\n#popmechanic-form .popmechanic-image1 {\r\n\t<% if (img_position_y_1 === \"top\") { %>\r\n\t\talign-self: flex-start;\r\n\t<% } else if (img_position_y_1 === \"bottom\") { %>\r\n\t\talign-self: flex-end;\r\n\t<% } else { %>\r\n\t\talign-self: center;\r\n\t<% } %>\r\n}\r\n#popmechanic-form .popmechanic-image2 {\r\n\t<% if (img_position_y_2 === \"top\") { %>\r\n\t\talign-self: flex-start;\r\n\t<% } else if (img_position_y_2 === \"bottom\") { %>\r\n\t\talign-self: flex-end;\r\n\t<% } else { %>\r\n\t\talign-self: center;\r\n\t<% } %>\r\n}\r\n#popmechanic-form .popmechanic-header {\r\n\tflex-grow: 1;\r\n\tword-break: break-word;\r\n\toverflow-wrap: break-word;\r\n}\r\n#popmechanic-form .popmechanic-title {\r\n\tcolor: <%= title_color %>;\r\n\tfont-weight: <%= title_fw %>;\r\n\tline-height: <%= title_lh %>;\r\n}\r\n#popmechanic-form .popmechanic-subtitle {\r\n\tcolor: <%= subtitle_color %>;\r\n\tfont-weight: <%= subtitle_fw %>;\r\n\tline-height: <%= subtitle_lh %>;\r\n}\r\n\r\n/* POPMECHANIC-DESKTOP */\r\n.popmechanic-desktop #popmechanic-form .popmechanic-main {\r\n\tmax-width: <%= width_desk %>px;\r\n}\r\n.popmechanic-desktop #popmechanic-form .popmechanic-container {\r\n\tborder-width: <%= border_width_desk %>px;\r\n}\r\n.popmechanic-desktop #popmechanic-form .popmechanic-content {\r\n\tgap: <%= img_gap_desk %>px;\r\n\tpadding: <%= padding_y_desk %>px <%= padding_x_desk %>px;\r\n\t<% if (parseInt(img_show_desk_1)) { %>\r\n\t\tpadding-left: <%= img_margin_left_desk_1 %>px;\r\n\t<% } %>\r\n\t<% if (parseInt(img_show_desk_2)) { %>\r\n\t\tpadding-right: <%= img_margin_right_desk_2 %>px;\r\n\t<% } %>\r\n}\r\n.popmechanic-desktop #popmechanic-form .popmechanic-image1 {\r\n\twidth: <%= img_width_desk_1 %>px;\r\n}\r\n.popmechanic-desktop #popmechanic-form .popmechanic-image2 {\r\n\twidth: <%= img_width_desk_2 %>px;\r\n}\r\n.popmechanic-desktop #popmechanic-form .popmechanic-title {\r\n\tmargin-bottom: <%= title_margin_bottom_desk %>px;\r\n\ttext-align: <%= title_position_x_desk %>;\r\n\tfont-size: <%= title_fs_desk %>px;\r\n}\r\n.popmechanic-desktop #popmechanic-form .popmechanic-subtitle {\r\n\ttext-align: <%= subtitle_position_x_desk %>;\r\n\tfont-size: <%= subtitle_fs_desk %>px;\r\n}\r\n\r\n/* POPMECHANIC-MOBILE */\r\n.popmechanic-tablet #popmechanic-form .popmechanic-main,\r\n.popmechanic-mobile #popmechanic-form .popmechanic-main {\r\n\tmax-width: <%= width_mob %>px;\r\n}\r\n.popmechanic-tablet #popmechanic-form .popmechanic-container,\r\n.popmechanic-mobile #popmechanic-form .popmechanic-container {\r\n\tborder-width: <%= border_width_mob %>px;\r\n}\r\n.popmechanic-tablet #popmechanic-form .popmechanic-content,\r\n.popmechanic-mobile #popmechanic-form .popmechanic-content {\r\n\tgap: <%= img_gap_mob %>px;\r\n\tpadding: <%= padding_y_mob %>px <%= padding_x_mob %>px;\r\n\t<% if (parseInt(img_show_mob_1)) { %>\r\n\t\tpadding-left: <%= img_margin_left_mob_1 %>px;\r\n\t<% } %>\r\n\t<% if (parseInt(img_show_mob_2)) { %>\r\n\t\tpadding-right: <%= img_margin_right_mob_2 %>px;\r\n\t<% } %>\r\n}\r\n.popmechanic-tablet #popmechanic-form .popmechanic-image1,\r\n.popmechanic-mobile #popmechanic-form .popmechanic-image1 {\r\n\twidth: <%= img_width_mob_1 %>px;\r\n}\r\n.popmechanic-tablet #popmechanic-form .popmechanic-image2,\r\n.popmechanic-mobile #popmechanic-form .popmechanic-image2 {\r\n\twidth: <%= img_width_mob_2 %>px;\r\n}\r\n.popmechanic-tablet #popmechanic-form .popmechanic-title,\r\n.popmechanic-mobile #popmechanic-form .popmechanic-title {\r\n\tmargin-bottom: <%= title_margin_bottom_mob %>px;\r\n\ttext-align: <%= title_position_x_mob %>;\r\n\tfont-size: <%= title_fs_mob %>px;\r\n}\r\n.popmechanic-tablet #popmechanic-form .popmechanic-subtitle,\r\n.popmechanic-mobile #popmechanic-form .popmechanic-subtitle {\r\n\ttext-align: <%= subtitle_position_x_mob %>;\r\n\tfont-size: <%= subtitle_fs_mob %>px;\r\n}\r\n\r\n/* POPMECHANIC-CLOSE */\r\n#popmechanic-form .popmechanic-close {\r\n\tposition: absolute;\r\n\tz-index: 40;\r\n\tborder-radius: <%= close_border_radius %>px;\r\n\tcursor: pointer;\r\n\t<% if (parseInt(close_bg_show)) { %>\r\n\t\tbackground-color: rgba(<%= hexToRgb(close_bg_color) %>, <%= close_bg_transparency %>);\r\n\t<% } else { %>\r\n\t\tbackground-color: rgba(255, 255, 255, 0);\r\n\t<% } %>\r\n}\r\n#popmechanic-form .popmechanic-close::before,\r\n#popmechanic-form .popmechanic-close::after {\r\n\tcontent: \"\";\r\n\tposition: absolute;\r\n\ttop: 50%;\r\n\tleft: 50%;\r\n\twidth: 50%;\r\n\theight: 2px;\r\n\tborder-radius: 2px;\r\n\tbackground-color: <%= close_color %>;\r\n\ttransform: translate(-50%, -50%) rotate(45deg);\r\n}\r\n#popmechanic-form .popmechanic-close::after {\r\n\ttransform: translate(-50%, -50%) rotate(135deg);\r\n}\r\n.popmechanic-desktop #popmechanic-form .popmechanic-close {\r\n\ttop: <%= close_position_y_desk %>px;\r\n\tright: <%= close_position_x_desk %>px;\r\n\twidth: <%= close_size_desk %>px;\r\n\theight: <%= close_size_desk %>px;\r\n}\r\n.popmechanic-tablet #popmechanic-form .popmechanic-close,\r\n.popmechanic-mobile #popmechanic-form .popmechanic-close {\r\n\ttop: <%= close_position_y_mob %>px;\r\n\tright: <%= close_position_x_mob %>px;\r\n\twidth: <%= close_size_mob %>px;\r\n\theight: <%= close_size_mob %>px;\r\n}", "button": "", "on_show": "function randomInteger(min, max) {\r\n\tmin = parseInt(min);\r\n\tmax = parseInt(max);\r\n\tif (min > max) {\r\n\t\tmin = 10;\r\n\t\tmax = 100;\r\n\t}\r\n\tvar rand = min + Math.random() * (max + 1 - min);\r\n\trand = Math.floor(rand);\r\n\treturn rand;\r\n}\r\n\r\nfunction addSuffix(numb) {\r\n\tif (settings.hidden_locale === \"ru\") {\r\n\t\tlet units = {\r\n\t\t\t'option1': [\"\u0440\u0430\u0437\", \"\u0440\u0430\u0437\", \"\u0440\u0430\u0437\", \"\u0440\u0430\u0437\u0430\", \"\u0440\u0430\u0437\"],\r\n\t\t\t'option2': [\"\u0448\u0442\u0443\u043a\", \"\u0448\u0442\u0443\u043a\u0430\", \"\u0448\u0442\u0443\u043a\", \"\u0448\u0442\u0443\u043a\u0438\", \"\u0448\u0442\u0443\u043a\"],\r\n\t\t\t'option3': [\"\u0447\u0435\u043b\u043e\u0432\u0435\u043a\", \"\u0447\u0435\u043b\u043e\u0432\u0435\u043a\", \"\u0447\u0435\u043b\u043e\u0432\u0435\u043a\", \"\u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0430\", \"\u0447\u0435\u043b\u043e\u0432\u0435\u043a\"]\r\n\t\t};\r\n\r\n\t\treturn (\r\n\t\t\tnumb % 100 >= 10 && numb % 100 <= 20\r\n\t\t\t? units[settings.unit][0]\r\n\t\t\t: (numb % 10 === 1\r\n\t\t\t\t? units[settings.unit][1]\r\n\t\t\t\t: (numb % 10 === 0\r\n\t\t\t\t\t? units[settings.unit][2]\r\n\t\t\t\t\t: (numb % 10 < 5 ? units[settings.unit][3] : units[settings.unit][4])\r\n\t\t\t\t)\r\n\t\t\t)\r\n\t\t);\r\n\t} else {\r\n\t\tlet units = {\r\n\t\t\t'option1': [\"time\", \"times\"],\r\n\t\t\t'option2': [\"piece left\", \"pieces left\"],\r\n\t\t\t'option3': [\"visitor\", \"visitors\"]\r\n\t\t};\r\n\t\treturn (numb === 1 ? units[settings.unit][0] : units[settings.unit][1]);\r\n\t}\r\n}\r\n\r\nlet data = randomInteger(<%= num_min %>, <%= num_max %>);\r\n\r\ndocument.querySelector('#popmechanic-num').innerHTML = data;\r\ndocument.querySelector('#popmechanic-unit').innerHTML = addSuffix(data);", "on_close": "", "embed_code": "", "behaviors": ["partscreen", "info"], "template_type": "partscreen", "need_reset": true, "parameters": [], "on_targeting_ready": "", "on_child_ready": ""}], "button_templates": [], "integrations": [{"id": 98693, "form": 86656, "filter": null, "filter_type": null, "account": 35535, "integration_type": "mindbox_server_json", "customer_extended": [{"value": "%email%", "systemName": "email"}], "customer_action_extended": [], "mode": "create", "send_customer": true, "issue_action": false, "operation": "popmechanic-integration-create-86656", "subscriptions": [{"pointOfContact": "Email"}]}, {"id": 98688, "form": 86656, "filter": null, "filter_type": null, "account": 35535, "integration_type": "mindbox_tracking", "show_operation": "popmechanic-popup-86656-show", "click_operation": "popmechanic-popup-86656-click", "targeting_operation": "popmechanic-popup-86656-targeting"}, {"id": 98700, "form": 86665, "filter": null, "filter_type": null, "account": 35535, "integration_type": "mindbox_tracking", "show_operation": "popmechanic-popup-86665-show", "click_operation": "popmechanic-popup-86665-click", "targeting_operation": "popmechanic-popup-86665-targeting"}], "settings": {"hide_copyright": true, "premium": true}, "frequency": {"minimal_timeout": null, "session": null, "day": null, "week": null, "month": null}, "global_ab_tests": [], "ip": "1.1.1.1", "contacts": [], "geo": null}