PageSourceSearch

https://www.soliver.cz/_nuxt/dw5KeF3q.js

js soliver.cz collected 2026-10-05 09:47:06 UTC 3,178 bytes, 1 lines download raw bytes

1import h from"./CkXAa3y2.js";import z from"./B9qMrR8O.js";import M from"./CFHj0JFn.js";import P from"./Cyje1A3j.js";import S from"./D4oKKmn5.js";import O from"./Cyv878WI.js";import{d as A,T as L,u as t,c as l,$ as k,cA as f,ab as g,a5 as $,o as a,A as o,c$ as E,eo as F}from"./B0_CeJP0.js";import H from"./FEtobf99.js";const R={content_page:"aspect-[2/3]",brand_directory:"aspect-[4/3]"};function v(e){return e??{}}function j(e){return e??{}}function B(e){return!!v(e?.fields).logoOverlay}function W(e,r){return!!j(e).headline||r.some(s=>B(s))}function G(e,r,s){return r?{insidePlacementClasses:e==="image-slider"?"p-4 md:p-8 z-10":"px-2 py-1.5 z-10",linksClasses:"flex",linkIcon:s,disableGradient:!0}:{}}const U=A({name:"CmsCategoryTeaserBlock",__name:"CategoryTeaserBlock",props:{blok:{},imageSizes:{default:""},position:{default:0},buttonClasses:{default:""},important:{type:Boolean,default:!1},imageClass:{default:"group-hover:scale-105 duration-500"},renderMode:{default:"content-page"}},emits:["report-content-module-click"],setup(e,{emit:r}){const s=r,n=e,d=o(()=>n.blok?.fields.media?.fields?.content?.fields?.links?.[0]),i=o(()=>n.blok?.fields.media),y=o(()=>i.value?.sys.contentType.sys.id==="image"?i.value:null),b=o(()=>i.value?.sys.contentType.sys.id==="video"?i.value:null),m=o(()=>v(n.blok?.fields)),c=o(()=>B(n.blok)),u=o(()=>G(n.renderMode,c.value,H)),p=o(()=>({textContent:n.blok.fields.textContent,isBrandBanner:c.value,logoOverlay:m.value.logoOverlay??"",textContentPresentation:u.value,renderMode:n.renderMode})),x=_=>{const C=E(_?.url||F(d.value));s("report-content-module-click",{event:"click",child_content_position:n.position,child_content_name:n.blok?.fields?.uid,child_content_type:"category_teaser_block",child_content_link_url:C||"no cta"})};return(_,C)=>{const T=h;return e.blok?.fields?(a(),L("div",{key:0,class:$(["relative overflow-hidden group link-hover-target",t(c)?"cursor-pointer":"cursor-default"])},[t(y)?(a(),l(S,{key:0,blok:t(y),class:"size-full","is-cover":"","content-gradient":e.blok.fields.blackGradient,"animate-link-on-hover":"","image-class":t(c)?"":n.imageClass,placement:t(m).placement,preload:e.important,sizes:e.imageSizes,"text-content-presentation":t(u),"render-mode":e.renderMode},null,8,["blok","content-gradient","image-class","placement","preload","sizes","text-content-presentation","render-mode"])):t(b)?(a(),l(O,{key:1,blok:t(b),"is-cover":"","content-gradient":e.blok.fields.blackGradient,placement:t(m).placement,autoplay:"",class:"absolute inset-0","text-content-presentation":t(u)},null,8,["blok","content-gradient","placement","text-content-presentation"])):k("",!0),e.renderMode==="image-slider"?(a(),l(P,f(g({key:2},t(p))),null,16)):e.renderMode==="brand-directory"?(a(),l(z,f(g({key:3},t(p))),null,16)):(a(),l(M,f(g({key:4},t(p))),null,16)),t(d)?(a(),l(T,{key:5,blok:t(d),tabindex:"-1",class:"absolute inset-0 z-30 opacity-0","hide-label":"",onCtaClick:x},null,8,["blok"])):k("",!0)],2)):k("",!0)}}}),D=Object.assign(U,{__name:"CMSCategoryTeaserBlock"}),X=Object.freeze(Object.defineProperty({__proto__:null,default:D},Symbol.toStringTag,{value:"Module"}));export{X as C,R as H,D as _,j as a,W as i,v 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.