1import{d as q,l as A,c as t,o as i,b as s,n as p,F as l,p as r,a as h,t as n,j as B,f as d,u as w,P as v,h as k,A as b,ao as P}from"./app-BAlDUfO1.js";import"./swiper-bundle-D10wXgdm.js";import{S as C}from"./swiper-core-BbUUCioi.js";const S=["id"],$={class:"smart-product--card"},N={class:"swiper-wrapper"},z={class:"smart-product--header d-flex align-items-start justify-content-between"},F={class:"smart-product--title mb-0"},L={class:"smart-product--description lts-05"},O={class:"smart-product--section"},D={class:"card-body d-flex flex-column el-center"},E={class:"product-thumbnail"},M=["src","alt"],T={class:"product--title lts-05 mt-3 mb-2 ms-0"},U={class:"product-footer d-flex justify-content-between"},G={class:"d-flex flex-row align-items-end"},H={class:"product-rating-average"},I={key:0,class:"d-flex flex-column justify-content-end"},J={class:"product-price-now lts-05 fs-8"},K={key:0,class:"d-flex flex-column justify-content-end"},Q={class:"product-price-now lts-05"},R={key:1,class:"d-flex flex-column justify-content-end"},W={class:"product-price-now lts-05"},X={key:2,class:"d-flex flex-column justify-content-end"},Y={class:"product-price-now lts-05 fs-8"},Z={key:0,class:"discount-percent bg-secondary shadow-secondary shadow-1"},ss={class:"product-colors"},es=["title"],ts={key:0,class:"more-colors",title:"Ù
Ø´Ø§ÙØ¯Ù رÙÚ¯âÙØ§Û Ø¨ÛØ´ØªØ±"},is={class:"smart-product--header d-flex align-items-start justify-content-between"},as={class:"text-white bg-primary badge link fs-9 shadow-primary",href:"#"},os={class:"smart-product--section"},ns={class:"card-body d-flex flex-column el-center"},ls={class:"product-thumbnail"},rs=["src"],cs={class:"product-colors"},_s=q({__name:"CategoryList2",props:{status:{},component_id:{},data:{}},setup(x){const m=x,j=()=>{new C(".swiper-smart-product-slider-"+m.component_id,{slidesPerView:3,spaceBetween:15,autoplay:{delay:8e3},loop:m.data.category_list.categories!=null?m.data.category_list.categories.length>3:!1,breakpoints:{120:{slidesPerView:1,spaceBetween:15},600:{slidesPerView:1,spaceBetween:15},768:{slidesPerView:2,spaceBetween:15},992:{slidesPerView:3,spaceBetween:18}},observer:!0})};return A(()=>{j()}),(a,o)=>{var f,g,y;return i(),t("div",{id:"component-"+a.component_id,class:p({"container smart-product-container":!0,readonly:a.status=="dev"}),style:b("margin-top:"+((f=a.data.style)==null?void 0:f.margin.top)+"px; margin-bottom:"+(((g=a.data.style)==null?void 0:g.margin.bottom)!=null?(y=a.data.style)==null?void 0:y.margin.bottom:20)+"px;")},[s("div",$,[s("div",{class:p("swiper swiper-smart-product-slider swiper-smart-product-slider-"+a.component_id)},[s("div",N,[a.data.category_list.categories!=null&&a.data.category_list.categories.length>0?(i(!0),t(l,{key:0},r(a.data.category_list.categories,c=>(i(),t("div",{key:c.id,class:"swiper-slide card"},[s("div",z,[s("div",null,[s("div",F,n(c.title),1),s("span",L,n(a.$t("messages.sentence.suggested_products_from_categories")),1)]),h(w(v),{class:"text-white bg-primary badge link fs-9 shadow-primary",href:a.route("main.products.index",{cat:c.slug})},{default:B(()=>[d(n(a.$t("messages.word.more")),1)]),_:2},1032,["href"])]),s("div",O,[(i(!0),t(l,null,r(c.products,e=>(i(),t("div",{key:e.id,class:"product-square card flex-grow-1"},[s("div",D,[s("div",E,[s("img",{class:"product--img ms-0",src:e.get_images[0].link,alt:e.title,loading:"lazy"}
1,null,8,M)]),s("h3",T,n(e.title),1),s("div",U,[s("div",G,[s("span",H,[d(n(e.comments_info.rating=="0"?"-":e.comments_info.rating)+" ",1),o[0]||(o[0]=s("i",{class:"ri-star-fill"},null,-1))])]),e.in_stock_status?e.inventory?(i(),t(l,{key:1},[e.best_normal_price.discount_price!=null?(i(),t("div",K,[s("span",Q,[d(n(e.best_normal_price.discount_price)+" ",1),o[1]||(o[1]=s("span",{class:"unit unit-sm"},null,-1))])])):(i(),t("div",R,[s("span",W,[d(n(e.best_normal_price.price)+" ",1),o[2]||(o[2]=s("span",{class:"unit unit-sm"},null,-1))])]))],64)):(i(),t("div",X,[s("span",Y,n(a.$t("messages.word.non_existent")),1)])):(i(),t("div",I,[s("span",J,n(a.$t("messages.sentence.inventory_inquiry")),1)]))]),e.in_stock_status&&e.inventory&&e.best_normal_price.discount_price!=null?(i(),t("div",Z,[d(n(e.best_normal_price.percent),1),o[3]||(o[3]=s("i",{class:"ri-percent-fill"},null,-1))])):k("",!0),h(w(v),{class:"product-link",href:a.route("main.products.show",e.slug)},null,8,["href"]),s("ul",ss,[(i(!0),t(l,null,r(Array.isArray(e.unique_color)?e.unique_color.slice(0,6):Object.values(e.unique_color||{}).slice(0,6),(u,_)=>(i(),t("li",{key:_,style:b("background-color:"+u.value.color),"data-bs-toggle":"tooltip","data-bs-placement":"top",title:u.value.label,class:p({"color-is-w
1hite":u.value.color==="#ffffff"})},null,14,es))),128)),(Array.isArray(e.unique_color)?e.unique_color.length:Object.keys(e.unique_color||{}).length)>6?(i(),t("li",ts," + ")):k("",!0)])])]))),128))])]))),128)):(i(!0),t(l,{key:1},r(new Array(4),(c,e)=>(i(),t("div",{key:e,class:p({"swiper-slide card":!0,readonly:a.status=="dev"})},[s("div",is,[o[4]||(o[4]=s("div",null,[s("div",null,[s("div",{class:"smart-product--title sk sk-text d-inline-block"},"ÙØ§Ù
دستÙâØ¨ÙØ¯Û")]),s("span",{class:"smart-product--description lts-05 sk sk-text-sm"},"Ù
ØØµÙÙØ§Øª Ù¾ÛØ´ÙÙØ§Ø¯Û از دستÙâØ¨ÙØ¯Û")],-1)),s("a",as,n(a.$t("messages.word.more")),1)]),s("div",os,[(i(!0),t(l,null,r(new Array(4),(u,_)=>(i(),t("div",{key:_,class:"product-square card flex-grow-1"},[s("div",ns,[s("div",ls,[s("img",{class:"product--img ms-0",style:{height:"240px"},src:a.$page.props.appUrl+"/img/temp/pre-load-category.png",loading:"lazy"},null,8,rs)]),o[5]||(o[5]=P('<h3 class="product--title lts-05 mt-3 mb-2 ms-0 sk sk-sm">ÙÙØ±Ù
اÛپسÙÙ
Ù
ØªÙ Ø³Ø§Ø®ØªÚ¯Û Ø¨Ø§ Ø³Ø§Ø¯Ú¯Û ÙØ§Ù
ÙÙÙÙ
Ø¨Ø±Ø§Û Ø·Ø±Ø§ØØ§Ù ÙØ¨</h3><div class="product-footer d-flex justify-content-between"><div class="d-flex flex-row align-items-end"><span class="product-rating-average"><span class="sk ms-1">4.2</span><i class="ri-star-fill"></i></span></div><span class="product-price-now lts-05"><span class="sk sk-sm">2.500.000</span><span class="unit unit-sm"></span></span></div><div class="discount-percent bg-secondary shadow-secondary shadow-1">â â â â<i class="ri-percent-fill"></i></div>',3)),s("ul",cs,[(i(!0),t(l,null,r(new Array(2),(ds,V)=>(i(),t("li",{key:V,style:{"background-color":"#e4e4e4"}}))),128))])])]))),128))])],2))),128))])],2)])],14,S)}}});
1export{_s 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.