{"forms": [{"id": 84760, "template": 1360, "button_template": null, "test_group": null, "new_targeting": null, "settings_splits": [{"settings": {"text": "\u0414\u043e\u0441\u0442\u0430\u0432\u043a\u0430 \u044d\u0442\u043e\u0433\u043e \u0442\u043e\u0432\u0430\u0440\u0430 \u0431\u0443\u0434\u0435\u0442 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0439", "image": "https://personalization-web-stable.mindbox.ru/user-media/24807/f17e403d919f8ffc495b250e3bec7857af43275c01ccc2e2a628b39f960d752d.png", "bg_color": "#000000", "dt_width": "382", "dt_height": "40", "dt_margin": "23", "form_font": "Roboto, sans-serif", "img_order": "1", "mob_width": "320", "close_show": "0", "mob_height": "40", "mob_margin": "11", "text_align": "center", "text_color": "#ffffff", "custom_font": "Arial, sans-serif", "dt_fontsize": "14", "font_weight": "400", "img_display": "1", "border_color": "#000000", "border_width": "1", "mob_fontsize": "12", "border_radius": "0", "close_size_mob": "20", "dt_image_width": "46", "close_color_mob": "#fff", "close_size_desk": "20", "dt_image_height": "23", "mob_image_width": "44", "use_custom_font": "0", "close_color_desk": "#fff", "mob_image_height": "20", "close_bg_show_mob": "0", "close_bg_color_mob": "#000000", "close_bg_show_desk": "0", "close_bg_color_desk": "#000000", "close_bg_transparency": "0.5"}, "button_settings": {}, "conditions_splits": [], "id": 84168, "behavior_settings": {"embedded": {"animation_out": "fadeOut"}}}], "pinned": false, "name": "\u0417\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u043c yclid", "active": true, "embed_selector": true, "selector": "body > header", "placement": "before", "frequency": {"once_lifetime": false, "once_session": false, "priority": false, "minimal_timeout": null}, "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-84854.png?ts=1723112845373", "rendered_button_preview": null, "settings": {"text": "\u0414\u043e\u0441\u0442\u0430\u0432\u043a\u0430 \u044d\u0442\u043e\u0433\u043e \u0442\u043e\u0432\u0430\u0440\u0430 \u0431\u0443\u0434\u0435\u0442 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0439", "image": "https://personalization-web-stable.mindbox.ru/user-media/24807/f17e403d919f8ffc495b250e3bec7857af43275c01ccc2e2a628b39f960d752d.png", "bg_color": "#000000", "dt_width": "382", "dt_height": "40", "dt_margin": "23", "form_font": "Roboto, sans-serif", "img_order": "1", "mob_width": "320", "close_show": "0", "mob_height": "40", "mob_margin": "11", "text_align": "center", "text_color": "#ffffff", "custom_font": "Arial, sans-serif", "dt_fontsize": "14", "font_weight": "400", "img_display": "1", "border_color": "#000000", "border_width": "1", "mob_fontsize": "12", "border_radius": "0", "close_size_mob": "20", "dt_image_width": "46", "close_color_mob": "#fff", "close_size_desk": "20", "dt_image_height": "23", "mob_image_width": "44", "use_custom_font": "0", "close_color_desk": "#fff", "mob_image_height": "20", "close_bg_show_mob": "0", "close_bg_color_mob": "#000000", "close_bg_show_desk": "0", "close_bg_color_desk": "#000000", "close_bg_transparency": "0.5"}, "button_settings": {}, "behavior_settings": {"embedded": {"animation_out": "fadeOut"}}, "html": ".", "css": "", "button_html": "", "button_css": ""}, "modulus_lower_inclusive": null, "modulus_upper_exclusive": null}], "is_transactional": false}], "templates": [{"id": 1360, "html": "<% try { close_show = close_show; } catch (e) { close_show = 0 } %>\r\n\r\n
\r\n
\r\n
\r\n \r\n <%=text%>\r\n \r\n <% if(parseInt(close_show)) { %>\r\n \r\n
\r\n <% } %>\r\n \r\n
\r\n
\r\n\r\n
", "css": "<% try {\r\n close_show = close_show;\r\n close_size_desk = close_size_desk;\r\n close_size_mob = close_size_mob;\r\n close_color_desk = close_color_desk;\r\n close_color_mob = close_color_mob;\r\n close_bg_show_desk = close_bg_show_desk;\r\n close_bg_color_desk = close_bg_color_desk;\r\n close_bg_show_mob = close_bg_show_mob;\r\n close_bg_color_mob = close_bg_color_mob;\r\n close_bg_transparency = close_bg_transparency;\r\n } catch (e) { \r\n close_show = 0\r\n close_size_desk = 20\r\n close_size_mob = 20\r\n close_color_desk = '#000000'\r\n close_color_mob = '#000000'\r\n close_bg_show_desk = 0\r\n close_bg_color_desk = '#000000'\r\n close_bg_show_mob = 0\r\n close_bg_color_mob = '#000000'\r\n close_bg_transparency = 0.5\r\n }\r\n%>\r\n\r\n@import url('https://fonts.googleapis.com/css?family=PT+Serif:400,400i,700,700i|Roboto:100,100i,300,300i,400,400i,500,500i,700,700i,900,900i&display=swap&subset=cyrillic');\r\n\r\n#popmechanic-form .popmechanic-content {\r\n\t cursor: default;\r\n\t\r\n <% if (parseInt(use_custom_font)) { %> \r\n font-family: <%=custom_font%>;\r\n<% } else { %> \r\nfont-family: <%=form_font%>;\r\n <% } %>\r\n \r\n\tcolor: <%=text_color%>;\r\n\tfont-size: <%=dt_fontsize%>px;\r\n\tfont-weight: <%=font_weight%>;\r\n\ttext-align: center;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: <%=text_align%>;\r\n\ttext-decoration: none;\r\n\theight: <%=dt_height%>px;\r\n\twidth: <%=dt_width%>px;\r\n position: relative;\r\n\tborder-radius: <%=border_radius%>px;\r\n\tborder: <%=border_width%>px solid <%=border_color%>;\r\n\tbackground: <%=bg_color%>;\r\n\tpadding: 0;\r\n\tbox-sizing: content-box;\r\n\tvertical-align: middle;\r\n}\r\n#popmechanic-form .popmechanic-deivery-icon {\r\n\tbackground: url(<%=image%>) no-repeat center;\r\n\tbackground-size: contain;\r\n\twidth: <%=dt_image_width%>px;\r\n\theight: <%=dt_image_height%>px;\r\n\tmargin-right: <%=dt_margin%>px;\r\n\tmargin-left: 0;\r\n\t\r\n\t<% if(parseInt(img_order)===3) { %>\r\n \r\n \tmargin-right: 0px;\r\n \tmargin-left: <%=dt_margin%>px;\r\n \t\r\n <% } %>\r\n\tbox-sizing: border-box;\r\n\tdisplay: none;\r\n\t<% if(parseInt(img_display)) { %>\r\n display: inline-block;\r\n <% } %>\r\n\tflex-shrink: 0;\r\n\torder: <%=img_order%>;\r\n}\r\n#popmechanic-form .popmechanic-link {\r\n\tdisplay: inline-block;\r\n\tflex-shrink: 0;\r\n\torder: 2;\r\n}\r\n.popmechanic-mobile #popmechanic-form .popmechanic-content {\r\n\tfont-size: <%=mob_fontsize%>px;\r\n\twidth: <%=mob_width%>px;\r\n\theight: <%=mob_height%>px;\r\n}\r\n.popmechanic-mobile #popmechanic-form .popmechanic-deivery-icon {\r\n\twidth: <%=mob_image_width%>px;\r\n\theight: <%=mob_image_height%>px;\r\n\tmargin-right: <%=mob_margin%>px;\r\n\t<% if(parseInt(img_order)===3) { %>\r\n \r\n \tmargin-right: 0px;\r\n \tmargin-left: <%=mob_margin%>px;\r\n \t\r\n <% } %>\r\n}\r\n\r\n<% if(parseInt(close_show)) { %>\r\n /* CLOSE */\r\n <%\r\n function hexToRgb(hex) {\r\n return hex.replace(/^#?([a-f\\d])([a-f\\d])([a-f\\d])$/i, function (m, r, g, b) {\r\n return \"#\".concat(r).concat(r).concat(g).concat(g).concat(b).concat(b);\r\n }).substring(1).match(/.{2}/g).map(function (x) {\r\n return parseInt(x, 16);\r\n });\r\n };\r\n %>\r\n\r\n #popmechanic-form .popmechanic-close {\r\n position: absolute;\r\n z-index: 40;\r\n cursor: pointer;\r\n }\r\n #popmechanic-form .popmechanic-close::before,\r\n #popmechanic-form .popmechanic-close::after {\r\n content: \"\";\r\n position: absolute;\r\n top: 50%;\r\n left: 50%;\r\n width: 80%;\r\n height: 2px;\r\n transform: translate(-50%, -50%) rotate(45deg);\r\n }\r\n #popmechanic-form .popmechanic-close::after {\r\n transform: translate(-50%, -50%) rotate(135deg);\r\n }\r\n .popmechanic-desktop #popmechanic-form .popmechanic-close {\r\n top: 10px;\r\n right: 10px;\r\n width: <%= close_size_desk %>px;\r\n height: <%= close_size_desk %>px;\r\n <% if(parseInt(close_bg_show_desk)) { %>\r\n background-color: rgba(<%= hexToRgb(close_bg_color_desk) %>, <%= close_bg_transparency %>);\r\n <% } %>\r\n }\r\n .popmechanic-desktop #popmechanic-form .popmechanic-close::before,\r\n .popmechanic-desktop #popmechanic-form .popmechanic-close::after {\r\n background-color: <%= close_color_desk %>;\r\n }\r\n .popmechanic-tablet #popmechanic-form .popmechanic-close,\r\n .popmechanic-mobile #popmechanic-form .popmechanic-close {\r\n top: 5px;\r\n right: 5px;\r\n width: <%= close_size_mob %>px;\r\n height: <%= close_size_mob %>px;\r\n <% if(parseInt(close_bg_show_mob)) { %>\r\n background-color: rgba(<%= hexToRgb(close_bg_color_mob) %>, <%= close_bg_transparency %>);\r\n <% } %>\r\n }\r\n .popmechanic-tablet #popmechanic-form .popmechanic-close::before,\r\n .popmechanic-tablet #popmechanic-form .popmechanic-close::after,\r\n .popmechanic-mobile #popmechanic-form .popmechanic-close::before,\r\n .popmechanic-mobile #popmechanic-form .popmechanic-close::after {\r\n background-color: <%= close_color_mob %>;\r\n }\r\n<% } %>", "button": "", "on_show": "", "on_close": "", "embed_code": "", "behaviors": ["info"], "template_type": "embedded", "need_reset": true, "parameters": [], "on_targeting_ready": "", "on_child_ready": ""}], "button_templates": [], "integrations": [{"id": 95934, "form": 84760, "filter": null, "filter_type": null, "account": 30022, "integration_type": "javascript", "on_render": "mindbox(\"async\", {\n operation: \"website.EditYclid\",\n data: {\n customer: {\n customFields: {\n yclid: location.href.split('yclid=')[1].split('&')[0]\n }\n }\n}\n});", "on_show": "", "on_success": "", "on_close_success": "", "on_close_fail": ""}, {"id": 95930, "form": 84760, "filter": null, "filter_type": null, "account": 30022, "integration_type": "mindbox_tracking", "show_operation": "popmechanic-block-84760-show", "click_operation": "popmechanic-block-84760-click", "targeting_operation": "popmechanic-block-84760-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}