PageSourceSearch

https://shop.asmonaco.com/cdn/shopifycloud/checkout-web/assets/c1/ImpressionEventCapture.CIEEzh6Z.js

js asmonaco.com collected 2026-09-24 08:45:49 UTC 1,506 bytes, 1 lines download raw bytes

1import{A as u,h as l,u as C}from"./esnext-vendor.D7ldIee_.js";import{bG as y}from"./hydrate.ByRIsqvd.js";function d(e){return!(!e||e.type!=="customOnsite")}function g(e,t,r){return!!(d(e)||(r?.paymentMethod==="IDEAL"||r?.paymentMethod==="CUSTOM_ONSITE"&&"paymentBrands"in r&&r.paymentBrands?.some(n=>n.toLowerCase()==="ideal"))&&t?.some(v)||r?.paymentMethod==="CUSTOM_ONSITE"&&"paymentBrands"in r&&t?.some(n=>I(n,r.paymentBrands??[])))}function v(e){return e.type==="local"?e.name==="IDEAL":e.type!=="customOnsite"?!1:(e.paymentBrands?.map(r=>r.toLowerCase())??[]).includes("ideal")}function I(e,t){if(e.type!=="customOnsite")return!1;const r=t.map(s=>s.toLowerCase());if(r.length===0)return!1;const n=e.paymentBrands?.map(s=>s.toLowerCase())??[];return r.length===n.length&&r.every(s=>n.includes(s))}function O({impressionType:e,impressionFeatures:t,enabled:r=!0}){const n=y(),s=u(null),i=u(!1),f=u({impressionType:e,impressionFeatures:t});return f.current={impressionType:e,impressionFeatures:t},l(()=>{if(!r||i.current||!window.IntersectionObserver)return;const o=new IntersectionObserver(p=>{const m=p.some(({isIntersecting:c})=>c);a&&m&&(o.unobserve(a),i.current=!0,n("impression",{...f.current,timestamp:new Date}))},{threshold:1}),a=s.current;return a&&o.observe(a),()=>{a&&o.unobserve(a)}},[n,r]),s}function E({impressionType:e,impressionFeatures:t,enabled:r,children:n}){const s=O({impressionType:e,impressionFeatures:t,enabled:r});return C("div",{ref:s,children:n})}export{E as I,d as i,g as s};

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.