const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ChooseYourGamertag-oxbf0tj4.js","assets/rolldown-runtime-nx40z1zs.js","assets/entry.client-mpghtlrl.js","assets/useLocation-gval357w.js","assets/xds-react-components-ihgca01z.js","assets/xds-icons-m106f2fc.js","assets/workspace-leaf-files-oergw4h0.js","assets/DialogShell-ga7ic6wy.js","assets/gamepad-nav-virtual-lh6mhh03.js","assets/responsive-toolkit-jup4yedr.js","assets/accelerators-mediz1dj.js","assets/navigation-stack-h7n8tudn.js","assets/DialogShellContext-grfsno45.js","assets/ChangeGamertagInput-gpneb2o3.js","assets/getChangeGamertagRouterEnvironmentHooks-e3geq7oh.js","assets/routes-oel6fm83.js","assets/ChangeGamertagLoader-gd80n69h.js","assets/ConfirmNewGamertag-msgsx3pk.js","assets/useChangeGamertagStrings-g1ircyol.js","assets/ChangeClassicGamertag-ftb020e2.js","assets/SuccessfulChangeGamertag-h4en9oj3.js","assets/ErrorChangeGamertag-gsulvmb3.js","assets/ErrorChangeGamertagContent-gliow57a.js"])))=>i.map(i=>d[i]);
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]=`87987eb9-405f-4837-8ad2-d4a2edc1974d`,e._sentryDebugIdIdentifier=`sentry-dbid-87987eb9-405f-4837-8ad2-d4a2edc1974d`)}catch{}import{o as e}from"./rolldown-runtime-nx40z1zs.js";import{Ag as t,Fr as n,Lh as r,Xi as i,hi as a,ng as o,op as s,pi as c,up as l}from"./entry.client-mpghtlrl.js";import{ft as u}from"./xds-react-components-ihgca01z.js";import{n as d}from"./DialogShell-ga7ic6wy.js";import{t as f}from"./ErrorChangeGamertagContent-gliow57a.js";import{t as p}from"./useChangeGamertagStrings-g1ircyol.js";var m=e(c(),1),h=t(),g=o(),_=()=>{let e=(0,h.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,g.jsx)(`div`,{className:`flex h-full w-full flex-col`,children:(0,g.jsx)(l,{})}),e[0]=t):t=e[0],t},v=!1;function y(){if(v)return;v=!0;let e=s.dialog.changeGamertag;e.home.update({component:i(()=>r(()=>import(`./ChooseYourGamertag-oxbf0tj4.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16])),`ChooseYourGamertag`)}),e.confirmNewGamertag.update({component:i(()=>r(()=>import(`./ConfirmNewGamertag-msgsx3pk.js`),__vite__mapDeps([17,1,2,3,4,5,6,7,8,9,10,11,12,18,14,15,16])),`ConfirmNewGamertag`)}),e.changeClassicGamertag.update({component:i(()=>r(()=>import(`./ChangeClassicGamertag-ftb020e2.js`),__vite__mapDeps([19,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15])),`ChangeClassicGamertag`)}),e.successfulChangeGamertag.update({component:i(()=>r(()=>import(`./SuccessfulChangeGamertag-h4en9oj3.js`),__vite__mapDeps([20,1,2,4,5,6,7,8,9,10,11,12,18,15])),`SuccessfulChangeGamertag`)}),e.errorChangeGamertag.update({component:i(()=>r(()=>import(`./ErrorChangeGamertag-gsulvmb3.js`),__vite__mapDeps([21,1,2,22,4,5,6,7,8,9,10,11,12])),`ErrorChangeGamertag`)})}y();var b=()=>{let e=(0,h.c)(18),{locChangeGamertagButtonLabel:t}=p(),r;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(r={edge:`bottom`,centered:!0},e[0]=r):r=e[0];let i=u(r),o;e[1]===i?o=e[2]:(o=n(i),e[1]=i,e[2]=o);let s=o,c;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(c={default:!0,SM_10:!1},e[3]=c):c=e[3];let{data:l}=a(c),v=l?s:void 0,y=d.useComponent(),b=f.useComponent(),x;e[4]===t?x=e[5]:(x=t(),e[4]=t,e[5]=x);let S=!l,C;e[6]!==S||e[7]!==l?(C=(0,m.default)(`modal-large flex flex-col bg-cover`,`border-container-backgrounds-elevation-border-level-4 bg-container-backgrounds-elevation-background-level-4 shadow-container-backgrounds-elevation-background-level-4`,`h-template-overlays-modal-size-large-height`,{"modal-floating":S,"modal-docked":l}),e[6]=S,e[7]=l,e[8]=C):C=e[8];let w;e[9]===b?w=e[10]:(w=()=>(0,g.jsx)(b,{}),e[9]=b,e[10]=w);let T;e[11]===Symbol.for(`react.memo_cache_sentinel`)?(T=(0,g.jsx)(_,{}),e[11]=T):T=e[11];let E;return e[12]!==y||e[13]!==x||e[14]!==C||e[15]!==v||e[16]!==w?(E=(0,g.jsx)(y,{accessibleTitle:x,className:C,positionStyle:v,errorFallbackComponent:w,children:T}),e[12]=y,e[13]=x,e[14]=C,e[15]=v,e[16]=w,e[17]=E):E=e[17],E};export{b as ChangeGamertagDialog,b as default};