const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ChooseYourGamertag-l5cmdm69.js","assets/rolldown-runtime-eb2nym32.js","assets/entry.client-dr7r6s9a.js","assets/DialogShell-k2jpaw9r.js","assets/gamepad-nav-virtual-cvbizm2x.js","assets/xds-react-components-lks62tbl.js","assets/workspace-leaf-files-mc5sghv7.js","assets/xds-icons-d7khcnpi.js","assets/AcceleratorCanvas-11vakef6.js","assets/stream-gate-hooks-fa9kj8pw.js","assets/useCommonAccelerator-gnlmbc7n.js","assets/useAButtonHandler-ftqyzpyw.js","assets/useYButtonHandler-fu1lospy.js","assets/navigation-stack-m5o0zkpw.js","assets/responsive-toolkit-nc72eouk.js","assets/useLocation-fu2554ly.js","assets/ChangeGamertagInput-nruk26ee.js","assets/getChangeGamertagRouterEnvironmentHooks-e2ysxgj6.js","assets/ChangeGamertagLoader-g0frxxf0.js","assets/routes-bxal063z.js","assets/ConfirmNewGamertag-csvljkcy.js","assets/useChangeGamertagStrings-ks3jik87.js","assets/ChangeClassicGamertag-n9i5p40f.js","assets/SuccessfulChangeGamertag-dtn1t9xy.js","assets/ErrorChangeGamertag-nbvigfyo.js","assets/ErrorChangeGamertagContent-lnv0mwl1.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]=`27c76b40-1458-483f-8993-1c9274d9d65a`,e._sentryDebugIdIdentifier=`sentry-dbid-27c76b40-1458-483f-8993-1c9274d9d65a`)}catch{}import{o as e}from"./rolldown-runtime-eb2nym32.js";import{rt as t}from"./xds-react-components-lks62tbl.js";import{Ag as n,Dn as r,Fg as i,Jh as a,Up as o,cr as s,or as c,wr as l,zp as u}from"./entry.client-dr7r6s9a.js";import{n as d}from"./DialogShell-k2jpaw9r.js";import{t as f}from"./ErrorChangeGamertagContent-lnv0mwl1.js";import{t as p}from"./useChangeGamertagStrings-ks3jik87.js";var m=e(c(),1),h=i(),g=n(),_=()=>{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)(o,{})}),e[0]=t):t=e[0],t},v=!1;function y(){if(v)return;v=!0;let e=u.dialog.changeGamertag;e.home.update({component:l(()=>a(()=>import(`./ChooseYourGamertag-l5cmdm69.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19])),`ChooseYourGamertag`)}),e.confirmNewGamertag.update({component:l(()=>a(()=>import(`./ConfirmNewGamertag-csvljkcy.js`),__vite__mapDeps([20,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,17,18,19,21])),`ConfirmNewGamertag`)}),e.changeClassicGamertag.update({component:l(()=>a(()=>import(`./ChangeClassicGamertag-n9i5p40f.js`),__vite__mapDeps([22,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19])),`ChangeClassicGamertag`)}),e.successfulChangeGamertag.update({component:l(()=>a(()=>import(`./SuccessfulChangeGamertag-dtn1t9xy.js`),__vite__mapDeps([23,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,21])),`SuccessfulChangeGamertag`)}),e.errorChangeGamertag.update({component:l(()=>a(()=>import(`./ErrorChangeGamertag-nbvigfyo.js`),__vite__mapDeps([24,1,2,25,3,4,5,6,7,8,9,10,11,12,13,14])),`ErrorChangeGamertag`)})}y();var b=()=>{let e=(0,h.c)(18),{locChangeGamertagButtonLabel:n}=p(),i;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={edge:`bottom`,centered:!0},e[0]=i):i=e[0];let a=t(i),o;e[1]===a?o=e[2]:(o=r(a),e[1]=a,e[2]=o);let c=o,l;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(l={default:!0,SM_10:!1},e[3]=l):l=e[3];let{data:u}=s(l),v=u?c:void 0,y=d.useComponent(),b=f.useComponent(),x;e[4]===n?x=e[5]:(x=n(),e[4]=n,e[5]=x);let S=!u,C;e[6]!==S||e[7]!==u?(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":u}),e[6]=S,e[7]=u,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};