PageSourceSearch

https://foodsoul.ru/assets/MoleculeBaseCard.vue_vue_type_style_index_0_lang-Ch5NH3Ls.js

js foodsoul.ru collected 2026-09-24 10:47:35 UTC 1,508 bytes, 1 lines download raw bytes

1import{_ as $}from"./AtomCardLink.vue_vue_type_style_index_0_lang-DthBO-u2.js";import{_ as f}from"./AtomCardWrapper.vue_vue_type_style_index_0_lang-Cs8Th2Uj.js";import{n as h}from"./entry-client-CFxXTp2Y.js";import{a as v}from"./digits-B3IpdgQz.js";import{d as y,c as l,J as s,K as d,L as c,P as o,Y as C,S as a,N as m,M as i,Q as B,U as M}from"./vendor-vue-BSzhZmsh.js";const O={key:0,class:"base-card__index"},L={key:0,class:"base-card__icon"},g={key:1,class:"base-card__title"},N={key:2,class:"base-card__body"},E=y({__name:"MoleculeBaseCard",props:{index:{},headerOrientation:{default:"vertical"},headerMobileOrientation:{default:"horizontal"},link:{}},emits:["handleLinkClick"],setup(n,{emit:u}){const t=n,k=u,{isMobile:_}=h(),p=l(()=>_.value?t.headerMobileOrientation:t.headerOrientation),b=l(()=>t.index&&v(t.index));return(e,r)=>(s(),d(f,{class:m(["base-card",[{"base-card--no-icon":!e.$slots.icon}]])},{default:c(()=>[n.index?(s(),o("div",O,C(b.value),1)):a("",!0),e.$slots.icon||e.$slots.title?(s(),o("div",{key:1,class:m(["base-card__header",[`base-card__header--${p.value}`]])},[e.$slots.icon?(s(),o("div",L,[i(e.$slots,"icon")])):a("",!0),e.$slots.title?(s(),o("div",g,[i(e.$slots,"title")])):a("",!0)],2)):a("",!0),e.$slots.body?(s(),o("div",N,[B("p",null,[i(e.$slots,"body")])])):a("",!0),e.$slots.link?(s(),d($,M({key:3,class:"base-card-link"},n.link,{onClick:r[0]||(r[0]=S=>k("handleLinkClick"))}),{link:c(()=>[i(e.$slots,"link")]),_:3},16)):a("",!0)]),_:3},8,["class"]))}});export{E 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.