1import"#entry";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="2a09ff52-e8d6-4d6f-a11b-d4f1f0d8e68b",t._sentryDebugIdIdentifier="sentry-dbid-2a09ff52-e8d6-4d6f-a11b-d4f1f0d8e68b")}catch{}})();const a=()=>typeof window<"u",u=()=>{if(!a())return!1;try{const t=window.__ahConsent;return!!(t?.analytics||t?.ads)}catch{return!1}},c=t=>{if(a()&&u())try{window.dataLayer=window.dataLayer||[],window.dataLayer.push(t)}catch{}},m=t=>{if(!a())return;if(u()){try{window.dataLayer=window.dataLayer||[],window.dataLayer.push(t)}catch{}return}const n=()=>{if(window.removeEventListener("consent:updated",n),!!u())try{window.dataLayer=window.dataLayer||[],window.dataLayer.push(t)}catch{}};try{window.addEventListener("consent:updated",n,{once:!0})}catch{}},o="gtm:atc:session-any",y=()=>{if(!a())return!1;try{return sessionStorage.getItem(o)==="1"}catch{return!1}},f=()=>{if(a())try{sessionStorage.setItem(o,"1")}catch{}},l=()=>{const t=(e,r={})=>{c({event:e,...r})},n=e=>{c({event:"view_item",ecommerce:{currency:e.currency||"EUR",value:Number(e.price||0),items:[{item_id:String(e.product_id),item_name:e.product_name||"",price:Number(e.price||0),quantity:1}]}})},d=e=>{m({event:"view_item",ecommerce:{currency:e.currency||"EUR",value:Number(e.price||0),items:[{item_id:String(e.product_id),item_name:e.product_name||"",price:Number(e.price||0),quantity:1}]}})},s=e=>{const r=e.quantity||1,i=Number(e.price||0);c({event:"add_to_cart",ecommerce:{currency:e.currency||"EUR",value:i*r,items:[{item_id:String(e.product_id),item_name:e.product_name||"",price:i,quantity:r}]}})};return{push:t,pushViewItem:n,pushViewItemDeferred:d,pushAddToCart:s,pushAddToCartOnce:e=>{e?.product_id&&(y()||(f(),s(e)))},pushBeginCheckout:e=>{const r={currency:e.currency||"EUR",value:Number(e.value||0),items:(e.items||[]).map(i=>({item_id:String(i.product_id),item_name:i.product_name||"",price:Number(i.price||0),quantity:i.quantity||1}))};e.shipping!==void 0&&e.shipping!==null&&(r.shipping=Number(e.shipping||0)),c({event:"begin_checkout",ecommerce:r})},pushPurchase:e=>{c({ecommerce:null}),c({event:"purchase",ecommerce:{transaction_id:e.transaction_id,value:Number(e.value||0),currency:e.currency||"EUR",coupon:e.coupon||void 0,items:(e.items||[]).map(r=>({item_id:String(r.product_id),item_name:r.product_name||"",price:Number(r.price||0),quantity:r.quantity||1}))}})}}};export{l as u};
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.