');\r\n\r\n for (var i = 0; i < recommendations.length; i++) {\r\n var product = recommendations[i];\r\n if (product.oldPrice && product.oldPrice <= product.price) {\r\n product.oldPrice = null;\r\n }\r\n product.customFields = product.customFields || {};\r\n product.discount = (product.oldPrice && product.price !== product.oldPrice) ? (100 * (product.oldPrice - product.price) / product.oldPrice).toFixed(0) + '%' : null;\r\n\r\n try {\r\n var $item = PopMechanic.$(\r\n cardTemplate({\r\n product: product,\r\n card_label_discount_show: '<%= card_label_discount_show %>',\r\n card_label_new_show: '<%= card_label_new_show %>',\r\n card_label_new_text: '<%= card_label_new_text %>',\r\n card_name_show: '<%= card_name_show %>',\r\n card_rating_show: '<%= card_rating_show %>',\r\n card_prices_show: '<%= card_prices_show %>',\r\n card_prices_symbol: '<%= card_prices_symbol %>',\r\n card_price_discount_show: '<%= card_price_discount_show %>',\r\n btn_cart_show: '<%= btn_cart_show %>',\r\n btn_cart_text: '<%= btn_cart_text %>',\r\n btn_cart_text_after: '<%= btn_cart_text_after %>',\r\n btn_cart_func: '<%= btn_cart_func %>',\r\n btn_fav_show: '<%= btn_fav_show %>',\r\n btn_fav_func: '<%= btn_fav_func %>',\r\n card_vendor_show: '<%= card_vendor_show %>',\r\n card_label_new_customfield: '<%= card_label_new_customfield %>',\r\n card_rating_customfield: '<%= card_rating_customfield %>',\r\n btn_cart_icon_show: '<%= btn_cart_icon_show %>',\r\n card_name_ordering: '<%= card_name_ordering %>',\r\n card_vendor_ordering: '<%= card_vendor_ordering %>',\r\n card_rating_ordering: '<%= card_rating_ordering %>',\r\n card_prices_ordering: '<%= card_prices_ordering %>',\r\n btn_cart_ordering: '<%= btn_cart_ordering %>',\r\n recommendations: recommendations,\r\n index: i\r\n })\r\n );\r\n } catch (e) { continue; }\r\n if (groupSlidesBy === 1) {\r\n $carousel.append($item);\r\n } else {\r\n slideAccumulator.push($item);\r\n $slideContainer.append($item);\r\n if (slideAccumulator.length == groupSlidesBy) {\r\n slideAccumulator = [];\r\n $carousel.append($slideContainer);\r\n $slideContainer = PopMechanic.$('
');\r\n }\r\n }\r\n\r\n (function(i, product) {\r\n $item.attr('data-click-track', i);\r\n PopMechanic.$('#popmechanic-form-' + formId).on('click', '[data-click-track=\"' + i + '\"]', function(event) {\r\n event.stopPropagation(); \r\n if (mindbox) {\r\n mindbox(\"async\", {\r\n operation: \"popmechanic-widget-click-\" + formId,\r\n data: {\r\n clicked: {\r\n product: {\r\n ids: product.ids,\r\n }\r\n }\r\n },\r\n onSuccess: function() {\r\n // console.log('successful click');\r\n },\r\n onError: function(error) {\r\n console.log(error);\r\n }\r\n });\r\n }\r\n\r\n settings.gaTracker.selectItem(product, i);\r\n \r\n \t\treturn true;\r\n });\r\n }(i, product));\r\n }\r\n\r\n \r\n recommendations.map(function(product, i) {\r\n impressionMap[i] = function() {\r\n settings.gaTracker.viewItemList(product, i, { non_interaction: true });\r\n };\r\n });\r\n\r\n onInit();\r\n }\r\n\r\n var recommendationsLimit = recommendations.length;\r\n\r\n if (recommendationsLimit) {\r\n if (lessCount === 0 || lessCount <= recommendationsLimit) {\r\n renderProductList();\r\n } else {\r\n $removal\u0421ontainersEmbed.remove();\r\n $removal\u0421ontainers.remove();\r\n console.log('PopMechanic widget ' + formId + ': empty response');\r\n form.reportSlaSuccess();\r\n }\r\n } else {\r\n form.reportSlaSuccess();\r\n throw new Error('no data from mindbox');\r\n }\r\n} catch (e) {\r\n $removal\u0421ontainersEmbed.remove();\r\n $removal\u0421ontainers.remove();\r\n console.error('PopMechanic widget ' + formId, e.message);\r\n form.reportSlaSuccess();\r\n}", "on_close": "var form = arguments[0] || {};\r\nwindow.PopMechanicSlider && window.PopMechanicSlider[form.id] && window.PopMechanicSlider[form.id].destroy && window.PopMechanicSlider[form.id].destroy();", "embed_code": "", "behaviors": ["info", "reco-sla", "reco_data", "tns"], "template_type": "embedded", "need_reset": false, "parameters": [], "on_targeting_ready": "", "on_child_ready": ""}], "button_templates": [{"id": 176, "html": "
", "css": "#popmechanic-button {\r\n background-color: <%=color3%>;\r\n width: auto;\r\n display: inline-block;\r\n padding: <%=otst1%>px <%=otst2%>px;\r\n border-radius: <%=crug10%>px;\r\n cursor: pointer;\r\n box-shadow: 0 -1px 3px 0 #666;\r\n z-index: 10000000;\r\n}\r\n#popmechanic-button .popmechanic-button-text {\r\n color:<%=color5%>;\r\n font-family: <%=font2%>;\r\n font-size: <%=font_size10%>px;\r\n}\r\n#popmechanic-button:hover {\r\n background-color: <%=color7%>;\r\n}\r\n.popmechanic-mobile #popmechanic-button {\r\n padding: <%=otst3%>px <%=otst4%>px;\r\n}\r\n.popmechanic-mobile #popmechanic-button .popmechanic-button-text {\r\n font-size: <%=font_size16%>px;\r\n}", "on_show": null, "on_close": null, "parameters": [{"id": 1033, "machine_name": "text7", "type": "text"}, {"id": 1034, "machine_name": "color3", "type": "color"}, {"id": 1035, "machine_name": "color5", "type": "color"}, {"id": 1036, "machine_name": "crug10", "type": "slider"}, {"id": 1037, "machine_name": "font_size10", "type": "slider"}, {"id": 1038, "machine_name": "font2", "type": "select"}, {"id": 1039, "machine_name": "otst1", "type": "slider"}, {"id": 1040, "machine_name": "otst2", "type": "slider"}, {"id": 1041, "machine_name": "color7", "type": "color"}, {"id": 1042, "machine_name": "otst3", "type": "slider"}, {"id": 1043, "machine_name": "otst4", "type": "slider"}, {"id": 1044, "machine_name": "font_size16", "type": "slider"}]}, {"id": 179, "html": "
\r\n\t<%=text7%>\r\n\t\r\n
", "css": "@import url(\"https://fonts.googleapis.com/css?family=Merriweather:100,300,400,700,900|Roboto:100,300,400,700,900&display=swap&subset=cyrillic\");\r\n@import url(\"https://fonts.googleapis.com/css?family=Merriweather:100,300,400,700,900|Open+Sans:100,300,400,700,900&subset=cyrillic\");\r\n@import url(\"https://fonts.googleapis.com/css?family=Open+Sans:100,300,400,700,900&subset=cyrillic\");\r\n.popmechanic-widget {\r\n \r\n z-index: 10000000000;\r\n \r\npadding: <%=otst1%>px <%=otst2%>px;\r\nbackground-color: <%=color3%>;\r\n border: none;\r\n outline: none;\r\n transform: rotate(-90deg) translate(-50%, 0);\r\n transform-origin: 0 0;\r\n display: flex;\r\n flex-direction: row;\r\n flex-wrap: nowrap;\r\n justify-content: center;\r\n align-content: stretch;\r\n align-items: center;\r\n font-family: <%=font2%>;\r\n font-size: <%=font_size10%>px;\r\nfont-weight: <%=font434%>;\r\n border-radius: <%=crug10%>px;\r\n line-height: 1;\r\n color:<%=color5%>;\r\n cursor: pointer;\r\n <%if(parseInt(border_enable)){%>\r\n\t\tborder: <%=border_width%>px solid <%=border_color%>;\r\n\t<%}%>}\r\n.popmechanic-widget:hover {\r\n background-color: <%=color7%>;\r\n}\r\n.popmechanic-widget-close {\r\n position: absolute;\r\n top: 5px;\r\n right: 5px;\r\n width: 12px;\r\n height: 12px;\r\n border: none;\r\n outline: none;\r\n background: transparent;\r\n font-size: 0;\r\n padding: 0;\r\n transform: rotate(45deg);\r\n cursor: pointer; }\r\n .popmechanic-widget-close:before, .popmechanic-widget-close:after {\r\n content: '';\r\n position: absolute;\r\n top: 5px;\r\n left: 0;\r\n width: 100%;\r\n height: 1px;\r\n background-color: <%=cl_col%>; }\r\n .popmechanic-widget-close:after {\r\n transform: rotate(90deg); }\r\n.popmechanic-mobile #popmechanic-widget {\r\n padding: <%=otst3%>px <%=otst4%>px;\r\n font-size: <%=font_size16%>px;}", "on_show": null, "on_close": null, "parameters": [{"id": 1087, "machine_name": "text7", "type": "text"}, {"id": 1088, "machine_name": "color3", "type": "color"}, {"id": 1089, "machine_name": "color5", "type": "color"}, {"id": 1090, "machine_name": "crug10", "type": "slider"}, {"id": 1091, "machine_name": "font_size10", "type": "slider"}, {"id": 1092, "machine_name": "font2", "type": "select"}, {"id": 1093, "machine_name": "otst1", "type": "slider"}, {"id": 1094, "machine_name": "otst2", "type": "slider"}, {"id": 1095, "machine_name": "color7", "type": "color"}, {"id": 1096, "machine_name": "otst3", "type": "slider"}, {"id": 1097, "machine_name": "otst4", "type": "slider"}, {"id": 1098, "machine_name": "font_size16", "type": "slider"}, {"id": 1099, "machine_name": "cl_col", "type": "color"}, {"id": 1100, "machine_name": "border_enable", "type": "checkbox"}, {"id": 1101, "machine_name": "border_width", "type": "slider"}, {"id": 1102, "machine_name": "border_color", "type": "color"}, {"id": 1103, "machine_name": "font434", "type": "slider"}]}], "integrations": [{"id": 93374, "form": 83123, "filter": null, "filter_type": null, "account": 4271, "integration_type": "javascript", "on_render": "", "on_show": "document.addEventListener('click', function (event) {\n const target = event.target;\n if (target.classList.contains('popmechanic-button')) {\n dataLayer.push({\n event: 'popup-selected',\n popupProvider: 'mindbox',\n popupType: 'popup_desktop',\n popupCampaign: 'BCM_mark_24'\n });\n\n // \u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 localStorage\n localStorage.setItem('popupData', JSON.stringify({\n event: 'popup-selected',\n popupProvider: 'mindbox',\n popupType: 'popup_desktop',\n popupCampaign: 'BCM_mark_24'\n }));\n }\n});\n\nwindow.addEventListener('beforeunload', function () {\n // \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 localStorage\n const savedData = localStorage.getItem('popupData');\n if (savedData) {\n const popupData = JSON.parse(savedData);\n // \u0412\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c dataLayer.push \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438\n dataLayer.push(popupData);\n // \u041e\u0447\u0438\u0449\u0430\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 localStorage\n localStorage.removeItem('popupData');\n }\n});", "on_success": "", "on_close_success": "", "on_close_fail": ""}, {"id": 59162, "form": 60507, "filter": null, "filter_type": null, "account": 4271, "integration_type": "javascript", "on_render": "", "on_show": "", "on_success": "setTimeout(function() {\r\nif (PopMechanic.leads[0].customs.result2418 == 1) {\r\n $('.infoabout').html('
\u0421\u043f\u0435\u0446\u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0435\u0434\u0435\u043b\u0438\u0421\u043a\u0438\u0434\u043a\u0438 \u0438 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0435\u0441\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u0441\u0430\u0439\u0442\u0435. \u0417\u0430\u0445\u043e\u0434\u0438 \u0438 \u0432\u044b\u0431\u0438\u0440\u0430\u0439\u041e\u0431\u043d\u043e\u0432\u0438 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443, \u0447\u0442\u043e\u0431\u044b \u0432\u0440\u0430\u0449\u0430\u0442\u044c \u0431\u0430\u0440\u0430\u0431\u0430\u043d \u0435\u0449\u0451 \u0440\u0430\u0437
');\r\n $('.popmechanic-submit')[2].href='https://www.oriflame.ru/online-exclusive?utm_source=mindbox&utm_medium=email&utm_campaign=online_exclusive_leads'\r\nconsole.log(1)\r\n\r\n} else if (PopMechanic.leads[0].customs.result2418 == 2 ) {\r\n $('.infoabout').html('
\u0414\u0435\u043a\u043e\u0440\u0430\u0442\u0438\u0432\u043d\u0430\u044f \u043a\u043e\u0441\u043c\u0435\u0442\u0438\u043a\u0430\u042f\u0440\u043a\u0438\u0439 \u043c\u0430\u043a\u0438\u044f\u0436 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0434\u043b\u044f \u0442\u0435\u0431\u044f.\u041e\u0431\u043d\u043e\u0432\u0438 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443, \u0447\u0442\u043e\u0431\u044b \u0432\u0440\u0430\u0449\u0430\u0442\u044c \u0431\u0430\u0440\u0430\u0431\u0430\u043d \u0435\u0449\u0451 \u0440\u0430\u0437
');\r\n $('.popmechanic-submit')[2].href='https://www.oriflame.ru/makeup?utm_source=mindbox&utm_medium=email&utm_campaign=makeup_leads'\r\nconsole.log(2)\r\n\r\n} else if (PopMechanic.leads[0].customs.result2418 == 3 ) {\r\n $('.infoabout').html('
\u041f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u0430\u0440\u043e\u043c\u0430\u0442\u044b\u0410\u0440\u043e\u043c\u0430\u0442\u044b \u043f\u043e \u043f\u0440\u0438\u044f\u0442\u043d\u044b\u043c \u0446\u0435\u043d\u0430\u043c.\u041e\u0431\u043d\u043e\u0432\u0438 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443, \u0447\u0442\u043e\u0431\u044b \u0432\u0440\u0430\u0449\u0430\u0442\u044c \u0431\u0430\u0440\u0430\u0431\u0430\u043d \u0435\u0449\u0451 \u0440\u0430\u0437
');\r\n $('.popmechanic-submit')[2].href='https://www.oriflame.ru/fragrance?utm_source=mindbox&utm_medium=email&utm_campaign=fra_leads'\r\nconsole.log(3)\r\n\r\n} else if (PopMechanic.leads[0].customs.result2418 == 4 ) {\r\n $('.infoabout').html('
\u041e\u043d\u043b\u0430\u0439\u043d-\u0430\u0443\u0442\u043b\u0435\u0442\u041f\u0440\u043e\u0434\u0443\u043a\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u043e\u0442-\u0432\u043e\u0442 \u0432\u044b\u0439\u0434\u0443\u0442 \u0438\u0437 \u043f\u0440\u043e\u0434\u0430\u0436\u0438! \u0423\u0441\u043f\u0435\u0439 \u043a\u0443\u043f\u0438\u0442\u044c.\u041e\u0431\u043d\u043e\u0432\u0438 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443, \u0447\u0442\u043e\u0431\u044b \u0432\u0440\u0430\u0449\u0430\u0442\u044c \u0431\u0430\u0440\u0430\u0431\u0430\u043d \u0435\u0449\u0451 \u0440\u0430\u0437
');\r\n $('.popmechanic-submit')[2].href='https://www.oriflame.ru/outlet?utm_source=mindbox&utm_medium=outlet_leads'\r\nconsole.log(4) \r\n\r\n} else if (PopMechanic.leads[0].customs.result2418 == 5 ) {\r\n $('.infoabout').html('
\u0412\u044b\u0433\u043e\u0434\u043d\u044b\u0435 \u0430\u043a\u0446\u0438\u0438\u041b\u0443\u0447\u0448\u0438\u0435 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435. \u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c ;)\u041e\u0431\u043d\u043e\u0432\u0438 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443, \u0447\u0442\u043e\u0431\u044b \u0432\u0440\u0430\u0449\u0430\u0442\u044c \u0431\u0430\u0440\u0430\u0431\u0430\u043d \u0435\u0449\u0451 \u0440\u0430\u0437
');\r\n $('.popmechanic-submit')[2].href='https://www.oriflame.ru/focus?utm_source=mindbox&utm_medium=email&utm_campaign=best_offers_leads'\r\nconsole.log(5)\r\n\r\n} else if (PopMechanic.leads[0].customs.result2418 == 6 ) {\r\n $('.infoabout').html('
\u0410\u043a\u0441\u0435\u0441\u0441\u0443\u0430\u0440\u044b\u0412\u0441\u0451 \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0437\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u044e\u0449\u0435\u0433\u043e\u0441\u044f \u043e\u0431\u0440\u0430\u0437\u0430\u041e\u0431\u043d\u043e\u0432\u0438 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443, \u0447\u0442\u043e\u0431\u044b \u0432\u0440\u0430\u0449\u0430\u0442\u044c \u0431\u0430\u0440\u0430\u0431\u0430\u043d \u0435\u0449\u0451 \u0440\u0430\u0437
');\r\n $('.popmechanic-submit')[2].href='https://www.oriflame.ru/accessories?utm_source=mindbox&utm_medium=email&utm_campaign=accessories_leads'\r\nconsole.log(6)\r\n}\r\n}, 1000);", "on_close_success": "", "on_close_fail": ""}, {"id": 104727, "form": 90706, "filter": null, "filter_type": null, "account": 4271, "integration_type": "javascript", "on_render": "", "on_show": "const element = document.querySelectorAll('[data-popmechanic-link]')[0] || document.querySelectorAll('[data-popmechanic-link]')[1]\n\nelement.addEventListener('click', function (event) {\ndataLayer.push({\n event: 'popup-selected',\n popupProvider: 'mindbox',\n popupType: 'stories',\n popupCampaign: 'ecatalogue_C12_2024'\n});\n})", "on_success": "", "on_close_success": "", "on_close_fail": ""}, {"id": 104729, "form": 90707, "filter": null, "filter_type": null, "account": 4271, "integration_type": "javascript", "on_render": "", "on_show": "const element = document.querySelectorAll('[data-popmechanic-link]')[0] || document.querySelectorAll('[data-popmechanic-link]')[1]\n\nelement.addEventListener('click', function (event) {\ndataLayer.push({\n event: 'popup-selected',\n popupProvider: 'mindbox',\n popupType: 'stories',\n popupCampaign: 'novelties_C12_2024'\n});\n})", "on_success": "", "on_close_success": "", "on_close_fail": ""}, {"id": 104733, "form": 90709, "filter": null, "filter_type": null, "account": 4271, "integration_type": "javascript", "on_render": "", "on_show": "const element = document.querySelectorAll('[data-popmechanic-link]')[0] || document.querySelectorAll('[data-popmechanic-link]')[1]\n\nelement.addEventListener('click', function (event) {\ndataLayer.push({\n event: 'popup-selected',\n popupProvider: 'mindbox',\n popupType: 'stories',\n popupCampaign: 'online_exclusive_C12_2024'\n});\n})", "on_success": "", "on_close_success": "", "on_close_fail": ""}, {"id": 104735, "form": 90710, "filter": null, "filter_type": null, "account": 4271, "integration_type": "javascript", "on_render": "", "on_show": "const element = document.querySelectorAll('[data-popmechanic-link]')[0] || document.querySelectorAll('[data-popmechanic-link]')[1]\n\nelement.addEventListener('click', function (event) {\ndataLayer.push({\n event: 'popup-selected',\n popupProvider: 'mindbox',\n popupType: 'stories',\n popupCampaign: 'sample_shop_C12_2024'\n});\n})", "on_success": "", "on_close_success": "", "on_close_fail": ""}, {"id": 112762, "form": 96265, "filter": null, "filter_type": null, "account": 4271, "integration_type": "javascript", "on_render": "", "on_show": "document.addEventListener('click', function (event) {\n const target = event.target;\n if (target.classList.contains('popmechanic-button')) {\n dataLayer.push({\n event: 'popup-selected',\n popupProvider: 'mindbox',\n popupType: 'popup_desktop',\n popupCampaign: 'crazy_offer_\u042112_2024'\n });\n\n // \u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 localStorage\n localStorage.setItem('popupData', JSON.stringify({\n event: 'popup-selected',\n popupProvider: 'mindbox',\n popupType: 'popup_desktop',\n popupCampaign: 'crazy_offer_\u042112_2024'\n }));\n }\n});\n\nwindow.addEventListener('beforeunload', function () {\n // \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 localStorage\n const savedData = localStorage.getItem('popupData');\n if (savedData) {\n const popupData = JSON.parse(savedData);\n // \u0412\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c dataLayer.push \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438\n dataLayer.push(popupData);\n // \u041e\u0447\u0438\u0449\u0430\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 localStorage\n localStorage.removeItem('popupData');\n }\n});", "on_success": "", "on_close_success": "", "on_close_fail": ""}, {"id": 112473, "form": 96083, "filter": null, "filter_type": null, "account": 4271, "integration_type": "javascript", "on_render": "", "on_show": "document.addEventListener('click', function (event) {\n const target = event.target;\n if (target.classList.contains('popmechanic-btn-mobile')) {\n dataLayer.push({\n event: 'popup-selected',\n popupProvider: 'mindbox',\n popupType: 'popup_mobile',\n popupCampaign: 'crazy_offer_C12_2024'\n });\n\n // \u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 localStorage\n localStorage.setItem('popupData', JSON.stringify({\n event: 'popup-selected',\n popupProvider: 'mindbox',\n popupType: 'popup_mobile',\n popupCampaign: 'crazy_offer_C12_2024'\n }));\n }\n});\n\nwindow.addEventListener('beforeunload', function () {\n // \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 localStorage\n const savedData = localStorage.getItem('popupData');\n if (savedData) {\n const popupData = JSON.parse(savedData);\n // \u0412\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c dataLayer.push \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438\n dataLayer.push(popupData);\n // \u041e\u0447\u0438\u0449\u0430\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 localStorage\n localStorage.removeItem('popupData');\n }\n});", "on_success": "", "on_close_success": "", "on_close_fail": ""}, {"id": 113523, "form": 96735, "filter": null, "filter_type": null, "account": 4271, "integration_type": "javascript", "on_render": "", "on_show": "const element = document.querySelectorAll('[data-popmechanic-link]')[0] || document.querySelectorAll('[data-popmechanic-link]')[1]\n\nelement.addEventListener('click', function (event) {\ndataLayer.push({\n event: 'popup-selected',\n popupProvider: 'mindbox',\n popupType: 'stories',\n popupCampaign: 'free_delivery_w2_C12_2024'\n});\n})", "on_success": "", "on_close_success": "", "on_close_fail": ""}, {"id": 113627, "form": 96828, "filter": null, "filter_type": null, "account": 4271, "integration_type": "javascript", "on_render": "", "on_show": "document.addEventListener('click', function (event) {\n const target = event.target;\n if (target.classList.contains('popmechanic-btn-mobile')) {\n dataLayer.push({\n event: 'popup-selected',\n popupProvider: 'mindbox',\n popupType: 'popup_mobile',\n popupCampaign: 'free_delivery_C12_w2_2024'\n });\n\n // \u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 localStorage\n localStorage.setItem('popupData', JSON.stringify({\n event: 'popup-selected',\n popupProvider: 'mindbox',\n popupType: 'popup_mobile',\n popupCampaign: 'free_delivery_C12_w2_2024'\n }));\n }\n});\n\nwindow.addEventListener('beforeunload', function () {\n // \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 localStorage\n const savedData = localStorage.getItem('popupData');\n if (savedData) {\n const popupData = JSON.parse(savedData);\n // \u0412\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c dataLayer.push \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438\n dataLayer.push(popupData);\n // \u041e\u0447\u0438\u0449\u0430\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 localStorage\n localStorage.removeItem('popupData');\n }\n});", "on_success": "", "on_close_success": "", "on_close_fail": ""}, {"id": 113630, "form": 96830, "filter": null, "filter_type": null, "account": 4271, "integration_type": "javascript", "on_render": "", "on_show": "document.addEventListener('click', function (event) {\n const target = event.target;\n if (target.classList.contains('popmechanic-button')) {\n dataLayer.push({\n event: 'popup-selected',\n popupProvider: 'mindbox',\n popupType: 'popup_desktop',\n popupCampaign: 'free_delivery_\u042112_w2_2024'\n });\n\n // \u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 localStorage\n localStorage.setItem('popupData', JSON.stringify({\n event: 'popup-selected',\n popupProvider: 'mindbox',\n popupType: 'popup_desktop',\n popupCampaign: 'free_delivery_\u042112_w2_2024'\n }));\n }\n});\n\nwindow.addEventListener('beforeunload', function () {\n // \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 localStorage\n const savedData = localStorage.getItem('popupData');\n if (savedData) {\n const popupData = JSON.parse(savedData);\n // \u0412\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c dataLayer.push \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438\n dataLayer.push(popupData);\n // \u041e\u0447\u0438\u0449\u0430\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 localStorage\n localStorage.removeItem('popupData');\n }\n});", "on_success": "", "on_close_success": "", "on_close_fail": ""}, {"id": 52795, "form": 56499, "filter": null, "filter_type": null, "account": 4271, "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-56499", "subscriptions": [{"pointOfContact": "Email"}]}, {"id": 12889, "form": 24142, "filter": null, "filter_type": null, "account": 4271, "integration_type": "mindbox_tracking", "show_operation": "popmechanic-block-24142-show", "click_operation": "popmechanic-block-24142-click", "targeting_operation": "popmechanic-block-24142-targeting"}, {"id": 24632, "form": 38540, "filter": null, "filter_type": null, "account": 4271, "integration_type": "mindbox_tracking", "show_operation": "popmechanic-popup-38540-show", "click_operation": "popmechanic-popup-38540-click", "targeting_operation": "popmechanic-popup-38540-targeting"}, {"id": 26367, "form": 39719, "filter": null, "filter_type": null, "account": 4271, "integration_type": "mindbox_tracking", "show_operation": "popmechanic-block-39719-show", "click_operation": "popmechanic-block-39719-click", "targeting_operation": "popmechanic-block-39719-targeting"}, {"id": 43166, "form": 50056, "filter": null, "filter_type": null, "account": 4271, "integration_type": "mindbox_tracking", "show_operation": "popmechanic-reco-widget-50056-show", "click_operation": null, "targeting_operation": "popmechanic-reco-widget-50056-targeting"}, {"id": 52796, "form": 56499, "filter": null, "filter_type": null, "account": 4271, "integration_type": "mindbox_tracking", "show_operation": "popmechanic-block-56499-show", "click_operation": "popmechanic-block-56499-click", "targeting_operation": "popmechanic-block-56499-targeting"}, {"id": 57805, "form": 59590, "filter": null, "filter_type": null, "account": 4271, "integration_type": "mindbox_tracking", "show_operation": "popmechanic-popup-59590-show", "click_operation": "popmechanic-popup-59590-click", "targeting_operation": "popmechanic-popup-59590-targeting"}, {"id": 59163, "form": 60507, "filter": null, "filter_type": null, "account": 4271, "integration_type": "mindbox_tracking", "show_operation": "popmechanic-popup-60507-show", "click_operation": "popmechanic-popup-60507-click", "targeting_operation": "popmechanic-popup-60507-targeting"}, {"id": 66814, "form": 65539, "filter": null, "filter_type": null, "account": 4271, "integration_type": "mindbox_tracking", "show_operation": "popmechanic-popup-65539-show", "click_operation": "popmechanic-popup-65539-click", "targeting_operation": "popmechanic-popup-65539-targeting"}, {"id": 67507, "form": 65969, "filter": null, "filter_type": null, "account": 4271, "integration_type": "mindbox_tracking", "show_operation": "popmechanic-block-65969-show", "click_operation": "popmechanic-block-65969-click", "targeting_operation": "popmechanic-block-65969-targeting"}, {"id": 90295, "form": 81193, "filter": null, "filter_type": null, "account": 4271, "integration_type": "mindbox_tracking", "show_operation": "popmechanic-block-81193-show", "click_operation": "popmechanic-block-81193-click", "targeting_operation": "popmechanic-block-81193-targeting"}, {"id": 93375, "form": 83123, "filter": null, "filter_type": null, "account": 4271, "integration_type": "mindbox_tracking", "show_operation": "popmechanic-popup-83123-show", "click_operation": "popmechanic-popup-83123-click", "targeting_operation": "popmechanic-popup-83123-targeting"}, {"id": 104728, "form": 90706, "filter": null, "filter_type": null, "account": 4271, "integration_type": "mindbox_tracking", "show_operation": "popmechanic-popup-90706-show", "click_operation": "popmechanic-popup-90706-click", "targeting_operation": "popmechanic-popup-90706-targeting"}, {"id": 104730, "form": 90707, "filter": null, "filter_type": null, "account": 4271, "integration_type": "mindbox_tracking", "show_operation": "popmechanic-popup-90707-show", "click_operation": "popmechanic-popup-90707-click", "targeting_operation": "popmechanic-popup-90707-targeting"}, {"id": 104734, "form": 90709, "filter": null, "filter_type": null, "account": 4271, "integration_type": "mindbox_tracking", "show_operation": "popmechanic-popup-90709-show", "click_operation": "popmechanic-popup-90709-click", "targeting_operation": "popmechanic-popup-90709-targeting"}, {"id": 104736, "form": 90710, "filter": null, "filter_type": null, "account": 4271, "integration_type": "mindbox_tracking", "show_operation": "popmechanic-popup-90710-show", "click_operation": "popmechanic-popup-90710-click", "targeting_operation": "popmechanic-popup-90710-targeting"}, {"id": 112474, "form": 96083, "filter": null, "filter_type": null, "account": 4271, "integration_type": "mindbox_tracking", "show_operation": "popmechanic-popup-96083-show", "click_operation": "popmechanic-popup-96083-click", "targeting_operation": "popmechanic-popup-96083-targeting"}, {"id": 112763, "form": 96265, "filter": null, "filter_type": null, "account": 4271, "integration_type": "mindbox_tracking", "show_operation": "popmechanic-popup-96265-show", "click_operation": "popmechanic-popup-96265-click", "targeting_operation": "popmechanic-popup-96265-targeting"}, {"id": 113521, "form": 96735, "filter": null, "filter_type": null, "account": 4271, "integration_type": "mindbox_tracking", "show_operation": "popmechanic-popup-96735-show", "click_operation": "popmechanic-popup-96735-click", "targeting_operation": "popmechanic-popup-96735-targeting"}, {"id": 113628, "form": 96828, "filter": null, "filter_type": null, "account": 4271, "integration_type": "mindbox_tracking", "show_operation": "popmechanic-popup-96828-show", "click_operation": "popmechanic-popup-96828-click", "targeting_operation": "popmechanic-popup-96828-targeting"}, {"id": 113631, "form": 96830, "filter": null, "filter_type": null, "account": 4271, "integration_type": "mindbox_tracking", "show_operation": "popmechanic-popup-96830-show", "click_operation": "popmechanic-popup-96830-click", "targeting_operation": "popmechanic-popup-96830-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}