import{b as a}from"./browser-polyfill-d4985d13.js";const t=async t=>await a.runtime.sendMessage({action:"chatgptTranslation",text:t}),e=async()=>await a.runtime.sendMessage({action:"updateStr"}),s=async(t,e="zh-CHS")=>await a.runtime.sendMessage({action:"ydTranslate",text:t,to:e}),n=async t=>await a.runtime.sendMessage({action:"ydTranslateLLM",text:t}),r=async t=>{try{return await a.runtime.sendMessage({action:"updateBadge",status:t})}catch(e){console.error("updateBadge, error",e)}},i=async t=>await a.runtime.sendMessage({action:"shouldUpdate",time:t});export{n as a,t as c,e as p,i as s,r as u,s as y};
