PageSourceSearch

https://freelance.ru/blog/_nuxt/CUesLISm.js

js freelance.ru collected 2026-09-24 08:27:14 UTC 3,043 bytes, 1 lines download raw bytes

1import{d as g,u as k,o as n,c as l,e,F as z,q as f,t as o,G as $,x as w,j as y,_ as h,v as A,f as _,w as v,h as a,T as C,i as N,y as B,E as D,p as E,s as I,m as S}from"./CH5a0IXq.js";import{i as V,c as M}from"./QxJr17T0.js";const T=["src","alt"],F=g({__name:"Avatar",props:{name:{},src:{},size:{default:24}},setup(t){const s=t,u=k(),c=w(!1),m=y(()=>!!s.src&&!c.value);return(r,i)=>(n(),l("span",{class:"ava",style:$({width:t.size+"px",height:t.size+"px",fontSize:Math.round(t.size*.42)+"px"})},[e(m)?(n(),l("img",{key:0,src:e(u)(s.src),alt:t.name,onError:i[0]||(i[0]=d=>c.value=!0)},null,40,T)):(n(),l(z,{key:1},[f(o(("initials"in r?r.initials:e(V))(t.name)),1)],64))],4))}}),P=h(F,[["__scopeId","data-v-e06c8941"]]),U=["src","alt","width","height","loading","fetchpriority"],j={class:"card__body"},q={class:"badge card__badge"},G={class:"card__excerpt"},L={class:"card__foot"},Y={class:"card__author"},H=["datetime"],J={class:"card__read"},K=g({__name:"PostCard",props:{post:{},featured:{type:Boolean,default:!1},heading:{default:"h2"},surface:{default:void 0},position:{default:void 0}},setup(t){const s=t,u=k(),c=y(()=>`/${s.post.slug}-${s.post.id}`),{$tracker:m}=A();function r(){m?.track({event_name:"blog_card_click",entity_type:"post",entity_id:s.post.id,surface:s.surface,position:s.position,props:{post_type:s.post.type,slug:s.post.slug}})}return(i,d)=>{const p=E,b=P,x=I;return n(),l("article",{class:D(["card",{"card--feat":t.featured}]),onClick:r},[_(p,{to:e(c),class:"card__media",tabindex:"-1","aria-hidden":"true"},{default:v(()=>[a("img",{src:e(u)(t.post.cover.url),alt:t.post.cover.alt,width:t.post.cover.width,height:t.post.cover.height,loading:t.featured?"eager":"lazy",fetchpriority:t.featured?"high":"auto"},null,8,U)]),_:1},8,["to"]),a("div",j,[a("span",q,o(e(C)[t.post.type]),1),(n(),N(B(t.heading),{class:"card__title"},{default:v(()=>[_(p,{to:e(c),class:"card__link"},{default:v(()=>[f(o(t.post.title),1)]),_:1},8,["to"])]),_:1})),a("p",G,o(t.post.excerpt),1),a("div",L,[_(b,{name:t.post.author.name,src:t.post.author.avatarUrl,size:24},null,8,["name","src"]),a("span",Y,o(t.post.author.name),1),d[0]||(d[0]=a("span",{class:"meta__dot"},null,-1)),a("time",{datetime:t.post.publishedAt},o(("formatDate"in i?i.formatDate:e(M))(t.post.publishedAt)),9,H),d[1]||(d[1]=a("span",{class:"meta__dot"},null,-1)),a("span",J,[_(x,{name:"clock",size:13}),f(" "+o(t.post.readMinutes)+" мин",1)])])])],2)}}}),Z=h(K,[["__scopeId","data-v-881fa67e"]]),O={},Q={class:"sc"};function R(t,s){return n(),l("div",Q,[...s[0]||(s[0]=[S('<div class="skel sc__media" data-v-38b44162></div><div class="sc__body" data-v-38b44162><div class="skel sc__line sc__line--badge" data-v-38b44162></div><div class="skel sc__line sc__line--title" data-v-38b44162></div><div class="skel sc__line" data-v-38b44162></div><div class="skel sc__line sc__line--short" data-v-38b44162></div><div class="skel sc__line sc__line--foot" data-v-38b44162></div></div>',2)])])}const tt=h(O,[["render",R],["__scopeId","data-v-38b44162"]]);export{Z as _,tt as a,P as b};

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.