Build 533169stable
Module 975571
1,058 characters · in no known chunkDependencies
Required by (239)
427460597564908695881242418125215742300323874258332771530925404494664765010880019016691534930679533796304106922108722111549116011128620130946135668143547151080152568152815158352158583159495161319162097166247169982170159175284177440181094186433188072189024200700207336218252218359224394229673232122242694263747278115284778288531297102300131303682308748323073347103348559351104353428354062355205365044378831380035380083382935387022401539404035404285406245409463412314423418427562443064445002445343446347446929447675448701459587459793460641464028468831473145474411480900489683491145493781499623504842512706516607518491522861523104534217539548541956545167549404552691558393558416564752565057566566570763577117595164596034603738606865612479614164614203627261636184637141637706643460645905654041656591658446659195659203660110667285673726682829683589688716692150692440692453696616699256700974714510730986737045739929743461743831745299748112754513758246758378758400758601760941761437763845766569767379768088774780776971781121784578784630786033789074790417802085807396813156814278814340816863818660821891824189825244831806841937842319843401843472854378856220864450865678875264878163879100887324890687890904895288898642900491901125901133901794906547907190908379915516916768921925924699927378929400930238933137938396939006939665953689957295961883964395965033965252969756976966980406981228984516988921989556994288998548
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,t,n){"use strict";n.d(t,{A:()=>f,C:()=>o});var r=n(472501),i=n(773669),s=n(723702),a=n(652215);let o=`https://${a.XlF}`,l=`https://${a.hCb}`,u="https://creator-support.discord.com",c="https://support-apps.discord.com";function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;return t+e}function _(){return i.default.locale.toLowerCase()}let f={getArticleURL:e=>d(`/hc/${_()}/articles/${e}`),getDevArticleURL:e=>d(`/hc/${_()}/articles/${e}`,l),getCreatorSupportArticleURL:e=>d(`/hc/${_()}/articles/${e}`,u),getTwitterURL:()=>(0,r.A)(a.Pq7.TWITTER),getCommunityURL:()=>d(`/hc/${_()}`),getSubmitRequestURL(e){let t=d(`/hc/${_()}/requests/new?platform=${encodeURIComponent((0,s.getPlatformName)())}`);return null!=e&&(t+=`&device_info=${encodeURIComponent(e)}`),t},getSearchURL(e){let t=encodeURIComponent(e);return d(`/hc/${_()}/search?utf8=%E2%9C%93&query=${t}&commit=Search`)},getFeaturedArticlesJsonURL:()=>d("/api/v2/help_center/en-us/articles.json?label_names=featured"),getAppsSupportURL:e=>d(`/hc/${_()}/articles/${e}`,c)}}