import{d as e,r as t,o as a,b as s,e as l,X as r,N as i,b2 as n,f as o,i as c,I as d,J as p,T as f,q as x,v as u,j as b,g as v,w as m,m as h}from"./index-BoIUJTA2.js";import"./el-tooltip-l0sNRNKZ.js";/* empty css */import{k as g}from"./operations-Cr4YfoRu.js";import{E as w}from"./index-BMeOzN3u.js";import{_ as y}from"./_plugin-vue_export-helper-BCo6x5W8.js";import"./index-COyGylbk.js";import"./index-Bq8lawOo.js";const k={class:"art-card p-6 overflow-hidden relative group h-full"},j={class:"flex flex-col space-y-4"},_={class:"flex items-center"},R={class:"flex-1 min-w-0"},I={class:"flex justify-between items-center mb-1"},N={class:"font-bold text-g-800 truncate"},P={class:"text-[10px] ml-1 opacity-70"},T={class:"flex-cb text-[11px] text-g-600 mb-2 font-bold leading-none"},q={class:"flex items-center space-x-3"},C={class:"text-g-900"},E={class:"text-g-900"},J={class:"cursor-help"},M={class:"text-primary font-black"},U={class:"relative h-1.5 w-full bg-g-200 dark:bg-white/10 rounded-full overflow-hidden"},X={class:"ml-6 flex flex-col items-center"},$={class:"flex flex-col items-center cursor-help"},z={class:"w-14 h-14 rounded-full border-2 border-primary/20 flex-cc flex-col shadow-inner bg-white"},A={class:"text-sm font-black text-primary"},B={key:0,class:"text-center py-12 text-g-300"},D=y(e({__name:"product-performance",setup(e){const y=t(!1),D=t([]);return a(()=>{return e=this,t=null,a=function*(){y.value=!0;try{D.value=yield g("30d")}catch(e){f.error("获取排行数据失败")}finally{y.value=!1}},new Promise((s,l)=>{var r=e=>{try{n(a.next(e))}catch(t){l(t)}},i=e=>{try{n(a.throw(e))}catch(t){l(t)}},n=e=>e.done?s(e.value):Promise.resolve(e.value).then(r,i);n((a=a.apply(e,t)).next())});var e,t,a}),(e,t)=>{const a=w,f=n;return l(),s("div",k,[t[5]||(t[5]=r('
追踪各盲盒系列的利润贡献与库存效率