Build 576754stable
Module 975571
1,050 characters · in no known chunkDependencies
Required by (147)
427495882387437397404495029263152709267244475061880019237593067932469533799462104731110496111185121002131882137728143547144835151080161319162097166247178315181094184264200700212737216599229683230540232122262797272244280041284778293758297102316254320490323073323148328857333369337371339891347135348559352043353428353904361597373627380035380700382573382935408346412314424045425663435954445002448701453314465558473145477156480900491145493336494886494921496920510830516607533094534148549384549404552691558393566566577593578434581921595746596034612479624937627261627669637141637706643460645905651009654041655045660110665095669801672957682174682455709779717959719366725363729398734195738266743461745299760941768088771566772167776971781121784578790417793325814278815846826161832910854378860603869362877833879100887909893605901930953932970018978171980406981714983060984516
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,t,n){"use strict";n.d(t,{A:()=>u,C:()=>l});var i=n(472501),r=n(773669),a=n(723702),s=n(652215);let l=`https://${s.XlF}`,o=`https://${s.hCb}`;function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l;return t+e}function c(){return r.default.locale.toLowerCase()}let u={getArticleURL:e=>d(`/hc/${c()}/articles/${e}`),getDevArticleURL:e=>d(`/hc/${c()}/articles/${e}`,o),getCreatorSupportArticleURL:e=>d(`/hc/${c()}/articles/${e}`,"https://creator-support.discord.com"),getTwitterURL:()=>(0,i.A)(s.Pq7.TWITTER),getCommunityURL:()=>d(`/hc/${c()}`),getSubmitRequestURL(e){let t=d(`/hc/${c()}/requests/new?platform=${encodeURIComponent((0,a.getPlatformName)())}`);return null!=e&&(t+=`&device_info=${encodeURIComponent(e)}`),t},getSearchURL(e){let t=encodeURIComponent(e);return d(`/hc/${c()}/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/${c()}/articles/${e}`,"https://support-apps.discord.com")}}