(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1312,404],{96036:function(e){var t;t=function(){return function(e,t,i){var l=t.prototype,n=function(e){return e&&(e.indexOf?e:e.s)},o=function(e,t,i,l,o){var a=e.name?e:e.$locale(),r=n(a[t]),d=n(a[i]),c=r||d.map(function(e){return e.slice(0,l)});if(!o)return c;var u=a.weekStart;return c.map(function(e,t){return c[(t+(u||0))%7]})},a=function(){return i.Ls[i.locale()]},r=function(e,t){return e.formats[t]||e.formats[t.toUpperCase()].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,i){return t||i.slice(1)})},d=function(){var e=this;return{months:function(t){return t?t.format("MMMM"):o(e,"months")},monthsShort:function(t){return t?t.format("MMM"):o(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format("dddd"):o(e,"weekdays")},weekdaysMin:function(t){return t?t.format("dd"):o(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(t){return t?t.format("ddd"):o(e,"weekdaysShort","weekdays",3)},longDateFormat:function(t){return r(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};l.localeData=function(){return d.bind(this)()},i.localeData=function(){var e=a();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return i.weekdays()},weekdaysShort:function(){return i.weekdaysShort()},weekdaysMin:function(){return i.weekdaysMin()},months:function(){return i.months()},monthsShort:function(){return i.monthsShort()},longDateFormat:function(t){return r(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},i.months=function(){return o(a(),"months")},i.monthsShort=function(){return o(a(),"monthsShort","months",3)},i.weekdays=function(e){return o(a(),"weekdays",null,null,e)},i.weekdaysShort=function(e){return o(a(),"weekdaysShort","weekdays",3,e)},i.weekdaysMin=function(e){return o(a(),"weekdaysMin","weekdays",2,e)}}},e.exports=t()},62705:function(e,t,i){var l=i(55639).Symbol;e.exports=l},44239:function(e,t,i){var l=i(62705),n=i(89607),o=i(2333),a=l?l.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?n(e):o(e)}},27561:function(e,t,i){var l=i(67990),n=/^\s+/;e.exports=function(e){return e?e.slice(0,l(e)+1).replace(n,""):e}},31957:function(e,t,i){var l="object"==typeof i.g&&i.g&&i.g.Object===Object&&i.g;e.exports=l},89607:function(e,t,i){var l=i(62705),n=Object.prototype,o=n.hasOwnProperty,a=n.toString,r=l?l.toStringTag:void 0;e.exports=function(e){var t=o.call(e,r),i=e[r];try{e[r]=void 0;var l=!0}catch(e){}var n=a.call(e);return l&&(t?e[r]=i:delete e[r]),n}},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},55639:function(e,t,i){var l=i(31957),n="object"==typeof self&&self&&self.Object===Object&&self,o=l||n||Function("return this")();e.exports=o},67990:function(e){var t=/\s/;e.exports=function(e){for(var i=e.length;i--&&t.test(e.charAt(i)););return i}},23279:function(e,t,i){var l=i(13218),n=i(7771),o=i(14841),a=Math.max,r=Math.min;e.exports=function(e,t,i){var d,c,u,s,v,p,f=0,h=!1,g=!1,m=!0;if("function"!=typeof e)throw TypeError("Expected a function");function x(t){var i=d,l=c;return d=c=void 0,f=t,s=e.apply(l,i)}function b(e){var i=e-p,l=e-f;return void 0===p||i>=t||i<0||g&&l>=u}function k(){var e,i,l,o=n();if(b(o))return y(o);v=setTimeout(k,(e=o-p,i=o-f,l=t-e,g?r(l,u-i):l))}function y(e){return(v=void 0,m&&d)?x(e):(d=c=void 0,s)}function w(){var e,i=n(),l=b(i);if(d=arguments,c=this,p=i,l){if(void 0===v)return f=e=p,v=setTimeout(k,t),h?x(e):s;if(g)return clearTimeout(v),v=setTimeout(k,t),x(p)}return void 0===v&&(v=setTimeout(k,t)),s}return t=o(t)||0,l(i)&&(h=!!i.leading,u=(g="maxWait"in i)?a(o(i.maxWait)||0,t):u,m="trailing"in i?!!i.trailing:m),w.cancel=function(){void 0!==v&&clearTimeout(v),f=0,d=p=c=v=void 0},w.flush=function(){return void 0===v?s:y(n())},w}},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},33448:function(e,t,i){var l=i(44239),n=i(37005);e.exports=function(e){return"symbol"==typeof e||n(e)&&"[object Symbol]"==l(e)}},7771:function(e,t,i){var l=i(55639);e.exports=function(){return l.Date.now()}},14841:function(e,t,i){var l=i(27561),n=i(13218),o=i(33448),a=0/0,r=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return a;if(n(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=n(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=l(e);var i=d.test(e);return i||c.test(e)?u(e.slice(2),i?2:8):r.test(e)?a:+e}},46564:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/tesis-detay",function(){return i(65551)}])},60721:function(e,t,i){"use strict";var l=i(35944),n=i(67294),o=i(66455),a=i(70917),r=i(34665),d=i(22149),c=i(65586),u=i(43331),s=i(26146),v=i(4284),p=i(12403);let f=(0,a.iv)("padding:0;overflow:hidden;"),h=(0,a.iv)("margin-bottom:25px !important;"),g=(0,a.iv)("margin-bottom:10px !important;justify-content:space-between;*{font-size:18px;}"),m=(0,a.iv)(r._Q.tablet,"{font-size:18px;}"),x=(0,a.iv)("font-size:18px !important;"),b=(0,a.iv)("background-color:transparent;padding:0 !important;");t.Z=(0,n.memo)(function(e){let{facilityList:t,providerMap:i,disableCenter:a,location:k,locationSlug:y,page:w,title:Z,isNearBy:C,handleOnExit:S,handleOnPhoneCall:M,handleOnClickProvider:z,providerWidget:P,cardType:B=p._.Vertical,seeMoreFacilities:_=!1,catalogType:T,isCardsVertical:I}=e,D=(0,n.useRef)(null),[O]=(0,n.useState)(!1),[Y,L]=(0,n.useState)(t||[]);return(0,n.useEffect)(()=>{L([...t||[]])},[t]),(0,l.tZ)(o.Box,{css:[r.o4,b],children:(0,l.BX)(d.Z,{mt:"10px",ref:D,externalCss:[!a&&r.z1,f],children:[(0,l.BX)(o.Flex,{css:[h,T===s.H.Poi||s.H.Attraction||s.H.Place?g:""],children:[(0,l.tZ)(c.Z,{fontSize:26,fontWeight:600,content:Z,externalCss:[m,T===s.H.Poi||s.H.Attraction||s.H.Place?x:""]}),_&&y&&(0,l.tZ)(v.Z,{href:"/".concat(y),children:"Daha fazla otel g\xf6r"})]}),(0,l.tZ)(u.Z,{facilities:Y,providerMap:i,page:w,loading:O,defaultParams:e.defaultParams,location:k,isNearBy:C,handleOnExit:S,handleOnPhoneCall:M,handleOnClickProvider:z,providerWidget:P,cardType:B,isCardsVertical:I})]})})})},44397:function(e,t,i){"use strict";var l=i(35944),n=i(70917),o=i(67294);let a=(e,t,i)=>(0,n.iv)("font-size:",e||"20px","px!important;font-weight:",t||"600",";margin:",null!=i?i:"0",";");t.Z=function(e){let{content:t,fontSize:i,fontWeight:n,margin:r,externalCss:d}=e;return(0,o.useCallback)(()=>(0,l.tZ)("div",{css:[a(i||24,n,r),d],children:t}),[t])()}},2685:function(e,t,i){"use strict";i.d(t,{t0:function(){return n},tE:function(){return l}});let l=8,n="https://cdn1.neredekal.com/res/blog/1671121070_kamp7-2jpg.jpeg"},51217:function(e,t,i){"use strict";i.d(t,{g:function(){return l}});let l={ta:"call",el:"call",pr1id:0,pr1nm:"",pr1br:"",pr1cd9:0,pr1ca:"",pr1va:"standart-oda",pr1ps:0,cd6:"desktop",cd7:"",cd50:"",cd51:"",pr1cd11:0,pr1cd13:1,hasMemberShip:!0,exitPrice:0,adultCount:0,childCount:0,childAges:"",isDefaultParams:!1,accommodationTypeName:"",accommodationTypeId:0,paid:!1,exitUrl:"",chrg:"",priceQueryId:"",itemListName:"",providerWidget:"main"}},90404:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return Z}});var l=i(35944),n=i(67294),o=i(66455),a=i(70917),r=i(34665),d=i(18108),c=i(78707),u=i(4284),s=i(69767),v=i(5152),p=i.n(v);let f=p()(()=>Promise.all([i.e(2072),i.e(9774),i.e(9269),i.e(2542)]).then(i.bind(i,52542)),{loadableGenerated:{webpack:()=>[52542]},ssr:!1}),h=e=>(0,a.iv)("border:1px solid ",r.wL.veryLightPink2,";border-radius:4px;overflow:hidden;cursor:pointer;",e?"border: 0;":""),g=e=>(0,a.iv)("width:100%;height:112px;position:relative;",r._Q.tablet,"{",e?"height: 88px;":"","}"),m=e=>(0,a.iv)("padding-top:8px;padding-bottom:8px;",e?"padding: 20px 0px 0px 0px;":""," ",e?"justify-content: flex-start;":""," ",r._Q.tablet,"{padding-top:10px;padding-bottom:10px;",e?"padding: 16px 0px 0px 0px;":"","}"),x=()=>(0,a.iv)("font-size:15px;",r._Q.tablet,"{font-size:13px;}");var b=function(e){let{onClick:t,renderTabletView:i,isGoogleBot:n,listItem:a}=e;return(0,l.BX)(o.Box,{css:h(i),onClick:t,children:[(0,l.tZ)(o.Box,{css:g(i),children:n?(0,l.tZ)(c.h,{src:"".concat(s.kq,"map-preview.png"),layout:"fill",objectFit:"cover",alt:"\xd6rnek Harita G\xf6rseli"}):(0,l.tZ)(f,{mapProps:{lat:(null==a?void 0:a.latitude)||38.9573415,lng:(null==a?void 0:a.longitude)||35.240741,zoom:12}})}),(0,l.BX)(o.Flex,{alignItems:"center",justifyContent:"center",css:m(i),children:[(0,l.tZ)(u.Z,{externalCss:x,asButton:!0,children:"Haritada g\xf6r"}),(0,l.tZ)(d.Z,{})]})]})},k=i(8882),y=i(1092);let w=p()(()=>Promise.all([i.e(9774),i.e(4042)]).then(i.bind(i,24042)),{loadableGenerated:{webpack:()=>[24042]},ssr:!1});var Z=function(e){let{listItem:t,checkin:i,checkout:o,providerMap:a,accTypeMap:r,handlePhoneModalOpen:d,renderTabletView:c,totalNights:u,catalogType:s,isPaidUrl:v,externalCss:p,setCallData:f,minZoom:h,isGoogleBot:g}=e,[m,x]=(0,n.useState)([t]),[Z,C]=(0,n.useState)(null),[S,M]=(0,n.useState)(!1),[z,P]=(0,n.useState)(null),[B,_]=(0,n.useState)({lat:t.latitude>10?t.latitude:38.963745,lng:t.longitude>10?t.longitude:35.243322,zoom:t.longitude<10?6.5:18}),[T,I]=(0,n.useState)(null),[D,O]=(0,n.useState)(!1),[Y,L]=(0,n.useState)(!1),Q=(0,n.useMemo)(()=>D&&!Y?m:[t],[t,m,D,Y]),R=(0,n.useCallback)(e=>e>=14?1:e>=13?3:5+Math.pow(2,12-e),[]),j=(0,n.useCallback)(async e=>{var l,n,a,r,d;L(!0);let c=e.lat,u=e.lng,s=R(e.zoom),p=JSON.stringify({cin:i,cout:o,act:null!==(r=null==t?void 0:null===(l=t.prices)||void 0===l?void 0:l.adultCount)&&void 0!==r?r:2,cas:null!==(d=null==t?void 0:null===(n=t.prices)||void 0===n?void 0:n.childAges)&&void 0!==d?d:0}),f=(null===(a=(await (0,k.jg)(c,u,s,25,p,v?"Paid":"Unpaid")).body)||void 0===a?void 0:a.catalogs)||[];f.length>0&&x([...f.filter(e=>e.objectId!==t.objectId),t]),L(!1)},[t]);(0,n.useEffect)(()=>{S&&j(B)},[S]),(0,n.useEffect)(()=>{if(T&&!Y){let e={...T};_(e),I(null),j(e)}},[m]);let N=(0,n.useCallback)(()=>{(0,y.AB)((0,y.dG)()),M(!0)},[]),A=(0,n.useCallback)(()=>{(0,y.AB)((0,y.UX)()),M(!1)},[]),X=(0,n.useCallback)(()=>{if(Z){let e=Z.getCenter().lat(),t=Z.getCenter().lng(),i=Math.abs(B.lat-e),l=Math.abs(B.lng-t),n=Z.getZoom(),o=Math.abs(n-B.zoom);if(i>.005||l>.005||o>1&&n<19){let i={lat:e,lng:t,zoom:n};Y?I(i):(_(i),j(i))}}},[B,Z,Y]),F=(0,n.useCallback)(()=>{O(e=>!e)},[]);return(0,l.BX)(l.HY,{children:[(0,l.tZ)(b,{onClick:N,renderTabletView:c,isGoogleBot:g,listItem:t}),(0,l.tZ)(w,{mapRef:Z,getMapRef:C,expandedMarker:z,setExpandedMarker:P,show:S,listItem:t,facilityList:Q,zoom:18,showOtherFacilities:D,onSetShowOtherFacilitiesClick:F,onClose:A,onMapDragEnd:X,onZoomChanged:X,providerMap:a,accTypeMap:r,handlePhoneModalOpen:d,totalNights:u,catalogType:s,externalCss:p,setCallData:f,minZoom:h})]})}},65551:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSP:function(){return e2},default:function(){return e5}});var l=i(35944),n=i(67294),o=i(30427),a=i(41187),r=i(70917),d=i(66455),c=i(34665),u=i(22149),s=i(75486),v=i(51790),p=i(18108),f=i(33463);let h=(0,r.iv)("font-size:21px;font-weight:600;display:flex;align-items:self-end;",c._Q.tablet,"{font-size:18px;}"),g=(0,r.iv)("font-size:21px;font-weight:600;margin:0px 7px -4px 0px;",c._Q.tablet,"{font-size:18px;margin:0px 8px -6px 0px;}"),m=(0,r.iv)("flex:0 0 25%;font-size:16px;font-weight:600;width:auto;height:auto;padding:0 3px 15px 0;background-color:",c.wL.white,";"),x=(0,r.iv)(c._Q.tablet,"{font-size:13px;}"),b=(0,r.iv)("margin-left:2px;",c._Q.tablet,"{font-size:18px;margin-left:1px;}"),k=(0,r.iv)("padding-top:20px;margin-bottom:-15px;",c._Q.tablet,"{padding-top:22px;}"),y=(0,r.iv)("margin-top:20px;",c._Q.tablet,"{margin-top:13px;}"),w=(0,r.iv)("font-size:14px;margin-top:4px;",c._Q.tablet,"{font-size:12px;margin-top:3px;}"),Z=(0,r.iv)("margin:0;font-size:18px;padding-top:19px;",c._Q.tablet,"{font-size:14px;}");var C=(0,n.memo)(function(e){let{comment:t,commentsRef:i}=e,o=(0,n.useCallback)(()=>{var e;let t=null===(e=i.current)||void 0===e?void 0:e.offsetTop;void 0!==t&&window.scroll({top:t,left:0,behavior:"smooth"})},[i]),a=(0,n.useCallback)(()=>{var e,i;return(null==t?void 0:t.count)&&(null==t?void 0:t.count)>0&&Number(null==t?void 0:t.rating)>0?(0,l.tZ)(s.Z,{scrollToReferance:o,ratingText:null!==(e=null==t?void 0:t.ratingText)&&void 0!==e?e:"",rating:null!==(i=null==t?void 0:t.rating)&&void 0!==i?i:1,commentCount:(null==t?void 0:t.count)||(null==t?void 0:t.reviewCount),ratingCss:h,ratingTextCss:g,ratingRingsCss:b,hideCommentCount:!0}):(0,l.tZ)(l.HY,{})},[t.rating]),r=(0,n.useMemo)(()=>{var e,i;return(null==t?void 0:t.badges)&&(null==t?void 0:null===(e=t.badges)||void 0===e?void 0:e.length)>0&&(0,l.BX)(l.HY,{children:[(0,l.tZ)("h2",{css:Z,children:"Misafirler Ne Dedi?"}),(0,l.tZ)(d.Flex,{flexDirection:"row",flexWrap:"wrap",justifyContent:"space-between",css:k,children:null==t?void 0:null===(i=t.badges)||void 0===i?void 0:i.slice(0,4).map((e,t)=>(0,l.tZ)(v.Z,{badge:e,externalCss:m,externalCountCss:w},t))})]})},[t.badges]);return(0,l.BX)(l.HY,{children:[(0,l.tZ)(d.Flex,{children:a()}),r,t&&(null==t?void 0:t.count)&&(null==t?void 0:t.count)>0?(0,l.BX)(d.Flex,{alignItems:"center",onClick:o,css:[y,c.Rx],children:[(0,l.tZ)(f.Z,{size:15,color:c.wL.blue3,css:x,children:"T\xfcm değerlendirmeleri g\xf6r"}),(0,l.tZ)(p.Z,{})]}):(0,l.tZ)(l.HY,{})]})}),S=i(78707),M=i(69767);let z=(0,r.iv)("padding-top:17px;justify-content:space-between;flex-flow:wrap;"),P=(0,r.iv)("padding-left:8px;",c._Q.tablet,"{font-size:13px;}");var B=(0,n.memo)(function(e){let{amenities:t}=e,[i,o]=(0,n.useState)([]);(0,n.useEffect)(()=>{if(null==t?void 0:t.data[0]){let e=[];t.data[0].subGroup&&t.data[0].subGroup.map((t,i)=>{var l;e=[...e,...null===(l=t.amenities)||void 0===l?void 0:l.filter(e=>!0==e.isPopular)]}),e.length>0&&o(e.slice(0,4))}},[t]);let a=(0,n.useMemo)(()=>i.length>0&&i.map((e,t)=>(0,l.BX)(d.Flex,{alignItems:"center",children:[(0,l.tZ)(S.h,{width:"24",height:"24",src:"".concat(M.kq,"amenity-icons/").concat(e.amenityIcon),alt:e.amenityDefaultName}),(0,l.tZ)(f.Z,{size:16,css:P,maxLines:1,children:null==e?void 0:e.amenityDefaultName})]},t)),[i]);return(0,l.tZ)(d.Flex,{css:z,children:a})}),_=i(90404),T=function(e){let{listItem:t,checkin:i,checkout:n,providerMap:o,accTypeMap:a,handlePhoneModalOpen:r,isPaidUrl:c,isGoogleBot:u}=e;return(0,l.BX)(d.Flex,{mt:"7px",children:[(0,l.BX)(d.Flex,{width:"52.5%",flexDirection:"column",children:[(0,l.tZ)("h2",{css:I,children:"Adres"}),(0,l.tZ)(d.Flex,{css:D,children:null==t?void 0:t.catalogAddress})]}),t&&(0,l.tZ)(d.Box,{width:"47.5%",children:(0,l.tZ)(_.default,{listItem:t,checkin:i,checkout:n,providerMap:o,accTypeMap:a,handlePhoneModalOpen:r,renderTabletView:!0,isPaidUrl:c,isGoogleBot:u})})]})};let I=(0,r.iv)("margin:0;font-size:18px;",c._Q.tablet,"{font-size:14px;}"),D=(0,r.iv)("flex-direction:column;padding-top:15px;padding-right:30px;font-size:16px;",c._Q.tablet,"{padding-top:12px;font-size:12px;}");var O=(0,n.memo)(function(e){let{comment:t,commentsRef:i,amenities:o,aboutRef:a,listItem:r,checkin:s,checkout:v,providerMap:f,accTypeMap:h,handlePhoneModalOpen:g,isPaidUrl:m,isGoogleBot:x}=e,b=(0,n.useCallback)(()=>{var e;if(!a.current)return;let t=null===(e=a.current)||void 0===e?void 0:e.offsetTop;void 0!==t&&window.scroll({top:t,left:0,behavior:"smooth"})},[a]),k=(0,n.useMemo)(()=>{var e,n,o;return t&&((null==t?void 0:null===(e=t.badges)||void 0===e?void 0:e.length)||(null==t?void 0:null===(n=t.categories)||void 0===n?void 0:n.length)||(null==t?void 0:null===(o=t.comments)||void 0===o?void 0:o.length)||(null==t?void 0:t.count)||(null==t?void 0:t.reviewCount)||Number(null==t?void 0:t.rating))?(0,l.tZ)(d.Box,{css:L,children:(0,l.tZ)(C,{comment:t,commentsRef:i})}):(0,l.tZ)(l.HY,{})},[t]),y=(0,n.useMemo)(()=>o&&(0,l.tZ)(l.HY,{children:(0,l.BX)(d.Box,{css:L,children:[(0,l.tZ)("h2",{css:Q,children:"Pop\xfcler \xd6zellikler"}),(0,l.tZ)(B,{amenities:o}),(0,l.BX)(d.Flex,{alignItems:"center",css:[R,c.Rx],onClick:b,children:["T\xfcm \xf6zellikleri g\xf6r",(0,l.tZ)(p.Z,{})]})]})}),[o]),w=(0,n.useMemo)(()=>(0,l.tZ)(l.HY,{children:(0,l.tZ)(d.Box,{css:L,children:(0,l.tZ)(T,{listItem:r,checkin:s,checkout:v,providerMap:f,accTypeMap:h,handlePhoneModalOpen:g,isPaidUrl:m,isGoogleBot:x})})}),[r,s,v]);return(0,l.BX)(u.Z,{externalCss:[c.o4,Y],children:[k,y,r&&w]})});let Y=(0,r.iv)("border:1px solid ",c.wL.veryLightPink2,";border-radius:4px;padding:25px 25px 30px 25px;",c._Q.tablet,"{max-width:100%;width:100%;padding:20px 20px 25px 20px;margin-top:12px;}"),L=(0,r.iv)("border-bottom:1px solid ",c.wL.veryLightPink2,";padding-bottom:30px;padding-top:19px;",c._Q.tablet,"{padding-bottom:21px;}&:first-of-type{padding-top:0;margin:0;}&:last-child{border-bottom:none;padding-bottom:0;}"),Q=(0,r.iv)("margin:0;font-size:18px;",c._Q.tablet,"{font-size:14px;}"),R=(0,r.iv)("font-size:15px;margin-top:20px;color:",c.wL.blue3,";",c._Q.tablet,"{font-size:13px;margin-top:16px;}");var j=i(7957),N=i(52201),A=i(94019),X=i(8882),F=i(27484),H=i.n(F),E=i(62209),G=i(27616),W=i(72711),$=i(73357),U=(0,n.memo)(function(e){let{listItem:t}=e;return(0,l.tZ)(d.Flex,{flexDirection:"column",css:q,children:(0,l.tZ)(d.Box,{css:V,children:(0,l.tZ)(f.Z,{size:24,weight:700,color:c.wL.black,children:null==t?void 0:t.name})})})});let q=(0,r.iv)("border:1px solid ",c.wL.veryLightPink2,";border-radius:4px;background-color:",c.wL.white,";flex-grow:1;"),V=(0,r.iv)("padding:25px;display:flex;align-items:flex-start;justify-content:flex-start;",c._Q.tablet,"{padding:20px 15px;}");c._Q.tablet,c._Q.tablet,c.wL.veryLightPink2,c._Q.tablet,c._Q.tablet;var J=i(11163),K=i.n(J),ee=i(4162),et=i(82221),ei=i(70661),el=function(e){var t,i,l,n,o;let{detail:a,prices:r,amenities:d,listItem:c,catalogProperties:u}=e,{checkIn:s,checkOut:v}=r||{};H()(s).diff(v,"day",!1);let p={};null==u||u.forEach(e=>{var t,i,l;((null==e?void 0:null===(t=e.CatalogProperty)||void 0===t?void 0:t.Code)==="giris-saati"||(null==e?void 0:null===(i=e.CatalogProperty)||void 0===i?void 0:i.Code)==="cikis-saati")&&(p[null==e?void 0:null===(l=e.CatalogProperty)||void 0===l?void 0:l.Code]=e.Value)});let f=[];null==r||null===(t=r.providers)||void 0===t||t.map(e=>{var t;null===(t=e.prices)||void 0===t||t.map(t=>{t.providerId=e.providerId;let i=Math.round(t.discountRate>0?t.discountPrice:t.rawPrice);-1===f.indexOf(i)&&f.push(i)})});let h=null==d?void 0:null===(i=d.data)||void 0===i?void 0:i.filter(e=>"Oda \xd6zellikleri"===e.groupName),g=[];null===(l=h[0])||void 0===l||l.subGroup.map(e=>{e.amenities.map(e=>{g.find(t=>t.name==e.amenityDefaultName)||(g=[...g,{name:e.amenityDefaultName}])})}),g=g.slice(0,5).map(e=>e.name);let m=null==d?void 0:null===(n=d.data)||void 0===n?void 0:n.filter(e=>"Tesis \xd6zellikleri"===e.groupName),x=[];null===(o=m[0])||void 0===o||o.subGroup.map(e=>{var t;null===(t=e.amenities)||void 0===t||t.filter(e=>e.isPopular).map(e=>{x.find(t=>t.name==e.amenityDefaultName)||(x=[...x,{name:e.amenityDefaultName}])})}),x=x.slice(0,5).map(e=>e.name);let b=(null==c?void 0:c.distance)&&(null==c?void 0:c.distance)>0?"uzaklığı ".concat(c.distance,"km."):null,k=[{title:"".concat((null==a?void 0:a.title)||(null==a?void 0:a.name)," i\xe7in tesisinde bulunan odaların \xf6zellikleri nelerdir?"),content:"".concat((null==a?void 0:a.title)||(null==a?void 0:a.name)," odalarında ").concat(null==g?void 0:g.join(", ")," bulunmaktadır. Oda \xf6zelliklerinde daha fazla bilgi almak i\xe7in otel sayfasını inceleyebilirsiniz.")},{title:"".concat((null==a?void 0:a.title)||(null==a?void 0:a.name)," i\xe7in pop\xfcler tesis \xf6zellikleri nelerdir?"),content:"".concat((null==a?void 0:a.title)||(null==a?void 0:a.name)," i\xe7in pop\xfcler tesis \xf6zellikleri; ").concat(null==x?void 0:x.join(", ")," olmasıdır.")}];return b&&k.push({title:"".concat((null==a?void 0:a.title)||(null==a?void 0:a.name)," şehir merkezine ne kadar uzaklıktadır?"),content:"".concat((null==a?void 0:a.title)||(null==a?void 0:a.name)," tesisinin şehir merkezine ").concat(b)}),(null==c?void 0:c.hasSecureTourismCertificate)&&k.push({title:"".concat((null==a?void 0:a.title)||(null==a?void 0:a.name)," Covid sertifikalı bir tesis midir?"),content:"".concat((null==a?void 0:a.title)||(null==a?void 0:a.name)," g\xfcvenle konaklayabileceğiniz Sağlık Bakanlığı tarafından onaylı G\xfcvenli Turizm Sertifikalı bir tesistir.")}),p["giris-saati"]&&p["cikis-saati"]&&k.push({title:"".concat((null==a?void 0:a.title)||(null==a?void 0:a.name)," i\xe7in tesis giriş ve \xe7ıkış saatleri ka\xe7tır?"),content:"".concat((null==a?void 0:a.title)||(null==a?void 0:a.name)," tesisi i\xe7in ").concat(p["giris-saati"]," giriş, ").concat(p["cikis-saati"]," \xe7ıkış yapılmaktadır.")}),k},en=i(93293),eo=i(64641),ea=i(31238),er=i(51217),ed=i(43603),ec=i(26146),eu=i(84657),es=i(86549),ev=i(31696),ep=i(27625);let ef=(0,r.iv)("&:not(:last-child){margin-bottom:10px;}"),eh=(0,r.iv)("background-color:",c.wL.white,";display:block;padding:0px 20px 10px;margin:auto;margin-bottom:15px;",c._Q.tablet,"{margin:0px 40px 15px 40px;}"),eg=(0,r.iv)("display:block;padding:15px 0px 0px 0px;margin-bottom:15px;"),em=(0,r.iv)("font-size:16px;font-weight:bold;display:block;text-decoration:none;&:hover{text-decoration:none;}",c._Q.tablet,"{font-size:15px;}"),ex=(0,r.iv)("padding:50px;"),eb=(0,r.iv)("padding-right:15px;&:last-child{padding-right:25px;}"),ek=(0,r.iv)("&:not(:last-child){margin-bottom:10px;}&:hover{text-decoration:none;color:",c.wL.blue3,";}"),ey=(0,r.iv)("border-radius:4px;flex-shrink:0;"),ew=(0,r.iv)("min-height:100%;"),eZ=(0,r.iv)("text-overflow:ellipsis;width:170px;white-space:nowrap;overflow:hidden;");var eC=(0,n.memo)(function(e){let{loading:t,relatedsPoi:i}=e,o=(0,n.useCallback)(()=>[,].fill(0).map((e,t)=>(0,l.tZ)(eu.Z,{height:"153px",css:ef},t)),[]),a=(0,n.useCallback)((e,t,i)=>(0,l.tZ)(es.Z,{href:"/".concat(e),title:t,externalCss:ek,children:(0,l.BX)(d.Flex,{flexDirection:"column",css:ew,children:[(0,l.tZ)(S.h,{css:ey,width:"163px",height:"92px",src:i?(0,ev.HB)({src:i,width:163,quality:75}):"".concat(M.kq,"no-photo.svg"),alt:t}),(0,l.tZ)(f.Z,{css:[eZ],fontSize:14,weight:600,pt:"4px",bold:!0,children:t})]})}),[i]),r=(0,n.useCallback)(()=>null==i?void 0:i.map((e,t)=>{var i,n,o,r;return(0,l.BX)(d.Box,{css:[c.zp,c.z1,eh],children:[(0,l.tZ)(d.Flex,{alignItems:"center",justifyContent:"space-between",children:(0,l.tZ)(d.Box,{css:[eg],children:(null==e?void 0:e.name)&&((null==e?void 0:e.slug)?(0,l.tZ)(es.Z,{href:"/".concat(null==e?void 0:e.slug),externalCss:em,children:null==e?void 0:e.name}):(0,l.tZ)(f.Z,{css:em,children:null==e?void 0:e.name}))})}),(0,l.tZ)(ep.Z,{css:ex,children:(null==e?void 0:null===(i=e.poi)||void 0===i?void 0:i.length)&&(null==e?void 0:null===(o=e.poi)||void 0===o?void 0:null===(n=o.slice(0,10))||void 0===n?void 0:n.map((e,t)=>(0,l.tZ)(d.Box,{css:eb,children:a(e.slug,e.name,e.image)},t)))}),null==e?void 0:null===(r=e.parent)||void 0===r?void 0:r.map((e,t)=>e.name&&(0,l.tZ)(d.Flex,{alignItems:"center",justifyContent:"space-between",mt:"12px",mb:"12px",children:(0,l.tZ)(es.Z,{href:"/".concat(e.slug),title:e.name,externalCss:ek,children:e.name})},t))]},t)}),[i]);return(0,l.tZ)(l.HY,{children:t?o():(0,l.tZ)(l.HY,{children:i&&r()})})}),eS=i(42818),eM=i(1092),ez=i(74990),eP=i(24881),eB=i(44397);let e_=(0,r.iv)("overflow:hidden;background-color:",c.wL.white,";margin-top:15px;padding:25px;",c._Q.tablet,"{padding:25px 20px;}"),eT=(0,r.iv)(c._Q.tablet,"{font-size:18px !important;}"),eI=(0,r.iv)("background-color:",c.wL.white,";width:330px;height:186px;border-radius:6px;position:relative;box-shadow:0 2px 10px 0 rgba(0,0,0,0.23);&:not(:last-child){margin-right:14px;}&:hover > a{color:black;}",c._Q.tablet,"{width:250px;height:186px;&:not(:last-child){margin-right:10px;}}&:hover{text-decoration:none;box-shadow:0 2px 10px 0 rgba(0,0,0,0.23);}"),eD=(0,r.iv)("border-radius:4px 4px 0 0;img{",c._Q.tablet,"{height:186px;}}",c._Q.tablet,"{width:250px;height:186px;}"),eO=(0,r.iv)("font-size:14px;margin-bottom:10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;",c._Q.tablet,"{font-size:14px;}"),eY=(0,r.iv)("position:absolute;bottom:0;width:100%;z-index:3;color:white;bottom:8px;padding:0 15px;");var eL=(0,n.memo)(function(e){if(Array.isArray(e.items)&&0===e.items.length)return(0,l.tZ)(l.HY,{});let{items:t,title:i}=e,o=(0,n.useMemo)(()=>(0,l.tZ)(ep.Z,{children:t&&Array.isArray(t)&&(null==t?void 0:t.map((e,t)=>(0,l.tZ)(d.Box,{css:eI,children:(0,l.BX)(es.Z,{href:"/tema/".concat(null==e?void 0:e.slug),targetBlank:!0,disableDecoration:!0,title:null==e?void 0:e.name,children:[(0,l.BX)(eP.Zb,{width:"330px",height:"186px",externalCss:eD,children:[(0,l.tZ)(eP.Gl,{src:e.imageId?"".concat(M.Ik,"75/330x186/").concat(null==e?void 0:e.imageId):"".concat(M.Ik,"75/330x186/643d2274bd0b021956f3af9d"),width:"330px",height:"186px",priority:!1,alt:null==e?void 0:e.name}),(0,l.tZ)(eP.$$,{shadowSize:(null==e?void 0:e.imageId)?"65%":"100%"})]}),(0,l.tZ)(d.Box,{p:"15px",css:eY,children:(0,l.tZ)(f.Z,{css:eO,align:"left",size:24,fontWeight:900,mb:"8px",children:null==e?void 0:e.name})})]})},t)))}),[t]);return(0,l.BX)(u.Z,{css:[c.z1,e_],children:[(0,l.tZ)(eB.Z,{margin:"0 0 14px 0",content:i,css:eT}),o]})});let eQ=(0,r.iv)("width:100%;margin-top:15px;padding:20px 25px;background-color:",c.wL.white,";border:1px solid ",c.wL.veryLightPink2,";border-radius:4px;gap:8px;font-size:16px;",c._Q.tablet,"{padding:15px 20px;font-size:12px;}");var eR=(0,n.memo)(function(e){let{relatedCatalogLinks:t}=e;return(0,n.useCallback)(()=>{var e;return(0,l.tZ)(d.Flex,{css:eQ,children:null==t?void 0:null===(e=t.collection)||void 0===e?void 0:e.map((e,i)=>{var n;return(0,l.BX)(l.HY,{children:[(0,l.tZ)(es.Z,{href:"/".concat(e.slug),title:e.name,fontSize:16,children:null==e?void 0:e.name},i),i+1!==(null==t?void 0:null===(n=t.collection)||void 0===n?void 0:n.length)&&(0,l.BX)(d.Box,{children:[" "," > "," "]})]})})})},[])()});i(57404);var ej=i(60721),eN=i(11526);let eA=(0,r.iv)("padding:15px 0;height:105px;"),eX=(0,r.iv)("width:100%;display:flex;justify-content:center;box-sizing:border-box;padding:15px 0;min-height:150px;"),eF=(0,r.iv)("height:120px;"),eH=(0,r.iv)("background-color:rgba(0,0,0,0.5);"),eE=(0,r.iv)("border-radius:4px;margin:15px 0px 0px 0px;",c._Q.tablet,"{border:1px solid ",c.wL.veryLightPink2,";}"),eG=(0,r.iv)("margin-top:15px;overflow-y:unset;overflow-x:unset;"),eW=(0,r.iv)("padding:0px 15px;margin-bottom:15px;",c._Q.tablet,"{padding:0px 38px;}"),e$=(0,r.iv)("padding-left:30px;display:flex;flex-direction:column;"),eU=(0,r.iv)("width:100%;height:100%;align-items:center;text-align:center;background-color:",c.wL.white,";border:1px solid ",c.wL.veryLightPink2,";border-radius:4px;padding:0 50px;font-size:16px;font-weight:600;line-height:1.5;",c._Q.tablet,"{font-size:13px;}"),eq=(0,r.iv)(".leaflet-top.leaflet-left{top:60px !important;}");c._Q.tablet;let eV=(0,r.iv)("overflow:hidden;background-color:",c.wL.white,";margin-top:15px;padding:25px;",c._Q.tablet,"{padding:25px 20px;}");var eJ=(0,n.memo)(function(e){var t,i,o,a,r,u,s,v,p,f,h,g,m,x,b;let{detail:k,listItem:y,comment:w,prices:Z,breadCrumbData:C,amenities:S,slug:z,faqData:P,priceParam:B,providerMap:_,gallery:T,accTypeMap:I,poolData:D,catalogProperties:Y,handleAuthModalOpen:L,relatedsPoi:Q,poiCities:R,themeWidgetData:F,relatedCatalogLinks:q,isGoogleBot:V,staticInformationQuestions:J,nearByFacilitiesWidgetProps:eu,defaultParams:es}=e,ev=n.useRef(void 0),[ep,ef]=(0,n.useState)({...y,avgRating:null==k?void 0:k.avgRating,category:null==k?void 0:k.category,categoryId:null==k?void 0:k.categoryId,fullLocationSlug:null==k?void 0:k.fullLocationSlug,locationTree:null==k?void 0:k.locationTree,name:null==k?void 0:k.title,locationId:null==k?void 0:k.locationId,catalogAddress:null==k?void 0:k.catalogAddress,latitude:null==k?void 0:k.latitude,longitude:null==k?void 0:k.longitude,slug:z}),[eh,eg]=(0,n.useState)(Z),[em,ex]=(0,n.useState)(!1),[eb,ek]=(0,n.useState)(P),[ey,ew]=(0,n.useState)(D),[eZ,eP]=(0,n.useState)(!0),[eB,e_]=(0,n.useState)(!1),eT=(0,n.useCallback)(()=>{e_(!0)},[]),eI=n.useRef(null),eD=n.useRef(null),eO=n.useRef(null),eY=n.useRef(null),eQ=n.useRef(null),eJ=n.useRef(null),eK=n.useRef(null),e0=n.useRef(null),e1=n.useRef(null),e2=n.useRef(null),[e5,e4]=(0,n.useState)(B),[e3,e6]=(0,n.useState)((()=>{let e=1;if(B){let t=H()(null==B?void 0:B.Checkin),i=H()(null==B?void 0:B.Checkout);e=Math.abs(t.diff(i,"day",!1))}return e})()),[e7,e8]=(0,n.useState)(()=>e3>1),[e9,te]=(0,n.useState)(!1),[tt,ti]=(0,n.useState)(0),[tl,tn]=(0,n.useState)(!1),to=null,[ta,tr]=(0,n.useState)(!1),[td,tc]=(0,n.useState)(!1),[tu,ts]=(0,n.useState)(""),[tv,tp]=(0,n.useState)(0),[tf,th]=(0,n.useState)(er.g),[tg,tm]=(0,n.useState)(er.g),{userPersonal:tx}=(0,n.useContext)(eN.S);(0,n.useEffect)(()=>{if(ep.prices){let e=eh?H()(null==eh?void 0:eh.checkOut).diff(null==eh?void 0:eh.checkIn,"day"):1;(0,eM.AB)((0,eM.oe)(ep,_,e,"detay-baslik")),e6(e),e8(!0)}},[null==ep?void 0:ep.prices]);let tb=(0,n.useCallback)(()=>{tr(!0)},[k]),tk=(0,n.useCallback)(()=>tr(!1),[]),ty=(0,n.useCallback)(()=>tc(!1),[]),tw=(0,n.useCallback)((e,t)=>({checkin:e[0].format("DD-MM-YYYY"),checkout:e[1].format("DD-MM-YYYY"),"kisi-sayisi":t}),[]),tZ=(0,n.useCallback)(()=>{var e;let t=null===(e=eD.current)||void 0===e?void 0:e.offsetTop;(0,G.X5)(t,0,"smooth"),eP(!0)},[eD]),tC=(0,n.useCallback)((e,t,i)=>{let l=(0,M.$d)(tw(e,t)),n="";i.length>0&&(n=i.reduce((e,t)=>"".concat(e,"&childs[]=").concat(t),""));let o="".concat(l).concat(n);K().replace("/tesis-detay?slug=".concat(z,"&").concat(o.slice(1)),"/".concat(z,"-fiyatlari/").concat(o),{scroll:!1,shallow:!0})},[K(),tw,z]),tS=(0,n.useCallback)(function(e,t,i){var l;let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";ex(!0),(0,X.GY)({fls:JSON.stringify({plim:1,poff:0,flsp:[{fid:9,flsg:"catalog",v:k.id}]}),poolData:n,queryParams:JSON.stringify({cin:e[0].format("YYYY-MM-DD"),cout:e[1].format("YYYY-MM-DD"),act:t,cas:i}),slg:z,obj:k.id,src:"Unpaid"},!1,void 0,null==ev?void 0:null===(l=ev.current)||void 0===l?void 0:l.token).then(l=>{var n,o,a,r,d,c;let u=(null===(n=l.body)||void 0===n?void 0:n.poolData)||"";ew(u),u?(to=(0,ez.Z)(()=>tS(e,t,i,u),700))():ex(!1);let s=null!==(o=null==l?void 0:l.body)&&void 0!==o?o:null;ef({...s||void 0,avgRating:null==k?void 0:k.avgRating,category:null==k?void 0:k.category,categoryId:null==k?void 0:k.categoryId,fullLocationSlug:null==k?void 0:k.fullLocationSlug,locationTree:null==k?void 0:k.locationTree,name:null==k?void 0:k.title,locationId:null==k?void 0:k.locationId,catalogAddress:null==k?void 0:k.catalogAddress,slug:z}),eg(null!==(a=null==s?void 0:s.prices)&&void 0!==a?a:null),ek(el({prices:null==s?void 0:s.prices,amenities:S,detail:k,listItem:s,catalogProperties:Y})),!u&&((0,eM.AB)((0,E.lf)(ep,_,H()(e[1].format("YYYY-MM-DD")).diff(e[0].format("YYYY-MM-DD"),"day"))),(null==s?void 0:null===(d=s.prices)||void 0===d?void 0:null===(r=d.providers)||void 0===r?void 0:r.length)>0&&(0,eM.AB)((0,E.LJ)(null==s?void 0:null===(c=s.prices)||void 0===c?void 0:c.providers)))}).catch(e=>{var t,i;eg(null!==(i=null==e?void 0:null===(t=e.catalogs)||void 0===t?void 0:t.prices)&&void 0!==i?i:null)}).finally(()=>{ex(!1)})},[k.id,z,y,_]),tM=(0,n.useCallback)(async function(e,t,i){var l;let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";await tz(),to&&(await to.cancel(),to=null);let o={...tw(e,t),"childs[]":i};n||(0,eM.AB)((0,E.VP)((0,G.bP)(o),k)),(0,G.vb)(e,t,i),tC(e,t,i),e6(Math.abs(null===(l=e[0].set("hour",12))||void 0===l?void 0:l.diff(e[1].set("hour",12),"day",!1))),tS(e,t,i,n),e4({Adult:t,Checkin:e[0].format("YYYY-MM-DD"),Checkout:e[1].format("YYYY-MM-DD"),Children:i})},[k,tw]),tz=(0,n.useCallback)(async()=>{(null==ev?void 0:ev.current)&&ev.current.cancel("İstek iptal edildi");let e=eS.BO.source();ev.current=e},[]),tP=(0,n.useCallback)((e,t)=>{if(e.current){var i;let l=null==e?void 0:null===(i=e.current)||void 0===i?void 0:i.offsetTop;(0,G.X5)(l,null!=t?t:-50,"smooth")}},[]),tB=(0,n.useCallback)(()=>{tP(eO)},[tP]),t_=(0,n.useCallback)(()=>{var e;let t=null===(e=eJ.current)||void 0===e?void 0:e.offsetTop;(0,G.X5)(t,-50,"smooth"),(0,eM.AB)((0,eM.zg)("Diğer oda fiyatlarını g\xf6r"))},[]),tT=(0,n.useCallback)(()=>{te(!0),ti(1),(0,eM.AB)((0,eM.zg)("Tarih Aralığını Değiştir"))},[eK]);(0,n.useCallback)((e,t,i)=>{tM(e,t,i)},[tM]),(0,n.useEffect)(()=>{D?tM([H()(B.Checkin),H()(B.Checkout)],B.Adult,B.Children,D):setTimeout(()=>{(0,eM.AB)((0,E.lf)(ep||y,_,H()(e5.Checkout).diff(e5.Checkin,"day")))},500)},[D,y]),(0,n.useEffect)(()=>{ek(P)},[P]),(0,n.useEffect)(()=>{(null==Z?void 0:Z.providers)&&(0,eM.AB)((0,E.LJ)(null==Z?void 0:Z.providers))},[null==Z?void 0:Z.providers]);let tI=(0,n.useCallback)(()=>(0,l.tZ)(U,{loading:em,seeAllClick:t_,listItem:ep,prices:eh,providerMap:_,accTypeMap:I,handlePhoneModalOpen:tb,handleNoPriceClick:tT,poolData:ey,setCallData:tm,isTotalPerNight:e7,setIsTotalPerNight:e8,totalNights:H()(null==eh?void 0:eh.checkOut).diff(null==eh?void 0:eh.checkIn,"day")||e3}),[em,D,eh,eg,_,I,tb,tT,ey,tm,tM,ep,ef,e7,e8]);return(0,l.BX)(d.Box,{children:[(0,l.tZ)($.Z,{detail:k,facility:ep,comment:w,scrollToComment:tB,breadCrumbData:C,handlePhoneModalOpen:tb,poiCities:R}),(0,l.BX)(d.Box,{css:eW,children:[(0,l.tZ)(d.Box,{ref:eI,children:(0,l.BX)(d.Flex,{css:[c.z1,eG],children:[(0,l.tZ)(d.Box,{width:[.5,.5,.5,"55%"],children:(0,l.tZ)(en.Z,{gallery:T,detail:k,facility:ep,providerMap:_,accTypeMap:I,handlePhoneModalOpen:tb})}),(0,l.tZ)(d.Box,{ref:eD,width:[.5,.5,.5,"45%"],css:e$,children:null===k.catalogPassiveState||void 0==k.catalogPassiveState?(0,l.tZ)(l.HY,{children:tI()}):(0,l.tZ)(d.Flex,{css:eU,children:null===(t=k.catalogPassiveState)||void 0===t?void 0:t.passiveStateMessage})})]})}),(eh&&(null==eh?void 0:null===(i=eh.providers)||void 0===i?void 0:i.length)>0||eZ)&&(null===k.catalogPassiveState||void 0==k.catalogPassiveState||(null===(o=k.catalogPassiveState)||void 0===o?void 0:o.passiveStateId)===3)&&!eB&&(0,l.tZ)(ee.Z,{genRef:eI,scrollToRef:tP,aboutRef:eQ,priceRef:eJ,commentRef:eO,locationRef:eY,relatedCatalogRef:e1,faqRef:e0,catalogType:ec.H.Facility,setIsPriceTabClicked:tn,partnerShipRef:e2}),(null===k.catalogPassiveState||void 0==k.catalogPassiveState||(null===(a=k.catalogPassiveState)||void 0===a?void 0:a.passiveStateId)===3)&&(0,l.tZ)(d.Flex,{css:c.z1,children:(0,l.BX)(d.Box,{width:(null===(r=k.catalogPassiveState)||void 0===r?void 0:r.passiveStateId)===3?1:[1,1,1,2/3],mr:[0,0,0,15],children:[(0,l.tZ)(d.Box,{css:eX,children:(0,l.tZ)(eo.default,{externalCss:eF,id:"div-gpt-ad-1711718774105-0"})}),(eh&&(null==eh?void 0:null===(u=eh.providers)||void 0===u?void 0:u.length)>0||eZ)&&(0,l.tZ)(O,{aboutRef:eQ,commentsRef:eO,comment:w,amenities:S,listItem:ep,checkin:B.Checkin,checkout:B.Checkout,providerMap:_,accTypeMap:I,handlePhoneModalOpen:tb,isGoogleBot:V}),(0,l.tZ)(eo.default,{externalCss:eA,id:"div-gpt-ad-1615282818891-0"}),(0,l.tZ)(d.Box,{ref:eQ,children:(eh&&(null==eh?void 0:null===(s=eh.providers)||void 0===s?void 0:s.length)>0||eZ)&&(0,l.tZ)(et.Z,{detail:k,catalogProperties:Y,amenities:S,catalogType:ec.H.Facility,title:"Otel Hakkında"})}),(eh&&(null==eh?void 0:null===(v=eh.providers)||void 0===v?void 0:v.length)>0||eZ)&&(0,l.tZ)(W.Z,{handleAuthModalOpen:L,handleCommentModalOpen:eT,commentsRef:eO,comment:w,detail:k,pageType:"facility"}),(eh&&(null==eh?void 0:null===(p=eh.providers)||void 0===p?void 0:p.length)>0||eZ)&&ep&&(0,l.tZ)(d.Box,{ref:eY,children:(0,l.tZ)(j.Z,{listItem:ep,checkin:B.Checkin,checkout:B.Checkout,totalNights:eh?H()(null==eh?void 0:eh.checkOut).diff(null==eh?void 0:eh.checkIn,"day"):1,providerMap:_,accTypeMap:I,handlePhoneModalOpen:tb,externalCss:eq,setCallData:tm,isGoogleBot:V})}),q&&Object.keys(q).length>0&&(0,l.tZ)(eR,{relatedCatalogLinks:q})]})}),eu.facilityListOfWidget&&(null===(f=eu.facilityListOfWidget)||void 0===f?void 0:f.length)>0&&(0,l.tZ)(d.Box,{css:[c.z1,eV],children:(0,l.tZ)(ej.Z,{title:eu.facilityWidgetBoxTitle,facilityList:eu.facilityListOfWidget,providerMap:_,defaultParams:es,isNearBy:!0,page:eu.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:eu.providerWidget,location:eu.location||""})}),F&&(null==F?void 0:F.length)>0&&(null===k.catalogPassiveState||void 0==k.catalogPassiveState)&&(0,l.tZ)(eL,{items:F,title:"Tema Otelleri"}),(!eh||(null==eh?void 0:null===(h=eh.providers)||void 0===h?void 0:h.length)===0)&&!eZ&&(null==k?void 0:k.catalogPassiveState)===null&&(0,l.tZ)(d.Box,{css:c.z1,children:(0,l.tZ)(N.Z,{title:null==k?void 0:k.title,onClick:tZ})}),(eh&&(null==eh?void 0:null===(g=eh.providers)||void 0===g?void 0:g.length)>0||eZ)&&((null==k?void 0:k.catalogPassiveState)===null||(null===(m=k.catalogPassiveState)||void 0===m?void 0:m.passiveStateId)===3)&&(0,l.tZ)(d.Box,{css:[c.z1],ref:e0,children:(0,l.tZ)(ei.Z,{content:eb,title:"Sık\xe7a Sorulan Sorular",externalWrapperCss:eE})}),(0,l.tZ)(A.Z,{containerStyle:eH,show:ta,children:(0,l.tZ)(ed.Z,{accTypeMap:I,callData:tg,providerMap:_,id:k.id,onClose:tk,phoneNumber:k.phoneNumber||(null==ep?void 0:ep.phoneNumber)||"",page:"detay"})}),(0,l.tZ)(A.Z,{containerStyle:eH,show:td,children:(0,l.tZ)(ed.Z,{accTypeMap:I,providerMap:_,callData:tf,id:tv,onClose:ty,phoneNumber:tu,page:eu.page})})]}),(null===k.catalogPassiveState||void 0==k.catalogPassiveState)&&(0,l.tZ)(ea.Z,{catalogType:ec.H.Facility,objectId:k.id,setShow:e_,show:eB,title:null==k?void 0:k.title,locationTree:null!==(b=null==k?void 0:k.locationTree)&&void 0!==b?b:"",image:null==T?void 0:null===(x=T.photos[0])||void 0===x?void 0:x.image,detail:k,rating:null==w?void 0:w.rating,defaultParams:e.defaultParams}),Q&&(null==Q?void 0:Q.length)>0&&(0,l.tZ)(eC,{relatedsPoi:Q})]})}),eK=i(49855),e0=i(2244),e1=i(31950),e2=!0,e5=function(e){var t,i,r;let{meta:d,query:c,breadcrumbSchema:u,hotelSchema:s,searchItem:v,faqSchema:p,detail:f,gallery:h,defaultParams:g,priceParam:m,listItem:x,isGoogleBot:b,comment:k,providerNames:y}=e,w=(0,e0.BK)(h);return(0,n.useEffect)(()=>{(0,G.pQ)([H()(m.Checkin),H()(m.Checkout)],g.adultCount,[],v,[],eK.S.Facility,g)},[v,g,m]),(0,n.useEffect)(()=>{if(x){var e,t,i;let{name:l,objectId:n,deals:o}=x;(0,E.AB)((0,E.tU)(l,n,(null!==(i=null==o?void 0:null===(e=o.bestPrice)||void 0===e?void 0:e.discountPrice)&&void 0!==i?i:null==o?void 0:null===(t=o.bestPrice)||void 0===t?void 0:t.rawPrice)||0)),(0,E.AB)((0,E.w3)(x.name))}},[x]),(0,n.useEffect)(()=>{(0,E.AB)((0,E.VP)((0,G.bP)(null==c?void 0:c.query,!1,g),f))},[]),(0,l.BX)(l.HY,{children:[(0,l.tZ)(o.Z,{imageUrl:(null==h?void 0:null===(t=h.photos)||void 0===t?void 0:t[0].image)&&"".concat(M.Ik,"75/800x600/").concat(null==h?void 0:null===(r=h.photos)||void 0===r?void 0:null===(i=r[0])||void 0===i?void 0:i.image),title:d.title,metaTitle:d.title,metaDescription:d.description,breadcrumb:u,faq:p,hotelSchemas:[s],analyticsInput:(0,eM.Cv)((0,G.bP)(null==c?void 0:c.query,!1,g),f,k,[],h,"tesis",y),imagesToPreload:w,isGoogleBot:b,trackingParameters:[...e1.c],noIndex:!(null==f?void 0:f.metaRobots),adLists:[{id:"div-gpt-ad-1711717474558-0",name:"nkal_w_serit_tepe_1400x50",sizes:[[1400,50]]},{id:"div-gpt-ad-1711718774105-0",name:"nkal_ozel_w_tesis_detay_930x120",sizes:[[930,120]]},{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,l.tZ)(a.Z,{children:(0,l.tZ)(eJ,{...e})})]})}},2244:function(e,t,i){"use strict";i.d(t,{$2:function(){return s},BK:function(){return d},ZT:function(){return c},bT:function(){return r},pu:function(){return u},z:function(){return a}});var l=i(69767),n=i(31696),o=i(2685);let a=(e,t)=>{let i=[];if(e&&void 0!==e.banners[0]){let t=(0,n.KH)((null==e?void 0:e.banners[0].imageUrl)||"",1920,535);i.push(t)}return(null==t?void 0:t.imageId)?i.push("".concat(l.Ik,"75/680x124/").concat(null==t?void 0:t.imageId)):i.push("".concat(l.kq,"reduced-price-placeholder.jpg")),i},r=e=>{if(e&&void 0!==e[0]){var t,i,n,o,a,r,d,c,u,s,v,p;let f=e=>"".concat(l.Ik,"75/275x190/").concat(e);return[null===(n=e[0])||void 0===n?void 0:null===(i=n.images)||void 0===i?void 0:null===(t=i[0])||void 0===t?void 0:t.image,null==e?void 0:null===(r=e[1])||void 0===r?void 0:null===(a=r.images)||void 0===a?void 0:null===(o=a[0])||void 0===o?void 0:o.image,null==e?void 0:null===(u=e[2])||void 0===u?void 0:null===(c=u.images)||void 0===c?void 0:null===(d=c[0])||void 0===d?void 0:d.image,null==e?void 0:null===(p=e[3])||void 0===p?void 0:null===(v=p.images)||void 0===v?void 0:null===(s=v[0])||void 0===s?void 0:s.image].filter(Boolean).map(e=>f(e))}return[]},d=e=>{var t,i,n;let o=[];if(e&&(null===(t=e.photos)||void 0===t?void 0:t[0])!==void 0){let t=null===(n=e.photos)||void 0===n?void 0:null===(i=n[0])||void 0===i?void 0:i.image;o.push("".concat(l.Ik,"75/619x420/").concat(t))}return o},c=e=>{var t,i,n;let o=[];if(e&&(null===(t=e.photos)||void 0===t?void 0:t[0])!==void 0){let t=null===(n=e.photos)||void 0===n?void 0:null===(i=n[0])||void 0===i?void 0:i.image;o.push("".concat(l.Ik,"75/690x404/").concat(t))}return o},u=e=>{var t,i,l,a,r,d,c,u,s,v;return e&&(null==e?void 0:null===(r=e.attributes)||void 0===r?void 0:null===(a=r.media)||void 0===a?void 0:null===(l=a.data)||void 0===l?void 0:null===(i=l[0])||void 0===i?void 0:null===(t=i.attributes)||void 0===t?void 0:t.url)?[(0,n.Ee)(null==e?void 0:null===(v=e.attributes)||void 0===v?void 0:null===(s=v.media)||void 0===s?void 0:null===(u=s.data)||void 0===u?void 0:null===(c=u[0])||void 0===c?void 0:null===(d=c.attributes)||void 0===d?void 0:d.url,6)]:[o.t0]},s=e=>{if(e&&void 0!==e.catalogs[0]){var t,i,n,o,a,r,d,c,u,s,v,p;let f=e=>"".concat(l.Ik,"75/388x219/").concat(e);return[null===(n=e.catalogs[0])||void 0===n?void 0:null===(i=n.images)||void 0===i?void 0:null===(t=i[0])||void 0===t?void 0:t.image,null===(r=e.catalogs)||void 0===r?void 0:null===(a=r[1])||void 0===a?void 0:null===(o=a.images[0])||void 0===o?void 0:o.image,null===(u=e.catalogs)||void 0===u?void 0:null===(c=u[2])||void 0===c?void 0:null===(d=c.images[0])||void 0===d?void 0:d.image,null===(p=e.catalogs)||void 0===p?void 0:null===(v=p[3])||void 0===v?void 0:null===(s=v.images[0])||void 0===s?void 0:s.image].filter(Boolean).map(e=>f(e))}return[]}}},function(e){e.O(0,[9476,615,7285,2613,8333,7563,3331,2786,3070,2888,9774,179],function(){return e(e.s=46564)}),_N_E=e.O()}]);