import{aI as i,ao as a,aQ as m,L as u,at as d,a_ as g,av as w}from"./app-k0jcl5PQ.js";import{C as h}from"./Bj7bJt_4.chunk.js";const c="cv-persisttest",y={hasLocalStorage:()=>{try{return window.localStorage.setItem(c,"cv-player-storage-test"),window.localStorage.removeItem(c),!0}catch{return!1}},get:e=>window.localStorage.getItem(e),set:(e,t)=>{window.localStorage.setItem(e,t)},remove:e=>{window.localStorage.removeItem(e)}},S="_hide_i94hz_1",C="_show_i94hz_4",r={hide:S,show:C},v="shared.copyContentIconButton",l=u.encloseNamespace(v);function I(e){const[t,s]=i.useState(!1);return i.useEffect(()=>{if(!t)return;const o=window.setTimeout(()=>{s(!1)},1e3);return()=>window.clearTimeout(o)},[t]),a.jsx(m,{title:l(t?"copied":"copy"),spanHack:!0,spanHackClassName:e.tooltipClassName||"",children:a.jsx(d,{"aria-label":"Copy to clipboard",className:e.visible?r.show:r.hide,onClick:o=>{o.stopPropagation(),navigator.clipboard.writeText(e.copyableContent).then(()=>{var n;s(!0),(n=e.onClick)==null||n.call(e)})},children:a.jsx(g,{svg:h,size:e.iconSize||w.Small})})})}export{I as C,y as L};
//# sourceMappingURL=ZlF_2kui.chunk.js.map
