import{r as n,f as i,W as u,c as r,o as s,a as l,b as _,w as m,h as p,T as f}from"./index-CmCGXBst.js";import{_ as v}from"./_plugin-vue_export-helper-DlAUqK2U.js";const w=["src"],x={key:0,class:"protection-code__loader-wrapper"},g={__name:"ProtectionCode",setup(h){const o=n(!1),t=n(null);function a(){t.value=Math.floor(Math.random()*8999+1e3)}function c(){o.value=!0,a(),setTimeout(()=>{o.value=!1},1e3)}const d=i(()=>`${u}/Protect?Rand=${t.value}`);return a(),(C,e)=>(s(),r("div",{class:"tw-relative tw-cursor-pointer tw-rounded tw-overflow-hidden tw-w-[80px] tw-h-[30px]",onClick:e[0]||(e[0]=V=>c())},[l("img",{src:d.value},null,8,w),_(f,{name:"fade",mode:"out-in"},{default:m(()=>[o.value?(s(),r("div",x,e[1]||(e[1]=[l("div",{class:"protection-code__loader"},null,-1)]))):p("",!0)]),_:1})]))}},T=v(g,[["__scopeId","data-v-ae4a9920"]]);export{T as _};
