PageSourceSearch

https://rentaltide.com/assets/TipsSection-Woupzp7F.js

js rentaltide.com collected 2026-10-02 06:58:09 UTC 2,212 bytes, 1 lines download raw bytes

1import{u as n,j as e,S as d,L as i}from"./index-BP495Wq2.js";import{u as o,t as x,f as m}from"./tipAnalytics-CY28yMNy.js";import{J as l,ac as h}from"./vendor-icons-DySKCv4q.js";const u=3,N=()=>{const{t:a}=n(),{data:c,isLoading:t}=o(),r=(c??[]).slice(0,u);return!t&&r.length===0?null:e.jsx("section",{id:"tips",className:"rt-section",children:e.jsxs("div",{className:"rt-container",children:[e.jsx(d,{eyebrow:a("tipsSection.eyebrow"),title:a("tipsSection.title"),lead:a("tipsSection.lead"),aside:e.jsxs(i,{className:"rt-link text-[0.9375rem]",to:"/tips",children:[a("tipsSection.browseAll"),e.jsx(l,{className:"rt-arrow","aria-hidden":"true"})]})}),t?e.jsx("div",{className:"rt-cards rt-cards--3",children:[0,1,2].map(s=>e.jsx("div",{className:"h-56 rounded-xl border border-hairline bg-surface-sunken","aria-hidden":"true"},s))}):e.jsx("div",{className:"rt-cards rt-cards--3",children:r.map(s=>e.jsxs(i,{to:`/tips/${s.slug}`,className:"rt-card rt-card--link group flex h-full flex-col !p-0 overflow-hidden",onClick:()=>x("tip_card_click",{slug:s.slug,source:"home"}),children:[s.poster&&e.jsxs("span",{className:"relative block border-b border-hairline",children:[e.jsx("img",{src:s.poster,alt:"",width:"640",height:"360",loading:"lazy",decoding:"async",className:"rt-media rt-media--16x9"}),e.jsx("span",{className:"absolute inset-0 flex items-center justify-center",children:e.jsx("span",{className:"flex h-11 w-11 items-center justify-center rounded-full bg-surface shadow-card",children:e.jsx(h,{className:"ms-0.5 h-4 w-4 fill-ink text-ink","aria-hidden":"true"})})})]}),e.jsxs("span",{className:"flex flex-1 flex-col p-5 sm:p-6",children:[e.jsxs("span",{className:"rt-readout flex flex-wrap items-center gap-x-3 text-caption text-ink-subtle",children:[e.jsx("span",{children:m(s.date)}),e.jsx("span",{children:s.readTime})]}),e.jsx("span",{className:"mt-3 block text-h3 text-ink",children:s.title}),e.jsx("span",{className:"mt-2 block flex-1 text-small text-ink-muted",children:s.blurb}),e.jsxs("span",{className:"rt-link mt-4 text-[0.875rem]",children:[s.video?a("tipsSection.watch"):a("tipsSection.read"),e.jsx(l,{className:"rt-arrow","aria-hidden":"true"})]})]})]},s.slug))})]})})};export{N 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.