1import k from"./htVsgCAF.js";import{_ as b}from"./DJZi8gg1.js";import{_ as O}from"./CFwAf_Dt.js";import D from"./DSJswUV3.js";import{u as N}from"./BYYo-HKa.js";import{d as B,w as V,o as e,e as d,k as L,b as o,c as p,A as T,F as j,x as A,j as u,a2 as E}from"./4czN1GdW.js";import"./Bi2macid.js";import"./DlL8_wwN.js";import"./BS4TrtP_.js";import"./CiTG6phj.js";import"./1lPMltN_.js";import"./B_n-cLPS.js";import"./DtQYMb2L.js";import"./BvkBI9bc.js";import"./DaElBM84.js";import"./DC44jQYx.js";import"./QBr10fd4.js";import"./oTqosp4F.js";import"./C8rfkjYD.js";import"./BzEP6WZ5.js";import"./BDtSZUVF.js";import"./3h58uUsv.js";import"./DWGst-7H.js";import"./CzHh1JiQ.js";import"./CAlG6Ail.js";import"./BTgKpcMu.js";import"./DYUa9nEE.js";const F={key:0},I={class:"tw-grid tw-grid-cols-2 md:tw-grid-cols-4 tw-gap-x-4 sm:tw-gap-x-5 tw-gap-y-8 sm:tw-gap-y-10"},R=B({__name:"Product",async setup(S){let n,c;const{breadcrumbs:l,asyncCategory:r,products:i,page:a,perPage:g,total:_,getPath:s,categoryEventName:f,eventName:y,eventProduct:P}=([n,c]=V(()=>N()),n=await n,c(),n);return(U,m)=>{const x=k,w=b,h=O,v=D;return e(),d(v,{title:o(r)?.section.title,description:o(r)?.section.description,breadcrumbs:o(l),categories:o(r)?.categoryButtonItems,"event-name":o(y),"category-event-name":o(f),"custom-padding":"lg:!tw-py-11 !tw-py-6"},{default:L(()=>[o(i)&&o(i).length>0?(e(),p("div",F,[T("div",I,[(e(!0),p(j,null,A(o(i),(t,C)=>(e(),p("div",{key:C},[u(x,{"title-tag":"h2",image:t.imageCover,title:t.title,options:t.options,price:t.price,"show-option-list":!1,"price-of-discounted":t.priceOfDiscounted,"max-price-option":t.maxPriceOption,"min-price-option":t.minPriceOption,"min-price-of-discounted-option":t.minPriceOfDiscountedOption,"max-price-of-discounted-option":t.maxPriceOfDiscountedOption,path:o(s)({componentName:"Product",slug:t.slug}),recommended:t.recommended,category:{_id:t.productCategory._id,title:t.productCategory?.title||"",slug:t.productCategory?.slug||"",path:o(s)({componentName:"Product",categorySlug:t.productCategory?.slug||""})},onClick:$=>o(P)(t.title)},null,8,["image","title","options","price","price-of-discounted","max-price-option","min-price-option","min-price-of-discounted-option","max-price-of-discounted-option","path","recommended","category","onClick"])]))),128))]),u(w,{modelValue:o(a),"onUpdate:modelValue":m[0]||(m[0]=t=>E(a)?a.value=t:null),"per-page":o(g),total:o(_),rounded:""},null,8,["modelValue","per-page","total"])])):(e(),d(h,{key:1}))]),_:1},8,["title","description","breadcrumbs","categories","event-name","category-event-name"])}}}),_t=Object.assign(R,{__name:"ThemeDefaultPageProduct"});export{_t as default}; 2//# sourceMappingURL=CE2-xdVi.js.map
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.