import{d as J,I as $,r as f,G as w,A as z,o as a,c as d,b as t,a as s,u as e,e as l,w as _,M as I,N as j,H as c,h as P,R as V,f as h,a1 as O}from"../../../../common/index.DXvi0yH9.js";import{C as m}from"../../../../common/crown.Cl0_N8Ry.js";import{U as u}from"../../../../common/users.DqW98SDr.js";import{H as b,E as Z}from"../../../../common/heart.BMBCYctQ.js";import{P as K,T as Q}from"../../../../common/target.ocqXn8ll.js";import{S as y,M as X}from"../../../../common/share-2.BE3RfDus.js";import{S as k}from"../../../../common/shopping-cart.DtUP8_d3.js";import{c as C}from"../../../../common/createLucideIcon.D3XWtEmL.js";import{S as Y}from"../../../../common/sparkles.WrMKOEbV.js";import{Z as tt}from"../../../../common/zap.B7u3IeH7.js";import{T as et}from"../../../../common/trending-up.B3CW55Gy.js";import{S as st,A as wt}from"../../../../common/star.B94Yr17e.js";import{p as it,x as lt,I as ot,y as T,m as rt}from"../../../../common/tabs.Ddypml2y.js";import"../../../../common/keyboard.D4P2wQc7.js";import"../../../../common/use-resolve-button-type.Cleihsk7.js";import"../../../../common/micro-task.CxIZtCgj.js";/**
 * @license lucide-vue-next v0.544.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const B=C("circle-dollar-sign",[["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"}]]);/**
 * @license lucide-vue-next v0.544.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const at=C("gift",[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]]);/**
 * @license lucide-vue-next v0.544.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ct=C("medal",[["path",{d:"M7.21 15 2.66 7.14a2 2 0 0 1 .13-2.2L4.4 2.8A2 2 0 0 1 6 2h12a2 2 0 0 1 1.6.8l1.6 2.14a2 2 0 0 1 .14 2.2L16.79 15",key:"143lza"}],["path",{d:"M11 12 5.12 2.2",key:"qhuxz6"}],["path",{d:"m13 12 5.88-9.8",key:"hbye0f"}],["path",{d:"M8 7h8",key:"i86dvs"}],["circle",{cx:"12",cy:"17",r:"5",key:"qbz8iq"}],["path",{d:"M12 18v-2h-.5",key:"fawc4q"}]]);/**
 * @license lucide-vue-next v0.544.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const nt=C("user-check",[["path",{d:"m16 11 2 2 4-4",key:"9rsbq5"}],["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]),dt={class:"stwlite-tw-space-y-6"},_t={class:"stwlite-tw-bg-gradient-to-r stwlite-tw-from-cyan-50 stwlite-tw-to-blue-50 stwlite-tw-rounded-lg stwlite-tw-p-6 stwlite-tw-border stwlite-tw-border-cyan-100"},mt={class:"stwlite-tw-flex stwlite-tw-items-start stwlite-tw-justify-between"},pt={class:"stwlite-tw-text-2xl stwlite-tw-font-bold stwlite-tw-text-gray-900 stwlite-tw-mb-2"},ht={class:"stwlite-tw-text-gray-600 stwlite-tw-max-w-3xl"},ut={class:"stwlite-tw-bg-white stwlite-tw-rounded-lg stwlite-tw-shadow-sm stwlite-tw-p-3 stwlite-tw-border stwlite-tw-border-cyan-200"},gt={class:"stwlite-tw-grid stwlite-tw-grid-cols-1 md:stwlite-tw-grid-cols-2 lg:stwlite-tw-grid-cols-3 stwlite-tw-gap-6"},xt={class:"stwlite-tw-bg-white stwlite-tw-rounded-lg stwlite-tw-shadow-sm stwlite-tw-border-2 stwlite-tw-border-cyan-200 stwlite-tw-p-6"},vt={class:"stwlite-tw-flex stwlite-tw-items-center stwlite-tw-justify-between"},ft={class:"stwlite-tw-text-sm stwlite-tw-text-gray-600 stwlite-tw-mb-1"},bt={class:"stwlite-tw-text-4xl stwlite-tw-font-bold stwlite-tw-text-cyan-600"},yt={class:"stwlite-tw-bg-cyan-100 stwlite-tw-rounded-full stwlite-tw-p-3"},kt={class:"stwlite-tw-bg-white stwlite-tw-rounded-lg stwlite-tw-shadow-sm stwlite-tw-border stwlite-tw-border-gray-200 stwlite-tw-p-6"},Ct={class:"stwlite-tw-flex stwlite-tw-items-center stwlite-tw-justify-between"},St={class:"stwlite-tw-text-sm stwlite-tw-text-gray-600 stwlite-tw-mb-1"},It={class:"stwlite-tw-text-3xl stwlite-tw-font-bold stwlite-tw-text-gray-900"},jt={class:"stwlite-tw-bg-purple-100 stwlite-tw-rounded-full stwlite-tw-p-3"},Pt={class:"stwlite-tw-bg-white stwlite-tw-rounded-lg stwlite-tw-shadow-sm stwlite-tw-border stwlite-tw-border-gray-200 stwlite-tw-p-6"},Vt={class:"stwlite-tw-flex stwlite-tw-items-center stwlite-tw-justify-between"},At={class:"stwlite-tw-text-sm stwlite-tw-text-gray-600 stwlite-tw-mb-1"},Mt={class:"stwlite-tw-text-3xl stwlite-tw-font-bold stwlite-tw-text-gray-900"},zt={class:"stwlite-tw-bg-blue-100 stwlite-tw-rounded-full stwlite-tw-p-3"},Tt={class:"stwlite-tw-bg-white stwlite-tw-rounded-lg stwlite-tw-shadow-sm stwlite-tw-border stwlite-tw-border-gray-200 stwlite-tw-p-6"},Bt={class:"stwlite-tw-flex stwlite-tw-items-center stwlite-tw-justify-between"},Rt={class:"stwlite-tw-text-sm stwlite-tw-text-gray-600 stwlite-tw-mb-1"},Wt={class:"stwlite-tw-text-3xl stwlite-tw-font-bold stwlite-tw-text-gray-900"},Ut={class:"stwlite-tw-bg-green-100 stwlite-tw-rounded-full stwlite-tw-p-3"},qt={class:"stwlite-tw-bg-white stwlite-tw-rounded-lg stwlite-tw-shadow-sm stwlite-tw-border stwlite-tw-border-gray-200 stwlite-tw-p-6"},Lt={class:"stwlite-tw-flex stwlite-tw-items-center stwlite-tw-justify-between"},Ht={class:"stwlite-tw-text-sm stwlite-tw-text-gray-600 stwlite-tw-mb-1"},Dt={class:"stwlite-tw-text-3xl stwlite-tw-font-bold stwlite-tw-text-gray-900"},Et={class:"stwlite-tw-bg-orange-100 stwlite-tw-rounded-full stwlite-tw-p-3"},Ft={class:"stwlite-tw-bg-white stwlite-tw-rounded-lg stwlite-tw-shadow-sm stwlite-tw-border stwlite-tw-border-gray-200 stwlite-tw-p-6"},Nt={class:"stwlite-tw-flex stwlite-tw-items-center stwlite-tw-justify-between"},Gt={class:"stwlite-tw-text-sm stwlite-tw-text-gray-600 stwlite-tw-mb-1"},Jt={class:"stwlite-tw-text-3xl stwlite-tw-font-bold stwlite-tw-text-gray-900"},$t={class:"stwlite-tw-bg-pink-100 stwlite-tw-rounded-full stwlite-tw-p-3"},Ot={class:"stwlite-tw-bg-white stwlite-tw-rounded-lg stwlite-tw-shadow-sm stwlite-tw-border stwlite-tw-border-gray-200 stwlite-tw-overflow-hidden"},Zt={class:"stwlite-tw-px-6 stwlite-tw-py-4 stwlite-tw-bg-gradient-to-r stwlite-tw-from-purple-50 stwlite-tw-to-pink-50 stwlite-tw-border-b stwlite-tw-border-gray-200"},Kt={class:"stwlite-tw-flex stwlite-tw-items-center stwlite-tw-justify-between"},Qt={class:"stwlite-tw-flex stwlite-tw-items-center stwlite-tw-space-x-2"},Xt={class:"stwlite-tw-text-lg stwlite-tw-font-semibold stwlite-tw-text-gray-900 stwlite-tw-p-0 stwlite-tw-m-0"},Yt={class:"stwlite-tw-text-sm stwlite-tw-text-gray-600"},te={class:"stwlite-tw-overflow-x-auto"},ee={class:"stwlite-tw-min-w-full stwlite-tw-divide-y stwlite-tw-divide-gray-200"},se={class:"stwlite-tw-bg-gray-50"},we={class:"stwlite-tw-px-6 stwlite-tw-py-3 stwlite-tw-text-left stwlite-tw-text-xs stwlite-tw-font-medium stwlite-tw-text-gray-500 stwlite-tw-uppercase stwlite-tw-tracking-wider"},ie={class:"stwlite-tw-px-6 stwlite-tw-py-3 stwlite-tw-text-left stwlite-tw-text-xs stwlite-tw-font-medium stwlite-tw-text-gray-500 stwlite-tw-uppercase stwlite-tw-tracking-wider"},le={class:"stwlite-tw-px-6 stwlite-tw-py-3 stwlite-tw-text-left stwlite-tw-text-xs stwlite-tw-font-medium stwlite-tw-text-gray-500 stwlite-tw-uppercase stwlite-tw-tracking-wider"},oe={class:"stwlite-tw-px-6 stwlite-tw-py-3 stwlite-tw-text-left stwlite-tw-text-xs stwlite-tw-font-medium stwlite-tw-text-gray-500 stwlite-tw-uppercase stwlite-tw-tracking-wider"},re={class:"stwlite-tw-px-6 stwlite-tw-py-3 stwlite-tw-text-left stwlite-tw-text-xs stwlite-tw-font-medium stwlite-tw-text-gray-500 stwlite-tw-uppercase stwlite-tw-tracking-wider"},ae={class:"stwlite-tw-px-6 stwlite-tw-py-3 stwlite-tw-text-left stwlite-tw-text-xs stwlite-tw-font-medium stwlite-tw-text-gray-500 stwlite-tw-uppercase stwlite-tw-tracking-wider"},ce={class:"stwlite-tw-px-6 stwlite-tw-py-3 stwlite-tw-text-left stwlite-tw-text-xs stwlite-tw-font-medium stwlite-tw-text-gray-500 stwlite-tw-uppercase stwlite-tw-tracking-wider"},ne={class:"stwlite-tw-px-6 stwlite-tw-py-3 stwlite-tw-text-left stwlite-tw-text-xs stwlite-tw-font-medium stwlite-tw-text-gray-500 stwlite-tw-uppercase stwlite-tw-tracking-wider"},de={class:"stwlite-tw-px-6 stwlite-tw-py-3 stwlite-tw-text-right stwlite-tw-text-xs stwlite-tw-font-medium stwlite-tw-text-gray-500 stwlite-tw-uppercase stwlite-tw-tracking-wider"},_e={class:"stwlite-tw-bg-white stwlite-tw-divide-y stwlite-tw-divide-gray-200"},me={class:"stwlite-tw-px-6 stwlite-tw-py-4 stwlite-tw-whitespace-nowrap"},pe={class:"stwlite-tw-flex stwlite-tw-items-center"},he={class:"stwlite-tw-px-6 stwlite-tw-py-4 stwlite-tw-whitespace-nowrap"},ue={class:"stwlite-tw-flex stwlite-tw-items-center"},ge=["src","alt"],xe={class:"stwlite-tw-ml-3"},ve={class:"stwlite-tw-text-sm stwlite-tw-font-medium stwlite-tw-text-gray-900"},fe={class:"stwlite-tw-text-xs stwlite-tw-text-gray-500"},be={class:"stwlite-tw-px-6 stwlite-tw-py-4 stwlite-tw-whitespace-nowrap"},ye={class:"stwlite-tw-flex stwlite-tw-items-center"},ke={class:"stwlite-tw-text-sm stwlite-tw-font-bold stwlite-tw-text-gray-900"},Ce={class:"stwlite-tw-px-6 stwlite-tw-py-4 stwlite-tw-whitespace-nowrap"},Se={class:"stwlite-tw-text-sm stwlite-tw-font-medium stwlite-tw-text-gray-900"},Ie={class:"stwlite-tw-px-6 stwlite-tw-py-4 stwlite-tw-whitespace-nowrap"},je={class:"stwlite-tw-flex stwlite-tw-items-center"},Pe={class:"stwlite-tw-text-sm stwlite-tw-font-semibold stwlite-tw-text-green-600"},Ve={class:"stwlite-tw-px-6 stwlite-tw-py-4 stwlite-tw-whitespace-nowrap"},Ae={class:"stwlite-tw-flex stwlite-tw-items-center"},Me={class:"stwlite-tw-text-sm stwlite-tw-font-medium stwlite-tw-text-gray-900"},ze={class:"stwlite-tw-px-6 stwlite-tw-py-4 stwlite-tw-whitespace-nowrap"},Te={class:"stwlite-tw-text-sm stwlite-tw-font-bold stwlite-tw-text-gray-900"},Be={class:"stwlite-tw-px-6 stwlite-tw-py-4 stwlite-tw-whitespace-nowrap"},Re={class:"stwlite-tw-px-6 stwlite-tw-py-4 stwlite-tw-whitespace-nowrap stwlite-tw-text-right"},We={class:"stwlite-tw-px-6 stwlite-tw-py-4 stwlite-tw-bg-gradient-to-r stwlite-tw-from-purple-50 stwlite-tw-to-pink-50 stwlite-tw-border-t stwlite-tw-border-purple-100"},Ue={class:"stwlite-tw-text-sm stwlite-tw-font-semibold stwlite-tw-text-purple-900 stwlite-tw-mb-3 stwlite-tw-flex stwlite-tw-items-center"},qe={class:"stwlite-tw-grid stwlite-tw-grid-cols-1 md:stwlite-tw-grid-cols-3 stwlite-tw-gap-4"},Le={class:"stwlite-tw-bg-white stwlite-tw-rounded-lg stwlite-tw-p-4 stwlite-tw-border stwlite-tw-border-purple-200"},He={class:"stwlite-tw-flex stwlite-tw-items-center stwlite-tw-justify-between stwlite-tw-mb-2"},De={class:"stwlite-tw-text-2xl stwlite-tw-font-bold stwlite-tw-text-purple-600"},Ee={class:"stwlite-tw-text-sm stwlite-tw-font-medium stwlite-tw-text-gray-900"},Fe={class:"stwlite-tw-text-xs stwlite-tw-text-gray-600 stwlite-tw-mt-1"},Ne={class:"stwlite-tw-bg-white stwlite-tw-rounded-lg stwlite-tw-p-4 stwlite-tw-border stwlite-tw-border-green-200"},Ge={class:"stwlite-tw-flex stwlite-tw-items-center stwlite-tw-justify-between stwlite-tw-mb-2"},Je={class:"stwlite-tw-text-2xl stwlite-tw-font-bold stwlite-tw-text-green-600"},$e={class:"stwlite-tw-text-sm stwlite-tw-font-medium stwlite-tw-text-gray-900"},Oe={class:"stwlite-tw-text-xs stwlite-tw-text-gray-600 stwlite-tw-mt-1"},Ze={class:"stwlite-tw-bg-white stwlite-tw-rounded-lg stwlite-tw-p-4 stwlite-tw-border stwlite-tw-border-blue-200"},Ke={class:"stwlite-tw-flex stwlite-tw-items-center stwlite-tw-justify-between stwlite-tw-mb-2"},Qe={class:"stwlite-tw-text-2xl stwlite-tw-font-bold stwlite-tw-text-blue-600"},Xe={class:"stwlite-tw-text-sm stwlite-tw-font-medium stwlite-tw-text-gray-900"},Ye={class:"stwlite-tw-text-xs stwlite-tw-text-gray-600 stwlite-tw-mt-1"},ts={class:"stwlite-tw-bg-white stwlite-tw-rounded-lg stwlite-tw-shadow-sm stwlite-tw-border stwlite-tw-border-gray-200 stwlite-tw-overflow-hidden"},es={class:"stwlite-tw-px-6 stwlite-tw-py-4 stwlite-tw-bg-gradient-to-r stwlite-tw-from-blue-50 stwlite-tw-to-indigo-50 stwlite-tw-border-b stwlite-tw-border-gray-200"},ss={class:"stwlite-tw-flex stwlite-tw-items-center stwlite-tw-justify-between"},ws={class:"stwlite-tw-flex stwlite-tw-items-center stwlite-tw-space-x-2"},is={class:"stwlite-tw-text-lg stwlite-tw-font-semibold stwlite-tw-text-gray-900 stwlite-tw-p-0 stwlite-tw-m-0"},ls={class:"stwlite-tw-text-sm stwlite-tw-text-gray-600"},os={class:"stwlite-tw-p-6"},rs={class:"stwlite-tw-grid stwlite-tw-grid-cols-1 md:stwlite-tw-grid-cols-2 stwlite-tw-gap-6 stwlite-tw-mb-6"},as={class:"stwlite-tw-flex stwlite-tw-items-start stwlite-tw-justify-between stwlite-tw-mb-4"},cs={class:"stwlite-tw-text-right"},ns={class:"stwlite-tw-text-3xl stwlite-tw-font-bold stwlite-tw-text-gray-900"},ds={class:"stwlite-tw-text-xs stwlite-tw-text-gray-500"},_s={class:"stwlite-tw-text-lg stwlite-tw-font-bold stwlite-tw-text-gray-900 stwlite-tw-mb-2"},ms={class:"stwlite-tw-space-y-2"},ps={class:"stwlite-tw-flex stwlite-tw-items-center stwlite-tw-justify-between stwlite-tw-text-sm"},hs={class:"stwlite-tw-text-gray-600"},us={class:"stwlite-tw-font-semibold stwlite-tw-text-gray-900"},gs={class:"stwlite-tw-flex stwlite-tw-items-center stwlite-tw-justify-between stwlite-tw-text-sm"},xs={class:"stwlite-tw-text-gray-600"},vs={class:"stwlite-tw-font-bold stwlite-tw-text-gray-900"},fs={class:"stwlite-tw-mt-4 stwlite-tw-w-full stwlite-tw-bg-gray-200 stwlite-tw-rounded-full stwlite-tw-h-2 stwlite-tw-overflow-hidden"},bs={class:"stwlite-tw-bg-gradient-to-r stwlite-tw-from-blue-50 stwlite-tw-to-indigo-50 stwlite-tw-rounded-lg stwlite-tw-p-6 stwlite-tw-border stwlite-tw-border-blue-100"},ys={class:"stwlite-tw-text-sm stwlite-tw-font-semibold stwlite-tw-text-blue-900 stwlite-tw-mb-4 stwlite-tw-flex stwlite-tw-items-center"},ks={class:"stwlite-tw-grid stwlite-tw-grid-cols-1 md:stwlite-tw-grid-cols-2 stwlite-tw-gap-4"},Cs={class:"stwlite-tw-bg-white stwlite-tw-rounded-lg stwlite-tw-p-4 stwlite-tw-border stwlite-tw-border-purple-200"},Ss={class:"stwlite-tw-flex stwlite-tw-items-start stwlite-tw-space-x-3"},Is={class:"stwlite-tw-text-sm stwlite-tw-font-bold stwlite-tw-text-purple-900"},js={class:"stwlite-tw-text-xs stwlite-tw-text-gray-600 stwlite-tw-mt-1"},Ps={class:"stwlite-tw-bg-white stwlite-tw-rounded-lg stwlite-tw-p-4 stwlite-tw-border stwlite-tw-border-green-200"},Vs={class:"stwlite-tw-flex stwlite-tw-items-start stwlite-tw-space-x-3"},As={class:"stwlite-tw-text-sm stwlite-tw-font-bold stwlite-tw-text-green-900"},Ms={class:"stwlite-tw-text-xs stwlite-tw-text-gray-600 stwlite-tw-mt-1"},zs={class:"stwlite-tw-bg-white stwlite-tw-rounded-lg stwlite-tw-p-4 stwlite-tw-border stwlite-tw-border-yellow-200"},Ts={class:"stwlite-tw-flex stwlite-tw-items-start stwlite-tw-space-x-3"},Bs={class:"stwlite-tw-text-sm stwlite-tw-font-bold stwlite-tw-text-yellow-900"},Rs={class:"stwlite-tw-text-xs stwlite-tw-text-gray-600 stwlite-tw-mt-1"},Ws={class:"stwlite-tw-bg-white stwlite-tw-rounded-lg stwlite-tw-p-4 stwlite-tw-border stwlite-tw-border-gray-200"},Us={class:"stwlite-tw-flex stwlite-tw-items-start stwlite-tw-space-x-3"},qs={class:"stwlite-tw-text-sm stwlite-tw-font-bold stwlite-tw-text-gray-900"},Ls={class:"stwlite-tw-text-xs stwlite-tw-text-gray-600 stwlite-tw-mt-1"},Hs={class:"stwlite-tw-bg-white stwlite-tw-rounded-lg stwlite-tw-shadow-sm stwlite-tw-border stwlite-tw-border-gray-200 stwlite-tw-p-6"},Ds={class:"stwlite-tw-text-lg stwlite-tw-font-semibold stwlite-tw-text-gray-900 stwlite-tw-mb-4 stwlite-tw-flex stwlite-tw-items-center"},Es={class:"stwlite-tw-grid stwlite-tw-grid-cols-1 md:stwlite-tw-grid-cols-3 stwlite-tw-gap-4"},Fs={class:"stwlite-tw-flex stwlite-tw-items-start stwlite-tw-space-x-3 stwlite-tw-p-4 stwlite-tw-bg-purple-50 stwlite-tw-rounded-lg stwlite-tw-border stwlite-tw-border-purple-100"},Ns={class:"stwlite-tw-text-sm stwlite-tw-font-medium stwlite-tw-text-gray-900"},Gs={class:"stwlite-tw-text-xs stwlite-tw-text-gray-600 stwlite-tw-mt-1"},Js={class:"stwlite-tw-flex stwlite-tw-items-start stwlite-tw-space-x-3 stwlite-tw-p-4 stwlite-tw-bg-green-50 stwlite-tw-rounded-lg stwlite-tw-border stwlite-tw-border-green-100"},$s={class:"stwlite-tw-text-sm stwlite-tw-font-medium stwlite-tw-text-gray-900"},Os={class:"stwlite-tw-text-xs stwlite-tw-text-gray-600 stwlite-tw-mt-1"},Zs={class:"stwlite-tw-flex stwlite-tw-items-start stwlite-tw-space-x-3 stwlite-tw-p-4 stwlite-tw-bg-blue-50 stwlite-tw-rounded-lg stwlite-tw-border stwlite-tw-border-blue-100"},Ks={class:"stwlite-tw-text-sm stwlite-tw-font-medium stwlite-tw-text-gray-900"},Qs={class:"stwlite-tw-text-xs stwlite-tw-text-gray-600 stwlite-tw-mt-1"},hw=J({__name:"CustomerBehavior",emits:["upgrade-click"],setup(Xs,{emit:R}){var M;const W=R,p=((M=$)==null?void 0:M.wcPlaceholderImg)||"",n=f({total_active_customers:1250,avg_wishlist_per_customer:2.3,avg_items_per_wishlist:8.5,share_rate:18.5,purchase_rate:32.5,avg_customer_value:245.8}),g=f([{id:1,name:"John Doe",email:"john@example.com",avatar:p,wishlist_count:12,total_items:45,purchased_items:28,shared_count:8,total_spent:1250,vip_status:"platinum",customer_url:"#"},{id:2,name:"Jane Smith",email:"jane@example.com",avatar:p,wishlist_count:10,total_items:38,purchased_items:22,shared_count:6,total_spent:980.5,vip_status:"gold",customer_url:"#"},{id:3,name:"Bob Johnson",email:"bob@example.com",avatar:p,wishlist_count:8,total_items:32,purchased_items:18,shared_count:5,total_spent:750.25,vip_status:"silver",customer_url:"#"},{id:4,name:"Alice Williams",email:"alice@example.com",avatar:p,wishlist_count:7,total_items:28,purchased_items:15,shared_count:4,total_spent:620,vip_status:"bronze",customer_url:"#"},{id:5,name:"Charlie Brown",email:"charlie@example.com",avatar:p,wishlist_count:6,total_items:25,purchased_items:12,shared_count:3,total_spent:485.75,vip_status:"bronze",customer_url:"#"}]),U=f([{name:w("vip_customers",wp.i18n.__("VIP Customers","saveto-wishlist-lite-for-woocommerce")),count:125,percentage:10,avg_value:850.5,color:"purple"},{name:w("active_buyers",wp.i18n.__("Active Buyers","saveto-wishlist-lite-for-woocommerce")),count:450,percentage:36,avg_value:320.25,color:"green"},{name:w("window_shoppers",wp.i18n.__("Window Shoppers","saveto-wishlist-lite-for-woocommerce")),count:525,percentage:42,avg_value:95.5,color:"yellow"},{name:w("inactive_users",wp.i18n.__("Inactive Users","saveto-wishlist-lite-for-woocommerce")),count:150,percentage:12,avg_value:45,color:"gray"}]),q=[{name:w("top_wishlisters",wp.i18n.__("Top Wishlisters","saveto-wishlist-lite-for-woocommerce")),icon:m},{name:w("customer_segments",wp.i18n.__("Customer Segments","saveto-wishlist-lite-for-woocommerce")),icon:u}],L=f(0),A=o=>o>=1e3?(o/1e3).toFixed(1)+"k":o.toString(),x=o=>"$".concat(o.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})),H=o=>{switch(o){case"platinum":return"stwlite-tw-bg-gradient-to-r stwlite-tw-from-purple-500 stwlite-tw-to-pink-500 stwlite-tw-text-white";case"gold":return"stwlite-tw-bg-gradient-to-r stwlite-tw-from-yellow-400 stwlite-tw-to-yellow-500 stwlite-tw-text-gray-900";case"silver":return"stwlite-tw-bg-gradient-to-r stwlite-tw-from-gray-300 stwlite-tw-to-gray-400 stwlite-tw-text-gray-900";case"bronze":return"stwlite-tw-bg-gradient-to-r stwlite-tw-from-orange-400 stwlite-tw-to-orange-500 stwlite-tw-text-white";default:return"stwlite-tw-bg-gray-100 stwlite-tw-text-gray-600"}},D=o=>{switch(o){case"platinum":return m;case"gold":return wt;case"silver":return ct;case"bronze":return st;default:return nt}},E=o=>{switch(o){case"purple":return m;case"green":return k;case"yellow":return b;default:return u}},F=z(()=>g.value.filter(o=>["platinum","gold"].includes(o.vip_status))),N=z(()=>g.value.reduce((o,v)=>o+v.total_spent,0)),S=()=>{W("upgrade-click")};return(o,v)=>(a(),d("div",dt,[t("div",_t,[t("div",mt,[t("div",null,[t("h2",pt,s(e(w)("customer_behavior_title",e(wp.i18n.__)("Customer Behavior","saveto-wishlist-lite-for-woocommerce"))),1),t("p",ht,s(e(w)("customer_behavior_subtitle",e(wp.i18n.__)("Understand customer patterns and behavior.","saveto-wishlist-lite-for-woocommerce"))),1)]),t("div",ut,[l(e(u),{class:"stwlite-tw-w-8 stwlite-tw-h-8 stwlite-tw-text-cyan-600"})])])]),t("div",gt,[t("div",xt,[t("div",vt,[t("div",null,[t("p",ft,s(e(w)("active_customers",e(wp.i18n.__)("Active Customers","saveto-wishlist-lite-for-woocommerce"))),1),t("p",bt,s(A(n.value.total_active_customers)),1)]),t("div",yt,[l(e(u),{class:"stwlite-tw-w-8 stwlite-tw-h-8 stwlite-tw-text-cyan-600"})])])]),t("div",kt,[t("div",Ct,[t("div",null,[t("p",St,s(e(w)("avg_wishlist_per_customer",e(wp.i18n.__)("Avg. Wishlists / Customer","saveto-wishlist-lite-for-woocommerce"))),1),t("p",It,s(n.value.avg_wishlist_per_customer),1)]),t("div",jt,[l(e(b),{class:"stwlite-tw-w-8 stwlite-tw-h-8 stwlite-tw-text-purple-600"})])])]),t("div",Pt,[t("div",Vt,[t("div",null,[t("p",At,s(e(w)("avg_items_per_wishlist",e(wp.i18n.__)("Avg. Items / Wishlist","saveto-wishlist-lite-for-woocommerce"))),1),t("p",Mt,s(n.value.avg_items_per_wishlist),1)]),t("div",zt,[l(e(K),{class:"stwlite-tw-w-8 stwlite-tw-h-8 stwlite-tw-text-blue-600"})])])]),t("div",Tt,[t("div",Bt,[t("div",null,[t("p",Rt,s(e(w)("share_rate",e(wp.i18n.__)("Share Rate","saveto-wishlist-lite-for-woocommerce"))),1),t("p",Wt,s(n.value.share_rate)+"%",1)]),t("div",Ut,[l(e(y),{class:"stwlite-tw-w-8 stwlite-tw-h-8 stwlite-tw-text-green-600"})])])]),t("div",qt,[t("div",Lt,[t("div",null,[t("p",Ht,s(e(w)("purchase_rate",e(wp.i18n.__)("Purchase Rate","saveto-wishlist-lite-for-woocommerce"))),1),t("p",Dt,s(n.value.purchase_rate)+"%",1)]),t("div",Et,[l(e(k),{class:"stwlite-tw-w-8 stwlite-tw-h-8 stwlite-tw-text-orange-600"})])])]),t("div",Ft,[t("div",Nt,[t("div",null,[t("p",Gt,s(e(w)("avg_customer_value",e(wp.i18n.__)("Avg. Customer Value","saveto-wishlist-lite-for-woocommerce"))),1),t("p",Jt,s(x(n.value.avg_customer_value)),1)]),t("div",$t,[l(e(B),{class:"stwlite-tw-w-8 stwlite-tw-h-8 stwlite-tw-text-pink-600"})])])])]),l(e(rt),{onChange:v[0]||(v[0]=i=>{L.value=i,S()})},{default:_(()=>[l(e(it),{class:"stwlite-tw-flex stwlite-tw-space-x-4"},{default:_(()=>[(a(),d(I,null,j(q,(i,r)=>l(e(lt),{key:r,class:"stwlite-tw-w-full stwlite-tw-cursor-pointer stwlite-tw-border-none stwlite-tw-outline-none stwlite-tw-bg-transparent stwlite-tw-p-0 stwlite-tw-m-0"},{default:_(({selected:G})=>[t("div",{onClick:S,class:c(["stwlite-tw-flex stwlite-tw-items-center stwlite-tw-justify-center stwlite-tw-space-x-2 stwlite-tw-py-3 stwlite-tw-px-4 stwlite-tw-rounded-md stwlite-tw-text-sm stwlite-tw-font-medium stwlite-tw-transition-all stwlite-tw-duration-200 stwlite-tw-border-2 stwlite-tw-border-solid stwlite-tw-border-cyan-600 focus:stwlite-tw-outline-none stwlite-tw-cursor-pointer",G?"stwlite-tw-bg-cyan-600 stwlite-tw-text-white stwlite-tw-shadow-sm":"stwlite-tw-text-gray-600 hover:stwlite-tw-text-gray-900 hover:stwlite-tw-bg-gray-50"])},[(a(),P(V(i.icon),{class:"stwlite-tw-w-5 stwlite-tw-h-5"})),t("span",null,s(i.name),1)],2)]),_:2},1024)),64))]),_:1}),l(e(ot),null,{default:_(()=>[l(e(T),null,{default:_(()=>[t("div",Ot,[t("div",Zt,[t("div",Kt,[t("div",Qt,[l(e(m),{class:"stwlite-tw-w-5 stwlite-tw-h-5 stwlite-tw-text-purple-600"}),t("h3",Xt,s(e(w)("top_wishlisters_title",e(wp.i18n.__)("Top Wishlisters - VIP Candidates","saveto-wishlist-lite-for-woocommerce"))),1)]),t("span",Yt,s(e(w)("high_value_customers",e(wp.i18n.__)("High-value customers for loyalty programs","saveto-wishlist-lite-for-woocommerce"))),1)])]),t("div",te,[t("table",ee,[t("thead",se,[t("tr",null,[t("th",we,s(e(w)("column_rank",e(wp.i18n.__)("Rank","saveto-wishlist-lite-for-woocommerce"))),1),t("th",ie,s(e(w)("column_customer",e(wp.i18n.__)("Customer","saveto-wishlist-lite-for-woocommerce"))),1),t("th",le,s(e(w)("column_wishlists",e(wp.i18n.__)("Wishlists","saveto-wishlist-lite-for-woocommerce"))),1),t("th",oe,s(e(w)("column_total_items",e(wp.i18n.__)("Total Items","saveto-wishlist-lite-for-woocommerce"))),1),t("th",re,s(e(w)("column_purchased",e(wp.i18n.__)("Purchased","saveto-wishlist-lite-for-woocommerce"))),1),t("th",ae,s(e(w)("column_shared",e(wp.i18n.__)("Shared","saveto-wishlist-lite-for-woocommerce"))),1),t("th",ce,s(e(w)("column_total_spent",e(wp.i18n.__)("Total Spent","saveto-wishlist-lite-for-woocommerce"))),1),t("th",ne,s(e(w)("column_vip_status",e(wp.i18n.__)("VIP Status","saveto-wishlist-lite-for-woocommerce"))),1),t("th",de,s(e(w)("column_actions",e(wp.i18n.__)("Actions","saveto-wishlist-lite-for-woocommerce"))),1)])]),t("tbody",_e,[(a(!0),d(I,null,j(g.value,(i,r)=>(a(),d("tr",{key:i.id,class:"hover:stwlite-tw-bg-purple-50 stwlite-tw-transition-colors stwlite-tw-duration-150"},[t("td",me,[t("div",pe,[t("div",{class:c(["stwlite-tw-flex stwlite-tw-items-center stwlite-tw-justify-center stwlite-tw-w-8 stwlite-tw-h-8 stwlite-tw-rounded-full stwlite-tw-font-bold stwlite-tw-text-sm",r===0?"stwlite-tw-bg-gradient-to-r stwlite-tw-from-yellow-400 stwlite-tw-to-yellow-500 stwlite-tw-text-white":r===1?"stwlite-tw-bg-gradient-to-r stwlite-tw-from-gray-300 stwlite-tw-to-gray-400 stwlite-tw-text-gray-900":r===2?"stwlite-tw-bg-gradient-to-r stwlite-tw-from-orange-400 stwlite-tw-to-orange-500 stwlite-tw-text-white":"stwlite-tw-bg-gray-100 stwlite-tw-text-gray-700"])},s(r+1),3)])]),t("td",he,[t("div",ue,[t("img",{src:i.avatar,alt:i.name,class:"stwlite-tw-w-10 stwlite-tw-h-10 stwlite-tw-rounded-full stwlite-tw-border-2 stwlite-tw-border-gray-200"},null,8,ge),t("div",xe,[t("div",ve,s(i.name),1),t("div",fe,s(i.email),1)])])]),t("td",be,[t("div",ye,[l(e(b),{class:"stwlite-tw-w-4 stwlite-tw-h-4 stwlite-tw-text-pink-500 stwlite-tw-mr-2"}),t("span",ke,s(i.wishlist_count),1)])]),t("td",Ce,[t("span",Se,s(i.total_items),1)]),t("td",Ie,[t("div",je,[l(e(k),{class:"stwlite-tw-w-4 stwlite-tw-h-4 stwlite-tw-text-green-500 stwlite-tw-mr-2"}),t("span",Pe,s(i.purchased_items),1)])]),t("td",Ve,[t("div",Ae,[l(e(y),{class:"stwlite-tw-w-4 stwlite-tw-h-4 stwlite-tw-text-blue-500 stwlite-tw-mr-2"}),t("span",Me,s(i.shared_count),1)])]),t("td",ze,[t("span",Te,s(x(i.total_spent)),1)]),t("td",Be,[t("span",{class:c(["stwlite-tw-inline-flex stwlite-tw-items-center stwlite-tw-px-2.5 stwlite-tw-py-1 stwlite-tw-rounded-full stwlite-tw-text-xs stwlite-tw-font-bold",H(i.vip_status)])},[(a(),P(V(D(i.vip_status)),{class:"stwlite-tw-w-3 stwlite-tw-h-3 stwlite-tw-mr-1"})),h(" "+s(i.vip_status.toUpperCase()),1)],2)]),t("td",Re,[t("button",{onClick:S,class:"stwlite-tw-inline-flex stwlite-tw-items-center stwlite-tw-text-purple-600 hover:stwlite-tw-text-purple-900 stwlite-tw-text-sm stwlite-tw-font-medium stwlite-tw-cursor-pointer"},[h(s(e(w)("view",e(wp.i18n.__)("View","saveto-wishlist-lite-for-woocommerce")))+" ",1),l(e(Z),{class:"stwlite-tw-w-4 stwlite-tw-h-4 stwlite-tw-ml-1"})])])]))),128))])])]),t("div",We,[t("h4",Ue,[l(e(Y),{class:"stwlite-tw-w-4 stwlite-tw-h-4 stwlite-tw-mr-2"}),h(" "+s(e(w)("vip_program_opportunities",e(wp.i18n.__)("VIP Program Opportunities","saveto-wishlist-lite-for-woocommerce"))),1)]),t("div",qe,[t("div",Le,[t("div",He,[l(e(m),{class:"stwlite-tw-w-6 stwlite-tw-h-6 stwlite-tw-text-purple-600"}),t("span",De,s(F.value.length),1)]),t("p",Ee,s(e(w)("vip_candidates",e(wp.i18n.__)("VIP Candidates","saveto-wishlist-lite-for-woocommerce"))),1),t("p",Fe,s(e(w)("vip_candidates_desc",e(wp.i18n.__)("Platinum & Gold tier customers","saveto-wishlist-lite-for-woocommerce"))),1)]),t("div",Ne,[t("div",Ge,[l(e(B),{class:"stwlite-tw-w-6 stwlite-tw-h-6 stwlite-tw-text-green-600"}),t("span",Je,s(x(N.value)),1)]),t("p",$e,s(e(w)("total_revenue",e(wp.i18n.__)("Total Revenue","saveto-wishlist-lite-for-woocommerce"))),1),t("p",Oe,s(e(w)("from_top_wishlisters",e(wp.i18n.__)("From top wishlisters","saveto-wishlist-lite-for-woocommerce"))),1)]),t("div",Ze,[t("div",Ke,[l(e(y),{class:"stwlite-tw-w-6 stwlite-tw-h-6 stwlite-tw-text-blue-600"}),t("span",Qe,s(g.value.reduce((i,r)=>i+r.shared_count,0)),1)]),t("p",Xe,s(e(w)("total_shares",e(wp.i18n.__)("Total Shares","saveto-wishlist-lite-for-woocommerce"))),1),t("p",Ye,s(e(w)("referral_potential",e(wp.i18n.__)("Referral program potential","saveto-wishlist-lite-for-woocommerce"))),1)])])])])]),_:1}),l(e(T),null,{default:_(()=>[t("div",ts,[t("div",es,[t("div",ss,[t("div",ws,[l(e(u),{class:"stwlite-tw-w-5 stwlite-tw-h-5 stwlite-tw-text-blue-600"}),t("h3",is,s(e(w)("customer_segments_title",e(wp.i18n.__)("Customer Segments","saveto-wishlist-lite-for-woocommerce"))),1)]),t("span",ls,s(e(w)("segmentation_analysis",e(wp.i18n.__)("Behavioral segmentation analysis","saveto-wishlist-lite-for-woocommerce"))),1)])]),t("div",os,[t("div",rs,[(a(!0),d(I,null,j(U.value,(i,r)=>(a(),d("div",{key:r,class:c(["stwlite-tw-bg-white stwlite-tw-rounded-lg stwlite-tw-border-2 stwlite-tw-p-6 hover:stwlite-tw-shadow-lg stwlite-tw-transition-all stwlite-tw-duration-300",{"stwlite-tw-border-purple-200 hover:stwlite-tw-border-purple-300":i.color==="purple","stwlite-tw-border-green-200 hover:stwlite-tw-border-green-300":i.color==="green","stwlite-tw-border-yellow-200 hover:stwlite-tw-border-yellow-300":i.color==="yellow","stwlite-tw-border-gray-200 hover:stwlite-tw-border-gray-300":i.color==="gray"}])},[t("div",as,[t("div",{class:c(["stwlite-tw-rounded-full stwlite-tw-p-3",{"stwlite-tw-bg-purple-100":i.color==="purple","stwlite-tw-bg-green-100":i.color==="green","stwlite-tw-bg-yellow-100":i.color==="yellow","stwlite-tw-bg-gray-100":i.color==="gray"}])},[(a(),P(V(E(i.color)),{class:c(["stwlite-tw-w-8 stwlite-tw-h-8",{"stwlite-tw-text-purple-600":i.color==="purple","stwlite-tw-text-green-600":i.color==="green","stwlite-tw-text-yellow-600":i.color==="yellow","stwlite-tw-text-gray-600":i.color==="gray"}])},null,8,["class"]))],2),t("div",cs,[t("p",ns,s(i.percentage)+"%",1),t("p",ds,s(e(w)("of_customers",e(wp.i18n.__)("of customers","saveto-wishlist-lite-for-woocommerce"))),1)])]),t("h4",_s,s(i.name),1),t("div",ms,[t("div",ps,[t("span",hs,s(e(w)("customers",e(wp.i18n.__)("Customers","saveto-wishlist-lite-for-woocommerce"))),1),t("span",us,s(A(i.count)),1)]),t("div",gs,[t("span",xs,s(e(w)("avg_value",e(wp.i18n.__)("Avg. Value","saveto-wishlist-lite-for-woocommerce"))),1),t("span",vs,s(x(i.avg_value)),1)])]),t("div",fs,[t("div",{class:c(["stwlite-tw-h-2 stwlite-tw-rounded-full stwlite-tw-transition-all stwlite-tw-duration-500",{"stwlite-tw-bg-gradient-to-r stwlite-tw-from-purple-400 stwlite-tw-to-purple-600":i.color==="purple","stwlite-tw-bg-gradient-to-r stwlite-tw-from-green-400 stwlite-tw-to-green-600":i.color==="green","stwlite-tw-bg-gradient-to-r stwlite-tw-from-yellow-400 stwlite-tw-to-yellow-600":i.color==="yellow","stwlite-tw-bg-gradient-to-r stwlite-tw-from-gray-400 stwlite-tw-to-gray-600":i.color==="gray"}]),style:O({width:"".concat(i.percentage,"%")})},null,6)])],2))),128))]),t("div",bs,[t("h4",ys,[l(e(Q),{class:"stwlite-tw-w-4 stwlite-tw-h-4 stwlite-tw-mr-2"}),h(" "+s(e(w)("segment_strategies",e(wp.i18n.__)("Recommended Strategies by Segment","saveto-wishlist-lite-for-woocommerce"))),1)]),t("div",ks,[t("div",Cs,[t("div",Ss,[l(e(m),{class:"stwlite-tw-w-5 stwlite-tw-h-5 stwlite-tw-text-purple-600 stwlite-tw-mt-0.5"}),t("div",null,[t("p",Is,s(e(w)("vip_customers",e(wp.i18n.__)("VIP Customers","saveto-wishlist-lite-for-woocommerce"))),1),t("p",js,s(e(w)("vip_strategy",e(wp.i18n.__)("Exclusive previews, early access, personalized service, loyalty rewards","saveto-wishlist-lite-for-woocommerce"))),1)])])]),t("div",Ps,[t("div",Vs,[l(e(k),{class:"stwlite-tw-w-5 stwlite-tw-h-5 stwlite-tw-text-green-600 stwlite-tw-mt-0.5"}),t("div",null,[t("p",As,s(e(w)("active_buyers",e(wp.i18n.__)("Active Buyers","saveto-wishlist-lite-for-woocommerce"))),1),t("p",Ms,s(e(w)("active_strategy",e(wp.i18n.__)("Regular engagement, product recommendations, bundle offers","saveto-wishlist-lite-for-woocommerce"))),1)])])]),t("div",zs,[t("div",Ts,[l(e(b),{class:"stwlite-tw-w-5 stwlite-tw-h-5 stwlite-tw-text-yellow-600 stwlite-tw-mt-0.5"}),t("div",null,[t("p",Bs,s(e(w)("window_shoppers",e(wp.i18n.__)("Window Shoppers","saveto-wishlist-lite-for-woocommerce"))),1),t("p",Rs,s(e(w)("window_strategy",e(wp.i18n.__)("Conversion campaigns, time-limited offers, social proof, reviews","saveto-wishlist-lite-for-woocommerce"))),1)])])]),t("div",Ws,[t("div",Us,[l(e(X),{class:"stwlite-tw-w-5 stwlite-tw-h-5 stwlite-tw-text-gray-600 stwlite-tw-mt-0.5"}),t("div",null,[t("p",qs,s(e(w)("inactive_users",e(wp.i18n.__)("Inactive Users","saveto-wishlist-lite-for-woocommerce"))),1),t("p",Ls,s(e(w)("inactive_strategy",e(wp.i18n.__)("Re-engagement campaigns, win-back offers, survey feedback","saveto-wishlist-lite-for-woocommerce"))),1)])])])])])])])]),_:1})]),_:1})]),_:1}),t("div",Hs,[t("h3",Ds,[l(e(tt),{class:"stwlite-tw-w-5 stwlite-tw-h-5 stwlite-tw-mr-2 stwlite-tw-text-indigo-600"}),h(" "+s(e(w)("immediate_actions",e(wp.i18n.__)("Immediate Actions","saveto-wishlist-lite-for-woocommerce"))),1)]),t("div",Es,[t("div",Fs,[l(e(at),{class:"stwlite-tw-w-5 stwlite-tw-h-5 stwlite-tw-text-purple-600 stwlite-tw-mt-0.5"}),t("div",null,[t("p",Ns,s(e(w)("launch_vip_program",e(wp.i18n.__)("Launch VIP Program","saveto-wishlist-lite-for-woocommerce"))),1),t("p",Gs,s(e(w)("vip_program_desc",e(wp.i18n.__)("Create exclusive benefits for top wishlisters","saveto-wishlist-lite-for-woocommerce"))),1)])]),t("div",Js,[l(e(y),{class:"stwlite-tw-w-5 stwlite-tw-h-5 stwlite-tw-text-green-600 stwlite-tw-mt-0.5"}),t("div",null,[t("p",$s,s(e(w)("referral_program",e(wp.i18n.__)("Enable Referral Program","saveto-wishlist-lite-for-woocommerce"))),1),t("p",Os,s(e(w)("referral_desc",e(wp.i18n.__)("Leverage sharing behavior for growth","saveto-wishlist-lite-for-woocommerce"))),1)])]),t("div",Zs,[l(e(et),{class:"stwlite-tw-w-5 stwlite-tw-h-5 stwlite-tw-text-blue-600 stwlite-tw-mt-0.5"}),t("div",null,[t("p",Ks,s(e(w)("personalize_experience",e(wp.i18n.__)("Personalize Experience","saveto-wishlist-lite-for-woocommerce"))),1),t("p",Qs,s(e(w)("personalize_desc",e(wp.i18n.__)("Tailor communications by segment","saveto-wishlist-lite-for-woocommerce"))),1)])])])])]))}});export{hw as default};
