PageSourceSearch

https://kobor.ru/_next/static/chunks/7894-bf99cb6ec5fc429f52fa.js

js kobor.ru collected 2026-10-02 06:58:12 UTC 16,073 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7894,8890],{98890:function(e,t,n){n.r(t);var i,r,o,a=n(92809),s=n(30266),l=n(52209),d=n(809),c=n.n(d),p=n(67294),m=n(42283),u=n(57333),f=n(28216),h=n(29654),x=n(29163),g=n(77598),y=n(20471),v=n(60143),Z=n(3939),j=n(25780),w=n(31684),b=n(68222),P=n(84386),C=n(42928),q=n(48803),O=n(88315),R=n(74800),S=n(70916),k=n(85893);function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?T(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _=x.ZP.div.withConfig({displayName:"PriceRequestPopup__Wrapper",componentId:"sc-1ba91ts-0"})(["position:absolute;bottom:0;display:flex;flex-direction:column;width:100%;max-height:100%;background-color:",";padding:56px ",";"," h3{margin-bottom:30px;font-family:",";",";line-height:1.2;font-weight:800;","}& > button{",";}","{overflow-y:auto;&::-webkit-scrollbar{display:none;}-ms-overflow-style:none;scrollbar-width:none;}","{margin-bottom:10px;&:last-of-type{margin-bottom:20px;}","}"],O.O9.white,(0,q.T5)(1),(0,q.eq)("xl")(i||(i=(0,l.Z)(["\n        position: relative;\n        padding-top: 60px;\n        padding-bottom: 67px;\n        width: 720px;\n    "]))),O.Rq.mont,(0,q.LZ)(18,24,24),(0,q.eq)("lg")(r||(r=(0,l.Z)(["\n            margin-bottom: 40px;\n        "]))),S.Z,g.Z,Z.Z,(0,q.eq)("lg")(o||(o=(0,l.Z)(["\n            margin-bottom: 20px;\n\n            &:last-of-type {\n                margin-bottom: 40px;\n            }\n        "])))),I=(0,f.$j)((function(e){return{modalForm:e.modalForm}}),{modalFormRequest:C.O2,modalFormDispatch:C.ve,modalFormClear:C.p0});t.default=I((function(e){var t=e.productId,n=e.onCloseModal,i=e.modalForm,r=e.modalFormRequest,o=e.modalFormDispatch,a=e.modalFormClear,l=i.modalForm,d=l.formData,f=l.statusRequest,x=l.messageRequest,C=l.statusDispatch,q=l.messageDispatch,O=(0,m.cI)({mode:"onChange"}),S=O.handleSubmit,T=O.register,I=O.control,F=O.watch,E=O.errors,z=O.formState,L=F();(0,p.useEffect)((function(){r("priceRequest")}),[]);var D=function(){var e=(0,s.Z)(c().mark((function e(t){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o("priceRequest",t);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return(0,k.jsxs)(_,{children:[(0,k.jsx)("button",{onClick:function(){n(),a()}}),d&&(0,k.jsx)("h3",{children:d.form.formTitle}),"success"===f&&"success"!==C&&d?(0,k.jsxs)(g.Z,{onSubmit:S(D),children:[d.fields.map((function(e){var n;return e.isHidden?e.isHidden?(0,k.jsx)("input",{name:e.name,type:e.isHidden?"hidden":e.type,value:t,ref:T},e.id):void 0:(0,k.jsxs)(Z.Z,{children:[(0,k.jsxs)(b.Z,{fillInput:!(null===(n=L[e.name])||void 0===n||!n.length),error:!!E[e.name]||!!q[e.name],children:["alphabetical"===e.validationType&&(0,k.jsx)("input",{name:e.name,type:e.type,ref:T({required:e.requiredError?"".concat(e.requiredError):e.isRequired,pattern:{value:/^[a-zA-Z\u0430-\u044f\u0410-\u042f -]+$/,message:"".concat(e.invalidError)},maxLength:{value:80,message:"\u0414\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u2014 \u043d\u0435 \u0431\u043e\u043b\u0435\u0435 80"}})}),"email"===e.validationType&&(0,k.jsx)("input",{name:e.name,type:e.type,ref:T({required:e.requiredError?"".concat(e.requiredError):e.isRequired,pattern:{value:/^([a-zA-Z\-0-9]*|([a-zA-Z]([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*))|(".+"))@(([a-zA-Z0-9]+\.)+[a-zA-Z\-0-9]{2,})$/,message:"".concat(e.invalidError)}})}),"ru_phone"===e.validationType&&(0,k.jsx)(m.Qr,{name:e.name,control:I,as:(0,k.jsx)(u.Z,N({},R.Z.numberFormatOptions)),rules:{required:e.requiredError?"".concat(e.requiredError):e.isRequired},defaultValue:""}),!e.validationType&&"text"===e.type&&(0,k.jsx)("input",{name:e.name,type:e.type,ref:T({required:e.requiredError?"".concat(e.requiredError):e.isRequired,maxLength:{value:80,message:"\u0414\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u2014 \u043d\u0435 \u0431\u043e\u043b\u0435\u0435 80"}})}),(0,k.jsx)(w.Z,{children:e.title})]}),E[e.name]&&(0,k.jsx)(j.Z,{children:E[e.name].message}),q[e.name]&&(0,k.jsx)(j.Z,{children:q[e.name]})]},e.id)})),(0,k.jsx)(P.Z,{textButton:d.form.buttonText}),(0,k.jsx)(y.Z,{disabled:!z.isDirty||!z.isValid,children:"loading"===C?(0,k.jsx)(h.Z,{}):d.form.buttonText})]}):x&&(0,k.jsx)(v.Z,{children:x}),"success"===C&&q&&(0,k.jsx)(v.Z,{dangerouslySetInnerHTML:{__html:q}})]})}))},98335:function(e,t,n){n.d(t,{s:function(){return l}});var i,r,o=n(52209),a=n(29163),s=n(48803),l=a.ZP.div.withConfig({displayName:"ProductCardSimplePicture",componentId:"sc-1w5gs39-0"})(["position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:20px ",";&:hover{cursor:pointer;}img{transition:transform 0.5s;}"," ",""],(0,s.T5)(),(0,s.eq)("lg")(i||(i=(0,o.Z)(["\n        width: 145px;\n        height: 145px;\n    "]))),(0,s.eq)("xl")(r||(r=(0,o.Z)(["\n        width: 225px;\n        height: 170px;\n        margin: 0 20px 0 0;\n    "]))))},97894:function(e,t,n){n.d(t,{i:function(){return oe},Z:function(){return se}});var i,r,o,a,s,l,d,c,p,m,u,f,h=n(7312),x=n(25675),g=n(41664),y=n(67294),v=n(28216),Z=n(29163),j=n(48214),w=n(82542),b=n(21789),P=n(41441),C=n(90832),q=n(98890),O=n(26570),R=n(80215),S=n(52209),k=n(70260),T=n(48803),N=Z.ZP.div.withConfig({displayName:"ProductCardSimpleCheckout",componentId:"sc-10bio6c-0"})(["right:0;bottom:0;display:flex;flex-direction:column;margin-left:auto;margin-top:auto;column-gap:20px;"," "," "," ","{margin-bottom:15px;white-space:nowrap;",";","}"],(0,T.eq)("lg")(i||(i=(0,S.Z)(["\n        flex-direction: row;\n    "]))),(0,T.eq)("xxl")(r||(r=(0,S.Z)(["\n        margin-right: 0;\n    "]))),(0,T.eq)("xxxl")(o||(o=(0,S.Z)(["\n        column-gap: ",";\n    "])),(0,T.T5)()),k.w,(function(e){return e.favorite&&"\n            &:last-of-type {\n                margin-right: 0; \n            };\n        "}),(0,T.eq)("xl")(a||(a=(0,S.Z)(["\n            margin-bottom: 0;\n        "])))),_=n(88315),I=Z.ZP.div.withConfig({displayName:"ProductCardSimpleCode",componentId:"sc-1c45son-0"})(["position:relative;margin-bottom:10px;font-family:",";font-weight:600;font-size:11px;span{opacity:.6;}"],_.Rq.mont),F=Z.ZP.div.withConfig({displayName:"ProductCardSimpleContent",componentId:"sc-y7v8cr-0"})(["position:relative;display:grid;grid-template-columns:1fr auto;flex-direction:column;width:100%;row-gap:20px;"]),E=n(98335),z=n(45896),L=n(64410),D=Z.ZP.div.withConfig({displayName:"ProductCardSimplePrice",componentId:"sc-1tctjmn-0"})(["position:relative;display:flex;flex-direction:column;align-items:flex-end;margin-right:5px;margin-top:auto;margin-left:auto;span{",";font-weight:600;line-height:1;color:",";text-decoration:line-through;margin-right:8px;&:before{",";display:inline-block;",";font-weight:800;text-decoration:none;color:",";padding:4px 5px;background-color:",";margin-right:14px;}}p{",";font-weight:600;font-family:",";}button{",";",";min-width:140px;",";}"],(0,T.LZ)(13,13,13),(0,z.m4)(_.O9.color3,.3),(function(e){return e.before&&"\n                content: '- ".concat(e.before," %';\n            ")}),(0,T.LZ)(11,11,11),_.O9.red,_.O9.gray,(0,T.LZ)(13,15,15),_.Rq.mont,L.Z,(0,T.LZ)(12,13,15),(0,T.eq)("lg")(s||(s=(0,S.Z)(["\n            padding: 16px;\n        "])))),A=Z.ZP.div.withConfig({displayName:"ProductCardSimplePriceContent",componentId:"sc-a2firl-0"})(["position:relative;display:flex;align-items:flex-end;flex-direction:column;margin-right:5px;span{",";font-weight:600;line-height:1;color:",";text-decoration:line-through;margin-right:8px;margin-bottom:15px;}","{top:-60%;right:15%;",";&::before{","}}"],(0,T.LZ)(13,15,15),(0,z.m4)(_.O9.color3,.3),O.BI,(0,T.LZ)(11,11,13),(0,T.eq)("xl")(l||(l=(0,S.Z)(["\n                width: ",";\n                height: ",";\n            "])),(0,T.T5)(.75),(0,T.T5)(.375))),H=Z.ZP.div.withConfig({displayName:"ProductCardSimpleStatus",componentId:"sc-vv0i2q-0"})(["position:relative;width:fit-content;padding:2px 5px;font-family:",";",";font-weight:600;line-height:1;border:1px solid ",";",""],_.Rq.mont,(0,T.LZ)(9,11,13),_.O9.color2,(0,T.eq)("lg")(d||(d=(0,S.Z)(["\n        padding: 5px 15px;\n        margin-top: 20px;\n    "])))),W=Z.ZP.div.withConfig({displayName:"ProductCardSimpleStatus__ProductCardSimpleProductionTimeStatus",componentId:"sc-vv0i2q-1"})(["position:relative;font-family:",";font-size:15px;font-weight:500;line-height:15px;padding-top:10px;"],_.Rq.tt),B=Z.ZP.a.withConfig({displayName:"ProductCardSimpleTitle",componentId:"sc-kvn354-0"})(["position:relative;padding-bottom:20px;font-family:",";font-weight:600;font-size:15px;line-height:1.4;color:",";transition:opacity 0.5s;&:hover{opacity:.6;}",";"],_.Rq.mont,_.O9.color3,(0,T.eq)("lg")(c||(c=(0,S.Z)(["\n        ","\n    "])),(function(e){return e.char&&"padding-bottom: 13px;"}))),V=Z.ZP.div.withConfig({displayName:"styles__ContentWrapper",componentId:"sc-a2e0zf-0"})(["",""],(0,T.eq)("xl")(p||(p=(0,S.Z)(["\n        display: grid;\n        margin-right: ",";\n    "])),(0,T.T5)(.5))),$=Z.ZP.div.withConfig({displayName:"styles__OptionsWrapper",componentId:"sc-a2e0zf-1"})(["display:grid;row-gap:20px;"," ",""],(0,T.eq)("xl")(m||(m=(0,S.Z)(["\n        max-width: 250x;\n        margin-right: ",";\n    "])),(0,T.T5)(.5)),(0,T.eq)("xl")(u||(u=(0,S.Z)(["\n        max-width: initial;\n        margin-right: ",";\n    "])),(0,T.T5)(.75))),M=Z.ZP.div.withConfig({displayName:"styles__ConstructorPrice",componentId:"sc-a2e0zf-2"})(["display:flex;align-items:flex-end;color:",";"," & > span{color:",";font-size:24px;font-family:",";font-weight:500;line-height:24px;text-decoration:none;white-space:nowrap;margin:0 4px 0 0;}& > p{color:",";font-size:15px;font-family:",";font-weight:500;line-height:15px;text-decoration:none;white-space:nowrap;}"],(0,z.m4)(_.O9.red,.8),(0,T.eq)("xxxl","max")(f||(f=(0,S.Z)(["\n        flex-direction: column;\n        align-items: start;\n    "]))),_.O9.color3,_.Rq.tt,_.O9.color1,_.Rq.tt),U=Z.ZP.div.withConfig({displayName:"styles__ConstructorPriceWrapper",componentId:"sc-a2e0zf-3"})(["position:relative;display:grid;margin-top:auto;margin-bottom:40px;row-gap:8px;& > ",":first-of-type{span{color:",";}}"],M,(0,z.m4)(_.O9.red,.8)),Q=n(1340),X=n(25506),G=n(13044),J=n(20897),K=n(79528),Y=n(80442),ee=n(61927),te=n(49439),ne=Z.ZP.div.withConfig({displayName:"ProductCardSimplePriceContentPrices",componentId:"sc-wmvbh6-0"})(["position:relative;display:flex;align-items:flex-end;margin-bottom:22px;p{white-space:nowrap;font-family:",";font-weight:500;&:first-of-type{&:not(:last-of-type){margin-right:20px;color:",";}}&:last-of-type{",";}}"],_.Rq.tt,(0,z.m4)(_.O9.red,.8),(0,T.LZ)(15,16,24)),ie=n(85893),re={initial:"close",variants:{open:{opacity:1,transition:{duration:1}},close:{opacity:0}
1}},oe=(0,Z.ZP)(h.E.div).attrs((function(){return re})).withConfig({displayName:"ProductCardSimple__Wrapper",componentId:"sc-fwhbh9-0"})(["display:flex;color:currentColor;width:100%;padding:1.5625vw 0;border-bottom:1px solid ",";&:hover{","{img{transform:scale(1.1);}}}"],_.O9.gray,E.s),ae={addToCartRequest:ee.nN,qtyCartRequest:ee.Ud},se=(0,v.$j)((function(e){return{basketPopup:e.basketPopup,cart:e.cart}}),ae)((function(e){var t,n=e.className,i=e.product,r=e.favorite,o=void 0!==r&&r,a=e.isLoading,s=void 0!==a&&a,l=e.loadAnim,d=void 0===l||l,c=e.qtyCartRequest,p=e.addToCartRequest,m=e.priority,u=void 0!==m&&m,f=(0,J.Z)(i),h=f.fetchedProduct,Z=f.isProductFetching,S=f.extraProducts,k=f.extraProductsPrice,T=f.handleOnRemove,_=f.handleOnResetConfiguration,z=f.handleOnChangeConfiguration,L=f.handleOnValuePropClick,ee=f.handleOnAdd,re=(0,v.v9)((function(e){return e.basketPopup.basketPopup})).basket,ae=(0,te.Z)(re,h.id).isInsideBasket,se=(0,G.fL)(h.price,h.basePrice),le=null===(t=h.gallery)||void 0===t?void 0:t.filter((function(e){return null===e||void 0===e?void 0:e.file})),de=(0,y.useState)(!1),ce=de[0],pe=de[1];return(0,ie.jsxs)(oe,{className:n,animate:d?"open":"close",children:[s?(0,ie.jsx)(X.Z,{Simple:!0}):(0,ie.jsxs)(ie.Fragment,{children:[(0,ie.jsx)(g.default,{href:(0,Y.cg)(h.slug),passHref:!0,prefetch:!1,children:(0,ie.jsxs)(E.s,{children:[le&&(null===le||void 0===le?void 0:le.length)>1?(0,ie.jsx)(R.Z,{gallery:le,fill:!0,title:h.title}):(0,ie.jsx)(x.default,{src:(0,G.He)(h),alt:h.title,width:200,height:200,priority:u,loading:u?"eager":"lazy"}),Z&&(0,ie.jsx)(b.Z,{})]})}),(0,ie.jsxs)(F,{children:[(0,ie.jsxs)(V,{children:[h.article&&(0,ie.jsxs)(I,{children:[(0,ie.jsx)("span",{children:"\u0410\u0440\u0442\u0438\u043a\u0443\u043b: "})," ",h.article,Z&&(0,ie.jsx)(b.Z,{})]}),(0,ie.jsx)(g.default,{href:(0,Y.cg)(h.slug),passHref:!0,prefetch:!1,children:(0,ie.jsxs)(B,{char:!!h.properties,children:[h.title,Z&&(0,ie.jsx)(b.Z,{})]})}),h.properties&&h.properties.length>0&&h.properties.filter((function(e){return e.prop.main})).map((function(e,t){var n=e.prop,i=e.value;return(0,ie.jsxs)(I,{children:[(0,ie.jsxs)("span",{children:[n.title," "]})," ",i,Z&&(0,ie.jsx)(b.Z,{})]},t)})),h.stockStatus&&!h.productionTime&&(0,ie.jsxs)(H,{children:[h.stockStatus.title,Z&&(0,ie.jsx)(b.Z,{})]}),h.stockStatus&&h.productionTime?(0,ie.jsxs)(W,{children:["c\u0440\u043e\u043a \u0438\u0437\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d\u0438\u044f: ",h.productionTime," \u0434\u043d\u0435\u0439",Z&&(0,ie.jsx)(b.Z,{})]}):(0,ie.jsx)(ie.Fragment,{})]}),(0,ie.jsxs)($,{children:[h.value_props?(0,ie.jsx)(Q.Z,{data:h.value_props,isLoading:Z,extraProducts:S,onAddExtraProduct:ee,onRemoveExtraProduct:T,onValuePropClick:L,onChangeConfiguration:z,onResetConfiguration:_,variant:"small"}):(0,ie.jsx)(ie.Fragment,{}),(0,ie.jsxs)(N,{favorite:!!o,children:[o&&(0,ie.jsx)(w.Z,{product:h,className:"simple"}),(0,ie.jsx)(j.Z,{product:h,className:"simple"})]})]})]}),(0,ie.jsx)(D,{children:h.priceOnRequest?(0,ie.jsxs)(ie.Fragment,{children:[(0,ie.jsx)("p",{children:"\u0426\u0435\u043d\u0430 \u043f\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0443"}),(0,ie.jsx)("button",{onClick:function(){return pe(!0)},children:"\u0423\u0437\u043d\u0430\u0442\u044c \u0446\u0435\u043d\u0443"})]}):3!==h.stockStatus.code?(0,ie.jsxs)(ie.Fragment,{children:[(0,ie.jsxs)(A,{children:[null!==se&&(0,ie.jsxs)(ie.Fragment,{children:[(0,ie.jsxs)(O.BI,{children:[se,"%"]}),h.basePrice&&(0,C.Z)(h.basePrice)]}),!(h.type===K.j.CONSTRUCTOR)&&(0,ie.jsxs)(ne,{children:[h.cashPrice?(0,C.Z)(h.price,""," \u0440. \u0431/\u043d",!0):(0,C.Z)(h.price,""," \u0440.",!0),(0,C.Z)(h.cashPrice,""," \u0440.",!0)]}),h.type===K.j.CONSTRUCTOR&&(0,ie.jsxs)(U,{children:[(0,ie.jsxs)(M,{children:[(0,C.Z)(h.price,""," \u20bd"),(0,ie.jsx)("p",{children:" \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0442"})]}),(0,ie.jsxs)(M,{children:[(0,C.Z)(h.price+k,""," \u20bd"),(0,ie.jsx)("p",{children:" \u0441\u043e\u0441\u0442\u0430\u0432 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0442\u0430 \u043d\u0430 \u0444\u043e\u0442\u043e"})]})]}),Z&&(0,ie.jsx)(b.Z,{})]}),(0,ie.jsx)("button",{type:"button",onClick:function(){return S.filter((function(e){return e.is_added})).length>0?(0,G.Nw)(i,re,c,p,S.filter((function(e){return e.is_added}))):(0,G.Xq)(i,re,c,p)},children:ae?"\u0412 \u043a\u043e\u0440\u0437\u0438\u043d\u0435":"\u041a\u0443\u043f\u0438\u0442\u044c"})]}):(0,ie.jsx)("p",{})})]}),h.priceOnRequest?(0,ie.jsx)(P.Z,{isOpen:ce,onClose:function(){return pe(!1)},children:(0,ie.jsx)(q.default,{onCloseModal:function(){return pe(!1)},productId:h.id})}):(0,ie.jsx)(ie.Fragment,{})]})}))}}]);

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.