PageSourceSearch

https://kobor.ru/_next/static/chunks/pages/profile-order/[slug]-21ae22b5303173105756.js

js kobor.ru collected 2026-10-02 06:58:59 UTC 8,476 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7357],{20244:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return z},default:function(){return G}});var r,i,o,l,d,s,c,a,p=n(92809),h=n(67294),u=n(36808),f=n.n(u),g=n(41664),x=n(28216),m=n(29163),v=n(90832),j=n(84172),y=n(26438),O=n(52209),b=n(48803),w=m.ZP.div.withConfig({displayName:"ProfileOrderMainDetails",componentId:"sc-1o2grnk-0"})(["display:flex;flex-direction:column;"," ",""],(0,b.eq)("lg")(r||(r=(0,O.Z)(["\n        flex-direction: row;\n        padding: 0 ",";\n    "])),(0,b.T5)()),(0,b.eq)("xxl")(i||(i=(0,O.Z)(["\n        padding: 0 ",";\n    "])),(0,b.T5)(.5))),P=m.ZP.div.withConfig({displayName:"ProfileOrderMainDetailsCol",componentId:"sc-1xv0814-0"})(["display:flex;flex-direction:column;width:100%;",""],(0,b.eq)("lg")(o||(o=(0,O.Z)(["\n        width: 43%;\n        padding-right: ",";\n        margin-right: 3%;\n    "])),(0,b.T5)())),Z=n(88315),C=m.ZP.div.withConfig({displayName:"ProfileOrderMainDetailsItem",componentId:"sc-f7vzgg-0"})(["display:flex;flex-direction:column;margin:0 15px 38px;"," & > h4{font-weight:800;",";line-height:1;margin-bottom:15px;","}& > span{font-weight:600;",";line-height:1.5;opacity:.5;","}& > ul{list-style:none;li{font-weight:600;",";line-height:1.5;display:flex;&:not(:last-of-type){margin-bottom:15px;}span{margin-left:auto;}}}& > p{border-top:1px solid ",";padding-top:20px;display:flex;"," span{margin-left:auto;}}& > a{font-family:",";color:",";font-weight:500;",";width:fit-content;padding-bottom:1px;border-bottom:1px solid ",";transition:opacity .3s;&:hover{opacity:.6;}}"],(0,b.eq)("lg")(l||(l=(0,O.Z)(["\n        margin: 0 0 30px;\n    "]))),(0,b.LZ)(15,16,18),(0,b.eq)("lg")(d||(d=(0,O.Z)(["\n            margin-bottom: 20px;\n        "]))),(0,b.LZ)(13,15,16),(0,b.eq)("lg")(s||(s=(0,O.Z)(["\n            line-height: 2;\n        "]))),(0,b.LZ)(13,15,16),Z.O9.color3,(0,b.eq)("lg")(c||(c=(0,O.Z)(["\n            border-top: 1px solid ",";\n            padding-top: 30px;\n        "])),Z.O9.color10),Z.Rq.tt,Z.O9.color3,(0,b.LZ)(13,13,13),Z.O9.color3),_=n(85893),N=m.ZP.div.withConfig({displayName:"ProfileOrderMain",componentId:"sc-17flf0e-0"})(["display:flex;flex-direction:column;width:100%;"]),D=function(e){var t,n,r,i,o=e.slugOrId,l=(0,x.I0)(),d=(0,x.v9)((function(e){return e.order.order})),s=d.orderDetail,c=d.redirectPayment;(0,h.useEffect)((function(){var e=f().get("api_token");e&&o&&l((0,y.co)(o,e))}),[]);var a=(0,h.useState)({}),p=a[0],u=a[1];return(0,h.useEffect)((function(){s&&u({user:s.user,delivery:s.delivery,payment:s.payment})}),[s]),(0,_.jsx)(N,{children:s&&(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(j.Z,{id:s.id,product:s.product,status:s.status,createdAt:s.createdAt,type:"order",isOrder:!1,orderData:p,redirectPayment:c}),(0,_.jsxs)(w,{children:[(0,_.jsxs)(P,{children:[s.delivery&&(0,_.jsxs)(C,{children:[(0,_.jsx)("h4",{children:"\u0421\u043f\u043e\u0441\u043e\u0431 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438"}),(0,_.jsx)("span",{children:null===s||void 0===s||null===(t=s.delivery)||void 0===t?void 0:t.methods.filter((function(e){var t;return e.code===(null===s||void 0===s||null===(t=s.delivery)||void 0===t?void 0:t.methodCode)}))[0].title})]}),s.delivery&&s.user&&(0,_.jsxs)(C,{children:[(0,_.jsx)("h4",{children:"\u041f\u043e\u043b\u0443\u0447\u0430\u0442\u0435\u043b\u044c"}),(0,_.jsx)("span",{children:"".concat(s.user.lastName," ").concat(s.user.firstName," ").concat(s.user.middleName)}),(0,_.jsx)("span",{children:s.user.email}),(0,_.jsxs)("span",{children:["+",s.user.phone.replace(/(\d)(\d{3})(\d{3})(\d{4})/,"$1 $2 $3 $4")]})]})]}),(0,_.jsxs)(P,{children:[s.payment&&(0,_.jsxs)(C,{children:[(0,_.jsx)("h4",{children:"\u041e\u043f\u043b\u0430\u0442\u0430"}),(0,_.jsx)("span",{children:null===s||void 0===s||null===(n=s.payment)||void 0===n?void 0:n.methods.filter((function(e){var t;return e.code===(null===s||void 0===s||null===(t=s.payment)||void 0===t?void 0:t.methodCode)}))[0].title})]}),(0,_.jsx)(C,{children:s&&s.product&&(0,_.jsxs)("ul",{children:[(0,_.jsxs)("li",{children:["\u0422\u043e\u0432\u0430\u0440 (",null===s||void 0===s||null===(r=s.product)||void 0===r?void 0:r.items.length,")",(0,_.jsx)("span",{children:(0,v.Z)((null===s||void 0===s?void 0:s.product.totalPrice)+s.product.totalProfit)})]}),(0,_.jsxs)("li",{children:["\u0421\u043a\u0438\u0434\u043a\u0430",(0,_.jsx)("span",{children:(0,v.Z)(s.product.totalProfit)})]}),(0,_.jsxs)("li",{children:["\u0421\u0430\u043c\u043e\u0432\u044b\u0432\u043e\u0437 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e",(0,_.jsx)("span",{children:(0,v.Z)(0)})]})]})}),s&&s.product&&(0,_.jsx)(C,{children:(0,_.jsxs)("p",{children:["\u0418\u0442\u043e\u0433\u043e:",(0,_.jsx)("span",{children:(0,v.Z)(null===s||void 0===s?void 0:s.product.totalPrice)})]})})]})]}),"payment_cashless"===(null===(i=s.payment)||void 0===i?void 0:i.methodCode)&&"\u041e\u043f\u043b\u0430\u0447\u0435\u043d \u043e\u043d\u043b\u0430\u0439\u043d"===s.payment.status.title&&(0,_.jsx)(w,{children:(0,_.jsxs)(C,{children:[(0,_.jsx)("h4",{children:"\u042d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u044b\u0439 \u0447\u0435\u043a"}),(0,_.jsx)(g.default,{href:"/",passHref:!0,prefetch:!1,children:(0,_.jsx)("a",{children:"\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c"})})]})})]})})},L=n(10219),q=n(37487),E=n(54382),k=n(3080),I=m.ZP.a.withConfig({displayName:"FavoritesLayoutBackBtn",componentId:"sc-1c0xj6b-0"})(["position:relative;display:none;font-weight:600;",";cursor:pointer;"," &:hover{svg{transform:translateX(-20%) rotate(180deg);}}svg{width:18px;height:18px;transform:rotate(180deg);transition:transform 0.3s;vertical-align:middle;margin-right:10px;}"],(0,b.LZ)(11,13,13),(0,b.eq)("lg")(a||(a=(0,O.Z)(["\n        display: inline-block;\n        align-item: center;\n        margin-bottom: 2.0833vw;\n    "])))),S=n(18742),T=["categoriesList","footerContent","headerContent","children","content"];function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?M(Object(n),!0).forEach((function(t){(0,p.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var X=(0,m.ZP)(q.Z).withConfig({displayName:"ProfileOrderLayout__Wrapper",componentId:"sc-1gseq0b-0"})([""]),A=function(e){var t=e.categoriesList,n=e.footerContent,r=e.headerContent,i=e.children,o=e.content,l=(0,L.Z)(e,T);return(0,_.jsx)(X,$($({categoriesList:t,footerContent:n,headerContent:r},l),{},{children:(0,_.jsxs)(S.q,{children:[(0,_.jsx)(g.default,{href:"/profile",prefetch:!1,children:(0,_.jsxs)(I,{children:[(0,_.jsx)(k.Z,{}),"\u041d\u0430\u0437\u0430\u0434 \u043a \u0437\u0430\u043a\u0430\u0437\u0430\u043c"]})}),(0,_.jsx)(E.Z,{path:[{title:"\u0413\u043b\u0430\u0432\u043d\u0430\u044f",href:"/"},{title:"\u041b\u0438\u0447\u043d\u044b\u0439 \u043a\u0430\u0431\u0438\u043d\u0435\u0442",href:"/profile"},{title:null===o||void 0===o?void 0:o.crumbs,href:"".concat(null===o||void 0===o?void 0:o.slug)}]}),(0,_.jsx)("h1",{children:l.title}),i]})}))};function B(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?B(Object(n),!0).forEach((function(t){(0,p.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):B(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var z=!0,G=function(e){var t=e.ProfileOrder,n=e.categoriesList,r=e.footerContent,i=e.header;return(0,_.jsx)(A,F(F({contrast:!0,content:t.content,categoriesList:n,footerContent:r,headerContent:i},t.meta),{},{children:(0,_.jsx)(D,{slugOrId:t.content.slug})}))}},66341:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/profile-order/[slug]",function(){return n(20244)}])}},function(e){e.O(0,[6788,7,7333,4570,7487,7116,9774,2888,179],(function(){return t=66341,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.