import{f as y,s as v,j as a,c as p,b as r,w as n,a as e,t as d,g as c,F as w,r as j,h as z,i as I,H as E,o as i,d as L,T as R}from"./entry.e017eb4f.js";import{_ as A}from"./Image.e40f281f.js";import{_ as C}from"./nuxt-link.0da3f327.js";import{_ as P}from"./List.6437a01d.js";import{u as U}from"./fetch.f410fe8a.js";import"./_plugin-vue_export-helper.c27b6911.js";import"./ShoppingBagIcon.938b35df.js";const V={class:"bg-white pb-8 lg:pb-16"},B={class:"mx-auto max-w-7xl overflow-hidden py-4 px-4 sm:py-8 sm:px-6 lg:px-8"},F={class:"border-b border-gray-200 pb-6 mb-6 lg:pb-10 lg:mb-12"},N=e("h1",{class:"text-4xl font-bold tracking-tight text-gray-900"}," Zubehör ",-1),S={class:"mt-4 text-base text-gray-500"},T={class:"mt-6 grid grid-cols-2 gap-3 text-center lg:grid-cols-4"},Y={class:"font-semibold mt-2"},K={__name:"index",async setup(Z){let s,l;const{data:o}=([s,l]=y(()=>U(a().public.API_URL+"/api/accessories?type=zubehor","$v2k96JTJRh")),s=await s,l(),s);o||v("Seite nicht gefunden");const g=[{name:"Anbaugeräte",url:"/zubehoer/zubehor/anbaugerate",image:a().public.API_URL+"/storage/accessories/nYym7R6Jvzl3YjuEcU5PZC8sUE7FNVgkp1ubw49C.jpg"},{name:"Solis Anbaugeräte",url:"/zubehoer/zubehor/solis-anbaugerate",image:a().public.API_URL+"/storage/accessories/XYFjfIDIxC7teYo6cssLoFob8P3fYt3mVj0Xmn95.jpg"},{name:"Einachskipper",url:"/zubehoer/zubehor/einachskipper",image:a().public.API_URL+"/storage/accessories/kTlGEjiczUBfgeav05EEbIdbRBV2qOw72ImpY8t3.jpg"}];return(D,H)=>{var u,_,m;const b=R,h=E,f=A,x=C,k=P;return i(),p("div",V,[r(h,null,{default:n(()=>[r(b,null,{default:n(()=>[L("Zubehör | Solis")]),_:1})]),_:1}),e("div",B,[e("div",F,[N,e("p",S," Durchstöbern Sie alle "+d(((_=(u=c(o))==null?void 0:u.accessories)==null?void 0:_.length)||0)+" Zubehörartikel für unsere Solis Modelle. ",1),e("div",T,[(i(),p(w,null,j(g,t=>r(x,{key:t.name,href:t.url,class:"block group overflow-hidden rounded-lg"},{default:n(()=>[r(f,{src:t.image,alt:t.name,class:"block w-full rounded-lg bg-gray-100 object-cover transform group-hover:scale-95 transition duration-300 ease-in-out"},null,8,["src","alt"]),e("div",Y,d(t.name),1)]),_:2},1032,["href"])),64))])]),(m=c(o))!=null&&m.accessories?(i(),z(k,{key:0,products:c(o).accessories,"is-accessory":"",sortable:""},null,8,["products"])):I("",!0)])])}}};export{K as default};