import{t as e}from"./pipeline-DsXR-75Q.js";chrome.runtime.onMessage.addListener((t,n,r)=>t.type===`SCRAPE_PAGE`?(e(document,window.location.href).then(e=>{r({ok:!0,data:e})}).catch(e=>{r({ok:!1,error:e instanceof Error?e.message:`页面抓取失败`})}),!0):!1);