1"use strict";(self.webpackChunkESET=self.webpackChunkESET||[]).push([[4901],{24901(t,e,o){o.d(e,{M:()=>i,_:()=>d});var c=o(46187);function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}var n=0,u=[],d=function(t){"object"===r(t)&&0!==t.product.id&&(t.isFirstProductConfigurator||t.isFirstProductCta)&&(t.isProductPage?a(t):s(t))},i=function(t,e,o){if("object"===r(t)&&0!==t.product.id){var c=_.cloneDeep(t);c.product.quantity=o,c.product.price=e.price_without_vat,c.product.category=e.category,t.isProductPage?p(c):m(c)}},a=function(t){var e=new CustomEvent("productDetails",{detail:{productIds:[t.product.id],pageType:"product",ecommerce:{currencyCode:t.currency,detail:{products:[t.product]}}}});document.getElementsByTagName("body")[0].dispatchEvent(e)},s=function(t){if(0===n&&c(".analytics-data").each(function(){var t=c.parseJSON(c(this).text());t.isProductPage||!t.isFirstProductConfigurator&&!t.isFirstProductCta||(n+=1)}),u.push(t.product),u.length>0&&u.length===n){var e=new CustomEvent("productImpression",{detail:{ecommerce:{currencyCode:t.currency,impressions:u}}});document.getElementsByTagName("body")[0].dispatchEvent(e)}},p=function(t){var e=new CustomEvent("addToCart",{detail:{ecommerce:{currencyCode:t.currency,add:{products:[t.product]}}}});document.getElementsByTagName("body")[0].dispatchEvent(e)},m=function(t){var e=new CustomEvent("addToCart",{detail:{ecommerce:{currencyCode:t.currency,add:{actionField:{list:"product-impression"},products:[t.product]}}}});document.getElementsByTagName("body")[0].dispatchEvent(e)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.