PageSourceSearch

https://sflora.ru/_nuxt/CCx1aA47.js

js sflora.ru collected 2026-10-03 17:35:18 UTC 2,632 bytes, 1 lines download raw bytes

1import{_ as B,a as C,b as N,c as P}from"./CNI_6RAR.js";import{_ as V}from"./BlavuXUv.js";import{d as E,V as M,B as S,Q as $,a0 as T,J as U,c as h,b as k,k as D,e as a,a as u,x as p,a1 as x,o as v}from"./D9xfeGxw.js";import{u as G}from"./qmwLTgGv.js";import"./CHRs6mLU.js";import"./sfWv976J.js";import"./VL8lpvjc.js";import"./0LINFJP0.js";import"./M6l6o9-o.js";import"./BFsErosY.js";import"./BDdYe2A4.js";const I={class:"py-4 md:py-8"},L={key:0,class:"container"},A={class:"grid grid-cols-12 gap-4"},F={class:"col-span-12"},J={class:"col-span-12 md:col-span-6"},Q={class:"col-span-12 md:col-span-6 md:space-y-8"},et=E({__name:"index",async setup(R){let s,r;const f=M(),{getCatalogPrefix:m}=S(),{data:t,error:b}=([s,r]=$(()=>x(`https://api.sflora.ru/api/products/${f.params.id}?visible=null`,"$e1SU0E24sU")),s=await s,r(),s),{data:_}=([s,r]=$(()=>x(`https://api.sflora.ru/api/products/related/${f.params.id}`,{server:!1},"$f-DismuapM")),s=await s,r(),s);if(b.value)throw T({statusCode:404,statusMessage:"Страница не найдена"});const w=U(()=>{var e,g,i,n,l,c,d,o;return t.value?(e=t.value)!=null&&e.data.category.parent?[{text:(g=t.value)==null?void 0:g.data.category.parent.title,link:`/${m.value}/${(i=t.value)==null?void 0:i.data.category.parent.slug}`},{text:(n=t.value)==null?void 0:n.data.category.title,link:`/${m.value}/${(l=t.value)==null?void 0:l.data.category.parent.slug}/${(c=t.value)==null?void 0:c.data.category.slug}`}]:[{text:(d=t.value)==null?void 0:d.data.category.title,link:`/${m.value}/${(o=t.value)==null?void 0:o.data.category.slug}`}]:[]});return G({title:()=>{var e;return"Справочник - "+((e=t.value)==null?void 0:e.seo.title)},ogTitle:()=>{var e;return"Справочник - "+((e=t.value)==null?void 0:e.seo.title)},description:()=>{var e;return"Справочник растений - "+((e=t.value)==null?void 0:e.seo.description)},ogDescription:()=>{var e;return"Справочник растений - "+((e=t.value)==null?void 0:e.seo.description)},ogType:"website",ogImage:()=>{var e;return((e=t.value)==null?void 0:e.seo.image)||"/img/ogLibrary.webp"}}),(e,g)=>{var o,y;const i=B,n=C,l=N,c=P,d=V;return v(),h("section",I,[a(t)?(v(),h("div",L,[u("div",A,[u("div",F,[p(i,{links:a(w),title:a(t).data.name},null,8,["links","title"])]),u("div",J,[p(n,{item:a(t).data},null,8,["item"])]),u("div",Q,[p(l,{item:a(t).data,class:"md:!pl-0"},null,8,["item"]),p(c,{item:a(t).data},null,8,["item"])])])])):k("",!0),a(_)&&((o=a(_))!=null&&o.data.length)?(v(),D(d,{key:1,title:"Похожие",goods:(y=a(_))==null?void 0:y.data},null,8,["goods"])):k("",!0)])}}});export{et 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.