PageSourceSearch

https://frescoasia.ru/_next/static/chunks/1380.a8ecb37e06acc3af.js

js frescoasia.ru collected 2026-10-02 01:11:19 UTC 12,162 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:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="71a4df74-1ccc-4c0e-a890-d625c9a5a3c3",e._sentryDebugIdIdentifier="sentry-dbid-71a4df74-1ccc-4c0e-a890-d625c9a5a3c3")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1380],{64616:function(e,n,t){"use strict";t.d(n,{Z:function(){return u}});var r=t(94184),i=t.n(r),o=t(91729),s=t(61090),l=t(76496),a=t.n(l),c=t(85893);function u(e){var n=e.funnelVariant,t=e.step,r=e.className,l=(0,o.H)();return l?(0,c.jsxs)("div",{className:i()(a().host,r),"data-testid":"authHelpPhone",children:[l.text," ",(0,c.jsx)("a",{className:a().phone,href:l.telHref,onClick:function(){return s.yD.authFunnelHelpPhoneClicked({funnel_variant:n,step:t})},children:l.phone})]}):null}},17965:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return L}});var r=t(94184),i=t.n(r),o=t(53756),s=t(5152),l=t.n(s),a=t(25675),c=t.n(a),u=t(41664),f=t.n(u),d=t(67294),h=t(70131),p=t(41248),v=t(7226),g=t(63316),y=t(30536),b=t(27693),w=t(85893);function m(e){var n=e.className,t=e.onClick;return(0,w.jsx)("svg",{className:void 0===n?"":n,fill:"none",height:"16",onClick:void 0===t?function(){}:t,viewBox:"0 0 24 16",width:"24",xmlns:"http://www.w3.org/2000/svg",children:(0,w.jsx)("path",{d:"M0 16H24V13.3333H0V16ZM0 9.33333H24V6.66667H0V9.33333ZM0 0V2.66667H24V0H0Z",fill:"#226EE8"})})}function C(e){var n=e.className;return(0,w.jsx)("svg",{className:void 0===n?"":n,fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg",children:(0,w.jsx)("path",{clipRule:"evenodd",d:"M8.78133 10.6667L5.4 7.28533L7.28533 5.4L13.8853 12L7.28533 18.6L5.4 16.7147L8.78133 13.3333H0V10.6667H8.78133ZM10.6667 0H21.3333C22.8 0 24 1.2 24 2.66667V21.3333C24 22.8 22.8 24 21.3333 24H10.6667V21.3333H21.3333V2.66667H10.6667V0Z",fillRule:"evenodd"})})}var k=t(57347),V=t(81446),O=t(67548),x=t(61090),_=t(22284),j=t(86172),I=t(71347),N=t(38586),A=t(23082),H=t.n(A),B=l()(function(){return t.e(468).then(t.bind(t,30468))},{ssr:!1,loading:function(){return(0,w.jsx)(b.Z,{})},loadableGenerated:{webpack:function(){return[30468]}}}),M=_.G?d.useEffect:d.useLayoutEffect;function L(){var e=k.t.mobileLogoUrl,n=k.t.logoMobileSize,t=k.t.burgerIcon,r=k.t.isShowCallBtnHeaderMobile,s=k.t.loginIcon,l=k.t.isShowAllCheckBoxes,a=n(),u=(0,h.YD)({threshold:0,delay:100}),b=u.ref,_=u.inView,A=(0,o.$G)("common").t,L=(0,d.useState)(!1),S=L[0],P=L[1],R=(0,d.useState)(!1),D=R[0],W=R[1],E=(0,v.TL)(),T=(0,p.v9)(function(e){return e.profile.isProfileLoading}),Z=(0,p.v9)(function(e){return e.profile.user}),F=(0,p.v9)(function(e){return e.establishment.info}),U=(0,p.v9)(function(e){return e.acceptsBonusPayment.acceptsBonusPayment}),G=(0,p.v9)(function(e){return e.authMethods}).authMethods,z=(0,p.v9)(function(e){return e.ordering.selfDeliveryAddress});(0,V.yn)(S),M(function(){_&&E((0,g.fQ)(null))},[_]);var X=function(){return s?(0,w.jsx)("img",{alt:"login icon",src:s}):(0,w.jsx)(C,{className:H().userIcon})};return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)("header",{className:H().host,ref:b,children:(0,w.jsxs)("div",{className:H().topRow,children:[(0,w.jsxs)("div",{className:H().topRowLeftSection,children:[t?(0,w.jsx)("img",{alt:"burger icon",className:H().burgerIcon,onClick:function(){return P(!0)},src:t}):(0,w.jsx)(m,{className:H().burgerIcon,onClick:function(){return P(!0)}}),r&&(!(0,j.c)(null==F?void 0:F.phone)||!(0,j.c)(null==z?void 0:z.phone))&&(0,w.jsx)(f(),{href:"tel:".concat((0,N.TB)((null==F?void 0:F.phone)||(null==z?void 0:z.phone))),legacyBehavior:!0,passHref:!0,children:(0,w.jsx)("a",{className:H().phone,children:(0,w.jsx)(y.J,{className:H().callBtn,onClick:function(){return x.yD.mainPageHeaderPhoneClick()},children:A("cart.call")})})})]}),(0,w.jsx)(f(),{href:"/",legacyBehavior:!0,passHref:!0,shallow:!0,children:(0,w.jsx)("a",{onClick:function(){return x.yD.navigationToMainPage()},children:(0,w.jsx)(c(),{alt:"Logo",height:a.height,priority:!0,src:e,unoptimized:!0,width:a.width},"logo")})}),(0,w.jsx)("div",{className:H().user,children:T?null:Z?(0,w.jsx)(f(),{href:"/profile",legacyBehavior:!0,passHref:!0,shallow:!0,children:(0,w.jsx)("a",{"aria-label":"profile",className:i()("ripple",H().userLink),onClick:function(){return x.yD.navigationToProfilePage()},children:U?(0,I.Nd)(Z.balance,(0,I.ys)(A).shortForms):X()})}):G.length>1&&!l?(0,w.jsx)("span",{"aria-label":"login icon",className:"ripple",onClick:function(e){return W(!0)},children:X()}):(0,w.jsx)(f(),{href:"/login",legacyBehavior:!0,passHref:!0,prefetch:!1,shallow:!0,children:(0,w.jsx)("a",{"aria-label":"login icon",className:"ripple",children:X()})})})]})}),S&&(0,w.jsx)(B,{isOpen:S,onClose:function(){return P(!1)}}),D&&(0,w.jsx)(O.R,{isOpen:D,onClose:function(){return W(!1)}})]})}},71347:function(e,n,t){"use strict";t.d(n,{Nd:function(){return v},kx:function(){return p},ys:function(){return h}});var r=t(90116),i=t(77780),o=t.n(i),s=t(57347),l=t(86172),a=t(38586),c=["бонус","бонуса","бонусов"],u={t
1itle:"profile.bonusesTitle",used:"order.usedBonuses",writeOffInfo:"order.info",writeOffAll:"bonus.writeOffAll",writeOffAllCancelled:"bonus.writeOffAllCancelledByPromocode",salesWithBonuses:"thanks.sales"},f={title:"Бонусы",used:"Использовано бонусов",writeOffInfo:"Окончательное списание бонусов произойдет после подтверждения заказа.",writeOffAll:"Списать все доступные баллы",writeOffAllCancelled:"Списание всех баллов отменено",promocodeConflict:"При списании бонусов нельзя применить промокод. Отмените промокод, если хотите использовать бонусы",salesWithBonuses:"Скидка по акциям и бонусам"},d=function(e,n,t){var r=e(n);return"string"==typeof r&&r.length>0?r:t},h=function(e){var n,t,r,i,o,l,a,h,p,v,g=null!==(n=s.t.loyaltyCurrency)&&void 0!==n?n:{},y=e("profile.bonuses",{returnObjects:!0}),b=null!==(t=g.forms)&&void 0!==t?t:Array.isArray(y)&&3===y.length&&y.every(function(e){return"string"==typeof e})?y:c;return{forms:b,shortForms:null!==(r=g.shortForms)&&void 0!==r?r:b,title:null!==(i=g.title)&&void 0!==i?i:d(e,u.title,f.title),used:null!==(o=g.used)&&void 0!==o?o:d(e,u.used,f.used),writeOffInfo:null!==(l=g.writeOffInfo)&&void 0!==l?l:d(e,u.writeOffInfo,f.writeOffInfo),writeOffAll:null!==(a=g.writeOffAll)&&void 0!==a?a:d(e,u.writeOffAll,f.writeOffAll),writeOffAllCancelled:null!==(h=g.writeOffAllCancelled)&&void 0!==h?h:d(e,u.writeOffAllCancelled,f.writeOffAllCancelled),promocodeConflict:null!==(p=g.promocodeConflict)&&void 0!==p?p:f.promocodeConflict,salesWithBonuses:null!==(v=g.salesWithBonuses)&&void 0!==v?v:d(e,u.salesWithBonuses,f.salesWithBonuses)}},p=function(e){return h(e).forms},v=function(e,n){var t=(0,a.IZ)(e);return(0,l.c)(n)?t:"".concat(t," ").concat(o().apply(void 0,[e].concat((0,r.Z)(n))))}},76496:function(e){e.exports={host:"_1XFnaG",phone:"_8W7mPn"}},23082:function(e){e.exports={host:"fwhcla",topRow:"bEX5UJ",user:"cdSWSp",topRowLeftSection:"_3HfaYS",callBtn:"dhEOec",cityRow:"_7zEAPT",city:"_3Nr6kQ",userIcon:"_19MNWo",citiesArrowDown:"ufVole",changeableCity:"fNd1PW",burgerIcon:"_9chsGH",desktopHost:"_85whXm",inc:"K3pq1_",phone:"bTWmFA",profileButtonDivider:"_21fzUh",bonuses:"avhrHt",desktopHostWrapper:"_3gZdmc",alignCenter:"dRWTLp",logo:"aGdY5Q",authedPhone:"cblJ_S",alignLeft:"_9qMAR2",headerLeftCol:"dIzUA0",info:"eBi-J7",h1:"_5XTv3D",content:"_1tKMT8",infoCol:"f0cp0O",infoColEmpty:"eToS8v",visuallyHidden:"eW1_76",alignCenterUser:"_75uA8h",askCurrentCity:"_5-pRh9",alignCenterSelectDeliveryType:"fhFv3G",profileUser:"_9fRsdX",userLink:"_7gLm_Q"}},70131:function(e,n,t){"use strict";t.d(n,{YD:function(){return p}});var r=t(67294);function i(){return(i=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(this,arguments)}function o(e,n){return(o=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}var s=new Map,l=new WeakMap,a=0,c=void 0;function u(e,n,t,r){if(void 0===t&&(t={}),void 0===r&&(r=c),void 0===window.IntersectionObserver&&void 0!==r){var i=e.getBoundingClientRect();return n(r,{isIntersecting:r,target:e,intersectionRatio:"number"==typeof t.threshold?t.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),function(){}}var o=function(e){var n=Object.keys(e).sort().filter(function(n){return void 0!==e[n]}).map(function(n){var t;return n+"_"+("root"===n?(t=e.root)?(l.has(t)||(a+=1,l.set(t,a.toString())),l.get(t)):"0":e[n])}).toString(),t=s.get(n);if(!t){var r,i=new Map,o=new IntersectionObserver(function(n){n.forEach(function(n){var t,o=n.isIntersecting&&r.some(function(e){return n.intersectionRatio>=e});e.trackVisibility&&void 0===n.isVisible&&(n.isVisible=o),null==(t=i.get(n.target))||t.forEach(function(e){e(o,n)})})},e);r=o.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),t={id:n,observer:o,elements:i},s.set(n,t)}return t}(t),u=o.id,f=o.observer,d=o.elements,h=d.get(e)||[];return d.has(e)||d.set(e,h),h.push(n),f.observe(e),function(){h.splice(h.indexOf(n),1),0===h.length&&(d.delete(e),f.unobserve(e)),0===d.size&&(f.disconnect(),s.delete(u))}}var f=["children","as","tag","triggerOnce","threshold","root","rootMargin","onChange","skip","trackVisibility","delay","initialInView","fallbackInView"];function d(e){return"function"!=typeof e.children}var h=function(e){function n(n){var t;return(t=e.call(this,n)||this).node=null,t._unobserveCb=null,t.handleNode=function(e){!t.node||(t.unobserve(),e||t.props.triggerOnce||t.props.skip||t.setState({inView:!!t.props.initialInView,entry:void 0})),t.node=e||null,t.observeNode()},t.handleChange=function(e,n){e&&t.props.triggerOnce&&t.unobserve(),d(t.props)||t.setState({inView:e,entry:n}),t.props.onChange&&t.props.onChange(e,n)},t.state={inView:!!n.initialInView,entry:void 0},t}(t=n).prototype=Object.create(e.prototype),t.prototype.constructor=t,o(t,e);var t,s=n.prototype;return s.componentDidUpdate=function(e){(e.rootMargin!==this.props.rootMargin||e.root!==this.props.root||e.threshold!==this.props.threshold||e.skip!==this.props.skip||e.trackVisibility!==this.props.trackVisibility||e.delay!==this.props.delay)&&(this.unobserve(),this.observeNode())},s.componentWillUnmount=function(){this.unobserve(),this.node=null},s.observeNode=function(){if(this.node&&!this.props.skip){var e=this.props,n=e.threshold,t=e.root,r=e.rootMargin,i=e.trackVisibility,o=e.delay,s=e.fallbackInView;this._unobserveCb=u(this.node,this.handleChange,{threshold:n,root:t,rootMargin:r,trackVisibility:i,delay:o},s)}},s.unobserve=function(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)},s.render=function(){if(!d(this.props)){var e=this.state,n=e.inView,t=e.entry;return this.props.children({inView:n,entry:t,ref:this.handleNode})}var o=this.props,s=o.children,l=o.as,a=o.tag,c=function(e,n){if(null==e)return{};var t,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t=o[r],n.indexOf(t)>=0||(i[t]=e[t]);return i}(o,f);return r.createElement(l||a||"div",i({ref:this.handleNode},c),s)},n}(r.Component);function p(e){var n=void 0===e?{}:e,t=n.threshold,i=n.delay,o=n.trackVisibility,s=n.rootMargin,l=n.root,a=n.triggerOnce,c=n.skip,f=n.initialInView,d=n.fallbackInView,h=r.useRef(),p=r.useState({inView:!!f}),v=p[0],g=p[1],y=r.useCallback(function(e){void 0!==h.current&&(h.current(),h.current=void 0),!c&&e&&(h.current=u(e,function(e,n){g({inView:e,entry:n}),n.isIntersecting&&a&&h.current&&(h.current(),h.current=void 0)},{root:l,rootMargin:s,threshold:t,trackVisibility:o,delay:i},d))},[Array.isArray(t)?t.toString():t,l,s,a,c,o,d,i]);(0,r.useEffect)(function(){h.current||!v.entry||a||c||g({inView:!!f})});var b=[y,v.inView,v.entry];return b.ref=b[0],b.inView=b[1],b.entry=b[2],b}h.displayName="InView",h.defaultProps={threshold:0,triggerOnce:!1,initialInView:!1}}}]);

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.