import{isProductionMode as e}from"../../../../shared/env.js";import{resolveBrowserHooksPath as i}from"./resolve-browser-hooks.js";async function c(){return{id:"Heap Analytics",requiredEntitlements:["analytics"],async processContent(o,{getConfig:t}){const n=(await t())?.analytics?.heap;!n?.appId||!e()&&!n.includeInDevelopment||o.addBrowserPlugin(i())}}}export{c as heapAnalyticsPlugin};
