try{let e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`f6442c7b-2246-47bc-9e1d-6cd7217df17f`,e._sentryDebugIdIdentifier=`sentry-dbid-f6442c7b-2246-47bc-9e1d-6cd7217df17f`)}catch{}import{$m as e,Ag as t,Qh as n,Sp as r,Zm as i,_r as a,ng as o}from"./entry.client-mpghtlrl.js";var s=t(),c=o(),l=a(t=>{let n=(0,s.c)(4),{gamertagStatus:r}=t,{t:i}=e(`ChangeGamertagDialog`);if(!r?.hasEntitlement)return null;let a;n[0]===i?a=n[1]:(a=i(`Your first gamertag change is free`,{shortKey:`free_gamertag_change_notice`}),n[0]=i,n[1]=a);let o;return n[2]===a?o=n[3]:(o=(0,c.jsx)(`p`,{className:`text-center text-noninteractive-content-secondary-content type-caption`,children:a}),n[2]=a,n[3]=o),o},()=>{let{gamertag:e}=i(),{data:t}=n(e.queries.canUserChangeGamertagForFree.getActiveUserQuery().getOptions());return{gamertagStatus:t}});function u(){return r().history.back}export{l as n,u as t};