Module 567305

528 characters · in e026439060991313.js
Dependencies
Lazily required by (0)none
Requires (3)
Lazily requires (0)none
Source Raw
function(e,t,i){i.d(t,{TG:()=>c,_Y:()=>h,hA:()=>r});var l=i(702841),a=i(71393),n=i(652215);let s=[n.GuildFeatures.ROLE_SUBSCRIPTIONS_ENABLED,n.GuildFeatures.CREATOR_MONETIZABLE,n.GuildFeatures.CREATOR_MONETIZABLE_PROVISIONAL];function r(e){return null!=e&&s.some(t=>e.features.has(t))}function c(e){let t=a.A.getGuild(e);return t?.features.has(n.GuildFeatures.ROLE_SUBSCRIPTIONS_ENABLED)??!1}function h(e){return(0,l.bG)([a.A],()=>{let t=a.A.getGuild(e);return t?.features.has(n.GuildFeatures.ROLE_SUBSCRIPTIONS_ENABLED)??!1})}}