Module 168917

697 characters · in 33645dc6ae61c139.js
Dependencies
Required by (1)
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,t,n){n.d(t,{A:()=>x});var i=n(627968),s=n(311907),l=n(397927),r=n(757036),a=n(128450),o=n(180020),d=n(84540),c=n(576705),u=n(652215),m=n(788868),g=n(985018),_=n(376294);function x(e){let{errors:t,pendingNick:n,currentNick:x,username:h,user:A,guild:p}=e,T=(0,s.bG)([c.A],()=>c.A.can(u.xBc.CHANGE_NICKNAME,p)||c.A.can(u.xBc.MANAGE_NICKNAMES,p)),f=(0,r.L)(m.PremiumTypes.TIER_2);return(0,i.jsxs)(a.A,{title:g.intl.string(g.t.me1lRk),errors:t,children:[(0,i.jsx)(l.ksK,{value:n??x??"",placeholder:h,maxLength:u.d0r,onChange:function(e){(0,d.p)({guildId:p.id,nickname:e})},disabled:!T,helperText:T?void 0:g.intl.string(g.t.gzjxQi)}),f&&(0,i.jsx)(o.A,{user:A,guildId:p.id,className:_.F})]})}}