usage-board 0.0.2 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import{f as d,o as a,g as u,w as g,J as C,U as b,I as c,P as L,i as h,W as R,X as $,c as m,a7 as G,V as y,aa as Z,ab as D,b as f,e as k,a9 as F,t as S,Y as z,ac as N,a as s,T,C as j,a3 as A,ad as V,ae as q,Z as M,$ as P,af as E,ag as H,d as w,_ as J}from"./DRIVB4-c.js";var K=d({__name:"BaseSeparator",props:{orientation:{type:String,required:!1,default:"horizontal"},decorative:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(l){const e=l,n=["horizontal","vertical"];function t(i){return n.includes(i)}const r=h(()=>t(e.orientation)?e.orientation:"horizontal"),o=h(()=>r.value==="vertical"?e.orientation:void 0),_=h(()=>e.decorative?{role:"none"}:{"aria-orientation":o.value,role:"separator"});return(i,v)=>(a(),u(c(L),b({as:i.as,"as-child":i.asChild,"data-orientation":r.value},_.value),{default:g(()=>[C(i.$slots,"default")]),_:3},16,["as","as-child","data-orientation"]))}}),W=K,X=d({__name:"Separator",props:{orientation:{type:String,required:!1,default:"horizontal"},decorative:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(l){const e=l;return(n,t)=>(a(),u(W,R($(e)),{default:g(()=>[C(n.$slots,"default")]),_:3},16))}}),Y=X;const Q=d({__name:"Skeleton",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(l){const e=l;return(n,t)=>(a(),m("div",{"data-slot":"skeleton",class:G(c(y)("animate-pulse rounded-md bg-primary/10",e.class))},null,2))}}),e1={key:1,class:"text-muted-foreground w-8 text-xs tabular-nums"},t1=d({__name:"GitHubLink",setup(l){const e=Z(),{data:n,pending:t}=D(`https://ungh.cc/repos/${e.github.repo}`,"$5jzG0y0vUx"),r=h(()=>{const o=n.value?.repo?.stars;return o?o>=1e3?`${(o/1e3).toFixed(1)}k`:o.toLocaleString():"∞"});return(o,_)=>{const i=F,v=Q,x=k,B=z;return a(),u(B,{"as-child":"",class:"h-8 shadow-none",size:"sm",variant:"ghost"},{default:g(()=>[f(x,{to:c(e).github.link,rel:"noreferrer",target:"_blank"},{default:g(()=>[f(i,{name:"mdi:github"}),c(t)?(a(),u(v,{key:0,class:"h-4 w-8"})):(a(),m("span",e1,S(c(r)),1))]),_:1},8,["to"])]),_:1})}}}),n1=Object.assign(t1,{__name:"GitHubLink"}),o1=d({__name:"ModeSwitcher",setup(l){const e=N({selector:"html",attribute:"class",storageKey:"app-color-mode",onChanged(n,t){const r=document,o=window.matchMedia("(prefers-reduced-motion: reduce)").matches;if(!r.startViewTransition||o){t(n);return}r.startViewTransition(()=>{t(n)})}});return(n,t)=>{const r=F,o=z;return a(),u(o,{variant:"ghost",size:"icon",class:"group/toggle extend-touch-target size-8",title:"Toggle theme",onClick:t[0]||(t[0]=_=>e.value=c(e)==="light"?"dark":"light")},{default:g(()=>[c(e)==="dark"?(a(),u(r,{key:0,name:"lucide:moon",mode:"svg"})):(a(),u(r,{key:1,name:"lucide:sun",mode:"svg"})),t[1]||(t[1]=s("span",{class:"sr-only"},"Toggle theme",-1))]),_:1})}}}),a1=Object.assign(o1,{__name:"ModeSwitcher"}),l1=d({__name:"Separator",props:{orientation:{default:"horizontal"},decorative:{type:Boolean,default:!0},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(l){const e=l,n=T(e,"class");return(t,r)=>(a(),u(c(Y),b({"data-slot":"separator"},c(n),{class:c(y)("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",e.class)}),null,16,["class"]))}}),r1={claude_code:'<svg fill="#D97757" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Claude</title><path d="m4.7144 15.9555 4.7174-2.6471.079-.2307-.079-.1275h-.2307l-.7893-.0486-2.6956-.0729-2.3375-.0971-2.2646-.1214-.5707-.1215-.5343-.7042.0546-.3522.4797-.3218.686.0608 1.5179.1032 2.2767.1578 1.6514.0972 2.4468.255h.3886l.0546-.1579-.1336-.0971-.1032-.0972L6.973 9.8356l-2.55-1.6879-1.3356-.9714-.7225-.4918-.3643-.4614-.1578-1.0078.6557-.7225.8803.0607.2246.0607.8925.686 1.9064 1.4754 2.4893 1.8336.3643.3035.1457-.1032.0182-.0728-.164-.2733-1.3539-2.4467-1.445-2.4893-.6435-1.032-.17-.6194c-.0607-.255-.1032-.4674-.1032-.7285L6.287.1335 6.6997 0l.9957.1336.419.3642.6192 1.4147 1.0018 2.2282 1.5543 3.0296.4553.8985.2429.8318.091.255h.1579v-.1457l.1275-1.706.2368-2.0947.2307-2.6957.0789-.7589.3764-.9107.7468-.4918.5828.2793.4797.686-.0668.4433-.2853 1.8517-.5586 2.9021-.3643 1.9429h.2125l.2429-.2429.9835-1.3053 1.6514-2.0643.7286-.8196.85-.9046.5464-.4311h1.0321l.759 1.1293-.34 1.1657-1.0625 1.3478-.8804 1.1414-1.2628 1.7-.7893 1.36.0729.1093.1882-.0183 2.8535-.607 1.5421-.2794 1.8396-.3157.8318.3886.091.3946-.3278.8075-1.967.4857-2.3072.4614-3.4364.8136-.0425.0304.0486.0607 1.5482.1457.6618.0364h1.621l3.0175.2247.7892.522.4736.6376-.079.4857-1.2142.6193-1.6393-.3886-3.825-.9107-1.3113-.3279h-.1822v.1093l1.0929 1.0686 2.0035 1.8092 2.5075 2.3314.1275.5768-.3218.4554-.34-.0486-2.2039-1.6575-.85-.7468-1.9246-1.621h-.1275v.17l.4432.6496 2.3436 3.5214.1214 1.0807-.17.3521-.6071.2125-.6679-.1214-1.3721-1.9246L14.38 17.959l-1.1414-1.9428-.1397.079-.674 7.2552-.3156.3703-.7286.2793-.6071-.4614-.3218-.7468.3218-1.4753.3886-1.9246.3157-1.53.2853-1.9004.17-.6314-.0121-.0425-.1397.0182-1.4328 1.9672-2.1796 2.9446-1.7243 1.8456-.4128.164-.7164-.3704.0667-.6618.4008-.5889 2.386-3.0357 1.4389-1.882.929-1.0868-.0062-.1579h-.0546l-6.3385 4.1164-1.1293.1457-.4857-.4554.0608-.7467.2307-.2429 1.9064-1.3114Z"/></svg>',codex:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" fill-rule="evenodd">
1
+ import{f as d,o as a,g as u,w as g,J as C,U as b,I as c,P as L,i as h,W as R,X as $,c as m,a7 as G,V as y,aa as Z,ab as D,b as f,e as k,a9 as F,t as S,Y as z,ac as N,a as s,T,C as j,a3 as A,ad as V,ae as q,Z as M,$ as P,af as E,ag as H,d as w,_ as J}from"./DoxGa6D0.js";var K=d({__name:"BaseSeparator",props:{orientation:{type:String,required:!1,default:"horizontal"},decorative:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(l){const e=l,n=["horizontal","vertical"];function t(i){return n.includes(i)}const r=h(()=>t(e.orientation)?e.orientation:"horizontal"),o=h(()=>r.value==="vertical"?e.orientation:void 0),_=h(()=>e.decorative?{role:"none"}:{"aria-orientation":o.value,role:"separator"});return(i,v)=>(a(),u(c(L),b({as:i.as,"as-child":i.asChild,"data-orientation":r.value},_.value),{default:g(()=>[C(i.$slots,"default")]),_:3},16,["as","as-child","data-orientation"]))}}),W=K,X=d({__name:"Separator",props:{orientation:{type:String,required:!1,default:"horizontal"},decorative:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(l){const e=l;return(n,t)=>(a(),u(W,R($(e)),{default:g(()=>[C(n.$slots,"default")]),_:3},16))}}),Y=X;const Q=d({__name:"Skeleton",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(l){const e=l;return(n,t)=>(a(),m("div",{"data-slot":"skeleton",class:G(c(y)("animate-pulse rounded-md bg-primary/10",e.class))},null,2))}}),e1={key:1,class:"text-muted-foreground w-8 text-xs tabular-nums"},t1=d({__name:"GitHubLink",setup(l){const e=Z(),{data:n,pending:t}=D(`https://ungh.cc/repos/${e.github.repo}`,"$5jzG0y0vUx"),r=h(()=>{const o=n.value?.repo?.stars;return o?o>=1e3?`${(o/1e3).toFixed(1)}k`:o.toLocaleString():"∞"});return(o,_)=>{const i=F,v=Q,x=k,B=z;return a(),u(B,{"as-child":"",class:"h-8 shadow-none",size:"sm",variant:"ghost"},{default:g(()=>[f(x,{to:c(e).github.link,rel:"noreferrer",target:"_blank"},{default:g(()=>[f(i,{name:"mdi:github"}),c(t)?(a(),u(v,{key:0,class:"h-4 w-8"})):(a(),m("span",e1,S(c(r)),1))]),_:1},8,["to"])]),_:1})}}}),n1=Object.assign(t1,{__name:"GitHubLink"}),o1=d({__name:"ModeSwitcher",setup(l){const e=N({selector:"html",attribute:"class",storageKey:"app-color-mode",onChanged(n,t){const r=document,o=window.matchMedia("(prefers-reduced-motion: reduce)").matches;if(!r.startViewTransition||o){t(n);return}r.startViewTransition(()=>{t(n)})}});return(n,t)=>{const r=F,o=z;return a(),u(o,{variant:"ghost",size:"icon",class:"group/toggle extend-touch-target size-8",title:"Toggle theme",onClick:t[0]||(t[0]=_=>e.value=c(e)==="light"?"dark":"light")},{default:g(()=>[c(e)==="dark"?(a(),u(r,{key:0,name:"lucide:moon",mode:"svg"})):(a(),u(r,{key:1,name:"lucide:sun",mode:"svg"})),t[1]||(t[1]=s("span",{class:"sr-only"},"Toggle theme",-1))]),_:1})}}}),a1=Object.assign(o1,{__name:"ModeSwitcher"}),l1=d({__name:"Separator",props:{orientation:{default:"horizontal"},decorative:{type:Boolean,default:!0},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(l){const e=l,n=T(e,"class");return(t,r)=>(a(),u(c(Y),b({"data-slot":"separator"},c(n),{class:c(y)("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",e.class)}),null,16,["class"]))}}),r1={claude_code:'<svg fill="#D97757" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Claude</title><path d="m4.7144 15.9555 4.7174-2.6471.079-.2307-.079-.1275h-.2307l-.7893-.0486-2.6956-.0729-2.3375-.0971-2.2646-.1214-.5707-.1215-.5343-.7042.0546-.3522.4797-.3218.686.0608 1.5179.1032 2.2767.1578 1.6514.0972 2.4468.255h.3886l.0546-.1579-.1336-.0971-.1032-.0972L6.973 9.8356l-2.55-1.6879-1.3356-.9714-.7225-.4918-.3643-.4614-.1578-1.0078.6557-.7225.8803.0607.2246.0607.8925.686 1.9064 1.4754 2.4893 1.8336.3643.3035.1457-.1032.0182-.0728-.164-.2733-1.3539-2.4467-1.445-2.4893-.6435-1.032-.17-.6194c-.0607-.255-.1032-.4674-.1032-.7285L6.287.1335 6.6997 0l.9957.1336.419.3642.6192 1.4147 1.0018 2.2282 1.5543 3.0296.4553.8985.2429.8318.091.255h.1579v-.1457l.1275-1.706.2368-2.0947.2307-2.6957.0789-.7589.3764-.9107.7468-.4918.5828.2793.4797.686-.0668.4433-.2853 1.8517-.5586 2.9021-.3643 1.9429h.2125l.2429-.2429.9835-1.3053 1.6514-2.0643.7286-.8196.85-.9046.5464-.4311h1.0321l.759 1.1293-.34 1.1657-1.0625 1.3478-.8804 1.1414-1.2628 1.7-.7893 1.36.0729.1093.1882-.0183 2.8535-.607 1.5421-.2794 1.8396-.3157.8318.3886.091.3946-.3278.8075-1.967.4857-2.3072.4614-3.4364.8136-.0425.0304.0486.0607 1.5482.1457.6618.0364h1.621l3.0175.2247.7892.522.4736.6376-.079.4857-1.2142.6193-1.6393-.3886-3.825-.9107-1.3113-.3279h-.1822v.1093l1.0929 1.0686 2.0035 1.8092 2.5075 2.3314.1275.5768-.3218.4554-.34-.0486-2.2039-1.6575-.85-.7468-1.9246-1.621h-.1275v.17l.4432.6496 2.3436 3.5214.1214 1.0807-.17.3521-.6071.2125-.6679-.1214-1.3721-1.9246L14.38 17.959l-1.1414-1.9428-.1397.079-.674 7.2552-.3156.3703-.7286.2793-.6071-.4614-.3218-.7468.3218-1.4753.3886-1.9246.3157-1.53.2853-1.9004.17-.6314-.0121-.0425-.1397.0182-1.4328 1.9672-2.1796 2.9446-1.7243 1.8456-.4128.164-.7164-.3704.0667-.6618.4008-.5889 2.386-3.0357 1.4389-1.882.929-1.0868-.0062-.1579h-.0546l-6.3385 4.1164-1.1293.1457-.4857-.4554.0608-.7467.2307-.2429 1.9064-1.3114Z"/></svg>',codex:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" fill-rule="evenodd">
2
2
  <title>Codex (OpenAI)</title>
3
3
  <path clip-rule="evenodd"
4
4
  d="M8.086.457a6.105 6.105 0 013.046-.415c1.333.153 2.521.72 3.564 1.7a.117.117 0 00.107.029c1.408-.346 2.762-.224 4.061.366l.063.03.154.076c1.357.703 2.33 1.77 2.918 3.198.278.679.418 1.388.421 2.126a5.655 5.655 0 01-.18 1.631.167.167 0 00.04.155 5.982 5.982 0 011.578 2.891c.385 1.901-.01 3.615-1.183 5.14l-.182.22a6.063 6.063 0 01-2.934 1.851.162.162 0 00-.108.102c-.255.736-.511 1.364-.987 1.992-1.199 1.582-2.962 2.462-4.948 2.451-1.583-.008-2.986-.587-4.21-1.736a.145.145 0 00-.14-.032c-.518.167-1.04.191-1.604.185a5.924 5.924 0 01-2.595-.622 6.058 6.058 0 01-2.146-1.781c-.203-.269-.404-.522-.551-.821a7.74 7.74 0 01-.495-1.283 6.11 6.11 0 01-.017-3.064.166.166 0 00.008-.074.115.115 0 00-.037-.064 5.958 5.958 0 01-1.38-2.202 5.196 5.196 0 01-.333-1.589 6.915 6.915 0 01.188-2.132c.45-1.484 1.309-2.648 2.577-3.493.282-.188.55-.334.802-.438.286-.12.573-.22.861-.304a.129.129 0 00.087-.087A6.016 6.016 0 015.635 2.31C6.315 1.464 7.132.846 8.086.457zm-.804 7.85a.848.848 0 00-1.473.842l1.694 2.965-1.688 2.848a.849.849 0 001.46.864l1.94-3.272a.849.849 0 00.007-.854l-1.94-3.393zm5.446 6.24a.849.849 0 000 1.695h4.848a.849.849 0 000-1.696h-4.848z" />
@@ -1,4 +1,4 @@
1
- import{a8 as al,f as q,o as N,c as P,J as ct,a7 as Z,I as R,V as at,g as ge,w as kt,b as ut,a as F,d as Xo,t as j,O as we,a9 as br,i as z,Z as Gt,$ as Xt,P as cl,A as qo,N as je,k as hs,l as ll,v as Kt,E as ul,a6 as Ri,K as hn,x as fn,r as Me,a1 as hl,G as Pe,D as gi,y as mi,h as fl}from"./DRIVB4-c.js";function dl(t,e="reka"){let n;return n=al?.(),e?`${e}-${n}`:n}const pl=q({__name:"Card",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t;return(n,i)=>(N(),P("div",{"data-slot":"card",class:Z(R(at)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e.class))},[ct(n.$slots,"default")],2))}}),gl=q({__name:"CardContent",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t;return(n,i)=>(N(),P("div",{"data-slot":"card-content",class:Z(R(at)("px-6",e.class))},[ct(n.$slots,"default")],2))}}),ml=q({__name:"CardHeader",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t;return(n,i)=>(N(),P("div",{"data-slot":"card-header",class:Z(R(at)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e.class))},[ct(n.$slots,"default")],2))}}),_l=q({__name:"CardTitle",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t;return(n,i)=>(N(),P("h3",{"data-slot":"card-title",class:Z(R(at)("leading-none font-semibold",e.class))},[ct(n.$slots,"default")],2))}}),vl={class:"flex items-start justify-between gap-4"},yl={class:"min-w-0 space-y-1"},xl={key:0,class:"text-sm text-muted-foreground"},bl=q({name:"StatisticalAnalysisPanel",__name:"Panel",props:{compact:{type:Boolean},description:{},icon:{},title:{}},setup(t){return(e,n)=>{const i=_l,r=br,s=ml,o=gl,a=pl;return N(),ge(a,{class:Z(R(at)("shadow-none bg-transparent",t.compact?"gap-3 py-4":"gap-4 py-5"))},{default:kt(()=>[ut(s,{class:Z(R(at)(t.compact?"px-4":"px-5"))},{default:kt(()=>[F("div",vl,[F("div",yl,[ut(i,{class:Z(t.compact?"text-xs font-medium text-muted-foreground uppercase tracking-wide":"text-base")},{default:kt(()=>[Xo(j(t.title),1)]),_:1},8,["class"]),t.description?(N(),P("p",xl,j(t.description),1)):we("",!0)]),t.icon?(N(),P("div",{key:0,class:Z(R(at)("shrink-0 rounded-lg bg-secondary text-secondary-foreground flex items-center justify-center",t.compact?"size-7":"size-8"))},[ut(r,{mode:"svg",name:t.icon,class:Z(t.compact?"size-3.5":"size-4")},null,8,["name","class"])],2)):we("",!0)])]),_:1},8,["class"]),ut(o,{class:Z(R(at)(t.compact?"px-4":"px-5"))},{default:kt(()=>[ct(e.$slots,"default")]),_:3},8,["class"])]),_:3},8,["class"])}}}),_i=Object.assign(bl,{__name:"StatisticalAnalysisPanel"}),wl={class:"flex justify-between items-center"},kl={class:"text-2xl font-bold tracking-tight"},Sl={class:"flex items-center gap-1"},Tl=q({name:"StatisticalAnalysisTotalCard",__name:"TotalCard",props:{name:{},value:{},icon:{},trend:{},trendTone:{default:"neutral"}},setup(t){const e=t,n=z(()=>e.trendTone==="down"?{icon:"lucide:trending-down",iconClass:"size-3 text-red-500",textClass:"text-xs font-medium text-red-500"}:e.trendTone==="up"?{icon:"lucide:trending-up",iconClass:"size-3 text-emerald-500",textClass:"text-xs font-medium text-emerald-600 dark:text-emerald-400"}:{icon:"lucide:minus",iconClass:"size-3 text-muted-foreground",textClass:"text-xs font-medium text-muted-foreground"});return(i,r)=>{const s=br,o=_i;return N(),ge(o,{compact:"",icon:t.icon,title:t.name},{default:kt(()=>[F("div",wl,[F("span",kl,j(t.value),1),F("div",Sl,[ut(s,{class:Z(R(n).iconClass),mode:"svg",name:R(n).icon},null,8,["class","name"]),F("span",{class:Z(R(n).textClass)},j(t.trend),3)])])]),_:1},8,["icon","title"])}}}),Cl=Object.assign(Tl,{__name:"StatisticalAnalysisTotalCard"}),Ml={class:"grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-4"},Al=q({name:"DashboardOverviewCards",__name:"OverviewCards",props:{cards:{}},setup(t){return(e,n)=>{const i=Cl;return N(),P("div",Ml,[(N(!0),P(Gt,null,Xt(t.cards,r=>(N(),ge(i,{key:r.name,icon:r.icon,name:r.name,trend:r.trend,"trend-tone":r.trendTone,value:r.value},null,8,["icon","name","trend","trend-tone","value"]))),128))])}}}),cv=Object.assign(Al,{__name:"DashboardOverviewCards"}),$l=q({__name:"ChartStyle",props:{id:{}},setup(t){const{config:e}=h_(),n=z(()=>Object.entries(e.value).filter(([,i])=>i.theme||i.color));return(i,r)=>n.value.length?(N(),ge(R(cl),{key:0,as:"style"},{default:kt(()=>[Xo(j(Object.entries(R(u_)).map(([s,o])=>`
1
+ import{a8 as al,f as q,o as N,c as P,J as ct,a7 as Z,I as R,V as at,g as ge,w as kt,b as ut,a as F,d as Xo,t as j,O as we,a9 as br,i as z,Z as Gt,$ as Xt,P as cl,A as qo,N as je,k as hs,l as ll,v as Kt,E as ul,a6 as Ri,K as hn,x as fn,r as Me,a1 as hl,G as Pe,D as gi,y as mi,h as fl}from"./DoxGa6D0.js";function dl(t,e="reka"){let n;return n=al?.(),e?`${e}-${n}`:n}const pl=q({__name:"Card",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t;return(n,i)=>(N(),P("div",{"data-slot":"card",class:Z(R(at)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e.class))},[ct(n.$slots,"default")],2))}}),gl=q({__name:"CardContent",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t;return(n,i)=>(N(),P("div",{"data-slot":"card-content",class:Z(R(at)("px-6",e.class))},[ct(n.$slots,"default")],2))}}),ml=q({__name:"CardHeader",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t;return(n,i)=>(N(),P("div",{"data-slot":"card-header",class:Z(R(at)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e.class))},[ct(n.$slots,"default")],2))}}),_l=q({__name:"CardTitle",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t;return(n,i)=>(N(),P("h3",{"data-slot":"card-title",class:Z(R(at)("leading-none font-semibold",e.class))},[ct(n.$slots,"default")],2))}}),vl={class:"flex items-start justify-between gap-4"},yl={class:"min-w-0 space-y-1"},xl={key:0,class:"text-sm text-muted-foreground"},bl=q({name:"StatisticalAnalysisPanel",__name:"Panel",props:{compact:{type:Boolean},description:{},icon:{},title:{}},setup(t){return(e,n)=>{const i=_l,r=br,s=ml,o=gl,a=pl;return N(),ge(a,{class:Z(R(at)("shadow-none bg-transparent",t.compact?"gap-3 py-4":"gap-4 py-5"))},{default:kt(()=>[ut(s,{class:Z(R(at)(t.compact?"px-4":"px-5"))},{default:kt(()=>[F("div",vl,[F("div",yl,[ut(i,{class:Z(t.compact?"text-xs font-medium text-muted-foreground uppercase tracking-wide":"text-base")},{default:kt(()=>[Xo(j(t.title),1)]),_:1},8,["class"]),t.description?(N(),P("p",xl,j(t.description),1)):we("",!0)]),t.icon?(N(),P("div",{key:0,class:Z(R(at)("shrink-0 rounded-lg bg-secondary text-secondary-foreground flex items-center justify-center",t.compact?"size-7":"size-8"))},[ut(r,{mode:"svg",name:t.icon,class:Z(t.compact?"size-3.5":"size-4")},null,8,["name","class"])],2)):we("",!0)])]),_:1},8,["class"]),ut(o,{class:Z(R(at)(t.compact?"px-4":"px-5"))},{default:kt(()=>[ct(e.$slots,"default")]),_:3},8,["class"])]),_:3},8,["class"])}}}),_i=Object.assign(bl,{__name:"StatisticalAnalysisPanel"}),wl={class:"flex justify-between items-center"},kl={class:"text-2xl font-bold tracking-tight"},Sl={class:"flex items-center gap-1"},Tl=q({name:"StatisticalAnalysisTotalCard",__name:"TotalCard",props:{name:{},value:{},icon:{},trend:{},trendTone:{default:"neutral"}},setup(t){const e=t,n=z(()=>e.trendTone==="down"?{icon:"lucide:trending-down",iconClass:"size-3 text-red-500",textClass:"text-xs font-medium text-red-500"}:e.trendTone==="up"?{icon:"lucide:trending-up",iconClass:"size-3 text-emerald-500",textClass:"text-xs font-medium text-emerald-600 dark:text-emerald-400"}:{icon:"lucide:minus",iconClass:"size-3 text-muted-foreground",textClass:"text-xs font-medium text-muted-foreground"});return(i,r)=>{const s=br,o=_i;return N(),ge(o,{compact:"",icon:t.icon,title:t.name},{default:kt(()=>[F("div",wl,[F("span",kl,j(t.value),1),F("div",Sl,[ut(s,{class:Z(R(n).iconClass),mode:"svg",name:R(n).icon},null,8,["class","name"]),F("span",{class:Z(R(n).textClass)},j(t.trend),3)])])]),_:1},8,["icon","title"])}}}),Cl=Object.assign(Tl,{__name:"StatisticalAnalysisTotalCard"}),Ml={class:"grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-4"},Al=q({name:"DashboardOverviewCards",__name:"OverviewCards",props:{cards:{}},setup(t){return(e,n)=>{const i=Cl;return N(),P("div",Ml,[(N(!0),P(Gt,null,Xt(t.cards,r=>(N(),ge(i,{key:r.name,icon:r.icon,name:r.name,trend:r.trend,"trend-tone":r.trendTone,value:r.value},null,8,["icon","name","trend","trend-tone","value"]))),128))])}}}),cv=Object.assign(Al,{__name:"DashboardOverviewCards"}),$l=q({__name:"ChartStyle",props:{id:{}},setup(t){const{config:e}=h_(),n=z(()=>Object.entries(e.value).filter(([,i])=>i.theme||i.color));return(i,r)=>n.value.length?(N(),ge(R(cl),{key:0,as:"style"},{default:kt(()=>[Xo(j(Object.entries(R(u_)).map(([s,o])=>`
2
2
  ${o} [data-chart=${t.id}] {
3
3
  ${n.value.map(([a,c])=>{const l=c.theme?.[s]||c.color;return l?` --color-${a}: ${l};`:null}).join(`
4
4
  `)}
@@ -1 +1 @@
1
- import{_ as s,u as a,o as i,c as u,a as t,t as n,b as c,w as l,d,e as f}from"./DRIVB4-c.js";const p={class:"antialiased bg-white dark:bg-[#020420] dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-[#020420] tracking-wide"},m={class:"max-w-520px text-center"},h=["textContent"],b=["textContent"],x=["textContent"],g={class:"flex items-center justify-center w-full"},y={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},status:{type:Number,default:404},statusText:{type:String,default:"Page not found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(e){const r=e;return a({title:`${r.status} - ${r.statusText} | ${r.appName}`,script:[{innerHTML:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver(e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)}).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1,h2{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}h1,h2,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(k,w)=>{const o=f;return i(),u("div",p,[t("div",m,[t("h1",{class:"font-semibold leading-none mb-4 sm:text-[110px] tabular-nums text-[80px]",textContent:n(e.status)},null,8,h),t("h2",{class:"font-semibold mb-2 sm:text-3xl text-2xl",textContent:n(e.statusText)},null,8,b),t("p",{class:"mb-4 px-2 text-[#64748B] text-md",textContent:n(e.description)},null,8,x),t("div",g,[c(o,{to:"/",class:"font-medium hover:text-[#00DC82] text-sm underline underline-offset-3"},{default:l(()=>[d(n(e.backHome),1)]),_:1})])])])}}},v=s(y,[["__scopeId","data-v-0abdad73"]]);export{v as default};
1
+ import{_ as s,u as a,o as i,c as u,a as t,t as n,b as c,w as l,d,e as f}from"./DoxGa6D0.js";const p={class:"antialiased bg-white dark:bg-[#020420] dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-[#020420] tracking-wide"},m={class:"max-w-520px text-center"},h=["textContent"],b=["textContent"],x=["textContent"],g={class:"flex items-center justify-center w-full"},y={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},status:{type:Number,default:404},statusText:{type:String,default:"Page not found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(e){const r=e;return a({title:`${r.status} - ${r.statusText} | ${r.appName}`,script:[{innerHTML:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver(e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)}).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1,h2{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}h1,h2,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(k,w)=>{const o=f;return i(),u("div",p,[t("div",m,[t("h1",{class:"font-semibold leading-none mb-4 sm:text-[110px] tabular-nums text-[80px]",textContent:n(e.status)},null,8,h),t("h2",{class:"font-semibold mb-2 sm:text-3xl text-2xl",textContent:n(e.statusText)},null,8,b),t("p",{class:"mb-4 px-2 text-[#64748B] text-md",textContent:n(e.description)},null,8,x),t("div",g,[c(o,{to:"/",class:"font-medium hover:text-[#00DC82] text-sm underline underline-offset-3"},{default:l(()=>[d(n(e.backHome),1)]),_:1})])])])}}},v=s(y,[["__scopeId","data-v-0abdad73"]]);export{v as default};
@@ -1 +1 @@
1
- import{f as a,o as n,c,a as t,_ as r,g as x}from"./DRIVB4-c.js";const l={class:"grow container mx-auto"},_=a({name:"ComingSoon",__name:"ComingSoon",setup(o){return(s,e)=>(n(),c("div",l,[...e[0]||(e[0]=[t("div",{class:"flex justify-center items-center flex-col text-center h-full gap-6"},[t("h2",{class:"text-4xl md:text-5xl lg:text-6xl font-bold text-balance max-w-4xl"}," The future is almost here "),t("p",{class:"text-lg md:text-xl text-balance max-w-2xl text-muted-foreground"}," We're putting the finishing touches on something extraordinary. Get ready for a new experience. ")],-1)])]))}}),i=Object.assign(_,{__name:"ComingSoon"}),m={};function f(o,s){const e=i;return n(),x(e)}const d=r(m,[["render",f]]);export{d as default};
1
+ import{f as a,o as n,c,a as t,_ as r,g as x}from"./DoxGa6D0.js";const l={class:"grow container mx-auto"},_=a({name:"ComingSoon",__name:"ComingSoon",setup(o){return(s,e)=>(n(),c("div",l,[...e[0]||(e[0]=[t("div",{class:"flex justify-center items-center flex-col text-center h-full gap-6"},[t("h2",{class:"text-4xl md:text-5xl lg:text-6xl font-bold text-balance max-w-4xl"}," The future is almost here "),t("p",{class:"text-lg md:text-xl text-balance max-w-2xl text-muted-foreground"}," We're putting the finishing touches on something extraordinary. Get ready for a new experience. ")],-1)])]))}}),i=Object.assign(_,{__name:"ComingSoon"}),m={};function f(o,s){const e=i;return n(),x(e)}const d=r(m,[["render",f]]);export{d as default};
@@ -1 +1 @@
1
- import{_ as o,u as s,o as a,c as i,a as t,t as r}from"./DRIVB4-c.js";const u={class:"antialiased bg-white dark:bg-[#020420] dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-[#020420] tracking-wide"},l={class:"max-w-520px text-center"},c=["textContent"],d=["textContent"],p=["textContent"],f={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},status:{type:Number,default:500},statusText:{type:String,default:"Internal server error"},description:{type:String,default:"This page is temporarily unavailable."},refresh:{type:String,default:"Refresh this page"}},setup(e){const n=e;return s({title:`${n.status} - ${n.statusText} | ${n.appName}`,script:[{innerHTML:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver(e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)}).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1,h2{font-size:inherit;font-weight:inherit}h1,h2,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(h,m)=>(a(),i("div",u,[t("div",l,[t("h1",{class:"font-semibold leading-none mb-4 sm:text-[110px] tabular-nums text-[80px]",textContent:r(e.status)},null,8,c),t("h2",{class:"font-semibold mb-2 sm:text-3xl text-2xl",textContent:r(e.statusText)},null,8,d),t("p",{class:"mb-4 px-2 text-[#64748B] text-md",textContent:r(e.description)},null,8,p)])]))}},b=o(f,[["__scopeId","data-v-784a2264"]]);export{b as default};
1
+ import{_ as o,u as s,o as a,c as i,a as t,t as r}from"./DoxGa6D0.js";const u={class:"antialiased bg-white dark:bg-[#020420] dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-[#020420] tracking-wide"},l={class:"max-w-520px text-center"},c=["textContent"],d=["textContent"],p=["textContent"],f={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},status:{type:Number,default:500},statusText:{type:String,default:"Internal server error"},description:{type:String,default:"This page is temporarily unavailable."},refresh:{type:String,default:"Refresh this page"}},setup(e){const n=e;return s({title:`${n.status} - ${n.statusText} | ${n.appName}`,script:[{innerHTML:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver(e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)}).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1,h2{font-size:inherit;font-weight:inherit}h1,h2,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(h,m)=>(a(),i("div",u,[t("div",l,[t("h1",{class:"font-semibold leading-none mb-4 sm:text-[110px] tabular-nums text-[80px]",textContent:r(e.status)},null,8,c),t("h2",{class:"font-semibold mb-2 sm:text-3xl text-2xl",textContent:r(e.statusText)},null,8,d),t("p",{class:"mb-4 px-2 text-[#64748B] text-md",textContent:r(e.description)},null,8,p)])]))}},b=o(f,[["__scopeId","data-v-784a2264"]]);export{b as default};
@@ -1,4 +1,4 @@
1
- import{C as fe,q as me,S as Tt,s as Z,w as ve,r as Nt,t as st,v as z,x as W,y as Bt,z as G,A as yt,B as dt,D as At,E as zt,F as V,G as be,H as Yt,I as ye,J as _e,X as ke,O as Zt,K as X,L as Jt,M as xe,N as Se,P as ot,Q as $t,R as Te,T as Rt,U as Ae,V as Kt,W as kt,Y as $e,Z as De,$ as Ce,a0 as Qt,a1 as we,a2 as Re,a3 as Me,a4 as Le,a5 as Ue,a6 as Ot,a7 as Et,a8 as Oe,a9 as Ee,aa as te,b as Pt,ab as Pe,ac as Xt,ad as ee,ae as ne,h as gt,i as Y,af as it,ag as je,ah as Ve,ai as qt,aj as Ie,ak as Mt,al as We,am as Fe,d as Ge,_ as He,e as Ne,f as Be,c as ze,a as Ye,g as pt,k as Ke,l as Xe,m as qe,n as Ze,o as Je,j as Qe}from"./CBiuWPro.js";import{f as Q,A as tn,E as en,v as ft,x as jt,o as F,c as K,J as nn,a1 as an,r as Vt,a6 as Dt,G as Ct,D as ae,K as se,y as oe,i as D,g as mt,w as R,a as L,t as j,b as S,I as U,$ as xt,Z as St,N as It,a7 as sn,a2 as on,d as I}from"./DRIVB4-c.js";const ln=Object.assign(Object.assign({},fe),{tooltip:void 0,annotations:void 0});class rn extends me{constructor(e,t,n){var o;super(e),this._defaultConfig=ln,this.config=this._defaultConfig,t&&(this.updateContainer(t,!0),this.component=t.component),n&&this.setData(n,!0),!((o=this.component)===null||o===void 0)&&o.datamodel.data&&this.render()}setData(e,t){var n;const{config:o}=this;this.component&&this.component.setData(e),t||this.render(),(n=o.tooltip)===null||n===void 0||n.hide()}updateContainer(e,t){super.updateContainer(e),this._removeAllChildren(),this.component=e.component,e.sizing&&(this.component.sizing=e.sizing),this.element.appendChild(this.component.element);const n=e.tooltip;n&&(n.hasContainer()||n.setContainer(this._container),n.setComponents([this.component]));const o=e.annotations;o&&this.element.appendChild(o.element),this.element.appendChild(this._svgDefs.node()),this.element.appendChild(this._svgDefsExternal.node()),t||this.render()}updateComponent(e,t){this.component.setConfig(e),t||this.render()}update(e,t,n){e&&this.updateContainer(e,!0),t&&this.updateComponent(t,!0),n&&this.setData(n,!0),this.render()}getFitWidthScale(){const{config:e,component:t}=this,n=t;if(!n.getWidth)return 1;const o=n.getWidth()+e.margin.left+e.margin.right;return this.width/o}_preRender(){var e,t;super._preRender(),this.component.setSize(this.width,this.height,this.containerWidth,this.containerHeight),this.component.setContainerMargin(this.config.margin),(e=this.config.annotations)===null||e===void 0||e.setSize(this.width,this.height,this.containerWidth,this.containerHeight),(t=this.config.annotations)===null||t===void 0||t.setContainerMargin(this.config.margin)}_render(e){var t,n;const{config:o,component:r}=this;super._render(e),r.g.attr("transform",`translate(${o.margin.left},${o.margin.top})`),r.render(e),(t=o.annotations)===null||t===void 0||t.render(e),o.tooltip&&o.tooltip.update(),(n=o.onRenderComplete)===null||n===void 0||n.call(o,this.svg.node(),o.margin,this.containerWidth,this.containerHeight,this.width,this.height)}render(e=this.config.duration){const{config:t,component:n}=this;if(t.sizing===Tt.Extend||t.sizing===Tt.FitWidth){const o=t.sizing===Tt.FitWidth,r=n,s=r.getWidth()+t.margin.left+t.margin.right,a=r.getHeight()+t.margin.top+t.margin.bottom,d=o?this.getFitWidthScale():1,l=this.svg.attr("width"),i=this.svg.attr("height"),g=s*d,m=a*d,v=l||i;Z(this.svg,v?e:0).attr("width",g).attr("height",m).attr("viewBox",`0 0 ${s} ${o?m:a}`).attr("preserveAspectRatio","xMinYMin")}else this.svg.attr("width",this.config.width||this.containerWidth).attr("height",this.config.height||this.containerHeight);this._resizeObserver||this._setUpResizeObserver(),cancelAnimationFrame(this._renderAnimationFrameId),this._renderAnimationFrameId=requestAnimationFrame(()=>{this._preRender(),this._render(e)})}_onResize(){var e;const{config:t}=this;super._onResize(),(e=t.tooltip)===null||e===void 0||e.hide()}destroy(){var e,t;const{component:n,config:o}=this;super.destroy(),n?.destroy(),(e=o.tooltip)===null||e===void 0||e.destroy(),(t=o.annotations)===null||t===void 0||t.destroy()}}function cn(p){return p.innerRadius}function un(p){return p.outerRadius}function dn(p){return p.startAngle}function gn(p){return p.endAngle}function hn(p){return p&&p.padAngle}function pn(p,e,t,n,o,r,s,a){var d=t-p,l=n-e,i=s-o,g=a-r,m=g*d-i*l;if(!(m*m<G))return m=(i*(e-r)-g*(p-o))/m,[p+m*d,e+m*l]}function vt(p,e,t,n,o,r,s){var a=p-t,d=e-n,l=(s?r:-r)/dt(a*a+d*d),i=l*d,g=-l*a,m=p+i,v=e+g,h=t+i,y=n+g,u=(m+h)/2,k=(v+y)/2,C=h-m,w=y-v,M=C*C+w*w,b=o-r,c=m*y-h*v,f=(w<0?-1:1)*dt(be(0,b*b*M-c*c)),A=(c*w-C*f)/M,E=(-c*C-w*f)/M,P=(c*w+C*f)/M,T=(-c*C+w*f)/M,O=A-u,_=E-k,$=P-u,B=T-k;return O*O+_*_>$*$+B*B&&(A=P,E=T),{cx:A,cy:E,x01:-i,y01:-g,x11:A*(o/b-1),y11:E*(o/b-1)}}function fn(){var p=cn,e=un,t=W(0),n=null,o=dn,r=gn,s=hn,a=null,d=ve(l);function l(){var i,g,m=+p.apply(this,arguments),v=+e.apply(this,arguments),h=o.apply(this,arguments)-Bt,y=r.apply(this,arguments)-Bt,u=zt(y-h),k=y>h;if(a||(a=i=d()),v<m&&(g=v,v=m,m=g),!(v>G))a.moveTo(0,0);else if(u>yt-G)a.moveTo(v*st(h),v*z(h)),a.arc(0,0,v,h,y,!k),m>G&&(a.moveTo(m*st(y),m*z(y)),a.arc(0,0,m,y,h,k));else{var C=h,w=y,M=h,b=y,c=u,f=u,A=s.apply(this,arguments)/2,E=A>G&&(n?+n.apply(this,arguments):dt(m*m+v*v)),P=At(zt(v-m)/2,+t.apply(this,arguments)),T=P,O=P,_,$;if(E>G){var B=Yt(E/m*z(A)),tt=Yt(E/v*z(A));(c-=B*2)>G?(B*=k?1:-1,M+=B,b-=B):(c=0,M=b=(h+y)/2),(f-=tt*2)>G?(tt*=k?1:-1,C+=tt,w-=tt):(f=0,C=w=(h+y)/2)}var q=v*st(C),et=v*z(C),lt=m*st(b),J=m*z(b);if(P>G){var rt=v*st(w),nt=v*z(w),ct=m*st(M),ht=m*z(M),N;if(u<Nt)if(N=pn(q,et,ct,ht,rt,nt,lt,J)){var ut=q-N[0],x=et-N[1],H=rt-N[0],at=nt-N[1],Gt=1/z(ye((ut*H+x*at)/(dt(ut*ut+x*x)*dt(H*H+at*at)))/2),Ht=dt(N[0]*N[0]+N[1]*N[1]);T=At(P,(m-Ht)/(Gt-1)),O=At(P,(v-Ht)/(Gt+1))}else T=O=0}f>G?O>G?(_=vt(ct,ht,q,et,v,O,k),$=vt(rt,nt,lt,J,v,O,k),a.moveTo(_.cx+_.x01,_.cy+_.y01),O<P?a.arc(_.cx,_.cy,O,V(_.y01,_.x01),V($.y01,$.x01),!k):(a.arc(_.cx,_.cy,O,V(_.y01,_.x01),V(_.y11,_.x11),!k),a.arc(0,0,v,V(_.cy+_.y11,_.cx+_.x11),V($.cy+$.y11,$.cx+$.x11),!k),a.arc($.cx,$.cy,O,V($.y11,$.x11),V($.y01,$.x01),!k))):(a.moveTo(q,et),a.arc(0,0,v,C,w,!k)):a.moveTo(q,et),!(m>G)||!(c>G)?a.lineTo(lt,J):T>G?(_=vt(lt,J,rt,nt,m,-T,k),$=vt(q,et,ct,ht,m,-T,k),a.lineTo(_.cx+_.x01,_.cy+_.y01),T<P?a.arc(_.cx,_.cy,T,V(_.y01,_.x01),V($.y01,$.x01),!k):(a.arc(_.cx,_.cy,T,V(_.y01,_.x01),V(_.y11,_.x11),!k),a.arc(0,0,m,V(_.cy+_.y11,_.cx+_.x11),V($.cy+$.y11,$.cx+$.x11),k),a.arc($.cx,$.cy,T,V($.y11,$.x11),V($.y01,$.x01),!k))):a.arc(0,0,m,b,M,k)}if(a.closePath(),i)return a=null,i+""||null}return l.centroid=function(){var i=(+p.apply(this,arguments)+ +e.apply(this,arguments))/2,g=(+o.apply(this,arguments)+ +r.apply(this,arguments))/2-Nt/2;return[st(g)*i,z(g)*i]},l.innerRadius=function(i){return arguments.length?(p=typeof i=="function"?i:W(+i),l):p},l.outerRadius=function(i){return arguments.length?(e=typeof i=="function"?i:W(+i),l):e},l.cornerRadius=function(i){return arguments.length?(t=typeof i=="function"?i:W(+i),l):t},l.padRadius=function(i){return arguments.length?(n=i==null?null:typeof i=="function"?i:W(+i),l):n},l.startAngle=function(i){return arguments.length?(o=typeof i=="function"?i:W(+i),l):o},l.endAngle=function(i){return arguments.length?(r=typeof i=="function"?i:W(+i),l):r},l.padAngle=function(i){return arguments.length?(s=typeof i=="function"?i:W(+i),l):s},l.context=function(i){return arguments.length?(a=i??null,l):a},l}function mn(p,e){return e<p?-1:e>p?1:e>=p?0:NaN}function vn(p){return p}function bn(){var p=vn,e=mn,t=null,n=W(0),o=W(yt),r=W(0);function s(a){var d,l=(a=_e(a)).length,i,g,m=0,v=new Array(l),h=new Array(l),y=+n.apply(this,arguments),u=Math.min(yt,Math.max(-yt,o.apply(this,arguments)-y)),k,C=Math.min(Math.abs(u)/l,r.apply(this,arguments)),w=C*(u<0?-1:1),M;for(d=0;d<l;++d)(M=h[v[d]=d]=+p(a[d],d,a))>0&&(m+=M);for(e!=null?v.sort(function(b,c){return e(h[b],h[c])}):t!=null&&v.sort(function(b,c){return t(a[b],a[c])}),d=0,g=m?(u-l*w)/m:0;d<l;++d,y=k)i=v[d],M=h[i],k=y+(M>0?M*g:0)+w,h[i]={data:a[i],index:d,value:M,startAngle:y,endAngle:k,padAngle:C};return h}return s.value=function(a){return arguments.length?(p=typeof a=="function"?a:W(+a),s):p},s.sortValues=function(a){return arguments.length?(e=a,t=null,s):e},s.sort=function(a){return arguments.length?(t=a,e=null,s):t},s.startAngle=function(a){return arguments.length?(n=typeof a=="function"?a:W(+a),s):n},s.endAngle=function(a){return arguments.length?(o=typeof a=="function"?a:W(+a),s):o},s.padAngle=function(a){return arguments.length?(r=typeof a=="function"?a:W(+a),s):r},s}function yn({x:p,y:e,w:t,h:n,tl:o=!1,tr:r=!1,bl:s=!1,br:a=!1,r:d=0}){let l;l=`M${p+d},${e}h${t-2*d}`;let i=r?d:0,g=r?0:d;return l+=`a${i},${i} 0 0 1 ${i},${i}`,l+=`h${g}v${g}`,l+=`v${n-2*d}`,i=a?d:0,g=a?0:d,l+=`a${i},${i} 0 0 1 ${-i},${i}`,l+=`v${g}h${-g}`,l+=`h${2*d-t}`,i=s?d:0,g=s?0:d,l+=`a${i},${i} 0 0 1 ${-i},${-i}`,l+=`h${-g}v${-g}`,l+=`v${2*d-n}`,i=o?d:0,g=o?0:d,l+=`a${i},${i} 0 0 1 ${i},${-i}`,l+=`v${-g}h${g}`,l+="z",l}const _n=Object.assign(Object.assign({},ke),{color:void 0,barMaxWidth:void 0,barWidth:void 0,dataStep:void 0,barPadding:0,roundedCorners:2,cursor:null,barMinHeight1Px:!1,barMinHeightZeroValue:null,orientation:Zt.Vertical}),ie=X`
1
+ import{C as fe,q as me,S as Tt,s as Z,w as ve,r as Nt,t as st,v as z,x as W,y as Bt,z as G,A as yt,B as dt,D as At,E as zt,F as V,G as be,H as Yt,I as ye,J as _e,X as ke,O as Zt,K as X,L as Jt,M as xe,N as Se,P as ot,Q as $t,R as Te,T as Rt,U as Ae,V as Kt,W as kt,Y as $e,Z as De,$ as Ce,a0 as Qt,a1 as we,a2 as Re,a3 as Me,a4 as Le,a5 as Ue,a6 as Ot,a7 as Et,a8 as Oe,a9 as Ee,aa as te,b as Pt,ab as Pe,ac as Xt,ad as ee,ae as ne,h as gt,i as Y,af as it,ag as je,ah as Ve,ai as qt,aj as Ie,ak as Mt,al as We,am as Fe,d as Ge,_ as He,e as Ne,f as Be,c as ze,a as Ye,g as pt,k as Ke,l as Xe,m as qe,n as Ze,o as Je,j as Qe}from"./BNf7fR7M.js";import{f as Q,A as tn,E as en,v as ft,x as jt,o as F,c as K,J as nn,a1 as an,r as Vt,a6 as Dt,G as Ct,D as ae,K as se,y as oe,i as D,g as mt,w as R,a as L,t as j,b as S,I as U,$ as xt,Z as St,N as It,a7 as sn,a2 as on,d as I}from"./DoxGa6D0.js";const ln=Object.assign(Object.assign({},fe),{tooltip:void 0,annotations:void 0});class rn extends me{constructor(e,t,n){var o;super(e),this._defaultConfig=ln,this.config=this._defaultConfig,t&&(this.updateContainer(t,!0),this.component=t.component),n&&this.setData(n,!0),!((o=this.component)===null||o===void 0)&&o.datamodel.data&&this.render()}setData(e,t){var n;const{config:o}=this;this.component&&this.component.setData(e),t||this.render(),(n=o.tooltip)===null||n===void 0||n.hide()}updateContainer(e,t){super.updateContainer(e),this._removeAllChildren(),this.component=e.component,e.sizing&&(this.component.sizing=e.sizing),this.element.appendChild(this.component.element);const n=e.tooltip;n&&(n.hasContainer()||n.setContainer(this._container),n.setComponents([this.component]));const o=e.annotations;o&&this.element.appendChild(o.element),this.element.appendChild(this._svgDefs.node()),this.element.appendChild(this._svgDefsExternal.node()),t||this.render()}updateComponent(e,t){this.component.setConfig(e),t||this.render()}update(e,t,n){e&&this.updateContainer(e,!0),t&&this.updateComponent(t,!0),n&&this.setData(n,!0),this.render()}getFitWidthScale(){const{config:e,component:t}=this,n=t;if(!n.getWidth)return 1;const o=n.getWidth()+e.margin.left+e.margin.right;return this.width/o}_preRender(){var e,t;super._preRender(),this.component.setSize(this.width,this.height,this.containerWidth,this.containerHeight),this.component.setContainerMargin(this.config.margin),(e=this.config.annotations)===null||e===void 0||e.setSize(this.width,this.height,this.containerWidth,this.containerHeight),(t=this.config.annotations)===null||t===void 0||t.setContainerMargin(this.config.margin)}_render(e){var t,n;const{config:o,component:r}=this;super._render(e),r.g.attr("transform",`translate(${o.margin.left},${o.margin.top})`),r.render(e),(t=o.annotations)===null||t===void 0||t.render(e),o.tooltip&&o.tooltip.update(),(n=o.onRenderComplete)===null||n===void 0||n.call(o,this.svg.node(),o.margin,this.containerWidth,this.containerHeight,this.width,this.height)}render(e=this.config.duration){const{config:t,component:n}=this;if(t.sizing===Tt.Extend||t.sizing===Tt.FitWidth){const o=t.sizing===Tt.FitWidth,r=n,s=r.getWidth()+t.margin.left+t.margin.right,a=r.getHeight()+t.margin.top+t.margin.bottom,d=o?this.getFitWidthScale():1,l=this.svg.attr("width"),i=this.svg.attr("height"),g=s*d,m=a*d,v=l||i;Z(this.svg,v?e:0).attr("width",g).attr("height",m).attr("viewBox",`0 0 ${s} ${o?m:a}`).attr("preserveAspectRatio","xMinYMin")}else this.svg.attr("width",this.config.width||this.containerWidth).attr("height",this.config.height||this.containerHeight);this._resizeObserver||this._setUpResizeObserver(),cancelAnimationFrame(this._renderAnimationFrameId),this._renderAnimationFrameId=requestAnimationFrame(()=>{this._preRender(),this._render(e)})}_onResize(){var e;const{config:t}=this;super._onResize(),(e=t.tooltip)===null||e===void 0||e.hide()}destroy(){var e,t;const{component:n,config:o}=this;super.destroy(),n?.destroy(),(e=o.tooltip)===null||e===void 0||e.destroy(),(t=o.annotations)===null||t===void 0||t.destroy()}}function cn(p){return p.innerRadius}function un(p){return p.outerRadius}function dn(p){return p.startAngle}function gn(p){return p.endAngle}function hn(p){return p&&p.padAngle}function pn(p,e,t,n,o,r,s,a){var d=t-p,l=n-e,i=s-o,g=a-r,m=g*d-i*l;if(!(m*m<G))return m=(i*(e-r)-g*(p-o))/m,[p+m*d,e+m*l]}function vt(p,e,t,n,o,r,s){var a=p-t,d=e-n,l=(s?r:-r)/dt(a*a+d*d),i=l*d,g=-l*a,m=p+i,v=e+g,h=t+i,y=n+g,u=(m+h)/2,k=(v+y)/2,C=h-m,w=y-v,M=C*C+w*w,b=o-r,c=m*y-h*v,f=(w<0?-1:1)*dt(be(0,b*b*M-c*c)),A=(c*w-C*f)/M,E=(-c*C-w*f)/M,P=(c*w+C*f)/M,T=(-c*C+w*f)/M,O=A-u,_=E-k,$=P-u,B=T-k;return O*O+_*_>$*$+B*B&&(A=P,E=T),{cx:A,cy:E,x01:-i,y01:-g,x11:A*(o/b-1),y11:E*(o/b-1)}}function fn(){var p=cn,e=un,t=W(0),n=null,o=dn,r=gn,s=hn,a=null,d=ve(l);function l(){var i,g,m=+p.apply(this,arguments),v=+e.apply(this,arguments),h=o.apply(this,arguments)-Bt,y=r.apply(this,arguments)-Bt,u=zt(y-h),k=y>h;if(a||(a=i=d()),v<m&&(g=v,v=m,m=g),!(v>G))a.moveTo(0,0);else if(u>yt-G)a.moveTo(v*st(h),v*z(h)),a.arc(0,0,v,h,y,!k),m>G&&(a.moveTo(m*st(y),m*z(y)),a.arc(0,0,m,y,h,k));else{var C=h,w=y,M=h,b=y,c=u,f=u,A=s.apply(this,arguments)/2,E=A>G&&(n?+n.apply(this,arguments):dt(m*m+v*v)),P=At(zt(v-m)/2,+t.apply(this,arguments)),T=P,O=P,_,$;if(E>G){var B=Yt(E/m*z(A)),tt=Yt(E/v*z(A));(c-=B*2)>G?(B*=k?1:-1,M+=B,b-=B):(c=0,M=b=(h+y)/2),(f-=tt*2)>G?(tt*=k?1:-1,C+=tt,w-=tt):(f=0,C=w=(h+y)/2)}var q=v*st(C),et=v*z(C),lt=m*st(b),J=m*z(b);if(P>G){var rt=v*st(w),nt=v*z(w),ct=m*st(M),ht=m*z(M),N;if(u<Nt)if(N=pn(q,et,ct,ht,rt,nt,lt,J)){var ut=q-N[0],x=et-N[1],H=rt-N[0],at=nt-N[1],Gt=1/z(ye((ut*H+x*at)/(dt(ut*ut+x*x)*dt(H*H+at*at)))/2),Ht=dt(N[0]*N[0]+N[1]*N[1]);T=At(P,(m-Ht)/(Gt-1)),O=At(P,(v-Ht)/(Gt+1))}else T=O=0}f>G?O>G?(_=vt(ct,ht,q,et,v,O,k),$=vt(rt,nt,lt,J,v,O,k),a.moveTo(_.cx+_.x01,_.cy+_.y01),O<P?a.arc(_.cx,_.cy,O,V(_.y01,_.x01),V($.y01,$.x01),!k):(a.arc(_.cx,_.cy,O,V(_.y01,_.x01),V(_.y11,_.x11),!k),a.arc(0,0,v,V(_.cy+_.y11,_.cx+_.x11),V($.cy+$.y11,$.cx+$.x11),!k),a.arc($.cx,$.cy,O,V($.y11,$.x11),V($.y01,$.x01),!k))):(a.moveTo(q,et),a.arc(0,0,v,C,w,!k)):a.moveTo(q,et),!(m>G)||!(c>G)?a.lineTo(lt,J):T>G?(_=vt(lt,J,rt,nt,m,-T,k),$=vt(q,et,ct,ht,m,-T,k),a.lineTo(_.cx+_.x01,_.cy+_.y01),T<P?a.arc(_.cx,_.cy,T,V(_.y01,_.x01),V($.y01,$.x01),!k):(a.arc(_.cx,_.cy,T,V(_.y01,_.x01),V(_.y11,_.x11),!k),a.arc(0,0,m,V(_.cy+_.y11,_.cx+_.x11),V($.cy+$.y11,$.cx+$.x11),k),a.arc($.cx,$.cy,T,V($.y11,$.x11),V($.y01,$.x01),!k))):a.arc(0,0,m,b,M,k)}if(a.closePath(),i)return a=null,i+""||null}return l.centroid=function(){var i=(+p.apply(this,arguments)+ +e.apply(this,arguments))/2,g=(+o.apply(this,arguments)+ +r.apply(this,arguments))/2-Nt/2;return[st(g)*i,z(g)*i]},l.innerRadius=function(i){return arguments.length?(p=typeof i=="function"?i:W(+i),l):p},l.outerRadius=function(i){return arguments.length?(e=typeof i=="function"?i:W(+i),l):e},l.cornerRadius=function(i){return arguments.length?(t=typeof i=="function"?i:W(+i),l):t},l.padRadius=function(i){return arguments.length?(n=i==null?null:typeof i=="function"?i:W(+i),l):n},l.startAngle=function(i){return arguments.length?(o=typeof i=="function"?i:W(+i),l):o},l.endAngle=function(i){return arguments.length?(r=typeof i=="function"?i:W(+i),l):r},l.padAngle=function(i){return arguments.length?(s=typeof i=="function"?i:W(+i),l):s},l.context=function(i){return arguments.length?(a=i??null,l):a},l}function mn(p,e){return e<p?-1:e>p?1:e>=p?0:NaN}function vn(p){return p}function bn(){var p=vn,e=mn,t=null,n=W(0),o=W(yt),r=W(0);function s(a){var d,l=(a=_e(a)).length,i,g,m=0,v=new Array(l),h=new Array(l),y=+n.apply(this,arguments),u=Math.min(yt,Math.max(-yt,o.apply(this,arguments)-y)),k,C=Math.min(Math.abs(u)/l,r.apply(this,arguments)),w=C*(u<0?-1:1),M;for(d=0;d<l;++d)(M=h[v[d]=d]=+p(a[d],d,a))>0&&(m+=M);for(e!=null?v.sort(function(b,c){return e(h[b],h[c])}):t!=null&&v.sort(function(b,c){return t(a[b],a[c])}),d=0,g=m?(u-l*w)/m:0;d<l;++d,y=k)i=v[d],M=h[i],k=y+(M>0?M*g:0)+w,h[i]={data:a[i],index:d,value:M,startAngle:y,endAngle:k,padAngle:C};return h}return s.value=function(a){return arguments.length?(p=typeof a=="function"?a:W(+a),s):p},s.sortValues=function(a){return arguments.length?(e=a,t=null,s):e},s.sort=function(a){return arguments.length?(t=a,e=null,s):t},s.startAngle=function(a){return arguments.length?(n=typeof a=="function"?a:W(+a),s):n},s.endAngle=function(a){return arguments.length?(o=typeof a=="function"?a:W(+a),s):o},s.padAngle=function(a){return arguments.length?(r=typeof a=="function"?a:W(+a),s):r},s}function yn({x:p,y:e,w:t,h:n,tl:o=!1,tr:r=!1,bl:s=!1,br:a=!1,r:d=0}){let l;l=`M${p+d},${e}h${t-2*d}`;let i=r?d:0,g=r?0:d;return l+=`a${i},${i} 0 0 1 ${i},${i}`,l+=`h${g}v${g}`,l+=`v${n-2*d}`,i=a?d:0,g=a?0:d,l+=`a${i},${i} 0 0 1 ${-i},${i}`,l+=`v${g}h${-g}`,l+=`h${2*d-t}`,i=s?d:0,g=s?0:d,l+=`a${i},${i} 0 0 1 ${-i},${-i}`,l+=`h${-g}v${-g}`,l+=`v${2*d-n}`,i=o?d:0,g=o?0:d,l+=`a${i},${i} 0 0 1 ${i},${-i}`,l+=`v${-g}h${g}`,l+="z",l}const _n=Object.assign(Object.assign({},ke),{color:void 0,barMaxWidth:void 0,barWidth:void 0,dataStep:void 0,barPadding:0,roundedCorners:2,cursor:null,barMinHeight1Px:!1,barMinHeightZeroValue:null,orientation:Zt.Vertical}),ie=X`
2
2
  label: stacked-bar-component;
3
3
  `,kn=Jt`
4
4
  :root {