"use strict";exports.id=17738,exports.ids=[17738],exports.modules={17738:(a,b,c)=>{c.r(b),c.d(b,{default:()=>i});var d=c(48249),e=c(67484),f=c(19099),g=c(53425);c(49149);var h=c(23557);function i({params:a}){let b=(0,f.useRouter)(),c=(0,e.use)(a);c?.id;let[i,j]=(0,e.useState)(null),[k,l]=(0,e.useState)(!0),m=()=>{(0,h.yK)("/admin/packages",b)};return k?(0,d.jsx)("div",{className:"min-h-[40vh] animate-pulse rounded-xl bg-slate-100"}):i?(0,d.jsx)(g.Z,{mode:"edit",initialPackage:i,onCancel:m,onSuccess:m}):null}c(91115)}};