(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4903],{93059:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/place-detail",function(){return i(36428)}])},36428:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSP:function(){return Q},default:function(){return q}});var a=i(35944),l=i(67294),o=i(41187),n=i(30427),d=i(1063),r=i(70917),c=i(72078),s=i(66066),u=i(74573),p=i(19151),v=i(68293),f=i(66455);i(8882);var g=i(34665),m=i(61787),h=i(22149),y=i(31238),Z=i(64641),w=i(26146),b=i(1092),x=i(44108),_=i(28455),P=i(94145),T=i(5152),R=i.n(T),k=i(51217),C=i(11526);i(57404);var S=i(62209);i(27616);var B=i(94019),O=i(43603),M=i(60721);let I=R()(()=>i.e(9725).then(i.bind(i,19725)),{loadableGenerated:{webpack:()=>[19725]},ssr:!1}),N=(0,r.iv)("overflow:hidden;"),E=(0,r.iv)(g._Q.tablet,"{width:100%;}"),X=(0,r.iv)(g._Q.tablet,"{display:none;}"),z=(0,r.iv)("padding:0 15px 20px 15px;"),L=(0,r.iv)("padding:15px 0;height:105px;"),W=(0,r.iv)("padding:15px 0;"),F=(0,r.iv)(".leaflet-top.leaflet-left{top:60px !important;}"),G=(0,r.iv)("background-color:rgba(0,0,0,0.5);z-index:103;"),H=(0,r.iv)("padding:20px;");var j=(0,l.memo)(function(e){var t,i,o,n;let{detail:r,gallery:T,comment:R,amenities:S,blogPosts:j,popularFacilities:A,handleAuthModalOpen:D,breadCrumbData:Q,kitchenTypeValue:q,defaultParams:K,nearByFacilitiesWidgetProps:U,providerMap:V,accTypeMap:Y,isGoogleBot:J}=e,$=l.useRef(null),ee=l.useRef(null),et=l.useRef(null),ei=l.useRef(null),ea=l.useRef(null),el=l.useRef(null),[eo,en]=(0,l.useState)(!1),[ed,er]=(0,l.useState)(!1),[ec,es]=(0,l.useState)(""),[eu,ep]=(0,l.useState)(k.g),[ev,ef]=(0,l.useState)(0),{userPersonal:eg}=(0,l.useContext)(C.S),[em,eh]=(0,l.useState)(!1),ey=(0,l.useCallback)(()=>{eh(!0)},[]),eZ=(0,l.useCallback)(()=>{(0,b.AB)((0,b.dG)()),en(!0)},[eo]),ew=(0,l.useMemo)(()=>{var e,t;return(null==r?void 0:null===(t=r.catalogProperties)||void 0===t?void 0:null===(e=t.filter(e=>"ucretli-place"==e.code)[0])||void 0===e?void 0:e.value)=="True"},[r.catalogProperties]),eb=(0,l.useMemo)(()=>{var e,t,i;return null!==(i=parseInt(null==r?void 0:null===(t=r.catalogProperties)||void 0===t?void 0:null===(e=t.filter(e=>"place-fiyat-skoru"==e.code)[0])||void 0===e?void 0:e.value))&&void 0!==i?i:0},[r.catalogProperties]),ex=(0,l.useCallback)(()=>er(!1),[]);return(0,a.BX)(h.Z,{externalCss:[g.z1,z],children:[(0,a.tZ)(_.Z,{detail:r,breadCrumbData:Q}),(0,a.tZ)(d.Z,{priceRating:eb,kitchenType:null!=q?q:[],detail:r,gallery:T}),!em&&(0,a.tZ)(m.Z,{genRef:$,aboutRef:ei,commentRef:ee,locationRef:et,detailRef:ea,blogRef:el,pageName:"Restaurant"}),(0,a.BX)(f.Flex,{css:N,children:[(0,a.BX)(f.Box,{css:E,width:"70%",mr:"30px",children:[(0,a.tZ)(s.Z,{openMapOverlay:eZ,sectionRef:$,pageTypeKey:"place",isPaid:ew,detail:r,comment:R,commentsRef:ee,aboutRef:ei,amenities:S}),(null==r?void 0:r.profile)&&(0,a.tZ)(f.Box,{css:N,m:"10px 0 0 0",children:(0,a.tZ)(u.Z,{title:r.name,content:null==r?void 0:r.profile})}),(0,a.tZ)(Z.default,{externalCss:L,id:"div-gpt-ad-1615282818891-0"}),(0,a.tZ)(c.Z,{title:null==r?void 0:r.name,handleCommentModalOpen:ey,handleAuthModalOpen:D,pageType:"poi",commentsRef:ee,comment:R,objectId:r.objectId}),(0,a.tZ)(v.Z,{sectionRef:et,amenities:S,location:r.locationTree,setShowMapOverlay:eZ,address:r.catalogAddress,pageType:"poi-detail",openInMapOptions:{lat:null==r?void 0:r.latitude,lng:null==r?void 0:r.longitude,zoom:10},isGoogleBot:J,catalogType:w.H.Poi,nearByFacilitiesWidgetProps:U,providerMap:V,defaultParams:K,handleOnExit:e=>{window.location.href="/".concat(e.slug,"-fiyatlari/")},handleOnPhoneCall:e=>{window.location.href="/".concat(e.slug,"-fiyatlari/")},handleOnClickProvider:e=>{window.location.href="/".concat(e.slug,"-fiyatlari/")},seeMoreFacilities:!0})]}),(0,a.BX)(f.Box,{css:X,width:1/3,children:[A&&(null===(t=A.facilityListOfWidget)||void 0===t?void 0:t.length)>0&&(0,a.tZ)(f.Box,{css:[g.o4,H],children:(0,a.tZ)(M.Z,{title:A.facilityWidgetBoxTitle,facilityList:A.facilityListOfWidget,providerMap:V,defaultParams:K,isNearBy:!0,page:A.page,handleOnExit:e=>{window.location.href="/".concat(e.slug,"-fiyatlari/")},handleOnPhoneCall:e=>{window.location.href="/".concat(e.slug,"-fiyatlari/")},handleOnClickProvider:e=>{window.location.href="/".concat(e.slug,"-fiyatlari/")},providerWidget:A.providerWidget,location:A.location||"",cardType:A.cardType,locationSlug:A.locationSlug,catalogType:A.catalogType,isCardsVertical:!0})}),(0,a.tZ)(Z.default,{externalCss:W,id:"div-gpt-ad-1615282785648-0"})]})]}),j&&(0,a.tZ)(p.Z,{sectionRef:el,items:j.data,catalogType:w.H.Place}),(0,a.tZ)(I,{disableButton:!0,openOverlayFromParent:eo,setOverlayFromParent:en,disableNears:!0,title:r.name,listItems:[r],listType:P.k.Poi,catalogType:w.H.Place,externalCss:F,isPoiListing:!1}),(0,a.tZ)(y.Z,{catalogType:w.H.Place,objectId:r.objectId,setShow:eh,show:em,title:r.name,locationTree:null!==(n=null==r?void 0:r.locationTree)&&void 0!==n?n:"",image:null==T?void 0:null===(o=T.photos)||void 0===o?void 0:null===(i=o[0])||void 0===i?void 0:i.image,detail:r,rating:null==R?void 0:R.rating,defaultParams:K}),(0,a.tZ)(B.Z,{containerStyle:G,show:ed,children:(0,a.tZ)(O.Z,{accTypeMap:Y,providerMap:V,callData:eu,id:ev,onClose:ex,phoneNumber:ec,page:U.page})}),(0,a.tZ)(x.Z,{isShow:!0})]})}),A=i(69767),D=i(31950),Q=!0,q=(0,l.memo)(function(e){var t,i,d,r,c,s;let{isGoogleBot:u}=e;return(0,l.useEffect)(()=>{(0,S.AB)((0,S.yq)("desktop","poi-detay"))},[]),(0,a.BX)(a.HY,{children:[(0,a.tZ)(n.Z,{breadcrumb:e.breadcrumbSchema,imageUrl:(null==e?void 0:null===(i=e.gallery)||void 0===i?void 0:null===(t=i.photos)||void 0===t?void 0:t[0].image)&&"".concat(A.Ik,"75/800x600/").concat(null===(c=e.gallery)||void 0===c?void 0:null===(r=c.photos)||void 0===r?void 0:null===(d=r[0])||void 0===d?void 0:d.image),title:e.meta.title,metaTitle:e.meta.title,metaDescription:e.meta.description,hotelSchemas:[e.poiSchema],analyticsInput:(0,b.GL)(e.detail),isGoogleBot:u,trackingParameters:[...D.c],noIndex:!(null===(s=e.detail)||void 0===s?void 0:s.metaRobots),adLists:[{id:"div-gpt-ad-1711717474558-0",name:"nkal_w_serit_tepe_1400x50",sizes:[[1400,50]]},{id:"div-gpt-ad-1615282818891-0",name:"nkal_w_detail_footer",sizes:[[930,30],[728,90],"fluid"]},{id:"div-gpt-ad-1615282785648-0",name:"nkal_w_detail_right",sizes:[[300,250],[160,600],[200,200],[300,600],"fluid",[250,250],[336,280],[120,600]]}]}),(0,a.tZ)(o.Z,{children:(0,a.tZ)(j,{...e})})]})},()=>!0)}},function(e){e.O(0,[9476,615,7285,2613,8333,3331,6169,2786,6667,7228,2888,9774,179],function(){return e(e.s=93059)}),_N_E=e.O()}]);