(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:P,providerWidget:z,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:P,providerWidget:z,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(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),[P,z]=(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),[]),N=(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&&N(B)},[S]),(0,n.useEffect)(()=>{if(T&&!Y){let e={...T};_(e),I(null),N(e)}},[m]);let j=(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),N(i))}}},[B,Z,Y]),F=(0,n.useCallback)(()=>{O(e=>!e)},[]);return(0,l.BX)(l.HY,{children:[(0,l.tZ)(b,{onClick:j,renderTabletView:c,isGoogleBot:g,listItem:t}),(0,l.tZ)(w,{mapRef:Z,getMapRef:C,expandedMarker:P,setExpandedMarker:z,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 e1},default:function(){return e2}});var l=i(35944),n=i(67294),o=i(30427),a=i(41187),r=i(70917),d=i(66455),c=i(7957),u=i(52201),s=i(94019),v=i(8882),p=i(27484),f=i.n(p),h=i(62209),g=i(27616),m=i(72711),x=i(73357),b=i(34665),k=i(22149),y=i(75486),w=i(51790),Z=i(18108),C=i(33463);let S=(0,r.iv)("font-size:21px;font-weight:600;display:flex;align-items:self-end;",b._Q.tablet,"{font-size:18px;}"),M=(0,r.iv)("font-size:21px;font-weight:600;margin:0px 7px -4px 0px;",b._Q.tablet,"{font-size:18px;margin:0px 8px -6px 0px;}"),P=(0,r.iv)("flex:0 0 25%;font-size:16px;font-weight:600;width:auto;height:auto;padding:0 3px 15px 0;background-color:",b.wL.white,";"),z=(0,r.iv)(b._Q.tablet,"{font-size:13px;}"),B=(0,r.iv)("margin-left:2px;",b._Q.tablet,"{font-size:18px;margin-left:1px;}"),_=(0,r.iv)("padding-top:20px;margin-bottom:-15px;",b._Q.tablet,"{padding-top:22px;}"),T=(0,r.iv)("margin-top:20px;",b._Q.tablet,"{margin-top:13px;}"),I=(0,r.iv)("font-size:14px;margin-top:4px;",b._Q.tablet,"{font-size:12px;margin-top:3px;}"),D=(0,r.iv)("margin:0;font-size:18px;padding-top:19px;",b._Q.tablet,"{font-size:14px;}");var O=(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)(y.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:S,ratingTextCss:M,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:D,children:"Misafirler Ne Dedi?"}),(0,l.tZ)(d.Flex,{flexDirection:"row",flexWrap:"wrap",justifyContent:"space-between",css:_,children:null==t?void 0:null===(i=t.badges)||void 0===i?void 0:i.slice(0,4).map((e,t)=>(0,l.tZ)(w.Z,{badge:e,externalCss:P,externalCountCss:I},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:[T,b.Rx],children:[(0,l.tZ)(C.Z,{size:15,color:b.wL.blue3,css:z,children:"T\xfcm değerlendirmeleri g\xf6r"}),(0,l.tZ)(Z.Z,{})]}):(0,l.tZ)(l.HY,{})]})}),Y=i(78707),L=i(69767);let Q=(0,r.iv)("padding-top:17px;justify-content:space-between;flex-flow:wrap;"),R=(0,r.iv)("padding-left:8px;",b._Q.tablet,"{font-size:13px;}");var N=(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)(Y.h,{width:"24",height:"24",src:"".concat(L.kq,"amenity-icons/").concat(e.amenityIcon),alt:e.amenityDefaultName}),(0,l.tZ)(C.Z,{size:16,css:R,maxLines:1,children:null==e?void 0:e.amenityDefaultName})]},t)),[i]);return(0,l.tZ)(d.Flex,{css:Q,children:a})}),j=i(90404),A=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:X,children:"Adres"}),(0,l.tZ)(d.Flex,{css:F,children:null==t?void 0:t.catalogAddress})]}),t&&(0,l.tZ)(d.Box,{width:"47.5%",children:(0,l.tZ)(j.default,{listItem:t,checkin:i,checkout:n,providerMap:o,accTypeMap:a,handlePhoneModalOpen:r,renderTabletView:!0,isPaidUrl:c,isGoogleBot:u})})]})};let X=(0,r.iv)("margin:0;font-size:18px;",b._Q.tablet,"{font-size:14px;}"),F=(0,r.iv)("flex-direction:column;padding-top:15px;padding-right:30px;font-size:16px;",b._Q.tablet,"{padding-top:12px;font-size:12px;}");var H=(0,n.memo)(function(e){let{comment:t,commentsRef:i,amenities:o,aboutRef:a,listItem:r,checkin:c,checkout:u,providerMap:s,accTypeMap:v,handlePhoneModalOpen:p,isPaidUrl:f,isGoogleBot:h}=e,g=(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]),m=(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:G,children:(0,l.tZ)(O,{comment:t,commentsRef:i})}):(0,l.tZ)(l.HY,{})},[t]),x=(0,n.useMemo)(()=>o&&(0,l.tZ)(l.HY,{children:(0,l.BX)(d.Box,{css:G,children:[(0,l.tZ)("h2",{css:W,children:"Pop\xfcler \xd6zellikler"}),(0,l.tZ)(N,{amenities:o}),(0,l.BX)(d.Flex,{alignItems:"center",css:[$,b.Rx],onClick:g,children:["T\xfcm \xf6zellikleri g\xf6r",(0,l.tZ)(Z.Z,{})]})]})}),[o]),y=(0,n.useMemo)(()=>(0,l.tZ)(l.HY,{children:(0,l.tZ)(d.Box,{css:G,children:(0,l.tZ)(A,{listItem:r,checkin:c,checkout:u,providerMap:s,accTypeMap:v,handlePhoneModalOpen:p,isPaidUrl:f,isGoogleBot:h})})}),[r,c,u]);return(0,l.BX)(k.Z,{externalCss:[b.o4,E],children:[m,x,r&&y]})});let E=(0,r.iv)("border:1px solid ",b.wL.veryLightPink2,";border-radius:4px;padding:25px 25px 30px 25px;",b._Q.tablet,"{max-width:100%;width:100%;padding:20px 20px 25px 20px;margin-top:12px;",b._Q.tablet,"{margin-top:0px;}}"),G=(0,r.iv)("border-bottom:1px solid ",b.wL.veryLightPink2,";padding-bottom:30px;padding-top:19px;",b._Q.tablet,"{padding-bottom:21px;}&:first-of-type{padding-top:0;margin:0;}&:last-child{border-bottom:none;padding-bottom:0;}"),W=(0,r.iv)("margin:0;font-size:18px;",b._Q.tablet,"{font-size:14px;}"),$=(0,r.iv)("font-size:15px;margin-top:20px;color:",b.wL.blue3,";",b._Q.tablet,"{font-size:13px;margin-top:16px;}");var U=(0,n.memo)(function(e){let{listItem:t,comment:i,commentsRef:n,aboutRef:o,amenities:a,checkin:r,checkout:c,providerMap:u,accTypeMap:s,handlePhoneModalOpen:v,isGoogleBot:p,showSummary:f}=e;return(0,l.tZ)(d.Flex,{flexDirection:"column",css:q,children:f&&(0,l.tZ)(H,{aboutRef:o,commentsRef:n,comment:i,amenities:a,listItem:t,checkin:r,checkout:c,providerMap:u,accTypeMap:s,handlePhoneModalOpen:v,isGoogleBot:p})})});let q=(0,r.iv)("border:1px solid ",b.wL.veryLightPink2,";border-radius:4px;background-color:",b.wL.white,";flex-grow:1;");b._Q.tablet,b._Q.tablet,b._Q.tablet,b.wL.veryLightPink2,b._Q.tablet,b._Q.tablet;var V=i(11163),J=i.n(V),K=i(4162),ee=i(82221),et=i(70661),ei=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||{};f()(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 h=[];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===h.indexOf(i)&&h.push(i)})});let g=null==d?void 0:null===(i=d.data)||void 0===i?void 0:i.filter(e=>"Oda \xd6zellikleri"===e.groupName),m=[];null===(l=g[0])||void 0===l||l.subGroup.map(e=>{e.amenities.map(e=>{m.find(t=>t.name==e.amenityDefaultName)||(m=[...m,{name:e.amenityDefaultName}])})}),m=m.slice(0,5).map(e=>e.name);let x=null==d?void 0:null===(n=d.data)||void 0===n?void 0:n.filter(e=>"Tesis \xd6zellikleri"===e.groupName),b=[];null===(o=x[0])||void 0===o||o.subGroup.map(e=>{var t;null===(t=e.amenities)||void 0===t||t.filter(e=>e.isPopular).map(e=>{b.find(t=>t.name==e.amenityDefaultName)||(b=[...b,{name:e.amenityDefaultName}])})}),b=b.slice(0,5).map(e=>e.name);let k=(null==c?void 0:c.distance)&&(null==c?void 0:c.distance)>0?"uzaklığı ".concat(c.distance,"km."):null,y=[{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==m?void 0:m.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==b?void 0:b.join(", ")," olmasıdır.")}];return k&&y.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(k)}),(null==c?void 0:c.hasSecureTourismCertificate)&&y.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"]&&y.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.")}),y},el=i(93293),en=i(64641),eo=i(31238),ea=i(51217),er=i(43603),ed=i(26146),ec=i(84657),eu=i(86549),es=i(31696),ev=i(27625);let ep=(0,r.iv)("&:not(:last-child){margin-bottom:10px;}"),ef=(0,r.iv)("background-color:",b.wL.white,";display:block;padding:0px 20px 10px;margin:auto;margin-bottom:15px;",b._Q.tablet,"{margin:0px 40px 15px 40px;}"),eh=(0,r.iv)("display:block;padding:15px 0px 0px 0px;margin-bottom:15px;"),eg=(0,r.iv)("font-size:16px;font-weight:bold;display:block;text-decoration:none;&:hover{text-decoration:none;}",b._Q.tablet,"{font-size:15px;}"),em=(0,r.iv)("padding:50px;"),ex=(0,r.iv)("padding-right:15px;&:last-child{padding-right:25px;}"),eb=(0,r.iv)("&:not(:last-child){margin-bottom:10px;}&:hover{text-decoration:none;color:",b.wL.blue3,";}"),ek=(0,r.iv)("border-radius:4px;flex-shrink:0;"),ey=(0,r.iv)("min-height:100%;"),ew=(0,r.iv)("text-overflow:ellipsis;width:170px;white-space:nowrap;overflow:hidden;");var eZ=(0,n.memo)(function(e){let{loading:t,relatedsPoi:i}=e,o=(0,n.useCallback)(()=>[,].fill(0).map((e,t)=>(0,l.tZ)(ec.Z,{height:"153px",css:ep},t)),[]),a=(0,n.useCallback)((e,t,i)=>(0,l.tZ)(eu.Z,{href:"/".concat(e),title:t,externalCss:eb,children:(0,l.BX)(d.Flex,{flexDirection:"column",css:ey,children:[(0,l.tZ)(Y.h,{css:ek,width:"163px",height:"92px",src:i?(0,es.HB)({src:i,width:163,quality:75}):"".concat(L.kq,"no-photo.svg"),alt:t}),(0,l.tZ)(C.Z,{css:[ew],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:[b.zp,b.z1,ef],children:[(0,l.tZ)(d.Flex,{alignItems:"center",justifyContent:"space-between",children:(0,l.tZ)(d.Box,{css:[eh],children:(null==e?void 0:e.name)&&((null==e?void 0:e.slug)?(0,l.tZ)(eu.Z,{href:"/".concat(null==e?void 0:e.slug),externalCss:eg,children:null==e?void 0:e.name}):(0,l.tZ)(C.Z,{css:eg,children:null==e?void 0:e.name}))})}),(0,l.tZ)(ev.Z,{css:em,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:ex,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)(eu.Z,{href:"/".concat(e.slug),title:e.name,externalCss:eb,children:e.name})},t))]},t)}),[i]);return(0,l.tZ)(l.HY,{children:t?o():(0,l.tZ)(l.HY,{children:i&&r()})})}),eC=i(42818),eS=i(1092),eM=i(74990),eP=i(24881),ez=i(44397);let eB=(0,r.iv)("overflow:hidden;background-color:",b.wL.white,";margin-top:15px;padding:25px;",b._Q.tablet,"{padding:25px 20px;}"),e_=(0,r.iv)(b._Q.tablet,"{font-size:18px !important;}"),eT=(0,r.iv)("background-color:",b.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;}",b._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);}"),eI=(0,r.iv)("border-radius:4px 4px 0 0;img{",b._Q.tablet,"{height:186px;}}",b._Q.tablet,"{width:250px;height:186px;}"),eD=(0,r.iv)("font-size:14px;margin-bottom:10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;",b._Q.tablet,"{font-size:14px;}"),eO=(0,r.iv)("position:absolute;bottom:0;width:100%;z-index:3;color:white;bottom:8px;padding:0 15px;");var eY=(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)(ev.Z,{children:t&&Array.isArray(t)&&(null==t?void 0:t.map((e,t)=>(0,l.tZ)(d.Box,{css:eT,children:(0,l.BX)(eu.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:eI,children:[(0,l.tZ)(eP.Gl,{src:e.imageId?"".concat(L.Ik,"75/330x186/").concat(null==e?void 0:e.imageId):"".concat(L.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:eO,children:(0,l.tZ)(C.Z,{css:eD,align:"left",size:24,fontWeight:900,mb:"8px",children:null==e?void 0:e.name})})]})},t)))}),[t]);return(0,l.BX)(k.Z,{css:[b.z1,eB],children:[(0,l.tZ)(ez.Z,{margin:"0 0 14px 0",content:i,css:e_}),o]})});let eL=(0,r.iv)("width:100%;margin-top:15px;padding:20px 25px;background-color:",b.wL.white,";border:1px solid ",b.wL.veryLightPink2,";border-radius:4px;gap:8px;font-size:16px;",b._Q.tablet,"{padding:15px 20px;font-size:12px;}");var eQ=(0,n.memo)(function(e){let{relatedCatalogLinks:t}=e;return(0,n.useCallback)(()=>{var e;return(0,l.tZ)(d.Flex,{css:eL,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)(eu.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 eR=i(60721),eN=i(11526);let ej=(0,r.iv)("padding:15px 0;height:105px;"),eA=(0,r.iv)("width:100%;display:flex;justify-content:center;box-sizing:border-box;padding:15px 0;min-height:150px;"),eX=(0,r.iv)("height:120px;"),eF=(0,r.iv)("background-color:rgba(0,0,0,0.5);"),eH=(0,r.iv)("border-radius:4px;margin:15px 0px 0px 0px;",b._Q.tablet,"{border:1px solid ",b.wL.veryLightPink2,";}"),eE=(0,r.iv)("margin-top:15px;overflow-y:unset;overflow-x:unset;"),eG=(0,r.iv)("padding:0px 15px;margin-bottom:15px;",b._Q.tablet,"{padding:0px 38px;}"),eW=(0,r.iv)("padding-left:30px;display:flex;flex-direction:column;",b._Q.tablet,"{padding-left:0px;}"),e$=(0,r.iv)("width:100%;height:100%;align-items:center;text-align:center;background-color:",b.wL.white,";border:1px solid ",b.wL.veryLightPink2,";border-radius:4px;padding:0 50px;font-size:16px;font-weight:600;line-height:1.5;",b._Q.tablet,"{font-size:13px;}"),eU=(0,r.iv)(".leaflet-top.leaflet-left{top:60px !important;}");b._Q.tablet;let eq=(0,r.iv)("overflow:hidden;background-color:",b.wL.white,";margin-top:15px;padding:25px;",b._Q.tablet,"{padding:25px 20px;}");var eV=(0,n.memo)(function(e){var t,i,o,a,r,p,k,y,w,Z,C,S,M,P;let{detail:z,listItem:B,comment:_,prices:T,breadCrumbData:I,amenities:D,slug:O,faqData:Y,priceParam:Q,providerMap:R,gallery:N,accTypeMap:j,poolData:A,catalogProperties:X,handleAuthModalOpen:F,relatedsPoi:H,poiCities:E,themeWidgetData:G,relatedCatalogLinks:W,isGoogleBot:$,staticInformationQuestions:q,nearByFacilitiesWidgetProps:V,defaultParams:ec}=e,eu=n.useRef(void 0),[es,ev]=(0,n.useState)({...B,avgRating:null==z?void 0:z.avgRating,category:null==z?void 0:z.category,categoryId:null==z?void 0:z.categoryId,fullLocationSlug:null==z?void 0:z.fullLocationSlug,locationTree:null==z?void 0:z.locationTree,name:null==z?void 0:z.title,locationId:null==z?void 0:z.locationId,catalogAddress:null==z?void 0:z.catalogAddress,latitude:null==z?void 0:z.latitude,longitude:null==z?void 0:z.longitude,slug:O}),[ep,ef]=(0,n.useState)(T),[eh,eg]=(0,n.useState)(!1),[em,ex]=(0,n.useState)(Y),[eb,ek]=(0,n.useState)(A),[ey,ew]=(0,n.useState)(!0),[eP,ez]=(0,n.useState)(!1),eB=(0,n.useCallback)(()=>{ez(!0)},[]),e_=n.useRef(null),eT=n.useRef(null),eI=n.useRef(null),eD=n.useRef(null),eO=n.useRef(null),eL=n.useRef(null),eV=n.useRef(null),eJ=n.useRef(null),eK=n.useRef(null),e0=n.useRef(null),[e1,e2]=(0,n.useState)(Q),[e5,e4]=(0,n.useState)((()=>{let e=1;if(Q){let t=f()(null==Q?void 0:Q.Checkin),i=f()(null==Q?void 0:Q.Checkout);e=Math.abs(t.diff(i,"day",!1))}return e})()),[e3,e6]=(0,n.useState)(()=>e5>1),[e7,e8]=(0,n.useState)(!1),[e9,te]=(0,n.useState)(0),[tt,ti]=(0,n.useState)(!1),tl=null,[tn,to]=(0,n.useState)(!1),[ta,tr]=(0,n.useState)(!1),[td,tc]=(0,n.useState)(""),[tu,ts]=(0,n.useState)(0),[tv,tp]=(0,n.useState)(ea.g),[tf,th]=(0,n.useState)(ea.g),{userPersonal:tg}=(0,n.useContext)(eN.S);(0,n.useEffect)(()=>{if(es.prices){let e=ep?f()(null==ep?void 0:ep.checkOut).diff(null==ep?void 0:ep.checkIn,"day"):1;(0,eS.AB)((0,eS.oe)(es,R,e,"detay-baslik")),e4(e),e6(!0)}},[null==es?void 0:es.prices]);let tm=(0,n.useCallback)(()=>{to(!0)},[z]),tx=(0,n.useCallback)(()=>to(!1),[]),tb=(0,n.useCallback)(()=>tr(!1),[]),tk=(0,n.useCallback)((e,t)=>({checkin:e[0].format("DD-MM-YYYY"),checkout:e[1].format("DD-MM-YYYY"),"kisi-sayisi":t}),[]),ty=(0,n.useCallback)(()=>{var e;let t=null===(e=eT.current)||void 0===e?void 0:e.offsetTop;(0,g.X5)(t,0,"smooth"),ew(!0)},[eT]),tw=(0,n.useCallback)((e,t,i)=>{let l=(0,L.$d)(tk(e,t)),n="";i.length>0&&(n=i.reduce((e,t)=>"".concat(e,"&childs[]=").concat(t),""));let o="".concat(l).concat(n);J().replace("/tesis-detay?slug=".concat(O,"&").concat(o.slice(1)),"/".concat(O,"-fiyatlari/").concat(o),{scroll:!1,shallow:!0})},[J(),tk,O]),tZ=(0,n.useCallback)(function(e,t,i){var l;let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";eg(!0),(0,v.GY)({fls:JSON.stringify({plim:1,poff:0,flsp:[{fid:9,flsg:"catalog",v:z.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:O,obj:z.id,src:"Unpaid"},!1,void 0,null==eu?void 0:null===(l=eu.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)||"";ek(u),u?(tl=(0,eM.Z)(()=>tZ(e,t,i,u),700))():eg(!1);let s=null!==(o=null==l?void 0:l.body)&&void 0!==o?o:null;ev({...s||void 0,avgRating:null==z?void 0:z.avgRating,category:null==z?void 0:z.category,categoryId:null==z?void 0:z.categoryId,fullLocationSlug:null==z?void 0:z.fullLocationSlug,locationTree:null==z?void 0:z.locationTree,name:null==z?void 0:z.title,locationId:null==z?void 0:z.locationId,catalogAddress:null==z?void 0:z.catalogAddress,slug:O}),ef(null!==(a=null==s?void 0:s.prices)&&void 0!==a?a:null),ex(ei({prices:null==s?void 0:s.prices,amenities:D,detail:z,listItem:s,catalogProperties:X})),!u&&((0,eS.AB)((0,h.lf)(es,R,f()(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,eS.AB)((0,h.LJ)(null==s?void 0:null===(c=s.prices)||void 0===c?void 0:c.providers)))}).catch(e=>{var t,i;ef(null!==(i=null==e?void 0:null===(t=e.catalogs)||void 0===t?void 0:t.prices)&&void 0!==i?i:null)}).finally(()=>{eg(!1)})},[z.id,O,B,R]),tC=(0,n.useCallback)(async function(e,t,i){var l;let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";await tS(),tl&&(await tl.cancel(),tl=null);let o={...tk(e,t),"childs[]":i};n||(0,eS.AB)((0,h.VP)((0,g.bP)(o),z)),(0,g.vb)(e,t,i),tw(e,t,i),e4(Math.abs(null===(l=e[0].set("hour",12))||void 0===l?void 0:l.diff(e[1].set("hour",12),"day",!1))),tZ(e,t,i,n),e2({Adult:t,Checkin:e[0].format("YYYY-MM-DD"),Checkout:e[1].format("YYYY-MM-DD"),Children:i})},[z,tk]),tS=(0,n.useCallback)(async()=>{(null==eu?void 0:eu.current)&&eu.current.cancel("İstek iptal edildi");let e=eC.BO.source();eu.current=e},[]),tM=(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")}},[]),tP=(0,n.useCallback)(()=>{tM(eI)},[tM]),tz=(0,n.useCallback)(()=>{var e;let t=null===(e=eL.current)||void 0===e?void 0:e.offsetTop;(0,g.X5)(t,-50,"smooth"),(0,eS.AB)((0,eS.zg)("Diğer oda fiyatlarını g\xf6r"))},[]),tB=(0,n.useCallback)(()=>{e8(!0),te(1),(0,eS.AB)((0,eS.zg)("Tarih Aralığını Değiştir"))},[eV]);(0,n.useCallback)((e,t,i)=>{tC(e,t,i)},[tC]),(0,n.useEffect)(()=>{A?tC([f()(Q.Checkin),f()(Q.Checkout)],Q.Adult,Q.Children,A):setTimeout(()=>{(0,eS.AB)((0,h.lf)(es||B,R,f()(e1.Checkout).diff(e1.Checkin,"day")))},500)},[A,B]),(0,n.useEffect)(()=>{ex(Y)},[Y]),(0,n.useEffect)(()=>{(null==T?void 0:T.providers)&&(0,eS.AB)((0,h.LJ)(null==T?void 0:T.providers))},[null==T?void 0:T.providers]);let t_=(0,n.useCallback)(()=>{var e;return(0,l.tZ)(U,{loading:eh,seeAllClick:tz,listItem:es,prices:ep,providerMap:R,accTypeMap:j,handlePhoneModalOpen:tm,handleNoPriceClick:tB,poolData:eb,setCallData:th,isTotalPerNight:e3,setIsTotalPerNight:e6,totalNights:f()(null==ep?void 0:ep.checkOut).diff(null==ep?void 0:ep.checkIn,"day")||e5,comment:_,commentsRef:eI,aboutRef:eO,amenities:D,checkin:Q.Checkin,checkout:Q.Checkout,isGoogleBot:$,showSummary:ep&&(null==ep?void 0:null===(e=ep.providers)||void 0===e?void 0:e.length)>0||ey})},[eh,A,ep,ef,R,j,tm,tB,eb,th,tC,es,ev,e3,e6,_,eI,eO,D,Q.Checkin,Q.Checkout,$,ey]);return(0,l.BX)(d.Box,{children:[(0,l.tZ)(x.Z,{detail:z,facility:es,comment:_,scrollToComment:tP,breadCrumbData:I,handlePhoneModalOpen:tm,poiCities:E}),(0,l.BX)(d.Box,{css:eG,children:[(0,l.tZ)(d.Box,{ref:e_,width:"100%",children:(0,l.BX)(d.Flex,{css:[b.z1,eE],flexDirection:["column","column","row","row"],width:"100%",children:[(0,l.tZ)(d.Box,{width:["100%","100%","55%","55%"],children:(0,l.tZ)(el.Z,{gallery:N,detail:z,facility:es,providerMap:R,accTypeMap:j,handlePhoneModalOpen:tm})}),(0,l.tZ)(d.Box,{ref:eT,width:["100%","100%","45%","45%"],css:eW,children:null===z.catalogPassiveState||void 0==z.catalogPassiveState?(0,l.tZ)(l.HY,{children:t_()}):(0,l.tZ)(d.Flex,{css:e$,children:null===(t=z.catalogPassiveState)||void 0===t?void 0:t.passiveStateMessage})})]})}),(ep&&(null==ep?void 0:null===(i=ep.providers)||void 0===i?void 0:i.length)>0||ey)&&(null===z.catalogPassiveState||void 0==z.catalogPassiveState||(null===(o=z.catalogPassiveState)||void 0===o?void 0:o.passiveStateId)===3)&&!eP&&(0,l.tZ)(K.Z,{genRef:e_,scrollToRef:tM,aboutRef:eO,priceRef:eL,commentRef:eI,locationRef:eD,relatedCatalogRef:eK,faqRef:eJ,catalogType:ed.H.Facility,setIsPriceTabClicked:ti,partnerShipRef:e0}),(null===z.catalogPassiveState||void 0==z.catalogPassiveState||(null===(a=z.catalogPassiveState)||void 0===a?void 0:a.passiveStateId)===3)&&(0,l.tZ)(d.Flex,{css:b.z1,children:(0,l.BX)(d.Box,{width:(null===(r=z.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:eA,children:(0,l.tZ)(en.default,{externalCss:eX,id:"div-gpt-ad-1711718774105-0"})}),(0,l.tZ)(en.default,{externalCss:ej,id:"div-gpt-ad-1615282818891-0"}),(0,l.tZ)(d.Box,{ref:eO,children:(ep&&(null==ep?void 0:null===(p=ep.providers)||void 0===p?void 0:p.length)>0||ey)&&(0,l.tZ)(ee.Z,{detail:z,catalogProperties:X,amenities:D,catalogType:ed.H.Facility,title:"Otel Hakkında"})}),(ep&&(null==ep?void 0:null===(k=ep.providers)||void 0===k?void 0:k.length)>0||ey)&&(0,l.tZ)(m.Z,{handleAuthModalOpen:F,handleCommentModalOpen:eB,commentsRef:eI,comment:_,detail:z,pageType:"facility"}),(ep&&(null==ep?void 0:null===(y=ep.providers)||void 0===y?void 0:y.length)>0||ey)&&es&&(0,l.tZ)(d.Box,{ref:eD,children:(0,l.tZ)(c.Z,{listItem:es,checkin:Q.Checkin,checkout:Q.Checkout,totalNights:ep?f()(null==ep?void 0:ep.checkOut).diff(null==ep?void 0:ep.checkIn,"day"):1,providerMap:R,accTypeMap:j,handlePhoneModalOpen:tm,externalCss:eU,setCallData:th,isGoogleBot:$})}),W&&Object.keys(W).length>0&&(0,l.tZ)(eQ,{relatedCatalogLinks:W})]})}),V.facilityListOfWidget&&(null===(w=V.facilityListOfWidget)||void 0===w?void 0:w.length)>0&&(0,l.tZ)(d.Box,{css:[b.z1,eq],children:(0,l.tZ)(eR.Z,{title:V.facilityWidgetBoxTitle,facilityList:V.facilityListOfWidget,providerMap:R,defaultParams:ec,isNearBy:!0,page:V.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:V.providerWidget,location:V.location||""})}),G&&(null==G?void 0:G.length)>0&&(null===z.catalogPassiveState||void 0==z.catalogPassiveState)&&(0,l.tZ)(eY,{items:G,title:"Tema Otelleri"}),(!ep||(null==ep?void 0:null===(Z=ep.providers)||void 0===Z?void 0:Z.length)===0)&&!ey&&(null==z?void 0:z.catalogPassiveState)===null&&(0,l.tZ)(d.Box,{css:b.z1,children:(0,l.tZ)(u.Z,{title:null==z?void 0:z.title,onClick:ty})}),(ep&&(null==ep?void 0:null===(C=ep.providers)||void 0===C?void 0:C.length)>0||ey)&&((null==z?void 0:z.catalogPassiveState)===null||(null===(S=z.catalogPassiveState)||void 0===S?void 0:S.passiveStateId)===3)&&(0,l.tZ)(d.Box,{css:[b.z1],ref:eJ,children:(0,l.tZ)(et.Z,{content:em,title:"Sık\xe7a Sorulan Sorular",externalWrapperCss:eH})}),(0,l.tZ)(s.Z,{containerStyle:eF,show:tn,children:(0,l.tZ)(er.Z,{accTypeMap:j,callData:tf,providerMap:R,id:z.id,onClose:tx,phoneNumber:z.phoneNumber||(null==es?void 0:es.phoneNumber)||"",page:"detay"})}),(0,l.tZ)(s.Z,{containerStyle:eF,show:ta,children:(0,l.tZ)(er.Z,{accTypeMap:j,providerMap:R,callData:tv,id:tu,onClose:tb,phoneNumber:td,page:V.page})})]}),(null===z.catalogPassiveState||void 0==z.catalogPassiveState)&&(0,l.tZ)(eo.Z,{catalogType:ed.H.Facility,objectId:z.id,setShow:ez,show:eP,title:null==z?void 0:z.title,locationTree:null!==(P=null==z?void 0:z.locationTree)&&void 0!==P?P:"",image:null==N?void 0:null===(M=N.photos[0])||void 0===M?void 0:M.image,detail:z,rating:null==_?void 0:_.rating,defaultParams:e.defaultParams}),H&&(null==H?void 0:H.length)>0&&(0,l.tZ)(eZ,{relatedsPoi:H})]})}),eJ=i(49855),eK=i(2244),e0=i(31950),e1=!0,e2=function(e){var t,i,r;let{meta:d,query:c,breadcrumbSchema:u,hotelSchema:s,searchItem:v,faqSchema:p,detail:m,gallery:x,defaultParams:b,priceParam:k,listItem:y,isGoogleBot:w,comment:Z,providerNames:C}=e,S=(0,eK.BK)(x);return(0,n.useEffect)(()=>{(0,g.pQ)([f()(k.Checkin),f()(k.Checkout)],b.adultCount,[],v,[],eJ.S.Facility,b)},[v,b,k]),(0,n.useEffect)(()=>{if(y){var e,t,i;let{name:l,objectId:n,deals:o}=y;(0,h.AB)((0,h.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,h.AB)((0,h.w3)(y.name))}},[y]),(0,n.useEffect)(()=>{(0,h.AB)((0,h.VP)((0,g.bP)(null==c?void 0:c.query,!1,b),m))},[]),(0,l.BX)(l.HY,{children:[(0,l.tZ)(o.Z,{imageUrl:(null==x?void 0:null===(t=x.photos)||void 0===t?void 0:t[0].image)&&"".concat(L.Ik,"75/800x600/").concat(null==x?void 0:null===(r=x.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,eS.Cv)((0,g.bP)(null==c?void 0:c.query,!1,b),m,Z,[],x,"tesis",C),imagesToPreload:S,isGoogleBot:w,trackingParameters:[...e0.c],noIndex:!(null==m?void 0:m.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)(eV,{...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,3422,3070,2888,9774,179],function(){return e(e.s=46564)}),_N_E=e.O()}]);