PageSourceSearch

https://coffeemania.ru/_next/static/chunks/pages/menu/[slug]-07afb8c02d76ce13.js

js coffeemania.ru collected 2026-10-02 04:03:47 UTC 4,494 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3311],{41535:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});let r=i(38754),n=i(85893),o=r._(i(67294)),s=r._(i(66484)),d={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function l(e){let{res:t,err:i}=e;return{statusCode:t&&t.statusCode?t.statusCode:i?i.statusCode:404}}let a={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 c extends o.default.Component{render(){let{statusCode:e,withDarkMode:t=!0}=this.props,i=this.props.title||d[e]||"An unexpected error has occurred";return(0,n.jsxs)("div",{style:a.error,children:[(0,n.jsx)(s.default,{children:(0,n.jsx)("title",{children:e?e+": "+i:"Application error: a client-side exception has occurred"})}),(0,n.jsxs)("div",{style:a.desc,children:[(0,n.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,n.jsx)("h1",{className:"next-error-h1",style:a.h1,children:e}):null,(0,n.jsx)("div",{style:a.wrap,children:(0,n.jsxs)("h2",{style:a.h2,children:[this.props.title||e?i:(0,n.jsx)(n.Fragment,{children:"Application error: a client-side exception has occurred (see the browser console for more information)"}),"."]})})]})]})}}c.displayName="ErrorPage",c.getInitialProps=l,c.origGetInitialProps=l,("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)},88757:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSP:function(){return b},default:function(){return w}});var r=i(9008),n=i.n(r),o=i(12918),s=i.n(o),d=i(11163),l=i(67294),a=i(89757),c=i(62609),u=i(39540),h=i(16931),p=i(18386),f=i(87379),x=i(39142);(0,f.F4)(["from{opacity:0;}to{opacity:1;}"]);let m=f.ZP.div.withConfig({displayName:"styles__ProductItemMask",componentId:"sc-ujnxfs-0"})(["position:fixed;top:0;width:100%;height:100%;background-color:rgba(33,33,33,0.8);z-index:1;"]),g=f.ZP.div.withConfig({displayName:"styles__ProductItemWrapper",componentId:"sc-ujnxfs-1"})(["position:absolute;top:50%;left:50%;width:100%;height:100%;background:white;z-index:2;border-radius:32px;box-shadow:0px 4px 24px 0px #0000001a;overflow:hidden;width:100%;min-width:1024px;max-width:1204px;height:608px;min-height:500px;max-height:674px;transform:translate(-50%,-50%);@media ","{min-width:unset;max-width:861px;height:100%;max-height:1016px;}@media ","{min-width:unset;max-width:668px;height:100%;max-height:904px;}"],x.Z.exactMedia.desktop,x.Z.exactMedia.tablet);var j=i(9556),y=i(85893);function _(e){let{product:t,cartType:i="default"}=e,r=(0,d.useRouter)(),n=(0,a.I0)();return(0,l.useEffect)(()=>{(0,u.ZP)("me/cart").then(e=>{e?.data&&n((0,h.o8)(e.data?.items))})},[]),(0,l.useEffect)(()=>{n((0,p.Xw)()),n((0,p.E8)()),n((0,j.nj)())},[]),(0,y.jsx)(m,{children:(0,y.jsx)(g,{children:(0,y.jsx)(c.x,{type:"page",cartType:i,productData:t,onClose:()=>r.push("/menu",void 0,{scroll:!1})})})})}var b=!0,w=function(e){let{productData:t,errorCode:i}=e;if(i)return(0,y.jsx)(s(),{statusCode:i});let r=`${t?.title} ${t?.weight} - заказать с доставкой в Москве`,o=`Заказать ${t?.title} с доставкой на дом в Кофемании. Меню и цены на сайте`;return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsxs)(n(),{children:[(0,y.jsx)("title",{children:r}),(0,y.jsx)("meta",{name:"title",content:r}
1,"title"),(0,y.jsx)("meta",{name:"description",content:o},"description")]}),(0,y.jsx)(_,{product:t})]})}},80299:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/menu/[slug]",function(){return i(88757)}])},12918:function(e,t,i){e.exports=i(41535)}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=80299)}),_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.