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