/* empty css                   */import{h as s}from"./elementPlus.CqHltQSO.js";function i(o){const e=document.createElement("textarea");e.value=o,e.style.position="fixed",e.style.opacity="0",document.body.appendChild(e),e.select();try{document.execCommand("copy")?s.info({dangerouslyUseHTMLString:!0,message:`<div class="flex items-center">
                    <div class="font-medium text-ellipsis line-clamp-1" style="color: #1D2129; max-width: 300px">${e.value}</div>
                    <div class="ml-2">已复制至剪切板</div>
                  </div>`,plain:!0,icon:"DocumentCopy"}):s.error({message:"复制失败，请手动复制！",plain:!0})}catch(t){s.error({message:"复制失败，请重试！",plain:!0}),console.error("复制失败：",t)}document.body.removeChild(e)}export{i as h};
