1import{q as l,r as d,n as _}from"./tyyhm9yv.js";import{z as y,A as f,B as w,w as C,bs as v,j as i,k as V,e as g,f as b,x,v as P,y as h}from"./Dsf9DNGP.js";import"./Dntyt_wS.js";import"./DTi4cZz2.js";import"./omtcoaS6.js";import"./B1SjqW_-.js";import"./DDAVOYR0.js";import"./DJ-2nW2C.js";import"./B51tyW8R.js";import"./ZhWAdK_X.js";import"./DZpFxYf4.js";import"./DKg7lYeh.js";import"./S-S-hokx.js";import"./DpRvBa8h.js";import"./ClrQmNkX.js";import"./CLP622Km.js";import"./Ci9hT3Ek.js";import"./w24Y8G44.js";import"./BA9BtkXs.js";import"./ohH4fVRj.js";import"./BtWvZFVg.js";import"./DnwPnRyS.js";import"./HrqdubXg.js";import"./BQ2Y79p2.js";import"./8TkCJxH1.js";import"./zYek6Evp.js";import"./B7iFErEU.js";import"./Cf2K8Utc.js";import"./CLCWe8zP.js";import"./DCbHX_lV.js";import"./CsKqYMj0.js";import"./DeXNPJ7W.js";import"./ZPp2M12o.js";import"./4L3vjUVi.js";import"./DpGmPF-c.js";import"./JGMLE-5w.js";import"./Bh2vSVYS.js";import"./I3hvmUNd.js";import"./BocgnsUH.js";import"./BXX3PuEV.js";import"./DORqWwdy.js";import"./lasGQaRL.js";import"./DRLUZVtm.js";import"./DHQEh4UA.js";import"./CGCLldcA.js";import"./Dax2Zq8J.js";import"./_SWcLNfT.js";import"./KO4thICh.js";import"./CRmhWJWy.js";const xt=y({__name:"lastViewed.client",props:{currentProduct:{type:String,required:!1,default:""},visibleCount:{type:Number,required:!0}},async setup(e){let t,p;const m=f(w,null),o=e,s=h(()=>parseInt(m?.value?.frontpage_my_views??"0")),n=l(),{data:r}=([t,p]=C(()=>v(`${o.currentProduct}-${o.visibleCount}`,()=>n.getMyViews(s.value,o.currentProduct))),t=await t,p(),t);return(k,A)=>{const a=d,c=_;return i(r)&&i(r)?.length>0?(V(),g(c,{key:0,items:i(r)??[],options:{sliderType:"loop",visibleCount:e.visibleCount}},{default:b(u=>[x(a,{product:u.item},null,8,["product"])]),_:1},8,["items","options"])):P("",!0)}}});export{xt 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.