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]=`1d034fa3-66f5-401f-bab0-c7d86ad7d333`,e._sentryDebugIdIdentifier=`sentry-dbid-1d034fa3-66f5-401f-bab0-c7d86ad7d333`)}catch{}import{o as e}from"./rolldown-runtime-nx40z1zs.js";import{Ag as t,Hm as n,ng as r,op as i,pi as a,ui as o,yt as s}from"./entry.client-mpghtlrl.js";import{t as c}from"./withLogicalMotion-dbrcj2vj.js";import{r as l}from"./DialogShell-ga7ic6wy.js";var u=t(),d=e(a(),1),f=s(`-mx-template-overlays-guide-padding-external-right-&-left px-template-overlays-guide-padding-external-right-&-left h-full w-full xsl-10:max-w-[635px]`,`sm-20:(w-template-overlays-guide-container-size-browser-width fixed fp-x start-safe-offset-internal-container-padding-borderless-regular)`),p=(0,d.default)(`flex flex-col-reverse xsl-10:flex-row sm-20:flex-col`,`gap-internal-container-padding-borderless-regular`,`pt-safe-offset-template-overlays-guide-padding-external-top pb-safe-offset-template-overlays-guide-padding-external-bottom`,`h-full`),m=r(),h=e=>{let t=(0,u.c)(11),{children:r}=e,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(a=c(o),t[0]=a):a=t[0];let s=a,{locGuide:d}=n(),h;t[1]===d?h=t[2]:(h=d(),t[1]=d,t[2]=h);let g,_,v;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(g={transform:`translate(-400px)`,opacity:0},_={transform:`translate(0px)`,opacity:1},v={transform:`translate(-400px)`,opacity:0},t[3]=g,t[4]=_,t[5]=v):(g=t[3],_=t[4],v=t[5]);let y;t[6]===r?y=t[7]:(y=(0,m.jsx)(s,{className:p,initial:g,animate:_,exit:v,children:r}),t[6]=r,t[7]=y);let b;return t[8]!==h||t[9]!==y?(b=(0,m.jsx)(l,{routerKey:i.dialog.guide.fullPath,accessibleTitle:h,className:f,children:y}),t[8]=h,t[9]=y,t[10]=b):b=t[10],b};export{h as GuideDialogWrapper};