1import{q as v,p as h,f as r,d as a,c as i,b as t,a as m,j as g,l as p,F as z,r as F,z as B,h as N,n as j,t as d,x,s as q,i as V,m as A}from"./BiSZ_CVW.js";const C={key:0,class:"w-full py-6 lg:px-[100px] bg-[#F8F8F8]"},E={class:"w-full max-w-[1440px] mx-auto py-2 pb-6 px-4 lg:px-0 bg-[#F8F8F8] flex flex-col items-center"},P={class:"w-full flex flex-col lg:flex-row items-center justify-between mt-8 gap-6"},S={class:"font-bold text-[#022B45] text-[16px] mb-1 lg:mb-2 bricolage-grotesque-custom leading-[1.2]"},$={key:0,class:"text-[#444444] text-[12px] lg:text-[13px]"},O={__name:"ProductsOfWeek",async setup(G){let o,c;const n=A(null),{data:f}=([o,c]=v(()=>h("/api/products/productsOfWeek","$zwGQ47j8jF")),o=await o,c(),o);n.value=f.value;function b(s){return s===0?"left.svg":s===1?"middle.svg":"right.svg"}function _(s){return s===0?"right-4 top-1/2 -translate-y-1/2":s===1?"left-4 bottom-4":"left-4 top-1/2 -translate-y-1/2"}return(s,e)=>{const k=g,w=g,y=V;return r(n).length>0?(a(),i("div",C,[t("div",E,[e[2]||(e[2]=t("h2",{class:"text-[#F68B46] font-bold text-xl lg:text-2xl bricolage-grotesque-custom"}," A hét termékei ",-1)),m(k,{src:"underline.svg",alt:"underline",class:"w-[144px] lg:w-[170px] -mt-0.5 mb-4"}),e[3]||(e[3]=t("p",{class:"text-[#022B45] text-[32px] lg:text-[56px] font-bold text-center leading-[1.1] bricolage-grotesque-custom max-w-[774px] mb-4"}," Kiemelt ajánlataink a héten ",-1)),e[4]||(e[4]=t("p",{class:"text-[#022B45] max-w-[540px] text-center"},[p(" Gondosan válogatott készülékek megfizethetŠáron. "),t("br"),p(" A legkeresettebb modellek extra kedvezményekkel, azonnal készletrÅl. Minden, amit most érdemes beszerezni â kiváló állapotban, 1 év garanciával. ")],-1)),t("div",P,[r(n)?(a(!0),i(z,{key:0},F(r(n),(l,u)=>(a(),B(y,{to:`/termek/${l.link}`,key:l.id,class:"w-full lg:w-[31%] bg-no-repeat bg-contain bg-center h-[271px] lg:h-[400px] relative flex items-center justify-center",style:q({backgroundImage:`url(/${b(u)})`})},{default:N(()=>[m(w,{src:l.picUrl,alt:"Product image",loading:"lazy",decoding:"async",class:"h-[190px] lg:h-[280px] object-contain"},null,8,["src"]),t("div",{class:j(["absolute bg-white rounded-[16px] shadow-md p-4 w-[157px] shadow-box",_(u)])},[e[0]||(e[0]=t("div",{class:"bg-[#D95E1E] text-white w-fit text-[10px] mb-[10px] font-semibold rounded-lg flex items-center justify-center py-0.5 px-2"}," NAGYON NÃPSZERŰ ",-1)),t("p",S,d(l.name),1),l.price?(a(),i("p",$,"Már "+d(Number(l.price).toLocaleString("hu-HU"))+" Ft-tól",1)):x("",!0),e[1]||(e[1]=t("button",{class:"text-blue-500 border w-full border-blue-500 font-semibold rounded-full py-1 px-4 mt-4 bricolage-grotesque-custom"},"Vásárlás",-1))],2)]),_:2},1032,["to","style"]))),128)):x("",!0)])])])):x("",!0)}}};export{O as default};
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.