[uib-typeahead-popup].dropdown-menu{display:block;}.uib-time input{width:50px;}[uib-tooltip-popup].tooltip.top-left > .tooltip-arrow,[uib-tooltip-popup].tooltip.top-right > .tooltip-arrow,[uib-tooltip-popup].tooltip.bottom-left > .tooltip-arrow,[uib-tooltip-popup].tooltip.bottom-right > .tooltip-arrow,[uib-tooltip-popup].tooltip.left-top > .tooltip-arrow,[uib-tooltip-popup].tooltip.left-bottom > .tooltip-arrow,[uib-tooltip-popup].tooltip.right-top > .tooltip-arrow,[uib-tooltip-popup].tooltip.right-bottom > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.top-left > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.top-right > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.bottom-left > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.bottom-right > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.left-top > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.left-bottom > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.right-top > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.right-bottom > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.top-left > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.top-right > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.bottom-left > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.bottom-right > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.left-top > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.left-bottom > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.right-top > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.right-bottom > .tooltip-arrow,[uib-popover-popup].popover.top-left > .arrow,[uib-popover-popup].popover.top-right > .arrow,[uib-popover-popup].popover.bottom-left > .arrow,[uib-popover-popup].popover.bottom-right > .arrow,[uib-popover-popup].popover.left-top > .arrow,[uib-popover-popup].popover.left-bottom > .arrow,[uib-popover-popup].popover.right-top > .arrow,[uib-popover-popup].popover.right-bottom > .arrow,[uib-popover-html-popup].popover.top-left > .arrow,[uib-popover-html-popup].popover.top-right > .arrow,[uib-popover-html-popup].popover.bottom-left > .arrow,[uib-popover-html-popup].popover.bottom-right > .arrow,[uib-popover-html-popup].popover.left-top > .arrow,[uib-popover-html-popup].popover.left-bottom > .arrow,[uib-popover-html-popup].popover.right-top > .arrow,[uib-popover-html-popup].popover.right-bottom > .arrow,[uib-popover-template-popup].popover.top-left > .arrow,[uib-popover-template-popup].popover.top-right > .arrow,[uib-popover-template-popup].popover.bottom-left > .arrow,[uib-popover-template-popup].popover.bottom-right > .arrow,[uib-popover-template-popup].popover.left-top > .arrow,[uib-popover-template-popup].popover.left-bottom > .arrow,[uib-popover-template-popup].popover.right-top > .arrow,[uib-popover-template-popup].popover.right-bottom > .arrow{top:auto;bottom:auto;left:auto;right:auto;margin:0;}[uib-popover-popup].popover,[uib-popover-html-popup].popover,[uib-popover-template-popup].popover{display:block !important;}.uib-datepicker-popup.dropdown-menu{display:block;float:none;margin:0;}.uib-button-bar{padding:10px 9px 2px;}.uib-position-measure{display:block !important;visibility:hidden !important;position:absolute !important;top:-9999px !important;left:-9999px !important;}.uib-position-scrollbar-measure{position:absolute !important;top:-9999px !important;width:50px !important;height:50px !important;overflow:scroll !important;}.uib-position-body-scrollbar-measure{overflow:scroll !important;}.uib-datepicker .uib-title{width:100%;}.uib-day button,.uib-month button,.uib-year button{min-width:100%;}.uib-left,.uib-right{width:100%}.ng-animate.item:not(.left):not(.right){-webkit-transition:0s ease-in-out left;transition:0s ease-in-out left}@charset 'UTF-8';[ng\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}
Esprinet S.p.A.
.async-hide {
-ms-opacity: 0 !important;
opacity: 0 !important;
}
window.esprinetDataLayer = window.esprinetDataLayer || [];
window.esprinetDataLayer.push({
'event': 'init',
'app': 'no',
'gdpr': 'no',
'layout': '',
'companyId': '1',
'language': '2',
'userCode': '1245205001',
'customerCode': 'AA1703',
'chainCode': '',
'channelCode': 'CC',
'esprigo': 'no',
'interno': 'no'
});
var CountPushElement = [];
var DataLayerPromo = [];
var DataLayerImpressions = [];
function Push() {
CountPushElement.splice(0, 1);
if (CountPushElement.length === 0) {
if (DataLayerPromo.length > 2 || DataLayerImpressions.length > 0) {
window.esprinetDataLayer.push({
'event': 'promoImpression',
'ecommerce': {
'promoView': {
'promotions': DataLayerPromo
},
'impressions': DataLayerImpressions
}
});
CountPushElement = [];
DataLayerPromo = [];
DataLayerImpressions = [];
}
}
}
function PushEvent(event, codice, modello) {
window.esprinetDataLayer.push({
'event': event,
'id': codice,
'name': modello
});
}
function PushEventClickProduct(codice, modello, price, brand, category) {
window.esprinetDataLayer.push({
'event': 'productClick',
'ecommerce': {
'click': {
'products': [{
'id': codice,
'name': modello,
'price': price,
'brand': brand,
'category': category
}]
}
}
});
}
function PushEventClickPromo(id, name, creative, pos) {
window.esprinetDataLayer.push({
'event': 'promotionClick',
'ecommerce': {
'promoClick': {
'promotions': [
{
'id': id,
'name': name,
'creative': creative,
'position': pos
}]
}
}
});
}
function PushEventAddCart(data) {
window.esprinetDataLayer.push({
'event': 'addToCart',
'ecommerce': {
'add': {
'products': [{
'id': data.codice,
'brand': data.codiceBrand,
'name': data.description,
'category': data.categoryDescription,
'variant': data.familyDescription,
'price': data.prezzoCliente,
'quantity': data.qta
}]
}
}
});
}
function PushEventRemoveCart(data) {
var productsRemove = [];
data.forEach(function (element) {
productsRemove.push({
'id': element.codice,
'price': element.prezzoCliente,
'quantity': element.qta,
'brand': element.codiceBrand,
'category': element.category,
'promoId': element.idProgramma,
'promoType': element.tipoProgramma
});
});
window.esprinetDataLayer.push({
'event': 'removeToCart',
'ecommerce': {
'remove': {
'products': productsRemove
}
}
});
}
function PushOrderCart(cart) {
if (cart.righe != undefined && cart.righe.length > 0) {
var products = [];
cart.righe.forEach(function (row) {
products.push({
'id': row.codice,
'name': row.articolo.nome,
'price': row.prezzo,
'quantity': row.quantita,
'brand': row.articolo.acronimoProduttore,
'category': row.articolo.codiceCategoriaMerceologica
});
});
window.esprinetDataLayer.push({
'event': 'checkout',
'ecommerce': {
'checkout': {
'actionField': { 'step': 'Cart' },
'products': products
}
}
});
}
}
function PushCheckoutOption(orders, actionField) {
orders.forEach(function (order) {
var products = [];
if (order.rows != undefined && order.rows.length > 0) {
order.rows.forEach(function (row) {
products.push({
'id': row.articleCode,
'name': row.articleDescription,
'price': row.articlePrice,
'quantity': row.quantity,
'brand': row.brand,
'category': row.category
});
});
}
if (order.bidRows != undefined && order.bidRows.length > 0) {
order.bidRows.forEach(function (row) {
products.push({
'id': row.articleCode,
'name': row.articleDescription,
'price': row.bidPrice,
'quantity': row.quantity,
'brand': row.brand,
'category': row.category,
'bidNumber': row.bidNumber
});
});
}
window.esprinetDataLayer.push({
'event': 'checkout',
'ecommerce': {
'checkout_option': {
'actionField': actionField,
'id': order.id,
'type': order.orderTypeCode,
'paymentTypeId': order.paymentTypeId != undefined ? order.paymentTypeId : order.paymentType,
'products': products
}
}
});
});
}
function PushOrderCheckout(orders, step) {
orders.forEach(function (order) {
var products = [];
if (order.rows != undefined && order.rows.length > 0) {
order.rows.forEach(function (row) {
products.push({
'id': row.articleCode,
'name': row.articleDescription,
'price': row.articlePrice,
'quantity': row.quantity,
'brand': row.brand,
'category': row.category
});
});
}
if (order.bidRows != undefined && order.bidRows.length > 0) {
order.bidRows.forEach(function (row) {
products.push({
'id': row.articleCode,
'name': row.articleDescription,
'price': row.bidPrice,
'quantity': row.quantity,
'brand': row.brand,
'category': row.category,
'bidNumber': row.bidNumber
});
});
}
window.esprinetDataLayer.push({
'event': 'checkout',
'ecommerce': {
'checkout': {
'actionField': { 'step': step },
'id': order.id,
'type': order.orderTypeCode,
'paymentTypeId': order.paymentTypeId != undefined ? order.paymentTypeId : order.paymentType,
'products': products
}
}
});
});
}
var OneSignal = window.OneSignal || [];
OneSignal.push(function() {
OneSignal.init({
appId: 'bb5015e9-dda2-4e1a-88de-2bf5fcf44385'
});
});
OneSignal.push(function() {
OneSignal.getSubscription(function (isSubscribed) {
if (isSubscribed) {
OneSignal.push(['sendTags', { 'company': 'Italia', 'enviroment': 'Italia', 'customerCode': 'AA1703', 'userCode': '1245205001', 'channel': 'CC', 'chain': '' }]);
OneSignal.setExternalUserId('1245205001');
}
});
});
(function (a, s, y, n, c, h, i, d, e) { s.className += ' ' + y; h.start = 1 * new Date; h.end = i = function () { s.className = s.className.replace(RegExp(' ?' + y), '') }; (a[n] = a[n] || []).hide = h; setTimeout(function () { i(); h.end = null }, c); h.timeout = c; })(window, document.documentElement, 'async-hide', 'dataLayer', 0, {
'GTM-TR5ZPSN': true
});
(function (w, d, s, l, i) {
w[l] = w[l] || []; w[l].push({
'gtm.start': new Date().getTime(), event: 'gtm.js'
}); var f = d.getElementsByTagName(s)[0],
j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src =
'https://sgtm.esprinet.com/osxbjztp.js?id=' + i + dl; f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'esprinetDataLayer', 'GTM-TR5ZPSN');