{"version":3,"file":"lassoIntercept.js","names":[],"sources":["jsx/interaction/lassoIntercept.js"],"sourcesContent":["function installLassoIntercept(options) {\n  const { ancestor, onIntercept } = options;\n  let active = true;\n  const handler = (event) => {\n    event.stopPropagation();\n    onIntercept?.(event);\n  };\n  ancestor.addEventListener(\"touchmove\", handler, { capture: true, passive: false });\n  return {\n    release() {\n      if (!active) return;\n      active = false;\n      ancestor.removeEventListener(\"touchmove\", handler, { capture: true });\n    },\n    get active() {\n      return active;\n    }\n  };\n}\nexport {\n  installLassoIntercept\n};\n//# sourceMappingURL=lassoIntercept.js.map\n"],"mappings":";AAAA,SAAS,sBAAsB,SAAS;CACtC,MAAM,EAAE,UAAU,gBAAgB;CAClC,IAAI,SAAS;CACb,MAAM,WAAW,UAAU;EACzB,MAAM,gBAAgB;EACtB,cAAc,KAAK;CACrB;CACA,SAAS,iBAAiB,aAAa,SAAS;EAAE,SAAS;EAAM,SAAS;CAAM,CAAC;CACjF,OAAO;EACL,UAAU;GACR,IAAI,CAAC,QAAQ;GACb,SAAS;GACT,SAAS,oBAAoB,aAAa,SAAS,EAAE,SAAS,KAAK,CAAC;EACtE;EACA,IAAI,SAAS;GACX,OAAO;EACT;CACF;AACF"}