Loading
function(e,r,t){t.d(r,{GF:()=>c,Yw:()=>o,gG:()=>p}),t(508300),t(393431),t(532706),t(42231),t(232424),t(949626),t(767709),t(65162);var n=t(281445);let o=1,a=/^[0-9]+$/,i=new Set(Object.values(n.X));function l(e){return null==e||"string"==typeof e}function c(e){try{var r,t;let n=e.replace(/-/g,"+").replace(/_/g,"/"),o=n.padEnd(4*Math.ceil(n.length/4),"="),c=atob(o),p=Uint8Array.from(c,e=>e.charCodeAt(0)),s=new TextDecoder().decode(p),u=JSON.parse(s);if(!("string"==typeof u.name&&"string"==typeof u.game_id&&l(u.plan_name)&&l(u.image_url)&&l(u.region_name)&&l(u.ip)&&l(u.port)&&(null==(r=u.sku_id)||""===r||"string"==typeof r&&a.test(r))&&(null==(t=u.provider)||"string"==typeof t&&i.has(t))))return null;return u}catch{return null}}function p(e){return`${location.protocol}//${location.host}/game-servers/share/${function(e){let r=JSON.stringify(e),t=new TextEncoder().encode(r),n="";for(let e of t)n+=String.fromCharCode(e);return btoa(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}(e)}`}}