function e(e,r){const o=null==r?void 0:r.code;switch(o){case"0002":return{message:e("join.network_error"),code:o};case"0014":return{message:e("string"==typeof(null==r?void 0:r.message)&&r.message.includes("firewall")?"join.media_firewall_error":"join.media_error"),code:o};default:return{message:e("join.default_error"),code:o}}}export{e as g}