Module 633772

745 characters · in 73826867775ee5be.js
Dependencies
Required by (0)none
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(t,e,n){n.d(e,{default:()=>m});var i=n(627968),r=n(64700),l=n(284009),s=n.n(l),a=n(17928),u=n(287809),p=n(428262),o=n(885377),c=n(375708);class d extends r.Component{render(){let{user:t,transitionState:e,onClose:n}=this.props;return(0,i.jsx)(o.A,{transitionState:e,onClose:async()=>{await n(!1)},"aria-label":c.intl.string(c.t.BNg1ir),title:c.intl.string(c.t.BNg1ir),premiumModalType:o.A.Types.UPGRADE,primary:{onClick:()=>n(!0),label:c.intl.string(c.t.P3etAv)},children:p.Ay.isPremium(t)&&!p.Ay.canInstallPremiumApplications(t)?c.intl.string(c.t.mKA9OJ):c.intl.string(c.t.sqSlm4)})}}let m=a.Ay.connectStores([u.default],()=>{let t=u.default.getCurrentUser();return s()(null!=t,"PremiumRequiredModal: user cannot be null"),{user:t}})(d)}