{"forms": [{"id": 11829, "template": 485, "button_template": null, "test_group": null, "new_targeting": {"filter": {"id": "1", "name": "\u0413\u0440\u0443\u043f\u043f\u0430 \u0443\u0441\u043b\u043e\u0432\u0438\u0439", "nodes": [{"id": "2", "field": "device", "value": ["mobile", "tablet", "pc"], "operator": "$in"}, {"id": "3", "field": "source", "value": ["utm", "organic", "referral", "typein"], "operator": "$in"}, {"id": "4", "field": "form_completed", "value": {"forms": "$any"}, "operator": "$never"}], "operator": "$and"}}, "settings_splits": [{"settings": {"css": "#popmechanic-form.popmechanic-similar.popmechanic-similar { font-family: Arial, sans-serif; color: black; text-decoration: none; margin-top: 24px; ; } #popmechanic-form.popmechanic-similar.popmechanic-similar .popmechanic-main { text-align: left; } #popmechanic-form.popmechanic-similar.popmechanic-similar .popmechanic-items-wrapper { border: 1px solid #c1c1c1; } #popmechanic-form.popmechanic-similar.popmechanic-similar .popmechanic-header { line-height: 29px; padding: 0 18px; background: #ffc900; font-size: 14px; color: #565555; text-decoration: none; color: #212020; font-weight: 700; padding-bottom: 7px; padding-top: 8px; display: inline-block; margin-bottom: 0; } #popmechanic-form.popmechanic-similar.popmechanic-similar .tns-controls button[data-controls=\"prev\"] { width: 19px; height: 45px; top: 50%; font-size: 0; position: absolute; left: 2px; margin-top: -12.5px; background: url(https://www.stolplit.ru/img/card5CarouselNavBig.png) top left no-repeat; } #popmechanic-form.popmechanic-similar.popmechanic-similar .tns-controls button[data-controls=\"next\"] { width: 19px; height: 45px; font-size: 0; position: absolute; top: 50%; right: 2px; margin-top: -12.5px; background: url(https://www.stolplit.ru/img/card5CarouselNavBig.png) top right no-repeat; } #popmechanic-form.popmechanic-similar.popmechanic-similar .popmechanic-item-card { color: black; text-decoration: none; } #popmechanic-form.popmechanic-similar .popmechanic-main .popmechanic-item-card .popmechanic-item-prices { text-align: center; } #popmechanic-form.popmechanic-similar .popmechanic-main .popmechanic-item-card .popmechanic-new-price { font-family: \"HeliosBlack\", \"Helios\", Arial, sans-serif; font-size: 20px; font-weight: 700; text-align: center; } #popmechanic-form.popmechanic-similar .tns-outer { width: 513px; margin: 0 auto; } #popmechanic-form.popmechanic-similar .popmechanic-main .popmechanic-item-card .popmechanic-item-name { word-wrap: break-word; white-space: normal; font-size: 12px; line-height: 18px; max-height: 36px; overflow: hidden; } #popmechanic-form.popmechanic-similar.popmechanic-similar .popmechanic-items { overflow: hidden; }", "color": "#ffc900", "width": "569", "button": "\u041a\u0443\u043f\u0438\u0442\u044c", "header": "\u0421\u043e\u043f\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0442\u043e\u0432\u0430\u0440\u044b", "form_id": "similar", "currency": "\u0440\u0443\u0431\u043b\u0435\u0439", "width_unit": "px", "img_limit_width": "135", "img_limit_height": "135"}, "button_settings": {}, "conditions_splits": [], "id": 11712, "behavior_settings": {"lead": {"legal_text": ""}, "banner": {"offset": 0, "position": "bottom", "animation_in": "fadeIn", "animation_out": "fadeOut"}, "button": {"show_before": true}, "social": {"id": "popmechanic", "mode": "cover", "type": "fb_page"}, "instagram": {"user": ""}, "fullscreen": {"show_legal": false}}}], "pinned": false, "name": "\u041d\u043e\u0432\u044b\u0435 \u0441\u043e\u043f\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0442\u043e\u0432\u0430\u0440\u044b", "active": true, "embed_selector": false, "selector": "", "placement": "start", "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://popmechanic-media.storage.yandexcloud.net/shots/form-11829.png?ts=1638180827009", "rendered_button_preview": null, "settings": {"css": "#popmechanic-form.popmechanic-similar.popmechanic-similar { font-family: Arial, sans-serif; color: black; text-decoration: none; margin-top: 24px; ; } #popmechanic-form.popmechanic-similar.popmechanic-similar .popmechanic-main { text-align: left; } #popmechanic-form.popmechanic-similar.popmechanic-similar .popmechanic-items-wrapper { border: 1px solid #c1c1c1; } #popmechanic-form.popmechanic-similar.popmechanic-similar .popmechanic-header { line-height: 29px; padding: 0 18px; background: #ffc900; font-size: 14px; color: #565555; text-decoration: none; color: #212020; font-weight: 700; padding-bottom: 7px; padding-top: 8px; display: inline-block; margin-bottom: 0; } #popmechanic-form.popmechanic-similar.popmechanic-similar .tns-controls button[data-controls=\"prev\"] { width: 19px; height: 45px; top: 50%; font-size: 0; position: absolute; left: 2px; margin-top: -12.5px; background: url(https://www.stolplit.ru/img/card5CarouselNavBig.png) top left no-repeat; } #popmechanic-form.popmechanic-similar.popmechanic-similar .tns-controls button[data-controls=\"next\"] { width: 19px; height: 45px; font-size: 0; position: absolute; top: 50%; right: 2px; margin-top: -12.5px; background: url(https://www.stolplit.ru/img/card5CarouselNavBig.png) top right no-repeat; } #popmechanic-form.popmechanic-similar.popmechanic-similar .popmechanic-item-card { color: black; text-decoration: none; } #popmechanic-form.popmechanic-similar .popmechanic-main .popmechanic-item-card .popmechanic-item-prices { text-align: center; } #popmechanic-form.popmechanic-similar .popmechanic-main .popmechanic-item-card .popmechanic-new-price { font-family: \"HeliosBlack\", \"Helios\", Arial, sans-serif; font-size: 20px; font-weight: 700; text-align: center; } #popmechanic-form.popmechanic-similar .tns-outer { width: 513px; margin: 0 auto; } #popmechanic-form.popmechanic-similar .popmechanic-main .popmechanic-item-card .popmechanic-item-name { word-wrap: break-word; white-space: normal; font-size: 12px; line-height: 18px; max-height: 36px; overflow: hidden; } #popmechanic-form.popmechanic-similar.popmechanic-similar .popmechanic-items { overflow: hidden; }", "color": "#ffc900", "width": "569", "button": "\u041a\u0443\u043f\u0438\u0442\u044c", "header": "\u0421\u043e\u043f\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0442\u043e\u0432\u0430\u0440\u044b", "form_id": "similar", "currency": "\u0440\u0443\u0431\u043b\u0435\u0439", "width_unit": "px", "img_limit_width": "135", "img_limit_height": "135"}, "button_settings": {}, "behavior_settings": {"lead": {"legal_text": ""}, "banner": {"offset": 0, "position": "bottom", "animation_in": "fadeIn", "animation_out": "fadeOut"}, "button": {"show_before": true}, "social": {"id": "popmechanic", "mode": "cover", "type": "fb_page"}, "instagram": {"user": ""}, "fullscreen": {"show_legal": false}}, "html": "", "css": "", "button_html": "", "button_css": ""}, "modulus_lower_inclusive": null, "modulus_upper_exclusive": null}], "is_transactional": false}, {"id": 11828, "template": 485, "button_template": null, "test_group": null, "new_targeting": {"filter": {"id": "1", "name": "\u0413\u0440\u0443\u043f\u043f\u0430 \u0443\u0441\u043b\u043e\u0432\u0438\u0439", "nodes": [{"id": "2", "field": "device", "value": ["mobile", "tablet", "pc"], "operator": "$in"}, {"id": "3", "field": "source", "value": ["utm", "organic", "referral", "typein"], "operator": "$in"}, {"id": "4", "field": "form_completed", "value": {"forms": "$any"}, "operator": "$never"}], "operator": "$and"}}, "settings_splits": [{"settings": {"css": "#popmechanic-form.popmechanic-similar.popmechanic-similar { font-family: Arial, sans-serif; color: black; text-decoration: none; margin-top: 24px; ; } #popmechanic-form.popmechanic-similar.popmechanic-similar .popmechanic-main { text-align: left; } #popmechanic-form.popmechanic-similar.popmechanic-similar .popmechanic-items-wrapper { border: 1px solid #c1c1c1; } #popmechanic-form.popmechanic-similar.popmechanic-similar .popmechanic-header { line-height: 29px; padding: 0 18px; background: #ffc900; font-size: 14px; color: #565555; text-decoration: none; color: #212020; font-weight: 700; padding-bottom: 7px; padding-top: 8px; display: inline-block; margin-bottom: 0; } #popmechanic-form.popmechanic-similar.popmechanic-similar .tns-controls button[data-controls=\"prev\"] { width: 19px; height: 45px; top: 50%; font-size: 0; position: absolute; left: 2px; margin-top: -12.5px; background: url(https://www.stolplit.ru/img/card5CarouselNavBig.png) top left no-repeat; } #popmechanic-form.popmechanic-similar.popmechanic-similar .tns-controls button[data-controls=\"next\"] { width: 19px; height: 45px; font-size: 0; position: absolute; top: 50%; right: 2px; margin-top: -12.5px; background: url(https://www.stolplit.ru/img/card5CarouselNavBig.png) top right no-repeat; } #popmechanic-form.popmechanic-similar.popmechanic-similar .popmechanic-item-card { color: black; text-decoration: none; } #popmechanic-form.popmechanic-similar .popmechanic-main .popmechanic-item-card .popmechanic-item-prices { text-align: center; } #popmechanic-form.popmechanic-similar .popmechanic-main .popmechanic-item-card .popmechanic-new-price { font-family: \"HeliosBlack\", \"Helios\", Arial, sans-serif; font-size: 20px; font-weight: 700; text-align: center; } #popmechanic-form.popmechanic-similar .tns-outer { width: 513px; margin: 0 auto; } #popmechanic-form.popmechanic-similar .popmechanic-main .popmechanic-item-card .popmechanic-item-name { word-wrap: break-word; white-space: normal; font-size: 12px; line-height: 18px; max-height: 36px; overflow: hidden; } #popmechanic-form.popmechanic-similar.popmechanic-similar .popmechanic-items { overflow: hidden; }", "color": "#ffc900", "width": "569", "button": "\u041a\u0443\u043f\u0438\u0442\u044c", "header": "\u041f\u043e\u0445\u043e\u0436\u0438\u0435 \u0442\u043e\u0432\u0430\u0440\u044b", "form_id": "similar", "currency": "\u0440\u0443\u0431\u043b\u0435\u0439", "width_unit": "px", "img_limit_width": "135", "img_limit_height": "135"}, "button_settings": {}, "conditions_splits": [], "id": 11711, "behavior_settings": {"lead": {"legal_text": ""}, "banner": {"offset": 0, "position": "bottom", "animation_in": "fadeIn", "animation_out": "fadeOut"}, "button": {"show_before": true}, "social": {"id": "popmechanic", "mode": "cover", "type": "fb_page"}, "instagram": {"user": ""}, "fullscreen": {"show_legal": false}}}], "pinned": false, "name": "\u041d\u043e\u0432\u044b\u0435 \u043f\u043e\u0445\u043e\u0436\u0438\u0435 \u0442\u043e\u0432\u0430\u0440\u044b", "active": true, "embed_selector": false, "selector": "", "placement": "start", "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://popmechanic-media.storage.yandexcloud.net/shots/form-11828.png?ts=1638180832148", "rendered_button_preview": null, "settings": {"css": "#popmechanic-form.popmechanic-similar.popmechanic-similar { font-family: Arial, sans-serif; color: black; text-decoration: none; margin-top: 24px; ; } #popmechanic-form.popmechanic-similar.popmechanic-similar .popmechanic-main { text-align: left; } #popmechanic-form.popmechanic-similar.popmechanic-similar .popmechanic-items-wrapper { border: 1px solid #c1c1c1; } #popmechanic-form.popmechanic-similar.popmechanic-similar .popmechanic-header { line-height: 29px; padding: 0 18px; background: #ffc900; font-size: 14px; color: #565555; text-decoration: none; color: #212020; font-weight: 700; padding-bottom: 7px; padding-top: 8px; display: inline-block; margin-bottom: 0; } #popmechanic-form.popmechanic-similar.popmechanic-similar .tns-controls button[data-controls=\"prev\"] { width: 19px; height: 45px; top: 50%; font-size: 0; position: absolute; left: 2px; margin-top: -12.5px; background: url(https://www.stolplit.ru/img/card5CarouselNavBig.png) top left no-repeat; } #popmechanic-form.popmechanic-similar.popmechanic-similar .tns-controls button[data-controls=\"next\"] { width: 19px; height: 45px; font-size: 0; position: absolute; top: 50%; right: 2px; margin-top: -12.5px; background: url(https://www.stolplit.ru/img/card5CarouselNavBig.png) top right no-repeat; } #popmechanic-form.popmechanic-similar.popmechanic-similar .popmechanic-item-card { color: black; text-decoration: none; } #popmechanic-form.popmechanic-similar .popmechanic-main .popmechanic-item-card .popmechanic-item-prices { text-align: center; } #popmechanic-form.popmechanic-similar .popmechanic-main .popmechanic-item-card .popmechanic-new-price { font-family: \"HeliosBlack\", \"Helios\", Arial, sans-serif; font-size: 20px; font-weight: 700; text-align: center; } #popmechanic-form.popmechanic-similar .tns-outer { width: 513px; margin: 0 auto; } #popmechanic-form.popmechanic-similar .popmechanic-main .popmechanic-item-card .popmechanic-item-name { word-wrap: break-word; white-space: normal; font-size: 12px; line-height: 18px; max-height: 36px; overflow: hidden; } #popmechanic-form.popmechanic-similar.popmechanic-similar .popmechanic-items { overflow: hidden; }", "color": "#ffc900", "width": "569", "button": "\u041a\u0443\u043f\u0438\u0442\u044c", "header": "\u041f\u043e\u0445\u043e\u0436\u0438\u0435 \u0442\u043e\u0432\u0430\u0440\u044b", "form_id": "similar", "currency": "\u0440\u0443\u0431\u043b\u0435\u0439", "width_unit": "px", "img_limit_width": "135", "img_limit_height": "135"}, "button_settings": {}, "behavior_settings": {"lead": {"legal_text": ""}, "banner": {"offset": 0, "position": "bottom", "animation_in": "fadeIn", "animation_out": "fadeOut"}, "button": {"show_before": true}, "social": {"id": "popmechanic", "mode": "cover", "type": "fb_page"}, "instagram": {"user": ""}, "fullscreen": {"show_legal": false}}, "html": "", "css": "", "button_html": "", "button_css": ""}, "modulus_lower_inclusive": null, "modulus_upper_exclusive": null}], "is_transactional": false}, {"id": 6541, "template": 485, "button_template": null, "test_group": null, "new_targeting": {"filter": {"id": "1", "name": "\u0413\u0440\u0443\u043f\u043f\u0430 \u0443\u0441\u043b\u043e\u0432\u0438\u0439", "nodes": [{"id": "2", "field": "device", "value": ["mobile", "tablet", "pc"], "operator": "$in"}, {"id": "3", "field": "source", "value": ["utm", "organic", "referral", "typein"], "operator": "$in"}, {"id": "4", "name": "\u0423\u0441\u043b\u043e\u0432\u0438\u044f \u043f\u043e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u043c", "nodes": [], "operator": "$or"}, {"id": "5", "field": "js", "value": "try {\n return JSON.parse(localStorage.getItem('popmechanic.history')).filter(function(item) { return item.indexOf('/kupit/') > -1 }).length\n} catch (e) {}\nreturn false;", "operator": "$exec"}, {"id": "6", "field": "form_completed", "value": {"forms": "$any"}, "operator": "$never"}], "operator": "$and"}}, "settings_splits": [{"settings": {"css": "#popmechanic-form.popmechanic-popular { font-family: Arial, sans-serif; color: black; text-decoration: none; margin-top: 24px; width: 100%; } #popmechanic-form.popmechanic-popular .popmechanic-main { text-align: left; } #popmechanic-form.popmechanic-popular .popmechanic-items-wrapper { margin: 10px 54px; } #popmechanic-form.popmechanic-popular .popmechanic-items { overflow: hidden; } #popmechanic-form.popmechanic-popular .popmechanic-header { color: #565555; text-decoration: none; padding-bottom: 7px; padding-top: 8px; display: inline-block; margin-bottom: 0; color: black; font-size: 20px; background: #ffc800; display: inline-block; padding: 5px 15px; font-size: 20px; font-weight: normal; } #popmechanic-form.popmechanic-popular .tns-controls button[data-controls=\"prev\"] { width: 19px; height: 45px; top: 50%; font-size: 0; position: absolute; left: 2px; margin-top: -12.5px; background: url(https://www.stolplit.ru/img/card5CarouselNavBig.png) top left no-repeat; } #popmechanic-form.popmechanic-popular .tns-controls button[data-controls=\"next\"] { width: 19px; height: 45px; font-size: 0; position: absolute; top: 50%; right: 2px; margin-top: -12.5px; background: url(https://www.stolplit.ru/img/card5CarouselNavBig.png) top right no-repeat; } #popmechanic-form.popmechanic-popular .popmechanic-item-card { color: black; text-decoration: none; min-width: 201px; border: 1px solid #c1c1c1; box-shadow: 0 0 3px 0 #c1c1c1; padding-bottom: 15px; } #popmechanic-form.popmechanic-popular .popmechanic-main .popmechanic-item-card .popmechanic-item-prices { text-align: left; vertical-align: middle; margin: 0; } #popmechanic-form.popmechanic-popular .popmechanic-main .popmechanic-item-card .popmechanic-new-price, #popmechanic-form.popmechanic-popular .popmechanic-main .popmechanic-item-card .popmechanic-old-price { white-space: nowrap; } #popmechanic-form.popmechanic-popular .popmechanic-main .popmechanic-item-card .popmechanic-button { background: #ffc800; color: #3d3c3c; padding: 0 15px; text-decoration: none; font-weight: bold; white-space: nowrap; text-align: center; height: 36px; line-height: 36px; border-radius: 0; vertical-align: middle; text-transform: uppercase; } #popmechanic-form.popmechanic-popular .popmechanic-main .popmechanic-item-card .popmechanic-new-price { font-family: \"HeliosBlack\", Arial, sans-serif; font-size: 20px; font-weight: bold; } #popmechanic-form.popmechanic-popular .popmechanic-main .popmechanic-item-card .popmechanic-item-name { word-wrap: break-word; white-space: normal; font-size: 12px; min-height: 57px; margin-bottom: 5px; }", "color": "#ffc900", "width": "97", "button": "\u041a\u0443\u043f\u0438\u0442\u044c", "header": "\u0412\u044b \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u0441\u043c\u043e\u0442\u0440\u0435\u043b\u0438", "form_id": "popular", "currency": "\u0440\u0443\u0431\u043b\u0435\u0439", "width_unit": "%", "img_limit_width": "168", "img_limit_height": "168"}, "button_settings": {}, "conditions_splits": [], "id": 6538, "behavior_settings": {"lead": {"legal_text": ""}, "button": {"show_before": true}, "social": {"id": "popmechanic", "mode": "cover", "type": "fb_page"}}}], "pinned": false, "name": "\u0412\u044b \u0441\u043c\u043e\u0442\u0440\u0435\u043b\u0438", "active": true, "embed_selector": false, "selector": "", "placement": "start", "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://popmechanic-media.storage.yandexcloud.net/shots/form-6541.png?ts=1638181107096", "rendered_button_preview": null, "settings": {"css": "#popmechanic-form.popmechanic-popular { font-family: Arial, sans-serif; color: black; text-decoration: none; margin-top: 24px; width: 100%; } #popmechanic-form.popmechanic-popular .popmechanic-main { text-align: left; } #popmechanic-form.popmechanic-popular .popmechanic-items-wrapper { margin: 10px 54px; } #popmechanic-form.popmechanic-popular .popmechanic-items { overflow: hidden; } #popmechanic-form.popmechanic-popular .popmechanic-header { color: #565555; text-decoration: none; padding-bottom: 7px; padding-top: 8px; display: inline-block; margin-bottom: 0; color: black; font-size: 20px; background: #ffc800; display: inline-block; padding: 5px 15px; font-size: 20px; font-weight: normal; } #popmechanic-form.popmechanic-popular .tns-controls button[data-controls=\"prev\"] { width: 19px; height: 45px; top: 50%; font-size: 0; position: absolute; left: 2px; margin-top: -12.5px; background: url(https://www.stolplit.ru/img/card5CarouselNavBig.png) top left no-repeat; } #popmechanic-form.popmechanic-popular .tns-controls button[data-controls=\"next\"] { width: 19px; height: 45px; font-size: 0; position: absolute; top: 50%; right: 2px; margin-top: -12.5px; background: url(https://www.stolplit.ru/img/card5CarouselNavBig.png) top right no-repeat; } #popmechanic-form.popmechanic-popular .popmechanic-item-card { color: black; text-decoration: none; min-width: 201px; border: 1px solid #c1c1c1; box-shadow: 0 0 3px 0 #c1c1c1; padding-bottom: 15px; } #popmechanic-form.popmechanic-popular .popmechanic-main .popmechanic-item-card .popmechanic-item-prices { text-align: left; vertical-align: middle; margin: 0; } #popmechanic-form.popmechanic-popular .popmechanic-main .popmechanic-item-card .popmechanic-new-price, #popmechanic-form.popmechanic-popular .popmechanic-main .popmechanic-item-card .popmechanic-old-price { white-space: nowrap; } #popmechanic-form.popmechanic-popular .popmechanic-main .popmechanic-item-card .popmechanic-button { background: #ffc800; color: #3d3c3c; padding: 0 15px; text-decoration: none; font-weight: bold; white-space: nowrap; text-align: center; height: 36px; line-height: 36px; border-radius: 0; vertical-align: middle; text-transform: uppercase; } #popmechanic-form.popmechanic-popular .popmechanic-main .popmechanic-item-card .popmechanic-new-price { font-family: \"HeliosBlack\", Arial, sans-serif; font-size: 20px; font-weight: bold; } #popmechanic-form.popmechanic-popular .popmechanic-main .popmechanic-item-card .popmechanic-item-name { word-wrap: break-word; white-space: normal; font-size: 12px; min-height: 57px; margin-bottom: 5px; }", "color": "#ffc900", "width": "97", "button": "\u041a\u0443\u043f\u0438\u0442\u044c", "header": "\u0412\u044b \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u0441\u043c\u043e\u0442\u0440\u0435\u043b\u0438", "form_id": "popular", "currency": "\u0440\u0443\u0431\u043b\u0435\u0439", "width_unit": "%", "img_limit_width": "168", "img_limit_height": "168"}, "button_settings": {}, "behavior_settings": {"lead": {"legal_text": ""}, "button": {"show_before": true}, "social": {"id": "popmechanic", "mode": "cover", "type": "fb_page"}}, "html": "", "css": "", "button_html": "", "button_css": ""}, "modulus_lower_inclusive": null, "modulus_upper_exclusive": null}], "is_transactional": false}, {"id": 6465, "template": 485, "button_template": null, "test_group": null, "new_targeting": {"filter": {"id": "1", "name": "\u0413\u0440\u0443\u043f\u043f\u0430 \u0443\u0441\u043b\u043e\u0432\u0438\u0439", "nodes": [{"id": "2", "field": "device", "value": ["mobile", "tablet", "pc"], "operator": "$in"}, {"id": "3", "field": "source", "value": ["utm", "organic", "referral", "typein"], "operator": "$in"}, {"id": "4", "name": "\u0423\u0441\u043b\u043e\u0432\u0438\u044f \u043f\u043e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u043c", "nodes": [], "operator": "$or"}, {"id": "5", "field": "form_completed", "value": {"forms": "$any"}, "operator": "$never"}], "operator": "$and"}}, "settings_splits": [{"settings": {"css": "#popmechanic-form.popmechanic-popular { font-family: Arial, sans-serif; color: black; text-decoration: none; margin-top: 24px; width: 100%; } #popmechanic-form.popmechanic-popular .popmechanic-main { text-align: left; } #popmechanic-form.popmechanic-popular .popmechanic-items-wrapper { margin: 10px 54px; } #popmechanic-form.popmechanic-popular .popmechanic-items { overflow: hidden; } #popmechanic-form.popmechanic-popular .popmechanic-header { color: #565555; text-decoration: none; padding-bottom: 7px; padding-top: 8px; display: inline-block; margin-bottom: 0; color: black; font-size: 20px; background: #ffc800; display: inline-block; padding: 5px 15px; font-size: 20px; font-weight: normal; } #popmechanic-form.popmechanic-popular .tns-controls button[data-controls=\"prev\"] { width: 19px; height: 45px; top: 50%; font-size: 0; position: absolute; left: 2px; margin-top: -12.5px; background: url(https://www.stolplit.ru/img/card5CarouselNavBig.png) top left no-repeat; } #popmechanic-form.popmechanic-popular .tns-controls button[data-controls=\"next\"] { width: 19px; height: 45px; font-size: 0; position: absolute; top: 50%; right: 2px; margin-top: -12.5px; background: url(https://www.stolplit.ru/img/card5CarouselNavBig.png) top right no-repeat; } #popmechanic-form.popmechanic-popular .popmechanic-item-card { color: black; text-decoration: none; min-width: 201px; border: 1px solid #c1c1c1; box-shadow: 0 0 3px 0 #c1c1c1; padding-bottom: 15px; } #popmechanic-form.popmechanic-popular .popmechanic-main .popmechanic-item-card .popmechanic-item-prices { text-align: left; vertical-align: middle; margin: 0; } #popmechanic-form.popmechanic-popular .popmechanic-main .popmechanic-item-card .popmechanic-new-price, #popmechanic-form.popmechanic-popular .popmechanic-main .popmechanic-item-card .popmechanic-old-price { white-space: nowrap; } #popmechanic-form.popmechanic-popular .popmechanic-main .popmechanic-item-card .popmechanic-button { background: #ffc800; color: #3d3c3c; padding: 0 15px; text-decoration: none; font-weight: bold; white-space: nowrap; text-align: center; height: 36px; line-height: 36px; border-radius: 0; vertical-align: middle; text-transform: uppercase; } #popmechanic-form.popmechanic-popular .popmechanic-main .popmechanic-item-card .popmechanic-new-price { font-family: \"HeliosBlack\", Arial, sans-serif; font-size: 20px; font-weight: bold; } #popmechanic-form.popmechanic-popular .popmechanic-main .popmechanic-item-card .popmechanic-item-name { word-wrap: break-word; white-space: normal; font-size: 12px; min-height: 57px; margin-bottom: 5px; }", "color": "#ffc900", "width": "97", "button": "\u041a\u0443\u043f\u0438\u0442\u044c", "header": "\u041f\u0440\u044f\u043c\u043e \u0441\u0435\u0439\u0447\u0430\u0441 \u043f\u043e\u043a\u0443\u043f\u0430\u044e\u0442", "form_id": "popular", "currency": "\u0440\u0443\u0431\u043b\u0435", "width_unit": "%", "img_limit_width": "168", "img_limit_height": "168"}, "button_settings": {}, "conditions_splits": [], "id": 6462, "behavior_settings": {"lead": {"legal_text": ""}, "button": {"show_before": true}, "social": {"id": "popmechanic", "mode": "cover", "type": "fb_page"}, "fullscreen": {"show_legal": false}}}], "pinned": false, "name": "\u041f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0435", "active": true, "embed_selector": false, "selector": "", "placement": "start", "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://popmechanic-media.storage.yandexcloud.net/shots/form-6465.png?ts=1638181112223", "rendered_button_preview": null, "settings": {"css": "#popmechanic-form.popmechanic-popular { font-family: Arial, sans-serif; color: black; text-decoration: none; margin-top: 24px; width: 100%; } #popmechanic-form.popmechanic-popular .popmechanic-main { text-align: left; } #popmechanic-form.popmechanic-popular .popmechanic-items-wrapper { margin: 10px 54px; } #popmechanic-form.popmechanic-popular .popmechanic-items { overflow: hidden; } #popmechanic-form.popmechanic-popular .popmechanic-header { color: #565555; text-decoration: none; padding-bottom: 7px; padding-top: 8px; display: inline-block; margin-bottom: 0; color: black; font-size: 20px; background: #ffc800; display: inline-block; padding: 5px 15px; font-size: 20px; font-weight: normal; } #popmechanic-form.popmechanic-popular .tns-controls button[data-controls=\"prev\"] { width: 19px; height: 45px; top: 50%; font-size: 0; position: absolute; left: 2px; margin-top: -12.5px; background: url(https://www.stolplit.ru/img/card5CarouselNavBig.png) top left no-repeat; } #popmechanic-form.popmechanic-popular .tns-controls button[data-controls=\"next\"] { width: 19px; height: 45px; font-size: 0; position: absolute; top: 50%; right: 2px; margin-top: -12.5px; background: url(https://www.stolplit.ru/img/card5CarouselNavBig.png) top right no-repeat; } #popmechanic-form.popmechanic-popular .popmechanic-item-card { color: black; text-decoration: none; min-width: 201px; border: 1px solid #c1c1c1; box-shadow: 0 0 3px 0 #c1c1c1; padding-bottom: 15px; } #popmechanic-form.popmechanic-popular .popmechanic-main .popmechanic-item-card .popmechanic-item-prices { text-align: left; vertical-align: middle; margin: 0; } #popmechanic-form.popmechanic-popular .popmechanic-main .popmechanic-item-card .popmechanic-new-price, #popmechanic-form.popmechanic-popular .popmechanic-main .popmechanic-item-card .popmechanic-old-price { white-space: nowrap; } #popmechanic-form.popmechanic-popular .popmechanic-main .popmechanic-item-card .popmechanic-button { background: #ffc800; color: #3d3c3c; padding: 0 15px; text-decoration: none; font-weight: bold; white-space: nowrap; text-align: center; height: 36px; line-height: 36px; border-radius: 0; vertical-align: middle; text-transform: uppercase; } #popmechanic-form.popmechanic-popular .popmechanic-main .popmechanic-item-card .popmechanic-new-price { font-family: \"HeliosBlack\", Arial, sans-serif; font-size: 20px; font-weight: bold; } #popmechanic-form.popmechanic-popular .popmechanic-main .popmechanic-item-card .popmechanic-item-name { word-wrap: break-word; white-space: normal; font-size: 12px; min-height: 57px; margin-bottom: 5px; }", "color": "#ffc900", "width": "97", "button": "\u041a\u0443\u043f\u0438\u0442\u044c", "header": "\u041f\u0440\u044f\u043c\u043e \u0441\u0435\u0439\u0447\u0430\u0441 \u043f\u043e\u043a\u0443\u043f\u0430\u044e\u0442", "form_id": "popular", "currency": "\u0440\u0443\u0431\u043b\u0435", "width_unit": "%", "img_limit_width": "168", "img_limit_height": "168"}, "button_settings": {}, "behavior_settings": {"lead": {"legal_text": ""}, "button": {"show_before": true}, "social": {"id": "popmechanic", "mode": "cover", "type": "fb_page"}, "fullscreen": {"show_legal": false}}, "html": "", "css": "", "button_html": "", "button_css": ""}, "modulus_lower_inclusive": null, "modulus_upper_exclusive": null}], "is_transactional": false}], "templates": [{"id": 485, "html": "
\" id=\"popmechanic-form\">\r\n
\r\n <% if (header) { %>\r\n
\r\n <%=header%>\r\n
\r\n <% } %>\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n %name%\r\n
\r\n
\r\n \"kitty!\"\r\n
\r\n
\r\n \r\n %old_price%\r\n <%=currency%>\r\n \r\n \r\n %new_price%\r\n <%=currency%>\r\n \r\n
\r\n \r\n <%=button%>\r\n \r\n
\r\n
\r\n
\r\n
\r\n
", "css": ".popmechanic-reset,\r\n.popmechanic-reset * {\r\n line-height: normal;\r\n box-sizing: border-box; }\r\n\r\n#popmechanic-form.popmechanic-<%=form_id%> {\r\n position: relative;\r\n display: inline-block;\r\n font-family: \"Open Sans\", Arial, sans-serif;\r\n vertical-align: middle;\r\n display: none !important;\r\n width: <%=width%><%=width_unit%>; }\r\n #popmechanic-form.popmechanic-<%=form_id%>.popmechanic-loaded,\r\n #popmechanic-form.popmechanic-<%=form_id%>.popmechanic-loading {\r\n display: block !important;\r\n }\r\n #popmechanic-form.popmechanic-<%=form_id%>.popmechanic-loaded .popmechanic-main .popmechanic-items {\r\n opacity: 1; }\r\n #popmechanic-form.popmechanic-<%=form_id%> .popmechanic-item-prices,\r\n #popmechanic-form.popmechanic-<%=form_id%> .popmechanic-item-picture,\r\n #popmechanic-form.popmechanic-<%=form_id%> .popmechanic-item-name {\r\n display: block;\r\n }\r\n #popmechanic-form.popmechanic-<%=form_id%>.popmechanic-loaded .popmechanic-throbber {\r\n display: none; }\r\n #popmechanic-form.popmechanic-<%=form_id%> .popmechanic-header {\r\n font-size: 25px;\r\n line-height: 34px;\r\n margin-bottom: 20px;\r\n text-align: left; }\r\n #popmechanic-form.popmechanic-<%=form_id%> .popmechanic-main {\r\n padding: 0;\r\n text-align: center; }\r\n #popmechanic-form.popmechanic-<%=form_id%> .popmechanic-main .popmechanic-items {\r\n opacity: 0;\r\n white-space: nowrap; }\r\n #popmechanic-form.popmechanic-<%=form_id%> .popmechanic-main .popmechanic-item-card {\r\n display: inline-block;\r\n text-align: center; }\r\n #popmechanic-form.popmechanic-<%=form_id%> .popmechanic-main .popmechanic-item-card .popmechanic-item-name {\r\n line-height: 1.6;\r\n max-width: 100%;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n font-size: 18px;\r\n text-align: center;\r\n font-weight: 500; }\r\n #popmechanic-form.popmechanic-<%=form_id%> .popmechanic-main .popmechanic-item-card .popmechanic-item-picture {\r\n margin: 5px auto;\r\n text-align: center;\r\n width: <%=img_limit_width%>px;\r\n height: <%=img_limit_height%>px;\r\n text-align: center; }\r\n #popmechanic-form.popmechanic-<%=form_id%> .popmechanic-main .popmechanic-item-card .popmechanic-item-picture:after {\r\n display: inline-block;\r\n content: '';\r\n height: <%=img_limit_height%>px;\r\n vertical-align: middle;\r\n }\r\n #popmechanic-form.popmechanic-<%=form_id%> .popmechanic-main .popmechanic-item-card .popmechanic-item-picture img {\r\n max-width: 100%;\r\n display: inline-block;\r\n max-height: 100%;\r\n vertical-align: middle;\r\n }\r\n #popmechanic-form.popmechanic-<%=form_id%> .popmechanic-main .popmechanic-item-card .popmechanic-item-prices {\r\n margin: 5px 0;\r\n font-size: 0;\r\n display: inline-block;\r\n vertical-align: middle;\r\n width: 50%;\r\n text-align: left; }\r\n #popmechanic-form.popmechanic-<%=form_id%> .popmechanic-main .popmechanic-item-card .popmechanic-item-prices .popmechanic-old-price {\r\n color: #ccc;\r\n text-decoration: line-through;\r\n font-size: 12px;\r\n margin-right: 10px;\r\n display: block; }\r\n #popmechanic-form.popmechanic-<%=form_id%> .popmechanic-main .popmechanic-item-card .popmechanic-item-prices .popmechanic-new-price {\r\n display: block;\r\n font-size: 16px; }\r\n #popmechanic-form.popmechanic-<%=form_id%> .popmechanic-button {\r\n display: inline-block;\r\n vertical-align: middle;\r\n text-decoration: none;\r\n color: white;\r\n border-radius: 10px;\r\n height: 32px;\r\n line-height: 32px;\r\n padding: 0 14px;\r\n font-size: 14px;\r\n margin-top: 4px;\r\n background-color: <%=color%>; }\r\n #popmechanic-form.popmechanic-<%=form_id%> .popmechanic-button:hover {\r\n background-color: rgba(208, 1, 27, 0.9); }\r\n #popmechanic-form.popmechanic-<%=form_id%> .popmechanic-header {\r\n font-size: 36px;\r\n font-weight: bold; }\r\n #popmechanic-form.popmechanic-<%=form_id%> .popmechanic-close {\r\n display: block;\r\n position: absolute;\r\n top: 10px;\r\n right: 10px;\r\n text-decoration: underline;\r\n width: 18px;\r\n height: 18px;\r\n cursor: pointer; }\r\n\r\n.popmechanic-throbber {\r\n position: absolute;\r\n text-align: center;\r\n top: 45%;\r\n width: 100%; }\r\n\r\n.popmechanic-throbber > b {\r\n -webkit-animation: pm-bouncedelay 1.4s infinite ease-in-out;\r\n -moz-animation: pm-bouncedelay 1.4s infinite ease-in-out;\r\n animation: pm-bouncedelay 1.4s infinite ease-in-out;\r\n -webkit-animation-fill-mode: both;\r\n animation-fill-mode: both;\r\n background-color: <%=color%>;\r\n border-radius: 18px;\r\n display: inline-block;\r\n height: 18px;\r\n margin: 0 5px;\r\n width: 18px; }\r\n\r\n.popmechanic-throbber > b:first-child {\r\n -webkit-animation-delay: -0.3s;\r\n animation-delay: -0.3s; }\r\n\r\n.popmechanic-throbber > b:first-child + .popmechanic-bounce {\r\n -webkit-animation-delay: -0.15s;\r\n animation-delay: -0.15s; }\r\n\r\n@-webkit-keyframes pm-bouncedelay {\r\n 0%, 80%, 100% {\r\n -webkit-transform: scale(0.15); }\r\n 40% {\r\n -webkit-transform: scale(1); } }\r\n\r\n@-moz-keyframes pm-bouncedelay {\r\n 0%, 80%, 100% {\r\n -webkit-transform: scale(0.15);\r\n -moz-transform: scale(0.15);\r\n -ms-transform: scale(0.15);\r\n transform: scale(0.15); }\r\n 40% {\r\n -webkit-transform: scale(1);\r\n -moz-transform: scale(1);\r\n -ms-transform: scale(1);\r\n transform: scale(1); } }\r\n\r\n@-webkit-keyframes pm-bouncedelay {\r\n 0%, 80%, 100% {\r\n -webkit-transform: scale(0.15);\r\n -moz-transform: scale(0.15);\r\n -ms-transform: scale(0.15);\r\n transform: scale(0.15); }\r\n 40% {\r\n -webkit-transform: scale(1);\r\n -moz-transform: scale(1);\r\n -ms-transform: scale(1);\r\n transform: scale(1); } }\r\n\r\n@-o-keyframes pm-bouncedelay {\r\n 0%, 80%, 100% {\r\n -webkit-transform: scale(0.15);\r\n -moz-transform: scale(0.15);\r\n -ms-transform: scale(0.15);\r\n transform: scale(0.15); }\r\n 40% {\r\n -webkit-transform: scale(1);\r\n -moz-transform: scale(1);\r\n -ms-transform: scale(1);\r\n transform: scale(1); } }\r\n\r\n@-ms-keyframes pm-bouncedelay {\r\n 0%, 80%, 100% {\r\n -webkit-transform: scale(0.15);\r\n -moz-transform: scale(0.15);\r\n -ms-transform: scale(0.15);\r\n transform: scale(0.15); }\r\n 40% {\r\n -webkit-transform: scale(1);\r\n -moz-transform: scale(1);\r\n -ms-transform: scale(1);\r\n transform: scale(1); } }\r\n\r\n@keyframes pm-bouncedelay {\r\n 0%, 80%, 100% {\r\n -webkit-transform: scale(0.15);\r\n -moz-transform: scale(0.15);\r\n -ms-transform: scale(0.15);\r\n transform: scale(0.15); }\r\n 40% {\r\n -webkit-transform: scale(1);\r\n -moz-transform: scale(1);\r\n -ms-transform: scale(1);\r\n transform: scale(1); } }\r\n \r\n#constructor-preview .popmechanic-throbber {\r\n display: none;\r\n}\r\n#constructor-preview #popmechanic-form.popmechanic-<%=form_id%> .popmechanic-items {\r\n opacity: 1;\r\n}\r\n.tns-outer{padding:0 !important}.tns-outer [hidden]{display:none !important}.tns-outer [aria-controls],.tns-outer [data-action]{cursor:pointer}.tns-slider{-webkit-transition:all 0s;-moz-transition:all 0s;transition:all 0s}.tns-slider>.tns-item{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.tns-horizontal.tns-subpixel{white-space:nowrap}.tns-horizontal.tns-subpixel>.tns-item{display:inline-block;vertical-align:top;white-space:normal}.tns-horizontal.tns-no-subpixel:after{content:'';display:table;clear:both}.tns-horizontal.tns-no-subpixel>.tns-item{float:left;margin-right:-100%}.tns-no-calc{position:relative;left:0}.tns-gallery{position:relative;left:0;min-height:1px}.tns-gallery>.tns-item{position:absolute;left:-100%;-webkit-transition:transform 0s, opacity 0s;-moz-transition:transform 0s, opacity 0s;transition:transform 0s, opacity 0s}.tns-gallery>.tns-slide-active{position:relative;left:unset !important}.tns-gallery>.tns-moving{-webkit-transition:all 0.25s;-moz-transition:all 0.25s;transition:all 0.25s}.tns-lazy-img{-webkit-transition:opacity 0.6s;-moz-transition:opacity 0.6s;transition:opacity 0.6s;opacity:0.6}.tns-lazy-img.loaded{opacity:1}.tns-ah{-webkit-transition:height 0s;-moz-transition:height 0s;transition:height 0s}.tns-ovh{overflow:hidden}.tns-visually-hidden{position:absolute;left:-10000em}.tns-transparent{opacity:0;visibility:hidden}.tns-fadeIn{opacity:1;filter:alpha(opacity=100);z-index:0}.tns-normal,.tns-fadeOut{opacity:0;filter:alpha(opacity=0);z-index:-1}.tns-t-subp2{margin:0 auto;width:310px;position:relative;height:10px;overflow:hidden}.tns-t-ct{width:2333.3333333%;width:-webkit-calc(100% * 70 / 3);width:-moz-calc(100% * 70 / 3);width:calc(100% * 70 / 3);position:absolute;right:0}.tns-t-ct:after{content:'';display:table;clear:both}.tns-t-ct>div{width:1.4285714%;width:-webkit-calc(100% / 70);width:-moz-calc(100% / 70);width:calc(100% / 70);height:10px;float:left}\r\n\r\n<%=css%>", "button": "", "on_show": "if (!PopMechanic.tnsQ) {\r\n PopMechanic.tnsQ = [];\r\n PopMechanic.$(\"body\").append('')\r\n}", "on_close": "", "embed_code": "", "behaviors": ["info"], "template_type": "embedded", "need_reset": false, "parameters": [], "on_targeting_ready": null, "on_child_ready": null}], "button_templates": [], "integrations": [{"id": 2935, "form": null, "filter": null, "filter_type": null, "account": 3159, "integration_type": "javascript", "on_render": "if (!PopMechanic.tnsQ) {\n PopMechanic.tnsQ = [];\n PopMechanic.$(\"body\").append('')\n}", "on_show": "", "on_success": "", "on_close_success": "", "on_close_fail": ""}, {"id": 2964, "form": null, "filter": null, "filter_type": null, "account": 3159, "integration_type": "javascript", "on_render": "if (!PopMechanic.productHistoryRan) {\n PopMechanic.productHistoryRan = true;\n var productHistory = JSON.parse(\n localStorage.getItem('popmechanic.product-history') || '[]'\n )\n try {\n productHistory.push(dataLayer[1].ecommerce.detail.products[0].id);\n } catch (e) {}\n localStorage.setItem(\n 'popmechanic.product-history', \n JSON.stringify(productHistory)\n );\n}", "on_show": "", "on_success": "", "on_close_success": "", "on_close_fail": ""}, {"id": 2961, "form": 6465, "filter": null, "filter_type": null, "account": 3159, "integration_type": "javascript", "on_render": "var operationType = 'Popular';\nvar fetchProducts = false;\nvar shopId = 'stolplitRu';\nvar products = [13824512];\nvar showName = true;\nvar showOldPrice = true;\nvar showPrice = true;\nvar recommnedationLimit = 8;\nvar itemWidth = 201;\nvar buttonText = '\u041a\u0443\u043f\u0438\u0442\u044c';\nvar showButton = true;\n\nvar formId = '6465';\nvar requestBody = {\n 'recommendation': {\n 'limit': recommnedationLimit,\n area: {\n ids: { externalId: PopMechanic.mbZone }\n }\n }\n};\n\nvar customHTML = '';\n\nvar formSelector = '[data-popmechanic-embed=\"' + formId + '\"] .popmechanic-widget-reco';\n\nif (fetchProducts) {\n requestBody.products = products.map(function(id) {\n var result = {ids: {}};\n result.ids[shopId] = id;\n return result;\n })\n}\n\nif (window.mindbox) {\nmindbox('sync', {\n operation: operationType,\n data: requestBody,\n onSuccess: function(data) {\n var productList = data.recommendations || data.productList;\n var product;\n var checkedItems = 0;\n PopMechanic.$(formSelector + \" .popmechanic-items\").empty();\n function onLoad() {\n PopMechanic.tnsQ.push(function () {\n PopMechanic.tns({\n container: formSelector + \" .popmechanic-items\", \n items: 5,\n gutter: 17,\n fixedWidth: itemWidth,\n })\n PopMechanic.$(formSelector).addClass('popmechanic-loaded');\n });\n }\n\n function createErrorHandler($item) {\n return function() {\n $item.remove();\n checkedItems += 1;\n if (checkedItems === productList.length) {\n onLoad();\n }\n }\n }\n\n function createLoadedHandler(i) {\n return function() {\n checkedItems += 1;\n if (checkedItems === productList.length) {\n onLoad();\n }\n }\n }\n\n recommnedationLimit = productList.length;\n for (var i = 0; i < productList.length; i++) {\n product = productList[i];\n product.url = product.url.replace(/\\/\\/(.*)\\.stolplit/, \"//\" + (PopMechanic.mbSubdomain ? PopMechanic.mbSubdomain + '.' : '') + \"stolplit\");\n product.pictureUrl = product.pictureUrl.replace(/(\\/[^\\/]+$)/, '/135_115_0$1');\n \n var $item = PopMechanic.$('
' +\n '' +\n (showName ? '' + product.displayName.replace(/\\([\\d_]*\\)\\s*$/, '') + '' : '') +\n customHTML +\n (showPrice ? ('' +\n (showOldPrice && product.oldPrice && product.oldPrice !== product.price ? '' + \n product.oldPrice +\n ' \u0440.' + \n '' : '') + \n '' + \n product.price +\n ' \u0440.' +\n '' +\n '') : '') +\n (showButton ? '' + buttonText + '' : '') +\n '
')\n $item.appendTo(formSelector + \" .popmechanic-items\");\n PopMechanic.$(\"\", {\n src: product.pictureUrl,\n error: createErrorHandler($item),\n load: createLoadedHandler(i),\n }).appendTo($item.find(\".popmechanic-item-picture\"));\n }\n },\n onError: function() {\n\n }\n });\n} else {PopMechanic.$(formSelector).remove();}", "on_show": "", "on_success": "", "on_close_success": "", "on_close_fail": ""}, {"id": 4970, "form": 11828, "filter": null, "filter_type": null, "account": 3159, "integration_type": "javascript", "on_render": "var operationType = 'SimilarNew';\nvar fetchProducts = true;\nvar shopId = 'stolplitRu';\nvar formId = '11828';\nvar products = [\n PopMechanic.$('[data-popmechanic-embed=\"' + formId + '\"]').data('popmechanicArgument')\n];\nvar showName = true;\nvar showOldPrice = false;\nvar showPrice = true;\nvar recommnedationLimit = 8;\nvar itemWidth = 171;\nvar buttonText = '\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438';\n\nvar requestBody = {\n 'recommendation': {\n 'limit': recommnedationLimit,\n area: {\n ids: { externalId: PopMechanic.mbZone }\n }\n }\n};\n\nvar customHTML = '';\n\nvar formSelector = '[data-popmechanic-embed=\"' + formId + '\"] .popmechanic-widget-reco';\n\nif (!window.mindbox) {\n return PopMechanic.$(formSelector).remove();\n}\n\nif (fetchProducts) {\n requestBody.recommendation.product = products.map(function(id) {\n var result = {ids: {}};\n result.ids[shopId] = id;\n return result;\n })[0];\n}\n\nif (window.mindbox) {\nmindbox('sync', {\n operation: operationType,\n data: requestBody,\n onSuccess: function(data) {\n var productList = data.recommendations || data.productList;\n if (!productList) {\n return PopMechanic.$(formSelector).remove();\n }\n var product;\n var checkedItems = 0;\n PopMechanic.$(formSelector + \" .popmechanic-items\").empty();\n function onLoad() {\n PopMechanic.tnsQ.push(function () {\n PopMechanic.tns({\n container: formSelector + \" .popmechanic-items\", \n items: 3,\n fixedWidth: itemWidth,\n viewportMax: itemWidth * 3\n })\n PopMechanic.$(formSelector).addClass('popmechanic-loaded');\n });\n }\n\n function createErrorHandler($item) {\n return function() {\n $item.remove();\n checkedItems += 1;\n if (checkedItems === productList.length) {\n onLoad();\n }\n }\n }\n\n function createLoadedHandler(i) {\n return function() {\n checkedItems += 1;\n if (checkedItems === productList.length) {\n onLoad();\n }\n }\n }\n\n recommnedationLimit = productList.length;\n for (var i = 0; i < productList.length; i++) {\n product = productList[i];\n product.url = product.url.replace(/\\/\\/(.*)\\.stolplit/, \"//\" + (PopMechanic.mbSubdomain ? PopMechanic.mbSubdomain + '.' : '') + \"stolplit\");\n product.pictureUrl = product.pictureUrl.replace(/(\\/[^\\/]+$)/, '/135_115_0$1');\n \n var $item = PopMechanic.$('' +\n '' +\n (showName ? '' + product.displayName.replace(/\\([\\d_]*\\)\\s*$/, '') + '' : '') +\n customHTML +\n (showPrice ? ('' +\n (showOldPrice ? '' + \n product.oldPrice +\n ' \u0440\u0443\u0431\u043b\u0435\u0439' + \n '' : '') + \n '' + \n product.price +\n ' \u0440.' +\n '' +\n '') : '') +\n '')\n $item.appendTo(formSelector + \" .popmechanic-items\");\n PopMechanic.$(\"\", {\n src: product.pictureUrl,\n error: createErrorHandler($item),\n load: createLoadedHandler(i),\n }).appendTo($item.find(\".popmechanic-item-picture\"));\n }\n },\n onError: function() {\n PopMechanic.$(formSelector).remove();\n }\n });\n} else { PopMechanic.$(formSelector).remove(); }", "on_show": "", "on_success": "", "on_close_success": "", "on_close_fail": ""}, {"id": 2962, "form": 6541, "filter": null, "filter_type": null, "account": 3159, "integration_type": "javascript", "on_render": "var operationType = 'Watched';\nvar fallbackOperationType = 'Popular';\nvar fallbackHeader = '\u041b\u0443\u0447\u0448\u0438\u0435 \u0430\u043a\u0446\u0438\u0438';\nvar fetchProducts = false;\nvar shopId = 'stolplitRu';\nvar products = [];\nvar showName = true;\nvar showOldPrice = true;\nvar showPrice = true;\nvar recommnedationLimit = 8;\nvar itemWidth = 201;\nvar buttonText = '\u041a\u0443\u043f\u0438\u0442\u044c';\nvar showButton = true;\n\nvar formId = '6541';\nvar requestBody = {\n 'recommendation': {\n limit: 12,\n area: {\n ids: { externalId: PopMechanic.mbZone }\n }\n }\n};\nvar fallbackRequestBody = {\n 'recommendation': {\n 'limit': recommnedationLimit,\n area: {\n ids: { externalId: PopMechanic.mbZone }\n }\n }\n};\n\nvar customHTML = '';\n\nvar formSelector = '[data-popmechanic-embed=\"' + formId + '\"] .popmechanic-widget-reco';\n\nif (fetchProducts) {\n requestBody.products = products.map(function(id) {\n var result = {ids: {}};\n result.ids[shopId] = id;\n return result;\n })\n}\n\nvar showItems = function(operationType, requestBody, onError) {\n mindbox('sync', {\n operation: operationType,\n data: requestBody,\n onSuccess: function(data) {\n var productList = data.recommendations || data.productList;\n var product;\n var checkedItems = 0;\n\n if (!productList) {\n return onError();\n }\n\n PopMechanic.$(formSelector + \" .popmechanic-items\").empty();\n function onLoad() {\n PopMechanic.tnsQ.push(function () {\n PopMechanic.tns({\n container: formSelector + \" .popmechanic-items\", \n items: 5,\n gutter: 17,\n fixedWidth: itemWidth,\n })\n PopMechanic.$(formSelector).addClass('popmechanic-loaded');\n });\n }\n\n function createErrorHandler($item) {\n return function() {\n $item.remove();\n checkedItems += 1;\n if (checkedItems === productList.length) {\n onLoad();\n }\n }\n }\n\n function createLoadedHandler(i) {\n return function() {\n checkedItems += 1;\n if (checkedItems === productList.length) {\n onLoad();\n }\n }\n }\n\n recommnedationLimit = productList.length;\n for (var i = 0; i < productList.length; i++) {\n product = productList[i];\n product.url = product.url.replace(/\\/\\/(.*)\\.stolplit/, \"//\" + (PopMechanic.mbSubdomain ? PopMechanic.mbSubdomain + '.' : '') + \"stolplit\");\n product.pictureUrl = product.pictureUrl.replace(/(\\/[^\\/]+$)/, '/135_115_0$1');\n \n var $item = PopMechanic.$('
' +\n '' +\n (showName ? '' + product.displayName.replace(/\\([\\d_]*\\)\\s*$/, '') + '' : '') +\n customHTML +\n (showPrice ? ('' +\n (showOldPrice && product.oldPrice && product.oldPrice !== product.price ? '' + \n product.oldPrice +\n ' \u0440.' + \n '' : '') + \n '' + \n product.price +\n ' \u0440.' +\n '' +\n '') : '') +\n (showButton ? '' + buttonText + '' : '') +\n '
')\n $item.appendTo(formSelector + \" .popmechanic-items\");\n PopMechanic.$(\"\", {\n src: product.pictureUrl,\n error: createErrorHandler($item),\n load: createLoadedHandler(i),\n }).appendTo($item.find(\".popmechanic-item-picture\"));\n }\n },\n onError: onError\n });\n}\n\nif (window.mindbox) {\nshowItems(operationType, requestBody, function() {\n PopMechanic.$(formSelector).remove();\n});\n\n} else {PopMechanic.$(formSelector).remove();}", "on_show": "", "on_success": "", "on_close_success": "", "on_close_fail": ""}, {"id": 4971, "form": 11829, "filter": null, "filter_type": null, "account": 3159, "integration_type": "javascript", "on_render": "var operationType = 'SoputkaCategories';\r\nvar fetchProducts = true;\r\nvar shopId = 'stolplitRu';\r\nvar formId = '11829';\r\nvar products = [\r\n PopMechanic.$('[data-popmechanic-embed=\"' + formId + '\"]').data('popmechanicArgument')\r\n];\r\nvar showName = true;\r\nvar showOldPrice = false;\r\nvar showPrice = true;\r\nvar recommnedationLimit = 8;\r\nvar itemWidth = 171;\r\nvar buttonText = '\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438';\r\n\r\nvar requestBody = {\r\n 'recommendation': {\r\n 'limit': recommnedationLimit,\r\n area: {\r\n ids: { externalId: PopMechanic.mbZone }\r\n }\r\n }\r\n};\r\n\r\nvar customHTML = '';\r\n\r\nvar formSelector = '[data-popmechanic-embed=\"' + formId + '\"] .popmechanic-widget-reco';\r\n\r\nif (fetchProducts) {\r\n requestBody.recommendation.product = products.map(function(id) {\r\n var result = {ids: {}};\r\n result.ids[shopId] = id;\r\n return result;\r\n })[0];\r\n}\r\n\r\nfunction renderProductList(productList) {\r\n if (!productList || !productList.length) {\r\n return PopMechanic.$(formSelector).remove();\r\n }\r\n var product;\r\n var checkedItems = 0;\r\n PopMechanic.$(formSelector + \" .popmechanic-items\").empty();\r\n \r\n function onLoad() {\r\n PopMechanic.tnsQ.push(function () {\r\n PopMechanic.tns({\r\n container: formSelector + \" .popmechanic-items\", \r\n items: 3,\r\n fixedWidth: itemWidth,\r\n viewportMax: itemWidth * 3\r\n })\r\n PopMechanic.$(formSelector).addClass('popmechanic-loaded');\r\n });\r\n }\r\n\r\n function createErrorHandler($item) {\r\n return function() {\r\n $item.remove();\r\n checkedItems += 1;\r\n if (checkedItems === productList.length) {\r\n onLoad();\r\n }\r\n }\r\n }\r\n\r\n function createLoadedHandler(i) {\r\n return function() {\r\n checkedItems += 1;\r\n if (checkedItems === productList.length) {\r\n onLoad();\r\n }\r\n }\r\n }\r\n\r\n recommnedationLimit = productList.length;\r\n for (var i = 0; i < productList.length; i++) {\r\n product = productList[i];\r\n product.url = product.url.replace(/\\/\\/(.*)\\.stolplit/, \"//\" + (PopMechanic.mbSubdomain ? PopMechanic.mbSubdomain + '.' : '') + \"stolplit\");\r\n product.pictureUrl = product.pictureUrl.replace(/(\\/[^\\/]+$)/, '/135_115_0$1');\r\n \r\n var $item = PopMechanic.$('' +\r\n '' +\r\n (showName ? '' + product.displayName.replace(/\\([\\d_]*\\)\\s*$/, '') + '' : '') +\r\n customHTML +\r\n (showPrice ? ('' +\r\n (showOldPrice ? '' + \r\n product.oldPrice +\r\n ' \u0440\u0443\u0431\u043b\u0435\u0439' + \r\n '' : '') + \r\n '' + \r\n product.price +\r\n ' \u0440.' +\r\n '' +\r\n '') : '') +\r\n '')\r\n $item.appendTo(formSelector + \" .popmechanic-items\");\r\n PopMechanic.$(\"\", {\r\n src: product.pictureUrl,\r\n error: createErrorHandler($item),\r\n load: createLoadedHandler(i),\r\n }).appendTo($item.find(\".popmechanic-item-picture\"));\r\n }\r\n}\r\n\r\nif (window.mindbox) {\r\n\tmindbox('sync', {\r\n\t operation: operationType,\r\n\t data: requestBody,\r\n\t onSuccess: function(data) {\r\n\t var productList = data.recommendations || data.productList || [];\r\n\t \r\n\t mindbox('sync', {\r\n\t operation: 'getmanual',\r\n\t data: {\r\n\t recommendation: {\r\n\t limit: 3\r\n\t },\r\n\t products: [requestBody.recommendation.product]\r\n\t },\r\n\t onSuccess: function(data) {\r\n\t var productList2 = data.recommendations || data.productList || [];\r\n\t productList = productList2.concat(productList);\r\n\t renderProductList(productList);\r\n\t },\r\n\t onError: function() {\r\n\t renderProductList(productList);\r\n\t }\r\n\t });\r\n\t },\r\n\t onError: function() {\r\n\t var productList = [];\r\n\t \r\n\t mindbox('sync', {\r\n\t operation: 'getmanual',\r\n\t data: {\r\n\t recommendation: {\r\n\t limit: 3,\r\n\t products: [requestBody.recommendation.product]\r\n\t }\r\n\t },\r\n\t onSuccess: function(data) {\r\n\t var productList2 = data.recommendations || data.productList || [];\r\n\t productList = productList.concat(productList2);\r\n\t renderProductList(productList);\r\n\t },\r\n\t onError: function() {\r\n\t renderProductList(productList);\r\n\t }\r\n\t });\r\n\t }\r\n\t });\r\n} else {PopMechanic.$(formSelector).remove();}", "on_show": "", "on_success": "", "on_close_success": "", "on_close_fail": ""}], "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}