Files
klz-cables.com/.pnpm-store/v10/files/9b/988bc642e7bfa78e8c409f34639cf8b2e4944889f0efde9f85498279c8000d2bb7ba7b6a65fcd98a18642ed5d63d5d9c91b276c0548c521fcd17382b1b3b1a
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

1 line
856 B
Plaintext

{"version":3,"file":"getOffsetTop.js","names":["getOffsetTop","element","el","distance","offsetParent","offsetTop"],"sources":["../../src/utilities/getOffsetTop.ts"],"sourcesContent":["export const getOffsetTop = (element: HTMLElement): number => {\n let el = element\n // Set our distance placeholder\n let distance = 0\n\n // Loop up the DOM\n if (el.offsetParent) {\n do {\n distance += el.offsetTop\n el = el.offsetParent as HTMLElement\n } while (el)\n }\n\n // Return our distance\n return distance < 0 ? 0 : distance\n}\n"],"mappings":"AAAA,OAAO,MAAMA,YAAA,GAAgBC,OAAA;EAC3B,IAAIC,EAAA,GAAKD,OAAA;EACT;EACA,IAAIE,QAAA,GAAW;EAEf;EACA,IAAID,EAAA,CAAGE,YAAY,EAAE;IACnB,GAAG;MACDD,QAAA,IAAYD,EAAA,CAAGG,SAAS;MACxBH,EAAA,GAAKA,EAAA,CAAGE,YAAY;IACtB,SAASF,EAAA;EACX;EAEA;EACA,OAAOC,QAAA,GAAW,IAAI,IAAIA,QAAA;AAC5B","ignoreList":[]}