import{a as u}from"./RoundedButton.f48696b9.js";import{_ as a,o as s,c as o,a as e,b as h,C as m,n as g,g as _,h as p,t as f}from"./entry.01d4b5f9.js";const b={props:{icon:{type:String,required:!0,default:"info"},design:{type:String,required:!0,default:"1"}},data(){return{}},computed:{classes(){return`${{1:"bg-primary-light hover:bg-primary hover:text-white-light text-[#4C6287] text-white active:bg-primary-lighter active:text-white-light",2:"bg-secondary-light hover:bg-secondary hover:text-white-light text-[#4C6287] text-white active:bg-secondary-lighter active:text-white-light",3:"bg-ternary-light hover:bg-ternary hover:text-white-light text-[#4C6287] text-white active:bg-ternary-lighter active:text-white-light"}[this.design]}`}}},x={href:"#"},y={class:"flex flex-col justify-between"},v={class:"mb-10 min-h-[7rem] text-3xl font-bold"},w=e("div",{class:"justify-end"},[e("p",{class:"tiny mb-2 font-medium"},"EN SAVOIR +"),e("div",{class:"h-0.5 w-24 rounded-full bg-white/40"},[e("div",{class:"transition-width transition-slowest ease h-0.5 w-0 rounded-full bg-white group-hover:w-full"})])],-1);function C(t,c,r,l,d,n){const i=u;return s(),o("a",x,[e("div",{class:g(`${n.classes} group overflow-hidden rounded-3xl px-10 pb-14 pt-16 transition-colors`)},[h(i,{icon:r.icon,class:"mb-8 h-[2.5rem] w-[2.5rem]"},null,8,["icon"]),e("div",y,[e("h2",v,[m(t.$slots,"default")]),w])],2)])}const q=a(b,[["render",C]]),$={props:{number:{type:Number,required:!0,default:0},loading:{type:Boolean,required:!1,default:!1}},computed:{isNumber(){return typeof this.number=="number"}}},k={key:1,class:"text-primary flex h-[9rem] w-[9rem] items-center justify-center bg-contain bg-no-repeat text-[2.5rem] font-bold",style:{"background-image":"url('/images/BACKGROUND CHIFFRES.png')"}};function S(t,c,r,l,d,n){const i=_("Skeleton");return s(),o("div",null,[r.loading?(s(),p(i,{key:0,shape:"circle",size:"9rem"})):(s(),o("div",k,f(n.isNumber?t.$n(r.number,{minimumFractionDigits:0,maximumFractionDigits:0}):"?"),1))])}const D=a($,[["render",S]]);export{q as _,D as a};
//# sourceMappingURL=CircleNumber.c37b8f40.js.map
