import{M as t}from"./index-BQhUrQ6p.js";function c(e){return new Promise(r=>{try{navigator.clipboard&&navigator.clipboard.writeText(e).then(()=>(t.success("复制成功"),r(!0))).catch(()=>{})}catch(o){console.error("复制失败:",o),r(!1)}})}export{c};
