{"version":3,"file":"analytics.B_qkVe9U.js","sources":["../../../src/lib/analytics.ts"],"sourcesContent":["import { getBreakpoint } from './utils'\n\ninterface Heap {\n track: (event: string, properties?: Object) => void\n identify: (identity: string) => void\n resetIdentity: () => void\n addUserProperties: (properties: Object) => void\n addEventProperties: (properties: Object) => void\n removeEventProperty: (property: string) => void\n clearEventProperties: () => void\n appid: string\n userId: string\n identity: string | null\n config: any\n}\n\ndeclare global {\n interface Window {\n dataLayer: any[]\n heap: Heap\n }\n}\n\nconst setupClickTracking = () => {\n document.addEventListener('click', (event) => {\n const target = event.target as HTMLElement\n\n // Check if the clicked element is an or