"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8333],{64641:function(t,i,e){e.r(i);var n=e(35944),l=e(67294),o=e(70917),r=e(66455),a=e(52154);let d=(0,o.iv)("height:auto;overflow:hidden;margin:0 auto;z-index:0;");i.default=(0,l.memo)(function(t){let{id:i,name:e,sizes:o,externalCss:c,disable:s}=t;return(0,l.useEffect)(()=>{i&&e&&o&&!s&&(0,a.dE)(e,i,o)},[i,e,o,s]),(0,n.tZ)(r.Box,{children:s?null:(0,n.tZ)(r.Flex,{justifyContent:"center",id:i,css:[d,c]})})},()=>!0)},43603:function(t,i,e){var n=e(35944),l=e(66455),o=e(70917),r=e(34665),a=e(16956),d=e(71176),c=e(33463),s=e(69497),u=e(67294),h=e(17947),p=e(11163),x=e(31897),f=e(86549),g=e(1092),v=e(62209),m=e(56380),w=e(5793),b=e(96044);let Z=t=>(0,o.iv)("width:",!0===t?"395px":"370px",";height:",!0===t?"232px":"140px",";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 2px 7px rgb(0 0 0 / 30%);background-color:",r.wL.greyWhite3,";border-radius:4px;border-top:4px solid ",r.wL.blue4,";"),y=(0,o.iv)("font-size:16px;font-weight:400;line-height:19.36px;text-align:center;color:",r.wL.black,";margin:17px 0px 3px;"),C=(0,o.iv)("padding-right:5px;flex-shrink:0;width:32px;height:32px;"),k=(0,o.iv)("width:338px;border-radius:20px !important;height:54px;margin-bottom:6px;a{text-decoration:none;}"),z=(0,o.iv)("font-size:18px;font-weight:600;line-height:32px;letter-spacing:0.550000011920929px;text-align:left;color:#ff0000;"),B=(0,o.iv)("font-size:14px;font-weight:600;line-height:32px;text-align:center;margin:9px 0 4px;"),F=(0,o.iv)("font-size:26px;font-weight:700;line-height:32px;letter-spacing:0.5px;text-align:left;color:",r.wL.white,";margin-left:10px;"),O=(0,o.iv)("font-size:10px;font-weight:400;line-height:12.1px;letter-spacing:0.5px;text-align:center;padding:12px 15px 0;"),T=(0,o.iv)("font-size:10px !important;font-weight:400;line-height:12.1px;letter-spacing:0.5px;text-align:center;color:",r.wL.blue3,";"),P=(0,o.iv)("text-align:center;"),_=(0,o.iv)("position:absolute;right:8px;top:8px;cursor:pointer;");i.Z=function(t){var i,e,o,S;let{phoneNumber:E,onClose:L,id:j,callData:I,providerMap:A,accTypeMap:X,isNearBy:R,page:Y,showMapOverlay:D}=t,{chrg:q,checkin:N}=(0,p.useRouter)().query,W=(0,x.ej)("_cga_client_id"),J=(0,x.ej)("tid"),K=J+"."+(null==I?void 0:null===(i=I.pr1id)||void 0===i?void 0:i.toString())+"."+(null==I?void 0:null===(e=I.pr1br)||void 0===e?void 0:e.toString()),M=(0,x.ej)("ti_"+K),U=(0,x.ej)("_cga_session_id"),G=(null==I?void 0:I.exitPrice)!=null?null!==(o=null==I?void 0:I.exitPrice)&&void 0!==o?o:0:null!==(S=null==I?void 0:I.pr1cd13)&&void 0!==S?S:0,[H,V]=(0,u.useState)(null),$=(0,u.useCallback)(()=>{if((0,g.AB)((0,v.VZ)("real-call",j,parseInt(G.toString(),10))),"detay"===Y)(0,g.AB)((0,g.Yp)());else{var t,i;(0,g.AB)((0,g.Jk)(null!==(t=null==I?void 0:I.pr1id)&&void 0!==t?t:"",null!==(i=null==I?void 0:I.pr1nm)&&void 0!==i?i:"",null!=R&&R,D||!1))}},[I,j]),Q=async()=>{var t,i,e,n,l;(null==I?void 0:I.pr1id)!==0&&(0,h.Y)({...I,ta:"call",el:"call",pr1br:A?A[null==I?void 0:I.pr1br]:null==I?void 0:I.pr1br,isDefaultParams:!N,chrg:null!==(e=null==q?void 0:q.toString())&&void 0!==e?e:"",paid:!M,cid:null!==(n=null==W?void 0:W.replace("GA1.1.",""))&&void 0!==n?n:"",ti:null!=J?J:"",cd6:"desktop",accommodationTypeName:X&&(null==I?void 0:I.accommodationTypeId)?X[null==I?void 0:I.accommodationTypeId]:"",engagement_time_msec:100,sessionId:U,page_location:null!==(l=null===(i=window)||void 0===i?void 0:null===(t=i.location)||void 0===t?void 0:t.href)&&void 0!==l?l:"",exitPrice:parseInt(G.toString(),10).toFixed(0)})},tt=()=>(0,n.BX)(l.Flex,{alignItems:"center",flexDirection:"column",css:Z(!0),children:[(0,n.tZ)(a.Z,{width:"18px",height:"18px",css:_,onClick:L}),(0,n.tZ)(c.Z,{externalCss:y,children:"Tesis Konumu"}),(null==I?void 0:I.locationTree)&&(0,n.BX)(l.Flex,{children:[(0,n.tZ)(w.Z,{fill:"#FF0000",height:"32px",width:"32px"}),(0,n.tZ)(c.Z,{css:z,children:(0,s.YZ)(null==I?void 0:I.locationTree)})]}),(0,n.tZ)(c.Z,{externalCss:B,children:null==I?void 0:I.pr1nm}),(0,n.tZ)(b.Z,{buttonCss:k,label:(0,n.BX)(l.Flex,{children:[(0,n.tZ)(d.Z,{css:C,width:"32px",height:"32px",fill:r.wL.white}),(0,n.tZ)("a",{href:"tel:".concat(E),onClick:$,children:(0,n.tZ)(c.Z,{externalCss:F,children:(0,s.un)(E)})})]})}),(0,n.BX)(c.Z,{css:O,children:["Telefon numaranız Neredekal.com tarafından işlenebilir. Kişisel verilerinize dair daha detaylı bilgi i\xe7in"," ",(0,n.tZ)(f.Z,{externalCss:T,children:"Ziyaret\xe7i Aydınlatma Metnimizi",targetBlank:!0,href:"/ziyaretci-aydinlatma"})," ","inceleyebilirsiniz."]})]}),ti=()=>(0,n.BX)(l.Flex,{p:"20px",alignItems:"center",justifyContent:"center",flexDirection:"column",css:Z(!1),children:[(0,n.tZ)(a.Z,{width:"18px",height:"18px",css:_,onClick:L}),(0,n.tZ)(c.Z,{fontSize:14,css:P,bold:!0,children:"Tesisimizde m\xfcsaitlik bulunmuyor, b\xf6lgedeki diğer tesislerimizi inceleyebilirsiniz."})]});return(0,u.useEffect)(()=>{(async()=>{var t;let i=await (0,m.w4)(j);(null==i?void 0:null===(t=i.body)||void 0===t?void 0:t.showPhoneStatus)===!0?(Q(),V(tt())):V(ti())})()},[j]),H}},94019:function(t,i,e){var n=e(35944),l=e(67294),o=e(70917),r=e(34665),a=e(57404),d=e(66455),c=e(78707),s=e(69767);let u=t=>(0,o.iv)("z-index:102;position:fixed;overflow:auto;top:0;left:0;width:100%;height:100%;background-color:",r.wL.white,";display:",t?"block":"none",";"),h=(0,o.iv)("position:relative;height:100%;"),p=(0,o.iv)("width:100%;height:100vh;display:block;position:fixed;left:0;top:0;background-color:",r.wL.black,";opacity:.7;z-index:101;"),x=(0,o.iv)("text-align:right;transform:translateX(55px);");i.Z=function(t){let{show:i,children:e,contentStyle:o,containerStyle:f,forceFirstRender:g,hasOverlay:v,handleCloseModal:m,closeIcon:w}=t,b=(0,l.useCallback)(()=>i&&v&&m&&(0,n.tZ)(d.Box,{onClick:m,css:p}),[i,v]);l.useEffect(()=>{Z()},[i]);let Z=l.useCallback(t=>{(0,a.jU)()&&!t&&i?document.documentElement&&(document.documentElement.style.overflowY="hidden"):document.documentElement&&(document.documentElement.style.overflowY="auto")},[i]);return!g&&i||g?(0,n.BX)(n.HY,{children:[(0,n.tZ)(d.Box,{css:[u(i),f],children:(0,n.BX)("section",{css:[h,o],children:[w&&(0,n.tZ)(d.Box,{css:x,children:(0,n.tZ)(c.h,{onClick:m,src:"".concat(s.kq,"close-24-px.svg"),width:22,height:22,layout:"fixed",css:r.Rx})}),e]})}),b()]}):null}},39565:function(t,i,e){var n=e(35944);e(67294);var l=e(69767),o=e(78707),r=e(66455),a=e(70917);i.Z=function(t){if(!t.count||0===t.count)return null;let i=[];for(let e=0;e(0,l.iv)("font-size:",t,"px!important;font-weight:",i,";margin:",null!=e?e:"0",";");i.Z=function(t){let{content:i,fontSize:e,fontWeight:l,margin:a,externalCss:d,type:c}=t;return(0,o.useCallback)(()=>"h3"==c?(0,n.tZ)("h3",{css:[r(e,l,a),d],children:i}):(0,n.tZ)("h2",{css:[r(e,l,a),d],children:i}),[i])()}},71176:function(t,i,e){var n=e(35944),l=e(67294),o=e(34665);i.Z=l.memo(function(t){let{width:i,height:e}=t;return(0,n.tZ)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",width:null!=i?i:"16px",height:null!=e?e:"16px",...t,children:(0,n.tZ)("path",{fill:t.fill||o.wL.black,d:"M497.39 361.8l-112-48a24 24 0 0 0-28 6.9l-49.6 60.6A370.66 370.66 0 0 1 130.6 204.11l60.6-49.6a23.94 23.94 0 0 0 6.9-28l-48-112A24.16 24.16 0 0 0 122.6.61l-104 24A24 24 0 0 0 0 48c0 256.5 207.9 464 464 464a24 24 0 0 0 23.4-18.6l24-104a24.29 24.29 0 0 0-14.01-27.6z"})})})},17947:function(t,i,e){e.d(i,{Y:function(){return l}});var n=e(69767);let l=(t,i)=>(0,n.zD)("api/exits/create".concat((0,n.$d)(t)),"POST",void 0,n.LX.DEFAULT,i)},18145:function(t,i,e){function n(t,i){return!!t.find(t=>(null==t?void 0:t.objectId)===i)}function l(t,i){return t.find(t=>(null==t?void 0:t.objectId)===i)}e.d(i,{Sq:function(){return o},cb:function(){return n},xJ:function(){return l}});let o={1:{widthOfFacilityCard:330,widthOfFacilityCardTablet:232,heightOfFacilityCard:0,heightOfFacilityCardTablet:0,basePixel:151,widthOfPopover:230,basePixelTablet:66,paddingOfContainerRight:15,paddingOfContainerBottom:0},2:{widthOfFacilityCard:475,widthOfFacilityCardTablet:450,heightOfFacilityCard:0,heightOfFacilityCardTablet:0,widthOfPopover:230,basePixel:295,basePixelTablet:295,paddingOfContainerRight:25,paddingOfContainerBottom:0},horizontalCardShift:(t,i,e,n,l,r,a)=>{if(l){let t=(null==a?void 0:a.current)&&parseInt(getComputedStyle(a.current).width);return void 0===r?{result:153,flatRight:!1,cardWidth:t-2}:{result:153+120*r-48,flatRight:!0,cardWidth:t-10}}let d=o[t].paddingOfContainerRight+(e?o[t].basePixelTablet:o[t].basePixel)+i*(e?o[t].widthOfFacilityCardTablet:o[t].widthOfFacilityCard),c=d+o[t].widthOfPopover>n;return{result:c?d-64:d,flatRight:c,cardWidth:0}}}}}]);