1import{p as a,ag as u,U as o,bd as x,n as g,bo as f,M as k,u as v,j as e,L as t,R as c,a7 as w}from"./index-BCQkXPyV.js";import{A as j}from"./activity-BmD-PT6B.js";import{H as d}from"./heart-handshake-x-QF8Jnx.js";import{S as M}from"./shopping-bag-_GftAq8F.js";import{C as N}from"./chart-column-DDODPP0i.js";import{M as S}from"./mail-BgUZ8-PP.js";import{D as C}from"./database-4q_QUedN.js";import{B as A}from"./bug-T5Am6QXn.js";/** 2 * @license lucide-react v0.453.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const P=a("ChartPie",[["path",{d:"M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z",key:"pzmjnu"}],["path",{d:"M21.21 15.89A10 10 0 1 1 8 2.83",key:"k2fpak"}]]);/** 7 * @license lucide-react v0.453.0 - ISC 8 * 9 * This source code is licensed under the ISC license. 10 * See the LICENSE file in the root directory of this source tree. 11 */const z=a("CircleDollarSign",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8",key:"1h4pet"}],["path",{d:"M12 18V6",key:"zqpxq5"}]]);/** 12 * @license lucide-react v0.453.0 - ISC 13 * 14 * This source code is licensed under the ISC license. 15 * See the LICENSE file in the root directory of this source tree. 16 */const T=a("Gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]);/** 17 * @license lucide-react v0.453.0 - ISC 18 * 19 * This source code is licensed under the ISC license. 20 * See the LICENSE file in the root directory of this source tree. 21 */const m=a("LayoutDashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);/** 22 * @license lucide-react v0.453.0 - ISC 23 * 24 * This source code is licensed under the ISC license. 25 * See the LICENSE file in the root directory of this source tree. 26 */const D=a("MailCheck",[["path",{d:"M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8",key:"12jkf8"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"m16 19 2 2 4-4",key:"1b14m6"}]]);/** 27 * @license lucide-react v0.453.0 - ISC 28 * 29 * This source code is licensed under the ISC license. 30 * See the LICENSE file in the root directory of this source tree. 31 */const H=a("MessageSquareWarning",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}],["path",{d:"M12 7v2",key:"stiyo7"}],["path",{d:"M12 13h.01",key:"y0uutt"}]]);/** 32 * @license lucide-react v0.453.0 - ISC 33 * 34 * This source code is licensed under the ISC license. 35 * See the LICENSE file in the root directory of this source tree. 36 */const L=a("PackageSearch",[["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}],["circle",{cx:"18.5",cy:"15.5",r:"2.5",key:"b5zd12"}],["path",{d:"M20.27 17.27 22 19",key:"1l4muz"}]]);/** 37 * @license lucide-react v0.453.0 - ISC 38 * 39 * This source code is licensed under the ISC license. 40 * See the LICENSE file in the root directory of this source tree. 41 */const R=a("Percent",[["line",{x1:"19",x2:"5",y1:"5",y2:"19",key:"1x9vlm"}],["circle",{cx:"6.5",cy:"6.5",r:"2.5",key:"4mh3h7"}],["circle",{cx:"17.5",cy:"17.5",r:"2.5",key:"1mdrzq"}]]);/** 42 * @license lucide-react v0.453.0 - ISC 43 * 44 * This source code is licensed under the ISC license. 45 * See the LICENSE file in the root directory of this source tree. 46 */const I=a("ReceiptText",[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M14 8H8",key:"1l3xfs"}],["path",{d:"M16 12H8",key:"1fr5h0"}],["path",{d:"M13 16H8",key:"wsln4y"}]]);/** 47 * @license lucide-react v0.453.0 - ISC 48 * 49 * This source code is licensed under the ISC license. 50 * See the LICENSE file in the root directory of this source tree. 51 */const l=a("TestTubeDiagonal",[["path",{d:"M21 7 6.82 21.18a2.83 2.83 0 0 1-3.99-.01a2.83 2.83 0 0 1 0-4L17 3",ke
51y:"1ub6xw"}],["path",{d:"m16 2 6 6",key:"1gw87d"}],["path",{d:"M12 16H4",key:"1cjfip"}]]);/** 52 * @license lucide-react v0.453.0 - ISC 53 * 54 * This source code is licensed under the ISC license. 55 * See the LICENSE file in the root directory of this source tree. 56 */const W=a("Video",[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]),p=[{label:"Billing & Revenue",items:[{label:"Current subscriptions",href:"/admin/billing/subscriptions",icon:u,description:"Current lifecycle status by platform"},{label:"Conversion & tier mix",href:"/admin/billing/conversions",icon:R,description:"Historical free-to-paid conversion and current tier mix"},{label:"Revenue & plan mix",href:"/admin/billing/revenue",icon:z,description:"Estimated recurring revenue and active plan mix"},{label:"Trials",href:"/admin/billing/trials",icon:l,description:"Trial performance and outcomes"},{label:"Payments",href:"/admin/billing/payments",icon:I,description:"Payment analytics and history"}]},{label:"Users & Audience",items:[{label:"User management",href:"/admin/users",icon:o,description:"Users, exports, details and grants"},{label:"Activity & engagement",href:"/admin/users/engagement",icon:j,description:"Engagement and usage analytics"},{label:"Audience narrative",href:"/admin/users/audience",icon:P,description:"Who Are Our Women narrative report"},{label:"Referrals & rewards",href:"/admin/users/referrals",icon:d,description:"Referral activity and rewards"}]},{label:"Content",items:[{label:"Meditations",href:"/admin/meditations",icon:W,description:"Meditation library management"},{label:"Shop",href:"/admin/shop",icon:M,description:"Shop management"},{label:"Partner products",href:"/admin/partner-products",icon:L,description:"Review partner submissions"},{label:"Community events",href:"/admin/community/events",icon:x,description:"Event management"}]},{label:"Moderation",items:[{label:"Feedback",href:"/admin/users/feedback",icon:H,description:"Feedback review and moderation"},{label:"Wellness partners",href:"/admin/wellness-partners",icon:d,description:"Partner applications and approvals"},{label:"Teen & community",href:"/admin/users/community-moderation",icon:o,description:"Post and reply moderation"}]},{label:"Email",items:[{label:"Email KPIs",href:"/admin/email-kpis",icon:N,description:"Email performance metrics"},{label:"Email subscribers",href:"/admin/email-subscribers",icon:D,description:"Subscriber management"},{label:"Sacred automation",href:"/admin/sacred-emails",icon:S,description:"Sacred email automation"}]},{label:"Analytics",items:[{label:"Womb Insight",href:"/admin/womb-insight-analytics",icon:g,description:"Womb Insight analytics"},{label:"Upgrade & Oracle funnels",href:"/admin/analytics/funnels",icon:T,description:"Durable upgrade-prompt and Oracle journey funnels"}]},{label:"System",items:[{label:"Database diagnostic",href:"/admin/system/database-diagnostic",icon:C,description:"Read-only environment comparison and email lookup",internal:!0},{label:"System errors",href:"/admin/users/errors",icon:A,description:"Runtime error tracking"},{label:"Test payment",href:"/admin/system/test-payment",icon:l,description:"Internal payment testing",internal:!0},{label:"Test subscription",href:"/admin/system/test-subscription",icon:l,description:"Internal subscription testing",internal:!0},{label:"Subscription debug",href:"/admin/system/subscription-debug",icon:f,description:"Internal subscription diagnostics",internal:!0},{label:"New Moon intention preview",href:"/admin/system/new-moon-intention-preview",icon:k,description:"Preview the intention modal without saving",internal:!0}]}];function h(s,n){return s===n}function E({children:s}){const[n]=v();return e.jsxs("div",{className:"min-h-screen bg-slate-50 text-slate-950",children:[e.jsxs("aside",{className:"fixed inset-y-0 left-0 z-50 w-20 overflow-y-auto border-r border-slate-200 bg-slate-950 text-white lg:w-72",children:[e.jsx("div",{className:"sticky top-0 z-10 border-b border-white/10 bg-slate-950 px-3 py-4 lg:px-5",children:e.jsxs(t,{href:"/admin",className:"flex items-center gap-3",children:[e.jsx("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-indigo-500",children:e.jsx(m,{className:"h-5 w-5"})}),e.jsxs("div",{className:"hidden min-w-0 lg:block",children:[e.jsx("p",{className:"truncate text-sm font-semibold",children:"WombWisdom"}),e.jsx("p",{className:"text-xs text-slate-400",children:"Admin Console"})]})]})}),e.jsxs("nav",{className:"space-y-5 px-2 py-4 lg:px-3","aria-label":"Admin navigation",children:[e.jsxs(t,{href:"/admin",className:c("flex items-center gap-3 rounded-lg px-3 py-2 text-sm transition-colors",h(n,"/admin")&&n==="/admin"?"bg-indigo-500 text-white":"text-slate-300 hover:bg-white/10 hover:text-white"),children:[e.jsx(m,{className:"h-5 w-5 shrink-0"}),e.jsx("span",{className:"hidden lg:inline",children:"Overview"})]}),p.map(r=>e.jsxs("section",{children:[e.jsx("p",{className:"mb-1 hidden px-3 text-[10px] font-semibold uppercase tracking-[0.18em] text-slate-500 lg:block",children:r.label}),e.jsx("div",{className:"space-y-1",children:r.items.map(i=>{const b=i.icon,y=h(n,i.href);return e.jsxs(t,{href:i.href,title:`${i.label}${i.internal?" â internal tool":""}`,className:c("group flex items-center gap-3 rounded-lg px-3 py-2 text-sm transition-colors",y?"bg-indigo-500 text-white":"text-slate-300 hover:bg-white/10 hover:text-white"),children:[e.jsx(b,{className:"h-5 w-5 shrink-0"}),e.jsx("span",{className:"hidden min-w-0 flex-1 truncate lg:inline",children:i.label}),i.internal&&e.jsx("span",{className:"hidden rounded bg-amber-400/20 px-1.5 py-0.5 text-[9px] font-semibold uppercase text-amber-200 lg:inline",children:"Internal"})]},i.href)})})]},r.label))]}),e.jsx("div",{className:"sticky bottom-0 border-t border-white/10 bg-slate-950 p-2 lg:p-3",children:e.jsxs(t,{href:"/",className:"flex items-center gap-3 rounded-lg px-3 py-2 text-sm text-slate-300 transition-colors hover:bg-white/10 hover:text-white",children:[e.jsx(w,{className:"h-5 w-5 shrink-0"}),e.jsx("span",{className:"hidden lg:inline",children:"Back to app"})]})})]}),e.jsx("main",{className:"min-h-screen pl-20 lg:pl-72",children:e.jsx("div",{className:"min-h-screen",children:s})})]})}const F=Object.freeze(Object.defineProperty({__proto__:null,AdminShell:E,adminNavGroups:p},Symbol.toStringTag,{value:"Module"}));
56export{F as A,m as L,p as a};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.