PageSourceSearch

https://megatop.by/_nuxt/KK7UpVc4.js

js megatop.by collected 2026-09-24 09:32:17 UTC 12,241 bytes, 1 lines download raw bytes

1import{p as v,e as V,I as d,h as Z,v as I,i as $,m as x,d as w,aL as g,B as S,aF as z,az as B}from"./CXmByAsd.js";import{_ as j}from"./Bw6h1he4.js";import{I as A}from"./D_IAJXKx.js";import{A as M,z as e,$ as n,G as a,a5 as t,P as L,W as r,X as l,S as C,a9 as b,a6 as T,c as u,a1 as H,aa as D,ab as N}from"./CLFN9GXV.js";import{D as R}from"./Jel-VlYy.js";import"./DJsU3i5W.js";import"./BlM8TKo4.js";import"./Bb7fWZ9z.js";import"./D7eEeDqD.js";import"./CWFUk4Xz.js";import"./DbLwaBf2.js";const P={key:0},E={class:"d-flex wrap"},O={class:"h-100"},G={class:"mx-auto"},F=["innerHTML"],K=["innerHTML"],W={key:1},Y={class:"d-flex justify-center advantages--d"},U=["innerHTML"],X=["innerHTML"],q=M({__name:"RootAdvantagesSlider",setup(y){const i=v(),{isDesktop:m}=V(),_=u(()=>i.shopsInfo?i.shopsInfo:{cities:34,shops:78}),s=[{name:"Бонусная программа",description:"1 Бонус = 1 Рубль",icon:d.BONUS,link:"/bonus"},{name:"Карты рассрочки",description:"Карты рассрочки<br>До 8 месяцев",icon:d.PAY_CARD,link:"/karty-rassrochki"},{name:"Бронирование",description:`${_.value.shops} магазинов доставим за 1-3 дня`,icon:d.BOOKING,link:"/bronirovanie"},{name:"Расширенная гарантия",description:"Расширенная гарантия<br>60 дней",icon:d.LIKE,link:"/garantiya-i-vozvrat"},{name:"Подарочные карты",description:"от 10 рублей",icon:d.PAY_CARD,link:"/podarochnye-sertifikaty"}];
1return(h,p)=>{const f=x;return e(m)?(n(),a("div",W,[t("div",Y,[(n(),a(b,null,T(s,(o,c)=>l(f,{key:c,to:o.link,class:"elem px-4"},{default:r(()=>[t("div",{class:"text-color--main font-weight-medium text-size--4 text-center my-2",innerHTML:o.name},null,8,U),t("div",{class:"text-color--main font-weight-light text-size--2 text-center",innerHTML:o.description},null,8,X)]),_:2},1032,["to"])),64))])])):(n(),a("div",P,[p[0]||(p[0]=t("div",{class:"font-secondary text-size--5 ml-4 mb-5"},"Преимущества",-1)),t("div",E,[s.length?(n(),L(Z,{key:0,class:"root-advantages-slider w-100",items:s,"slider-options":{slidesPerView:"auto"}},{item:r(({item:o,key:c})=>[(n(),a("div",{key:c,class:"h-100"},[t("div",O,[l($,{to:o.link,"is-external":!1,class:"card position-relative d-flex flex-column justify-center h-100 bg-color--secondary"},{default:r(()=>[t("div",G,[l(I,{icon:o.icon,size:54,"light-mode-color":"#333334"},null,8,["icon"])]),t("div",{class:"text-color--main font-weight-medium text-size--4 text-center my-2",innerHTML:o.name},null,8,F),t("div",{class:"text-color--main font-weight-light text-size--2 text-center",innerHTML:o.description}
1,null,8,K)]),_:2},1032,["to"])])]))]),_:1})):C("",!0)])]))}}}),J=Object.assign(w(q,[["__scopeId","data-v-da60cbed"]]),{__name:"SlidersRootAdvantagesSlider"}),Q={key:0,class:"img-wrap__image w-100 h-100"},t1={class:"img-slide"},e1=["srcset"],s1=["src"],i1={key:1,class:"img-wrap__video w-100 h-100"},o1=["poster","src"],n1={key:1,class:"img-wrap__content d-flex flex-column"},l1={class:"d-flex justify-center justify-md-start mt-5 mt-md-20 ml-md-20 pl-md-20"},a1={class:"ml-md-10 d-md-flex flex-column"},c1={class:"d-md-flex justify-md-center w-100"},r1={key:2,class:"img-wrap__content d-flex flex-column"},d1={class:"px-4 pb-10 mt-16 grid mx-auto w-100",style:{"max-width":"1450px"}},m1={class:"col-4"},_1={class:"col-4 d-flex justify-end"},p1={key:0,class:"mt-auto mb-20 d-flex justify-center pb-7"},C1={class:"mt-12 mb-9 default-wrap"},u1={key:0,class:"default-wrap"},h1=0,f1=M({__name:"index",setup(y){const{isDesktop:i}=V(),m=v(),_=u(()=>m.mainPage(h1)),s=u(()=>_.value?.slides.length?_.value.slides[0]:null),h=u(()=>m.selectedMainRubricId),p=o=>A.replaceGifOrWebp(o),f=o=>["avi","mp4"].includes(o.split(".")[o.split(".").length-1]);return(o,c)=>{const k=x;return n(),L(j,{"hide-width-restriction":"","disable-top-padding":""},{default:r(()=>[t("div",null,[t("div",{class:H(["img-wrap",{"img-wrap--m":!e(i)}])},[e(s)?(n(),a(b,{key:0},[f(e(i)?e(s).img:e(s).img_mobile)?(n(),a("div",i1,[t("video",{class:H(["video-slide",{"video-slide--m":!e(i)}]),autoplay:"",loop:"",playsinline:"",muted:"",disablepictureinpicture:"",controlslist:"false",preload:"auto",poster:e(i)?e(s).img:e(s).img_mobile,src:e(i)?e(s).img:e(s).img_mobile},null,10,o1)])):(n(),a("div",Q,[t("picture",t1,[t("source",{srcset:p(e(i)?e(s).img:e(s).img_mobile),type:"image/webp",class:"img-slide"},null,8,e1),t("img",{src:e(i)?e(s).img:e(s).img_mobile,width:"100%",height:"100%",class:"img-slide",alt:""},null,8,s1)])]))],64)):C("",!0),e(i)?(n(),a("div",r1,[t("div",d1,[t("div",m1,[l(g,{"is-select":!e(i),"is-row":e(i),"light-mode-color":"#333333"},null,8,["is-select","is-row"])]),c[1]||(c[1]=t("div",{class:"col-4 d-flex justify-center"},[t("svg",{width:"228",height:"27",viewBox:"0 0 167 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("g",{"clip-path":"url(#clip0_16252_4650)"},[t("path",{d:"M21 0H0V21H21V0Z",fill:"#E7131E"}),t("path",{d:"M9.72222 0.398629C9.75757 0.417524 9.77526 0.455313 9.79293 0.493102C9.86364 0.606469 9.91667 0.814311 9.9697 1.13552C10.1642 2.57151 10.6768 5.63244 8.96212 7.14401C7.61869 8.31548 4.98485 7.65416 3.74748 6.8228C3.18182 6.44491 1.2197 4.81998 0.583334 3.08167C0.335858 2.42035 0.866162 2.04246 1.14899 2.17473C1.50252 2.36367 1.90909 2.96829 2.15657 3.32729C3.7298 5.57576 5.53283 6.8417 7.17677 6.8417C9.93434 6.8417 9.52778 3.36509 9.45707 0.549786C9.45707 0.530891 9.45707 0.398629 9.58081 0.36084C9.59848 0.379734 9.70455 0.398629 9.72222 0.398629ZM5.9394 10.9041C6.80556 10.5828 8.11364 10.0916 8.85606 10.8474C9.84596 11.8677 9.59849 13.965 9.10354 16.1C8.57323 18.3863 7.47727 20.7292 6.68182 22.4108H6.82323C7.5303 21.4472 8.27273 20.2002 8.99748 18.7264C9.51011 17.6872 10.4823 14.6641 10.4823 12.17C10.4823 11.1119 10.4116 10.0538 9.91666 9.44916C9.24495 8.61779 7.91919 8.67448 7.12373 8.82563C4.52526 9.2791 1.92677 11.3197 0 13.9083V15.6655C1.32576 13.5682 4.43687 11.4519 5.9394 10.9041ZM21 17.1204C18.4899 16.7991 14.8131 15.8733 13.4697 12.6802C12.8687 11.263 13.0808 9.46805 14.0707 8.40996C15.5202 6.8417 18.4722 6.21818 21 6.27485V3.89413C18.3485 4.06418 12.6919 4.95223 12.0556 10.4506C11.6136 14.2483 14.7955 16.1946 15.3435 16.6669C16.8459 17.555 18.8258 18.084 21 18.1974V17.1204Z",fill:"white"}),t("path",{d:"M50.7475 7.32032V9.4511H64.3536V11.496H50.7475V14.1079H64.9535V16.1528H48.8691V5.27544H64.9377V7.32032H50.7475ZM43.7865 5.27544L35.6419 13.7299L27.4971 5.27544H25.1768V16.1356H27.0551V7.76709L35.1209 16.1356H36.147L44.2285 7.76709V16.1356H46.1069V5.27544H43.7865ZM86.3414 9.89786H75.1344V11.9428H84.463V12.9738C82.9319 13.7642 80.4538 14.3485 77.3758 14.3485C72.088 14.3485 68.5681 12.149 68.5681 10.7055C68.5681 8.88404 71.5987 7.02819 77.3758 7.02819C81.0693 7.02819 83.6264 7.78427 84.9996 8.79812L86.0415 7.11411C84.2894 5.82533 81.385 5.0005 77.3758 5.0005C70.3202 5.0005 66.7056 7.56089 66.7056 10.7227C66.7056 13.8673 71.4882 16.4105 77.3758 16.4105C81.1325 16.4105 84.4472 15.5513 86.3414 14.1251V9.89786ZM104.635 13.6955H92.0077L89.5616 16.1356H86.7833L98.3215 4.63965L109.86 16.1356H107.082L104.635 13.6955ZM102.599 11.6678L98.3376 7.40624L94.076 11.66
178H102.599ZM124.003 5.27544H105.014V7.32032H113.569V16.1356H115.447V7.32032H124.003V5.27544ZM134.689 5.0005C141.744 5.0005 145.359 7.56089 145.359 10.7227C145.359 13.8845 140.577 16.4105 134.689 16.4105C128.785 16.4105 124.019 13.8845 124.019 10.7227C124.019 7.56089 127.633 5.0005 134.689 5.0005ZM143.481 10.7055C143.481 8.88404 140.45 7.02819 134.673 7.02819C128.896 7.02819 125.866 8.88404 125.866 10.7055C125.866 12.149 129.369 14.3485 134.673 14.3485C139.977 14.3485 143.481 12.1661 143.481 10.7055ZM166.399 8.84967C166.399 10.8258 164.332 12.4239 161.79 12.4239H149.337V16.1356H147.459V5.27544H161.79C164.332 5.27544 166.399 6.87353 166.399 8.84967ZM164.521 8.84967C164.521 8.11077 163.433 7.32032 161.79 7.32032H149.337V10.379H161.79C163.433 10.379 164.521 9.58858 164.521 8.84967Z",fill:"white"})]),t("defs",null,[t("clipPath",{id:"clip0_16252_4650"},[t("rect",{width:"167",height:"21",fill:"currentColor"})])])])],-1)),t("div",_1,[l(R,{"is-main-page":""})])]),e(s)?.url?(n(),a("div",p1,[t("div",null,[l(k,{to:e(s).url,target:e(s).target},{default:r(()=>[l(S,{width:"193","permanent-bg-color":"white","permanent-text-color":"#333333"},{default:r(()=>[D(N(e(s).name),1)]),_:1})]),_:1},8,["to","target"])])])):C("",!0)])):(n(),a("div",n1,[c[0]||(c[0]=t("div",{class:"mx-auto mx-md-0 ml-md-20 pl-md-20 mt-12 mt-md-20 pt-4 pt-md-5 text-color--white"},[t("svg",{width:"250",viewBox:"0 0 167 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("g",{"clip-path":"url(#clip0_16252_4650)"},[t("path",{d:"M21 0H0V21H21V0Z",fill:"#E7131E"}),t("path",{d:"M9.72222 0.398629C9.75757 0.417524 9.77526 0.455313 9.79293 0.493102C9.86364 0.606469 9.91667 0.814311 9.9697 1.13552C10.1642 2.57151 10.6768 5.63244 8.96212 7.14401C7.61869 8.31548 4.98485 7.65416 3.74748 6.8228C3.18182 6.44491 1.2197 4.81998 0.583334 3.08167C0.335858 2.42035 0.866162 2.04246 1.14899 2.17473C1.50252 2.36367 1.90909 2.96829 2.15657 3.32729C3.7298 5.57576 5.53283 6.8417 7.17677 6.8417C9.93434 6.8417 9.52778 3.36509 9.45707 0.549786C9.45707 0.530891 9.45707 0.398629 9.58081 0.36084C9.59848 0.379734 9.70455 0.398629 9.72222 0.398629ZM5.9394 10.9041C6.80556 10.5828 8.11364 10.0916 8.85606 10.8474C9.84596 11.8677 9.59849 13.965 9.10354 16.1C8.57323 18.3863 7.47727 20.7292 6.68182 22.4108H6.82323C7.5303 21.4472 8.27273 20.2002 8.99748 18.7264C9.51011 17.6872 10.4823 14.6641 10.4823 12.17C10.4823 11.1119 10.4116 10.0538 9.91666 9.44916C9.24495 8.61779 7.91919 8.67448 7.12373 8.82563C4.52526 9.2791 1.92677 11.3197 0 13.9083V15.6655C1.32576 13.5682 4.43687 11.4519 5.9394 10.9041ZM21 17.1204C18.4899 16.7991 14.8131 15.8733 13.4697 12.6802C12.8687 11.263 13.0808 9.46805 14.0707 8.40996C15.5202 6.8417 18.4722 6.21818 21 6.27485V3.89413C18.3485 4.06418 12.6919 4.95223 12.0556 10.4506C11.6136 14.2483 14.7955 16.1946 15.3435 16.6669C16.8459 17.555 18.8258 18.084 21 18.1974V17.1204Z",fill:"white"}),t("path",{d:"M50.7475 7.32032V9.4511H64.3536V11.496H50.7475V14.1079H64.9535V16.1528H48.8691V5.27544H64.9377V7.32032H50.7475ZM43.7865 5.27544L35.6419 13.7299L27.4971 5.27544H25.1768V16.1356H27.0551V7.76709L35.1209 16.1356H36.147L44.2285 7.76709V16.1356H46.1069V5.27544H43.7865ZM86.3414 9.89786H75.1344V11.9428H84.463V12.9738C82.9319 13.7642 80.4538 14.3485 77.3758 14.3485C72.088 14.3485 68.5681 12.149 68.5681 10.7055C68.5681 8.88404 71.5987 7.02819 77.3758 7.02819C81.0693 7.02819 83.6264 7.78427 84.9996 8.79812L86.0415 7.11411C84.2894 5.82533 81.385 5.0005 77.3758 5.0005C70.3202 5.0005 66.7056 7.56089 66.7056 10.7227C66.7056 13.8673 71.4882 16.4105 77.3758 16.4105C81.1325 16.4105 84.4472 15.5513 86.3414 14.1251V9.89786ZM104.635 13.6955H92.0077L89.5616 16.1356H86.7833L98.3215 4.63965L109.86 16.1356H107.082L104.635 13.6955ZM102.599 11.6678L98.3376 7.40624L94.076 11.6678H102.599ZM124.003 5.27544H105.014V7.32032H113.569V16.1356H115.447V7.32032H124.003V5.27544ZM134.689 5.0005C141.744 5.0005 145.359 7.56089 145.359 10.7227C145.359 13.8845 140.577 16.4105 134.689 16.4105C128.785 16.4105 124.019 13.8845 124.019 10.7227C124.019 7.56089 127.633 5.0005 134.689 5.0005ZM143.481 10.7055C143.481 8.88404 140.45 7.02819 134.673 7.02819C128.896 7.02819 125.866 8.88404 125.866 10.7055C125.866 12.149 129.369 14.3485 134.673 14.3485C139.977 14.3485 143.481 12.1661 143.481 10.7055ZM166.399 8.84967C166.399 10.8258 164.332 12.4239 161.79 12.4239H149.337V16.1356H147.459V5.27544H161.79C164.332 5.27544 166.399 6.87353 166.399 8.84967ZM164.521 8.84967C164.521 8.11077 163.433 7.32032 161.79 7.32032H149.337V10.379H161.79C163.433 10.379 164.521 9.58858 164.521 8.84967Z",fill:"currentColor"})]),t("defs",null,[t("clipPath",{id:"clip0_16252_4650"},[t("rect",{width:"167",height:"21",fill:"currentColor"}
1)])])])],-1)),t("div",l1,[t("div",a1,[t("div",c1,[l(g,{"is-select":!e(i),"is-column":e(i),"light-mode-color":"#333333"},null,8,["is-select","is-column"])])])])]))],2),t("div",C1,[l(J)]),e(h)!==null?(n(),a("div",u1,[l(z,{"rubric-id":e(h),class:"mb-7"},null,8,["rubric-id"])])):C("",!0),l(B,{class:"default-wrap"})])]),_:1})}}}),Z1=w(f1,[["__scopeId","data-v-26c951be"]]);export{Z1 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.