Build 589089stable
Module 916603
707 characters · in a1d3b0fd507f9252.jsDependencies
Source Raw
function(t,_,E){E.d(_,{F:()=>i,G:()=>I});var c=E(228366),r=E(562465),R=E(913122),T=E(652215);async function e(t,_){try{return(await r.Bo.get({url:T.Rsh.PRICE_TIERS,query:{price_tier_type:_,guild_id:t},rejectWithError:!1})).body}catch(t){throw new R.LG(t)}}async function i(t,_){c.h.dispatch({type:"CREATOR_MONETIZATION_PRICE_TIERS_FETCH",guildId:t,priceTierType:_});try{let E=await e(t,_);c.h.dispatch({type:"CREATOR_MONETIZATION_PRICE_TIERS_FETCH_SUCCESS",guildId:t,priceTierType:_,priceTiers:E})}catch(E){c.h.dispatch({type:"CREATOR_MONETIZATION_PRICE_TIERS_FETCH_FAILURE",guildId:t,priceTierType:_})}}function I(t){c.h.dispatch({type:"CREATOR_MONETIZATION_SET_HAS_SEEN_ONBOARDING_FOR_GUILD",guildId:t})}}