PageSourceSearch

https://www.villahuegel.de/app/themes/vh/public/scripts/card-grid.js

js villahuegel.de collected 2026-10-02 07:47:28 UTC 2,084 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkvh=self.webpackChunkvh||[]).push([[620],{3744:function(e,n){n.Z=(e,n)=>{const t=e.__vccOpts||e;for(const[e,i]of n)t[e]=i;return t}},2812:function(e,n,t){t.r(n),t.d(n,{default:function(){return c}});var i=t(821);var r={name:"CardGrid",components:{Card:(0,i.defineAsyncComponent)((function(){return t.e(760).then(t.bind(t,8484))}))},props:{data:{type:Array,default:function(){return[]}},linkLabel:{type:String,default:"mehr anzeigen"}},data:function(){return{activeId:null,chunkSize:4}},computed:{cardsByRows:function(){for(var e=this.data,n=[],t=0;t<e.length;t+=this.chunkSize)n.push(e.slice(t,t+this.chunkSize));return n}},mounted:function(){var e=this;this.mediaQueries=[{chunkSize:1,mq:window.matchMedia("screen and (max-width: 767px)")},{chunkSize:2,mq:window.matchMedia("screen and (min-width: 768px) and (max-width: 1439px)")},{chunkSize:4,mq:window.matchMedia("screen and (min-width: 1440px)")}],this.mediaQueries.map((function(n){n.mq.addListener(e.queryMatches.bind(e,n)),e.queryMatches(n)}))},beforeDestroy:function(){var e=this;this.mediaQueries&&this.mediaQueries.map((function(n){return n.mq.removeListener(e.queryMatches)}))},methods:{queryMatches:function(e){e.mq.matches&&(this.chunkSize=e.chunkSize)},isRowActive:function(e){var n=this;return e.filter((function(e){return e.id===n.activeId})).length>0}}};var c=(0,t(3744).Z)(r,[["render",function(e,n,t,r,c,a){var o=(0,i.resolveComponent)("card");return(0,i.openBlock)(),(0,i.createElementBlock)("section",null,[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(a.cardsByRows,(function(e,n){return(0,i.openBlock)(),(0,i.createElementBlock)("div",{key:n,class:"tour-card-grid mx-0"},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e,(function(e){return(0,i.openBlock)(),(0,i.createElementBlock)("div",{key:e.id,class:"card-item"},[(0,i.createVNode)(o,{id:e.id,href:e.url,title:e.title,"link-label":t.linkLabel,image:e.image,copy:e.type},null,8,["id","href","title","link-label","image","copy"])])})),128))])})),128))])}]])}}]);

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.