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]=`bba7bab1-eb5f-425a-bb61-836b5ab9fb7f`,e._sentryDebugIdIdentifier=`sentry-dbid-bba7bab1-eb5f-425a-bb61-836b5ab9fb7f`)}catch{}import{Ag as e,Dg as t,Fg as n,Qp as r,dn as i,lh as a,sh as o}from"./entry.client-dr7r6s9a.js";var s=n(),c=e(),l=i(e=>{let t=(0,s.c)(4),{gamertagStatus:n}=e,{t:r}=a(`ChangeGamertagDialog`);if(!n?.hasEntitlement)return null;let i;t[0]===r?i=t[1]:(i=r(`Your first gamertag change is free`,{shortKey:`free_gamertag_change_notice`}),t[0]=r,t[1]=i);let o;return t[2]===i?o=t[3]:(o=(0,c.jsx)(`p`,{className:`text-center text-noninteractive-content-secondary-content type-caption`,children:i}),t[2]=i,t[3]=o),o},()=>{let{gamertag:e}=o(),{data:n}=t(e.queries.canUserChangeGamertagForFree.getActiveUserQuery().getOptions());return{gamertagStatus:n}});function u(){return r().history.back}export{l as n,u as t};