PageSourceSearch

https://zarina.ru/_next/static/chunks/3963-7c9b816d946fabc0.js

js zarina.ru collected 2026-10-01 11:38:51 UTC 31,216 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},s=(new e.Error).stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="8944f770-b28f-46cf-80f9-a270cfa242ec",e._sentryDebugIdIdentifier="sentry-dbid-8944f770-b28f-46cf-80f9-a270cfa242ec")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3963],{26929:(e,s,l)=>{"use strict";l.d(s,{A:()=>a});var t=l(95155);l(12115);var i=l(15239);let a=e=>{let{className:s}=e;return(0,t.jsx)(i.default,{priority:!0,src:"/images/icons/podeli/podeli-logo.svg",width:116,height:54,alt:"podeli",className:s})}},34556:(e,s,l)=>{"use strict";l.d(s,{A:()=>r});var t=l(95155);l(12115);var i=l(18720),a=l(15239);function d(e){let{title:s,image:l,id:d}=e;return(0,t.jsxs)("div",{className:"relative mt-10 box-border flex w-full items-center bg-main-black/90 p-2 backdrop-blur-[5px] sm:max-w-[418px] sm:p-4 md:w-96",children:[(0,t.jsx)("div",{className:"md:w-18 aspect-3/4 w-12",children:(0,t.jsx)(a.default,{src:l,width:75,height:100,alt:"".concat(d),className:"object-fit h-full w-full"})}),(0,t.jsx)("div",{className:"ml-9 text-xs uppercase text-white sm:ml-12 2xl:text-sm",children:s}),(0,t.jsx)("div",{className:"absolute right-4 top-4 h-2.5 w-2.5 cursor-pointer sm:h-4 sm:w-4 [&_svg]:h-auto [&_svg]:w-full",onClick:()=>{i.oR.dismiss(d)},children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:(0,t.jsx)("path",{d:"M15 1L1 15M1.00001 1L15 15",stroke:"white",strokeLinecap:"round",strokeLinejoin:"round"})})})]})}let r=function(e){return i.oR.custom(s=>(0,t.jsx)(d,{id:s,title:e.title,image:e.image}))}},44770:(e,s,l)=>{"use strict";l.d(s,{A:()=>g});var t=l(95155),i=l(12115),a=l(54001),d=l(79945),r=l(58688),n=l(64269),c=l(2821),o=l(90957),x=l.n(o),m=l(68340),p=l(93771),h=l(39962),u=l(91572),f=l(54265),j=l(26929);let g=e=>{let{isOpen:s,toggle:l,cart:o=!1,productCardPrice:g=0}=e,{toggleDrawer:v}=(0,h.b)(),{setPaymentMethod:N,delivery:_,availablePaymentsIds:w,payments:y,payment_method:b,getPayments:C,total_discount:k,fetchCartLoading:L,setFetchcartLoading:M}=(0,d.A)(),[A,S]=(0,i.useState)(!1),[E,F]=(0,i.useState)(""),[B,O]=(0,i.useState)(""),[D,P]=(0,i.useState)([]),R="installment",z=e=>D.filter(s=>(null==s?void 0:s.type)==e),Z=e=>D.filter(s=>(null==s?void 0:s.type)==e).filter(e=>!o||w.includes(e.id)||["retail","pickupinstore"].includes(_)).map(e=>e.code),I=e=>{var s,l;return null!=(l=null==(s=D.find(s=>s.code==e))?void 0:s.discount)?l:0};return(0,i.useEffect)(()=>{if(s){var e,l;O(b);let s=Z(R).includes(b)?b:null!=(l=null==(e=Z(R))?void 0:e[0])?l:"";o&&E!=b?(M(!0),N(s)):M(!1),E==b&&M(!1),F(s),o?P(y):(S(!0),C({delivery:"express",total_sum:g}))}},[s]),(0,i.useEffect)(()=>{P(y)},[y]),(0,i.useEffect)(()=>{if(s){var e,l;let s=Z(R).includes(b)?b:null!=(l=null==(e=Z(R))?void 0:e[0])?l:"";F(s),S(!1),o&&E!=b&&(M(!0),N(s))}},[D]),(0,t.jsx)(a.cj,{open:s,onOpenChange:l,children:(0,t.jsxs)(a.h,{className:"z-[53] w-full lg:w-1/2",side:"right_bottom",children:[(0,t.jsx)(a.Fm,{className:"md:px-15 px-5 py-5 md:py-7",children:(0,t.jsx)(a.qp,{className:"text-gray-main text-app-m text-center font-light uppercase md:text-[25px] text-[16px]",children:"Рассрочка"})}),(0,t.jsx)("div",{className:"h-full w-full overflow-y-auto no-scrollbar",children:(0,t.jsxs)("div",{className:(0,n.cn)("2xl:w-[752px] xl:w-[560px] m-auto sm:px-15 pl-[10px] pr-[10px] flex flex-col items-center text-center text-xs uppercase lg:text-sm 2xl:text-base",{"opacity-50":A||L}),children:[z(R)&&z(R).length>0&&(0,t.jsx)("div",{className:"w-full flex gap-[10px]",children:z(R).filter(e=>!o||w.includes(e.id)||["retail","pickupinstore"].includes(_)).filter(e=>e.type==R).map(e=>(0,t.jsxs)("div",{onClick:()=>{o&&M(!0),F(e.code),N(e.code)},className:(0,n.cn)("2xl:w-[241px] xl:w-[180px] 2xl:h-[130px] xl:h-[98px] w-1/2 h-[92px] flex flex-col justify-between p-[10px] rounded-[5px] cursor-pointer border-2",{"border-[#F0F0F0]":E!=e.code}),children:["podeli"===e.code&&(0,t.jsx)("div",{className:"",children:(0,t.jsx)(j.A,{width:89,height:23,alt:e.title})}),"dolyame"===e.code&&(0,t.jsx)("div",{className:"",children:(0,t.jsx)(f.A,{width:83,height:23,alt:e.title})}),(0,t.jsxs)("div",{className:"w-full flex justify-between flex-row ",children:[(0,t.jsxs)("div",{className:"text-left 2xl:text-[14px] xl:text-[12px]",children:["podeli"===e.code&&(0,t.jsx)(t.Fragment,{children:"Подели"}),"dolyame"===e.code&&(0,t.jsx)(t.Fragment,{children:"Долями"})]}),e.discount>0&&(0,t.jsxs)("div",{className:"flex self-end text-[#bc9e84] font-bold",children:["-",e.discount,"%"]})]})]},e.code))}),A||L?(0,t.jsx)("div",{className:"flex h-full w-full flex-col items-center justify-center overflow-hidden no-scrollbar",children:(0,t.jsx)(u.A,{})}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"w-full uppercase p-[10px] bg-hover-light-gray mt-[40px] mb-[10px] 2xl:text-[14px] xl:text-[12px] text-[10px]",children:["dolyame"==E&&(0,t.jsxs)(t.Fragment,{children:["Купите сегодня, а заплатите только часть.\xa0",(0,t.jsx)("span",{className:"underline cursor-pointer",onClick:()=>{v("isDolyameOpen",!0)},children:"Подробнее"})]}),"podeli"==E&&(0,t.jsxs)(t.Fragment,{children:["Делать покупки стало проще с Подели.\xa0",(0,t.jsx)("span",{className:"underline cursor-pointer",onClick:()=>{v("isPodeliOpen",!0)},children:"Как это работает?"})]})]}),"dolyame"==E&&(0,t.jsx)(m.A,{min:!0,productCardPrice:g*(1-I("dolyame")/100),discount:I("dolyame")}),"podeli"==E&&(0,t.jsx)(p.A,{min:!0,productCardPrice:g*(1-I("podeli")/100),discount:I("podeli")}
1),o&&(0,t.jsx)(r.$,{className:(0,c.A)("mt-[10px] mb-[10px]",x().className),spanClassName:"font-[400] md:text-[16px] text-[12px]",disabled:!E,onClick:()=>{N(E),l()},loading:A,full:!0,children:"Подтвердить"})]})]})})]})})}},48752:(e,s,l)=>{"use strict";l.d(s,{A:()=>a});var t=l(95155);l(12115);var i=l(15239);let a=e=>{let{className:s}=e;return(0,t.jsx)(i.default,{priority:!0,src:"/images/icons/small-cart/close-small.svg",height:14,width:14,alt:"Close",className:s})}},54001:(e,s,l)=>{"use strict";l.d(s,{cj:()=>h,h:()=>g,XW:()=>N,Fm:()=>v,qp:()=>_});var t=l(71983),i=l(45849),a=l(17389),d=l(95155),r=l(12115),n=l(89511),c=l(83101),o=l(64269),x=l(48752),m=l(15239);let p=e=>{let{className:s}=e;return(0,d.jsx)(m.default,{priority:!0,src:"/images/icons/small-cart/close-min.svg",height:24,width:24,alt:"Close",className:s})},h=n.bL;n.l9,n.bm;let u=n.ZL,f=r.forwardRef((e,s)=>{var{className:l}=e,r=(0,a._)(e,["className"]);return(0,d.jsx)(n.hJ,(0,i._)((0,t._)({className:(0,o.cn)("fixed inset-0 z-[53] bg-black/60 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",l)},r),{ref:s}))});f.displayName=n.hJ.displayName;let j=(0,c.F)("fixed z-50 gap-4 bg-white transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{center:"",top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-full border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left",right:"inset-y-0 right-0 h-full w-3/4 data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right",right_bottom:"d:inset-y-0 right-0 bottom-0 md:bottom-none md:h-full w-3/4 data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right"}},defaultVariants:{side:"right"}}),g=r.forwardRef((e,s)=>{var{side:l="right",close:r="default",className:c,children:m}=e,h=(0,a._)(e,["side","close","className","children"]);return(0,d.jsxs)(u,{children:[(0,d.jsx)(f,{}),(0,d.jsxs)(n.UC,(0,i._)((0,t._)({ref:s,className:(0,o.cn)(j({side:l}),c),onInteractOutside:e=>{let s=e.target;(s.closest("[data-sonner-toast]")||s.closest("[data-sonner-toaster]"))&&e.preventDefault()}},h),{children:[m,(0,d.jsx)(n.bm,{className:"absolute right-4 top-4 cursor-pointer outline-none focus-visible:outline-none data-[state=open]:bg-main-black xl:right-4 xl:top-5 2xl:right-8 2xl:top-12",children:"min"==r?(0,d.jsx)(p,{}):(0,d.jsx)(x.A,{className:"h-5 w-5"})})]}))]})});g.displayName=n.UC.displayName;let v=e=>{var{className:s}=e,l=(0,a._)(e,["className"]);return(0,d.jsx)("div",(0,t._)({className:(0,o.cn)("flex flex-col space-y-2",s)},l))};v.displayName="SheetHeader";let N=e=>{var{className:s}=e,l=(0,a._)(e,["className"]);return(0,d.jsx)("div",(0,t._)({className:(0,o.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",s)},l))};N.displayName="SheetFooter";let _=r.forwardRef((e,s)=>{var{className:l}=e,i=(0,a._)(e,["className"]);return(0,d.jsx)(n.hE,(0,t._)({ref:s,className:(0,o.cn)("text-lg font-semibold text-middle-gray",l)},i))});_.displayName=n.hE.displayName,r.forwardRef((e,s)=>{var{className:l}=e,i=(0,a._)(e,["className"]);return(0,d.jsx)(n.VY,(0,t._)({ref:s,className:(0,o.cn)("text-muted-foreground text-sm",l)},i))}).displayName=n.VY.displayName},54265:(e,s,l)=>{"use strict";l.d(s,{A:()=>a});var t=l(95155);l(12115);var i=l(15239);let a=e=>{let{className:s}=e;return(0,t.jsx)(i.default,{priority:!0,src:"/images/icons/podeli/dolyame-logo.svg",width:116,height:54,alt:"dolyame",className:s})}},59522:()=>{},68340:(e,s,l)=>{"use strict";l.d(s,{A:()=>j});var t=l(95155),i=l(12115),a=l(15239),d=l(79945),r=l(64269),n=l(20851),c=l(14170),o=l(78723),x=l(54001);let m=e=>{let{className:s}=e;return(0,t.jsx)(a.default,{priority:!0,src:"/images/icons/dolyame-star.svg",width:32,height:32,alt:"dolyame star",className:s})},p=e=>{let{className:s}=e;return(0,t.jsx)(a.default,{priority:!0,src:"/images/icons/dolyame-wallet.svg",width:32,height:32,alt:"dolyame wallet",className:s})};var h=l(54265);let u=e=>{let{isOpen:s,toggle:l,productCardPrice:a=0}
1=e,[d,n]=(0,i.useState)(4),c=Math.round(a/d).toLocaleString();return(0,t.jsx)(x.cj,{open:s,onOpenChange:l,children:(0,t.jsxs)(x.h,{side:"center",close:"min",className:"fixed md:inset-0 m-auto bottom-0 md:bottom-none p-[23px] z-[53] w-full lg:w-[600px] lg:h-[362px] md:rounded-[20px] rounded-t-[20px]",children:[(0,t.jsx)(h.A,{width:83,height:23,alt:"Долями"}),(0,t.jsx)("div",{className:"mt-[20px] text-[24px] font-[700]",children:"Оплатите 25% от стоимости покупки"}),(0,t.jsx)("div",{className:"mt-[5px] text-[14px] text-middle-gray",children:"Оставшиеся 3 части спишутся автоматически с шагом в две недели"}),(0,t.jsxs)("div",{className:"w-full flex flex-col md:flex-row text-[14px] mt-[20px] mb-[20px]",children:[(0,t.jsxs)("div",{className:"w-full flex items-center",children:[(0,t.jsx)(m,{className:"mr-[10px]"}),"Без процентов и комиссий"]}),(0,t.jsxs)("div",{className:"w-full flex items-center mt-[5px] md:mt-[0px]",children:[(0,t.jsx)(p,{className:"mr-[10px]"}),"Как обычная оплата картой"]})]}),(0,t.jsxs)("div",{className:"p-[10px] mt-[15px] bg-hover-light-gray rounded-[10px]",children:[(0,t.jsx)("div",{className:"flex gap-2",children:[...Array(d).keys()].map(e=>(0,t.jsxs)("div",{className:"w-full flex flex-col gap-2 text-[12px]",children:[0==e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"flex",children:"Оплата сегодня"}),(0,t.jsxs)("div",{className:"flex mt-[-5px] text-[13px] font-[600]",children:[c," ₽"]})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"flex text-middle-gray",dangerouslySetInnerHTML:{__html:(e=>"Через "+2*e+"&nbsp;"+(0,r.td)(2*e,["неделю","недели","недель"]))(e)}}),(0,t.jsxs)("div",{className:"flex mt-[-5px] text-middle-gray text-[13px] font-[600]",children:[c," ₽"]})]}),(0,t.jsx)("div",{className:(0,r.cn)("h-[6px] rounded-full",{"bg-[#428bf9]":0==e,"bg-[#EBEBEB]":e})})]}))}),(0,t.jsx)("div",{className:"mt-[5px] mb-[5px] text-middle-gray text-[12px]",children:"Предварительный график платежей"})]}),(0,t.jsxs)("div",{className:"w-full text-center text-[12px] text-middle-gray mt-[10px] mb-[10px]",children:["Подробнее о сервисе можно узнать на ",(0,t.jsx)("a",{href:"https://dolyame.ru/help/customer/?internal_source=from_home_faq",target:"_blank",className:"underline text-[#428bf9]",children:"dolyame.ru"})]})]})})};var f=l(39962);let j=e=>{let{min:s=!1,productCardPrice:l=0,discount:x=0,onSelect:m}=e,{state:p,toggleDrawer:j}=(0,f.b)(),{productsDiscountGeneralPrice:g,deliveryPrice:v,total_sum:N,availablePaymentsIds:_,delivery:w,payments:y}=(0,d.A)(e=>e),[b,C]=(0,i.useState)(4),k=l||N,L=Math.round(k/b).toLocaleString(),M="installment";return k<=3e3&&!s?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"w-full p-[20px] pb-[25px] bg-hover-light-gray",children:[!s&&(0,t.jsxs)("div",{className:"w-full flex items-center items-start justify-between mb-[20px]",children:[(0,t.jsx)("div",{children:(0,t.jsx)(h.A,{})}),(0,t.jsx)("div",{children:y.filter(e=>(null==e?void 0:e.type)==M).filter(e=>_.includes(e.id)||["retail","pickupinstore"].includes(w)).length>=2&&(0,t.jsx)("span",{className:"uppercase text-app-underline whitespace-nowrap text-middle-gray",onClick:()=>m(M),children:"Изменить"})})]}),(0,t.jsxs)("div",{className:"flex items-center items-start justify-between",children:[(0,t.jsxs)("div",{className:"flex items-baseline gap-[10px]",children:[(0,t.jsxs)("div",{className:"text-xl font-[600] text-[18px]",children:[Math.round(k).toLocaleString()," ₽"]}),Math.round(k)!=Math.round(k)&&(0,t.jsxs)("div",{className:"text-sm font-medium line-through text-middle-gray",children:[Math.round(k).toLocaleString()," ₽"]})]}),(0,t.jsx)("div",{children:s&&(0,t.jsx)(a.default,{src:"/images/order/payment-dolyame-circle.png",alt:"Долями",width:25,height:25})})]}),(0,t.jsx)("div",{className:"flex gap-2 mt-[20px]",children:[...Array(b).keys()].map(e=>(0,t.jsxs)("div",{className:"w-full flex flex-col gap-2",children:[(0,t.jsx)("div",{className:(0,r.cn)("h-1 rounded-full",{"bg-[#428bf9]":0==e,"bg-[#EBEBEB]":e})}),(0,t.jsx)("div",{className:"flex uppercase text-middle-gray text-[12px]",children:0==e?(0,t.jsx)(t.Fragment,{children:"Сегодня"}):(0,t.jsxs)(t.Fragment,{children:[" ",(e=>{let s=new Date,l=(0,n.J)(s,2*e);return(0,c.GP)(l,"d MMM",{locale:o.ru})})(e)," "]})}),(0,t.jsxs)("div",{className:"flex text-xl font-[500] text-[14px]",children:[L," ₽"]})]}))}),!s&&(0,t.jsx)("div",{className:"flex items-center justify-between text-base text-[#505759] mt-[20px]",children:(0,t.jsx)("div",{className:"uppercase transition-all duration-300 text-[12px] sm:text-[10px]",children:"Примерный график"})})]}),s&&(0,t.jsx)("div",{className:"w-full flex uppercase transition-all duration-300 text-[12px] sm:text-[10px] mt-[20px] mb-[20px] text-middle-gray",children:"Примерный график"}),(0,t.jsx)(u,{isOpen:p.isDolyameOpen,productCardPrice:k,toggle:()=>j("isDolyameOpen",!p.isDolyameOpen)})]})}},71160:(e,s,l)=>{"use strict";l.d(s,{A:()=>i});var t=l(95155);let i=e=>{let{className:s}=e;return(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"62",height:"62",viewBox:"0 0 62 62",fill:"none",className:s,children:[(0,t.jsx)("mask",{id:"path-1-inside-1_4009_30681",fill:"white",children:(0,t.jsx)("path",{d:"M-1.10459e-06 31C3.92159e-07 13.8792 13.8792 -3.92159e-07 31 1.10459e-06C48.1208 2.60134e-06 62 13.8792 62 31C62 48.1208 48.1208 62 31 62C13.8792 62 -2.60134e-06 48.1208 -1.10459e-06 31Z"})}),(0,t.jsx)("g",{clipPath:"url(#paint0_angular_4009_30681_clip_path)",mask:"url(#path-1-inside-1_4009_30681)",children:(0,t.jsx)("g",{transform:"matrix(2.71011e-09 -0.031 0.031 2.71011e-09 31 31)",children:(0,t.jsx)("foreignObject",{x:"-1096.77",y:"-1096.77",width:"2193.55",height:"2193.55",children:(0,t.jsx)("div",{style:{background:"conic-gradient(from 90deg,rgba(0, 0, 0, 1) 0deg,rgba(102, 102, 102, 0) 360deg)",height:"100%",width:"100%",opacity:1}})})})}),(0,t.jsx)("path",{d:"M3 31C3 15.536 15.536 3 31 3L31 -3C12.2223 -3 -3 12.2223 -3 31L3 31ZM31 3C46.464 3 59 15.536 59 31L65 31C65 12.2223 49.7777 -3 31 -3L31 3ZM59 31C59 46.464 46.464 59 31 59L31 65C49.7777 65 65 49.7777 65 31L59 31ZM31 59C15.536 59 3 46.464 3 31L-3 31C-3 49.7777 12.2223 65 31 65L31 59Z",mask:"url(#path-1-inside-1_4009_30681)"}),(0,t.jsx)("defs",{children:(0,t.jsx)("clipPath",{id:"paint0_angular_4009_30681_clip_path",children:(0,t.jsx)("path",{d:"M3 31C3 15.536 15.536 3 31 3L31 -3C12.2223 -3 -3 12.2223 -3 31L3 31ZM31 3C46.464 3 59 15.536 59 31L65 31C65 12.2223 49.7777 -3 31 -3L31 3ZM59 31C59 46.464 46.464 59 31 59L31 65C49.7777 65 65 49.7777 65 31L59 31ZM31 59C15.536 59 3 46.464 3 31L-3 31C-3 49.7777 12.2223 65 31 65L31 59Z",mask:"url(#path-1-inside-1_4009_30681)"})})})]})}},81496:(e,s,l)=>{"use strict";l.d(s,{A:()=>r});var t=l(95155),i=l(12115),a=l(26324),d=l(50814);let r=e=>{let{productId:s,className:l="",product:r,index:n=1,item_list_name:c="",breadcrumbs:o=""}=e,[x,m]=(0,i.useState)(!1),{isFavorite:p,addFavorites:h,removeFavorites:u}=(0,a.A)(e=>e),f=async()=>
1{if(!x){if(m(!0),p(s))await u(s);else if(await h(s),r&&"offer"in r)(0,d.fC)("add_to_wishlist",{items:[r].map((e,s)=>{var l,t,i,a,d,r,n,c,x,m,p,h;return{item_id:null==e||null==(l=e.offer)?void 0:l.group_id,item_name:null==e||null==(t=e.offer)?void 0:t.title,index:s+1,item_brand:"ZARINA",item_category:null!=o?o:null==e||null==(i=e.offer)?void 0:i.categories,item_list_name:"Просмотр корзины",item_variant:null==(a=e.offer)?void 0:a.size_name,price:null==(r=e.offer)||null==(d=r.price)?void 0:d.discount_price,discount:(null==(c=e.offer)||null==(n=c.price)?void 0:n.has_discount)?(null==(m=e.offer)||null==(x=m.price)?void 0:x.common_price)-(null==(h=e.offer)||null==(p=h.price)?void 0:p.discount_price):0,quantity:null==e?void 0:e.quantity}})});else{var e,l,t,i,a,f,j,g,v,N,_,w;let s=(null==r?void 0:r.offers)?null!=(_=null==r||null==(e=r.offers)?void 0:e.find(e=>null==e?void 0:e.is_available))?_:null==r||null==(l=r.offers)?void 0:l[0]:null!=(w=null==r||null==(t=r.sizes)?void 0:t.flatMap(e=>e.offers).find(e=>null==e?void 0:e.is_available))?w:null==r||null==(f=r.sizes)||null==(a=f[0])||null==(i=a.offers)?void 0:i[0];(0,d.fC)("add_to_wishlist",{items:[{item_id:null==r?void 0:r.id,item_name:null==r?void 0:r.name,index:n+1,item_brand:"ZARINA",item_category:null!=o?o:null==r?void 0:r.categories,item_list_name:c,item_variant:null==s?void 0:s.size,price:null==r||null==(j=r.price)?void 0:j.discount_price,discount:(null==r||null==(g=r.price)?void 0:g.has_discount)?(null==r||null==(v=r.price)?void 0:v.common_price)-(null==r||null==(N=r.price)?void 0:N.discount_price):0,quantity:1}]})}m(!1)}};return(0,t.jsx)("div",{className:"".concat(l," flex h-3 w-3 flex-col items-center justify-center md:h-4 md:w-4"),onClick:()=>f(),children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"18",viewBox:"0 0 20 18",fill:"none",children:(0,t.jsx)("path",{d:"M10.8819 16.2222C10.378 16.6666 9.62202 16.6666 9.11806 16.2222L8.695 15.849C4.06 11.7771 1 9.08283 1 5.79564C1 3.10136 3.178 1 5.95 1C7.516 1 9.019 1.70627 10 2.81362C10.981 1.70627 12.484 1 14.05 1C16.822 1 19 3.10136 19 5.79564C19 9.08283 15.94 11.7771 11.305 15.849L10.8819 16.2222Z",stroke:"#232323",strokeLinejoin:"round",fill:p(s)?"#232323":"none"})})})}},87765:(e,s,l)=>{"use strict";l.d(s,{BE:()=>u,Uz:()=>x,_s:()=>o,gk:()=>f,zj:()=>h});var t=l(71983),i=l(45849),a=l(17389),d=l(95155),r=l(12115),n=l(83161),c=l(64269);let o=e=>{var{shouldScaleBackground:s=!0}=e,l=(0,a._)(e,["shouldScaleBackground"]);return(0,d.jsx)(n._s.Root,(0,t._)({shouldScaleBackground:s},l))};o.displayName="Drawer";let x=n._s.Trigger,m=n._s.Portal;n._s.Close;let p=r.forwardRef((e,s)=>{var{className:l}=e,i=(0,a._)(e,["className"]);return(0,d.jsx)(n._s.Overlay,(0,t._)({ref:s,className:(0,c.cn)("fixed inset-0 z-[55] bg-black/60",l)},i))});p.displayName=n._s.Overlay.displayName;let h=r.forwardRef((e,s)=>{var{className:l,children:r}=e,o=(0,a._)(e,["className","children"]);return(0,d.jsxs)(m,{children:[(0,d.jsx)(p,{}),(0,d.jsx)(n._s.Content,(0,i._)((0,t._)({ref:s,className:(0,c.cn)("fixed inset-x-0 bottom-0 z-[56] mt-24 flex h-auto flex-col bg-white",l)},o),{children:r}))]})});h.displayName="DrawerContent";let u=e=>{var{className:s}=e,l=(0,a._)(e,["className"]);return(0,d.jsx)("div",(0,t._)({className:(0,c.cn)("grid gap-1.5 p-4 text-center sm:text-left",s)},l))};u.displayName="DrawerHeader";let f=r.forwardRef((e,s)=>{var{className:l}=e,i=(0,a._)(e,["className"]);return(0,d.jsx)(n._s.Title,(0,t._)({ref:s,className:(0,c.cn)("text-lg font-semibold leading-none tracking-tight",l)},i))});f.displayName=n._s.Title.displayName,r.forwardRef((e,s)=>{var{className:l}=e,i=(0,a._)(e,["className"]);return(0,d.jsx)(n._s.Description,(0,t._)({ref:s,className:(0,c.cn)("text-muted-foreground text-sm",l)},i))}).displayName=n._s.Description.displayName},93771:(e,s,l)=>{"use strict";l.d(s,{A:()=>y});var t=l(95155),i=l(12115),a=l(15239),d=l(79945),r=l(64269),n=l(20851),c=l(14170),o=l(78723),x=l(54001);let m=e=>{let{className:s}=e;return(0,t.jsx)(a.default,{priority:!0,src:"/images/icons/podeli/podeli-first-pay.svg",width:76,height:76,alt:"dolyame star",className:s})},p=e=>{let{className:s}=e;return(0,t.jsx)(a.default,{priority:!0,src:"/images/icons/podeli/podeli-second-pay.svg",width:76,height:76,alt:"dolyame star",className:s})},h=e=>{let{className:s}=e;return(0,t.jsx)(a.default,{priority:!0,src:"/images/icons/podeli/podeli-third-pay.svg",width:76,height:76,alt:"dolyame star",className:s})},u=e=>{let{className:s}=e;return(0,t.jsx)(a.default,{priority:!0,src:"/images/icons/podeli/podeli-last-pay.svg",width:76,height:76,alt:"dolyame star",className:s})};var f=l(74551),j=l(65380);l(74062),l(1878),l(18068),l(59522);let g=e=>{let{items:s}=e,[l,a]=(0,i.useState)(0);return(0,f.Mn)(),(0,t.jsx)("div",{className:"swiper podeli-modal__desc2",children:(0,t.jsx)("div",{className:"swiper-wrapper",children:(0,t.jsx)(f.RC,{loop:!0,modules:[j.dK],slidesPerView:1,className:"h-full w-full",pagination:{clickable:!0},onSlideChange:e=>{a(e.realIndex)},children:(null!=s?s:[]).map((e,s)=>(0,t.jsxs)(f.qr,{children:[0==s&&(0,t.jsxs)("div",{className:"swiper-slide",children:[(0,t.jsxs)("div",{className:"swiper-slide-left",children:[(0,t.jsx)("div",{className:"podeli-modal__desc2--title",children:"Как оплатить с Подели?"}),(0,t.jsx)("div",{className:"podeli-modal__desc2--step",children:"Шаг 1"}
1),"Соберите корзину и выберите Подели",(0,t.jsx)("br",{})," в способах оплаты, а затем выберите",(0,t.jsx)("br",{})," количество платежей"]}),(0,t.jsx)("div",{className:"swiper-slide-center"}),(0,t.jsx)("div",{className:"swiper-slide-right",children:(0,t.jsx)("div",{className:"step1"})})]}),1==s&&(0,t.jsxs)("div",{className:"swiper-slide",children:[(0,t.jsxs)("div",{className:"swiper-slide-left",children:[(0,t.jsx)("div",{className:"podeli-modal__desc2--title",children:"Как оплатить с Подели?"}),(0,t.jsx)("div",{className:"podeli-modal__desc2--step",children:"Шаг 2"}),"Сегодня оплатите только первый",(0,t.jsx)("br",{})," платёж и покупка ваша, остальное —",(0,t.jsx)("br",{})," равными платежами раз в 2 недели"]}),(0,t.jsx)("div",{className:"swiper-slide-center"}),(0,t.jsx)("div",{className:"swiper-slide-right",children:(0,t.jsx)("div",{className:"step23"})})]}),2==s&&(0,t.jsxs)("div",{className:"swiper-slide",children:[(0,t.jsxs)("div",{className:"swiper-slide-left",children:[(0,t.jsx)("div",{className:"podeli-modal__desc2--title",children:"Как оплатить с Подели?"}),(0,t.jsx)("div",{className:"podeli-modal__desc2--step",children:"Шаг 3"}),"Управляйте своими покупками в",(0,t.jsx)("br",{})," мобильном приложении Подели"]}),(0,t.jsx)("div",{className:"swiper-slide-center"}),(0,t.jsx)("div",{className:"swiper-slide-right",children:(0,t.jsx)("div",{className:"step23"})})]})]},s))})})})},v=()=>(0,t.jsx)(g,{items:[0,1,2]});var N=l(26929);let _=e=>{let{isOpen:s,toggle:l,productCardPrice:a=0}=e,[d,r]=(0,i.useState)(4);return(0,t.jsx)(x.cj,{open:s,onOpenChange:l,children:(0,t.jsxs)(x.h,{side:"center",close:"min",className:"fixed md:inset-0 m-auto bottom-0 md:bottom-none z-[53] w-full lg:w-[644px] md:rounded-[20px] rounded-t-[20px]",children:[(0,t.jsxs)("div",{className:"p-[10px] md:p-[40px] pb-0",children:[(0,t.jsx)(N.A,{width:89,height:23,alt:"Подели"}),(0,t.jsx)("div",{className:"mt-[20px] text-[24px] font-[700]",children:"Платите удобно"}),(0,t.jsxs)("div",{className:"mt-[5px] text-[14px]",children:["Разделите оплату покупки на 4 платежа.",(0,t.jsx)("br",{}),"Оплачивайте в момент покупки только первую часть, остальное ",(0,t.jsx)("br",{}),"— равными платежами раз в две недели."]}),(0,t.jsx)("div",{className:"podeli-modal__graphs-wrap",children:(0,t.jsxs)("div",{className:"podeli-modal__graphs",children:[(0,t.jsxs)("div",{className:"podeli-modal__graphs-item",children:[(0,t.jsx)("div",{className:"podeli-modal__graphs-item_circle",children:(0,t.jsx)(m,{})}),(0,t.jsx)("div",{className:"podeli-modal__graphs-item_title",children:"25%"}),(0,t.jsx)("div",{className:"podeli-modal__graphs-item_text",children:"Сегодня"})]}),(0,t.jsxs)("div",{className:"podeli-modal__graphs-item",children:[(0,t.jsx)("div",{className:"podeli-modal__graphs-item_circle",children:(0,t.jsx)(p,{})}),(0,t.jsx)("div",{className:"podeli-modal__graphs-item_title",children:"25%"}),(0,t.jsxs)("div",{className:"podeli-modal__graphs-item_text",children:["через 2",(0,t.jsx)("br",{})," недели"]})]}),(0,t.jsxs)("div",{className:"podeli-modal__graphs-item",children:[(0,t.jsx)("div",{className:"podeli-modal__graphs-item_circle",children:(0,t.jsx)(h,{})}),(0,t.jsx)("div",{className:"podeli-modal__graphs-item_title",children:"25%"}),(0,t.jsxs)("div",{className:"podeli-modal__graphs-item_text",children:["через 4",(0,t.jsx)("br",{})," недели"]})]}),(0,t.jsxs)("div",{className:"podeli-modal__graphs-item",children:[(0,t.jsx)("div",{className:"podeli-modal__graphs-item_circle",children:(0,t.jsx)(u,{})}),(0,t.jsx)("div",{className:"podeli-modal__graphs-item_title",children:"25%"}),(0,t.jsxs)("div",{className:"podeli-modal__graphs-item_text",children:["через 6",(0,t.jsx)("br",{})," недель"]})]})]})}),(0,t.jsxs)("div",{className:"bg-hover-light-gray rounded-[10px] p-[10px] pl-[20px] mt-[20px] mb-[40px]",children:["4 платежа — без комиссий и переплат. ",(0,t.jsx)("a",{className:"text-[#ff1a1a] underline",href:"https://storage.yandexcloud.net/podeli.ru/landing_attachments/oferta_optsii.pdf",target:"_blank",children:"Подробнее"})]})]}),(0,t.jsx)(v,{}),(0,t.jsx)("div",{className:"p-[10px] md:p-[40px] pt-0 podeliBorder",children:(0,t.jsxs)("div",{className:"text-middle-gray text-[12px]",children:["Сервис Подели предоставляется ООО \xabА-4 Технологии\xbb, ОГРН 1227700064734. 115432,",(0,t.jsx)("br",{className:"hidden md:block"}),"г. Москва, пр-кт Андропова, д. 18, к. 3, этаж/пом./ком. 9/XIV/1. Подробная информация",(0,t.jsx)("br",{className:"hidden md:block"}),"о работе сервиса, условиях использования Опций и их стоимости на ",(0,t.jsx)("a",{href:"https://podeli.ru/",target:"_blank",children:"podeli.ru"})]})})]})})};var w=l(39962);let y=e=>{let{min:s=!1,productCardPrice:l=0,discount:x=0,onSelect:m}=e,{state:p,toggleDrawer:h}=(0,w.b)(),{productsDiscountGeneralPrice:u,deliveryPrice:f,total_sum:j,availablePaymentsIds:g,delivery:v,payments:y}=(0,d.A)(e=>
1e),[b,C]=(0,i.useState)(4),k=l||j,L=Math.round(k/b).toLocaleString(),M="installment";return k<=300&&!s?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"w-full p-[20px] pb-[25px] bg-hover-light-gray",children:[!s&&(0,t.jsxs)("div",{className:"w-full flex items-center items-start justify-between mb-[20px]",children:[(0,t.jsx)("div",{children:(0,t.jsx)(N.A,{alt:"Подели",width:116,height:54})}),(0,t.jsx)("div",{children:y.filter(e=>(null==e?void 0:e.type)==M).filter(e=>g.includes(e.id)||["retail","pickupinstore"].includes(v)).length>=2&&(0,t.jsx)("span",{className:"uppercase text-app-underline whitespace-nowrap text-middle-gray",onClick:()=>m(M),children:"Изменить"})})]}),(0,t.jsxs)("div",{className:"flex items-center items-start justify-between",children:[(0,t.jsxs)("div",{className:"flex items-baseline gap-[10px]",children:[(0,t.jsxs)("div",{className:"text-xl font-[600] text-[18px]",children:[Math.round(k).toLocaleString()," ₽"]}),Math.round(k)!=Math.round(k)&&(0,t.jsxs)("div",{className:"text-sm font-medium line-through text-middle-gray",children:[Math.round(k).toLocaleString()," ₽"]})]}),(0,t.jsx)("div",{children:s&&(0,t.jsx)(a.default,{src:"/images/order/payment-podeli-circle.png",alt:"Подели",width:25,height:25})})]}),4==b?(0,t.jsx)("div",{className:"flex gap-2 mt-[20px]",children:[...Array(b).keys()].map(e=>(0,t.jsxs)("div",{className:"w-full flex flex-col gap-2 transition-all duration-200",children:[(0,t.jsx)("div",{className:(0,r.cn)("h-1 rounded-full",{"bg-[#ef3124]":0==e,"bg-[#EBEBEB]":e})}),(0,t.jsx)("div",{className:"flex uppercase text-middle-gray text-[12px]",children:0==e?(0,t.jsx)(t.Fragment,{children:"Сегодня"}):(0,t.jsxs)(t.Fragment,{children:[" ",(e=>{let s=new Date,l=(0,n.J)(s,2*e);return(0,c.GP)(l,"d MMM",{locale:o.ru})})(e)," "]})}),(0,t.jsxs)("div",{className:"flex text-xl font-[500] text-[14px]",children:[L," ₽"]})]}))}):(0,t.jsxs)("div",{className:"flex gap-2 mt-[20px]",children:[(0,t.jsxs)("div",{className:"flex min-w-[15%] flex-col gap-2 transition-all duration-200 ease-in",style:{width:"calc(".concat(100/b,"% + ").concat(4.5*b,"px)")},children:[(0,t.jsx)("div",{className:"h-1 rounded-full bg-[#EF3124]"}),(0,t.jsx)("div",{className:"flex uppercase text-middle-gray text-[12px]",children:"Сегодня"}),(0,t.jsxs)("div",{className:"flex text-xl font-[500] text-[14px]",children:[L," ₽"]})]}),(0,t.jsxs)("div",{className:"ml-1.5 flex flex-col gap-2.5 transition-all duration-200 ease-in",style:{width:"calc(".concat(100-100/b,"% - ").concat(4.5*b,"px)")},children:[(0,t.jsx)("div",{className:"h-1 rounded-full bg-[#EBEBEB]"}),(0,t.jsx)("div",{className:"flex uppercase text-middle-gray ",children:"далее раз в 2 недели"}),(0,t.jsxs)("div",{className:"flex text-xl font-[500]",children:[b-1," ",(0,r.td)(b,["платеж","платежа","платежей"])," по ",L," ₽"]})]})]})]}),(0,t.jsx)(_,{isOpen:p.isPodeliOpen,productCardPrice:k,toggle:()=>h("isPodeliOpen",!p.isPodeliOpen)})]})}}}]);

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.