import{u as x,_ as f,b as k}from"./Index-BmQFOW_h.js";import{d as b,K as p,a2 as l,a4 as B,h as o,F as c,a as d,ab as C,a7 as t,r as u,t as v,c as g,o as e,b as h}from"./index-Cj-040Sc.js";const K={class:"grid grid-cols-2 gap-4 xs:grid-cols-3 sm:grid-cols-4 sm:gap-6 md:grid-cols-5 lg:grid-cols-6"},L={key:0,class:"mt-4 text-sm text-gray-400"},$=b({__name:"Index",props:{loadingCount:{default:24}},setup(_){const{isLoading:s,providers:r,fetchProviders:n}=x(),i=p(()=>l("providers.loading-aria")),y=p(()=>l("providers.empty"));return B(()=>{n()}),(V,F)=>{const m=f;return e(),o(c,null,[d("div",K,[t(s)?(e(!0),o(c,{key:0},u(_.loadingCount,a=>(e(),g(m,{key:`provider-loading-${a}`,shimmer:"","loading-aria-label":i.value},null,8,["loading-aria-label"]))),128)):(e(!0),o(c,{key:1},u(t(r),a=>(e(),g(m,{key:a.id??a.slug,provider:a},null,8,["provider"]))),128))]),!t(s)&&t(r).length===0?(e(),o("p",L,v(y.value),1)):C("",!0)],64)}}}),N={class:"py-5 text-white"},w={path:"/providers",meta:{auth:!1,crumb:[{textKey:"breadcrumb.home",link:"/"},{textKey:"breadcrumb.casino",link:"/casino"},{textKey:"breadcrumb.providers",link:"/providers"}]}},A=b({__name:"Index",setup(_){return(s,r)=>{const n=k,i=$;return e(),o("section",null,[d("header",null,[h(n),d("h1",N,v(t(l)("providers.title-page")),1)]),h(i)])}}});export{A as default,w as page};