PageSourceSearch

https://sosedi-dostavka.by/static/js/553.b5b97815.chunk.js

js sosedi-dostavka.by collected 2026-10-02 00:27:10 UTC 9,134 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkbazar_web=self.webpackChunkbazar_web||[]).push([[553],{3553:(e,c,t)=>{t.r(c),t.d(c,{default:()=>C});var r=t(2791),s=t(4270),i=t(3168),a=t(8182),n=t(2933),d=t(1073),o=t(6939),l=t(4064),p=t(5172),u=t(9558),_=t(512),m=t(3737),x=t(2344),j=t(1262),h=t(3699),v=t(7122);const N="ReviewsTotal_root__EI4ck",g="ReviewsTotal_average__O4Day",y="ReviewsTotal_total__IxDMK",b="ReviewsTotal_row__+NNEX",f="ReviewsTotal_scale__64Zio",w="ReviewsTotal_scaleIndicator__384-3";var P=t(184);const I=e=>{let{rating:c,reviews:t}=e;const{t:s}=(0,i.$)();return(0,P.jsxs)("div",{className:N,children:[(0,P.jsxs)("div",{className:g,children:[c,(0,P.jsx)(n.iG,{size:28,value:0===c?5:c,color:0===c?"default":"primary"})]}),(0,P.jsxs)("p",{className:y,children:[s("product:reviews"),": ",t.length]}),[5,4,3,2,1].map((e=>{const s=t.reduce(((c,t)=>t.rate===e?c+=1:c),0);return(0,P.jsxs)(r.Fragment,{children:[(0,P.jsxs)("div",{className:b,children:[(0,P.jsx)(n.iG,{size:18,value:e,color:0===c?"default":"primary",hideEmpty:!0}),s]}),(0,P.jsx)("div",{className:f,children:(0,P.jsx)("div",{className:w,style:{width:"".concat(100/t.length*s,"%")}})})]},e)}))]})},k={header:"Product_header__E4Py3","header__back-button":"Product_header__back-button__Ar2bB",header__code:"Product_header__code__i1hh5",content:"Product_content__FvN9Q",image:"Product_image__2AZAC",advIcon:"Product_advIcon__6V5tT","image--mobile":"Product_image--mobile__zLqCp","image--desktop":"Product_image--desktop__EFGFc",info:"Product_info__18Eod",quant:"Product_quant__K2z5a",title:"Product_title__av07Q",rating:"Product_rating__BcZdW",price:"Product_price__kdwj8",price__old:"Product_price__old__DiUgS",price__current:"Product_price__current__egteq",price__discount:"Product_price__discount__N6Ni7","price-container":"Product_price-container__vDWg9",buttons:"Product_buttons__on8B7",description:"Product_description__qFyIL","nutrients-header":"Product_nutrients-header__uWHXH",nutrients:"Product_nutrients__G-bIy",nutrient:"Product_nutrient__cwVRv",specifications:"Product_specifications__U8W1U",specification:"Product_specification__B+ls9",reviews:"Product_reviews__AnsVo",reviews__side:"Product_reviews__side__jfS5h"},C=e=>{let{match:{params:{productSlug:c}}}=e;const{t:t,i18n:{language:r}}=(0,i.$)(),{goBackOrReplace:N}=(0,u.Ys)(),{customer:g}=(0,m.jt)(),{products:y,addProduct:b,setProductQty:f}=(0,_.iQ)(),{darkstore:w}=(0,x.xH)(),{isLoading:C,product:T}=(0,j.i)(c);if((0,o.FI)((()=>(document.body.style.backgroundColor="#fff",()=>{document.body.style.backgroundColor="#f9fafc"}))),C)return(0,P.jsx)(p.TF,{});const{barcode:F,img:q,name:E,weight:z,rating:R,reviews:A,oldPrice:S,currentPrice:Q,currency:Z,currencyISO:B,discount:G,qty:W,isWait:D,isFavorite:K,description:M,calorie:O,protein:V,fat:U,carbohydrate:Y,manufacturer:H,importer:L,composition:X,expiryFull:$,regulatoryDocument:J,pricePerKg:ee,isReviewed:ce,brand:te,categoryId:re,isWeightGoods:se}=T,ie=y.find((e=>e.id===Number(T.id))),ae=Number(null!==Q&&void 0!==Q&&""!==Q?Q:ee||0),ne=Number(null!==S&&void 0!==S&&""!==S?S:ee||0),de=ne>ae?(ne-ae).toFixed(2):null;return(0,P.jsxs)(P.Fragment,{children:[(0,P.jsxs)(s.q,{children:[(0,P.jsx)("title",{children:t("meta:product.title",{siteName:d.Z.SITE_NAME,cityName:w.city,productName:T.name})}),(0,P.jsx)("meta",{name:"title",content:t("meta:product.title",{siteName:d.Z.SITE_NAME,cityName:w.city,productName:T.name})}),(0,P.jsx)("meta",{name:"description",content:t("meta:product.description",{siteName:d.Z.SITE_NAME,cityName:w.city,productName:T.name})}),(0,P.jsx)("meta",{property:"og:type",content:"og:product"}),(0,P.jsx)("meta",{property:"og:title",content:E}),(0,P.jsx)("meta",{property:"og:description",content:M}),(0,P.jsx)("meta",{property:"og:url",content:"".concat(window.location.origin,"/products/").concat(c)}),(0,P.jsx)("meta",{property:"og:image",content:q}),(0,P.jsx)("meta",{property:"product:category",content:re}),(0,P.jsx)("meta",{property:"product:brand",content:te}),(0,P.jsx)("meta",{property:"product:availability",content:"in stock"}),(0,P.jsx)("meta",{property:"product:condition",content:"new"}),(0,P.jsx)("meta",{property:"product:price:amount",content:S||Q}),(0,P.jsx)("meta",{property:"product:price:currency",content:B}),(0,P.jsx)("meta",{property:"product:retailer_item_id",content:F})]}),(0,P.jsxs)("div",{className:k.container,children:[(0,P.jsxs)("div",{className:k.header,children:[(0,P.jsxs)("div",{className:k["header__back-button"],role:"button",onClick:()=>N((0,h.RQ)("/",r)),children:[(0,P.jsx)(l.Xd,{color:"text",size:16}),t("product:backToCatalog")]}),(0,P.jsx)("span",{className:k.header__code,children:F&&(0,P.jsxs)(P.Fragment,{children:[(0,P.jsxs)("b",{children:[t("product:barcode"),":"]})," ",F]})})]}),(0,P.jsxs)("div",{className:k.content,children:[(0,P.jsxs)("div",{className:(0,a.Z)(k.image,k["image--desktop"]),children:[(0,P.jsx)(p.wY,{src:q,alt:E}),T.advIcon&&(0,P.jsx)("img",{className:k.advIcon,src:T.advIcon,alt:"Adv icon"})]}),(0,P.jsxs)("div",{className:k.info,children:[(0,P.jsxs)("div",{className:k.title,children:[(0,P.jsx)("h1",{children:E}),z&&(0,P.jsx)("span",{children:z})]}),(0,P.jsxs)("div",{className:k.rating,children:[(0,P.jsx)(n.iG,{value:R}),t("product:reviews"),": ",A.length]}),(0,P.jsxs)("div",{className:(0,a.Z)(k.image,k["image--mobile"]),children:[(0,P.jsx)(p.wY,{src:q,alt:E}),T.advIcon&&(0,P.jsx)("img",{className:k.advIcon,src:T.advIcon,alt:"Adv icon"})]}),(0,P.jsxs)("div",{className:k["price-container"],children:[(0,P.jsxs)("div",{children:[S?(0,P.jsxs)("div",{className:k.price,children:[(0,P.jsx)("p",{className:k.price__old,children:se?"".concat(ee," ").concat(Z,"/").concat(t("product:kg")):"".concat(S," ").concat(Z)}),(0,P.jsx)("p",{className:k.price__current,children:se?"".concat(ae," ").concat(Z,"/\u043a\u0433"):"".concat(Q," ").concat(Z)}),(Number(G)>0||de)&&(0,P.jsx)("span",{className:k.price__discount,children:Number(G)>0?"-".concat(G,"%"):"-".concat(de," ").concat(Z)})]}):(0,P.jsx)("div",{className:k.price,children:(0,P.jsx)("p",{className:k.price__current,children:se?"".concat(ae," ").concat(Z,"/\u043a\u0433"):"".concat(Q," ").concat(Z)})}),(0,P.jsx)("div",{className:k.title,children:(0,P.jsx)("span",{className:k.quant,children:se?"(".concat(t("product:quant")," ").concat(z,")"):z})})]}),(0,P.jsxs)("div",{className:k.buttons,children:[W<=0&&(0,P.jsx)(n.G8,{isWait:D,productId:T.id,queryKey:"products/".concat(c)}),(0,P.jsx)(n._6,{isFavorite:K,productId:T.id,queryKey:"products/".concat(c)}),ie?(0,P.jsx)(p.YB,{value:ie.qty,maxValue:ie.maxQty,onClick:e=>f({productId:Number(T.id),qty:e})}):(0,P.jsx)(p.zx,{"data-gtm-id":"AddToCartButton",size:"small",disabled:W<=0,onClick:()=>b(T),children:t(W<=0?"product:zeroQty":"product:addToCart")})]})]}),(0,P.jsx)("p",{className:k.description,children:M}),(O||V||U||Y)&&(0,P.jsxs)(P.Fragment,{children:[(0,P.jsxs)("p",{className:k["nutrients-header"],children:[t("product:100g"),":"]}),(0,P.jsxs)("div",{className:k.nutrients,children:[O&&(0,P.jsxs)("span",{className:k.nutrient,children:[(0,P.jsx)("p",{children:t("product:calories")}),(0,P.jsx)("p",{children:O})]}),V&&(0,P.jsxs)("span",{className:k.nutrient,children:[(0,P.jsx)("p",{children:t("product:proteins")}),(0,P.jsxs)("p",{children:[V," ",t("product:g")]})]}),U&&(0,P.jsxs)("span",{className:k.nutrient,children:[(0,P.jsx)("p",{children:t("product:fats")}
1),(0,P.jsxs)("p",{children:[U," ",t("product:g")]})]}),Y&&(0,P.jsxs)("span",{className:k.nutrient,children:[(0,P.jsx)("p",{children:t("product:carbohydrates")}),(0,P.jsxs)("p",{children:[Y," ",t("product:g")]})]})]})]})]})]}),(0,P.jsx)("div",{className:k.specifications,children:(0,P.jsxs)(p.UQ,{children:[(0,P.jsx)(p._O,{children:e=>{let{isExpanded:c,toggle:r}=e;return(0,P.jsxs)("div",{className:k.specification,children:[(0,P.jsx)("b",{children:t("product:manufacturer")}),(0,P.jsx)("p",{children:H}),(0,P.jsx)(p.zx,{variant:"text",onClick:r,children:t(c?"product:lessSpecifications":"product:moreSpecifications")})]})}}),(0,P.jsxs)(p.rN,{children:[L&&(0,P.jsxs)("div",{className:k.specification,children:[(0,P.jsx)("b",{children:t("product:importer")}),(0,P.jsx)("p",{children:L})]}),X&&(0,P.jsxs)("div",{className:k.specification,children:[(0,P.jsx)("b",{children:t("product:composition")}),(0,P.jsx)("p",{children:X})]}),$&&(0,P.jsxs)("div",{className:k.specification,children:[(0,P.jsx)("b",{children:t("product:expiry")}),(0,P.jsx)("p",{children:$})]}),J&&(0,P.jsxs)("div",{className:k.specification,children:[(0,P.jsx)("b",{children:t("product:regulatoryDocument")}),(0,P.jsx)("p",{children:J})]}),!!ee&&(0,P.jsxs)("div",{className:k.specification,children:[(0,P.jsx)("b",{children:t("product:pricePerKg")}),(0,P.jsxs)("p",{children:[ee,Z]})]})]})]})}),(0,P.jsxs)("div",{className:k.reviews,children:[(0,P.jsxs)("div",{className:k.reviews__side,children:[(0,P.jsx)(I,{rating:R,reviews:A}),!ce&&g&&(0,P.jsx)(p.zx,{onClick:()=>{const{modalId:e}=(0,v.h)((0,P.jsx)(n.T1,{productId:T.id,productSlug:T.slug,productImg:T.img,onClose:()=>(0,v.M)(e)}))},children:t("product:addProductReview")})]}),(0,P.jsx)(n.OV,{reviews:A})]})]})]})}}}]);
2//# sourceMappingURL=553.b5b97815.chunk.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.