import{r as t,j as o}from"./react-B_SyE9nW.js";import{o as i,n as s,ao as r}from"./index-DVx3XUkT.js";import{H as e,S as m}from"./HomeContext-BNcXqVuR.js";import{S as p}from"./SearchMap-BBAveyfR.js";import{B as j,u as n,a as c}from"./BaseTopLayout-D4povWSF.js";import{u as a}from"./useCuisineRoute-Dfn0ASFv.js";import{u,c as l}from"./Switch-a8Hc4XU-.js";import"./history-CBi_mSPs.js";import"./styled-components-D7wwngcN.js";import"./sentry-Br0bWdGN.js";import"./PublishContext-BPIl0LWV.js";import"./BusinessReviewStore-B1li4-uN.js";import"./CoreServices-SqNJAolu.js";import"./embla-carousel-react.esm-NewS-kch.js";import"./BtnShadow-C8wlgmJV.js";import"./index-HT-5AD7E.js";import"./BackIco-8zMErfY7.js";import"./Stack-DWxbwU3r.js";import"./index-CWdensOV.js";import"./createSvgIcon-CRufxXOX.js";import"./BtnRestart-Y6iH4BTJ.js";import"./BtnGeneric-VNHvyqX_.js";import"./ItemLoading-B0qbhEL4.js";import"./SearchRating-B2uAkqf5.js";import"./FldText-CoGyGXSJ.js";import"./styles-Dr-0T67S.js";import"./GlobalStyles-DQe6i-JI.js";import"./RatingReview-1uOdijm5.js";import"./Grid-DRA5GTmM.js";import"./ActivityIco-DkU_vd49.js";import"./FldRadioSort-Bt-3y7YR.js";import"./BtnIconRounded-CfwY9W7B.js";import"./DeliveryIco-s-WO99Xm.js";import"./DownIco-B67nTPsD.js";import"./FldIngredients-BngvrW3W.js";import"./FldCuisineType-DJPkWJ2_.js";import"./BtnAccept-DuA7pTxU.js";import"./BtnCancel-B4o76N3R.js";import"./Autocomplete-B-M5Q-AZ.js";import"./index-dbPBR86R.js";import"./usePreviousProps-GIwTB3Ki.js";import"./Checkbox-Ctz9c9jx.js";import"./SwitchBase-BkR_KtPc.js";import"./listItemButtonClasses-0sZQWNAV.js";import"./AccordionSummary-BIfMWSAn.js";import"./useSlot-48k3ed2d.js";import"./FldRadio-B86iYBMu.js";import"./RatingReviewTitle-BHMCdk_D.js";import"./SubTitle-CIQFjien.js";import"./BusinessIco-DqvV2WuT.js";import"./Url-C6XTBQVE.js";import"./BtnSReply-6abPDBDT.js";import"./EditIco-sjndGYzv.js";import"./TrashIco-CXUipucv.js";import"./CircleCheckIco-BY245pyQ.js";import"./FacebookIco-CJReqDRM.js";import"./TwitterIco-DhWIHfJt.js";import"./NoFound-CkLZ6FHd.js";import"./NoFoundIco-CCMbds0r.js";import"./PublishIco-CTt5pd1e.js";import"./PublishRedirect-Cs6SvL_-.js";import"./HelpMenu-Bvny7lm2.js";import"./FAQIco-CLFzVWzH.js";import"./WarningIco-BqWiG8sL.js";import"./ContactContext-DBdgNkfH.js";import"./Divider-CvF4q94n.js";import"./NoOptionsText-CNa8Bm1k.js";import"./Address-D7cjbXj0.js";import"./FldSwitch-BfSVJdBw.js";import"./PopperGoogle-CfjtFHGm.js";import"./NearIco-CYQYG08Z.js";import"./GoogleIdentityStoreContext-DPdR2OJT.js";import"./SearchIco-DTCP2lIv.js";import"./BaseList-BS6_vFm0.js";import"./BusinessContext-DGcTXG3r.js";import"./AddBusinessModal-DG9-oryx.js";import"./FldTextArea-C8EQrgi3.js";import"./FldTextSelect-CYrn0aFm.js";import"./FldAutocomplete-DdzXexOn.js";import"./ItemPict-D4zqD9pF.js";import"./PictureBox-DRdNsjma.js";import"./Tooltip-C3_xfLH8.js";const d=i((function({main_picture:i,name:m,slug:n,index:c}){const{onClickCuisineTag:u,getInfoCity:l}=t.useContext(e),d=t.useContext(p),C=a(m,n);return o.jsx(j,{src:i,title:m,order:String(Number(c||0)+1),onClick:()=>{r.resetZoom(),u(m,n,d,C)},alt:s("alt.top.cuisine",{name:m,city:l}),tooltip:s("searchCuisine",{cuisine:m.toLowerCase()}),sx:{"&":{"@media(min-width:1366px)":{"& > p":{fontSize:"16px"}}}},route:C},n)}));const C=i((function(){return n(m.TOP_CUISINE_TYPES_NEAR,"topCuisines"),t.useLayoutEffect((()=>(u("route.top.cuisine"),l)),[]),o.jsx(c,{Cmp:d})}));export{C as default};