This commit is contained in:
Your Name
2026-07-02 14:47:53 +08:00
parent e538dd03a1
commit 3ea3c97c42
828 changed files with 2347 additions and 2340 deletions
@@ -0,0 +1 @@
import{C as s}from"./clipboard-CHgxszqY.js";const a=i=>({toClipboard(r,n){return new Promise((d,c)=>{const o=document.createElement("button"),e=new s(o,{text:()=>r,action:()=>"copy",container:n!==void 0?n:document.body});e.on("success",t=>{e.destroy(),d(t)}),e.on("error",t=>{e.destroy(),c(t)}),document.body.appendChild(o),o.click(),document.body.removeChild(o)})}});export{a as u};