1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[445],{407:e=>{e.exports={wrap:"Radiobox_wrap__YB_E2",bgWhite:"Radiobox_bgWhite__cZxM0",checkedWrap:"Radiobox_checkedWrap__NUuX6",radiobox:"Radiobox_radiobox__9Ym8a",smallIcon:"Radiobox_smallIcon__mc_yF",checked:"Radiobox_checked__A9gRb",label:"Radiobox_label__t5a8Q",notBoldLabel:"Radiobox_notBoldLabel__1UZcf",description:"Radiobox_description__AffUV",icon:"Radiobox_icon__0CpVS"}},1627:e=>{e.exports={preloaderBlock:"Preloader_preloaderBlock__nisYs",dotsHolder:"Preloader_dotsHolder__oAw7s"}},4813:e=>{e.exports={container:"Common_container__WuEq9"}},9052:e=>{e.exports={menu:"MobileMenu_menu__teqp3",profileLoggedIn:"MobileMenu_profileLoggedIn__L79LT",profile:"MobileMenu_profile__swK0p",profileLabel:"MobileMenu_profileLabel__ti7h4",bonusesCount:"MobileMenu_bonusesCount__VqkUW",logoutIcon:"MobileMenu_logoutIcon__6_0Jo",nav:"MobileMenu_nav__hzmqw",navList:"MobileMenu_navList__Z39eN",navItem:"MobileMenu_navItem__vG5aa",contacts:"MobileMenu_contacts__DWkMA",apps:"MobileMenu_apps___jXgV",closeBtn:"MobileMenu_closeBtn__DvtxS",logoutText:"MobileMenu_logoutText__fFsm6"}},9663:e=>{e.exports={codeInput:"SendCodeForm_codeInput__fC_Yx",codeInputs:"SendCodeForm_codeInputs__hB18z",codeInputSelected:"SendCodeForm_codeInputSelected__R1au7",submitBtn:"SendCodeForm_submitBtn__sNm56",incorrectCodeInput:"SendCodeForm_incorrectCodeInput__Z2gzP"}},9865:(e,t,l)=>{"use strict";l.d(t,{n:()=>_});var n=l(89142),a=l(46001),r=l.n(a),s=l(75875),o=l(24924),i=l(6756),c=l(99587),d=l.n(c);let u=[{type:i.RA.DELIVERY,label:"ÐоÑÑавка"},{type:i.RA.PICKUP,label:"СамовÑвоз"}],_=({className:e,onChange:t,type:l})=>{let{environment:a}=(0,s.Pj)();return(0,n.jsx)("div",{className:r()(e,d().select),children:u.map(e=>(0,n.jsxs)("div",{className:r()(d().option,{[d().optionSelected]:e.type===l}),onClick:()=>t(e.type),children:[e.label,e.type===i.RA.PICKUP&&a.pickup_discount>0&&(0,n.jsx)("div",{className:d().discountLabel,children:(0,n.jsx)(o.xP,{color:"secondary",label:`-${a.pickup_discount}%`,size:45})})]},e.type))})}},10572:e=>{e.exports={tooltip:"Tooltip_tooltip__A9z8K",arrow:"Tooltip_arrow__brozQ"}},11688:e=>{e.exports={slider:"ProductsSlider_slider__Ov1kL",products:"ProductsSlider_products__JDzDf",title:"ProductsSlider_title__TFGZN",swiperContainer:"ProductsSlider_swiperContainer__ge7k8"}},11960:e=>{e.exports={modal:"RestaurantClosedModal_modal__sGuLp",container:"RestaurantClosedModal_container__y0JLK Common_container__WuEq9"}},16142:e=>{e.exports={diamond:"DiamondLabel_diamond__w_xdy",diamondPrimary:"DiamondLabel_diamondPrimary__RUsK4",diamondSecondary:"DiamondLabel_diamondSecondary__CBkbR"}},18699:e=>{e.exports={root:"CartItem_root__Fp4eD",rootCart:"CartItem_rootCart__nP4AT",content:"CartItem_content__5WZN4",rootCheckout:"CartItem_rootCheckout___zKAQ",image:"CartItem_image__SMjNx",contentLeft:"CartItem_contentLeft__SiYO_",productName:"CartItem_productName__vOnFy",productNameSmall:"CartItem_productNameSmall__dLGob",weight:"CartItem_weight__M2GbZ",removeButton:"CartItem_removeButton__9UNxt",actions:"CartItem_actions__iW5KX",quantity:"CartItem_quantity___SiVv",modifier:"CartItem_modifier__S6Si1",priceContainer:"CartItem_priceContainer__CAuY7",priceContainerWithDiscount:"CartItem_priceContainerWithDiscount__3U4H1",subtotalPrice:"CartItem_subtotalPrice__CvfKk",totalPrice:"CartItem_totalPrice__GZzU3",subtotalPriceSmall:"CartItem_subtotalPriceSmall__qAJMw",totalPriceSmall:"CartItem_totalPriceSmall__8KvOB",unavailableButton:"CartItem_unavailableButton__va9iA",unavailableTooltip:"CartItem_unavailableTooltip__J7tGm",notDiscountable:"CartItem_notDiscountable__8OKps",number:"CartItem_number__slPyI"}},18908:e=>{e.exports={banner:"CookieConsent_banner__UC5nL",container:"CookieConsent_container__jyeet",text:"CookieConsent_text__RbL_c",moreButton:"CookieConsent_moreButton__bhtX_",button:"CookieConsent_button__kaPmU",modal:"CookieConsent_modal__bN2G1",modalContainer:"CookieConsent_modalContainer__zkJ4V",modalTitle:"CookieConsent_modalTitle__AIU_Y",modalText:"CookieConsent_modalText__z4E0S",modalButton:"CookieConsent_modalButton__D1EJb"}},19286:e=>{e.exports={cardItemsList:"Cart_cardItemsList__oU7rr",main:"Cart_main__m_ApH",closeIcon:"Cart_closeIcon__DWiX4",minOrderSumTooltip:"
1Cart_minOrderSumTooltip__haYCB",orderButton:"Cart_orderButton__wBjYM",buttonBottom:"Cart_buttonBottom__W2P5S",partialButtonText:"Cart_partialButtonText__7zKfv",footerBottom:"Cart_footerBottom__4sIPX",totalHeader:"Cart_totalHeader__arO7N",totalsSection:"Cart_totalsSection__1D5EY",totalsSectionItem:"Cart_totalsSectionItem__IwjHY",content:"Cart_content__kRjGM",cartTitle:"Cart_cartTitle__O_yP7",recommendedHeader:"Cart_recommendedHeader__RnbEC"}},21928:(e,t,l)=>{"use strict";l.d(t,{Pt:()=>u,BH:()=>d,Ci:()=>r,FX:()=>s});var n=l(94070),a=l(63783);let r=(e,t)=>(0,n.useMemo)(()=>(0,a.t)(e,t),[e,t]),s=(e,t)=>(0,n.useMemo)(()=>{let l=e.weight;return t.length&&t.map(e=>{e.weight>0&&(l+=e.weight)}),l},[e,t]);var o=l(41685),i=l.n(o),c=l(83964);let d=e=>{let[t,l]=(0,n.useState)(()=>(0,a.h)(e)),r=(0,n.useCallback)(e=>t=>{l(l=>[...l.filter(t=>t.group_id!==e),...t.map(t=>({id:t.id,group_id:e,amount:t.amount,weight:t.weight,energy_amount:t.energy_amount,protein_amount:t.protein_amount,fat_amount:t.fat_amount,carbohydrate_amount:t.carbohydrate_amount,fiber_amount:t.fiber_amount}))])},[]),s=(0,n.useMemo)(()=>i()(t,e=>e.group_id??c.ZA),[t]);return{handleModifierChange:r,selectedModifiers:t,selectedModifiersMap:s}},u=(e,t)=>(0,n.useMemo)(()=>{let l=e.energy_amount,n=e.protein_amount,a=e.fat_amount,r=e.carbohydrate_amount,s=e.fiber_amount;return t.length&&t.map(e=>{e.energy_amount>0&&(l+=e.energy_amount),e.protein_amount>0&&(n+=e.protein_amount),e.fat_amount>0&&(a+=e.fat_amount),e.carbohydrate_amount>0&&(r+=e.carbohydrate_amount),e.fiber_amount>0&&(s+=e.fiber_amount)}),{energy_amount:l,protein_amount:n,fat_amount:a,carbohydrate_amount:r,fiber_amount:s}},[e,t])},22643:(e,t,l)=>{"use strict";l.d(t,{R:()=>d});var n=l(89142),a=l(94070),r=l(92591),s=l(75875),o=l(6756),i=l(57107),c=l.n(i);let d=({bonus_received:e,bonus_used:t,deliveryZone:l,page:i,promocode:d,subtotalPrice:u,totalPrice:_,productsCount:m})=>{let h=(0,s._$)(),[p,v]=(0,a.useState)(null),[f,g]=(0,a.useState)(!1);(0,a.useCallback)(()=>{g(e=>!e)},[]);let x=u>=(l?.free_delivery_price??0)?0:l?.price??0,j=d?.code=="WEBSITE-PICKUP-DISCOUNT"?u-_:0,b=j>0?0:u+x-_,C=b>0||j>0||null!==t&&t>0;return 0==u?(0,n.jsx)("div",{}):(0,n.jsx)("div",{className:c().totalsSection,children:(0,n.jsxs)("div",{className:c().content,children:[(0,n.jsxs)("div",{className:c().totalRow,children:[(0,n.jsxs)("span",{children:["ТоваÑÑ (",m,")"]}),(0,n.jsx)("span",{className:C?c().strikedPrice:"",children:(0,r.$)(u)})]}),h.type===o.RA.DELIVERY&&u>0&&(0,n.jsxs)("div",{className:c().totalRow,children:[(0,n.jsx)("span",{children:"ÐоÑÑавка по гоÑодÑ"}),(0,n.jsx)("span",{children:x>0?(0,r.$)(x):"ÐеÑплаÑно"})]}),null!==t&&t>0&&(0,n.jsxs)("div",{className:c().totalRow,children:[(0,n.jsx)("span",{className:c().discountText,children:"Скидка:"}),(0,n.jsxs)("span",{className:c().discountText,children:["â",t," â½"]})]}),b>0&&0==t?(0,n.jsxs)("div",{className:c().totalRow,children:[(0,n.jsxs)("span",{className:c().discountText,children:["ÐÑомокод ",d?.code,":"]}),(0,n.jsxs)("span",{className:c().discountText,children:["â",(0,r.$)(b)]})]}):h.type===o.RA.PICKUP&&j>0&&0==t&&(0,n.jsxs)("div",{className:c().totalRow,children:[(0,n.jsx)("span",{className:c().discountText,children:"Скидка:"}),(0,n.jsxs)("span",{className:c().discountText,children:["â",d?.bonus_multiplier,"%"]})]}),null!==e&&e>0&&(0,n.jsxs)("div",{className:c().totalRow,children:[(0,n.jsx)("span",{children:"ÐонÑÑÑ"}),(0,n.jsx)("span",{children:`${e} â½`})]}),"result"==i&&(0,n.jsxs)("div",{className:c().totalRow,children:[(0,n.jsx)("span",{}),(0,n.jsx)("span",{className:c().bonusesHow,children:"ÐÐ°Ð»Ð»Ñ Ð½Ð°ÑиÑлÑÑÑÑÑ Ð¿Ð¾Ñле вÑÐ¿Ð¾Ð»Ð½ÐµÐ½Ð¸Ñ Ð·Ð°ÐºÐ°Ð·Ð° и его оплаÑÑ"})]}),(0,n.jsxs)("div",{className:c().totalFinalRow,children:[(0,n.jsx)("span",{children:"СÑмма заказа:"}),(0,n.jsx)("span",{className:C?c().discountedTotal:"",children:(0,r.$)(C?_:u+x)})]})]})})}},22891:(e,t,l)=>{"use strict";l.d(t,{w:()=>d});var n=l(89142);l(94070);var a=l(46001),r=l.n(a),s=l(24924),o=l(79151),i=l.n(o),c=l(29200);let d=({className:e,actionComponent:t,backToCart:l=!1,summaryComponent:a})=>(0,n.jsx)("div",{className:r()(i().cartFooter,e),children:(0,n.jsxs)("div",{className:i().footerWrapper,children:[a&&(0,n.jsx)("section",{className:i().footerTop,children:a}),(0,n.jsx)("section",{className:r()(i().cartAction,"container mv-50 mv-phone-large-0 px-md-0"),children:(0,n.jsxs)("div",{className:"d-flex align-items-center justify-content-between",children:[l&&(0,n.jsx)(s.$n,{className:"d-none-phone-large",href:c.R.CART,size:"large",variant:"outlined",children:"Ðазад в коÑзин
1Ñ"}),t]})})]})})},23467:(e,t,l)=>{"use strict";l.d(t,{A:()=>s});var n,a=l(94070);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let s=function(e){return a.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,fill:"none"},e),n||(n=a.createElement("path",{d:"M17.188 4.813 4.813 17.188M17.188 17.188 4.813 4.813",stroke:"#232323",strokeLinecap:"round",strokeLinejoin:"round"})))}},24411:(e,t,l)=>{"use strict";l.d(t,{D:()=>n});let n=({src:e})=>e},24924:(e,t,l)=>{"use strict";l.d(t,{TL:()=>nI,$n:()=>es,Kj:()=>ey,Md:()=>ne,Sc:()=>ek,BO:()=>nj,Xr:()=>ab,ph:()=>eT,xP:()=>eL,gE:()=>eH,oX:()=>ap,IH:()=>n4,PE:()=>lE,aH:()=>lS,zC:()=>nf,aF:()=>tq,LR:()=>n5.L,AM:()=>nP,gm:()=>au,Cg:()=>ah,K0:()=>nA,AG:()=>nN,bH:()=>nW,Vf:()=>l$,Q7:()=>nz,wn:()=>ao,l6:()=>an.l,No:()=>nK,ks:()=>nG.k,yz:()=>n6,m_:()=>n9,o5:()=>al});var n,a,r,s,o,i,c,d,u,_,m,h,p,v,f,g,x,j,b,C,y,w,N,k,E,I,M,S,P,B,T,R,O,L,H,Z,A,D,F,W,z,G,V,q,K,Q,U,Y,X,$=l(89142),J=l(94070),ee=l(46001),et=l.n(ee),el=l(53196),en=l.n(el),ea=l(69726),er=l.n(ea);let es=J.forwardRef(function({children:e,className:t,color:l="primary",disableEnterPress:n,disabled:a,fullWidth:r=!1,href:s="",loading:o,onClick:i,variant:c="contained",size:d="medium"},u){let _=et()(er().button,t,er()[d],er()[l],er()[c],{[er().disabled]:a,[er().fullWidth]:r}),m=(0,J.useCallback)(e=>{!a&&void 0!==i&&(0!==e.detail||void 0==n?i(e):n||i(e))},[a,i]),h=(0,J.useCallback)(e=>(0,$.jsx)(en(),{href:s,...e}),[s]),p=s?h:"button";return(0,$.jsxs)(p,{ref:u,className:_,disabled:a,onClick:m,children:[o&&(0,$.jsx)(lS,{white:"contained"===c}),!o&&e]})});var eo=l(37864),ei=l.n(eo),ec=l(29576),ed=l(85266),eu=l(88874),e_=l(75875),em=l(58532),eh=l.n(em);function ep(){return(ep=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let ev=function(e){return J.createElement("svg",ep({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none"},e),n||(n=J.createElement("path",{d:"M7.342 1.667 4.325 4.692M12.658 1.667l3.017 3.025",stroke:"#fff",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),a||(a=J.createElement("path",{d:"M1.667 6.542c0-1.542.825-1.667 1.85-1.667h12.966c1.025 0 1.85.125 1.85 1.667 0 1.791-.825 1.666-1.85 1.666H3.517c-1.025 0-1.85.125-1.85-1.666Z",stroke:"#fff",strokeWidth:1.5})),r||(r=J.createElement("path",{d:"M8.133 11.667v2.958M11.967 11.667v2.958M2.917 8.333l1.175 7.2c.266 1.617.908 2.8 3.291 2.8h5.025c2.592 0 2.975-1.133 3.275-2.7l1.4-7.3",stroke:"#fff",strokeWidth:1.5,strokeLinecap:"round"})))};var ef=l(62335);let eg=(e,t,l)=>{if(!e)return;let n=e.restaurants.find(e=>e.id===t);if(void 0===n&&(n=e.restaurants.find(e=>e.is_default)??e.restaurants[0]),n)return n.opening_hours[(0,ef.S)(l)].to},ex=(e,t,l)=>{if(!e)return;let n=e.restaurants.find(e=>e.id===t);if(n)return n.opening_hours[(0,ef.S)(l)].from};var ej=l(65878),eb=l(96412);let eC=()=>{let{sheduleInfoModalOpen:e,changeSheduleInfoModalOpen:t}=(0,J.useContext)(eb.Z);return{sheduleInfoModalOpen:e,toggleSheduleInfoModal:e=>{t?.(e)}}},ey=()=>{let{totalQuantity:e,items:t}=(0,e_._$)(),{cartModal:l,localities:n,orderParams:a}=(0,e_.Pj)(),r=(0,J.useRef)(null),[s,o]=(0,J.useState)(!1),[i,c]=(0,J.useState)(null),d=(0,e_.wm)(),u=(0,e_.ZC)(e),_=(0,J.useCallback)(()=>{null!==r.current&&(window.clearTimeout(r.current),r.current=null)},[]);(0,J.useEffect)(()=>{null!==u&&u!==e&&!(u>e)&&t.length>0&&u<e&&o(!0)},[_,t.length,u,e]),(0,J.useEffect)(()=>{if(s)return r.current=window.setTimeout(()=>o(!1),2e3),_},[_,s]);let{sheduleInfoModalOpen:m,toggleSheduleInfoModal:h}=eC(),p=()=>{h(!1),l.open()},v=null!==a?a.restaurantId:null,f=(0,e_.iS)(),g=v?(0,ej.xg)(n,v):f,x=eg(g,v),j=ex(g,v),b=eg(g,v,(0,ec.A)(new Date,1)),C=ex(g,v,(0,ec.A)(new Date,1)),y=(0,J.useCallback)(()=>{if(!x||!j)return!1;let e=j.split(":"),t=x.split(":");if(2!==e.length||2!==t.length)return!1;let l=new Date((0,ed.A)(new Date,"yyyy-MM-dd"));return l.setHours(Number(t[0])),l.setMinutes(Number(t[1])),new Date<l},[x,j]),w=(0,e_.eJ)(()=>{m||(y()?h("todayImg"):h("tomorrowImg"))}),N=(0,J.useMemo)(()=>ei()([...t],e=>(0,eu.A)(e.updated_at))??null,[t]);return(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(tq,{open:"tomorrowImg"===m||"todayImg"===m,className:eh().sheduleInfoModal,containerClass:eh().sheduleInfoModalContainer,onClose:p,children:[(0,$.jsx)("div",{className:eh().modalHeader,children:d?.schedule_modal?.title}),d?.schedule_modal?.is_default_title?(0,$.jsxs)("div",{className:eh().modalInfo,children:["tomorrow"===m?"ÐавÑÑа":"СегоднÑ"," Ð¼Ñ ÑабоÑаем Ñ"," ","tomorrow"===m?C:j," до"," ","tomorrow"===m?b:x]}):null,(0,$.jsx)("div",{className:eh().modaldeliveryInfo,dangerouslySetInnerHTML:{__html:d?.schedule_modal?.text||""}}),(0,$.jsx)(es,{className:eh().modalButton,onClick:p,children:"ÐÑекÑаÑно"})]}),(0,$.jsx)("a",{ref:c,className:eh().cartButton,onClick:e=>{w(),e.preventDefault(),e.stopPropagation()},children:(0,$.jsxs)("div",{className:eh().icon,children:[(0,$.jsx)(ev,{className:eh().svg,height:27,width:30}),e>
10&&(0,$.jsx)("span",{className:eh().productCount,children:e})]})}),s&&null!==i&&null!==N&&(0,$.jsx)(n9,{anchorEl:i,placement:"bottom-start",children:(0,$.jsx)("div",{className:"d-flex flex-column",children:(0,$.jsxs)(al,{className:eh().popoverText,children:["Ðобавлено:\xa0",N.product.name]})})},N.id)]})};var ew=l(74064),eN=l.n(ew);let ek=({className:e,checked:t,inline:l,label:n,onChange:a})=>{let r=()=>{a(!t)};return(0,$.jsxs)("div",{className:et()(eN().root,e,{[eN().rootInline]:l}),children:[(0,$.jsx)("div",{className:et()(eN().checkbox,{[eN().checkboxChecked]:t}),onClick:r}),(0,$.jsx)("div",{className:eN().label,onClick:r,children:n})]})};function eE(){return(eE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let eI=function(e){return J.createElement("svg",eE({width:12,height:2,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),s||(s=J.createElement("path",{d:"M0 1h12",stroke:"currentColor",strokeWidth:2})))};function eM(){return(eM=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let eS=function(e){return J.createElement("svg",eM({width:11,height:11,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),o||(o=J.createElement("path",{stroke:"currentColor",strokeWidth:2,d:"M5.5 0v11M11 5.5H0"})))};var eP=l(92228),eB=l.n(eP);let eT=(0,J.forwardRef)(({defaultValue:e=null,disableDecrement:t=!1,disableIncrement:l=!1,input:n=!1,onChange:a,max:r,min:s,value:o,className:i},c)=>{let[d,u]=(0,J.useState)(null!==e?e:1);(0,J.useEffect)(()=>{void 0!==o&&d!==o&&u(o)},[d,o]);let _=e=>{let t=d+e;t>=(s??0)&&t<=(r??1/0)&&(void 0===o&&u(t),a(t))};return(0,$.jsxs)("div",{ref:c,className:et()("d-flex align-items-center",eB().root,i),children:[(0,$.jsx)("button",{className:et()(eB().button,{[eB().buttonDisabled]:t}),onClick:t?void 0:()=>_(-1),type:"button",children:(0,$.jsx)(eI,{className:eB().minus_icon,height:"2",width:"11"})}),n?(0,$.jsx)("input",{className:et()(eB().input),inputMode:"numeric",onChange:e=>{var t;let l,n;return t=parseInt(e.target.value),l=s??0,n=r??1/0,void(t>=l&&t<=n?(void 0===o&&u(t),a(t)):t<l?(void 0===o&&u(1),a(1)):t>n&&(void 0===o&&u(n),a(n)))},pattern:"[0-9]*",step:1,type:"number",value:d}):(0,$.jsx)(al,{className:eB().count,children:d}),(0,$.jsx)("button",{className:et()(eB().button,{[eB().buttonDisabled]:l}),onClick:l?void 0:()=>_(1),type:"button",children:(0,$.jsx)(eS,{className:eB().plus_icon,height:"11",width:"11"})})]})});eT.displayName="Counter";var eR=l(16142),eO=l.n(eR);let eL=({color:e,label:t,size:l})=>(0,$.jsx)("div",{className:et()(eO().diamond,{[eO().diamondPrimary]:"primary"===e,[eO().diamondSecondary]:"secondary"===e}),style:{width:l,height:l,fontSize:Math.round(l/4)},children:t}),eH=({className:e,children:t,label:l})=>(0,$.jsxs)("div",{className:et()(e,"form-group d-flex flex-column flex-2-3 mb-24"),children:[l&&(0,$.jsx)(al,{className:"mb-12 fs-22",children:l}),(0,$.jsx)("div",{className:"form-group--wrap form-grid",children:t})]});var eZ=l(62470),eA=l.n(eZ),eD=l(41629),eF=l(24760),eW=l(32893),ez=l(57669),eG=l.n(ez),eV=l(29200),eq=l(26388),eK=l.n(eq);function eQ(){return(eQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let eU=function(e){return J.createElement("svg",eQ({width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),i||(i=J.createElement("g",{clipPath:"url(#instagram_svg__a)",fill:"#232323"},J.createElement("path",{d:"M10 1.8c2.672 0 2.988.012 4.04.06.976.042 1.503.206 1.855.343.464.18.8.399 1.148.746.352.352.566.684.746 1.149.137.351.3.882.344 1.855.047 1.055.058 1.371.058 4.04 0 2.671-.011 2.987-.058 4.038-.043.977-.207 1.504-.344 1.856-.18.465-.398.8-.746 1.148a3.077 3.077 0 0 1-1.148.746c-.352.137-.883.301-1.856.344-1.055.047-1.371.059-4.039.059-2.672 0-2.988-.012-4.04-.059-.976-.043-1.503-.207-1.855-.344-.464-.18-.8-.398-1.148-.746a3.076 3.076 0 0 1-.746-1.148c-.137-.352-.3-.883-.344-1.856-.047-1.054-.058-1.37-.058-4.039 0-2.672.011-2.988.058-4.039.043-.976.207-1.504.344-1.855.18-.465.398-.801.746-1.149a3.076 3.076 0 0 1 1.148-.746c.352-.137.883-.3 1.856-.344 1.05-.046 1.367-.058 4.039-.058ZM10 0C7.285 0 6.945.012 5.879.059 4.816.105 4.086.277 3.453.523A4.88 4.88 0 0 0 1.68 1.68 4.9 4.9 0 0 0 .523 3.45C.277 4.085.105 4.811.06 5.874.012 6.945 0 7.285 0 10s.012 3.055.059 4.121c.046 1.063.218 1.793.464 2.426.258.66.598 1.219 1.157 1.773a4.888 4.888 0 0 0 1.77 1.153c.636.246 1.362.418 2.425.465 1.066.046 1.406.058 4.121.058 2.715 0 3.055-.012 4.121-.058 1.063-.047 1.793-.22 2.426-.465a4.888 4.888 0 0 0 1.77-1.153 4.888 4.888 0 0 0 1.152-1.77c.246-.636.418-1.363.465-2.425.047-1.066.058-1.406.058-4.121 0-2.715-.011-3.055-.058-4.121-.047-1.063-.22-1.793-.465-2.426A4.684 4.684 0 0 0 18.32 1.68 4.889 4.889 0 0 0 16.55.527C15.915.281 15.188.11 14.126.062 13.055.012 12.715 0 10 0Z"}),J.createElement("path",{d:"M10 4.863A5.138 5.138 0 0 0 4.863 10a5.138 5.138 0 0 0 10.273 0c0-2.836-2.3-5.137-5.136-5.137Zm0 8.469a3.333 3.333 0 1 1 .001-6.665A3.333 3.333 0 0 1 10 13.332ZM16.54 4.66a1.2 1.2 0 1 1-2.4 0 1.2 1.2 0 0 1 2.4 0Z"}
1))),c||(c=J.createElement("defs",null,J.createElement("clipPath",{id:"instagram_svg__a"},J.createElement("path",{fill:"#fff",d:"M0 0h20v20H0z"})))))};var eY=l(65825);function eX(){return(eX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let e$=function(e){return J.createElement("svg",eX({width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),d||(d=J.createElement("g",{clipPath:"url(#vk_svg__a)"},J.createElement("path",{d:"M18.596 1.404C17.187 0 14.925 0 10.416 0h-.833c-4.508 0-6.77 0-8.179 1.404C-.004 2.808 0 5.075 0 9.584v.833c0 4.508 0 6.77 1.404 8.179C2.808 20.004 5.075 20 9.584 20h.833c4.525 0 6.787 0 8.196-1.404C20.02 17.192 20 14.925 20 10.416v-.833c0-4.508 0-6.77-1.404-8.179ZM14.35 14.408a4.113 4.113 0 0 0-3.45-2.975v2.975h-.258c-4.559 0-7.159-3.125-7.267-8.333h2.283c.075 3.817 1.759 5.417 3.092 5.767V6.083h2.15v3.292c1.317-.142 2.7-1.642 3.167-3.292h2.15A6.351 6.351 0 0 1 13.3 10.25a6.58 6.58 0 0 1 3.425 4.167l-2.375-.009Z",fill:"#232323"}))),u||(u=J.createElement("defs",null,J.createElement("clipPath",{id:"vk_svg__a"},J.createElement("path",{fill:"#fff",d:"M0 0h20v20H0z"})))))};function eJ(){return(eJ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let e0=function(e){return J.createElement("svg",eJ({width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),_||(_=J.createElement("path",{d:"M19.8 6s-.195-1.379-.796-1.984c-.762-.797-1.613-.801-2.004-.848-2.797-.203-6.996-.203-6.996-.203h-.008s-4.2 0-6.996.203c-.39.047-1.242.05-2.004.848C.395 4.62.203 6 .203 6S0 7.621 0 9.238v1.516c0 1.617.2 3.238.2 3.238s.195 1.38.792 1.985c.762.796 1.762.77 2.207.855 1.602.152 6.801.2 6.801.2s4.203-.009 7-.208c.39-.047 1.242-.05 2.004-.847.601-.606.797-1.985.797-1.985S20 12.375 20 10.754V9.238C20 7.621 19.8 6 19.8 6ZM7.935 12.594V6.973l5.402 2.82-5.402 2.8Z",fill:"#232323"})))};function e1(){return(e1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let e2=function(e){return J.createElement("svg",e1({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"}
1,e),m||(m=J.createElement("path",{d:"M6 18 18 6M8.25 6H18v9.75",stroke:"#232323",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})))};function e3(){return(e3=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let e4=function(e){return J.createElement("svg",e3({width:70,height:68,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),h||(h=J.createElement("g",{clipPath:"url(#ITLE-meat_svg__a)"},J.createElement("path",{d:"M34.927 53.74c10.903 0 19.74-8.838 19.74-19.74s-8.837-19.74-19.74-19.74c-10.902 0-19.74 8.838-19.74 19.74s8.838 19.74 19.74 19.74Z",fill:"#fff"}),J.createElement("path",{d:"M53.658 15.764C44.303 6.656 34.928 0 34.928 0s-9.376 6.656-18.732 15.764C6.821 24.872 0 34 0 34s6.82 9.129 16.196 18.236C25.551 61.365 34.927 68 34.927 68s9.355-6.656 18.731-15.764C63.013 43.108 69.855 34 69.855 34s-6.821-9.128-16.197-18.236ZM43.561 42.49c-4.368 4.244-8.716 7.335-8.716 7.335s-4.369-3.09-8.716-7.335a81.442 81.442 0 0 1-4.04-4.245h25.49c-1.154 1.298-2.514 2.782-4.038 4.245m-22.4-7.46a13.517 13.517 0 0 1 2.412-5.728v-.02s2.205-3.03 5.254-6.059c2.906-2.885 5.79-5.028 6.058-5.234.598 1.01 1.876 3.4 2.35 6.058.453 2.617-.722 4.451-.722 4.451s3.565-2.679 5.605-4.121a54.634 54.634 0 0 1 4.121 4.904c1.257 1.71 2.123 3.586 2.473 5.75h-27.55Z",fill:"#C91100"}))),p||(p=J.createElement("defs",null,J.createElement("clipPath",{id:"ITLE-meat_svg__a"},J.createElement("path",{fill:"#fff",d:"M0 0h69.875v68H0z"})))))};function e5(){return(e5=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let e6=function(e){return J.createElement("svg",e5({width:68,height:68,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),v||(v=J.createElement("g",{clipPath:"url(#ITLE-big-kitchen_svg__a)"},J.createElement("path",{d:"M48.835 19.13C41.412 11.697 33.977 6.28 33.977 6.28S26.554 11.696 19.12 19.13C11.696 26.565 6.28 34 6.28 34s5.417 7.435 12.84 14.87c7.424 7.434 14.858 12.851 14.858 12.851s7.424-5.417 14.858-12.852C56.26 41.435 61.675 34 61.675 34s-5.405-7.435-12.84-14.87Z",fill:"#fff"}),J.createElement("path",{d:"M52.213 15.765C43.089 6.64 33.977 0 33.977 0s-9.112 6.641-18.224 15.765C6.641 24.877 0 34 0 34s6.641 9.123 15.753 18.235C24.865 61.36 33.977 68 33.977 68s9.112-6.641 18.224-15.765C61.313 43.112 67.955 34 67.955 34S61.313 24.877 52.2 15.765m-6.936 23.992c-.226 3.582-.623 6.154-.623 6.154s-4.953.782-10.687.771c-5.735 0-10.688-.782-10.688-.782s-.396-2.539-.623-6.086c-3.253-.963-5.678-3.91-5.814-7.48-.17-4.488 3.32-8.262 7.809-8.432a8.23 8.23 0 0 1 2.062.181 8.148 8.148 0 0 1 6.948-4.465 8.11 8.11 0 0 1 7.536 4.409 8.9 8.9 0 0 1 1.462-.193c4.488-.17 8.262 3.32 8.432 7.809a8.127 8.127 0 0 1-5.802 8.103",fill:"#3AAA35"}))),f||(f=J.createElement("defs",null,J.createElement("clipPath",{id:"ITLE-big-kitchen_svg__a"},J.createElement("path",{fill:"#fff",d:"M0 0h67.966v68H0z"})))))};function e7(){return(e7=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let e8=function(e){return J.createElement("svg",e7({width:68,height:68,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),g||(g=J.createElement("g",{clipPath:"url(#ITLE-delivery_svg__a)"},J.createElement("path",{d:"M48.835 19.13C41.412 11.697 33.977 6.28 33.977 6.28S26.554 11.696 19.12 19.13C11.696 26.565 6.28 34 6.28 34s5.417 7.435 12.84 14.87c7.424 7.434 14.858 12.851 14.858 12.851s7.424-5.417 14.858-12.852C56.26 41.435 61.675 34 61.675 34s-5.405-7.435-12.84-14.87Z",fill:"#fff"}),J.createElement("path",{d:"M52.213 15.765C43.089 6.64 33.977 0 33.977 0s-9.112 6.641-18.224 15.765C6.641 24.877 0 34 0 34s6.641 9.123 15.753 18.235C24.865 61.36 33.977 68 33.977 68s9.112-6.641 18.224-15.765C61.313 43.112 67.955 34 67.955 34S61.313 24.877 52.2 15.765m-9.814 26.712c-4.262 4.273-8.534 7.378-8.534 7.378v-4.34c-5.769 0-10.801-.782-10.801-.782s-.782-4.998-.782-10.79c0-5.78.793-10.789.793-10.789s4.998-.782 10.79-.793V18.02s4.261 3.105 8.534 7.378c4.261 4.273 7.378 8.534 7.378 8.534s-3.106 4.273-7.367 8.534",fill:"#3598DB"}))),x||(x=J.createElement("defs",null,J.createElement("clipPath",{id:"ITLE-delivery_svg__a"},J.createElement("path",{fill:"#fff",d:"M0 0h67.966v68H0z"})))))},e9=({className:e})=>{let{localities:t,orderParams:l}=(0,e_.Pj)(),n=(0,e_.iS)(),a=null!==l?l.restaurantId:null,r=a?(0,ej.xg)(t,a):n,s=(0,J.useCallback)(()=>{},[]),o=(0,J.useCallback)(()=>{},[]),i=(0,J.useCallback)(()=>{},[]);return(0,$.jsxs)("footer",{className:et()(eK().footer,e),children:[(0,$.jsx)("div",{className:"container",children:(0,$.jsxs)("div",{className:eK().sectionTop,children:[(0,$.jsxs)("div",{className:eK().sectionTopSectionLeft,children:[(0,$.jsx)("div",{className:eK().info,children:(0,$.jsxs)("div",{className:eK().infoContent,children:[(0,$.jsxs)("div",{className:eK().infoColumn,children:[(0,$.jsx)("div",{className:eK().infoHeaderItem,children:"иÑLе"}),(0,$.jsx)("div",{className:eK().infoContentItem,children:(0,$.jsx)(en(),{as:"/about",href:"/about",children:"РпÑоекÑе"})}),(0,$.jsx)("div",{className:eK().infoContentItem,children:(0,$.jsx)(en(),{as:"/contacts",href:"/contacts",children:"ÐаведениÑ"})}),(0,$.jsx)("div",{className:eK().infoContentItem,children:(0,$.jsx)("a",{className:eK().socialIcon,href:"https://yandex.ru/maps/org/itle_bistro/31153346453/reviews/?ll=49.214976%2C55.745443&z=13",rel:"noreferrer",target:"_blank",children:"ÐÑзÑвÑ"})}),(0,$.jsx)("div",{className:eK().infoContentItem,children:(0,$.jsx)(en(),{as:"/contacts",href:"/contacts",children:"ÐонÑакÑÑ"})})]}),(0,$.jsxs)("div",{className:eK().infoColumn,children:[(0,$.jsx)("div",{className:eK().infoHeaderItem,children:"ÐенÑ"}),(0,$.jsx)("div",{className:eK().infoContentItem,children:(0,$.jsx)(en(),{as:"/promos",href:"/promos",children:"ÐкÑии"})}),(0,$.jsx)("div",{className:eK().infoContentItem,children:(0,$.jsx)(en(),{as:"/"+r?.slug+"#menu",href:"/"+r?.slug+"#menu",children:"ÐлÑда"})})]}),(0,$.jsxs)("div",{className:eK().infoColumn,children:[(0,$.jsx)("div",{className:eK().infoHeaderItem,children:"ÐÑе"}),(0,$.jsx)("div",{className:eK().infoContentItem,children:(0,$.jsx)(en(),{as:"/hall",href:"/hall",children:"ÐанкеÑнÑй зал"})}),(0,$.jsx)("div",{className:eK().infoContentItem,children:(0,$.jsx)(en(),{as:"/delivery",href:"/delivery",children:"ÐплаÑа и доÑÑавка"})}),(0,$.jsx)("div",{className:eK().infoContentItem,children:(0,$.jsx)(en(),{as:"/join_itle_team",href:"/join_itle_team",children:"РабоÑа в ÐTLE"})}),(0,$.jsx)("div",{className:eK().infoContentItem,children:(0,$.jsx)(en(),{as:"/help",href:"/help",children:"ÐомоÑÑ"})})]})]})}),(0,$.jsxs)("div",{className:eK().socialIcons,children:[(0,$.jsx)("div",{className:eK().socialIconBlock,children:(0,$.jsx)("a",{className:eK().socialIcon,href:"https://t.me/s/ITLE_pro",rel:"noreferrer",target:"_blank",children:(0,$.jsx)(eY.A,{})})}),(0,$.jsx)("div",{className:eK().socialIconBlock,children:(0,$.jsx)("a",{className:eK().socialIcon,href:"https://www.instagram.com/itle_bistro/",rel:"noreferrer",target:"_blank",children:(0,$.jsx)(eU,{})})}),(0,$.jsx)("div",{className:eK().socialIconBlock,children:(0,$.jsx)("a",{className:eK().socialIcon,href:"https://vk.com/public211219444",rel:"noreferrer",target:"_blank",children:(0,$.jsx)(e$,{})})}),(0,$.jsx)("div",{className:eK().socialIconBlock,children:(0,$.jsx)("a",{className:eK().socialIcon,href:"https://www.youtube.com/channel/UCUqnKxOrpUlEO47R9s4Rerg",rel:"noreferrer",target:"_blank",children:(0,$.jsx)(e0,{})})})]})]}),!!r&&(0,$.jsx)("div",{className:eK().sectionTopSectionRight,children:(0,$.jsxs)("div",{className:eK().places,children:[(0,$.jsx)("div",{className:eK().infoHeader,children:(0,$.jsx)("div",{className:eK().infoHeaderItem,children:"ÐаведениÑ"})}),(0,$.jsx)("div",{className:eK().info,children:r.restaurants.map(e=>(0,$.jsxs)("div",{className:eK().place,children:[(0,$.jsxs)("div",{className:eK().placeLeft,children:[(0,$.jsx)("div",{className:eK().placeSeeOnMap,children:"ÐоÑмоÑÑеÑÑ Ð½Ð° каÑÑе"}),(0,$.jsx)("div",{className:eK().placeLine,children:(0,$.jsx)("hr",{})}),(0,$.jsx)("div",{className:eK().placeAddress,children:e.address}),(0,$.jsxs)("div",{className:eK().placeWorkingTime,children:["Ð¡ÐµÐ³Ð¾Ð´Ð½Ñ Ñ ",ex(r,e.id)," до"," ",eg(r,e.id)," "]})]}),(0,$.jsx)("div",{className:eK().placeRight,onClick:()=>{var t;return t=e.id,void eG().push(eV.R.CONTACTS+"?showRestaurant="+t)},children:(0,$.jsx)("div",{className:eK().planeBtnBlock,children:(0,$.jsx)(e2,{className:eK().planeBtn
1Icon})})})]},e.name))})]})})]})}),(0,$.jsxs)("div",{className:eK().sectionMiddle,children:[(0,$.jsx)(en(),{href:"https://itle.pro/",children:(0,$.jsxs)("div",{className:eK().sectionMiddleItem,onClick:s,children:[(0,$.jsx)("button",{type:"button",className:eK().sectionMiddleBtnBlock,children:(0,$.jsx)(e4,{})}),(0,$.jsxs)("div",{className:eK().sectionMiddleText,children:[(0,$.jsx)("div",{className:eK().sectionMiddleHeader,children:"ÐTLe СÑейк-каÑе"}),(0,$.jsx)("div",{className:eK().sectionMiddleDescription,children:"ÐÑÑной ÑеÑÑоÑан"})]})]})}),(0,$.jsx)(en(),{href:"https://itle-kitchen.ru/",children:(0,$.jsxs)("div",{className:eK().sectionMiddleItem,onClick:o,children:[(0,$.jsx)("button",{type:"button",className:eK().sectionMiddleBtnBlock,children:(0,$.jsx)(e6,{})}),(0,$.jsxs)("div",{className:eK().sectionMiddleText,children:[(0,$.jsx)("div",{className:eK().sectionMiddleHeader,children:"ÐTLe Kitchen"}),(0,$.jsx)("div",{className:eK().sectionMiddleDescription,children:"ФабÑика гоÑовой едÑ"})]})]})}),(0,$.jsx)(en(),{href:"/",children:(0,$.jsxs)("div",{className:eK().sectionMiddleItem,onClick:i,children:[(0,$.jsx)("button",{type:"button",className:eK().sectionMiddleBtnBlock,children:(0,$.jsx)(e8,{})}),(0,$.jsxs)("div",{className:eK().sectionMiddleText,children:[(0,$.jsx)("div",{className:eK().sectionMiddleHeader,children:"ÐTLe доÑÑавка"}),(0,$.jsx)("div",{className:eK().sectionMiddleDescription,children:"ÐÑÑÑÑÐ°Ñ Ð´Ð¾ÑÑавка Ñ
алÑлÑ"})]})]})})]}),(0,$.jsxs)("div",{className:eK().sectionBottomBlock,children:[(0,$.jsxs)("div",{className:eK().sectionBottom,children:[(0,$.jsxs)("a",{children:["\xa9 ÐиÑÑÑо ÐТLE - \xa9 ",new Date().getFullYear()]}),(0,$.jsx)(en(),{href:eV.R.INFO_LEGAL,children:"ÐолиÑика конÑиденÑиалÑноÑÑи"})]}),(0,$.jsxs)("div",{className:eK().sectionBottom,children:[(0,$.jsx)("span",{children:"ÐРСалаев ÐаÑÑ Ð¨Ð°Ð¹Ð°Ñ
меÑовиÑ"}),(0,$.jsx)("span",{children:"ÐÐÐ 161603370886"}),(0,$.jsx)("span",{children:"ÐÐÐ Ð 322169000178331"}),(0,$.jsx)("span",{children:"ÐдÑеÑ: 422701, ТаÑаÑÑÑан РеÑп, Ñ-н ÐÑÑокогоÑÑкий, Ñ ÐÑÑÐ¾ÐºÐ°Ñ ÐоÑа, Ñл. ÐÐ¾Ð»Ð¾Ð´ÐµÐ¶Ð½Ð°Ñ 2-Ñ, д. 3Ð"}),(0,$.jsx)("a",{href:"tel:+78432023320",children:"+7 (843) 202-33-20"}),(0,$.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"})]})]})]})};function te(){return(te=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let tt=function(e){return J.createElement("svg",te({width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),j||(j=J.createElement("path",{d:"M10 11.192a2.6 2.6 0 1 0 0-5.2 2.6 2.6 0 0 0 0 5.2Z",stroke:"#232323",strokeWidth:1.5})),b||(b=J.createElement("path",{d:"M3.017 7.075C4.658-.142 15.35-.133 16.983 7.083c.959 4.234-1.675 7.817-3.983 10.034a4.328 4.328 0 0 1-6.008 0c-2.3-2.217-4.934-5.809-3.975-10.042Z",stroke:"#232323",strokeWidth:1.5})))};var tl=l(6756),tn=l(52750),ta=l.n(tn);let tr=(0,eD.PA)(()=>{let{orderParams:e,restaurantSelectModal:t}=(0,e_.Pj)(),l=e.orderType===tl.RA.DELIVERY&&null!==e.deliveryDetails||e.orderType===tl.RA.PICKUP&&null!==e.restaurant,n=e.orderType===tl.RA.DELIVERY?"delivery":e.orderType===tl.RA.PICKUP?"pickup":"";return(0,$.jsxs)("div",{className:ta().location,onClick:()=>t.open(n),children:[(0,$.jsx)("div",{className:ta().icon,children:(0,$.jsx)(tt,{height:20})}),(0,$.jsxs)("div",{className:ta().label,children:[!l&&(0,$.jsx)(al,{className:ta().notSelected,weight:"semi-bold",children:"УкажиÑе адÑÐµÑ Ð´Ð¾ÑÑавки"}),l&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(al,{className:ta().orderType,children:e.orderType===tl.RA.DELIVERY?"ÐоÑÑавка":"СамовÑвоз"}),(0,$.jsxs)(al,{className:ta().address,children:[e.orderType===tl.RA.DELIVERY&&e.deliveryDetails?.address,e.orderType===tl.RA.PICKUP&&e.restaurant?.address]})]})]})]})});var ts=l(9052),to=l.n(ts);function ti(){return(ti=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let tc=function(e){return J.createElement("svg",ti({width:18,height:18,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),C||(C=J.createElement("g",{clipPath:"url(#close-btn_svg__a)"},J.createElement("path",{d:"m10.65 9.016 7.008-7.01A1.165 1.165 0 1 0 16.009.358l-7.01 7.01L1.992.357a1.165 1.165 0 1 0-1.649 1.65l7.009 7.009-7.009 7.009a1.165 1.165 0 0 0 .825 1.99c.298 0 .597-.114.824-.341L9 10.664l7.009 7.01a1.163 1.163 0 0 0 1.649 0 1.164 1.164 0 0 0 0-1.65l-7.009-7.008Z",fill:"#fff"}))),y||(y=J.createElement("defs",null,J.createElement("clipPath",{id:"close-btn_svg__a"},J.createElement("path",{fill:"#fff",d:"M0 0h18v18H0z"})))))};function td(){return(td=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let tu=function(e){return J.createElement("svg",td({width:123,height:41,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),w||(w=J.createElement("path",{d:"M115.414 1.688c2.218 0 3.708.422 4.593 1.278.872.857 1.296 2.34 1.296 4.523v26.047c0 2.182-.424 3.653-1.296 4.497-.873.857-2.375 1.267-4.593 1.267H7.501c-2.205 0-3.696-.41-4.544-1.254-.848-.844-1.26-2.316-1.26-4.51V7.5c0-2.509.278-3.883.92-4.607.716-.82 2.279-1.206 4.896-1.206h107.901Zm0-1.688H7.514C1.
1065 0 0 2.219 0 7.5v26.06C0 38.83 2.206 41 7.501 41h107.913c5.308 0 7.586-2.183 7.586-7.452V7.5C123 2.219 120.722 0 115.414 0Z",fill:"#fff"})),N||(N=J.createElement("path",{d:"M60.81 23.503c-2.255 0-4.048 1.688-4.048 4.027 0 2.243 1.781 4.028 4.047 4.028s4.048-1.688 4.048-4.028c-.012-2.436-1.794-4.027-4.048-4.027Zm0 6.367c-1.225 0-2.255-1.025-2.255-2.436 0-1.399 1.03-2.436 2.254-2.436s2.254.94 2.254 2.436c0 1.399-1.042 2.436-2.254 2.436Zm-8.75-6.367c-2.254 0-4.047 1.688-4.047 4.027 0 2.243 1.78 4.028 4.047 4.028 2.266 0 4.047-1.688 4.047-4.028 0-2.436-1.793-4.027-4.047-4.027Zm0 6.367c-1.224 0-2.254-1.025-2.254-2.436 0-1.399 1.03-2.436 2.254-2.436s2.254.94 2.254 2.436c0 1.399-1.03 2.436-2.254 2.436Zm-10.434-5.15v1.689h4.048c-.097.94-.473 1.688-.946 2.146-.57.567-1.502 1.218-3.102 1.218-2.532 0-4.423-1.965-4.423-4.486 0-2.52 1.975-4.485 4.423-4.485 1.321 0 2.351.566 3.102 1.218l1.224-1.218c-1.03-.941-2.35-1.689-4.229-1.689-3.38 0-6.301 2.81-6.301 6.174 0 3.365 2.908 6.175 6.301 6.175 1.878 0 3.2-.567 4.326-1.773 1.127-1.122 1.503-2.713 1.503-3.931 0-.374 0-.748-.097-1.025l-5.829-.012Zm42.68 1.303c-.375-.94-1.32-2.52-3.38-2.52-2.073 0-3.757 1.591-3.757 4.027 0 2.243 1.697 4.028 3.95 4.028 1.782 0 2.909-1.122 3.297-1.773l-1.321-.94c-.473.65-1.03 1.121-1.975 1.121-.946 0-1.503-.374-1.976-1.218l5.356-2.243-.193-.482Zm-5.453 1.314c0-1.495 1.224-2.339 2.073-2.339.654 0 1.32.374 1.502.844l-3.575 1.495Zm-4.423 3.835h1.794V19.475h-1.782v11.697h-.012Zm-2.811-6.825c-.473-.47-1.224-.94-2.157-.94-1.975 0-3.854 1.772-3.854 4.027s1.781 3.931 3.854 3.931c.945 0 1.696-.47 2.072-.94h.097v.566c0 1.495-.848 2.34-2.157 2.34-1.03 0-1.782-.748-1.975-1.4l-1.503.652c.473 1.025 1.6 2.34 3.575 2.34 2.072 0 3.756-1.218 3.756-4.113v-7.114h-1.696l-.012.65Zm-2.072 5.523c-1.224 0-2.254-1.025-2.254-2.436 0-1.399 1.03-2.436 2.254-2.436s2.157 1.025 2.157 2.436c0 1.399-.933 2.436-2.157 2.436Zm22.94-10.395h-4.23v11.697h1.781v-4.401h2.448c1.976 0 3.854-1.4 3.854-3.654 0-2.255-1.878-3.642-3.854-3.642Zm.096 5.62H90.04v-4.028h2.544c1.321 0 2.073 1.121 2.073 1.965-.11 1.038-.86 2.063-2.073 2.063Zm10.81-1.689c-1.321 0-2.63.567-3.103 1.773l1.6.651c.376-.651.945-.844 1.6-.844.945 0 1.781.567 1.878 1.495v.097c-.279-.193-1.03-.47-1.781-.47-1.697 0-3.381.94-3.381 2.616 0 1.592 1.405 2.617 2.908 2.617 1.224 0 1.781-.567 2.254-1.122h.097v.941h1.697v-4.486c-.206-2.05-1.794-3.268-3.769-3.268Zm-.194 6.464c-.57 0-1.406-.278-1.406-1.025 0-.94 1.03-1.218 1.878-1.218.752 0 1.127.193 1.6.374-.194 1.109-1.127 1.869-2.072 1.869Zm9.876-6.174-1.975 5.052h-.097l-2.072-5.052h-1.879l3.103 7.114-1.782 3.92h1.782l4.799-11.034h-1.879Zm-15.802 7.476h1.781V19.475h-1.78v11.697ZM40.426 14.254c-.484.555-1.054.82-1.745.82-.617 0-1.139-.205-1.563-.627-.424-.41-.63-.965-.63-1.628 0-.676.218-1.218.63-1.628.424-.41.945-.627 1.563-.627.667 0 1.176.229 1.564.711l.085.109.715-.688-.085-.084c-.582-.675-1.358-1.013-2.29-1.013-.91 0-1.685.314-2.303.929-.618.615-.933 1.386-.933 2.303 0 .916.315 1.688.933 2.303.618.615 1.394.929 2.302.929.497 0 .97-.097 1.394-.302.424-.193.788-.47 1.066-.808l.073-.084-.703-.7-.073.085ZM48.812 9.768l-2.23 5.885-2.241-3.196 2.193-2.52v-.169h-1.212l-2.544 2.858V9.768h-.97v6.15h.97v-1.797l.812-.904 1.926 2.701h2.06l.582-1.568h2.339l.581 1.568h1.115l-2.338-6.15h-1.043Zm1.333 3.618H48.51l.825-2.255.811 2.255ZM55.623 12.132c-.243.35-.679.53-1.188.53-.351 0-.642-.096-.824-.277-.194-.181-.29-.446-.29-.796v-1.82h-.97v1.965c0 .579.182 1.037.57 1.386.387.338.86.507 1.43.507.52 0 .957-.145 1.308-.446l-.024.193v2.544h1.09v-6.15h-1.09v2.364h-.012ZM58.41 14.11V9.767h-.97v6.15h.994l2.884-4.582v4.582h.97v-6.15h-1.115L58.41 14.11ZM66.699 12.71c.182-.108.327-.253.436-.422.158-.24.242-.506.242-.82 0-.494-.181-.904-.557-1.23-.363-.325-.8-.47-1.297-.47h-2.266v6.15h2.4c.52 0 .97-.169 1.357-.506.388-.338.582-.784.582-1.303 0-.35-.11-.65-.315-.916a1.6 1.6 0 0 0-.582-.483Zm-.558-.663a.78.78 0 0 1-.606.253h-1.308v-1.567h1.345c.242 0 .436.06.582.229a.795.795 0 0 1 .218.543.777.777 0 0 1-.23.542Zm.17 2.641c-.157.18-.363.265-.63.265h-1.454v-1.688h1.43c.278 0 .484.072.654.253.17.181.255.362.255.58a.922.922 0 0 1-.255.59ZM69.995 9.768l-2.339 6.15h1.115l.582-1.568h2.339l.581 1.568h1.115l-2.339-6.15h-1.054Zm1.345 3.618h-1.636l.824-2.255.812 2.255ZM74.757 14.11l.012-.772v-3.57H73.8v6.15h.97l2.908-4.582v4.582h.97v-6.15h-1.14l-2.75 4.341ZM76.187 9.527c.316 0 .57-.109.8-.338.23-.23.327-.506.327-.832V8.2h-.848v.157c0 .096-.012.18-.073.253-.06.073-.12.097-.218.097a.292.292 0 0 1-.23-.097.377.377 0 0 1-.085-.253V8.2h-.848v.157c0 .326.109.603.351.832.243.23.51.338.824.338ZM79.132 10.733h1.697v5.185h1.09v-5.185h1.576v-.965h-4.363v.965ZM84.1 15.918h3.757v-.965h-2.666v-1.688h2.424V12.3H85.19v-1.567h2.666v-.965h-3.756v6.15ZM94.534 13.18a1.63 1.63 0 0 0-.57-.47c.183-.108.328-.253.437-.422.158-.24.242-.506.242-.82 0-.494-.181-.904-.557-1.23-.364-.325-.8-.47-1.297-.47h-2.266v6.15h2.388c.52 0 .969-.169 1.357-.506.388-.338.581-.784.581-1.303a1.
1645 1.645 0 0 0-.315-.928Zm-1.139-1.133a.78.78 0 0 1-.606.253h-1.296v-1.567h1.333c.242 0 .436.06.581.229a.796.796 0 0 1 .219.543.777.777 0 0 1-.23.542Zm.17 2.641c-.158.18-.364.265-.63.265h-1.442v-1.688h1.418c.278 0 .484.072.654.253.17.181.254.362.254.58a.922.922 0 0 1-.254.59Z",fill:"#fff"})),k||(k=J.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m26.26 16.895-14.723-8.43L23.17 19.97l3.09-3.075ZM10.18 8.55a.673.673 0 0 0-.122.35v23.852c0 .072.037.145.06.217l12.313-12.276L10.179 8.55ZM23.17 21.393 11.1 33.427c.037-.012.073-.024.11-.048l15.256-8.73-3.296-3.256ZM32.04 20.199l-4.871-2.786-3.284 3.268 3.478 3.449 4.678-2.677a.723.723 0 0 0 0-1.254Z",fill:"#fff"})))};function t_(){return(t_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let tm=function(e){return J.createElement("svg",t_({width:89,height:21,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),E||(E=J.createElement("g",{clipPath:"url(#logo-white_svg__a)",fill:"#fff"},J.createElement("path",{d:"M.176 1.519c2.61-.438 6.217-.438 8.827 0v7.419h.558l3.636-7.419c2.61-.438 6.188-.438 8.798 0 .235 6.28.235 12.56 0 18.839-2.903.438-5.777.438-8.798 0v-7.36h-.586l-3.608 7.36c-2.903.438-5.806.438-8.827 0a252.2 252.2 0 0 1 0-18.839ZM24.253 1.519c5.015-.701 13.08-.701 18.124 0a38.574 38.574 0 0 1 0 7.36l-4.633-.146v11.858c-2.61.438-6.247.438-8.857 0V8.704l-4.634.146a43.707 43.707 0 0 1 0-7.331ZM44.665 1.344c2.61-.438 6.247-.438 8.857 0 .234 4.001.234 8.265 0 12.267l12.464-.555a38.574 38.574 0 0 1 0 7.36c-6.071.789-15.837.847-21.321 0a258.507 258.507 0 0 1 0-19.072ZM68.449 1.519c5.894-.876 13.607-.876 19.473 0a29.956 29.956 0 0 1 0 6.484l-10.617-.73v1.986l6.687-.205c.234 1.286.234 2.57 0 3.856l-6.687-.205v1.899l10.617-.73a29.956 29.956 0 0 1 0 6.484 72.449 72.449 0 0 1-19.473 0 252.214 252.214 0 0 1 0-18.839Z"}),J.createElement("path",{d:"M54.93 5.783s1.084 1.46 2.639 3.008a30.09 30.09 0 0 0 3.167 2.717l.03.029s1.466-1.08 3.02-2.629a30.045 30.045 0 0 0 2.727-3.154l.03-.03s-1.086-1.46-2.64-3.008S60.736 0 60.736 0h-.03s-1.466 1.08-3.02 2.629c-1.554 1.548-2.727 3.154-2.757 3.154Z"}))),I||(I=J.createElement("defs",null,J.createElement("clipPath",{id:"logo-white_svg__a"},J.createElement("path",{fill:"#fff",d:"M0 0h88.098v21H0z"})))))};function th(){return(th=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let tp=function(e){return J.createElement("svg",th({width:21,height:17,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),M||(M=J.createElement("path",{d:"M20.429 8.572c-.094.295-.289.508-.499.721-.841.878-1.675 1.764-2.524 2.65-.382.402-.88.45-1.27.147-.468-.369-.499-1.041-.07-1.509.327-.36.67-.705 1.005-1.058.046-.05.109-.082.132-.18H6.56c-.42 0-.763-.14-.958-.55-.304-.615.109-1.361.763-1.41.094-.009.187-.009.28-.009h10.543c.03-.074-.04-.098-.07-.131-.351-.377-.717-.738-1.06-1.124-.53-.59-.288-1.493.444-1.665.35-.082.647.041.888.304l.904.951c.545.574 1.083 1.148 1.628 1.714.203.214.398.427.499.722.008.14.008.279.008.427Z",fill:"currentColor"})),S||(S=J.createElement("path",{d:"M0 8.007c.094-2.533 1.273-4.81 3.677-6.342C7.135-.532 11.639.47 13.94 3.91c.32.473.242 1.05-.195 1.371-.43.32-.991.225-1.32-.248-.678-.987-1.545-1.716-2.637-2.173-2.366-1.003-5.207-.193-6.745 1.916-.905 1.235-1.319 2.63-1.147 4.153.273 2.382 1.507 4.074 3.692 4.964 2.49 1.018 5.292.072 6.791-2.133.32-.465.734-.618 1.171-.45.562.225.765.907.43 1.436a7.27 7.27 0 0 1-1.28 1.5c-1.172 1.05-2.522 1.691-4.06 1.9a7.316 7.316 0 0 1-4.145-.634c-1.53-.721-2.708-1.844-3.536-3.351C.32 10.982.008 9.707 0 8.007Z",fill:"currentColor"})))};function tv(){return(tv=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let tf=function(e){return J.createElement("svg",tv({width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),P||(P=J.createElement("g",{clipPath:"url(#phone-mobile_svg__a)"},J.createElement("path",{d:"m18.953 13.65-2.012-1.648c-1.311-1.074-3.346-.972-4.542.224l-.08.08c-.2.2-.527.199-.725 0L7.707 8.42a.511.511 0 0 1 0-.723l-.011.01.01-.01c1.19-1.2 1.303-3.245.261-4.562L6.336 1.071C5.286-.255 3.463-.358 2.268.838l-.3.3C-.156 3.26-.656 7.089.937 9.635c0 0 .937 2.175 4.102 5.34 3.165 3.164 5.34 4.102 5.34 4.102 2.569 1.554 6.372 1.094 8.495-1.03l.286-.285c1.197-1.197 1.103-3.038-.207-4.111Zm-1.239 2.667-.285.285c-1.458 1.458-4.227 1.793-5.992.726l-.12-.073-.129-.055c-.158
1-.069-.554-.283-1.153-.685-1.064-.714-2.26-1.696-3.55-2.986-1.29-1.29-2.272-2.486-2.986-3.55-.402-.6-.617-.996-.685-1.154l-.062-.143-.082-.132c-1.073-1.714-.727-4.496.744-5.967l.3-.3c.332-.332.73-.31 1.018.056l1.632 2.063c.403.51.35 1.395-.114 1.86-.988.999-.983 2.609.011 3.603l3.888 3.888a2.559 2.559 0 0 0 3.616-.002l.08-.08c.453-.453 1.303-.495 1.8-.087l2.012 1.648c.376.308.398.744.057 1.085Z",fill:"#fff"}))),B||(B=J.createElement("defs",null,J.createElement("clipPath",{id:"phone-mobile_svg__a"},J.createElement("path",{fill:"#fff",d:"M0 0h20v20H0z"})))))};function tg(){return(tg=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let tx=function(e){return J.createElement("svg",tg({width:28,height:28,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),T||(T=J.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 28C6.268 28 0 21.732 0 14S6.268 0 14 0s14 6.268 14 14-6.268 14-14 14Zm0-25.2C7.814 2.8 2.8 7.814 2.8 14c0 3.205 1.346 6.096 3.504 8.137A7 7 0 0 1 12.6 18.2h3.5a6.302 6.302 0 0 1 5.77 3.768A11.167 11.167 0 0 0 25.2 14c0-6.186-5.014-11.2-11.2-11.2Zm5.519 20.948A3.501 3.501 0 0 0 16.1 21h-3.5a4.202 4.202 0 0 0-3.972 2.83A11.15 11.15 0 0 0 14 25.2c2.007 0 3.89-.528 5.519-1.452ZM14 16.8a5.6 5.6 0 1 1 0-11.2 5.6 5.6 0 0 1 0 11.2Zm0-8.4a2.8 2.8 0 1 0 0 5.6 2.8 2.8 0 0 0 0-5.6Z",fill:"#fff"})))};var tj=l(48669);let tb=({onClose:e})=>{let{localities:t,loginModal:l,user:n,orderParams:a}=(0,e_.Pj)(),r=null!==a?a.restaurantId:null,s=(0,e_.iS)(),o=r?(0,ej.xg)(t,r):s,i=o?.support_phone_number??tj.G.href,c=()=>{null===n?l.open("ÐведиÑе Ð½Ð¾Ð¼ÐµÑ Ð´Ð»Ñ Ð°Ð²ÑоÑизаÑии","ÐÑо Ð¿Ð¾Ð·Ð²Ð¾Ð»Ð¸Ñ Ðам бÑÑÑÑо войÑи в ÐÐ"):eG().push(eV.R.PROFILE)};return(0,$.jsxs)("div",{className:to().menu,children:[(0,$.jsx)("div",{className:to().closeBtn,children:(0,$.jsx)(tc,{className:to().close,height:18,onClick:e,width:18})}),(0,$.jsx)("div",{className:to().logo,onClick:e,children:(0,$.jsx)(en(),{href:"/",children:(0,$.jsx)(tm,{height:21,width:88})})}),(0,$.jsxs)("div",{className:null!==n?to().profileLoggedIn:to().profile,children:[(0,$.jsx)(tx,{height:30,onClick:c,width:30}),(0,$.jsxs)("div",{children:[(0,$.jsx)("div",{className:to().profileLabel,onClick:c,children:null!==n?n.name??"ÐлиенÑ":"ÐойÑи"}),null!==n&&(0,$.jsxs)("div",{className:to().bonusesCount,onClick:c,children:["У Ð²Ð°Ñ ",n.bonus_count??0," бонÑÑ",(0,ej.C6)(n.bonus_count??0,["","а","ов"])]}),null!==n&&(0,$.jsxs)("div",{className:to().logoutText,onClick:n.logOut,children:[(0,$.jsx)("span",{children:"ÐÑйÑи"}),(0,$.jsx)(tp,{className:to().logoutIcon,onClick:n.logOut})]})]})]}),(0,$.jsx)("nav",{className:to().nav,children:(0,$.jsxs)("ul",{className:to().navList,children:[(0,$.jsx)("li",{children:(0,$.jsx)(en(),{className:to().navItem,onClick:e,as:"/"+o?.slug+"#menu",href:"/"+o?.slug+"#menu",children:"ÐенÑ"})}),(0,$.jsx)("li",{children:(0,$.jsx)(en(),{as:"/promos",href:"/promos",className:to().navItem,onClick:e,children:"ÐкÑии"})}),(0,$.jsx)("li",{children:(0,$.jsx)(en(),{as:"/info/bonuses",href:"/info/bonuses",className:to().navItem,onClick:e,children:"ÐонÑÑÑ"})}),7!==r&&11!==r?(0,$.jsx)("li",{children:(0,$.jsx)(en(),{className:to().navItem,onClick:e,as:"/hall",href:"/hall",children:"ÐанкеÑÑ"})}):null,(0,$.jsx)("li",{children:(0,$.jsx)(en(),{className:to().navItem,onClick:e,as:"/info/about",href:"/info/about",children:"РнаÑ"})}),(0,$.jsx)("li",{children:(0,$.jsx)(en(),{className:to().navItem,onClick:e,as:"/contacts",href:"/contacts",children:"ÐонÑакÑÑ"})})]})}),(0,$.jsxs)("a",{className:to().contacts,href:tj.G.href,children:[(0,$.jsx)(tf,{height:20,width:20}),(0,$.jsx)(al,{lineHeight:25,size:20,weight:"bold",children:i})]}),(0,$.jsx)("div",{className:to().apps,children:(0,$.jsx)(tu,{height:41,width:123})})]})};var tC=l(44196),ty=l.n(tC);function tw(){return(tw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let tN=function(e){return J.createElement("svg",tw({width:239,height:48,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),R||(R=J.createElement("path",{d:"M36.856 11.127A122.78 122.78 0 0 0 23.988 0 117.134 117.134 0 0 0 0 24.002 117.004 117.004 0 0 0 23.988 48a122.506 122.506 0 0 0 12.868-11.124c4-4.03 7.716-8.33 11.12-12.874a122.732 122.732 0 0 0-11.12-12.875ZM24.673 24.868s-1.38.215-3.221.306v7.912h-3.04v-7.909a33.79 33.79 0 0 1-3.27-.312 34.204 34.204 0 0 1-.336-4.764 34.61 34.61 0 0 1 .336-4.767s.73-.098 1.697-.188v3.732h1.626v-3.847c.504-.027.887-.043 1.441-.043.555 0 1.045 0 1.549.043v3.847h1.623v-3.732c.97.093 1.596.191 1.596.191.463 3.16.463 6.371 0 9.531Zm5.558-.893-.108.107v8.987h-3.04V14.974l.087.05a29.214 29.214 0 0 1 3.09 2.688c.969.987 1.867 2.04 2.688 3.152a29.85 29.85 0 0 1-2.728 3.124M89.63 1.757a365.25 365.25 0 0 1 0 25.594 93.23 93.23 0 0 1-11.907 0V17.36h-.756l-4.885 9.991a92.78 92.78 0 0 1-11.957 0 361.146 361.146 0 0 1 0-25.594 92.808 92.808
10 0 1 11.957 0v10.08h.753l4.892-10.08a92.629 92.629 0 0 1 11.906 0m3.068 0a53.867 53.867 0 0 0 0 9.874l6.292-.084v15.79c3.994.243 7.998.243 11.991 0v-15.79l6.249.091a53.816 53.816 0 0 0 0-9.88c-6.827-.23-17.729-.256-24.526 0m39.584 16.411c.303-5.466.303-10.945 0-16.412a99.144 99.144 0 0 0-11.99 0c-.336 9.79-.336 16.926 0 25.594 7.482.242 20.578.242 28.849 0a52.078 52.078 0 0 0 0-9.72l-16.859.538Zm32.169 1.388v-2.63l9.045.016a12.923 12.923 0 0 0-.024-4.818l-9.021.118V9.555l14.366.37a36.836 36.836 0 0 0-.02-8.165c-8.03-.302-18.364-.215-26.336 0a360.43 360.43 0 0 0 0 25.595c8.872.278 17.594.268 26.336 0 .309-2.78.316-5.585.02-8.366l-14.366.568ZM142.031 0a38.084 38.084 0 0 0-7.811 7.815 38.11 38.11 0 0 0 7.801 7.831 38.086 38.086 0 0 0 7.811-7.815 38.084 38.084 0 0 0-7.811-7.814M155.177 35.785c0-3.024-2.15-5.611-10.751-5.611-5.261 0-9.316.262-9.316.262-.205 4.065-.205 11.628-.02 17.218a63.26 63.26 0 0 0 8.332 0V42.28h1.454l1.25 5.375c3.014.183 6.037.183 9.051 0 0 0-.275-5.375-4.771-6.625v-.407c3.894-.749 4.771-2.523 4.771-4.837Zm-10.67 3.252h-1.065v-4.223c.352-.06.708-.093 1.065-.098 1.616 0 2.775.73 2.775 2.16 0 1.432-1.159 2.16-2.775 2.16ZM168.098 30.174c-7.311 0-10.875 3.732-10.875 8.97 0 5.12 3.564 8.813 10.875 8.813s10.936-3.696 10.936-8.813c0-5.238-3.585-8.97-10.936-8.97Zm.06 11.231c-1.78 0-2.949-.715-2.949-2.288 0-1.572 1.169-2.288 2.949-2.288 1.7 0 2.89.74 2.89 2.288 0 1.55-1.19 2.288-2.89 2.288ZM83.606 30.428a241.112 241.112 0 0 0 0 17.219c2.783.165 5.575.165 8.358 0a241.23 241.23 0 0 0 0-17.219 72.212 72.212 0 0 0-8.358 0ZM115.93 30.428a35.981 35.981 0 0 0 0 6.646l4.263-.057v10.63a66.85 66.85 0 0 0 8.124 0V37.024l4.237.06a36.09 36.09 0 0 0 .003-6.656c-4.626-.15-12.014-.17-16.617 0M102.511 38.203c-.746-2.234 3.289-3.736 10.586-1.112a27.064 27.064 0 0 0 0-6.31 84.176 84.176 0 0 0-8.661-.607c-7.825 0-10.08 2.016-10.08 5.426 0 4.817 4.056 5.143 11.202 4.29.588 2.352-2.899 3.36-10.63 1.23-.239 2.07-.232 4.16.02 6.229.125 0 4.835.608 8.665.608 7.821 0 10.116-2.07 10.116-5.467 0-4.858-4.096-5.12-11.221-4.287M77.088 39.322v-.306c2.47-.732 3.494-1.881 3.494-3.927 0-2.963-3.141-4.831-10.008-4.831-7.62 0-10.526.262-10.526.262a240.102 240.102 0 0 0 0 17.178S62.954 48 70.574 48c6.867 0 10.68-1.377 10.68-4.885 0-1.824-1.307-3.548-4.166-3.793Zm-6.907 4.079a14.87 14.87 0 0 1-2.144-.158v-2.665h1.918c1.344 0 2.248.511 2.248 1.556 0 .87-.712 1.267-2.016 1.267m-.205-5.79h-1.931v-2.663a14.751 14.751 0 0 1 2.123-.158c1.344 0 2.042.336 2.042 1.29 0 1.045-.917 1.532-2.227 1.532M213.527 28.533c-1.167 0-1.401.257-1.401.53v.015c0 .279.234.554 1.401.554s1.378-.258 1.378-.546v-.015c0-.27-.208-.538-1.378-.538ZM221.686 19.977l-.576 1.287h1.165l-.589-1.287ZM209.538 21.264h1.167l-.589-1.287-.578 1.287ZM222.477 26.692c-1.419 0-1.763.71-1.763 1.274v.098c0 .572.37 1.32 1.763 1.32 1.393 0 1.763-.74 1.763-1.312v-.106c0-.564-.378-1.274-1.763-1.274ZM228.962 25.958a.62.62 0 1 0 0 1.233.613.613 0 0 0 .606-.37.61.61 0 0 0 0-.492.616.616 0 0 0-.606-.371Z",fill:"#FA7305"})),O||(O=J.createElement("path",{d:"M227.238 11.128A121.937 121.937 0 0 0 214.537 0a116.442 116.442 0 0 0-23.681 24.001A116.333 116.333 0 0 0 214.537 48a121.695 121.695 0 0 0 12.701-11.125A122.49 122.49 0 0 0 238.216 24a122.49 122.49 0 0 0-10.978-12.873Zm-2.011 7.688h1.869v2.832h2.864v1.36h-4.727l-.006-4.192Zm-4.793 0h2.586l2.112 4.181h-2.074l-.257-.58h-2.203l-.257.58h-1.892l1.985-4.181Zm-6.776 0h1.869v2.832h2.868v1.36h-4.732l-.005-4.192Zm-12.991 0h1.871v1.426h2.368v-1.426h1.876v4.181h-1.876v-1.545h-2.368v1.545h-1.871v-4.181Zm8.297 10.252c0 .953-.614 2.13-4.182 2.13h-.403c-3.599 0-4.028-1.527-4.028-2.318v-.074h2.776c.018.13.082.736 1.434.736 1.286 0 1.45-.258 1.45-.492 0-.219-.152-.366-.635-.366h-1.886v-1.493h1.86c.445 0 .581-.131.581-.304 0-.203-.087-.399-1.393-.399s-1.37.466-1.385.572h-2.748v-.082c0-.678.347-2.073 3.93-2.073h.365c3.696 0 4.025.873 4.025 1.568v.03c0 .59-.57.933-1.167 1.03.684.114 1.412.531 1.412 1.484l-.006.051Zm-.195-6.07h-1.892l1.985-4.182h2.593l2.113 4.181h-2.074l-.257-.58h-2.203l-.265.58Zm8.958 6.029c0 .963-.468 2.178-4.113 2.178h-.37c-3.642 0-4.084-1.918-4.084-3.061v-.196c0-1.107.442-3.05 4.112-3.05h.363c3.198 0 3.8
109 1.176 3.809 1.959v.03h-2.732c-.057-.08-.242-.43-1.177-.43-1.286 0-1.586.734-1.586 1.198v.059c.162-.116.771-.564 2.48-.564h.098c2.496 0 3.19.772 3.19 1.802l.01.075Zm9.328-.865c0 1.15-.54 3.035-4.37 3.035h-.37c-3.855 0-4.369-1.884-4.369-3.035v-.245c0-1.158.532-3.02 4.369-3.02h.37c3.843 0 4.37 1.862 4.37 3.02v.245Zm1.918.072c-.985 0-1.741-.67-1.741-1.656 0-.986.756-1.655 1.741-1.655.984 0 1.732.67 1.732 1.655 0 .987-.771 1.656-1.732 1.656Z",fill:"#FA7305"})))};function tk(){return(tk=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let tE=function(e){return J.createElement("svg",tk({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none"},e),L||(L=J.createElement("path",{d:"M10 10a4.167 4.167 0 1 0 0-8.333A4.167 4.167 0 0 0 10 10ZM17.158 18.333c0-3.225-3.208-5.833-7.158-5.833s-7.158 2.608-7.158 5.833",stroke:"#232323",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})))};function tI(){return(tI=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let tM=function(e){return J.createElement("svg",tI({viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),H||(H=J.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m5.81 5.6.001.002v-.001Zm.058.09 2.71 4.157c-.327.3-.685.596-1.069.915-.33.275-.68.566-1.05.89a2.445 2.445 0 0 0-.5 3.097c3.13 5.312 7.4 7.73 9.31 8.597 1.151.523 2.402.11 3.098-.744l1.875-2.302.004-.001a.04.04 0 0 1 .008 0s.004 0 .008.003c1.093.65 2.617 1.534 4.018 2.282-.252 1.464-.83 2.317-1.466 2.839-.67.547-1.534.835-2.499.94-1.926.207-3.882-.356-4.316-.494-.478-.236-3.102-1.567-5.905-3.726-2.89-2.225-5.789-5.19-6.897-8.592-.81-2.486-.505-4.235.132-5.442.616-1.167 1.612-1.958 2.54-2.42Zm-.98-2.46c1.277-.585 2.597.024 3.213.968l2.834 4.35c.573.879.613 2.164-.319 3.044-.4.378-.955.842-1.472 1.273-.284.237-.556.464-.784.662 2.694 4.524 6.296 6.617 7.934 7.382l1.823-2.238c.861-1.057 2.394-1.304 3.561-.61 1.08.643 2.573 1.508 3.926 2.23.902.482 1.548 1.486 1.365 2.62-.329 2.037-1.187 3.52-2.409 4.52-1.202.985-2.634 1.402-3.946 1.544-2.58.278-5.048-.476-5.499-.621a2.246 2.246 0 0 1-.31-.126c-.484-.237-3.335-1.67-6.394-4.026-3.028-2.33-6.442-5.702-7.797-9.859-.995-3.053-.7-5.529.304-7.432.987-1.87 2.585-3.048 3.97-3.682ZM18.005 2.125a1.378 1.378 0 0 0-1.821.67 1.36 1.36 0 0 0 .675 1.808c3.19 1.453 6.841 4.185 8.51 7.955a1.377 1.377 0 0 0 1.81.7 1.36 1.36 0 0 0 .705-1.797c-2.038-4.605-6.346-7.727-9.879-9.336Zm-1.017 4.837a1.378 1.378 0 0 0-1.843.61 1.359 1.359 0 0 0 .615 1.83c1.29.64 2.184 1.244 2.905 1.96.721.716 1.33 1.603 1.975 2.884.339.673 1.164.947 1.843.61a1.359 1.359 0 0 0 .614-1.83c-.728-1.445-1.494-2.604-2.49-3.593-.995-.988-2.162-1.748-3.619-2.47Z",fill:"#232323"})))};var tS=l(3490),tP=l(35003);l(15474),l(83563),l(61597);var tB=l(66594),tT=l.n(tB),tR=l(80879);let tO=({disableSmooth:e,categories:t,showCategory:l})=>{let{localities:n,orderParams:a}=(0,e_.Pj)(),r=(0,e_.iS)(),s=null!==a?a.restaurantId:null,o=s?(0,ej.xg)(n,s):r;return(0,$.jsxs)("section",{className:et()("container",tT().categories),children:[(0,$.jsx)(tP.RC,{modules:[tS.Ze,tS.Vx],breakpoints:{900:{slidesPerView:7.75}},className:tT().swiper,navigation:{nextEl:`.${tT().swiperButtonNext}`,prevEl:`.${tT().swiperButtonPrev}`},slidesPerView:8.5,children:t.map(t=>l(t)?(0,$.jsx)(tP.qr,{children:(0,$.jsx)("a",{ref:(0,J.createRef)(),className:tT().category,href:e?"/"+o?.slug+"#"+t.code:"#"+t.code,onClick:e?()=>{}:tR.m9,children:(0,$.jsx)("div",{className:tT().categoryName,children:t.name})})},t.id):null)}),(0,$.jsx)("a",{className:tT().swiperButtonNext,children:"ÐÑе"})]})};var tL=l(10223),tH=l(30356),tZ=l(42401),tA=l(41685),tD=l.n(tA);let tF=(0,eD.PA)(({orderStep:e})=>{let t=(0,ez.useRouter)(),{localities:l,loginModal:n,user:a,orderParams:r}=(0,e_.Pj)(),s=(0,e_._$)(),o=null!==r?r.restaurantId:null,i=(0,e_.iS)(),c=o?(0,ej.xg)(l,o):i,d=eg(c,o),u=ex(c,o),_=eg(c,o,(0,ec.A)(new Date,1)),m=ex(c,o,(0,ec.A)(new Date,1)),h=(0,J.useCallback)(()=>
1{if(!d||!u)return!1;let e=u.split(":"),t=d.split(":");if(2!==e.length||2!==t.length)return!1;let l=new Date((0,ed.A)(new Date,"yyyy-MM-dd"));return l.setHours(Number(t[0])),l.setMinutes(Number(t[1])),new Date<l},[d,u]),[p,v]=(0,J.useState)(!1),[f,g]=(0,J.useState)(!1),[x,j]=(0,J.useState)(!1),b=(0,J.useRef)(null),C=(0,J.useRef)(null),y=c?.support_phone_number??tj.G.href,w=(0,J.useCallback)(e=>{null===b||null===b.current||b.current.contains(e.target)||g(!1),null===C||null===C.current||C.current.contains(e.target)||j(!1)},[]);(0,J.useEffect)(()=>(document.addEventListener("click",w),()=>{document.removeEventListener("click",w)}),[w]);let N=(0,J.useCallback)(()=>{v(!0)},[]),k=(0,J.useCallback)(()=>{v(!1)},[]);(0,e_.d6)(p);let E=[],I=(0,e_.wm)(),M=(0,tL.useQuery)(tH.e.CATEGORIES(I?.id),()=>(0,tZ.bW)(I?.id),{refetchOnWindowFocus:!1}).data??E,S=(0,tL.useQuery)(tH.e.PRODUCTS(I?.id),()=>(0,tZ.d$)(I?.id),{refetchOnWindowFocus:!1}).data??E,P=(0,J.useMemo)(()=>tD()(S,"category_id"),[S]),B=(0,J.useCallback)(e=>void 0!==P[e.id],[P]),{cartModal:T}=(0,e_.Pj)(),{sheduleInfoModalOpen:R,toggleSheduleInfoModal:O}=eC(),L=()=>{O(!1),T.open()},H=(0,e_.eJ)(()=>{R||(h()?O("today"):O("tomorrow"))});return(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)("header",{className:et()({[ty().header]:!p,[ty().headerMobile]:p}),children:[(0,$.jsxs)(tq,{open:"tomorrow"===R||"today"===R,className:ty().sheduleInfoModal,containerClass:ty().sheduleInfoModalContainer,onClose:L,children:[(0,$.jsx)("div",{className:ty().modalHeader,children:I?.schedule_modal?.title}),I?.schedule_modal?.is_default_title?(0,$.jsxs)("div",{className:ty().modalInfo,children:["tomorrow"===R?"ÐавÑÑа":"СегоднÑ"," Ð¼Ñ ÑабоÑаем Ñ"," ","tomorrow"===R?m:u," до"," ","tomorrow"===R?_:d]}):null,(0,$.jsx)("div",{className:ty().modaldeliveryInfo,dangerouslySetInnerHTML:{__html:I?.schedule_modal?.text||""}}),(0,$.jsx)(es,{className:ty().modalButton,onClick:L,children:"ÐÑекÑаÑно"})]}),(0,$.jsxs)("div",{className:et()("container",ty().content),children:[(0,$.jsxs)("div",{className:ty().headerStart,children:[(0,$.jsxs)("div",{className:ty().burger,onClick:N,children:[(0,$.jsx)("div",{className:ty().burgerLine}),(0,$.jsx)("div",{className:ty().burgerLine}),(0,$.jsx)("div",{className:ty().burgerLine})]}),(0,$.jsx)("div",{className:ty().logoHolderMain,children:(0,$.jsx)(en(),{className:ty().logo,href:"/",children:(0,$.jsx)(tN,{height:50})})})]}),(0,$.jsx)(tr,{}),(0,$.jsxs)(en(),{href:"/hall",className:ty().hallButton,children:["ÐанкеÑнÑе ",(0,$.jsx)("br",{}),"залÑ"]}),(0,$.jsxs)("div",{className:ty().contentEnd,children:[(0,$.jsx)("div",{ref:C,className:ty().phoneHolder,children:(0,$.jsxs)("div",{className:ty().phoneLine,children:[(0,$.jsx)(tM,{onClick:()=>j(!x)}),(0,$.jsxs)("div",{children:[(0,$.jsx)(al,{className:ty().contact,children:y}),(0,$.jsx)(al,{className:ty().closingTime,weight:"normal",children:`Ð¡ÐµÐ³Ð¾Ð´Ð½Ñ ÑабоÑаем до ${d}`})]})]})}),(0,$.jsx)(es,{className:ty().reserveButton,onClick:()=>{eG().push(eV.R.CONTACTS),j(!1)},children:"ÐабÑониÑоваÑÑ"}),(0,$.jsxs)(es,{onClick:H,className:ty().cartButton,children:[(0,$.jsx)(ey,{}),(0,$.jsx)("label",{className:ty().cartButtonLabel,children:"ÐоÑзина"})]}),(0,$.jsx)("div",{ref:b,className:ty().profileHolder,children:(0,$.jsx)(tE,{className:ty().profileIcon,height:20,onClick:()=>{null===a?n.open("ÐведиÑе Ð½Ð¾Ð¼ÐµÑ Ð´Ð»Ñ Ð°Ð²ÑоÑизаÑии","ÐÑо Ð¿Ð¾Ð·Ð²Ð¾Ð»Ð¸Ñ Ðам бÑÑÑÑо войÑи в ÐÐ"):eG().push(eV.R.PROFILE)},width:20})})]})]}),(0,$.jsx)(tO,{disableSmooth:"/[localitySlug]"!=t.pathname,categories:M,showCategory:B})]}),!s.isEmpty&&(0,$.jsx)("div",{className:ty().floatingCart,children:(0,$.jsx)(ey,{})}),p&&(0,$.jsx)(tb,{onClose:k})]})});var tW=l(51933),tz=l.n(tW),tG=l(43040),tV=l.n(tG);let tq=(0,J.forwardRef)(({afterContainer:e,children:t,className:l,containerClass:n,id:a,onClose:r,open:s},o)=>((0,e_.d6)(s),(0,$.jsxs)(tz(),{className:et()(tV().modal,l),isOpen:s,onRequestClose:r,overlayClassName:tV().overlay,children:[void 0!==r&&(0,$.jsx)("div",{className:tV().closeButton,onClick:r}),(0,$.jsx)("div",{ref:o,className:et()(tV().modalContainer,n),id:a,children:t}),e]})));tq.displayName="Modal",tz().setAppElement("#__next");var tK=l(63896),tQ=l.n(tK);let tU=({open:e,onClose:t})=>(0,$.jsx)(tq,{open:e,onClose:t,className:tQ().modal,containerClass:tQ().modalContainer,children:(0,$.jsxs)("div",{className:tQ().content,children:[(0,$.jsxs)("h2",{className:tQ().title,children:["ÐТСÐÐÐÐРУÐТÐ",(0,$.jsx)("br",{}),"QR ÐÐÐ"]}),(0,$.jsx)("div",{className:tQ().qrCodeContainer,children:(0,$.jsx)("img",{src:"/images/app-qr-code.png",alt:"QR код Ð´Ð»Ñ ÑкаÑÐ¸Ð²Ð°Ð½Ð¸Ñ Ð¿ÑиложениÑ",className:tQ().qrCode})})]})});var tY=l(67596),tX=l.n(tY),t$=l(23467);let tJ="appBannerClosed",t0=()=>{let[e,t]=(0,J.useState)(!1),[l,n]=(0,J.useState)(!1),{matches:a}=(0,e_.Ub)("tablet");return((0,J.useEffect)(()=>{localStorage.getItem(tJ)||t(!0)},[]),e)?(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)("div",{className:tX().bannerWrapper,children:(0,$.jsx)("div",{className:"container",children:(0,$.jsxs)("div",{className:tX().banner,children:[(0,$.jsx)("div",{className:tX().logoBox,children:(0,$.jsx)("img",{src:"/images/app-logo.png",alt:"IT
1LE",className:tX().logo})}),(0,$.jsxs)("div",{className:tX().textBlock,children:[(0,$.jsxs)("div",{className:tX().title,children:["СÐÐЧÐÐÐÐТРÐÐ ÐÐÐÐÐÐÐÐ ",(0,$.jsx)("span",{className:tX().titleOrange,children:"ITLE"})]}),(0,$.jsx)("div",{className:tX().subtitle,children:a?"":"ÐÑÑ Ð±Ð¾Ð»ÑÑе индивидÑалÑнÑÑ
акÑий, Ñкидок и пÑомокодов в наÑем пÑиложении."})]}),(0,$.jsx)("div",{className:tX().subtitle,children:a?"ÐндивидÑалÑнÑе акÑии, Ñкидки и пÑÐ¾Ð¼Ð¾ÐºÐ¾Ð´Ñ Ð² пÑиложении.":""}),(0,$.jsx)("button",{className:tX().button,onClick:()=>{a?window.location.href=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream?"https://apps.apple.com/us/app/%D0%B8%D1%82%D0%BB%D0%B5-%D0%B4%D0%BE%D1%81%D1%82%D0%B0%D0%B2%D0%BA%D0%B0-%D0%B5%D0%B4%D1%8B/id6744911795":(/Android/.test(navigator.userAgent),"https://play.google.com/store/apps/details?id=cc.sellkit.itle"):n(!0)},children:"СкаÑаÑÑ Ð¿Ñиложение ÐTLE"}),(0,$.jsx)("button",{className:tX().closeButton,onClick:()=>{t(!1),localStorage.setItem(tJ,"true")},"aria-label":"ÐакÑÑÑÑ",children:(0,$.jsx)(t$.A,{})})]})})}),(0,$.jsx)(tU,{open:l,onClose:()=>n(!1)})]}):null};var t1=l(83964),t2=l(18908),t3=l.n(t2);let t4=()=>{let[e,t]=(0,J.useState)(!0),[l,n]=(0,J.useState)(!1);(0,J.useEffect)(()=>{void 0===eF.A.get(t1.HZ)&&t(!1)},[]);let a=(0,J.useCallback)(()=>{eF.A.set(t1.HZ,"1",{expires:365}),n(!1),t(!0)},[]),r=(0,J.useCallback)(()=>n(!0),[]),s=(0,J.useCallback)(()=>n(!1),[]);return e?null:(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)("div",{className:t3().banner,children:(0,$.jsxs)("div",{className:t3().container,children:[(0,$.jsxs)("p",{className:t3().text,children:["ÐÑ Ð¸ÑполÑзÑем ÑÐ°Ð¹Ð»Ñ cookie Ð´Ð»Ñ Ð²Ð°Ñего ÑдобÑÑва. ÐÑÐ¾Ð´Ð¾Ð»Ð¶Ð°Ñ Ð¿Ð¾Ð»ÑзоваÑÑÑÑ ÑайÑом, Ð²Ñ ÑоглаÑаеÑеÑÑ Ñ Ð¿Ð¾Ð»Ð¸Ñикой иÑполÑÐ·Ð¾Ð²Ð°Ð½Ð¸Ñ cookie.",(0,$.jsx)("span",{className:t3().moreButton,onClick:r,children:"ÐодÑобнее"})]}),(0,$.jsx)(es,{className:t3().button,onClick:a,children:"Я ÑоглаÑен"})]})}),l&&(0,$.jsxs)(tq,{className:t3().modal,containerClass:t3().modalContainer,onClose:s,open:!0,children:[(0,$.jsx)("h2",{className:t3().modalTitle,children:"Ð¤Ð°Ð¹Ð»Ñ cookie"}),(0,$.jsx)("p",{className:t3().modalText,children:"ÐÑÐ¾Ð´Ð¾Ð»Ð¶Ð°Ñ Ð¸ÑполÑзоваÑÑ Ð½Ð°Ñ ÑайÑ, Ð²Ñ Ð´Ð°ÐµÑе ÑоглаÑие на обÑабоÑÐºÑ Ñайлов cookie (полÑзоваÑелÑÑкиÑ
даннÑÑ
, ÑодеÑжаÑиÑ
ÑÐ²ÐµÐ´ÐµÐ½Ð¸Ñ Ð¾ меÑÑоположении; Ñип, ÑзÑк и веÑÑÐ¸Ñ ÐС; Ñип, ÑзÑк и веÑÑÐ¸Ñ Ð±ÑаÑзеÑа; ÑÐ°Ð¹Ñ Ð¸Ð»Ð¸ ÑекламнÑй ÑеÑвиÑ, Ñ ÐºÐ¾ÑоÑого пÑиÑел полÑзоваÑелÑ; Ñип, ÑзÑк и ÑазÑеÑение ÑкÑана ÑÑÑÑойÑÑва, Ñ ÐºÐ¾ÑоÑого полÑзоваÑÐµÐ»Ñ Ð¾Ð±ÑаÑаеÑÑÑ Ðº ÑайÑÑ; ip-адÑеÑ, Ñ ÐºÐ¾ÑоÑого полÑзоваÑÐµÐ»Ñ Ð¾Ð±ÑаÑаеÑÑÑ Ðº ÑайÑÑ; ÑÐ²ÐµÐ´ÐµÐ½Ð¸Ñ Ð¾ взаимодейÑÑвии полÑзоваÑÐµÐ»Ñ Ñ web-инÑеÑÑейÑом и ÑлÑжбами ÑайÑа) в ÑелÑÑ
аÑÑенÑиÑикаÑии полÑзоваÑÐµÐ»Ñ Ð½Ð° ÑайÑе, пÑÐ¾Ð²ÐµÐ´ÐµÐ½Ð¸Ñ ÑеÑаÑгеÑинга, ÑÑаÑиÑÑиÑеÑкиÑ
иÑÑледований и обзоÑов. ÐÑли Ð²Ñ Ð½Ðµ Ñ
оÑиÑе, ÑÑÐ¾Ð±Ñ Ð²Ð°Ñи даннÑе обÑабаÑÑвалиÑÑ, покин
1ÑÑе ÑайÑ."}),(0,$.jsx)(es,{className:t3().modalButton,onClick:a,size:"large",children:"Я ÑоглаÑен"})]})]})};var t5=l(9849),t6=l.n(t5),t7=l(28471),t8=l(88652),t9=l(39385),le=l(43258),lt=l(56138),ll=l.n(lt);let ln=({message:e})=>(0,$.jsxs)($.Fragment,{children:[e,(0,$.jsx)("br",{}),"ÐÑодолжайÑе"," ",(0,$.jsx)(t6(),{alt:"ÐÑ Ð²Ð°Ð¼ ÑадÑ",className:et()(ll().smile),height:"16",src:"/images/smile.png",width:"16"})]});var la=l(4813),lr=l.n(la),ls=l(66863),lo=l.n(ls);let li=({onClose:e,openingHours:t})=>{let l=new Date,n=(0,t7.A)(l,{days:1}),a=t[(0,ej.SJ)()],r=t[(0,ej.SJ)(n)],s=(0,t8.A)(a.from,"HH:mm",l),o=(0,t8.A)(a.to,"HH:mm",l),i=(0,ed.A)((0,t8.A)(r.from,"HH:mm",l),"H:mm"),c=(0,ed.A)((0,t8.A)(a.from,"HH:mm",l),"H:mm"),d=(0,ed.A)(s,"H:mm"),u=(0,ed.A)(o,"H:mm");return(0,$.jsxs)("div",{className:et()(lr().container,lo().root),children:[(0,$.jsx)(t6(),{alt:"",height:50,src:"/images/dish-clock.svg",width:64}),(0,$.jsxs)(al,{align:"center",className:"mt-20",lineHeight:34,size:28,weight:"normal",children:["ÐÑ ÑабоÑаем Ñ ",d," до ",u]}),(0,$.jsxs)(al,{align:"center",className:"mt-12",lineHeight:26,size:20,weight:"normal",children:[(0,t9.A)(l,s)&&(0,$.jsx)(ln,{message:"ÐÐ°Ñ Ð·Ð°ÐºÐ°Ð· бÑÐ´ÐµÑ Ð¾Ð±ÑабоÑан ÑÐµÐ³Ð¾Ð´Ð½Ñ Ñ "+c+"."}),(0,le.A)(l,o)&&(0,$.jsx)(ln,{message:"ÐÐ°Ñ Ð·Ð°ÐºÐ°Ð· бÑÐ´ÐµÑ Ð¾Ð±ÑабоÑан завÑÑа Ñ "+i+"."})]}),(0,$.jsx)("div",{className:lo().buttons,children:(0,$.jsx)(es,{color:"primary",onClick:e,size:"large",children:"ХоÑоÑо"})})]})};var lc=l(11960),ld=l.n(lc);let lu=(0,eD.PA)(({onClose:e,open:t})=>{let l=(0,e_.wm)();return null===l?(e(),null):(0,$.jsx)(tq,{className:ld().modal,onClose:e,open:t,children:(0,$.jsx)("div",{className:ld().container,children:(0,$.jsx)(li,{onClose:e,openingHours:l.opening_hours})})})});var l_=l(1627),lm=l.n(l_);let lh=()=>{let e=(0,ez.useRouter)(),[t,l]=(0,J.useState)(!1);return(0,J.useEffect)(()=>{let n=t=>t.split("?")[0]!==e.asPath.split("?")[0]&&l(!0),a=()=>t&&l(!1);return e.events.on("routeChangeStart",n),e.events.on("routeChangeComplete",a),e.events.on("routeChangeError",a),()=>{e.events.off("routeChangeStart",n),e.events.off("routeChangeComplete",a),e.events.off("routeChangeError",a)}}),t?(0,$.jsxs)("div",{className:lm().preloaderBlock,children:[(0,$.jsx)(tN,{height:48}),(0,$.jsx)("div",{className:lm().dotsHolder,children:(0,$.jsx)(lS,{})})]}):(0,$.jsx)("div",{})};var lp=l(50350),lv=l.n(lp);function lf(){return(lf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let lg=function(e){return J.createElement("svg",lf({width:56,height:56,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Z||(Z=J.createElement("path",{d:"m6.323 39.713 4.06-8.12a8.056 8.056 0 0 0 0-7.163l-4.06-8.143C2.847 9.333 10.337 1.983 17.22 5.623l3.593 1.914c.514.256.91.676 1.12 1.19L35.21 38.243c.537 1.214.047 2.637-1.12 3.244l-16.893 8.89c-6.86 3.64-14.35-3.71-10.874-10.664Z",fill:"#FA7305"})),A||(A=J.createElement("path",{opacity:.4,d:"m38.057 36.4-8.704-19.32c-.98-2.17 1.354-4.363 3.454-3.243L46.27 20.93c5.717 3.01 5.717 11.177 0 14.187l-4.76 2.496a2.524 2.524 0 0 1-3.453-1.213Z",fill:"#FA7305"})))};var lx=l(98620);function lj(){return(lj=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let lb=function(e){return J.createElement("svg",lj({width:56,height:56,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),D||(D=J.createElement("path",{opacity:.4,d:"M44.333 23.987V40.67c-.07 6.65-1.89 8.33-8.82 8.33H13.487c-7.047 0-8.82-1.75-8.82-8.703v-16.31c0-6.3 1.47-8.33 7-8.657.56-.023 1.167-.047 1.82-.047h22.026c7.047 0 8.82 1.75 8.82 8.704Z",fill:"#FA7305"})),F||(F=J.createElement("path",{d:"M51.333 15.703v16.31c0 6.3-1.47 8.33-7 8.657V23.987c0-6.954-1.773-8.704-8.82-8.704H13.487c-.653 0-1.26.024-1.82.047.07-6.65 1.89-8.33 8.82-8.33h22.026c7.047 0 8.82 1.75 8.82 8.703ZM16.24 43.307h-4.013c-.957 0-1.75-.794-1.75-1.75 0-.957.793-1.75 1.75-1.75h4.013c.957 0 1.75.793 1.75 1.75 0 .956-.77 1.75-1.75 1.75ZM29.283 43.307h-8.026c-.957 0-1.75-.794-1.75-1.75 0-.957.793-1.75 1.75-1.75h8.026c.957 0 1.75.793 1.75 1.75 0 .956-.77 1.75-1.75 1.75Z",fill:"#FA7305"})),W||(W=J.createElement("path",{d:"M44.333 27.673H4.667v3.5h39.666v-3.5Z",fill:"#FA7305"})))};var lC=l(66506);let ly=()=>{let e=(0,e_.iS)(),[t,l]=(0,J.useState)(!1);(0,J.useCallback)(()=>{l(!t)},[t,l]);let n=(0,J.useMemo)(()=>{let t=[];return e?.restaurants.map((e,l)=>{let n=e.address;n=n.replace("ТаÑаÑÑÑан, ÐазанÑ,","").trim(),t.push((0,$.jsx)("span",{children:n},l))}),t},[e?.restaurants]);return(0,$.jsx)("div",{className:"container",children:(0,$.jsxs)("div",{className:lv().banners,children:[(0,$.jsxs)("div",{className:lv().item,children:[(0,$.jsx)("div",{className:lv().imgBlock,children:(0,$.jsx)("div",{className:lv().img,children:(0,$.jsx)(lg,{})})}),(0,$.jsxs)("div",{className:lv().info,children:[(0,$.jsx)("div",{className:lv().name,children:"СамовÑвоз заказа из биÑÑÑо"}),(0,$.jsx)("div",{className:lv().desc,children:"Ðве ÑоÑки ÑамовÑвоза"}),!!e&&(0,$.jsx)($.Fragment,{children:(0,$.jsx)("div",{className:lv().mobileRestaurants,children:n})})]})]}),(0,$.jsxs)("div",{className:lv().item,children:[(0,$.jsx)("div",{className:lv().imgBlock,children:(0,$.jsx)("div",{className:lv().img,children:(0,$.jsx)(lx.A,{})})}),(0,$.jsxs)("div",{className:lv().info,children:[(0,$.jsx)("div",{className:lv().name,children:"ÐоÑÑавка ваÑего заказа"}),(0,$.jsx)("div",{className:lv().desc,children:"ÐÑ Ð´Ð¾ÑÑавим Ð²Ð°Ñ Ð·Ð°ÐºÐ°Ð· к вам на адÑÐµÑ ÑÑплÑм и вкÑÑнÑм"})]})]}),(0,$.jsxs)("div",{className:lv().item,children:[(0,$.jsx)("div",{className:lv().imgBlock,children:(0,$.jsx)("div",{className:lv().img,children:(0,$.jsx)(lb,{})})}),(0,$.jsxs)("div",{className:lv().info,children:[(0,$.jsx)("div",{className:lv().name,children:"ÐплаÑа банковÑкой каÑÑой"}),(0,$.jsx)("div",{className:lv().desc,children:"ÐплаÑа пÑи оÑоÑмлении заказа каÑÑами Visa, Mastercard, ÐÐ¸Ñ Ð½Ð° ÑайÑе и пÑи полÑÑении"})]})]}),(0,$.jsxs)("div",{className:lv().item,children:[(0,$.jsx)("div",{className:lv().imgBlock,children:(0,$.jsx)("div",{className:lv().img,children:(0,$.jsx)(lC.A,{})})}),(0,$.jsxs)("div",{className:lv().info,children:[(0,$.jsx)("div",{className:lv().name,children:"ÐожеÑе оплаÑиÑÑ Ð¿Ñи полÑÑении"}),(0,$.jsx)("div",{className:lv().desc,children:"ÐплаÑа каÑÑой или налиÑнÑми кÑÑÑеÑÑ Ð¿Ñи полÑÑении заказа"})]})]})]})})};var lw=l(67020),lN=l(44066);let lk=[],lE=(0,eD.PA)(({classes:e,children:t,description:l,orderStep:n,recommendedProducts:a,title:r,isHomePage:s=!1})=>
1{let{bonusesModal:o,contactsModal:i,loginModal:c,promocodeModal:d,user:u,restaurantClosedModal:_,restaurantSelectModal:m,cartModal:h}=(0,e_.Pj)(),p=(0,e_.iS)(),v=(0,e_.wm)(),f=(0,tL.useQuery)(tH.e.BANNERS(v?.id),()=>(0,tZ.Oh)(v?.id),{refetchOnWindowFocus:!1}).data??lk,g=(0,J.useMemo)(()=>f.filter(e=>e.type===lw.H.DESKTOP),[f]);(0,J.useEffect)(()=>{let e=eF.A.get(t1.Q5);void 0!==e&&(eW.oR.info(e),eF.A.remove(t1.Q5))},[]);let x=(0,e_.ZC)(u);(0,J.useEffect)(()=>{x!==u&&null==u&&eG().push(eV.R.HOME)},[x,u]);let j="ITLE ÐиÑÑÑо â ÐÑÑÑÑÐ°Ñ Ð´Ð¾ÑÑавка Ñ Ð°Ð»ÑлÑ-блÑд в "+p?.seo_title;return(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(eA(),{children:[(0,$.jsx)("script",{type:"text/javascript",children:`(function (m, e, t, r, i, k, a) { 2 m[i] = m[i] || function () { 3 (m[i].a = m[i].a || []).push(arguments); 4 }; 5 m[i].l = 1 * new Date(); 6 for (var j = 0; j < document.scripts.length; j++) { 7 if (document.scripts[j].src === r) { 8 return; 9 } 10 } 11 (k = e.createElement(t)), 12 (a = e.getElementsByTagName(t)[0]), 13 (k.async = 1), 14 (k.src = r), 15 a.parentNode.insertBefore(k, a); 16 })(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym"); 17`}),(0,$.jsx)("script",{type:"text/javascript",children:`ym(87777754, "init", { 18 clickmap: true, 19 trackLinks: true, 20 accurateTrackBounce: true, 21 webvisor: true, 22 ecommerce: "dataLayer", 23 });`}),(0,$.jsx)("script",{type:"text/javascript",children:`var _tmr = window._tmr || (window._tmr = []); 24_tmr.push({id: "3700328", type: "pageView", start: (new Date()).getTime()}); 25(function (d, w, id) { 26 if (d.getElementById(id)) return; 27 var ts = d.createElement("script"); ts.type = "text/javascript"; ts.async = true; ts.id = id; 28 ts.src = "https://top-fwz1.mail.ru/js/code.js"; 29 var f = function () {var s = d.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ts, s);}; 30 if (w.opera == "[object Opera]") { d.addEventListener("DOMContentLoaded", f, false); } else { f(); } 31})(document, window, "tmr-code");`}),(0,$.jsx)("noscript",{children:(0,$.jsx)("div",{children:(0,$.jsx)("img",{src:"https://top-fwz1.mail.ru/counter?id=3700328;js=na",style:{position:"absolute",left:"-9999px"},alt:"Top.Mail.Ru"})})}),(0,$.jsx)("title",{children:r??j}),(0,$.jsx)("link",{href:"/favicon/favicon.ico",rel:"icon"}),(0,$.jsx)("link",{href:"/favicon/favicon-16x16.png",rel:"icon",sizes:"16x16",type:"image/png"}),(0,$.jsx)("link",{href:"/favicon/favicon-32x32.png",rel:"icon",sizes:"32x32",type:"image/png"}),(0,$.jsx)("link",{href:"/favicon/favicon-48x48.png",rel:"icon",sizes:"48x48",type:"image/png"}),(0,$.jsx)("link",{href:"/favicon/favicon.svg",rel:"icon",type:"image/svg+xml"}),(0,$.jsx)("meta",{content:l||j,name:"description"}),(0,$.jsx)("link",{href:"/manifest.json",rel:"manifest"})]}),(0,$.jsx)(lh,{}),(0,$.jsx)(n6,{}),s&&(0,$.jsx)(t0,{}),(0,$.jsx)(tF,{orderStep:n}),(0,$.jsx)("main",{className:e?.main,children:t}),(0,$.jsx)(ly,{}),g.length>0&&(0,$.jsx)(lN.l,{banners:g}),(0,$.jsx)(e9,{className:e?.footer}),(0,$.jsx)(ne,{onClose:h.close,open:h.isOpen,recommendedProducts:a}),(0,$.jsx)(l$,{deliveryType:m.deliveryType,onClose:m.close,open:m.isOpen}),c.isOpen&&(0,$.jsx)(nf,{mainMessage:c.mainMessage,onClose:c.close,open:!0,subMessage:c.subMessage}),d.isOpen&&(0,$.jsx)(nN,{onClose:d.close,open:!0,promocode:d.promocode,setResult:e=>d.setResult(e)}),o.isOpen&&(0,$.jsx)(nI,{onClose:o.close,open:!0,setResult:e=>o.setResult(e)}),(0,$.jsx)(lu,{onClose:_.close,open:_.isOpen}),(0,$.jsx)(nj,{onClose:i.close,open:i.isOpen}),(0,$.jsx)(t4,{})]})});var lI=l(28796),lM=l.n(lI);let lS=({className:e,white:t=!1})=>(0,$.jsxs)("div",{className:et()(lM().loader,e,{[lM().whiteDots]:t}),children:[(0,$.jsx)("div",{className:lM().dot}),(0,$.jsx)("div",{className:lM().dot}),(0,$.jsx)("div",{className:lM().dot})]});var lP=l(25),lB=l(98807),lT=l.n(lB),lR=l(36194),lO=l.n(lR);let lL=({onPickupAnswer:e})=>{let t=(0,J.useCallback)(lT()(t=>()=>{e(t)}),[e]);return(0,$.jsxs)("div",{className:et()(lr().container,lO().root),children:[(0,$.jsx)(t6(),{alt:"",height:50,src:"/images/sad-tray.svg",width:64}),(0,$.jsxs)("div",{className:lO().description,children:["Ð ÑожалениÑ, Ð¼Ñ Ð²Ñеменно не доÑÑавлÑем по Ð´Ð°Ð½Ð½Ð¾Ð¼Ñ Ð°Ð´ÑеÑÑ.",(0,$.jsx)("br",{}),"ХоÑиÑе воÑполÑзоваÑÑÑÑ ÑамовÑвозом?"]}),(0,$.jsxs)("div",{className:lO().buttons,children:[(0,$.jsx)(es,{color:"primary",onClick:t(!0),children:"Ðа"}),(0,$.jsx)(es,{color:"secondary",onClick:t(!1),children:"ÐеÑ"})]})]})};var lH=l(73162),lZ=l(35367),lA=l(6779);let lD={name:"sameWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`},effect:({state:e})=>{e.elements.popper.style.width=`${e.elements.reference.offsetWidth}px`}};var lF=l(96743),lW=l.n(lF);let lz=(0,lP.FL)(({borderBox:e,coordinates:t,locality:l,onChange:n,onSelect:a,value:r,ymaps:s})=>{let o=(0,J.useRef)(null),[i,c]=(0,J.useState)(r??""),[d,u]=(0,J.useState)([]),[_,m]=(0,J.useState)(!1),[h,p]=(0,J.useState)(!1),[v,f]=(0,J.useState)(null),[g,x]=(0,J.useState)(null),[j,b]=(0,J.useState)(!1),[C]=(0,lZ.A)(i,1e3,{maxWait:2e3});(0,e_.Wr)(o,(0,J.useCallback)(()=>{p(!1)},[])),(0,tL.useQuery)(["location-search",C,l],(0,J.useCallback)(async()=>null===e.lowerCorner||null===e.upperCorner?[]:(await s.suggest(l.region+", "+C,{boundedBy:[e.lowerCorner,e.upperCorner]})).map(e=>e.displayName),[e,C,s]),{enabled:_&&C.length>=3,onSuccess:e=>{u(e),p(!0)}});let{styles:y,attributes:w}=(0,lH.E)(v,g,{placement:"bottom-start",modifiers:[{name:"offset",options:{offset:[0,8]}},lD]});(0,J.useEffect)(()=>{void 0!==r&&c(r)},[r]);let N=(0,J.useCallback)(e=>{let t=e.currentTarget.value;m(!0),c(t),b(!1),void 0!==n&&n(t)},[n]),k=(0,J.useMemo)(()=>
31{if(null===e.lowerCorner||null===e.upperCorner)return;let t=[...e.lowerCorner].reverse().join(","),l=[...e.upperCorner].reverse().join(",");return`${t}~${l}`},[e]),E=(0,J.useCallback)(lT()(e=>async()=>{if(c(e),m(!1),p(!1),!/[0-9]/.test(e))return void b(!0);if(void 0!==a){let n,r=(await lA.LV.get("https://geocode-maps.yandex.ru/1.x",{params:{apikey:void 0===(n="486bc32f-60f4-4320-9d61-c8d14935e017|a8c399eb-dae8-4021-ac7b-f33c62692f79|708189d3-6779-425c-9e9d-1dc5676a1889|422562a5-3b95-4f0e-bf4a-8a81827d0475".split("|"))?"":n[Math.floor(Math.random()*n.length)],bbox:k,format:"json",geocode:l.name+", "+e,kind:"house",lang:"ru_RU",ll:void 0!==t?`${t.longitude},${t.latitude}`:void 0,results:5,rspn:1},withCredentials:!1})).data.response.GeoObjectCollection.featureMember.filter(e=>["entrance","locality","street","house"].includes(e.GeoObject.metaDataProperty.GeocoderMetaData.kind)).map(e=>{let[t,l]=e.GeoObject.Point.pos.split(" ").map(Number),n=e.GeoObject.metaDataProperty.GeocoderMetaData.Address.Components.reduce((e,t)=>(e[t.kind]=t.name,e),{});return{text:e.GeoObject.metaDataProperty.GeocoderMetaData.text,components:n,latitude:l,longitude:t,precision:e.GeoObject.metaDataProperty.GeocoderMetaData.precision}});if(0===r.length)return;if("exact"!==r[0].precision&&"other"!==r[0].precision)return void b(!0);a({address:e,province:r[0].components.province,locality:r[0].components.locality,street:void 0!==r[0].components.street?r[0].components.street:"",house:r[0].components.house,coords:{latitude:r[0].latitude,longitude:r[0].longitude}})}}),[k,t,n,a]);return(0,$.jsxs)("div",{children:[(0,$.jsxs)("div",{ref:o,children:[(0,$.jsx)("div",{ref:f,className:lW().container,children:(0,$.jsx)("input",{className:lW().input,onInput:N,placeholder:"УкажиÑе адÑÐµÑ Ð´Ð¾ÑÑавки",type:"text",value:i})}),h&&(0,$.jsxs)("div",{ref:x,className:et()(lW().dropdown,{[lW().dropdownEmpty]:0===d.length}),style:y.popper,...w.popper,children:[0===d.length&&(0,$.jsx)(al,{weight:"semi-bold",children:"ÐиÑего не найдено"}),d.map(e=>(0,$.jsx)("div",{className:lW().suggestion,onClick:E(e),children:e},e))]})]}),j&&(0,$.jsx)(al,{className:"mt-8",color:"error",children:"ÐожалÑйÑÑа, ÑкажиÑе ÑоÑнÑй адÑÐµÑ Ñ Ð½Ð¾Ð¼ÐµÑом дома."})]})},!1,["suggest"]);var lG=l(76476),lV=l.n(lG);let lq=["#ed4543","#b51eff","#56db40","#ffd21e"],lK=(0,lP.FL)(({locality:e,onSwitchToPickup:t,scrollBottom:l,selectRestaurant:n,ymaps:a})=>{let{orderParams:r,user:s}=(0,e_.Pj)();(0,e_._$)();let[o,i]=(0,J.useState)(!0),[c,d]=(0,J.useState)(!1),[u,_]=(0,J.useState)(null!==r.deliveryDetails?{type:"map-click",address:null,latitude:r.deliveryDetails.coords.latitude,longitude:r.deliveryDetails.coords.longitude}:null),[m,h]=(0,J.useState)(""),[p,v]=(0,J.useState)(!0),[f,g]=(0,J.useState)(!1),x=(0,J.useRef)(null),j=(0,J.useRef)({}),b=(0,e_.ZC)(e.id);(0,J.useEffect)(()=>{null!==b&&e.id!==b&&(null!==x.current&&(x.current.setCenter([e.latitude,e.longitude]),x.current.setZoom(12)),_(null),h(""),d(!0))},[e,b]),(0,J.useEffect)(()=>{null!==x.current&&null!==u&&(x.current.setCenter([u.latitude,u.longitude]),x.current.setZoom(16))},[u]),(0,J.useEffect)(()=>{if(null===u||""!==m||"map-click"!==u.type||!a||!a?.geocode)return;if(r.localityId!==e.id&&!c)return void d(!0);let{latitude:t,longitude:l}=u;a.geocode([t,l],{kind:"house"}).then(e=>{let t=e.geoObjects.toArray();if(0===t.length)return;let l=t[0].properties.get("metaDataProperty.GeocoderMetaData.Address.Components").reduce((e,t)=>(e[t.kind]=t.name,e),{});h([l.street,l.house,l.locality,l.province].join(", ")),_(e=>null===e?null:{...e,address:{locality:l.locality,province:l.province,street:l.street,house:l.house}})}).catch(console.error)},[u,m,a,r.localityId,e.id]),(0,J.useEffect)(()=>{p||l()},[p,l]),(0,J.useEffect)(()=>{let e=e=>{e.altKey&&"r"===e.key&&(e.preventDefault(),g(e=>!e))};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[]);let C=(0,J.useCallback)(e=>{e?t():v(!0)},[t]),y=(0,J.useCallback)(t=>{try{if(void 0===a)return null;let l=a.geoQuery(Object.values(j.current)).addToMap(x.current),n=[t.latitude,t.longitude],r=[];if(l.searchContaining(n).each(e=>{r.push(e.properties.get("id"))}),0===r.length)return null;let s={},o=[];
31e.restaurants.forEach(e=>{e.delivery_zones.forEach(t=>{r.includes(t.id)&&(s[t.id]=e.id,o.push(t))})});let i=o[0];return{restaurantId:s[i.id],zoneId:i.id}}catch(e){console.error(e)}},[e,a]),w=(0,J.useCallback)(e=>{if(!a||!a?.geocode)return;let[t,l]=e.get("coords");null===y({latitude:parseFloat(t.toFixed(6)),longitude:parseFloat(l.toFixed(6))})?v(!1):a.geocode([t,l],{kind:"house"}).then(e=>{let n=e.geoObjects.toArray();if(0===n.length)return;let a=n[0].properties.get("metaDataProperty.GeocoderMetaData.Address.Components").reduce((e,t)=>(e[t.kind]=t.name,e),{});h([a.street,a.house,a.locality,a.province].join(", ")),_(()=>({type:"map-click",address:{locality:a.locality,province:a.province,street:a.street,house:a.house},latitude:parseFloat(t.toFixed(6)),longitude:parseFloat(l.toFixed(6))}))}).catch(console.error)},[y]),N=(0,J.useCallback)(e=>{null!==e&&e.events.add("dragend",()=>{let t=e.geometry?.getCoordinates()??null;if(null===t)return;let[l,n]=t;_({type:"map-click",address:null,latitude:l,longitude:n}),h("")})},[]);(0,J.useEffect)(()=>{let e=j.current,t=t=>{Object.keys(e).map(l=>{t(e[parseInt(l,10)])})};return t(e=>e.events.remove("click",w)),t(e=>e.events.add("click",w)),()=>{t(e=>e.events.remove("click",w))}},[w]);let k=(0,J.useCallback)(()=>{_(null)},[]),E=(0,J.useMemo)(()=>({lowerCorner:e.border_box_lower_corner,upperCorner:e.border_box_upper_corner}),[e]);return(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)("div",{className:lV().container,children:(0,$.jsxs)("div",{className:lV().locationSearch,children:[(0,$.jsx)(lz,{borderBox:E,coordinates:{latitude:e.latitude,longitude:e.longitude},locality:e,onChange:k,onSelect:e=>{null===y(e.coords)&&v(!1),h(e.address),_({type:"search",address:{province:e.province,locality:e.locality,street:e.street,house:e.house},...e.coords})},value:m},e.id),(0,$.jsx)(es,{className:lV().deliverHere,disabled:null===u||""==m,onClick:()=>{if(null===u||null===u.address)return;let e=y({latitude:u.latitude,longitude:u.longitude});e?(n({id:e.restaurantId,delivery_zone_id:e.zoneId,delivery_details:{address:m,street:u.address.street,house:u.address.house,locality:u.address.locality,province:u.address.province,coords:{latitude:u.latitude,longitude:u.longitude}}}),r.setDeliveryZoneId(e.zoneId)):v(!1)},size:"medium",children:"ÐоÑÑавиÑÑ ÑÑда"})]})}),p&&(0,$.jsxs)("div",{className:lV().map,children:[o&&(0,$.jsx)("div",{className:lV().loader,children:(0,$.jsx)(lS,{})}),(0,$.jsxs)(lP.T5,{defaultState:{center:[e.latitude,e.longitude],zoom:12},height:"360px",instanceRef:e=>{null!==e&&(e.events.add("click",w),x.current=e)},onLoad:()=>i(!1),width:"100%",children:[null!==u&&(0,$.jsx)(lP.Ro,{geometry:[u.latitude,u.longitude],instanceRef:N,options:{draggable:!0,iconColor:"#6a893e"}}),e.restaurants.map(e=>(0,$.jsxs)(J.Fragment,{children:[f&&(0,$.jsx)(lP.Ro,{geometry:[e.latitude,e.longitude],instanceRef:N,options:{draggable:!0,iconColor:"#0271d5"}},e.id),e.delivery_zones.map((e,t)=>{let l;if(null===e.area||!e.area.length)return null;let n=e.area.map(e=>[...e].reverse());return(0,$.jsx)(lP.tS,{geometry:[n],instanceRef:(l=e.id,e=>{null===e?delete j.current[l]:(j.current[l]=e,e.events.add("click",w))}),options:{fillColor:lq[t]??lq[0],fillOpacity:.5*!!f,strokeWidth:0},properties:{id:e.id}},e.id)})]},e.id))]})]}),!p&&(0,$.jsx)(lL,{onPickupAnswer:C})]})},!1,["coordSystem.geo","geocode","geoQuery"]);var lQ=l(96623),lU=l(28162);let lY=({currentRestaurantId:e,locality:t,scrollBottom:l,selectRestaurant:n})=>{let a=(0,J.useRef)(null),{current:r}=(0,J.useRef)({}),{orderParams:s}=(0,e_.Pj)(),[o,i]=(0,J.useState)(!0),[c,d]=(0,J.useState)(()=>t.restaurants.find(t=>t.id===e)??null);(0,J.useEffect)(()=>{null!==a.current&&a.current?.setCenter([t.latitude,t.longitude])},[t]);let u=(0,e_.ZC)(t.id);(0,J.useEffect)(()=>{null!==u&&u!==t.id&&d(null)},[t.id,u]),(0,J.useEffect)(()=>{null==c&&t.restaurants.length&&void 0!==t.restaurants[0]&&d(t.restaurants[0])},[t,c,d]);let _=(0,J.useCallback)(lT()(e=>n=>{let a=()=>{d(t.restaurants.find(t=>t.id===e)??null),l()};if(null===n){void 0!==r[e]&&(r[e].removeEventHandlers(),delete r[e]);return}n.events.add("click",a),r[e]={instance:n,removeEventHandlers:()=>{n.events.remove("click",a)}}}),[t,r,l]),m=(0,J.useCallback)(()=>
31{if(null===c)return;let e=c.delivery_zones.find(e=>e.type===tl.RA.PICKUP);if(void 0===e)throw Error(`Pickup delivery zone doesnt't exist in restaurant #${c.id}`);n({id:c.id,delivery_zone_id:e.id,delivery_details:null}),s.setDeliveryZoneId(e.id)},[c,n]),h=(0,J.useMemo)(()=>{if(null===c)return null;let e=c.opening_hours,t=Object.keys(e),l=t.shift(),n=[],a=t=>{n.push({startDay:t,endDay:t,startTime:e[t].from,endTime:e[t].to})};return a(l),t.forEach(t=>{let l=n.length-1;if(e[t].from===n[l].startTime&&e[t].to===n[l].endTime){n[l].endDay=t;return}a(t)}),n},[c]);return(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)("div",{className:lV().map,children:[o&&(0,$.jsx)("div",{className:lV().loader,children:(0,$.jsx)(lS,{})}),(0,$.jsx)(lP.T5,{defaultState:{center:[null!==c?c.latitude:t.latitude,null!==c?c.longitude:t.longitude],zoom:10},height:"300px",instanceRef:e=>{a.current=e},onLoad:()=>i(!1),width:"100%",children:t.restaurants.map(e=>(0,$.jsx)(lP.Ro,{geometry:[e.latitude,e.longitude],instanceRef:_(e.id),options:{iconColor:c?.id===e.id?"#6a893e":"#9b3d30"}},e.id))})]}),null!==c&&null!==h&&(0,$.jsx)("div",{className:lV().pickup_location_selected_holder,children:(0,$.jsxs)("div",{className:lV().selectedLocation,children:[(0,$.jsxs)("div",{children:[(0,$.jsx)(al,{className:lV().pickUpAdressHeader,lineHeight:34,size:24,children:"ÐдÑеÑ:"}),(0,$.jsx)(al,{lineHeight:34,size:20,children:c.address}),(0,$.jsx)(al,{lineHeight:26,size:16,weight:"normal",children:h.map(e=>(0,$.jsxs)(J.Fragment,{children:[(0,$.jsx)("b",{children:e.startDay===e.endDay?lU.G[e.startDay]:`${lU.G[e.startDay]}-${lU.G[e.endDay]}`}),"\xa0",e.startTime," - ",e.endTime,"\xa0"]},e.startDay))})]}),(0,$.jsx)(es,{className:lV().selectButton,onClick:m,size:"medium",children:"ÐодÑвеÑдиÑÑ"})]})})]})};var lX=l(9865);let l$=(0,eD.PA)(({deliveryType:e,onClose:t,open:l})=>{let n,a,{localities:r,orderParams:s}=(0,e_.Pj)(),o=(0,e_._$)(),i=(0,J.useRef)(null),[c,d]=(0,J.useState)(s.orderType);(0,J.useEffect)(()=>{l&&d(""!==e?e:s.orderType)},[l,e,s.orderType]);let[u,_]=(0,J.useState)(()=>{let e=r.find(e=>e.is_default)??r[0];return null!==s.localityId&&r.find(e=>e.id===s.localityId)?s.localityId:e.id}),[m,h]=(0,J.useState)(null),p=(0,J.useCallback)(e=>{d(e)},[]),v=(0,J.useCallback)(()=>{d(tl.RA.PICKUP)},[]),f=(0,J.useCallback)(e=>{_(e)},[o]),g=(0,J.useCallback)(()=>{h(null),t()},[t]),x=(0,e_.ZC)(l);(0,J.useEffect)(()=>{if(!0==x&&!1==l){let e=r.find(e=>e.is_default)??r[0];null!==s.localityId&&_(r.find(e=>e.id===s.localityId)?s.localityId:e.id)}},[h,r,l,s,x]);let j=(0,J.useMemo)(()=>r.find(e=>e.id===u),[r,u]),b=(0,J.useMemo)(()=>null===m?null:j.restaurants.find(e=>e.id===m.id)??null,[j,m]),C=(0,J.useMemo)(()=>null!==b&&!b.isOpen,[b]);(0,J.useEffect)(()=>{null!==m&&(o.selectRestaurant(c,m),g())},[o,g,u,C,m,s,c]);let y=(0,J.useCallback)(()=>{null!==i.current&&(i.current.scrollTop=i.current.scrollHeight)},[]);return(0,$.jsxs)(tq,{ref:i,className:lV().modal,onClose:t,open:l,children:[(0,$.jsxs)("div",{className:lV().container,children:[(0,$.jsx)("div",{className:lV().orderTypeSelect,children:(0,$.jsx)(lX.n,{onChange:p,type:c})}),c===tl.RA.PICKUP&&(0,$.jsx)(al,{className:lV().restaurantSelectHeader,lineHeight:34,size:30,children:"ÐÑбеÑиÑе ÑеÑÑоÑан"}),r.length>1&&!C&&(0,$.jsx)("div",{className:lV().localitySelect,children:(0,$.jsx)(lQ.i,{localities:r,onChange:f,selectedLocalityId:j.id})})]}),(0,$.jsxs)(lP.Xi,{preload:!0,query:{apikey:void 0===(n="486bc32f-60f4-4320-9d61-c8d14935e017|a8c399eb-dae8-4021-ac7b-f33c62692f79|708189d3-6779-425c-9e9d-1dc5676a1889|422562a5-3b95-4f0e-bf4a-8a81827d0475".split("|"))?"":n[Math.floor(Math.random()*n.length)],suggest_apikey:void 0===(a="d77bde7c-3327-4451-8a2a-2cb31b1d5e73|2ccac97f-49ef-428c-b4db-f5d02a04ca50|ce2591c1-8005-4900-a1b3-4c56146136f1|35aff819-9bc1-4f53-a42d-48cd5b37bd61".split("|"))?"":a[Math.floor(Math.random()*a.length)]},children:[c===tl.RA.DELIVERY&&(0,$.jsx)(lK,{locality:j,onSwitchToPickup:v,scrollBottom:y,selectRestaurant:h}),c===tl.RA.PICKUP&&(0,$.jsx)(lY,{currentRestaurantId:s.restaurantId,locality:j,scrollBottom:y,selectRestaurant:h})]})]})});var lJ=l(63783),l0=l(22891),l1=l(63759),l2=l(90159),l3=l(22643),l4=l(63322),l5=l(19286),l6=l.n(l5);let l7=(0,eD.PA)(({recommendedProducts:e})=>{let[t,l]=(0,J.useState)(!1),n=(0,e_.r9)(180),[a,r]=(0,J.useState)(!1),[s,o]=(0,J.useState)(!1),[i,c]=(0,J.useState)(null),[d,u]=(0,J.useState)(!1),_=(0,e_._$)(),{loginModal:m,user:h,orderParams:p,restaurantSelectModal:v,cartModal:f}=(0,e_.Pj)(),g=_.deliveryZone?.min_delivery_price??0,x=_.deliveryZone?.free_delivery_price??0;(0,J.useEffect)(()=>{_.subtotalPrice>=g&&r(!1)},[_.subtotalPrice,g]),(0,J.useEffect)(()=>
31{if(s){let e=setTimeout(()=>o(!1),1e4);return()=>clearTimeout(e)}},[s]),(0,J.useEffect)(()=>{o(!1)},[_.totalQuantity]),(0,J.useEffect)(()=>{t&&null!==h?(f.close(),eG().push(eV.R.CHECKOUT)):m.isOpen||u(!1)},[t,h,m.isOpen]);let j=(0,J.useCallback)(e=>{let t=(0,lJ.h)(e);_.add({productId:e.id,modifiers:t})},[_]),b=(0,J.useMemo)(()=>{let e=_.totalQuantity%10;return 1===e?"ÑоваÑ":[2,3,4].includes(e)?"ÑоваÑа":"ÑоваÑов"},[_.totalQuantity]),[C,y]=(0,J.useState)(!0),[w,N]=(0,J.useState)(p.orderType===tl.RA.PICKUP),k=(0,J.useCallback)(()=>{v.open(tl.RA.PICKUP)},[v]),E=(0,J.useCallback)(()=>{v.open(tl.RA.DELIVERY)},[v]);return(0,J.useEffect)(()=>{y(p.orderType===tl.RA.DELIVERY),N(p.orderType===tl.RA.PICKUP)},[p.orderType]),(0,$.jsxs)("div",{className:l6().content,children:[s&&null!==i&&(0,$.jsxs)(n9,{anchorEl:i,className:l6().minOrderSumTooltip,placement:"top-end",children:[(0,$.jsxs)(al,{color:"white",weight:"semi-bold",children:["ÐинималÑÐ½Ð°Ñ ÑÑмма заказа Ð´Ð»Ñ Ð´Ð¾ÑÑавки ",(0,$.jsxs)("b",{children:[g," ÑÑб."]})]}),(0,$.jsxs)(al,{color:"white",weight:"semi-bold",children:["ÐоÑÑавка беÑплаÑÐ½Ð°Ñ Ð¾Ñ ",(0,$.jsxs)("b",{children:[x," ÑÑб!"]})]}),(0,$.jsx)(al,{color:"white",weight:"semi-bold",children:"ÐобавÑÑе болÑÑе вкÑÑной едÑ!"})]}),(0,$.jsxs)("div",{children:[(0,$.jsx)("div",{className:l6().cartTitle,children:"ÐÐ¾Ñ ÐºÐ¾Ñзина"}),!_.isEmpty&&(0,$.jsxs)("div",{className:l6().totalHeader,children:[_.totalQuantity," ",b," на ",_.totalPrice.toLocaleString(),"â½"]}),(0,$.jsx)(l4.j,{}),(0,$.jsxs)("div",{className:"mh-50 mv-tablet-0",children:["loading"===_.fetchingStatus&&(0,$.jsx)("div",{className:"d-flex justify-content-center align-items-center",children:(0,$.jsx)(lS,{})}),"success"===_.fetchingStatus&&_.isEmpty&&(0,$.jsx)(l2.r,{}),!_.isEmpty&&(0,$.jsx)("ul",{className:l6().cardItemsList,children:_.items.map(e=>{let t;return(0,$.jsx)(l1.m,{item:e,onRemove:(t=e.id,()=>{_.removeItem(t)}),onUpdateQuantity:t=>{_.updateItem({itemId:e.id,modifiers:e.modifiers,quantity:t})}},e.id)})})]})]}),e.length>0&&(0,$.jsx)(nA,{autoplay:!1,hideProductsWithModifiers:!0,onProductClick:j,products:e,title:"ÐобавиÑÑ Ðº заказÑ?",titleClassName:l6().recommendedHeader}),!_.isEmpty&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)("div",{children:[(0,$.jsx)(nW,{value:C,label:"ÐоÑÑавка",onChange:E}),(0,$.jsx)(nW,{value:w,label:"СамовÑвоз",onChange:k})]}),(0,$.jsx)("div",{className:l6().totalsSection,children:(0,$.jsx)("div",{className:"container d-flex align-items-center",children:(0,$.jsx)(l3.R,{bonus_received:_?.bonus_received,bonus_used:_?.bonus_used,deliveryZone:_.deliveryZone,page:"cart",promocode:_?.promocode,subtotalPrice:_.subtotalPrice,totalPrice:_.totalPrice,productsCount:_.items.length})})}),(0,$.jsx)(l0.w,{actionComponent:(0,$.jsx)(es,{ref:c,className:et()(l6().orderButton,{[l6().buttonBottom]:!n}),disableEnterPress:!0,disabled:_.isEmpty||a,fullWidth:n,loading:d,onClick:()=>{if(u(!0),p.orderType===tl.RA.DELIVERY&&_.subtotalPrice<g){o(!0),u(!1);return}if(null===h){l(!0),m.open("ÐодÑвеÑдиÑе Ñвой номеÑ","ÐÑо Ð¿Ð¾Ð¼Ð¾Ð¶ÐµÑ Ð±ÑÑÑÑее оÑоÑмиÑÑ Ð·Ð°ÐºÐ°Ð·");return}eG().push(eV.R.CHECKOUT),f.close()},size:"large",children:(0,$.jsx)("span",{className:l6().partialButtonText,children:"ÐÑоÑмиÑÑ Ð·Ð°ÐºÐ°Ð·"})}),backToCatalog:!0,className:et()({[l6().footerBottom]:n})})]})]})});var l8=l(77300),l9=l.n(l8);
31let ne=(0,eD.PA)(({onClose:e,open:t,recommendedProducts:l})=>{let n=(0,J.useRef)(null);return(0,$.jsx)(tq,{ref:n,className:l9().modal,containerClass:l9().modalContainer,onClose:e,open:t,children:(0,$.jsx)("div",{className:l9().container,children:(0,$.jsx)(l7,{recommendedProducts:l})})})});var nt=l(11718),nl=l.n(nt),nn=l(90997),na=l.n(nn);let nr=({onSubmit:e,validationError:t})=>{let[l,n]=(0,J.useState)(""),a=l.replace(/[^0-9+]/g,"");return(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)("div",{className:na().root,children:[(0,$.jsx)(nl(),{alwaysShowMask:!0,autoFocus:!0,className:na().input,mask:"+7 (999) 999 - 99 - 99",maskPlaceholder:"+7 (___) ___ - __ - __",onChange:e=>{n(e.target.value)},onKeyPress:t=>{"Enter"===t.key&&e(a)},value:l}),(0,$.jsx)(es,{className:na().button,disabled:a.length<=11,onClick:()=>{e(a)},children:"ÐÑÑлаÑÑ ÐºÐ¾Ð´"})]}),void 0!==t&&(0,$.jsx)(al,{align:"start",className:"mt-12",color:"error",children:t})]})};var ns=l(66428),no=l.n(ns),ni=l(43182),nc=l(80348),nd=l(62294),nu=l(38206),n_=l(9663),nm=l.n(n_);let nh=({onSuccess:e,resendCode:t,verificationId:l})=>{let[n,a]=(0,J.useState)(60),[r,s]=(0,J.useState)(!1),[o,i]=(0,J.useState)(""),[c,d]=(0,J.useState)(!1),[u,_]=(0,J.useState)(null);(0,J.useEffect)(()=>{n>0&&!r&&s(!0)},[n,r]),(0,J.useEffect)(()=>{if(!r)return;let e=setInterval(()=>{a(e=>(1===e&&s(!1),e-1))},1e3);return()=>clearInterval(e)},[r]);let m=(0,e_.PX)(t=>async n=>{d(!1);try{let a=await n.post(nu.F.LOG_IN,{verification_id:l,code:t,cart_id:nd.m.getId()});(0,nc.O)(a.data.token),"u">typeof document&&(document.cookie=(0,ni.lK)("token",a.data.token,{path:"/",sameSite:"lax",expires:(0,ec.A)(new Date,365)})),e()}catch(e){if(422===e.response.status){d(!0),_(e.response.data.validation_errors.code),setTimeout(()=>{i(""),d(!1),_(null)},4e3);return}throw e}}),h=(0,J.useCallback)(()=>{i(""),a(60),t()},[t]);return(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(no(),{autoFocus:!0,classNames:{container:nm().codeInputs,character:[nm().codeInput,c?nm().incorrectCodeInput:null].join(" "),characterSelected:nm().codeInputSelected},length:4,onChange:e=>{(!(e.length>0)||/^[0-9]+$/.test(e))&&(i(e),4===e.length&&m(e))},placeholder:"",value:o}),c&&(0,$.jsx)(al,{className:"mt-12",color:"error",lineHeight:20,size:16,weight:"semi-bold",children:u??"ÐÑибка"}),(0,$.jsx)("br",{}),(0,$.jsx)(es,{className:nm().submitBtn,disabled:r,onClick:h,size:"large",children:r&&!c?`ÐолÑÑи новÑй код ÑеÑез ${n} Ñек`:"ÐолÑÑиÑÑ Ð½Ð¾Ð²Ñй код"})]})};var np=l(99802),nv=l.n(np);let nf=({mainMessage:e,onClose:t,open:l,subMessage:n})=>{let[a,r]=(0,J.useState)(""),[s,o]=(0,J.useState)(null),[i,c]=(0,J.useState)(""),[d,u]=(0,J.useState)(!1),_=(0,e_.Pj)(),m=(0,J.useCallback)(()=>{u(!1),c("")},[]),h=(0,e_.PX)(e=>async(t,l)=>{r(e),o(null);try{let n=await t.post(l.SEND_CALL_CODE,{phone_number:e,token:(0,ej.ZI)(e)});u(!0),c(n.data.verification_id)}catch(e){if(e.response?.status===422)return void o(e.response.data.validation_errors.phone_number);throw e}}),p=(0,e_.PX)(e=>async(t,l)=>{r(e),o(null);try{let n=await t.post(l.SEND_VERIFICATION_CODE,{phone_number:e,token:(0,ej.ZI)(e)});u(!0),c(n.data.verification_id)}catch(e){if(e.response?.status===422)return void o(e.response.data.validation_errors.phone_number);throw e}}),v=(0,J.useCallback)(()=>{p(a)},[a,p]),f=(0,J.useCallback)(()=>{_.fetchUser(),t()},[t,_]);return(0,$.jsxs)(tq,{className:nv().modal,onClose:t,open:l,children:[(0,$.jsx)(al,{className:nv().title,lineHeight:34,size:36,children:e}),(0,$.jsxs)("div",{className:nv().subTitle,children:[!d&&(0,$.jsx)(al,{children:n}),d&&(0,$.jsxs)(al,{className:nv().editPhoneNumber,weight:"semi-bold",children:[(0,$.jsxs)("div",{className:nv().text,children:["СейÑÐ°Ñ Ð²Ð°Ð¼ поÑÑÑÐ¿Ð¸Ñ ÑелеÑоннÑй звонок",(0,$.jsx)("br",{}),(0,$.jsx)("u",{children:"ÐоÑледние 4 ÑиÑÑÑ"})," вÑ
одÑÑего звонка, ÑвлÑеÑÑÑ ÐºÐ¾Ð´Ð¾Ð¼"]}),(0,$.jsx)(al,{className:nv().edit,color:"primary",element:"span",onClick:m,weight:"semi-bold",children:"ÐзмениÑÑ Ð¼Ð¾Ð¹ номеÑ"})]})]}),!d&&(0,$.jsx)(nr,{onSubmit:h,validationError:s??void 0}),d&&(0,$.jsx)(nh,{onSuccess:f,resendCode:v,verificationId:i}),(0,$.jsxs)(al,{align:"center",className:nv().agreementText,lineHeight:18,size:14,weight:"normal",children:["ÐÑÐ¾Ð´Ð¾Ð»Ð¶Ð°Ñ Ð²Ñ ÑоглаÑаеÑеÑÑ Ñо"," ",(0,$.jsx)("a",{href:eV.R.INFO_LEGAL,rel:"noreferrer",target:"_blank",children:"ÑбоÑом и обÑабоÑкой пеÑÑоналÑнÑÑ
даннÑÑ
и полÑзоваÑелÑÑким ÑоглаÑением"})]})]})};var ng=l(62952),nx=l.n(ng);let nj=({onClose:e,open:t})=>{let{localities:l,orderParams:n}=(0,e_.Pj)(),a=null!==n?n.restaurantId:null,r=(0,e_.iS)(),s=a?(0,ej.xg)(l,a):r,o=s?.support_phone_number??tj.G.href,i=()=>{eG().push(eV.R.CONTACTS),e()};return(0,$.jsxs)(tq,{className:nx().modal,onClose:e,open:t,children:[(0,$.jsx)("a",{className:nx().contacts,href:tj.G.href,children:(0,$.jsx)(al,{lineHeight:20,size:16,weight:"bold",children:o})}),(0,$.jsx)(es,{className:nx().reserveButton,onClick:i,children:"ÐабÑониÑоваÑÑ ÑÑол"}),(0,$.jsx)(es,{className:nx().contactsButton,onClick:i,children:"ÐонÑакÑÑ"})]})};var nb=l(69972),nC=l.n(nb);function ny(){return(ny=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let nw=function(e){return J.createElement("svg",ny({width:66,height:50,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),z||(z=J.createElement("path",{d:"M36.5 31c0 9.665-7.835 17.5-17.5 17.5S1.5 40.665 1.5 31 9.335 13.5 19 13.5 36.5 21.335 36.5 31ZM64.5 14c0 6.904-5.596 12.5-12.5 12.5S39.5 20.904 39.5 14 45.096 1.5 52 1.5 64.5 7.096 64.5 14Z",stroke:"#9B3D30",strokeWidth:3})),G||(G=J.createElement("path",{d:"M17.786 39.497c.67.67 1.757.67 2.428 0l7.283-7.283c.67-.67.67-1.758 0-2.428l-7.283-7.283a1.717 1.717 0 0 0-2.428 0l
31-7.283 7.283c-.67.67-.67 1.757 0 2.428l7.283 7.283ZM19 26.145 23.855 31 19 35.855 14.144 31 19 26.145ZM51.19 19.665a1.144 1.144 0 0 0 1.62 0l4.855-4.856a1.145 1.145 0 0 0 0-1.618l-4.856-4.856a1.144 1.144 0 0 0-1.618 0l-4.856 4.856a1.145 1.145 0 0 0 0 1.618l4.856 4.856Zm.81-8.902L55.237 14 52 17.237 48.763 14 52 10.763Z",fill:"#9B3D30"})))},nN=({onClose:e,open:t,promocode:l,setResult:n})=>{let a=()=>{n(!1),e()};return(0,$.jsxs)(tq,{className:nC().modal,onClose:a,open:t,children:[(0,$.jsx)(nw,{}),(0,$.jsxs)("div",{className:nC().subTitle,children:["ÐÑи иÑполÑзовании пÑомокода ",l," Ð²Ñ Ð½Ðµ ÑможеÑе иÑполÑзоваÑÑ Ð±Ð°Ð»Ð»Ñ Ð² заказе"]}),(0,$.jsxs)("div",{className:nC().buttons,children:[(0,$.jsx)(es,{className:"ml-auto",color:"primary",onClick:()=>{n(!0),e()},size:"small",children:"СоглаÑен"}),(0,$.jsx)(es,{className:"ml-auto",color:"secondary",onClick:a,size:"small",children:"ÐÑмениÑÑ ÐºÐ¾Ð´"})]})]})};var nk=l(74706),nE=l.n(nk);let nI=({onClose:e,open:t,setResult:l})=>(0,$.jsxs)(tq,{className:nE().modal,onClose:e,open:t,children:[(0,$.jsx)(nw,{}),(0,$.jsx)("div",{className:nE().subTitle,children:"ÐÑи иÑполÑзовании бонÑÑнÑÑ
баллов Ð²Ñ Ð½Ðµ ÑможеÑе иÑполÑзоваÑÑ Ð¿Ñомокод в заказе"}),(0,$.jsxs)("div",{className:nE().buttons,children:[(0,$.jsx)(es,{className:"ml-auto",color:"primary",onClick:e,size:"small",children:"СоглаÑен"}),(0,$.jsx)(es,{className:"ml-auto",color:"secondary",onClick:()=>{l(!1),e()},size:"small",children:"ÐÑмениÑÑ"})]})]});l(47236);var nM=l(29796),nS=l.n(nM);let nP=({anchorEl:e,children:t,className:l,placement:n="bottom-start"})=>{let[a,r]=(0,J.useState)(null),{styles:s,attributes:o}=(0,lH.E)(e,a,{placement:n,modifiers:[{name:"offset",options:{offset:[0,8]}}]});return(0,$.jsx)("div",{ref:r,className:et()(nS().dropdown,l),style:s.popper,...o.popper,children:t})};var nB=l(21928),nT=l(24411),nR=l(80402),nO=l.n(nR);let nL=({onClick:e,product:t})=>{let l=(0,J.useMemo)(()=>(0,lJ.h)(t),[t]),n=(0,nB.Ci)(t,l);return(0,$.jsxs)("div",{className:nO().product,onClick:e,children:[(0,$.jsx)("div",{className:nO().image,children:(0,$.jsx)(ap,{alt:t.name,fallbackSrc:null!==t.image_url?t.image_url+".jpg":"/images/product-image-placeholder.svg",fill:!0,style:{objectFit:"contain"},loader:nT.D,src:null!==t.image_url?t.image_url+".webp":"/images/product-image-placeholder.svg",unoptimized:!0})}),(0,$.jsxs)("div",{className:nO().info,children:[(0,$.jsx)("span",{className:nO().name,children:t.name}),(0,$.jsxs)("div",{className:nO().price,children:[n," â½"]})]})]})};var nH=l(11688),nZ=l.n(nH);let nA=({autoplay:e,hideProductsWithModifiers:t,onProductClick:l,products:n,title:a,titleClassName:r})=>{let s=(0,J.useMemo)(()=>null!==t&&t?n.filter(e=>!(e.group_modifiers.length>0)):n,[t,n]);return(0,$.jsxs)("section",{className:nZ().slider,children:[(0,$.jsx)("div",{className:"container",children:(0,$.jsx)("h2",{className:r||nZ().title,children:a})}),(0,$.jsx)("div",{className:nZ().products,children:(0,$.jsx)(tP.RC,{modules:[tS.Ij,tS.Vx],autoHeight:!0,autoplay:!!e&&{delay:2500},centeredSlides:!1,className:nZ().swiperContainer,loop:!0,slidesPerView:"auto",spaceBetween:30,watchSlidesProgress:!0,children:s.map(e=>(0,$.jsx)(tP.qr,{children:(0,$.jsx)(nL,{onClick:()=>{void 0!==l&&l(e)},product:e})},e.id))})})]})};var nD=l(407),nF=l.n(nD);let nW=({checkedValue:e=!0,className:t,icon:l,label:n,description:a,onChange:r,value:s})=>{let o=e===s,i=l??(0,$.jsx)("span",{});return(0,$.jsxs)("div",{className:et()(nF().wrap,t,{[nF().checkedWrap]:o,[nF().bgWhite]:!!a}),onClick:()=>{r&&r(s)},children:[(0,$.jsx)("div",{className:et()(nF().radiobox,{[nF().checked]:o,[nF().smallIcon]:!!a})}),(0,$.jsxs)("div",{className:et()(nF().label,{[nF().notBoldLabel]:!!a}),children:[void 0!==l?(0,$.jsx)("span",{className:nF().icon,children:(0,$.jsx)(i,{})}):null,(0,$.jsx)("span",{children:n}),!!a&&(0,$.jsx)("div",{className:nF().description,children:a})]})]})},nz=({children:e,classes:t,icon:l,style:n,subtitle:a,title:r})=>{let s=et()("d-flex flex-column align-items-center",t?.root),o=et()(t?.title),i=et()(t?.subtitle),c=et()(t?.content),d=et()("d-flex align-items-center justify-content-center mb-28",t?.icon);return(0,$.jsxs)("div",{className:s,style:n,children:[void 0!==l&&J.createElement(l,{className:d}),(0,$.jsx)("span",{className:o,children:r}),a&&(0,$.jsx)("div",{className:i,children:a}),e&&(0,$.jsx)("div",{className:c,children:e})]})};var nG=l(90062),nV=l(67249),nq=l.n(nV);let nK=(0,J.forwardRef)(({className:e,disabled:t,error:l,fullWidth:n,innerControl:a,subLine:r,...s},o)=>{let i=(0,$.jsx)("textarea",{ref:o,className:et()(nq().input,{[nq().disabled]:t,[nq().error]:l,[nq().fullWidth]:n}),disabled:t,...s});return(0,$.jsxs)("div",{className:et()("text-input",e,{[nq().inputGroup]:void 0!==a,[nq().inputWrap]:void 0===a}),children:[i,void 0!==a&&(0,$.jsx)("div",{className:nq().innerControl,children:a}),void 0!==r&&(0,$.jsx)("div",{className:nq().subLine,children:r})]})});nK.displayName="TextInput";var nQ=l(38642),nU=l.n(nQ);function nY(){return(nY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let nX=function(e){return J.createElement("svg",nY({width:25,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"}
31,e),V||(V=J.createElement("path",{d:"M11.988 0C5.334.035-.029 5.423 0 12.044.03 18.631 5.447 24.028 12.002 24a12.018 12.018 0 0 0 11.11-7.468 12.01 12.01 0 0 0 .892-4.616C23.977 5.358 18.543-.033 11.987 0Zm.054 21.818c-5.489-.02-9.888-4.41-9.856-9.843.032-5.433 4.443-9.809 9.865-9.786 5.433.023 9.787 4.44 9.766 9.907-.022 5.324-4.46 9.738-9.775 9.722Z",fill:"#E6DCD0"})),q||(q=J.createElement("g",{clipPath:"url(#pencil_svg__a)",fill:"#E5DCD0"},J.createElement("path",{d:"M12.148 8.614c-.065-.065-.094-.051-.15.004a4085.017 4085.017 0 0 1-4.93 4.93.219.219 0 0 0-.068.172c.002.526 0 1.053 0 1.58 0 .526 0 1.06-.002 1.59 0 .08.013.111.105.111 1.064-.004 2.128-.004 3.192 0a.195.195 0 0 0 .152-.064c1.645-1.647 3.29-3.293 4.938-4.937.064-.063.053-.093-.004-.15a2188.345 2188.345 0 0 1-3.233-3.236ZM14.427 7c-.436.006-.977.217-1.438.632-.054.048-.065.074-.007.132 1.088 1.083 2.174 2.169 3.258 3.255.053.054.078.046.123-.005.378-.414.593-.9.632-1.457C17.092 8.171 15.998 7 14.427 7Z"}))),K||(K=J.createElement("defs",null,J.createElement("clipPath",{id:"pencil_svg__a"},J.createElement("path",{fill:"#fff",transform:"translate(7 7)",d:"M0 0h10v10H0z"})))))};function n$(){return(n$=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let nJ=function(e){return J.createElement("svg",n$({xmlns:"http://www.w3.org/2000/svg",width:24,height:24},e),J.createElement("path",{style:{fillRule:"nonzero",fill:"#fa7305",fillOpacity:1,strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round",stroke:"#fa7305",strokeOpacity:1,strokeMiterlimit:4},d:"M16 28c6.625 0 12-5.375 12-12S22.625 4 16 4 4 9.375 4 16s5.375 12 12 12Zm0 0",transform:"scale(.75)"}),J.createElement("path",{style:{fill:"none",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",stroke:"#fff",strokeOpacity:1,strokeMiterlimit:4},d:"m21.5 13-7.333 7-3.667-3.5",transform:"scale(.75)"}))};function n0(){return(n0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let n1=function(e){return J.createElement("svg",n0({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Q||(Q=J.createElement("g",{clipPath:"url(#error-cancel_svg__a)",fill:"#F1A196"},J.createElement("path",{d:"M12 0C5.378-.005.021 5.343-.002 11.983-.026 18.6 5.36 23.993 11.996 23.999c6.623 0 11.979-5.344 12.002-11.983C24.023 5.394 18.641.004 12 0Zm-.033 21.607c-5.32-.052-9.612-4.366-9.574-9.632.036-5.313 4.353-9.608 9.625-9.585 5.319.027 9.651 4.384 9.59 9.645-.06 5.33-4.384 9.622-9.638 9.572h-.003Z"}),J.createElement("path",{d:"M15.306 16.348a1.18 1.18 0 0 1-.882-.38c-.75-.755-1.51-1.503-2.255-2.264-.136-.136-.204-.136-.336 0a188.18 188.18 0 0 1-2.312 2.314c-.624.61-1.611.366-1.841-.45-.12-.43.004-.802.321-1.117.762-.757 1.516-1.521 2.282-2.273.14-.137.148-.212 0-.353A179.228 179.228 0 0 1 7.986 9.53c-.626-.639-.347-1.644.505-1.848.417-.1.769.038 1.067.337.746.75 1.5 1.487 2.236 2.245.17.176.256.148.41-.01.745-.76 1.5-1.51 2.256-2.26.308-.307.676-.42 1.1-.295a1.036 1.036 0 0 1 .758.819c.09.409-.047.75-.341 1.043-.76.758-1.515 1.522-2.282 2.273-.136.136-.13.204.004.335.773.759 1.539 1.524 2.297 2.295.628.641.358 1.636-.494 1.851-.065.014-.13.025-.196.032Z"}))),U||(U=J.createElement("defs",null,J.createElement("clipPath",{id:"error-cancel_svg__a"},J.createElement("path",{fill:"#fff",d:"M0 0h24v23.999H0z"})))))};function n2(){return(n2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let n3=function(e){return J.createElement("svg",n2({width:25,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Y||(Y=J.createElement("g",{clipPath:"url(#inner-loader_svg__a)"},J.createElement("path",{d:"M12.01 1.193c0 .31-.013.62.004.928.011.209-.04.279-.266.287-2.33.079-4.37.902-6.084 2.467-2.368 2.16-3.519 4.855-3.195 8.063.307 3.031 1.836 5.385 4.353 7.075 1.851 1.245 3.916 1.776 6.136 1.53 2.832-.313 5.088-1.675 6.784-3.949a9.213 9.213 0 0 0 1.857-5.348c.006-.215.07-.258.271-.253a39.41 39.41 0 0 0 1.883 0c.226-.007.255.063.25.265-.09 2.98-1.168 5.563-3.158 7.755-1.991 2.193-4.456 3.519-7.394 3.89-2.938.372-5.642-.314-8.076-1.982-2.623-1.796-4.36-4.242-5.064-7.36-.758-3.363-.103-6.475 1.847-9.298C3.817 2.857 6.07 1.247 8.883.433a11.185 11.185 0 0 1 2.909-.431c.2-.004.225.067.22.235-.01.318-.002.637-.002.956Z",fill:"#9B3D30"}))),X||(X=J.createElement("defs",null,J.createElement("clipPath",{id:"inner-loader_svg__a"},J.createElement("path",{fill:"#fff",transform:"translate(.004 .001)",d:"M0 0h24v23.998H0z"})))))},n4=(0,J.forwardRef)(({dataSaved:e,defaultValue:t,editable:l,error:n,errorMessage:a,label:r,submitData:s,...o},i)=>{let[c,d]=(0,J.useState)(!1),[u,_]=(0,J.useState)(!1),m=(0,e_.ZC)(n),h=(0,e_.ZC)(e);(0,J.useEffect)(()=>{null!==h&&((h!==e||m!==n)&&_(!1),h===e||n||d(!1))},[h,e,n,m]);let p=()=>{_(!0),void 0!==s&&s()},v=(0,$.jsx)("input",{ref:i,autoFocus:!0,className:et()(nU().input,{[nU().error]:n}),onKeyPress:e=>{"Enter"===e.key&&p()},...o}),f=(0,$.jsx)("a",{className:et()(nU().editButton,{[nU().saving]:u&&!n}),onClick:()=>!u&&(c?p():d(!0)),children:n&&c?(0,$.jsx)(n1,{}):u?(0,$.jsx)(n3,{}):c?(0,$.jsx)(nJ,{}):(0,$.jsx)(nX,{})});return(0,$.jsxs)("div",{className:nU().inlineInput,children:[(0,$.jsx)(al,{className:nU().inputLabel,color:"brown",weight:"normal",children:r}),(0,$.jsxs)("div",{className:et()(nU().inputDataHolder,{[nU().editing]:c,[nU().error]:n}),children:[c?v:(0,$.jsxs)($.Fragment,{children:[t&&t.length&&(0,$.jsx)(al,{children:t}),!t||!t.length&&(0,$.jsx)("a",{onClick:()=>d(!0),children:(0,$.jsx)(al,{color:"primary",weight:"bold",children:"УказаÑÑ"})})]}),l?f:null]}),n&&c&&(0,$.jsx)(al,{children:a})]})});n4.displayName="InlineInput";var n5=l(44467);let n6=({position:e=eW.oR.POSITION.TOP_RIGHT})=>(0,$.jsx)(eW.N9,{autoClose:5e3,closeOnClick:!0,draggable:!0,hideProgressBar:!1,newestOnTop:!1,pauseOnHover:!0,position:e,rtl:!1});var n7=l(10572),n8=l.n(n7);let n9=({anchorEl:e,className:t,children:l,placement:n})=>{let[a,r]=(0,J.useState)(null),[s,o]=(0,J.useState)(null),{styles:i,attributes:c}=(0,lH.E)(e,a,{placement:n,modifiers:[{name:"arrow",options:{element:s}},{name:"offset",options:{offset:[0,8]}}]});return(0,$.jsxs)("div",{ref:r,className:et()(n8().tooltip,t),style:i.popper,...c.popper,children:[(0,$.jsx)("div",{ref:o,className:n8().arrow,style:i.arrow}),l]})};var ae=l(64988),at=l.n(ae);let al=({align:e,children:t,className:l,color:n,element:a="div",lineHeight:r,noWrap:s,size:o,weight:i="bold",...c})=>
31{let d=et()(at().typography,l,{[at().colorError]:"error"===n,[at().colorPrimary]:"primary"===n,[at().colorSecondary]:"secondary"===n,[at().colorSecondaryLight]:"secondary-light"===n,[at().colorBrown]:"brown"===n,[at().colorWhite]:"white"===n,[at().alignStart]:"start"===e,[at().alignCenter]:"center"===e,[at().alignEnd]:"end"===e,[at().noWrap]:s,[at().weightBold]:"bold"===i,[at().weightSemiBold]:"semi-bold"===i,[at().weightNormal]:"normal"===i});return(0,$.jsx)(a,{className:d,style:{fontSize:o,lineHeight:void 0!==r?`${r}px`:void 0},...c,children:t})};var an=l(37690),aa=l(61860),ar=l.n(aa),as=l(32100);let ao=({bordered:e,children:t,className:l,contrastBg:n,title:a,titleClass:r,wrapperClass:s})=>{let o=(0,J.useMemo)(()=>{if(void 0===a||null==a)return null;let e=a.split(" ");if(1==e.length)return a;let t=[(0,$.jsx)("span",{className:ar().orange,children:e[0]},0)];e.shift();for(let l=0;l<e.length;l++)t.push((0,$.jsx)("span",{children:e[l]},l+1));return t},[a]);return(0,$.jsx)("div",{className:et()(s,n&&ar().containerWrapContrast,e&&ar().containerBordered),children:(0,$.jsxs)("section",{className:et()("container",ar().container,l),children:[null!=a?(0,$.jsxs)("div",{className:ar().breadcrumbs,children:[(0,$.jsx)(en(),{href:"/",children:"главнаÑ"}),(0,$.jsx)(as.A,{}),(0,$.jsx)("span",{children:a})]}):null,void 0!==a&&(0,$.jsx)("div",{className:et()(ar().title,r),children:(0,$.jsx)("h2",{children:o})}),t]})})};var ai=l(92591),ac=l(89516),ad=l.n(ac);let au=({className:e,color:t,strikethrough:l=!1,value:n})=>(0,$.jsx)(al,{className:et()(ad().price,e,{[ad().strikethrough]:l}),color:t,children:(0,ai.$)(n)});var a_=l(53436),am=l.n(a_);let ah=(0,J.forwardRef)(({disableDecrement:e=!1,disableIncrement:t=!1,onChange:l,max:n,min:a,value:r},s)=>{let[o,i]=(0,J.useState)(1);(0,J.useEffect)(()=>{void 0!==r&&o!==r&&i(r)},[o,r]);let c=e=>{let t=o+e;t>=(a??0)&&t<=(n??1/0)&&(void 0===r&&i(t),l(t))};return(0,$.jsxs)("div",{ref:s,className:et()("d-flex align-items-center",am().root),children:[(0,$.jsx)("button",{className:et()(am().button,{[am().buttonDisabled]:e}),onClick:e?void 0:()=>c(-1),type:"button",children:(0,$.jsx)(eI,{})}),(0,$.jsx)(al,{className:am().count,children:o}),(0,$.jsx)("button",{className:et()(am().button,{[am().buttonDisabled]:t}),onClick:t?void 0:()=>c(1),type:"button",children:(0,$.jsx)(eS,{})})]})});ah.displayName="Counter";let ap=({alt:e,src:t,fallbackSrc:l,...n})=>{let[a,r]=(0,J.useState)(t);return(0,J.useEffect)(()=>{r(t)},[t]),(0,$.jsx)(t6(),{alt:e,onError:()=>{r(l)},onLoad:e=>{let{naturalWidth:t}=e.currentTarget;0===t&&r(l)},src:a,...n})};var av=l(45040),af=l(43577);l(97147);var ag=l(47282),ax=l.n(ag);let aj=({image:e})=>{let[t,l]=(0,J.useState)(!1);return t?(0,$.jsx)("a",{className:ax().slide,children:(0,$.jsx)("div",{className:ax().backgroundImage,children:(0,$.jsx)(t6(),{alt:"",fill:!0,style:{objectFit:"contain"},src:e})})}):(0,$.jsxs)("a",{className:ax().slide_is_loading,children:[(0,$.jsx)(lS,{white:!1}),(0,$.jsx)(t6(),{alt:"",className:ax().invicible_image,fill:!0,style:{objectFit:"contain"},onLoad:()=>l(!0),src:e})]})},ab=({images:e})=>(0,$.jsxs)("section",{className:ax().carousel,children:[(0,$.jsx)(tP.RC,{modules:[tS.Ze,tS.Vx,tS.dK],autoplay:{delay:15e3},loop:!0,pagination:{el:`.${ax().pagination}`,type:"bullets",clickable:!0},slidesPerGroup:1,slidesPerView:1,spaceBetween:10,navigation:{nextEl:"#next_",prevEl:"#prev_"},children:e.map((e,t)=>(0,$.jsx)(tP.qr,{children:(0,$.jsx)(aj,{image:e})},t))}),(0,$.jsxs)("div",{className:ax().buttons,children:[(0,$.jsx)("a",{id:"prev_",className:ax().swiperButtonPrev,children:(0,$.jsx)(av.A,{width:40})}),(0,$.jsx)("a",{id:"next_",className:ax().swiperButtonNext,children:(0,$.jsx)(af.A,{width:40})})]}),(0,$.jsx)("div",{className:et()("swiper-pagination",ax().pagination)})]})},26388:e=>{e.exports={footer:"Footer_footer__OQpsI",sectionTop:"Footer_sectionTop__wOpS9",sectionTopSectionLeft:"Footer_sectionTopSectionLeft__ybS8D",sectionTopSectionRight:"Footer_sectionTopSectionRight___QQI3",info:"Footer_info__SXLz2",infoContent:"Footer_infoContent__szGqb",infoColumn:"Footer_infoColumn__H1ZiJ",infoHeaderItem:"Footer_infoHeaderItem__M_Aqw",infoContentItem:"Footer_infoContentItem__8BKES",socialIcons:"Footer_socialIcons__W95_P",socialIconBlock:"Footer_socialIconBlock__da_6C",socialIcon:"Footer_socialIcon__NOip2",places:"Footer_places__KMHLS",place:"Footer_place__ZBKuJ",placeLeft:"Footer_placeLeft__x_GGg",placeRight:"Footer_placeRight__CWi_q",planeBtnBlock:"Footer_planeBtnBlock__ub9cH",placeSeeOnMap:"Footer_placeSeeOnMap__hdjeD",placeLine:"Footer_placeLine__CQ2yT",placeAddress:"Footer_placeAddress__BAN_w",placeWorkingTime:"Footer_placeWorkingTime__DoS3q",sectionMiddle:"Footer_sectionMiddle__eS4Re",sectionMiddleItem:"Footer_sectionMiddleItem__IYjYX",sectionMiddleBtnBlock:"Footer_sectionMiddleBtnBlock__gx_Z4",sectionMiddleText:"Footer_sectionMiddleText__51NjM",sectionMiddleHeader:"Footer_sectionMiddleHeader__VLVtB",sectionMiddleDescription:"Footer_sectionMiddleDescription__LJDs5",sectionBottom:"Footer_sectionBottom__WFdWw",sectionBottomBlock:"Footer_sectionBottomBlock__h_Y4G"}},28162:(e,t,l)=>{"use strict";l.d(t,{G:()=>n});let n={monday:"пн",tuesday:"вÑ",wednesday:"ÑÑ",thursday:"ÑÑ",friday:"пÑ",saturday:"Ñб",sunday:"вÑ"}},28796:e=>{e.exports={loader:"Loader_loader__7ZWW3",whiteDots:"Loader_whiteDots__TIFQN",dot:"Loader_dot__Ye8js","loader-animation":"Loader_loader-animation__QGqNv"}},29796:e=>{e.exports={dropdown:"Popover_dropdown__C0Q4u","dropdown-arrow":"Popover_dropdown-arrow__GZ9i2"}},30222:e=>{e.exports={banner:"Banner_banner__P0RRk",swiperButtonNext:"Banner_swiperButtonNext__c__XL",swiperButtonPrev:"Banner_swiperButtonPrev__QRrgr",slide:"Banner_slide__DwgG_",halfWidth:"Banner_halfWidth__2P2aU",quarterWidth:"Banner_quarterWidth__OR6e7",slide_is_loading:"Banner_slide_is_loading__XVveB",content:"Banner_content__T4yAU",image:"Banner_image__waKVq",pagination:"Banner_pagination__HlRFC",title:"Banner_title__hAD7M",subtitle:"Banner_subtitle__lZAnX",invicible_image:"Banner_invicible_image__V2wGN",goBtnBlock:"Banner_goBtnBlock__lVa_w"}},30356:(e,t,l)=>{"use strict";l.d(t,{e:()=>n});let n={BANNERS:e=>["banners",e],CATEGORIES:e=>["categories",e],POPULAR_PRODUCTS:e=>["popular-products",e],PRODUCTS:e=>["products",e]}},32100:(e,t,l)=>{"use strict";l.d(t,{A:()=>s});var n,a=l(94070);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let s=function(e){return a.createElement("svg",r({width:12,height:12,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n||(n=a.createElement("path",{d:"M7.5 9.75 3.75 6 7.5 2.25",stroke:"#C6C6C6",strokeLinecap:"round",strokeLinejoin:"round"})))}},36194:e=>{e.exports={root:"DeliveryNotPossible_root__MS20I",description:"DeliveryNotPossible_description__BXDq1",buttons:"DeliveryNotPossible_buttons__VkgZz"}},37690:(e,t,l)=>{"use strict";l.d(t,{l:()=>o});var n=l(89142),a=l(27880),r=l(41318),s=l.n(r);let o=e=>(0,n.jsx)(a.Ay,{className:s().select,classNamePrefix:"react-select",closeMenuOnScroll:!0,
31closeMenuOnSelect:!0,instanceId:e.instanceId,isSearchable:!1,menuPosition:e.menuPosition?e.menuPosition:"fixed",menuShouldBlockScroll:!e.menuShouldBlockScroll||e.menuShouldBlockScroll,options:e.options,styles:{singleValue:(e,t)=>{let l=t.isDisabled?.5:1;return{...e,opacity:l,transition:"opacity 300ms",color:"var(--brown-dark)"}}},...e})},38642:e=>{e.exports={inputDataHolder:"InlineInput_inputDataHolder__eeDJc",editing:"InlineInput_editing__RdH7R",error:"InlineInput_error__NTavt",input:"InlineInput_input__zar0i",inputLabel:"InlineInput_inputLabel__vw_UF",editButton:"InlineInput_editButton__riE69",saving:"InlineInput_saving__daDc9",spin:"InlineInput_spin__wUb4I"}},41318:e=>{e.exports={select:"Select_select__vamsO"}},42401:(e,t,l)=>{"use strict";l.d(t,{Oh:()=>r,bW:()=>s,d$:()=>o});var n=l(6779),a=l(38206);let r=async e=>(await n.LV.get(a.F.BANNERS,{params:{restaurant_id:e}})).data,s=async e=>(await n.LV.get(a.F.CATEGORIES,{params:{restaurant_id:e}})).data,o=async e=>(await n.LV.get(a.F.PRODUCTS,{params:{restaurant_id:e}})).data},43040:e=>{e.exports={overlay:"Modal_overlay__qr6aL",modal:"Modal_modal__tv1jq",modalContainer:"Modal_modalContainer__0F7oA",closeButton:"Modal_closeButton__fodsn"}},43577:(e,t,l)=>{"use strict";l.d(t,{A:()=>s});var n,a=l(94070);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let s=function(e){return a.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none"},e),n||(n=a.createElement("path",{d:"M7.5 3.75 13.75 10 7.5 16.25",stroke:"#232323",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})))}},44066:(e,t,l)=>{"use strict";l.d(t,{l:()=>x});var n=l(89142),a=l(94070),r=l(46001),s=l.n(r),o=l(9849),i=l.n(o),c=l(3490),d=l(35003),u=l(53196),_=l.n(u),m=l(24924);l(15474),l(83563),l(61597),l(97147);var h=l(30222),p=l.n(h),v=l(45040),f=l(43577);let g=({banner:e})=>{let t=e.title?.replace(/\*\*(.*?)\*\*/g,"<mark>$1</mark>")??null,l=e.url,r=null===e.button_label&&null!==l?e=>(0,n.jsx)(_(),{href:l,...e}):"div",[s,o]=(0,a.useState)(!1);return s?(0,n.jsxs)(r,{className:p().slide,style:{backgroundImage:`url(${e.background_image?e.background_image:"/images/product-image-placeholder.svg"})`},children:[(0,n.jsxs)("div",{className:p().content,children:[null!==t&&(0,n.jsx)("div",{className:p().title,dangerouslySetInnerHTML:{__html:t}}),e.subtitle&&e.subtitle.length&&(0,n.jsx)("div",{className:p().subtitle,children:e.subt
31itle}),null!==e.button_label&&null!==e.url&&(0,n.jsx)(m.$n,{color:"secondary",href:e.url,size:"large",children:e.button_label})]}),null===e.image&&(0,n.jsx)("div",{}),null!==e.image&&(0,n.jsx)("div",{className:p().image,children:(0,n.jsx)(i(),{alt:"",fill:!0,style:{objectFit:"contain"},src:e.image})})]}):(0,n.jsxs)(r,{className:p().slide_is_loading,children:[(0,n.jsx)(m.aH,{white:!1}),(0,n.jsx)(i(),{alt:"",className:p().invicible_image,fill:!0,style:{objectFit:"contain"},onLoad:()=>o(!0),src:e.background_image?e.background_image:"/images/product-image-placeholder.svg",unoptimized:!0})]})},x=({banners:e})=>(0,n.jsxs)("section",{className:s()("container",p().banner),children:[(0,n.jsx)(d.RC,{modules:[c.Ze,c.Vx,c.dK],autoplay:{delay:15e3},id:"desktopSwiper",loop:!0,navigation:{nextEl:`.${p().swiperButtonNext}`,prevEl:`.${p().swiperButtonPrev}`},pagination:{el:`.${p().pagination}`,type:"bullets",clickable:!0},slidesPerGroup:1,slidesPerView:"auto",spaceBetween:30,children:e.map((e,t)=>(0,n.jsx)(d.qr,{className:0==t||t%3==0?p().halfWidth:p().quarterWidth,children:(0,n.jsx)(g,{banner:e})},e.id))}),(0,n.jsx)("a",{className:p().swiperButtonPrev,children:(0,n.jsx)(v.A,{width:40})}),(0,n.jsx)("a",{className:p().swiperButtonNext,children:(0,n.jsx)(f.A,{width:40})}),(0,n.jsx)("div",{className:s()("swiper-pagination",p().pagination)})]})},44196:e=>{e.exports={header:"Header_header__1RJ5C",sheduleInfoModal:"Header_sheduleInfoModal__A0Hsa",sheduleInfoModalContainer:"Header_sheduleInfoModalContainer__OBv34",modalHeader:"Header_modalHeader__PxMaw",modalInfo:"Header_modalInfo__LRTw8",modalButton:"Header_modalButton___5MhI",modaldeliveryInfo:"Header_modaldeliveryInfo__EK_dd",content:"Header_content__ivQIW",floatingCart:"Header_floatingCart__WN4P1",headerStart:"Header_headerStart__6x_pu",logoHolder:"Header_logoHolder__23956",logo:"Header_logo__X2AKx",logoHolderMain:"Header_logoHolderMain__EqfKL",contentCart:"Header_contentCart__zARFV",headerMobile:"Header_headerMobile__JRZoB",contentEnd:"Header_contentEnd__owtRb",profileHolder:"Header_profileHolder__hzhiC",profileContent:"Header_profileContent__YGw5N",logOutDrop:"Header_logOutDrop__jurVW",profileIcon:"Header_profileIcon__5XJto",leftPesudo:"Header_leftPesudo__meBuQ",rightPesudo:"Header_rightPesudo__4PvbM",profile:"Header_profile__tj011",profileLabel:"Header_profileLabel__WBhM_",logoutIcon:"Header_logoutIcon__x5y0o",bonusesCount:"Header_bonusesCount__nMIoF",cartButton:"Header_cartButton__lOIfd",svg:"Header_svg__qTjlH",cartButtonLabel:"Header_cartButtonLabel__vvG6P",backArrow:"Header_backArrow__QvCYW",burger:"Header_burger__knfDo",burgerLine:"Header_burgerLine__OBPV0",angleDownHolder:"Header_angleDownHolder__HuxCr",angleDown:"Header_angleDown___tRHF",phoneHolder:"Header_phoneHolder___0IlH",phoneDrop:"Header_phoneDrop__xWCHR",phoneLine:"Header_phoneLine__rCcHL",contact:"Header_contact__tGj1G",closingTime:"Header_closingTime__W7b20",reserveButton:"Header_reserveButton__2_o2P",hallButton:"Header_hallButton__msxpa",mobileContacts:"Header_mobileContacts__vgRB2",modalText:"Header_modalText__gxU3a"}},44467:(e,t,l)=>{"use strict";l.d(t,{L:()=>u});var n=l(89142),a=l(94070),r=l(46001),s=l.n(r),o=l(11718),i=l.n(o),c=l(68984),d=l.n(c);let u=(0,a.forwardRef)(({className:e,disabled:t,error:l,fullWidth:a,innerControl:r,subLine:o,showLabel:c,placeholder:u,labelClassName:_,...m},h)=>(0,n.jsx)("div",{className:s()("text-input",e,{[d().inputGroup]:void 0!==r,[d().inputWrap]:void 0===r,[d().higherInput]:c,[d().error]:l}),children:(0,n.jsxs)(n.Fragment,{children:[c&&(0,n.jsx)("div",{className:_||d().higherLabel,children:u}),(0,n.jsx)(i(),{ref:h,alwaysShowMask:!0,className:s()(d().input,{[d().disabled]:t,[d().error]:l,[d().fullWidth]:a}),disabled:t,mask:"+7 (999) 999 - 99 - 99",maskPlaceholder:"+7 (___) ___ - __ - __",maskChar:"_",...m}),void 0!==r&&(0,n.jsx)("div",{className:d().innerControl,children:r}),void 0!==o&&(0,n.jsx)("div",{className:d().subLine,children:o})]})}))},44594:e=>{e.exports={select:"LocalitySelect_select__5nSWP",toggle:"LocalitySelect_toggle__4enDX",popover:"LocalitySelect_popover__Zx_Q_",locality:"LocalitySelect_locality__QPLpm",localitySelected:"LocalitySelect_localitySelected__IMVlS"}},45040:(e,t,l)=>{"use strict";l.d(t,{A:()=>s});var n,a=l(94070);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let s=function(e){return a.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none"},e),n||(n=a.createElement("path",{d:"M12.5 3.75 6.25 10l6.25 6.25",stroke:"#232323",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})))}},47236:e=>{e.exports={preloader:"Preloader_preloader__Qv3kB",preloaderAnimation:"Preloader_preloaderAnimation__Yc4BE",contrast:"Preloader_contrast__LQLLZ"}},47282:e=>{e.exports={carousel:"ContentImageCarousel_carousel__h6knZ",backgroundImage:"ContentImageCarousel_backgroundImage__5D5mT",slide:"ContentImageCarousel_slide__g19um",slideContent:"ContentImageCarousel_slideContent__26zt5",slide_is_loading:"ContentImageCarousel_slide_is_loading__aH__l",image:"ContentImageCarousel_image__H6HBC",pagination:"ContentImageCarousel_pagination__h6r14",title:"ContentImageCarousel_title__pR6St",invicible_image:"ContentImageCarousel_invicible_image__pd7jY",buttons:"ContentImageCarousel_buttons__qxtTz",swiperButtonNext:"ContentImageCarousel_swiperButtonNext__E06VF",swiperButtonPrev:"ContentImageCarousel_swiperButtonPrev__IybSW"}},48669:(e,t,l)=>{"use strict";l.d(t,{G:()=>n});let n={href:"tel:+7(843)5006035",formatted:"+7 (843) 500-60-35"}},50350:e=>{e.exports={label:"DeliveryInfoBlocks_label__00Jir",banners:"DeliveryInfoBlocks_banners__mDIMp",item:"DeliveryInfoBlocks_item__rReiH",imgBlock:"DeliveryInfoBlocks_imgBlock__GdITf",img:"DeliveryInfoBlocks_img__DgWQ7",info:"DeliveryInfoBlocks_info__Msy_B",name:"DeliveryInfoBlocks_name__wNOV0",desc:"DeliveryInfoBlocks_desc__iZX0C",address:"DeliveryInfoBlocks_address__JPGkJ",mobileRestaurants:"DeliveryInfoBlocks_mobileRestaurants__aUHTP",openAddressBlock:"DeliveryInfoBlocks_openAddressBlock__EbqIZ",addressBlock:"DeliveryInfoBlocks_addressBlock__4SzY
31X",openAddress:"DeliveryInfoBlocks_openAddress__niFzl",arrowBtn:"DeliveryInfoBlocks_arrowBtn__30PeS",arrowIcon:"DeliveryInfoBlocks_arrowIcon__9fzuo"}},52750:e=>{e.exports={location:"Location_location__zfAx4",icon:"Location_icon__jmhPq",label:"Location_label__HhXW7",notSelected:"Location_notSelected__r3D6_",orderType:"Location_orderType__YLCzt",address:"Location_address__fdTG6"}},53436:e=>{e.exports={root:"ProductCounter_root__Jv3hR",button:"ProductCounter_button__r7QL9",buttonDisabled:"ProductCounter_buttonDisabled___vnZG",count:"ProductCounter_count__DKuRV"}},56138:e=>{e.exports={smile:"RestaurantClosedMessage_smile__X8ASX"}},56211:(e,t,l)=>{"use strict";l.d(t,{D:()=>a});var n,a=((n={}).STEPPER="stepper",n.STEPPER_OUTLINED="stepper-outlined",n.SELECT="select",n.CHECKBOXES="checkboxes",n)},57107:e=>{e.exports={root:"Total_root__4uQh5",content:"Total_content__2YGfW",bonusText:"Total_bonusText___0uEj",total:"Total_total__FwdGq",totalText:"Total_totalText__STqLT",scrollBottomReached:"Total_scrollBottomReached__tred6",discountText:"Total_discountText__nPl9d",priceContainer:"Total_priceContainer__HqvsI",priceContainerWithDiscount:"Total_priceContainerWithDiscount__lcvfx",subtotalPrice:"Total_subtotalPrice__NYFMi",totalPrice:"Total_totalPrice__N7ILZ",discountPrice:"Total_discountPrice__PkyXZ",discount:"Total_discount__QIKEf",bonusesText:"Total_bonusesText__0MSpe",bonusesHow:"Total_bonusesHow__7gbux",header:"Total_header__MN1RM",totalsSection:"Total_totalsSection__uVlrW",totalRow:"Total_totalRow__iSTye",infoIcon:"Total_infoIcon__P2_Y5",infoIconOpen:"Total_infoIconOpen__eDLJX",totalFinalRow:"Total_totalFinalRow__PDRZY",discountedTotal:"Total_discountedTotal__J5s0R"}},58532:e=>{e.exports={icon:"CartIcon_icon__3_4EK",cartButton:"CartIcon_cartButton__QzVyJ",sheduleInfoModal:"CartIcon_sheduleInfoModal__S_Sdm",sheduleInfoModalContainer:"CartIcon_sheduleInfoModalContainer__DcSgK",modalHeader:"CartIcon_modalHeader__FRRZG",modalInfo:"CartIcon_modalInfo__cH8yp",modalButton:"CartIcon_modalButton__lZQKW",modaldeliveryInfo:"CartIcon_modaldeliveryInfo__cj_J2",productCount:"CartIcon_productCount__rvCKE",popoverText:"CartIcon_popoverText__Qfv5b",modalText:"CartIcon_modalText__SLdFU"}},61860:e=>{e.exports={container:"Section_container__mkPCF",containerWrapContrast:"Section_containerWrapContrast__0pzG6",containerBordered:"Section_containerBordered__spAYb",title:"Section_title__aXMzp",orange:"Section_orange__oqjHr",breadcrumbs:"Section_breadcrumbs__c2EQq"}},62952:e=>{e.exports={modal:"ContactsModal_modal__weRaP",contacts:"ContactsModal_contacts__n5yxR",reserveButton:"ContactsModal_reserveButton__RRoEy",contactsButton:"ContactsModal_contactsButton__iGlQK"}},63322:(e,t,l)=>{"use strict";l.d(t,{j:()=>h});var n,a,r=l(89142),s=l(94070),o=l(41629),i=l(6756),c=l(75875);function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let u=function(e){return s.createElement("svg",d({viewBox:"0 0 25 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n||(n=s.createElement("g",{clipPath:"url(#DishOnMove_svg__a)",fill:"#9B3D30"},s.createElement("path",{d:"M.876 1.827H6.486c.368 0 .649-.213.771-.58a1.027 1.027 0 0 0-.07-.832.898.898 0 0 0-.313-.312.743.743 0 0 0-.4-.102H.862a.782.782 0 0 0-.35.067.894.894 0 0 0-.3.22.896.896 0 0 0-.161.292 1.004 1.004 0 0 0-.05.342c.004.54.355.904.874.905ZM.847 5.409H4.58c.475 0 .826-.38.83-.9a1.021 1.021 0 0 0-.05-.346.913.913 0 0 0-.162-.295.86.86 0 0 0-.287-.216.75.75 0 0 0-.335-.07H.844a.76.76 0 0 0-.338.068.87.87 0 0 0-.289.215.91.91 0 0 0-.162.29 1.02 1.02 0 0 0-.054.342c.002.535.35.91.846.912ZM.781 8.99H2.328c.452-.01.795-.4.797-.91.002-.509-.339-.909-.792-.915a56.06 56.06 0 0 0-1.546 0 .745.745 0 0 0-.563.274.926.926 0 0 0-.16
317.298A1.039 1.039 0 0 0 0 8.09c.003.24.086.47.232.639a.722.722 0 0 0 .548.262ZM24.486 17.668c-.194-.496-.536-.718-1.018-.661a1.327 1.327 0 0 1-.205 0 1.402 1.402 0 0 0-.223 0 .142.142 0 0 1-.12-.02.242.242 0 0 1-.035-.15 14.519 14.519 0 0 0-.255-2.083c-.415-2.215-1.147-4.019-2.239-5.514-1.434-1.966-3.306-3.157-5.719-3.641-.123-.025-.133-.056-.13-.19.008-.368.007-.708 0-1.04a2.946 2.946 0 0 0-.648-1.76c-.392-.475-.919-.764-1.48-.813-.568-.047-1.13.154-1.578.564-.448.41-.75 1-.85 1.658a6.05 6.05 0 0 0-.04 1.003c0 .116.005.232.004.348 0 .178-.015.218-.164.247a9.009 9.009 0 0 0-3.32 1.344c-2.104 1.412-3.517 3.548-4.322 6.539a16.256 16.256 0 0 0-.536 3.328c-.005.092-.018.145-.04.167a.158.158 0 0 1-.128.02 2.873 2.873 0 0 0-.415-.008l-.161.004c-.548 0-.863.368-.863 1.003v3.385c0 .656.31 1.019.873 1.02h2.093c.12 0 .128 0 .133.127.032.927.366 1.804.935 2.447.569.644 1.327 1.006 2.117 1.01h.004c.79-.002 1.549-.361 2.118-1.004.57-.643.905-1.52.936-2.446.005-.133.012-.14.123-.14 1.956.006 3.917.006 5.827 0 .108 0 .117.007.122.142.03.926.366 1.803.936 2.445.57.642 1.33 1 2.12.998h.005c1.611 0 2.98-1.541 3.049-3.43.005-.149.016-.158.132-.156.264.004.53 0 .789 0 .382 0 .774-.006 1.16.011.503.023.826-.189 1.013-.666l.005-.015v-4.058l-.005-.015Zm-18.33 6.503a1.422 1.422 0 0 1-1.014-.472 1.93 1.93 0 0 1-.492-1.142c-.007-.085.004-.112.011-.121.007-.01.064-.022.097-.022h.018c.337.008.68.007 1.012.005h.77c.319 0 .651 0 .977-.005.023 0 .096 0 .114.022.007.008.018.035.012.121-.036.44-.21.849-.488 1.147-.278.298-.64.464-1.017.467Zm16.787-3.7c0 .07-.007.096-.015.105-.007.009-.03.02-.091.018-.456-.006-.92-.006-1.367 0h-3.101c-5.446 0-11.077 0-16.615.006-.097 0-.15-.013-.175-.043-.024-.03-.032-.09-.027-.193a17.3 17.3 0 0 0 0-1.349c0-.08.003-.13.02-.15.016-.019.059-.028.134-.028 2.925.005 5.9.005 8.775.004h3.665c2.823 0 5.742 0 8.612-.006.086 0 .134.01.154.035.02.025.027.08.024.174-.012.475-.005.946.004 1.427h.003Zm-1.627-3.485a.217.217 0 0 1-.14.027c-2.44-.005-4.92-.004-7.318-.004h-3.364c-2.346 0-4.77 0-7.158.007-.057 0-.135 0-.158-.034-.024-.034-.019-.12-.013-.185.223-2.497.86-4.499 1.949-6.12C6.22 9.027 7.754 7.96 9.679 7.5c.864-.21 1.743-.316 2.626-.319a9.987 9.987 0 0 1 3.247.537c2.489.85 4.223 2.798 5.15 5.787.33 1.072.54 2.19.626 3.324.006.084.002.137-.012.157ZM12.995 5.305c0 .061-.008.075-.009.075 0 0-.016.01-.077.008a8.444 8.444 0 0 0-.476-.005h-.387c-.154 0-.314-.004-.47.006-.057 0-.069-.007-.07-.009-.001-.001-.01-.015-.008-.082.004-.138 0-.277 0-.412v-.424a.948.948 0 0 1 .223-.595.691.691 0 0 1 .511-.248h.007a.684.684 0 0 1 .514.236.94.94 0 0 1 .233.587c.005.15.004.299.003.443-.001.144 0 .277.006.42Zm3.838 17.252c0-.03-.008-.106.007-.126.006-.006.022-.019.08-.019h.014c.336.01.678.009 1.008.007h.783c.325 0 .662 0 .992-.005.024 0 .096 0 .114.022.007.008.018.036.012.122-.037.44-.21.849-.489 1.146-.278.298-.64.465-1.017.467-.768-.001-1.443-.723-1.504-1.614Z"}))),a||(a=s.createElement("defs",null,s.createElement("clipPath",{id:"DishOnMove_svg__a"},s.createElement("path",{fill:"#fff",d:"M0 0h24.491v26H0z"})))))};var _=l(96951),m=l.n(_);let h=(0,o.PA)(()=>{let e=(0,c._$)(),t=(0,s.useMemo)(()=>{if(e.type==i.RA.DELIVERY){let t=e.deliveryZone?.free_delivery_price??0;if((e.subtotalPrice>=t?0:e.deliveryZone?.price??0)>0)return Math.round(t-e.subtotalPrice)}return 0},[e]);return t>0&&e.subtotalPrice>0?(0,r.jsxs)("div",{className:m().informerHolder,children:[(0,r.jsx)(u,{})," Ðо беÑплаÑной доÑÑавки оÑÑалоÑÑ ",(0,r.jsxs)("span",{children:[t," ÑÑб"]})]}):null})},63759:(e,t,l)=>{"use strict";l.d(t,{m:()=>j});var n,a,r,s,o=l(89142),i=l(94070),c=l(41629),d=l(46001),u=l.n(d),_=l(63783),m=l(24924),h=l(18699),p=l.n(h);function v(){return(v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let f=function(e){return i.createElement("svg",v({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n||(n=i.createElement("g",{clipPath:"url(#close-circle_svg__a)",fill:"#E6DCD0"}
31,i.createElement("path",{d:"M11.988.001C5.334.035-.028 5.422 0 12.044.03 18.63 5.447 24.028 12.003 24a12.015 12.015 0 0 0 12-12.084C23.979 5.36 18.544-.032 11.989.001Zm.054 21.818c-5.489-.02-9.888-4.41-9.856-9.843.032-5.434 4.443-9.81 9.865-9.786 5.433.023 9.787 4.44 9.766 9.907-.022 5.323-4.46 9.737-9.775 9.722Z"}),i.createElement("path",{d:"M15.306 16.348a1.18 1.18 0 0 1-.882-.38c-.75-.755-1.51-1.503-2.255-2.264-.136-.136-.204-.136-.336 0-.764.778-1.534 1.55-2.312 2.314-.624.61-1.611.366-1.841-.45-.12-.43.004-.802.321-1.117.762-.757 1.516-1.521 2.282-2.273.14-.137.148-.212 0-.353A179.42 179.42 0 0 1 7.986 9.53c-.626-.639-.347-1.644.505-1.848.417-.1.769.038 1.067.337.746.75 1.5 1.487 2.236 2.245.17.176.256.148.41-.01.745-.76 1.5-1.51 2.256-2.26.308-.307.676-.42 1.1-.295a1.036 1.036 0 0 1 .758.819c.09.409-.047.75-.341 1.043-.76.758-1.515 1.522-2.282 2.273-.136.136-.13.204.004.335a185.4 185.4 0 0 1 2.297 2.295c.628.641.358 1.636-.494 1.851a1.93 1.93 0 0 1-.196.032Z"}))),a||(a=i.createElement("defs",null,i.createElement("clipPath",{id:"close-circle_svg__a"},i.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"})))))};function g(){return(g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let x=function(e){return i.createElement("svg",g({width:25,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r||(r=i.createElement("path",{d:"M11.988 0C5.334.034-.029 5.421 0 12.043.03 18.63 5.447 24.027 12.002 24a12.016 12.016 0 0 0 12.001-12.085C23.979 5.358 18.543-.033 11.988 0Zm.054 21.818c-5.489-.02-9.888-4.41-9.856-9.843.032-5.434 4.443-9.81 9.865-9.786 5.433.023 9.787 4.44 9.766 9.907-.022 5.323-4.46 9.737-9.775 9.722Z",fill:"#E5DCD0"})),s||(s=i.createElement("path",{d:"m16.57 6.668-.081-.082c-.493-.492-.984-.985-1.476-1.48A.287.287 0 0 0 14.81 5a.27.27 0 0 0-.196.105c-.281.296-.548.562-.814.814-.078.074-.112.135-.113.205a.3.3 0 0 0 .112.212c.383.378.751.753 1.145 1.152l.22.223H7.702c-.978 0-1.673.662-1.69 1.609-.008.4-.007.803-.006 1.194v.871a.262.262 0 0 0 .066.209.267.267 0 0 0 .206.063c.452-.01.818-.009 1.154 0 .11 0 .177-.018.227-.066a.298.298 0 0 0 .07-.233 50.311 50.311 0 0 1-.003-.837c0-.326 0-.663-.005-.995a.274.274 0 0 1 .007-.094.297.297 0 0 1 .102-.012c2.047.005 4.232.005 5.827.004h1.534l-.233.233c-.393.392-.764.763-1.144 1.137-.058.058-.12.127-.116.215a.276.276 0 0 0 .11.2c.245.227.504.485.814.813a.273.273 0 0 0 .196.105.282.282 0 0 0 .2-.107l1.511-1.516.085-.084 1.204-1.207c.413-.415.413-.89 0-1.306-.412-.415-.831-.824-1.247-1.24ZM18.045 12.974l-.006-.006c-.051-.047-.116-.065-.232-.063a18.3 18.3 0 0 1-1.105 0 .298.298 0 0 0-.235.068.31.31 0 0 0-.073.24c.004.28.003.56.003.832 0 .326 0 .664.006 1a.457.457 0 0 1-.005.085.253.253 0 0 1-.094.008c-1.631-.003-3.291-.004-4.896-.004H8.933l1.383-1.38a.237.237 0 0 1 .024-.02.241.241 0 0 0 .099-.175.245.245 0 0 0-.092-.182c-.233-.22-.46-.452-.681-.676l-.272-.275-.082-.082-.083.082-.836.834-.011.01c-.698.698-1.422 1.419-2.128 2.133-.354.359-.337.856.043 1.238l1.278 1.282.021.02c.496.496 1.009 1.009 1.516 1.52a.28.28 0 0 0 .198.102c.079 0 .138-.044.201-.11.248-.26.492-.511.75-.748.091-.084.153-.16.154-.261 0-.086-.043-.164-.145-.26a54.84 54.84 0 0 1-1.099-1.073l-.262-.26h7.502c1.03 0 1.698-.666 1.702-1.694v-.757c0-.37 0-.788.005-1.19 0-.116-.02-.186-.073-.238Z",fill:"#E5DCD0"})))},j=(0,c.PA)(({item:e,getReplacements:t,onRemove:l,onReplace:n,onUpdateQuantity:a,summaryMode:r})=>{let[s,c]=(0,i.useState)(null),[d,h]=(0,i.useState)(null),[v,g]=(0,i.useState)(!1);(0,i.useEffect)(()=>{e.is_available||e.has_replacement||r&&!e.is_available&&void 0!==t&&t().then(e=>{h(e)})},[e]);let j=e.subtotal_price!==e.total_price,b=(0,o.jsxs)("div",{className:u()(p().priceContainer,{[p().priceContainerWithDiscount]:j}),children:[j&&(0,o.jsx)(m.gm,{className:r?p().subtotalPriceSmall:p().subtotalPrice,color:"primary",strikethrough:!0,value:e.subtotal_price}),(0,o.jsx)(m.gm,{className:r?p().totalPriceSmall:p().totalPrice,color:e.subtotal_price===e.total_price?"secondary":"primary",value:e.subtotal_price})]}),C=(0,i.useMemo)(()=>{let t={};return e.product.group_modifiers.map(e=>{e.modifiers.map(e=>{t[e.id]={name:e.name}})}),t},[e]);return(0,o.jsxs)("li",{className:u()(p().root,{[p().rootCart]:!r,[p().rootCheckout]:r}),"data-error":!e.is_available&&!e.has_replacement,children:[!r&&(0,o.jsx)("div",{className:p().image,children:(0,o.jsx)(m.oX,{alt:"",fallbackSrc:e.product.image_url?e.product.image_url+".jpg":"/images/product-image-placeholder.svg",fill:!0,style:{objectFit:"contain"},src:e.product.image_url?e.product.image_url+".webp":"/images/product-image-placeholder.svg",unoptimized:!0})}),(0,o.jsxs)("div",{className:p().content,children:[(0,o.jsxs)("div",{className:p().contentLeft,children:[(0,o.jsx)(m.o5,{className:r?p().productNameSmall:p().productName,children:e.product.name}),(0,o.jsxs)(m.o5,{className:p().weight,color:"brown",weight:"normal",children:[e.product.weight," гÑ."]}),!r&&b,(0,o.jsxs)("div",{children:[e.modifiers.map(e=>(0,o.jsx)(m.o5,{className:"mt-16",size:16,weight:"semi-bold",children:C[e.id]?.name},e.id)),e.product?.dont_apply_discount&&r&&(0,o.jsx)("div",{className:p().notDiscountable,children:"Скидки на ÑÐ¾Ð²Ð°Ñ Ð½Ðµ ÑаÑпÑоÑÑÑанÑÑÑÑÑ"})]}),r&&(0,o.jsxs)(o.Fragment,{children:[!e.is_available&&!e.has_replacement&&(0,o.jsxs)(m.o5,{className:"mt-8",color:"error",children:["ÐозиÑии недоÑÑÑÐ¿Ð½Ñ Ð² данной локаÑии.",(0,o.jsx)("br",{}),"ÐожалÑйÑÑа, замениÑе позиÑии или веÑниÑеÑÑ Ðº пÑоÑлой локаÑии."]}),!e.is_available&&e.has_replacement&&(0,o.jsx)(m.o5,{className:"mt-8",color:"error",children:"Ð ÑожалениÑ, Ð½ÐµÑ Ð² налиÑии"})]}),null!==s&&!1,r&&(0,o.jsxs)(o.Fragment,{children:[e.is_available&&b,!e.is_available&&!e.has_replacement&&(0,o.jsxs)("div",{ref:c,className:"d-flex flex-column",children:[(0,o.jsxs)("div",{className:p().unavailableButton,onClick:l,children:[(0,o.jsx)(m.o5,{className:"mr-8",children:"УдалиÑÑ"}),(0,o.jsx)(f,{})]}),null!==d&&d.length?(0,o.jsxs)("div",{className:p().unavailableButton,onClick:()=>g(!0),children:[(0,o.jsx)(m.o5,{className:"mr-8",children:"ÐамениÑÑ"}),(0,o.jsx)(x,{})]}):null]})]})]}),!r&&e.is_available&&(0,o.jsx)("div",{className:p().actions,children:void 0!==a&&0!==e.subtotal_price?(0,o.jsx)(m.ph,{disableIncrement:30===e.quantity,max:30,onChange:e=>{0===e&&void 0!==l?l():void 0!==a&&a(e)},value:e.quantity}):(0,o.jsx)("div",{className:p().number,children:e.quantity})}),r&&e.is_available&&(0,o.jsxs)("div",{className:p().quantity,children:[e.quantity," ÑÑ"]})]}),null!==d&&d.length&&v?(0,o.jsx)(m.K0,{autoplay:!1,onProductClick:e=>{let t=(0,_.h)(e);n?.(e.id,t),h(null)},products:d,title:""}):null]})})},63783:(e,t,l)=>{"use strict";l.d(t,{t:()=>n,h:()=>s});let n=(e,t)=>{let l=e.price,n=t.reduce((e,t)=>
31(e[t.id]=t.amount,e),{});return e.group_modifiers.map(e=>{e.modifiers.map(e=>{void 0!==n[e.id]&&(l+=e.price*n[e.id])})}),e.modifiers.map(e=>{void 0!==n[e.id]&&(l+=e.price*n[e.id])}),l};var a=l(56211);let r=[a.D.STEPPER,a.D.STEPPER_OUTLINED,a.D.SELECT],s=e=>{let t=[];return e.group_modifiers.map(e=>{let l;l=e.control_type??a.D.STEPPER_OUTLINED,r.includes(l)&&void 0!==e.modifiers[0]&&t.push({id:e.modifiers[0].id,group_id:e.id,amount:1,weight:e.modifiers[0].weight,energy_amount:e.modifiers[0].energy_amount,protein_amount:e.modifiers[0].protein_amount,fat_amount:e.modifiers[0].fat_amount,carbohydrate_amount:e.modifiers[0].carbohydrate_amount,fiber_amount:e.modifiers[0].fiber_amount})}),e.modifiers.map(e=>{e.min_amount>0&&t.push({id:e.id,group_id:null,amount:1,weight:e.weight,energy_amount:e.energy_amount,protein_amount:e.protein_amount,fat_amount:e.fat_amount,carbohydrate_amount:e.carbohydrate_amount,fiber_amount:e.fiber_amount})}),t}},63896:e=>{e.exports={modal:"AppQRModal_modal__yzMYX",modalContainer:"AppQRModal_modalContainer__uOH5s",content:"AppQRModal_content__iiiQ_",title:"AppQRModal_title__jlp50",qrCodeContainer:"AppQRModal_qrCodeContainer__XfzI5",qrCode:"AppQRModal_qrCode__7Nd8E"}},64988:e=>{e.exports={typography:"Typography_typography__FGkyv",colorError:"Typography_colorError__an2Ri",colorPrimary:"Typography_colorPrimary__XL_lZ",colorSecondary:"Typography_colorSecondary__tOpAH",colorSecondaryLight:"Typography_colorSecondaryLight__hD4AK",colorBrown:"Typography_colorBrown__9C7GJ",colorWhite:"Typography_colorWhite___lrsk",colorBlack:"Typography_colorBlack__4oKtq",alignStart:"Typography_alignStart__w5vy4",alignCenter:"Typography_alignCenter__voq5n",alignEnd:"Typography_alignEnd__BGhdi",noWrap:"Typography_noWrap__0kIZp",weightBold:"Typography_weightBold__Ik4Lj",weightSemiBold:"Typography_weightSemiBold__Kq_th",weightNormal:"Typography_weightNormal__EY9Xp"}},65825:(e,t,l)=>{"use strict";l.d(t,{A:()=>o});var n,a,r=l(94070);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let o=function(e){return r.createElement("svg",s({width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n||(n=r.createElement("g",{clipPath:"url(#telegram_svg__a)"},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 10c0 5.523-4.477 10-10 10S0 15.523 0 10 4.477 0 10 0s10 4.477 10 10Zm-9.642-2.618c-.972.405-2.916 1.242-5.832 2.512-.473.189-.72.373-.743.553-.039.304.343.424.861.587l.22.07c.51.166 1.197.36 1.554.368.324.007.685-.127 1.084-.4 2.724-1.84 4.13-2.769 4.218-2.789.062-.014.149-.032.207.02.059.052.053.15.047.177-.038.16-1.534 1.552-2.308 2.271-.242.225-.413.384-.448.42a8.802 8.802 0 0 1-.235.233c-.474.457-.83.8.02 1.36.408.27.735.492 1.061.714.356.242.711.484 1.17.785.118.077.23.156.338.234.415.296.787.56 1.247.518.267-.024.543-.275.683-1.025.331-1.77.983-5.608 1.133-7.19a1.764 1.764 0 0 0-.017-.393.421.421 0 0 0-.142-.27c-.12-.098-.305-.118-.388-.117-.376.007-.953.207-3.73 1.362Z",fill:"#232323"}))),a||(a=r.createElement("defs",null,r.createElement("clipPath",{id:"telegram_svg__a"},r.createElement("path",{fill:"#fff",d:"M0 0h20v20H0z"})))))}},66506:(e,t,l)=>{"use strict";l.d(t,{A:()=>o});var n,a,r=l(94070);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let o=function(e){return r.createElement("svg",s({width:56,height:56,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n||(n=r.createElement("path",{opacity:.4,d:"M42.093 31.617a4.687 4.687 0 0 0-1.4 3.803c.21 2.52 2.52 4.363 5.04 4.363h4.434v2.777c0 4.83-3.944 8.773-8.774 8.773H14.607c-4.83 0-8.774-3.943-8.774-8.773V26.857c0-4.83 3.944-8.774 8.774-8.774h26.786c4.83 0 8.774 3.944 8.774 8.774v3.36h-4.714a4.65 4.65 0 0 0-3.36 1.4Z",fill:"#FA7305"})),a||(a=r.createElement("path",{d:"M34.65 9.217v8.866H14.607c-4.83 0-8.774 3.944-8.774 8.774v-8.564a6.645 6.645 0 0 1 4.294-6.23l18.526-7c2.894-1.
31073 5.997 1.05 5.997 4.154ZM52.64 32.597v4.806c0 1.284-1.027 2.334-2.333 2.38h-4.574c-2.52 0-4.83-1.843-5.04-4.363a4.686 4.686 0 0 1 1.4-3.803 4.65 4.65 0 0 1 3.36-1.4h4.854c1.306.046 2.333 1.096 2.333 2.38ZM32.667 29.75H16.333c-.956 0-1.75-.793-1.75-1.75s.794-1.75 1.75-1.75h16.334c.956 0 1.75.793 1.75 1.75s-.794 1.75-1.75 1.75Z",fill:"#FA7305"})))}},66594:e=>{e.exports={categories:"Categories_categories__qqmGw",swiperButtonNext:"Categories_swiperButtonNext__1G8Ya",swiperButtonPrev:"Categories_swiperButtonPrev__2Hazy",swiper:"Categories_swiper__FTzVz",category:"Categories_category__gEzu2",categoryName:"Categories_categoryName___e5el",kitchenButton:"Categories_kitchenButton__jyqP1"}},66863:e=>{e.exports={root:"RestaurantClosed_root__8QZxm",buttons:"RestaurantClosed_buttons__sSsbb"}},67020:(e,t,l)=>{"use strict";l.d(t,{H:()=>a});var n,a=((n={}).DESKTOP="desktop",n.MOBILE="mobile",n)},67249:e=>{e.exports={input:"TextAreaInput_input__haWeq",disabled:"TextAreaInput_disabled__4TVjy",error:"TextAreaInput_error__0mcYM",fullWidth:"TextAreaInput_fullWidth__kxRIe",inputWrap:"TextAreaInput_inputWrap__lYJlY",inputGroup:"TextAreaInput_inputGroup__6Jo_2",innerControl:"TextAreaInput_innerControl__idSRe",subLine:"TextAreaInput_subLine__4yu9_"}},67596:e=>{e.exports={bannerWrapper:"AppBanner_bannerWrapper__bjgO6",banner:"AppBanner_banner__vUHHr",logoBox:"AppBanner_logoBox__3tS_4",logo:"AppBanner_logo__4_Dca",textBlock:"AppBanner_textBlock__5L_mr",title:"AppBanner_title__RFjuw",titleOrange:"AppBanner_titleOrange__qJu3T",subtitle:"AppBanner_subtitle__k0aOs",button:"AppBanner_button__RG6Et",closeButton:"AppBanner_closeButton__h3pIp"}},68984:e=>{e.exports={input:"TextInput_input__hl4Sb",disabled:"TextInput_disabled__u145j",error:"TextInput_error__hxw6N",fullWidth:"TextInput_fullWidth__vYHVs",inputWrap:"TextInput_inputWrap__ilbkF",inputGroup:"TextInput_inputGroup___LTcb",innerControl:"TextInput_innerControl__SWA3i",subLine:"TextInput_subLine__E9PVE",higherInput:"TextInput_higherInput__8nhHi",higherLabel:"TextInput_higherLabel__ynvsE"}},69726:e=>{e.exports={button:"Button_button__OFOdO",primary:"Button_primary__WTwSy",contained:"Button_contained__MtQmW",outlined:"Button_outlined__Ibu3p",secondary:"Button_secondary__KMeNe",fullWidth:"Button_fullWidth__GfUJR",large:"Button_large__zOQwP",xlarge:"Button_xlarge__SXtAu",disabled:"Button_disabled__P_CVQ"}},69972:e=>{e.exports={modal:"PromocodeModal_modal__aL4Ta",subTitle:"PromocodeModal_subTitle__BTGE_",buttons:"PromocodeModal_buttons__ZHvlG"}},74064:e=>{e.exports={root:"Checkbox_root__9z4_Z",rootInline:"Checkbox_rootInline__60oPJ",checkbox:"Checkbox_checkbox__1zq__",checkboxChecked:"Checkbox_checkboxChecked___bMg1",label:"Checkbox_label___Gx_A"}},74706:e=>{e.exports={modal:"BonusesModal_modal__mvcLr",subTitle:"BonusesModal_subTitle__y22vE",buttons:"BonusesModal_buttons__2cDIy"}},76476:e=>{e.exports={modal:"RestaurantSelectModal_modal__5Ix_Y",container:"RestaurantSelectModal_container__QO0_B Common_container__WuEq9",pickup_location_selected_holder:"RestaurantSelectModal_pickup_location_selected_holder__Lbvw6 Common_container__WuEq9",orderTypeSelect:"RestaurantSelectModal_orderTypeSelect__9tiQs",localitySelect:"RestaurantSelectModal_localitySelect__rYQBU",locationSearch:"RestaurantSelectModal_locationSearch__axq5m",selectedLocation:"RestaurantSelectModal_selectedLocation__2Ivnf",loader:"RestaurantSelectModal_loader__HLj_B",map:"RestaurantSelectModal_map__uWDEZ",selectButton:"RestaurantSelectModal_selectButton___diYx",restaurantSelectHeader:"RestaurantSelectModal_restaurantSelectHeader__HctQ_",pickUpAdressHeader:"RestaurantSelectModal_pickUpAdressHeader__xYR_w",deliverHere:"RestaurantSelectModal_deliverHere__FuqvS"}},77300:e=>{e.exports={modal:"CartModal_modal__BVS8X",modalContainer:"CartModal_modalContainer__XhJDK",title:"CartModal_title__XpMq1"}},78003:e=>{e.exports={root:"Result_root__G4uyS",text:"Result_text__hU6ZY",icon:"Result_icon__C9_qp",title:"Result_title__onL5c",subtitle:"Result_subtitle__74NBp"}},79151:e=>{e.exports={footerTop:"Footer_footerTop__s_Zqc",cartFooter:"Footer_cartFooter__V7C_l",footerWrapper:"Footer_footerWrapper__8Duk0",orderButton:"Footer_orderButton__y3VrF"}},80402:e=>{e.exports={product:"Product_product__9pJ0T",image:"Product_image__h
317mz9",info:"Product_info__7GGi8",name:"Product_name__c5idC",price:"Product_price__0ghgn"}},80879:(e,t,l)=>{"use strict";l.d(t,{Pj:()=>o,m9:()=>s});let n=750,a=90,r=0,s=e=>{if("function"!=typeof window.history.pushState)return!0;e.preventDefault();let t=e.currentTarget,l=t.href.split("#")[1]||"#";window.history.pushState(null,"","#"+l);let n="#"===l?document.body:document.querySelector("#"+l);if(!n)return!0;let s=+(t.dataset.offsetTop??a),o=+(t.dataset.offsetLeft??r);i((n.offsetTop||0)-s,n.offsetLeft||0-o)},o=(e,t={duration:n,offsetTop:a,offsetLeft:r})=>{e&&i((e.offsetTop||0)-t.offsetTop,e.offsetLeft||0-t.offsetLeft)},i=(e=0,t=0)=>{window.scroll({top:e,left:t,behavior:"smooth"})}},89516:e=>{e.exports={price:"Price_price__JNW47",strikethrough:"Price_strikethrough__GeRc1"}},90062:(e,t,l)=>{"use strict";l.d(t,{k:()=>c});var n=l(89142),a=l(94070),r=l(46001),s=l.n(r),o=l(68984),i=l.n(o);let c=(0,a.forwardRef)(({className:e,disabled:t,error:l,fullWidth:a,innerControl:r,subLine:o,showLabel:c,placeholder:d,labelClassName:u,..._},m)=>{let h=(0,n.jsx)("input",{ref:m,className:s()(i().input,{[i().disabled]:t,[i().error]:l,[i().fullWidth]:a}),disabled:t,..._});return(0,n.jsxs)("div",{className:s()("text-input",e,{[i().inputGroup]:void 0!==r,[i().inputWrap]:void 0===r,[i().higherInput]:c,[i().error]:l}),children:[c&&(0,n.jsx)("div",{className:u||i().higherLabel,children:d}),h,void 0!==r&&(0,n.jsx)("div",{className:i().innerControl,children:r}),void 0!==o&&(0,n.jsx)("div",{className:i().subLine,children:o})]})});c.displayName="TextInput"},90159:(e,t,l)=>{"use strict";l.d(t,{r:()=>f});var n,a,r,s,o,i=l(89142),c=l(94070),d=l(24924),u=l(29200),_=l(75875),m=l(78003),h=l.n(m);function p(){return(p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let v=function(e){return c.createElement("svg",p({width:55,height:64,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n||(n=c.createElement("g",{clipPath:"url(#cart-beams_svg__a)"},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.052 35.278H44.062l-3.198 21.286c-.191 1.273-1.262 2.214-2.52 2.214H15.77c-1.259 0-2.329-.94-2.52-2.214l-3.198-21.286Zm27.205-7.834v2.612h12.75c1.408 0 2.55 1.169 2.55 2.61 0 1.443-1.142 2.612-2.55 2.612h-.844c0 .261-.02.526-.06.794l-3.198 21.286C45.33 61.179 42.12 64 38.344 64H15.77c-3.776 0-6.987-2.82-7.561-6.642L5.01 36.072a5.411 5.411 0 0 1-.06-.794h-.844c-1.408 0-2.55-1.17-2.55-2.611 0-1.442 1.142-2.611 2.55-2.611h12.75v-2.612c0-5.768 4.567-10.444 10.2-10.444 5.633 0 10.2 4.676 10.2 10.444Zm-15.3 0v2.612h10.2v-2.612c0-2.884-2.284-5.222-5.1-5.222-2.817 0-5.1 2.338-5.1 5.222Zm5.1 26.112c-1.408 0-2.55-1.17-2.55-2.612v-7.833c0-1.442 1.142-2.611 2.55-2.611s2.55 1.169 2.55 2.611v7.833c0 1.443-1.142 2.612-2.55 2.612Zm-10.2-2.612c0 1.443 1.142 2.612 2.55 2.612s2.55-1.17 2.55-2.612v-7.833c0-1.442-1.142-2.611-2.55-2.611s-2.55 1.169-2.55 2.611v7.833Zm15.3 0c0 1.443 1.142 2.612 2.55 2.612s2.55-1.17 2.55-2.612v-7.833c0-1.442-1.142-2.611-2.55-2.611s-2.55 1.169-2.55 2.611v7.833Z",fill:"#9B3D30",stroke:"#fff"}),c.createElement("path",{fill:"#C4C4C4",d:"M16 63h30v28H16z"}))),a||(a=c.createElement("rect",{x:51.507,y:7.801,width:4.306,height:12.919,rx:2.153,transform:"rotate(45 51.507 7.8)",fill:"#9B3D30"})),r||(r=c.createElement("rect",{x:25.553,width:4,height:12,rx:2,fill:"#9B3D30"})),s||(s=c.createElement("rect",{y:11.723,width:4.306,height:12.919,rx:2.153,transform:"rotate(-45 0 11.723)",fill:"#9B3D30"})),o||(o=c.createElement("defs",null,c.createElement("clipPath",{id:"cart-beams_svg__a"},c.createElement("path",{fill:"#fff",transform:"translate(1.553 17)",d:"M0 0h51v47H0z"})))))},f=()=>{let{cartModal:e}=(0,_.Pj)();return(0,i.jsx)(d.Q7,{classes:{icon:h().icon,root:h().root,subtitle:[h().text,h().subtitle],title:[h().text,h().title]},icon:v,subtitle:"ÐÐ»Ñ Ð·Ð°ÐºÐ°Ð·Ð° вÑбеÑиÑе блÑда из менÑ",title:"РкоÑзине пока ниÑего неÑ",children:(0,i.jsx)(d.$n,{fullWidth:!0,href:u.R.HOME,size:"large",onClick:()=>e.close(),children:"ÐеÑейÑи в менÑ"})})}},90997:e=>{e.exports={root:"PhoneVerificationForm_root__Soffd",input:"PhoneVerificationForm_input__6Bj48",button:"PhoneVerificationForm_button__9ATpc"}},92228:e=>{e.exports={root:"Counter_root__zH351",button:"Counter_button__TDYYY",buttonDisabled:"Counter_buttonDisabled__kyOho",count:"Counter_count__H1_iK",minus_icon:"Counter_minus_icon__nbTHa",plus_icon:"Counter_plus_icon__JgdRq",input:"Counter_input__v_xik"}},92591:(e,t,l)=>{"use strict";l.d(t,{$:()=>n,c:()=>a});let n=e=>(+e).toFixed(0)+" â½",a=(e,t=null)=>(1e3*e).toFixed(0)+" "+(t||"гÑ.")},96623:(e,t,l)=>{"use strict";l.d(t,{i:()=>m});var n=l(89142),a=l(94070),r=l(46001),s=l.n(r),o=l(98807),i=l.n(o),c=l(75875),d=l(24924),u=l(44594),_=l.n(u);let m=({localities:e,onChange:t,selectedLocalityId:l})=>{let r=(0,a.useRef)(null),[o,u]=(0,a.useState)(!1),[m,h]=(0,a.useState)(null);(0,c.Wr)(r,(0,a.useCallback)(()=>{u(!1)},[]));let p=(0,a.useCallback)(()=>{u(e=>!e)},[]),v=(0,a.useCallback)(i()(e=>()=>{t(e),u(!1)}),[t]),f=(0,a.useMemo)(()=>e.find(e=>e.id===l),[e,l]);return(0,n.jsxs)("div",{ref:r,className:_().select,children:[(0,n.jsx)("div",{ref:h,className:_().toggle,onClick:p,children:f.name}
31),o&&(0,n.jsx)(d.AM,{anchorEl:m,className:_().popover,children:e.map(e=>(0,n.jsx)("div",{className:s()(_().locality,{[_().localitySelected]:e.id===l}),onClick:v(e.id),children:e.name},e.id))})]})}},96743:e=>{e.exports={container:"LocationInput_container__9XBJR",input:"LocationInput_input__GOnh6",dropdown:"LocationInput_dropdown__kXxhT",dropdownEmpty:"LocationInput_dropdownEmpty__kkXTN",suggestion:"LocationInput_suggestion__3K_fN"}},96951:e=>{e.exports={informerHolder:"FreeDeliveryInformer_informerHolder__9hxIH"}},98620:(e,t,l)=>{"use strict";l.d(t,{A:()=>c});var n,a,r,s,o=l(94070);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}let c=function(e){return o.createElement("svg",i({width:56,height:56,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n||(n=o.createElement("path",{opacity:.4,d:"M20.72 10.733c-1.867-8.073-14.023-8.096-15.89 0-1.097 4.737 1.913 8.75 4.527 11.247a5.01 5.01 0 0 0 6.836 0c2.614-2.497 5.6-6.51 4.527-11.247Zm-7.863 3.734a2.34 2.34 0 0 1-2.334-2.334c0-1.283 1.027-2.333 2.31-2.333h.024a2.325 2.325 0 0 1 2.333 2.333 2.325 2.325 0 0 1-2.333 2.334Z",fill:"#FA7305"})),a||(a=o.createElement("path",{d:"M15.19 12.133a2.325 2.325 0 0 1-2.333 2.334 2.34 2.34 0 0 1-2.334-2.334c0-1.283 1.027-2.333 2.31-2.333h.024a2.325 2.325 0 0 1 2.333 2.333Z",fill:"#FA7305"})),r||(r=o.createElement("path",{opacity:.4,d:"M51.123 38.733c-1.866-8.073-14.07-8.096-15.96 0-1.096 4.737 1.914 8.75 4.55 11.247 1.914 1.797 4.947 1.797 6.86 0 2.637-2.497 5.647-6.51 4.55-11.247Zm-7.886 3.734a2.34 2.34 0 0 1-2.334-2.334c0-1.283 1.027-2.333 2.31-2.333h.024a2.34 2.34 0 0 1 2.333 2.333 2.34 2.34 0 0 1-2.333 2.334Z",fill:"#FA7305"})),s||(s=o.createElement("path",{d:"M45.57 40.133a2.34 2.34 0 0 1-2.333 2.334 2.34 2.34 0 0 1-2.334-2.334c0-1.283 1.027-2.333 2.31-2.333h.024a2.34 2.34 0 0 1 2.333 2.333ZM28 46.083h-6.253c-2.707 0-5.064-1.633-5.997-4.153-.957-2.52-.257-5.297 1.773-7.093l18.644-16.31c1.12-.98 1.143-2.31.816-3.22-.35-.91-1.236-1.89-2.73-1.89H28c-.957 0-1.75-.794-1.75-1.75 0-.957.793-1.75 1.75-1.75h6.253c2.707 0 5.064 1.633 5.997 4.153.957 2.52.257 5.297-1.773 7.093l-18.644 16.31c-1.12.98-1.143 2.31-.816 3.22.35.91 1.236 1.89 2.73 1.89H28c.957 0 1.75.794 1.75 1.75 0 .957-.793 1.75-1.75 1.75Z",fill:"#FA7305"})))}},99587:e=>{e.exports={select:"OrderTypeSelect_select__bgADl",option:"OrderTypeSelect_option__1_D3l",optionSelected:"OrderTypeSelect_optionSelected__qwt0z",discountLabel:"OrderTypeSelect_discountLabel__Rfs76"}},99802:e=>{e.exports={modal:"LoginModal_modal__CA1sZ",title:"LoginModal_title__0nRCj",subTitle:"LoginModal_subTitle__pxEyc",editPhoneNumber:"LoginModal_editPhoneNumber___iLP0",phoneNumber:"LoginModal_phoneNumber__8VGAc",edit:"LoginModal_edit__wq8pa",agreementText:"LoginModal_agreementText___OZS6"}}}]);
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.