1import{o as s,a as l,b as e,d as v,m as a,j as p,e as f,g as i,t as m,f as w,D as g,_ as y}from"./entry.D2Us7Cog.js";import{_ as C}from"./nuxt-link.CIzWJ-uT.js";import{u as B}from"./nav.BsoDAge1.js";import{a as N,u as F}from"./accommodationSearchFilter.Bbo6bf9N.js";import"./countries.B0r6r9gN.js";import{r as j}from"./ArrowRightIcon.DSNgsgFi.js";function S(o,c){return s(),l("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21 8.25c0-2.485-2.099-4.5-4.688-4.5-1.935 0-3.597 1.126-4.312 2.733-.715-1.607-2.377-2.733-4.313-2.733C5.1 3.75 3 5.765 3 8.25c0 7.22 9 12 9 12s9-4.78 9-12Z"})])}const z={key:0,class:"relative h-full w-full rounded-3xl border border-body border-opacity-25 hover:scale-105 ease-in-out duration-200"},T={key:0,class:"absolute flex gap-2 top-6 left-6 w-fit rounded-lg bg-input py-1 px-2 drop-shadow-[0_0_15px_rgba(0,0,0,0.3)] items-center"},V=e("span",{class:"text-xsmall text-body font-medium"},"Sehr beliebt",-1),A={class:"text-display-xsmall font-bold text-white drop-shadow-[0_0_8px_rgba(0,0,0,1)]"},D={class:"line-clamp-1 select-none"},J=v({__name:"DestinationCard",props:{destination:{type:Object,required:!0},buttonText:{type:String,default:"Jetzt entdecken"},buttonIcon:{type:Boolean,default:!1},isPopular:{type:Boolean,default:!1},forceWrap:{type:Boolean,default:!1}},setup(o){const{closeNav:c}=B(),{refresh:_}=N(),{filter:r,cloneFilterToActive:x,resetFilter:b}=F(),t=o,d=()=>{c(),t.destination.locationFilter&&(b(),r.value.attributes||(r.value.attributes={}),r.value.attributes.environment=[t.destination.locationFilter],x(),_())};return($,n)=>{const h=y,u=C;return o.destination?(s(),l("div",z,[a(u,{to:t.destination.link||"/search",onClick:n[0]||(n[0]=k=>d())},{default:p(()=>[a(h,{format:"webp",placeholder:"",src:o.destination.image,alt:"Vorschau",class:"w-full h-full object-cover rounded-3xl",loading:"lazy",quality:"30",sizes:"sm:30vw xl:30vw"},null,8,["src"])]),_:1},8,["to"]),t.isPopular?(s(),l("div",T,[a(f(S),{class:"h-5 w-5 stroke-[2.2]"}),V])):i("",!0),e("div",{class:g(["absolute flex flex-wrap justify-between items-center gap-4 bottom-6 left-6 right-6",{"flex-col !items-start":t.forceWrap}])},[e("span",A,m(t.destination.linkText||t.destination.title),1),t.destination.link||t.destination.locationFilter?(s(),w(u,{key:0,href:t.destination.link||"/search",class:"btn btn-small btn-icon gap-2",onClick:n[1]||(n[1]=k=>d())},{default:p(()=>[e("span",D,m(t.buttonText),1),a(f(j),{class:"w-5"})]),_:1},8,["href"])):i("",!0)],2)])):i("",!0)}}});export{J as _,S as r};
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.