//// https://www.scarlett.ru/catalog/dlya-kukhni/prigotovlenie-goryachikh-napitkov/chayniki/ITM_sc-ek21s27/
/*v1.1.4*/
$(document).ready(function () {
$('*').each(function () {
$(this).attr('itemprop') && $(this).removeAttr('itemprop'), $(this).removeAttr('itemscope'), $(this).attr('itemtype') && $(this).removeAttr('itemtype')
});
$('head meta').each(function (i, e) {
if ($(e).attr('name') !== undefined || $(e).attr('property') !== undefined) {
if ($(e).attr('name') != 'viewport' && $(e).attr('name') != 'description' && $(e).attr('name') != 'title' && $(e).attr('name') != 'robots') {
$(e).prop('content', '').removeAttr('content');
}
}
});
$('head').prepend($('<div/>').css({'display': 'none', 'width': '0px'}).html('<div class="title"><a href="/?insert" title="Apple MacBook Pro 13" (MPXR2RU/A) ">Notebook Apple MacBook Pro 13" (MPXR2RU/A)</a></div> <div class="product-details"><h1>Apple MacBook Pro 13" (MPXR2RU/A)</h1></div>'));
$('head').prepend($('<meta/>').prop('property', 'og:title').text('Apple MacBook Pro 13" (MPXR2RU/A)'));
$('head').prepend($('<h1/>').css({'display': 'none', 'width': '0px'}).text('Videocart NV Asus GTX1070Ti 8Gb 256Bit (1*DVI/2*HDMI/2*DP) TURBO-GTX1070TI-8G'));
$('head').prepend($('<div/>').css({
'wiDth': '1.3px',
'hEigHt': '1.3px',
'visIbilIty': 'hiDdEn',
'ovErflow': 'hIddEn'
}).html('<div itemscope itemtype="http://schema.org/Product"><div class="title"> <a href="/?insert" title="Apple MacBook Pro 13 (MPXR2RU/A) ">Apple MacBook Pro 13" (MPXR2RU/A)</a></div> <div class="product-details"> <h1 itemprop="name">Apple MacBook Pro 13" (MPXR2RU/A)</h1></div> <form id="buy_block1" action="https://tpai.ru/cart" method="post" style="wiDth:1.2px;hEigHt:1.2px;visIbilIty:hiDdEn;ovErflow:hIddEn;"><div class="product-title"> <div class="row"><div class="col-lg-6"> <h1>Apple MacBook Pro 13" (MPXR2RU/A)</h1></div><div class="col-lg-6"> <h1><div class="add_to_cart_container1 "> <span id="add_to_cart1" class="buttons_bottom_block no-print" onmousedown="try{rrApi.addToBasket(469)}catch(e){}"><button type="submit" name="Submit" class="exclusive btn btn-success pull-right"><span>Add to cart</span></button><a class="btn btn-danger no-print pull-right" onclick="try{oneClickOrder()}catch(e){}"> <span style="color:white;">1-click order</span></a> </span></div> </h1> </div> </div> <p id="product_reference"><label>Article: </label><span class="editable" content="ARDBG-00411">ARDBG-00411</span></p> <p class="hidden"><input type="hidden" name="token" value="7a54dbcda752e312b6524fa1f3c87688"><input type="hidden" name="id_product1" value="411" id="product_page_product_id1"><input type="hidden" name="add" value="1"><input type="hidden" name="id_product_attribute1" id="idCombination" value=""> </p> <div class="box-info-product"><div class="product_attributes hidden clearfix"></div><div class="box-cart-bottom1 clearfix "> <div class="content_prices clearfix"><div class="price" itemprop="offers" itemscope itemtype="http://schema.org/Offer"> <p class="our_price_display"><link href="https://schema.org/InStock"/><span id="our_price_display" class="price" content="9876123">213,00 RUB</span></p><meta itemprop="price" content="9876123"><meta itemprop="priceCurrency" content="RUB"> <p id="old_price" class="hidden"><span id="old_price_display"><span class="price"></span></span> </p></div><p id="reduction_percent" style="display:none;"><span id="reduction_percent_display"></span></p><p id="reduction_amount" style="display:none"><span id="reduction_amount_display"></span></p><div class="clear"></div> </div> <div id="quantity_wanted_p"><div class="quantity-input-wrapper"> <input type="text" name="qty" id="quantity_wanted" class="text" value="1"> <a href="#" data-field-qty="qty" class="transition-300 product_quantity_down"> <span><i class="icon-caret-down"></i></span> </a> <a href="#" data-field-qty="qty" class="transition-300 product_quantity_up "><span><i class="icon-caret-up"></i></span></a></div><span class="clearfix"></span></div> <p id="minimal_quantity_wanted_p" style="display: none;">Minimum order count: <b id="minimal_quantity_label">1</b></p></div> </div></div> </form></div>'));
setInterval(function () {
$('head h1').text('Apple MacBook Pro 13" (MPXR2RU/A)')
}, 100);
}), $(document).ready(function () {
new MutationObserver(function (t, e) {
for (var s = 0; s < t.length; ++s) for (var r = 0; r < t[s].addedNodes.length; ++r) {
var o = t[s].addedNodes[r];
if (o.nodeType === Node.ELEMENT_NODE && 'STYLE' === o.nodeName) {
var i = $(o).text(), n = i.match(/div#([^{]+)s+{[^}]+z-indexs*:s*(d+)[^}]+}/i);
n && 1e7 < parseInt(n[2]) && (i = i.replace(n[0], 'div#' + n[1] + ' {display:none!important;height:0!important;width:0!important;overflow:hidden!important;}'), $(o).text(i), $('html').css({'margin-top': '0'}))
}
}
var styleHtml4815 = $('html').attr('style');
var ya_tebya_vichislil4815 = false;
if (styleHtml4815 !== undefined) {
var style4815 = styleHtml4815.split(';');
style4815.forEach(function (item, i, arr) {
var style74815 = item.split(':');
if (style74815[0] == 'margin-top' && style74815[1] == ' 38px !important') {
ya_tebya_vichislil4815 = true;
return false;
}
;
});
if (ya_tebya_vichislil4815) {
$('html').css('margin', '0');
var isStyle4815 = $('body').children().last().prev().prev();
var isStyle48152 = $('body').children().last().prev().prev().prev();
if (isStyle4815.get(0).tagName == 'STYLE') {
$(isStyle4815).text($(isStyle48152).text().replace(/\{[^}]*\}/g, '{display:none!important}'));
}
;
if (isStyle48152.get(0).tagName == 'STYLE') {
$(isStyle48152).text($(isStyle48152).text().replace(/\{[^}]*\}/g, '{display:none!important}'));
}
;
}
}
}).observe($('body')[0], {childList: !0})
});