import{a as p,S as r,l,m,d as u,j as _,G as d,H as b}from"./app-CzxRjCVM.js";/*! 2FAuth version 5.4.3 - Copyright (c) 2024 Bubka - https://github.com/Bubka/2FAuth */const y=["aria-label","title"],C={__name:"CopyButton",props:{token:String},setup(e){const s=p(),{copy:n}=r({legacy:!0}),c=e;function a(){n(c.token),s.success({text:b("commons.copied_to_clipboard")})}return(o,t)=>{const i=l("FontAwesomeIcon");return m(),u("button",{type:"button","aria-label":o.$t("commons.copy_to_clipboard"),title:o.$t("commons.copy_to_clipboard"),class:"button is-like-text is-pulled-right is-small is-text",onClick:t[0]||(t[0]=d(f=>a(),["stop"]))},[_(i,{icon:["fas","copy"]})],8,y)}}};export{C as _}; //# sourceMappingURL=CopyButton-B9az3SKR.js.map