1import{_ as p}from"./DefaultLayout-fb96ffe3.js";import{d as _,D as h,l as o,g as i,w as c,F as d,o as n,i as e,n as f,m as g,t as u,u as x,B as b,f as y}from"./vue.m-7107e1b8.js";import{P as v}from"./ProductItem-d4ce1b10.js";import{_ as w}from"./AppHead-e8c1b82c.js";import"./helpers-a006d6a8.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./ErrorText-ccc66271.js";import"./TextInput-e333d5ef.js";import"./Timer-7effad79.js";import"./PublicOfferLinkIndividual-473b040a.js";/* empty css */import"./navigationScripts-6034ab1f.js";import"./AddToCartButton-67c6c514.js";import"./Price-5c735a3a.js";/* empty css *//* empty css */import"./AddToFavorite-986201fe.js";const k=e("meta",{name:"robots",content:"noindex, nofollow, noarchive"},null,-1),B={class:"page page__promo_catalog"},A={class:"container"},I={key:0,style:{"margin-bottom":"30px","border-radius":"14px",overflow:"hidden"}},N=["srcset"],V=["src"],P=e("h2",{style:{"text-align":"center","margin-bottom":"30px"}},"ТоваÑÑ, ÑÑаÑÑвÑÑÑие в акÑии:",-1),j={class:"items row justify-content-center"},C={class:"col-6 col-md-4 col-lg-3 mb-3"},D={style:{"text-align":"center","font-size":"0.9em","max-width":"1000px",margin:"0 auto","margin-top":"50px",color:"#4b4b4b"}},F={key:1,style:{display:"flex","flex-direction":"column","justify-content":"center","align-items":"center",margin:"50px 0"}},$=e("h1",{style:{"text-align":"center","margin-bottom":"30px"}},"ÐкÑÐ¸Ñ Ð·Ð°ÐºÐ¾Ð½ÑилаÑÑ",-1),Y={__name:"Index",props:["banner_d","banner_m","coupon","products","startedAt","finishedAt"],setup(t){const r=t,l=_({});return h(()=>{if(r.products&&r.products.length>0){const a=r.products.map(s=>s.id);axios.get(route("api.v1.product.promotions"),{params:{product_ids:a}}).then(s=>{l.value=s.data})}}),(a,s)=>(n(),o(d,null,[i(w,{title:"ТоваÑÑ"},{default:c(()=>[k]),_:1}),i(p,null,{default:c(()=>[e("div",B,[e("div",A,[t.coupon&&t.products?(n(),o(d,{key:0},[t.banner_m&&t.banner_d?(n(),o("div",I,[e("picture",null,[e("source",{srcset:t.banner_m,media:"(max-width: 576px)"},null,8,N),e("img",{src:t.banner_d,alt:"banner",style:{width:"100%"}},null,8,V)])])):f("",!0),P,e("div",j,[(n(!0),o(d,null,g(t.products,m=>(n(),o("div",C,[i(v,{product:m,promotions:l.value[m.id]||[]},null,8,["product","promotions"])]))),256))]),e("div",D," СÑоки пÑÐ¾Ð²ÐµÐ´ÐµÐ½Ð¸Ñ Ð°ÐºÑии Ñ "+u(t.startedAt)+" г. по "+u(t.finishedAt)+" г. УÑÐ»Ð¾Ð²Ð¸Ñ Ð°ÐºÑии не ÑÑммиÑÑÑÑÑÑ Ñ Ð´ÑÑгими Ñкидками и ÑпеÑиалÑнÑми пÑедложениÑми. ÐолиÑеÑÑво ÑоваÑа огÑаниÑено. ÐкÑÐ¸Ñ Ð¼Ð¾Ð¶ÐµÑ Ð±ÑÑÑ Ð¿Ñодлена или завеÑÑена доÑÑоÑно. ",1)],64)):(n(),o("div",F,[$,i(x(b),{href:a.route("catalog.index"),class:"g-button g-button-main g-button-lg",style:{display:"inline-block",padding:"20px 30px"}},{default:c(()=>[y("ÐеÑейÑи в каÑалог ")]),_:1},8,["href"])]))])])]),_:1})],64))}};export{Y 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.