import{j as o}from"./p-DKrliuRO.js";import{h as l}from"./p-CTyRvZ3_.js";const r=o=>({low:{label:"ต่ำ",color:"bg-blue-400"},medium:{label:"กลาง",color:"bg-yellow-400"},high:{label:"สูง",color:"bg-red-400"}}[o]),e=r=>{const e=l(r),a=o.get(e),s="zwiz"===r.type?r.bot_id:"",b=a?.userProfile.business_users.find((o=>o.business_id===s));return b};export{r as a,e as g}