1import{_ as B}from"./CvR--EQ1.js";import{_ as P}from"./C4Y5jTCh.js";import{_ as k}from"./D7CHtETL.js";import{_ as z,w as C,S as y,u as N,b as q,d as F,e as H,a as l,s as c,g as M,i as o,j as b,h as i,t as $,F as K,r as U,p as O,C as u,y as I,v as h,m as R,l as V,z as W}from"./Wbye8ACx.js";import{u as G}from"./D7oJVgXW.js";const J={class:"app-header-offset"},Q={class:"artists-page"},X={class:"artists-breadcrumbs"},Y={class:"artists-hero"},Z={class:"artists-hero__title"},ee={class:"artists-hero__desc"},se={class:"artists-grid"},L=20,te={__name:"index",async setup(ae){let r,v;const e=O().params.lang||"en",f={en:{home:"Home",artists:"Artists",allArtists:"All Artists",desc:"Discover artists on edjing Mix. Listen on Apple Music and create your own live mixes."},es:{home:"Inicio",artists:"Artistas",allArtists:"Todos los Artistas",desc:"Descubre artistas en edjing Mix. Escucha en Apple Music y crea tus propias mezclas en vivo."},fr:{home:"Accueil",artists:"Artistes",allArtists:"Tous les Artistes",desc:"Découvrez des artistes sur edjing Mix. Ãcoutez sur Apple Music et créez vos propres mixes en direct."},pt:{home:"InÃcio",artists:"Artistas",allArtists:"Todos os Artistas",desc:"Descubra artistas no edjing Mix. Ouça no Apple Music e crie seus próprios mixes ao vivo."},de:{home:"Startseite",artists:"Künstler",allArtists:"Alle Künstler",desc:"Entdecke Künstler auf edjing Mix. Höre auf Apple Music und erstelle deine eigenen Live-Mixe."},ja:{home:"ãã¼ã ",artists:"ã¢ã¼ãã£ã¹ã",allArtists:"ãã¹ã¦ã®ã¢ã¼ãã£ã¹ã",desc:"edjing Mixã§ã¢ã¼ãã£ã¹ããçºè¦ãApple Musicã§è´ãã¦ãèªåã ãã®ã©ã¤ãããã¯ã¹ã使ã"}},t=s=>f[e]?.[s]||f.en[s],A=u(1),n=u([]),x=u(0),{data:m}=([r,v]=C(()=>G("/api/seo/artists",{query:{lang:e,page:1,limit:L}},"$5vI5C2qDNA")),r=await r,v(),r);m.value&&(n.value=m.value.items||[],x.value=m.value.total||0);const j=I(()=>n.value),w=I(()=>n.value.length<x.value),p=u(!1);async function D(){p.value=!0;try{A.value++;const s=await $fetch("/api/seo/artists",{query:{lang:e,page:A.value,limit:L}});s?.items&&(n.value=[...n.value,...s.items])}finally{p.value=!1}}const d=`${t("allArtists")} â ${y}`,_=t("desc"),g=`${l}${c(e)}/artists`;return N({htmlAttrs:{lang:e},title:d,meta:[{name:"description",content:_},{property:"og:title",content:d},{property:"og:description",content:_},{property:"og:url",content:g},{property:"og:type",content:"website"},{property:"og:site_name",content:y},{property:"og:locale",content:V[e]||"en_US"},{name:"twitter:card",content:"summary_large_image"}],link:[{rel:"canonical",href:g},...W.map(s=>({rel:"alternate",hreflang:s,href:`${l}${c(s)}/artists`})),{rel:"alternate",hreflang:"x-default",href:`${l}/artists`}]}),q([F({"@type":"CollectionPage",name:d,description:_}),H({itemListElement:[{name:t("home"),item:`${l}${c(e)}`},{name:t("artists"),item:g}]})]),(s,ne)=>{const E=B,S=P,T=k;return h(),M("div",J,[o("div",Q,[o("nav",X,[b(E,{lang:i(e),items:[{label:t("home"),to:i(c)(i(e))||"/"},{label:t("artists")}]},null,8,["lang","items"])]),o("section",Y,[o("h1",Z,$(t("allArtists")),1),o("p",ee,$(t("desc")),1)]),o("div",se,[(h(!0),M(K,null,U(j.value,a=>(h(),R(S,{key:a.uuid,uuid:a.uuid,slug:a.slug,name:a.seo.name,image:a.seo.image,tags:a.tags||[],lang:i(e)},null,8,["uuid","slug","name","image","tags","lang"]))),128))]),b(T,{lang:i(e),"has-more":w.value,loading:p.value,onLoadMore:D},null,8,["lang","has-more","loading"])])])}}},me=z(te,[["__scopeId","data-v-4ba6e6ed"]]);export{me 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.