Module 691012

367 characters · in a80d37708d4c0fdf.js
Dependencies
Lazily required by (0)none
Requires (2)
Lazily requires (0)none
Source Raw
function(e,t,l){l.d(t,{A:()=>s});var n=l(776231),r=l(652215);function s(e,t){if(null==e.image)return null;null==t&&(t=window.screen.width*(0,n.mZ)()),t=(0,n.kr)(t);let l=window.GLOBAL_ENV.CDN_HOST;return(null!=l?`https://${l}/guild-events/${e.id}/${e.image}`:location.protocol+window.GLOBAL_ENV.API_ENDPOINT+r.Rsh.GUILD_EVENT_IMAGE(e.id,e.image,"png"))+`?size=${t}`}}