1import{_ as y,I as h,G as v,D as L,a as k}from"./BWT4Tgwy.js";import{_ as B}from"./DouE7Bpm.js";import{_ as I}from"./CwHUXaMo.js";import{u as _}from"./Ds6xenb4.js";import{a_ as j,b5 as D,aS as n,aU as s,aW as x,b8 as r,b9 as a,b0 as l,bl as p,aT as e,bn as i}from"./CR1X-UN3.js";import"./DOxLgeSQ.js";import"./Bvpd21Id.js";import"./CNMVp8bp.js";import"./D_R7RGgE.js";import"./Bq_zr2Ai.js";import"./BgPNY_lB.js";import"./5wtdjPz0.js";import"./DjMmrhrd.js";import"./LiNE6kuz.js";const S={class:"container mx-auto px-4 py-8"},T={class:"mb-12"},C={class:"mb-12"},E={class:"mb-12"},w={class:"mb-12"},N={class:"grid grid-cols-2 gap-4 sm:grid-cols-3 md:grid-cols-5"},A={class:"mb-12"},F={class:"flex flex-wrap gap-5"},G={key:0,class:"py-8 text-center text-sm text-gray-400"},V={class:"mb-12"},$={class:"grid grid-cols-2 gap-4 sm:grid-cols-3 md:grid-cols-5"},M={class:"mb-12"},U={class:"grid grid-cols-2 gap-4 sm:grid-cols-3 md:grid-cols-5"},R={class:"mb-12"},J={class:"grid grid-cols-2 gap-4 sm:grid-cols-4"},W={key:0,class:"py-8 text-center text-sm text-gray-400"},Y={class:"mb-12"},q={class:"flex flex-wrap gap-5"},z={key:0,class:"py-8 text-center text-sm text-gray-400"},ct=j({__name:"components",setup(H){const c=_(),u=_(),m=_();return D(()=>{c.search("","courses",{},0,4),u.search("","jams",{},0,4),m.search("","educators",{},0,4)}),(K,o)=>{const d=y,b=k,g=B,f=I;return e(),n("div",S,[s("section",T,[o[0]||(o[0]=s("h2",{class:"mb-6 text-2xl font-bold text-(--ui-on-surface)"},"Builder: Instruments (Algolia)",-1)),x(d,{variant:"instrument"})]),s("section",C,[o[1]||(o[1]=s("h2",{class:"mb-6 text-2xl font-bold text-(--ui-on-surface)"},"Builder: Genres (Algolia)",-1)),x(d,{variant:"genre"})]),s("section",E,[o[2]||(o[2]=s("h2",{class:"mb-6 text-2xl font-bold text-(--ui-on-surface)"},"Builder: Difficulty (Algolia)",-1)),x(d,{variant:"difficulty"})]),s("section",w,[o[3]||(o[3]=s("h2",{class:"mb-6 text-2xl font-bold text-(--ui-on-surface)"},"Browse by Instrument",-1)),s("div",N,[(e(!0),n(r,null,a(l(h),t=>(e(),i(b,{key:t.label,variant:"instrument",label:t.label,image:t.image},null,8,["label","image"]))),128))])]),s("section",A,[o[4]||(o[4]=s("h2",{class:"mb-6 text-2xl font-bold text-(--ui-on-surface)"},"Guitar Methods",-1)),s("div",F,[(e(!0),n(r,null,a(l(c).hits.value,t=>(e(),i(g,{key:t.objectID,hit:t,to:`/courses/${t.id||t.objectID}`},null,8,["hit","to"]))),128))]),l(c).isLoading.value?(e(),n("p",G," Loading... ")):p("",!0)]),s("section",V,[o[5]||(o[5]=s("h2",{class:"mb-6 text-2xl font-bold text-(--ui-on-surface)"},"Browse by Genre",-1)),s("div",$,[(e(!0),n(r,null,a(l(v),t=>(e(),i(b,{key:t.label,variant:"genre",label:t.label},null,8,["label"]))),128))])]),s("section",M,[o[6]||(o[6]=s("h2",{class:"mb-6 text-2xl font-bold text-(--ui-on-surface)"},"Browse by Difficulty",-1)),s("div",U,[(e(!0),n(r,null,a(l(L),t=>(e(),i(b,{key:t.label,variant:"difficulty",label:t.label,icon:{number:t.number,color:t.color,bgColor:t.bgColor}},null,8,["label","icon"]))),128))])]),s("section",R,[o[7]||(o[7]=s("h2",{class:"mb-6 text-2xl font-bold text-(--ui-on-surface)"},"Browse by Artist",-1)),s("div",J,[(e(!0),n(r,null,a(l(m).hits.value,t=>(e(),i(f,{key:t.objectID,hit:t},null,8,["hit"]))),128))]),l(m).isLoading.value?(e(),n("p",W," Loading... ")):p("",!0)]),s("section",Y,[o[8]||(o[8]=s("h2",{class:"mb-6 text-2xl font-bold text-(--ui-on-surface)"},"In the Jams",-1)),s("div",q,[(e(!0),n(r,null,a(l(u).hits.value,t=>(e(),i(g,{key:t.objectID,hit:t,"content-type":"jams",to:`/jams/${t.id||t.objectID}`},null,8,["hit","to"]))),128))]),l(u).isLoading.value?(e(),n("p",z," Loading... ")):p("",!0)])])}}});export{ct as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.