Module 167630

760 characters · in e4c8a00dbfed8a70.js
Dependencies
Required by (2)
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(l,s,e){e.d(s,{A:()=>p});var t=e(627968),n=e(64700),a=e(834730),r=e(939249),i=e(435328),c=e(427080),u=e(515115),d=e(988794),h=e(375708),o=e(800791);function p(l){let{guildScheduledEvent:s,channel:e,onClose:p}=l,m=s.entity_type===d.Ps.EXTERNAL,x=n.useCallback(l=>(0,c.GI)(s,p)(l),[s,p]),k=(0,u.L)(s,e);if(null==k)return null;let{IconComponent:C,locationName:N}=k,j=(0,t.jsxs)(t.Fragment,{children:[null!=C&&(0,t.jsx)(C,{size:"custom",color:"currentColor",width:20,height:20,className:o.p,"aria-label":h.intl.string(h.t.gwSn4I)}),(0,t.jsx)(a.E,{color:"text-default",variant:"text-sm/normal",className:o.fN,children:(0,i.l)(N,!0)})]});return(0,t.jsx)("div",{className:o.nM,children:null!=x?(0,t.jsx)(r.D,{className:m?o.dC:o.h7,onClick:x,children:j}):j})}}