import{n as i,dQ as c,dR as l,__tla as m}from"./index-b2b3c6c4.js";let t,_=Promise.all([(()=>{try{return m}catch{}})()]).then(async()=>{const{t:n}=i();t=function(r){if(r&&r instanceof Array&&r.length>0){const{wsCache:s}=c(),o=r,a="*:*:*";return!!s.get(l.USER).permissions.some(e=>a===e||o.includes(e))}return console.error(n("permission.hasPermission")),!1}});export{_ as __tla,t as c};
