"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),n=require("./provider.js"),c=require("./index2.js"),o=require("react"),r=e=>{const t=e.target;t instanceof Element&&t.getAttribute("data-a")==="intr"&&n.eventBus.emit("interactions",{action:"tap",payload:{}})},s=()=>{const e=n.useStreamLayer();return o.useEffect(()=>(document==null||document.addEventListener("click",r),()=>{document==null||document.removeEventListener("click",r)}),[]),e?i.jsx(c.Q,{sdk:e}):null};exports.BetPackProvider=s;
