PageSourceSearch

https://coffeemania.ru/_next/static/chunks/pages/[slug]-7caf316e9acdbe8f.js

js coffeemania.ru collected 2026-10-02 04:04:20 UTC 17,073 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6219],{41535:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});let r=n(38754),o=n(85893),i=r._(n(67294)),l=r._(n(66484)),s={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function a(e){let{res:t,err:n}=e;return{statusCode:t&&t.statusCode?t.statusCode:n?n.statusCode:404}}let c={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{lineHeight:"48px"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},h2:{fontSize:14,fontWeight:400,lineHeight:"28px"},wrap:{display:"inline-block"}};class d extends i.default.Component{render(){let{statusCode:e,withDarkMode:t=!0}=this.props,n=this.props.title||s[e]||"An unexpected error has occurred";return(0,o.jsxs)("div",{style:c.error,children:[(0,o.jsx)(l.default,{children:(0,o.jsx)("title",{children:e?e+": "+n:"Application error: a client-side exception has occurred"})}),(0,o.jsxs)("div",{style:c.desc,children:[(0,o.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),e?(0,o.jsx)("h1",{className:"next-error-h1",style:c.h1,children:e}):null,(0,o.jsx)("div",{style:c.wrap,children:(0,o.jsxs)("h2",{style:c.h2,children:[this.props.title||e?n:(0,o.jsx)(o.Fragment,{children:"Application error: a client-side exception has occurred (see the browser console for more information)"}),"."]})})]})]})}}d.displayName="ErrorPage",d.getInitialProps=a,d.origGetInitialProps=a,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},25290:function(e,t,n){"use strict";n.d(t,{Z:function(){return P}});var r=n(8307),o=n(67294),i=n(87379);let l=i.ZP.nav.withConfig({displayName:"styled__StyledNavBarBreadcrumbs",componentId:"sc-yjs8kw-0"})(["height:50px;display:flex;align-items:center;flex-direction:row;overflow:hidden;padding-left:4px;& > ol{padding:0;display:flex;justify-content:center;align-items:center;flex-direction:row;height:100%;}& > ol > li:last-child a{color:#212121;}"]),s=i.ZP.button.withConfig({displayName:"styled__StyledButtonMenu",componentId:"sc-a5mxcn-0"})(["display:flex;flex-direction:row;align-items:center;justify-content:center;flex-shrink:0;color:",";padding:5px;height:32px;width:32px;border-radius:4px;font-size:14px;font-weight:600;line-height:20px;background-color:unset;margin:0px;overflow:hidden;cursor:pointer;border:1px solid #d1d1d1;border-bottom-color:transparent;border-left-color:transparent;border-right-color:transparent;border-top-color:transparent;& > span{flex-shrink:0;align-items:center;display:inline-flex;justify-content:center;font-size:20px;height:20px;width:20px;}& > span > svg:nth-child(1){display:flex;}& > span > svg:nth-child(2){display:none;}&:hover > span > svg:nth-child(1){display:none;}&:hover > span > svg:nth-child(2){display:flex;}&:active > span > svg:nth-child(1){display:none;}&:active > span > svg:nth-child(2){display:flex;}&:hover{background-color:",";}&:active{background-color:",";}&:focus-visible{box-sizing:border-box;outline:#FFFFFF 1px solid;outline-offset:-1px;}"],e=>e.color,e=>e.activeElementBackground,e=>e.pressedElementBackground);var a=n(85893),c=function(){return(0,a.jsx)("svg",{fill:"currentColor","aria-hidden":"true",width:"1em",height:"1em",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M6.25 10a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0Zm5 0a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0ZM15 11.25a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5Z",fill:"currentColor"})})},d=function(){return(0,a.jsx)("svg",{fill:"currentColor","aria-hidden":"true",width:"1em",height:"1em",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M6.75 10a1.75 1.75 0 1 1-3.5 0 1.75 1.75 0 0 1 3.5 0Zm5 0a1.75 1.75 0 1 1-3.5 0 1.75 1.75 0 0 1 3.5 0ZM15 11.75a1.75 1.75 0 1 0 0-3.5 1.75 1.75 0 0 0 0 3.5Z",fill:"currentColor"})})};let p=i.ZP.li.withConfig({displayName:"styled__StyledNavBarBreadcrumbItem",componentId:"sc-1hfy8lc-0"})(["display:flex;list-style-type:none;align-items:center;margin:0px;padding:0px;box-sizing:border-box;text-align:-webkit-match-parent;unicode-bidi:isolate;&:last-of-type a{cursor:default;}"]),f=i.ZP.a.withConfig({displayName:"styled__StyledAnchor",componentId:"sc-1hfy8lc-1"})(['display:flex;flex-direction:row;align-items:center;background-color:unset;border-bottom-color:transparent;border-left-color:transparent;border-right-color:transparent;border-top-color:transparent;border-radius:4px;font-family:"Suisse Intl";font-size:14px;font-style:normal;font-weight:400;line-height:18px;text-decoration:none;height:32px;line-height:20px;gap:16px;padding:0;min-width:unset;color:',";cursor:pointer;text-wrap:nowrap;&:hover{background-color:",";}&:active{background-color:",";}& > span:last-child{color:inherit;color:inherit;line-height:inherit;font-weight:inherit;font-size:inherit;font-family:inherit;text-align:center;max-width:",";overflow:hidden;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}&:focus-visible{box-sizing:border-box;outline:#FFFFFF 1px solid;outline-offset:-1px;}"],e=>e.color,e=>
1e.activeElementBackground,e=>e.pressedElementBackground,e=>Number.isFinite(e.truncationWidth)?e.truncationWidth+"px":e.truncationWidth??"unset"),u="#A0A1A4",h="",x="",g="",m="",y="";var b=function(e){let{normalIconPackage:t,normalIconCode:n,activeIconPackage:r,activeIconCode:i,text:l,href:s,target:c,truncationWidth:d}=e,b=(0,o.useRef)(),{0:v,1:j}=(0,o.useState)(!1);return(0,o.useEffect)(()=>{let e=b.current;e?.scrollWidth>e?.offsetWidth&&j(!0)},[d]),(0,a.jsx)(p,{truncationWidth:d,children:(0,a.jsx)(f,{truncationWidth:d,color:u,activeElementBackground:h,pressedElementBackground:x,fontFamily:g,fontSize:m,fontWeight:y,href:s,target:c,children:(0,a.jsx)("span",{ref:b,title:v?l:void 0,children:l})})})},v=function(e){let{onExpandClick:t}=e;return(0,a.jsx)(s,{color:b?.components?.navigationBar?.color,activeElementBackground:b?.components?.navigationBar?.activeElementBackground,pressedElementBackground:b?.components?.navigationBar?.pressedElementBackground,onClick:t,children:(0,a.jsxs)("span",{children:[(0,a.jsx)(c,{}),(0,a.jsx)(d,{})]})})};let j=i.ZP.li.withConfig({displayName:"styled__StyledArrow",componentId:"sc-qg0lht-0"})(["display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:400px;line-height:20px;color:",";padding-left:6px;padding-right:6px;"],e=>e.color);var w=function(){return(0,a.jsx)(j,{children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:(0,a.jsx)("path",{d:"M5.21967 12.7908C4.92678 12.5118 4.92678 12.0596 5.21967 11.7806L9.18934 8L5.21967 4.21936C4.92678 3.94042 4.92678 3.48816 5.21967 3.20921C5.51256 2.93026 5.98744 2.93026 6.28033 3.20921L10.7803 7.49492C11.0732 7.77387 11.0732 8.22613 10.7803 8.50508L6.28033 12.7908C5.98744 13.0697 5.51256 13.0697 5.21967 12.7908Z",fill:"#A0A1A4"})})})};function k(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 C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach(function(t){(0,r.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _(e){let t=e?.items?.length||0;return 1>Number(e?.maxDisplayedItems)?t:e?.maxDisplayedItems??t}function I(e){let t=e?.items?.length||0,n=_(e),r=e?.overflowIndex??-1;return n===t?-1:r}var P=function(e){let t=(0,o.useCallback)((t,n)=>{e?.onItemClick?.(t,n)},[e]),n=(0,o.useCallback)(t=>{e?.onExpandClick?.(t)},[e]),r=(0,o.useMemo)(()=>{let r=e?.items?.flatMap?.((r,i)=>{let l=I(e),s=function(e){let t=e?.items?.length||0,n=_(e);return -1===I(e)?-1:t-n+2}(e);return i===l?[a.jsx(v,{onExpandClick:n},`${r?.text}-${r?.href}-button-ellipsis`),a.jsx(w,{},`${r?.text}-${r?.href}-arrow`)]:i>l&&i<s?[]:[o.createElement(b,C(C({},r),{},{onItemClick:t,key:`${r?.text}-${r?.href}`})),a.jsx(w,{},`${r?.text}-${r?.href}-arrow`)]})||[];return r.pop(),r},[e,t,n]);return(0,a.jsx)(l,{"aria-label":"breadcrumb-with-tootip",showCurrentPage:e?.showCurrentPage,className:e?.className,children:(0,a.jsx)("ol",{role:"list",children:r})})}},2413:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return M},default:function(){return z}});var r=n(8307),o=n(4730),i=n(9008),l=n.n(i),s=n(12918),a=n.n(s),c=n(86896),d=n(85518),p=n(89757),f=n(74832),u=n(67294),h=n(11163),x=n(87379);let g=(0,x.iv)(["max-width:calc(1204px + 40 * 2px);padding:0 40px;margin:0 auto;"]),m=x.ZP.div.withConfig({displayName:"styles__MenuWrapper",componentId:"sc-hrkhzf-0"})([".breadcrumbs{"," padding-left:44px;}"],g),y=x.ZP.div.withConfig({displayName:"styles__ConditionInfoWrapper",componentId:"sc-hrkhzf-1"})(["display:flex;align-items:center;background:#ffffff;border-top:1px solid #dedede;border-bottom:1px solid #dedede;"]),b=x.ZP.div.withConfig({displayName:"styles__ConditionInfoText",componentId:"sc-hrkhzf-2"})(["display:flex;flex-wrap:nowrap;justify-content:center;align-items:center;gap:40px;"," padding-top:8px;padding-bottom:8px;"],g),v=x.ZP.a.withConfig({displayName:"styles__ConditionInfoLink",componentId:"sc-hrkhzf-3"})(["display:flex;justify-content:center;font-family:'Suisse Intl';font-size:16px;font-style:normal;font-weight:400;line-height:21px;text-decoration:underline;
1color:#77787b;white-space:nowrap;"]),j=x.ZP.div.withConfig({displayName:"styles__ConditionInfoDescription",componentId:"sc-hrkhzf-4"})(["display:flex;justify-content:center;font-family:'Suisse Intl';font-size:17px;font-style:normal;font-weight:400;line-height:26px;color:#212121 !important;p:last-of-type{display:none;}span{color:#212121 !important;}"]),w=x.ZP.div.withConfig({displayName:"styles__ConditionFullInfoWrapper",componentId:"sc-hrkhzf-5"})(["background:#f5f5f5;border-top:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;padding:24px 0;font-family:'Suisse Intl';font-weight:400;font-size:17px;line-height:26px;letter-spacing:0%;color:#212121;scroll-behavior:smooth;"]),k=x.ZP.div.withConfig({displayName:"styles__ConditionFullInfoContent",componentId:"sc-hrkhzf-6"})(["display:flex;gap:48px;",""],g),C=x.ZP.div.withConfig({displayName:"styles__ConditionFullInfoLeft",componentId:"sc-hrkhzf-7"})(["display:flex;flex-direction:column;gap:16px;flex-basis:40%;"]),_=x.ZP.div.withConfig({displayName:"styles__ConditionFullInfoRight",componentId:"sc-hrkhzf-8"})(["display:flex;flex-direction:column;gap:16px;flex-basis:60%;a{color:#376f62;text-decoration:underline;display:block;}"]);var I=n(27910),P=n(25290),O=n(33712),N=n(28873),Z=n(85893),E=function(e){let t=(0,h.useRouter)(),{categories:n,preorderData:r}=(0,u.useContext)(I.Z),o=(0,u.useMemo)(()=>r?.blocks?.find(e=>e?.["type-id"]===1)?.body||"",[r]),i=async()=>{},l=(0,u.useMemo)(()=>[{text:"Главная",href:"/"},{text:n?.[0]?.title,href:`/${t.asPath}`}],[]);return(0,Z.jsxs)(m,{className:"preorder",children:[(0,Z.jsx)(P.Z,{items:l,className:"breadcrumbs"}),(0,Z.jsx)(y,{onClick:i,children:(0,Z.jsxs)(b,{children:[(0,Z.jsx)(j,{children:(0,Z.jsx)("div",{dangerouslySetInnerHTML:{__html:o}})}),(0,Z.jsx)(v,{href:"#condition",children:"Условия предзаказа"})]})}),(0,Z.jsx)(O.Z,{className:"preorder"}),(0,Z.jsx)(w,{id:"condition",children:(0,Z.jsxs)(k,{children:[(0,Z.jsxs)(C,{children:[(0,Z.jsx)("div",{children:"Срок изготовления — 2 дня (не считая дня заказа)"}),(0,Z.jsx)("div",{children:"Оплата — 100% предоплата"}),(0,Z.jsx)("div",{children:"Скидки на кулинарию не распространяются"}),(0,Z.jsx)("div",{children:"Отмена заказа и возврат суммы предоплаты возможны не позднее 2-го дня до даты получения заказа"})]}),(0,Z.jsxs)(_,{children:[(0,Z.jsx)("div",{children:"Заказы товаров из других категорий, в том числе заказы с доставкой \xabкак можно быстрее\xbb с предзаказом не объединяются и должны быть оформлены и оплачены отдельно."}),(0,Z.jsxs)("div",{children:["Возможна доставка до вашего адреса или самовывоз из удобного ресторана.",(0,Z.jsx)("a",{href:"",children:"Условия доставки"})]}),(0,Z.jsx)("div",{children:"Детали заказа, стоимость доставки и возможность самовывоза из удобного вам ресторана должны быть подтверждены менеджером Кофемании. Дождитесь звонка менеджера после заказа для согласования деталей"})]})]})}),(0,Z.jsx)(N.Z,{})]})};let S=["deliverySettings","preorderData","loyaltyData","settingsData","favorites","errorCode","filtersData","categorySlug","hasToolbar","hasDeliveryBar"];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}var M=!0,z=(0,u.memo)(function(e){let{deliverySettings:t,preorderData:n,loyaltyData:i,settingsData:s,favorites:h,errorCode:x,filtersData:g,categorySlug:m,hasToolbar:y,hasDeliveryBar:b}=e,v=(0,o.Z)(e,S),j=(0,p.I0)(),w=(0,c.Z)();(0,u.useEffect)(()=>
1{if(null!==s){let e=JSON.parse(s?.find(e=>e?.key==="alert")?.value);if(e){let t=parseInt(localStorage.getItem("alertDate")??"0");e?.bgColor;let n=e?.enabled&&e?.updatedAt>t;j((0,f.K0)({isOpen:n,content:e?.content,height:56}))}}},[]);let k=(0,u.useMemo)(()=>w.formatMessage({id:"0QMu1V",defaultMessage:[{type:0,value:"Заказать доставку блюд из ресторанов Кофемания на дом и в офис в Москве"}]}),[w]),C=(0,u.useMemo)(()=>w.formatMessage({id:"A+hvx8",defaultMessage:[{type:0,value:"Официальный сайт московских ресторанов Кофемания. Заказать с собой или доставку на дом или в офис на сайте coffeemania.ru. Круглосуточная доставка по Москве."}]}),[w]);return x?(0,Z.jsx)(a(),{statusCode:x}):(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(l(),{children:[(0,Z.jsx)("title",{children:k}),(0,Z.jsx)("meta",{name:"title",content:k},"title"),(0,Z.jsx)("meta",{name:"description",content:C},"description"),d.G6&&(0,Z.jsx)("meta",{name:"apple-itunes-app",content:"app-id=1532106207"}),m&&(0,Z.jsx)("meta",{name:"robots",content:"noindex, nofollow"},"robots"),(0,Z.jsx)("link",{rel:"canonical",href:"https://coffeemania.ru/"})]}),(0,Z.jsx)(E,function(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,r.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}({},v))]})})},28873:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(47041),o=n(39332),i=n(67294);function l(){let e=(0,o.usePathname)(),t=(0,o.useRouter)();return(0,i.useEffect)(()=>{let e=e=>{let n=e.target,o=n.closest('[class*="CartIconWrapper"]'),i=n.closest('a[href*="/menu"]'),l=n.closest('[class*="StyledNavBarBreadcrumbItem"]');if(o&&(e.preventDefault(),e.stopPropagation(),t.push("/cart")),i&&l){e.preventDefault(),e.stopPropagation();let n="/menu",o=(0,r.getCookie)("cartType")??"default";n=`/${"preorder"===o?"cookery_preorder":"menu"}`,t.push(n)}};return document.addEventListener("click",e,!0),()=>{document.removeEventListener("click",e,!0)}},[e,t]),null}},9104:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[slug]",function(){return n(2413)}])},12918:function(e,t,n){e.exports=n(41535)},86896:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(67294),o=n(74806),i=n(680);function l(){var e=r.useContext(o._y);return(0,i.lq)(e),e}}},function(e){e.O(0,[5518,2888,9774,179],function(){return e(e.s=9104)}),_N_E=e.O()}]);

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.