"use strict";(self.webpackChunkmattermost_webapp=self.webpackChunkmattermost_webapp||[]).push([[5808],{25808(e,a,t){t.r(a),t.d(a,{default:()=>u});var n=t(37270),l=t(14776),o=t(7430),m=t(79751),r=t(36418),s=t(67277),c=t(11053),i=t(81444);const p={openModal:m.q},u=(0,n.connect)(function(e){const a=(0,l.H7)(e),t=(0,o.HW)(e);return{username:t?.username,teamDisplayName:a?.display_name??""}},p)(function(e){return e.username?r.createElement("div",{className:"mobileSidebarHeader"},r.createElement("h1",null,e.teamDisplayName),r.createElement("div",{className:"mobileSidebarHeader__username"},r.createElement("span",null,"@"+e.username),r.createElement(s.A,{showTooltip:!1,emojiStyle:{verticalAlign:"top"},onClick:function(a){a.stopPropagation();const t={modalId:i.IQ.CUSTOM_STATUS,dialogType:c.A};e.openModal(t)}}))):null})}}]);
//# sourceMappingURL=5808.6f63ab53463187f05d59.js.map