module.exports=[309394,a=>{"use strict";var b=a.i(187924),c=a.i(572131),d=a.i(50944),e=a.i(972341),f=a.i(537562);a.s(["default",0,function({children:a}){let g=(0,d.usePathname)(),h=(0,d.useSearchParams)(),i=(0,f.useModalityStore)(a=>a.setLastPath),j=(0,f.useModalityStore)(a=>a.setModalityPath);return c.useEffect(()=>{if(!g||!g.startsWith("/playground/"))return;let a=h?.toString()??"",b=a?`${g}?${a}`:g;i(b);let c=(0,e.modalityFromPath)(g);c&&j(c.id,b)},[g,h,i,j]),(0,b.jsx)("div",{className:"flex h-full flex-col overflow-hidden",children:a})}])}];

//# sourceMappingURL=app_%28dashboard%29_playground_layout_tsx_0d5-gq6._.js.map