PageSourceSearch

https://szikm.hu/_nuxt/C4y8OHcP.js

js szikm.hu collected 2026-09-24 22:10:55 UTC 3,571 bytes, 1 lines download raw bytes

1import{_ as w}from"./DXSkES-T.js";import{_ as B}from"./DlXGWAOM.js";import{s as h,l as b,w as _,c as o,G as g,o as t,r as C,g as p,a,t as n,m as i,b as v,k as r,n as d,d as I}from"./DGsuZoXS.js";import{a as N}from"./CVgeH9P9.js";import{C as $}from"./wuwZMjsI.js";const z={key:1,class:"inline-block bg-gold p-1.5 px-4 text-blue-dark"},M=h({__name:"TagBadge",props:{tagId:{type:[String,Number],default:null},clickable:{type:Boolean,default:!0}},setup(s){return(e,l)=>{const u=B;return s.clickable&&s.tagId?(t(),b(u,{key:0,to:`/cimkek/${s.tagId}`,class:"inline-block bg-gold p-1.5 px-4 text-blue-dark transition-colors hover:bg-blue hover:text-white"},{default:_(()=>[g(e.$slots,"default")]),_:3},8,["to"])):(t(),o("span",z,[g(e.$slots,"default")]))}}}),D={key:0,class:"absolute left-4 top-4 z-10 bg-blue px-2 py-1 text-sm text-white opacity-90"},S=["href"],V={key:1,class:"inline-block"},q=["href"],P={key:0,class:"leading-1 break-words text-base"},R=["href"],T={key:1,class:"absolute bottom-0 right-0"},U=["href"],F=h({__name:"RssCard",props:{imageUrl:{default:""},imageData:{default:void 0},imageProperty:{default:"featuredImage"},tag:{default:""},tagId:{default:""},brief:{default:""},date:{default:""},variant:{default:"square"},title:{default:""},bottomCaret:{type:Boolean,default:!1},multiMedia:{default:""},color:{default:""},url:{default:""},hover:{type:Boolean,default:!0},type:{default:""}},setup(s){const e=s,l=C(!1),u=p(()=>e.brief?e.brief.length>200?e.brief.slice(0,200)+"...":e.brief:""),f=p(()=>{if(e.imageData&&e.imageProperty){const m=N(e.imageData,e.imageProperty,400,"News");if(m)return{url:m.url,provider:"strapi"}}return e.imageUrl?{url:e.imageUrl,provider:"strapi"}:{url:"/assets/img/rss.jpg",provider:"ipx"}});return(m,c)=>{const x=w,k=M;return t(),o("div",{class:d(["w-full",{"text-white":e.color==="white","text-[#151618]":e.color!=="white","grid grid-cols-1 gap-x-20 xl:col-span-2 xl:grid-cols-2":e.variant==="featured","grid gap-x-20 xl:col-span-2 xl:grid-cols-2":e.variant==="search"}]),onMouseenter:c[0]||(c[0]=y=>l.value=e.hover),onMouseleave:c[1]||(c[1]=y=>l.value=!1)},[a("div",{class:d(["multi-icon-2x relative",{"box-content border-2 border-gold p-1":e.hover,"multi-icon-3d":e.multiMedia==="3d","multi-icon-image":e.multiMedia==="image","multi-icon-video":e.multiMedia==="video"}])},[e.type?(t(),o("div",D,n(e.type),1)):i("",!0),a("a",{href:e.url,class:"block h-full overflow-hidden",tabindex:"-1","aria-hidden":"true"},[v(x,{provider:r(f).provider,src:r(f).url,alt:"",class:d(["w-full object-cover transition-all duration-300",{"scale-110":r(l),"brightness-75":r(l),"h-[285px]":e.variant==="magazine"||e.variant==="featured","h-[227px]":e.variant==="magazine-themes","aspect-square":e.variant==="square"||e.variant==="search"}])},null,8,["provider","src","class"])],8,S)],2),a("div",{class:d(["relative pt-4",{"xl:-ml-10":e.variant==="featured"}])},[a("div",null,[e.variant!=="magazine-themes"&&e.tag?(t(),b(k,{key:0,"tag-id":e.tagId,class:"mb-4 mr-4"},{default:_(()=>[I(n(e.tag),1)]),_:1},8,["tag-id"])):i("",!0),e.variant!=="magazine-themes"&&e.date?(t(),o("span",V,n(e.date),1)):i("",!0)]),a("div",{class:d(["leading-1 text-4xl font-bold",{"mt-8":e.variant==="featured","mr-32":e.variant==="featured"}])},[e.title?(t(),o("a",{key:0,class:"hyphens-auto",lang:"hu",href:e.url},n(e.title),9,q)):i("",!0)],2),r(u)?(t(),o("div",P,[a("a",{href:e.url},n(r(u)),9,R)])):i("",!0),e.bottomCaret?(t(),o("div",T,[a("a",{href:e.url,tabindex:"-1","aria-hidden":"true"},[v(r($),{class:"h-5 w-5"})],8,U)])):i("",!0)],2)],34)}}});export{M as _,F as a};

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.