PageSourceSearch

https://uppababy.co.uk/_nuxt/D03JPYWV.js

js uppababy.co.uk collected 2026-10-07 20:32:47 UTC 1,320 bytes, 1 lines download raw bytes

1import{u as _}from"./kBOQQ0-k.js";import{b as x,C as v,f as b,E as g,r as d,I as k,j as f,k as e,m as t,x as w,t as i,q as m}from"./B30BqIw0.js";const y={class:"flex flex-col bg-[#0F0C0A] transition-shadow duration-300"},C={class:"relative flex flex-col h-full p-4 px-0 overflow-hidden min-h-90 md:min-h-120"},B=["src","alt"],M={class:"relative flex flex-col justify-end h-full p-4 text-white"},j={class:"text-xl font-500 mb-2 leading-tight"},U={class:"text-base mb-4 overflow-hidden text-ellipsis line-clamp-7 w-auto"},A=["href"],N=x({__name:"PromotionCard",props:{promotion:{}},setup(u){const{getMedia:p}=_(),{t:E}=v();b();const l=u,{promotion:o}=g(l),a=d(void 0),c=d(void 0);async function h(n,s){if(n){const r=await p(n);s.value=r?.url||void 0,c.value=r?.translated?.alt||void 0}}return k(()=>{h(l.promotion.mediaId,a)}),(n,s)=>(m(),f("div",y,[e("div",C,[t(a)?(m(),f("img",{key:0,src:t(a),alt:t(c)??"",loading:"lazy",decoding:"async",class:"absolute inset-0 w-full h-full object-cover"},null,8,B)):w("",!0),s[0]||(s[0]=e("div",{class:"absolute inset-0 bg-gradient-to-b from-transparent to-black opacity-60"},null,-1)),e("div",M,[e("h3",j,i(t(o).title),1),e("p",U,i(t(o).mini_description),1),e("a",{href:t(o).linkUrl,class:"inline-block text-base font-400 underline"},i(t(o).link_text),9,A)])])]))}});export{N as _};

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.