"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6973],{82463:function(e,t,i){var n=i(35944),l=i(67294),o=i(66455),r=i(70917),a=i(34665),d=i(22149),c=i(65586),s=i(43331);let p=(0,r.iv)("padding:15px 15px;overflow:hidden;",a._Q.tablet,"{padding:0;}"),h=(0,r.iv)("margin-bottom:25px;",a._Q.tablet,"{font-size:18px;}"),x=(0,r.iv)("background-color:",a.wL.white,";",a._Q.tablet,"{padding:15px;}");t.Z=(0,l.memo)(function(e){let{facilitiesOfWeek:t,providerMap:i,disableCenter:r,location:u,page:g,providerWidget:m,handleOnExit:v,handleOnPhoneCall:f,handleOnClickProvider:b,defaultParams:Z,cardType:w=1}=e,k=(0,l.useRef)(null),[y]=(0,l.useState)([]),[L,B]=(0,l.useState)(t),[z]=(0,l.useState)("FACILITIES_OF_WEEK");return(0,l.useEffect)(()=>{B([...t])},[t]),(0,n.tZ)(o.Box,{css:[a.o4,x],children:(0,n.BX)(d.Z,{mt:"10px",ref:k,externalCss:[!r&&a.z1,p],children:[(0,n.tZ)(c.Z,{fontSize:26,fontWeight:600,externalCss:h,content:"".concat(u||"Lokasyon"," Otelleri")}),(0,n.tZ)(s.Z,{facilities:"FACILITIES_OF_WEEK"===z?L:y,providerMap:i,location:u||"",isNearBy:!1,page:g||"",providerWidget:m,handleOnExit:v,handleOnPhoneCall:f,handleOnClickProvider:b,defaultParams:Z,cardType:w})]})})})},97711:function(e,t,i){var n=i(35944),l=i(66455),o=i(70917),r=i(34665),a=i(18108),d=i(78707),c=i(4284),s=i(5793),p=i(69767),h=i(5152);let x=i.n(h)()(()=>Promise.all([i.e(513),i.e(9774),i.e(9269),i.e(2542)]).then(i.bind(i,52542)),{loadableGenerated:{webpack:()=>[52542]},ssr:!1}),u=e=>(0,o.iv)("border-radius:4px;overflow:hidden;cursor:pointer;",e&&"text-align:center;"," background-color:",r.wL.white,";"),g=e=>(0,o.iv)("min-width:332px;width:",e?"100%":"332px",";height:112px;position:relative;",r._Q.tablet,"{width:100%;}");t.Z=function(e){let{onClick:t,fullWidth:i,hasLocationPin:o,centered:h,bordered:m,isGoogleBot:v,openInMapOptions:f,poiListItems:b}=e;return(0,n.BX)(l.Box,{css:[u(h),m&&r.zp],onClick:t,children:[(0,n.tZ)(l.Box,{css:g(i),children:v?(0,n.tZ)(d.h,{src:"".concat(p.kq,"map-preview.jpg"),alt:"\xd6rnek Harita G\xf6rseli",layout:"fill",objectFit:"cover"}):(0,n.tZ)(x,{mapProps:{lat:(null==f?void 0:f.lat)||38.9573415,lng:(null==f?void 0:f.lng)||35.240741,zoom:(null==f?void 0:f.zoom)||5},listItem:b})}),(0,n.tZ)(l.Flex,{alignItems:"center",justifyContent:h&&"center",mt:"16px",pb:"11px",children:o?(0,n.BX)(n.HY,{children:[" ",(0,n.tZ)(s.Z,{})," Haritayı G\xf6r\xfcnt\xfcle"," "]}):(0,n.BX)(n.HY,{children:[(0,n.tZ)(c.Z,{asButton:!0,children:"Haritada g\xf6r"}),(0,n.tZ)(a.Z,{})]})})]})}},24516:function(e,t,i){var n=i(35944),l=i(70917),o=i(66455),r=i(67294),a=i(34665);let d=(0,l.iv)("background-color:",a.wL.white,";padding:15px;max-width:450px;max-height:452px;overflow-y:scroll;border:solid 1px ",a.wL.veryLightPink2,";height:163px;h1,h2,h3,h4,h5,h6{color:",a.wL.black,";margin:0 0 5px 0;}li:first-of-type,li:first-of-type,ul{margin-top:10px;}&::-webkit-scrollbar{width:10px;}&::-webkit-scrollbar-thumb{border-radius:7.5px;background-color:",a.wL.veryLightPink2,";}& a{color:",a.wL.remoteBlueLink,";text-decoration:none;background-color:initial;}",a._Q.tablet,"{max-width:100%;max-height:225px;margin:25px 0 0 0;}"),c=(0,l.iv)("font-size:12px;line-height:18px;color:",a.wL.brownGrey3,";");t.Z=function(e){let[t,i]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{i(!0)},[]),(0,n.tZ)(o.Box,{ml:"31px",css:[d,e.externalCss],suppressHydrationWarning:!0,children:(0,n.tZ)("div",{css:c,suppressHydrationWarning:!0,children:t?(0,n.tZ)("div",{dangerouslySetInnerHTML:{__html:e.content},suppressHydrationWarning:!0}):(0,n.tZ)("div",{suppressHydrationWarning:!0})})})}},54178:function(e,t,i){var n=i(35944);i(67294);var l=i(66455),o=i(33463),r=i(34665);t.Z=function(e){let{rating:t,color:i,fontSize:a}=e,d=Math.floor(t);return(0,n.BX)(l.Flex,{children:[(0,n.tZ)(o.Z,{fontSize:null!=a?a:18,color:null!=i?i:r.wL.blue3,bold:!0,children:"₺ ".repeat(d)}),(0,n.tZ)(o.Z,{fontSize:null!=a?a:18,color:null!=i?i:r.wL.blue3,bold:!0,ml:"5px",style:{opacity:.3},children:"₺ ".repeat(5-d)})]})}},14014:function(e,t,i){var n=i(35944),l=i(70917),o=i(34665);let r={small:[16,8,22],normal:[12,20,22],lg:[22,11,19.5]},a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"normal",[i,n,a]=r[t];return(0,l.iv)("padding:",n,"px ",i,"px;background-color:",o.wL.white,";border-radius:",a,"px;border:solid 1px ",e?o.wL.black:o.wL.veryLightPink2,";font-weight:",e?"600":"400",";display:inline-flex;text-align:center;flex-direction:column;align-items:center;justify-content:space-between;cursor:pointer;font-size:14px;letter-spacing:0.5px;&:hover{border-color:",o.wL.black,";text-shadow:0.25px 0px 0.1px,-0.25px 0px 0.1px;}&::after{content:attr(datatext);height:0;visibility:hidden;overflow:hidden;user-select:none;pointer-events:none;font-weight:600;@media speech{display:none;}}")};t.Z=function(e){let{children:t,active:i,size:l,externalCss:o,...r}=e;return(0,n.tZ)("div",{css:[a(i,l),o],datatext:t,title:t,...r,children:t})}},81819:function(e,t,i){var n=i(35944),l=i(67294),o=i(70917),r=i(97126),a=i(14014),d=i(86549),c=i(1092);let s=(0,o.iv)("padding:8px 15px;&:not(:last-child){margin-right:8px;}"),p=(0,o.iv)("padding:0 15px 0 0;&::-webkit-scrollbar{display:none;}");t.Z=(0,l.memo)(function(e){let{items:t,onChange:i,hasRedirect:o,externalCss:h,activeItemName:x,isPoiListing:u}=e,[g,m]=(0,l.useState)(x||""),v=(0,l.useMemo)(()=>o?t.map((e,t)=>{let{name:l,ref:o}=e;return(0,n.tZ)(d.Z,{href:"/".concat(o),title:l,onClick:()=>{i&&i(o),u&&(0,c.AB)((0,c.IO)(l))},children:(0,n.tZ)(a.Z,{active:l===g,externalCss:s,children:l},t)},t)}):t.map((e,t)=>{let{name:l,ref:o}=e;return(0,n.tZ)(a.Z,{active:l===g,onClick:()=>{u&&(0,c.AB)((0,c.IO)(l)),m(l),i&&i(o)},externalCss:s,children:l},t)}),[t,g]);return(0,n.tZ)(r.Z,{css:[p,h],hideScrollLine:!0,noWrap:!0,children:v})})},65107:function(e,t,i){i.d(t,{Z:function(){return S}});var n=i(35944),l=i(67294),o=i(74974),r=i(22149),a=i(34665),d=i(66455),c=i(70917),s=i(1205),p=i(33463),h=i(27484),x=i.n(h),u=i(78707),g=i(30337),m=i(69767),v=i(86549),f=i(63297),b=function(e){let{comment:t,externalCss:i,pageUrlSpecification:l,...o}=e,r=(0,g.i)().width<=a.Op;return(0,n.BX)(d.Flex,{css:[Z,i],...o,children:[(0,n.BX)(d.Flex,{flexDirection:"column",css:[w,z],width:.2,children:[(0,n.BX)(p.Z,{weight:"bold",size:16,mb:"8px",children:[t.rating,"/5 ",t.ratingText]}),(0,n.BX)(d.Flex,{children:[(0,n.tZ)(u.h,{src:"".concat(m.kq,"logoicon-sm.svg"),width:14,height:15,layout:"fixed",alt:"Neredekal Değerlendirme"}),(0,n.tZ)(s.Z,{rating:t.rating,width:14,height:14})]}),(0,n.tZ)(p.Z,{fontSize:14,color:a.wL.brownGrey2,externalCss:L,weight:400,children:x()(t.date).format("DD.MM.YYYY")}),(0,n.tZ)(p.Z,{size:"14",weight:"normal",children:null==t?void 0:t.userName})]}),(0,n.BX)(d.Box,{css:k,width:.8,children:[(0,n.BX)(d.Box,{mb:"14px",css:B,children:[(0,n.tZ)(v.Z,{fontSize:14,href:"/".concat(t.slug,"-").concat(l),title:t.catalogName,children:(0,n.BX)(p.Z,{mb:"10px",children:[t.catalogName," i\xe7in yapılan yorum"]})}),(0,n.tZ)(p.Z,{dangerouslySetInnerHTML:{__html:t.title},suppressHydrationWarning:!0}),(0,n.tZ)(f.Z,{html:t.comment,maxHeight:r?54:void 0,externalCss:_})]}),t.reply&&(0,n.BX)(d.Box,{css:y,children:[(0,n.tZ)(p.Z,{mt:1,size:14,weight:600,children:"Tesis Cevabı"}),(0,n.tZ)(p.Z,{mt:"6px",weight:400,size:14,children:t.reply})]})]})]})};let Z=(0,c.iv)("width:auto;font-size:12px;font-weight:bold;border-radius:4px;padding:25px 24px 25px 25px;&:not(:last-child){margin-bottom:15px;border-bottom:1px solid ",a.wL.veryLightPink2,";}",a._Q.tablet,"{display:block;padding:0;&:not(:last-child){margin-bottom:8px;}}"),w=(0,c.iv)("font-size:16px;font-weight:bold;padding-bottom:5px;",a._Q.tablet,"{width:100%;}"),k=(0,c.iv)("margin-left:50px;font-size:14px;",a._Q.tablet,"{margin-left:0;width:100%;}"),y=(0,c.iv)("padding-top:14px;border-top:solid 0.7px ",a.wL.veryLightPink2,";"),L=(0,c.iv)("margin-top:2px;",a._Q.tablet,"{margin-top:8px;font-size:12px;}"),B=(0,c.iv)("font-size:12px;"),z=(0,c.iv)(a._Q.tablet,"{font-size:14px;}"),_=(0,c.iv)("margin-top:6px;font-size:12px;",a._Q.tablet,"{margin-top:5px;max-height:54px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;}");var C=i(27734),S=(0,l.memo)(function(e){let{comment:t,title:i,pageSlug:c,pageUrlSpecification:s,listParams:h}=e,[x,u]=(0,l.useState)((null==t?void 0:t.comments)||[]),[g,m]=(0,l.useState)(1),v=(0,l.useMemo)(()=>Math.ceil(((null==t?void 0:t.count)||0)/5),[null==t?void 0:t.comments]);(0,l.useEffect)(()=>{g>1&&(0,o.og)({...h,slug:c,skip:(g-1)*5+5,take:5},!1).then(e=>{var t,i,n,l;u(x?[...x,...null!==(n=null===(t=e.body)||void 0===t?void 0:t.comments)&&void 0!==n?n:[]]:[...null!==(l=null===(i=e.body)||void 0===i?void 0:i.comments)&&void 0!==l?l:[]])})},[g]);let f=(0,l.useMemo)(()=>gZ(),children:["Daha fazla yorum g\xf6r"," ",(0,n.tZ)(d.Flex,{css:H,children:(0,n.tZ)(C.Z,{})})]}):"",[g]),Z=(0,l.useCallback)(()=>{m(g+1)},[g]);return(0,n.BX)(r.Z,{mt:"15px",externalCss:[a.o4,a.zp,X],children:[(0,n.BX)(p.Z,{size:22,weight:"bold",children:[i," ","İ\xe7in Yapılan Yorumlar"]}),(0,n.tZ)(d.Box,{css:Q,children:x.map((e,t)=>(0,n.tZ)(b,{comment:e,pageUrlSpecification:s},t))}),f]})});let X=(0,c.iv)("padding:25px;",a._Q.tablet,"{padding:20px;}"),Q=(0,c.iv)("margin-top:15px;border-top:1px solid ",a.wL.veryLightPink2,";"),E=(0,c.iv)("cursor:pointer;align-items:center;font-size:13px;color:",a.wL.blue3,";&:hover{text-decoration:underline;}"),H=(0,c.iv)("align-items:center;&:hover{cursor:pointer;}")},75321:function(e,t,i){var n=i(35944),l=i(67294),o=i(70917),r=i(22149),a=i(34665),d=i(63297);let c=(0,o.iv)("margin:0;font-size:24px;font-weight:bold;"),s=(0,o.iv)('position:relative;margin-top:12px;line-height:1.42;letter-spacing:0.43px;&::before{content:"";width:100%;height:45px;position:absolute;bottom:0;display:block;}');t.Z=(0,l.memo)(function(e){let{title:t,externalCss:i,content:l}=e;return(0,n.BX)(r.Z,{css:[a.o4,i],children:[(0,n.tZ)("h2",{css:c,children:t}),(0,n.tZ)(d.Z,{html:l,externalCss:s,notSeeMoreLessLink:!0})]})})},33088:function(e,t,i){var n=i(35944),l=i(67294),o=i(34665),r=i(70917),a=i(56757),d=i(3205),c=i(57404);let s=(0,r.iv)("font-size:24px;font-weight:600;margin:0 0 20px 0;",o._Q.tablet,"{font-size:18px;margin:0 0 15px 0;}"),p=(0,r.iv)("margin-top:9px;"),h=(0,r.iv)("padding:25px;background-color:white;margin-bottom:15px;a{display:inline-block;text-decoration:none;margin:0 12px 12px 0;padding:12px 25px;font-size:15px;background-color:",o.wL.paleGrey,";color:",o.wL.black,";",o._Q.tablet,"{font-size:12px;}&:hover{color:",o.wL.blue3,";}}");t.Z=l.memo(function(e){var t,i;let[o,r]=(0,l.useState)(!1),x=l.useMemo(()=>(0,n.tZ)(d.Z,{expanded:o,setExpanded:r,externalCss:p}),[o]),{subLocation:u,locationName:g,onClick:m}=e;if(!(null==u?void 0:null===(i=u.data)||void 0===i?void 0:null===(t=i.collection)||void 0===t?void 0:t.length))return null;let v=(0,l.useMemo)(()=>{var e,t;let i=null==u?void 0:null===(t=u.data)||void 0===t?void 0:null===(e=t.collection)||void 0===e?void 0:e.sort((e,t)=>e.sort-t.sort),l=(0,a.By)(i);return null==l?void 0:l.map((e,t)=>(0,n.tZ)("span",{children:null==e?void 0:e.map((e,t)=>{let i=e.slug.replace(/\/?$/,"/");return(0,n.tZ)("a",{onClick:m,href:"/".concat(i),title:e.name,children:e.name},t)})},t))},[u,m]);return(0,n.BX)("div",{css:h,children:[(0,n.BX)("h2",{css:s,children:[(0,c.fm)(null!=g?g:"")||"Tesis"," Alt B\xf6lgeleri"]}),o?v:v[0],x]})},()=>!0)}}]);