1import{_ as v}from"./CFpNXZ4W.js";import{d as y,u as k,x,q as h,s as w,e as p,w as B,j as $,l as A,y as C,o,v as n,c as P,g as j,a as u}from"./B3dLw1H2.js";import"./ik1Xcnfg.js";import"./0fxsA8CL.js";import"./Blf6B0jf.js";import"./CTq0GVlO.js";import"./BUNanI-N.js";import"./CJlCdv1R.js";const H={key:1},R=y({__name:"[...slug]",async setup(N){let e,r;const a=$(null),i=k(),m=u(()=>{const t=i.params.slug;return t?Array.isArray(t)?t:[t]:[]}),s=u(()=>m.value.join("/")),_=u(()=>`product-${s.value}`),{data:c,pending:d}=([e,r]=x(()=>C(_,()=>$fetch(`/api/backend/product/item/${s.value}`),"$lUw9UppHm2")),e=await e,r(),e);return!d.value&&c.value&&(a.value=c.value),h(a.value?.title),w(),(t,l)=>{const f=v,g=A;return o(),p(g,null,{default:B(()=>[n(a)?(o(),p(f,{key:0,product:n(a),slug:n(s)},null,8,["product","slug"])):(o(),P("div",H,[...l[0]||(l[0]=[j("p",null,"Produkten kunde inte hittas",-1)])]))]),_:1})}}});export{R 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.