1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8277,1306],{1306:function(l,e,a){"use strict";a.r(e),a.d(e,{default:function(){return v}});var t=a(5311),i=a(132),n=a(7015),o=a.n(n),c=a(7988),r=a.n(c),s=a(8636);function d(){return(0,t.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("line",{x1:"4.85355",y1:"4.64645",x2:"18.9957",y2:"18.7886",stroke:"currentColor"}),(0,t.jsx)("line",{y1:"-0.5",x2:"20",y2:"-0.5",transform:"matrix(-0.707107 0.707107 0.707107 0.707107 19.5 5)",stroke:"currentColor"})]})}var m=a(6511),u=a(2907);function v(l){let{visible:e,onClose:a,primaryBg:n,secondaryBg:c,width:v="676px",children:g,size:_="md",darkClose:x,type:f,data:h,general:y,className:p="",fromBottom:b=!1,title:w}=l,{color_combination:j,popin_gtm_event_name:B}=(null==h?void 0:h.content)||{},C=(0,m.f)((null==j?void 0:j.value)?j.value:"light blue"),[N,F]=(0,i.useState)(!1),[k,z]=(0,i.useState)(!1),[M,S]=(0,i.useState)(0),A=()=>{z(!1),B&&(0,u.Z)(B,{clic:"Sortie"});let l=setTimeout(()=>{F(!1),document.body.style.overflow="",a&&a(),clearTimeout(l)},500)};return(0,i.useEffect)(()=>{if(e){S(window.scrollY),F(!0);let l=setTimeout(()=>{z(e),clearTimeout(l)},100);document.body.style.overflow="hidden"}else document.body.style.overflow="visible",F(!1);setTimeout(()=>{M>0&&window.scrollTo({top:M})})},[e]),"undefined"!=typeof document?N&&(0,s.createPortal)((0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"".concat(o().modalWrap," ").concat(r().modalScope," modal-wrap ").concat("modal-wrap--".concat(p)," ").concat(o()["modalWrap_".concat(_)]," ").concat(o().modalWrap),onClick:l=>{l.target.closest(".modal-kuv")||A()},children:(0,t.jsxs)("div",{className:"modal-kuv ".concat(p," ").concat(o().modal," ").concat(f&&o()[f]," ").concat(k?o().modalFade:""," ").concat(o()["modal_".concat(_)]," ").concat("lg"===_?o().modalFsMobile:""," ").concat(y?o().modalGeneral:""," ").concat(b?" bottom-0 rounded-t-lg":""),style:{"--width":v,"--primary-bg":n?"#".concat(n):(null==C?void 0:C.mainBg)||"#BABDCD","--secondary-bg":c?"#".concat(c):(null==C?void 0:C.innerBg)||"#FFF"},children:[" ","modalVisit"===f?(0,t.jsx)("div",{className:"h-10 bg-[#c8c9cb] w-full flex justify-end items-center px-4 virtualVisitHeader p-6",children:(0,t.jsx)("button",{className:"".concat(o().modalClose," ").concat(x?o().dark:""),onClick:A,children:(0,t.jsx)(d,{})})}):!w&&(0,t.jsx)("button",{className:"".concat(o().modalClose," ").concat(x?o().dark:""),onClick:A,children:(0,t.jsx)(d,{})}),(0,t.jsxs)("div",{className:o().modalContent,children:[w&&(0,t.jsxs)("div",{className:"flex w-full py-6 px-6 border border-b border-gray-300 justify-between",children:[w," ",(0,t.jsx)("button",{className:" ".concat(x?o().dark:""),onClick:A,children:(0,t.jsx)(d,{})})]}),g]})]})}),k&&(0,t.jsx)("div",{className:o().overlay})]}),document.getElementById("page")):(0,t.jsx)(t.Fragment,{})}},915:function(l,e,a){"use strict";a.d(e,{Z:function(){return i}});var t=a(5311);function i(l){let{color:e}=l;return(0,t.jsx)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:e,children:(0,t.jsx)("path",{d:"M10.618 9.309l-9.455 9.455 9.455 9.455 9.455-9.455-9.455-9.455zM5.382 18.764l5.382-5.382 5.236 5.382-5.382 5.382-5.236-5.382zM28.218 9.6c-2.618-2.473-5.964-3.782-9.309-3.782v-4.655l-6.109 6.109 6.109 6.109v-4.655c2.618 0 5.236 1.018 7.273 3.055 3.927 3.927 3.927 10.473 0 14.4-2.036 2.036-4.655 2.909-7.273 2.909-1.455 0-2.764-0.291-4.073-0.873l-2.182 2.182c1.891 1.018 4.073 1.6 6.255 1.6 3.345 0 6.691-1.309 9.309-3.782 5.091-5.236 5.091-13.527 0-18.618z"})})}a(132)},1253:function(l,e,a){"use strict";a.d(e,{Z:function(){return i}});var t=a(5311);function i(){return(0,t.jsx)("div",{className:"w-14 h-14 rounded-full bg-black/[.3] flex items-center justify-center hover:bg-black/[.8]",children:(0,t.jsx)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 32 32",fill:"#e8e5e3",children:(0,t.jsx)("path",{d:"M20.677 13.415c-1.354 0-2.462-1.108-2.462-2.462v-3.692c0-1.354 1.108-2.462 2.462-2.462s2.462 1.108 2.462 2.462v3.692c0 1.354-1.108 2.462-2.462 2.462zM20.677 6.154c-0.615 0-1.231 0.492-1.231 1.231v3.692c0 0.615 0.492 1.231 1.231 1.231s1.231-0.492 1.231-1.231v-3.692c0-0.738-0.492-1.231-1.231-1.231zM29.046 31.631c-3.938 0-11.446-5.415-17.6-11.446-7.385-7.385-13.662-16.615-10.831-19.446 1.846-1.846 5.908 0.123 8.862 1.969 0.369 0.246 0.369 0.615 0.246 0.862-0.246 0.369-0.615 0.369-0.862 0.246-4.308-2.708-6.646-2.954-7.262-2.215-1.723 1.6 2.338 9.354 10.708 17.723s16.123 12.431 17.723 10.831c1.108-1.108-0.492-5.662-5.662-12.062-0.246-0.246-0.123-0.615 0.123-0.862s0.615-0.123 0.862 0.123c1.969 2.462 8.369 10.831 5.538 13.662-0.369 0.492-0.985 0.615-1.846 0.615zM2.585 31.631c-0.738 0-1.477-0.246-1.969-0.738-2.831-2.831 3.569-11.2 5.538-13.662 0.246-0.246 0.615-0.246 0.862-0.123 0.369 0.369 0.369 0.738 0.246 0.985-5.169 6.4-6.769 10.954-5.662 12.062 0.615 0.615 2.585 0.492 6.277-1.6 3.446-1.969 7.508-5.292
111.446-9.108 8.369-8.369 12.431-16.123 10.831-17.723-0.615-0.615-2.954-0.492-7.262 2.215-0.246 0.123-0.615 0.123-0.862-0.246-0.123-0.246-0.123-0.615 0.246-0.862 3.077-1.969 7.015-3.815 8.862-2.092 2.831 2.831-3.446 12.185-10.831 19.446-3.938 3.938-8.123 7.262-11.692 9.354-1.969 1.108-4.308 2.092-6.031 2.092zM1.846 9.723c-0.369 0-0.615-0.246-0.615-0.615v-2.462c0-0.123 0.123-0.369 0.246-0.492s0.369-0.123 0.615 0l2.462 1.231c0.246 0.123 0.369 0.492 0.246 0.862-0.123 0.246-0.492 0.369-0.862 0.246l-1.477-0.862v1.477c0 0.369-0.246 0.615-0.615 0.615zM29.908 9.723c-0.369 0-0.615-0.246-0.615-0.615v-1.477l-1.6 0.738c-0.246 0.123-0.615 0-0.862-0.246-0.123-0.246 0-0.615 0.246-0.862l2.462-1.231c0.246-0.123 0.369-0.123 0.615 0 0.123 0.123 0.246 0.246 0.246 0.492v2.462c0.123 0.492-0.246 0.738-0.492 0.738zM1.846 25.6c-0.123 0-0.246 0-0.369-0.123s-0.246-0.246-0.246-0.492v-2.462c0-0.369 0.246-0.615 0.615-0.615s0.615 0.246 0.615 0.615v1.477l1.6-0.738c0.246-0.123 0.615 0 0.862 0.246 0.123 0.246 0 0.615-0.246 0.862l-2.462 1.231c-0.246 0-0.246 0-0.369 0zM29.908 25.6c-0.123 0-0.246 0-0.246-0.123l-2.462-1.231c-0.246-0.123-0.369-0.492-0.246-0.862s0.492-0.369 0.862-0.246l1.6 0.738v-1.477c0-0.369 0.246-0.615 0.615-0.615s0.615 0.246 0.615 0.615v2.462c0 0.246-0.123 0.369-0.246 0.492-0.369 0.246-0.492 0.246-0.492 0.246zM9.723 13.415c-1.354 0-2.462-1.108-2.462-2.462 0-0.369 0.246-0.615 0.615-0.615s0.615 0.246 0.615 0.615c0 0.615 0.492 1.231 1.231 1.231s1.231-0.492 1.231-1.231-0.492-1.231-1.231-1.231c-0.369 0-0.615-0.246-0.615-0.615s0.246-0.615 0.615-0.615c0.615 0 1.231-0.492 1.231-1.231s-0.492-1.231-1.231-1.231-1.231 0.492-1.231 1.231c0 0.369-0.246 0.615-0.615 0.615s-0.615-0.246-0.615-0.615c0-1.354 1.108-2.462 2.462-2.462s2.462 1.108 2.462 2.462c0 0.738-0.369 1.354-0.862 1.846 0.492 0.492 0.862 1.108 0.862 1.846 0 1.354-1.108 2.462-2.462 2.462zM15.262 13.415c-1.354 0-2.462-1.108-2.462-2.462s1.108-2.462 2.462-2.462 2.462 1.108 2.462 2.462-1.108 2.462-2.462 2.462zM15.262 9.723c-0.615 0-1.231 0.492-1.231 1.231s0.492 1.231 1.231 1.231 1.231-0.492 1.231-1.231-0.615-1.231-1.231-1.231zM13.415 11.569c-0.369 0-0.615-0.246-0.615-0.615v-1.846c0-1.477 0.862-4.308 4.308-4.308 0.369 0 0.615 0.246 0.615 0.615s-0.369 0.738-0.615 0.738c-2.954 0-3.077 2.708-3.077 3.077v1.846c0 0.246-0.246 0.492-0.615 0.492zM24.369 7.877c-0.985 0-1.846-0.862-1.846-1.846s0.862-1.846 1.846-1.846 1.846 0.862 1.846 1.846-0.862 1.846-1.846 1.846zM24.369 5.415c-0.369 0-0.615 0.246-0.615 0.615s0.246 0.615 0.615 0.615 0.615-0.246 0.615-0.615-0.246-0.615-0.615-0.615z"})})})}a(132)},9540:function(l,e,a){"use strict";a.d(e,{Z:function(){return o}});var t=a(5311);a(132);var i=a(5570),n=a.n(i);function o(l){let{iframeSrc:e}=l;return(0,t.jsxs)("div",{className:n().virtualVisit,children:[(0,t.jsx)("iframe",{src:e}),(0,t.jsx)("div",{className:"loader ".concat(n().virtualVisitLoader),children:"Loading..."})]})}},8277:function(l,e,a){"use strict";a.r(e),a.d(e,{default:function(){return p}});var t=a(5311),i=a(132),n=a(9333),o=a(7271),c=a(6211),r=a.n(c),s=a(5042),d=a(4034),m=a.n(d),u=a(1253),v=a(1306),g=a(9540);function _(l){var e,a,n,o,c,d,_,x,f,h,y,p,b,w,j;let{data:B=[],itemIndex:C,virtualVisitUrl:N}=l,F=(0,s.Z)(),[k,z]=(0,i.useState)(!1);return(0,t.jsxs)("div",{className:"".concat(r().galleryItem," ").concat(B.length<=1||["md","sm"].includes(F)?r().galleryItemFull:""),children:[B.length>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"".concat(r().galleryItemBig," ").concat(N&&0==C?"relative":""),children:[(null===(e=B[0])||void 0===e?void 0:e.filename)&&(0,t.jsx)("div",{className:"img-wrap relative",children:(0,t.jsx)(m(),{src:null===(a=B[0])||void 0===a?void 0:a.filename,alt:(null===(n=B[0])||void 0===n?void 0:n.alt)&&(null===(o=B[0])||void 0===o?void 0:o.alt)!==""?null===(c=B[0])||void 0===c?void 0:c.alt:"Kley Gallery ".concat(C,"-0"),fill:!0,sizes:"(max-width: 768px) 100vw, 50vw",className:"absolute inset-0 object-cover",loading:"lazy"})}),N&&0==C&&(0,t.jsx)("button",{className:"mt-0 absolute top-0 right-0 p-3",onClick:()=>z(!0),children:(0,t.jsx)(u.Z,{})})]}),B.length>1&&!["md","sm"].includes(F)&&(0,t.jsxs)("div",{className:r().galleryItemSmall,children:[(null===(d=B[1])||void 0===d?void 0:d.filename)&&(0,t.jsx)("div",{className:"img-wrap relative",children:(0,t.jsx)(m(),{src:null===(_=B[1])||void 0===_?void 0:_.filename,alt:(null===(x=B[1])||void 0===x?void 0:x.alt)&&(null===(f=B[1])||void 0===f?void 0:f.alt)!==""?null===(h=B[1])||void 0===h?void 0:h.alt:"Kley Gallery ".concat(C,"-1"),fill:!0,sizes:"(max-width: 768px) 80vw, 20vw",className:"absolute inset-0 object-cover",loading:"lazy"})}),(null===(y=B[2])||void 0===y?void 0:y.filename)&&(0,t.jsx)("div",{className:"img-wrap relative",children:(0,t.jsx)(m(),{src:null===(p=B[2])||void 0===p?void 0:p.filename,alt:(null===(b=B[2])||void 0===b?void 0:b.alt)&&(null===(w=B[2])||void 0===w?void 0:w.alt)!==""?null===(j=B[2])||void 0===j?void 0:j.alt:"Kley Gallery ".concat(C,"-2"),fill:!0,sizes:"(max-width: 768px) 80vw, 20vw",className:"absolute inset-0 object-cover",loading:"lazy"})})]})]}),N&&(0,t.jsx)(v.default,{visible:k,secondaryBg:"902722",primaryBg:"F5AAA2",onClose:()=>z(!1),type:"modalVisit",children:(0,t.jsx)(g.Z,{iframeSrc:N})})]})}var x=a(1689),f=a(4849),h=a(915),y=a(5724);function p(l){let e,a;let{blok:c,isSingleResidence:d=!1,showContractualPhoto:m,realIndex:u}=l,{ref:p,inView:b}=(0,x.YD)({triggerOnce:!0,rootMargin:"-200px 0px"}),{t:w}=(0,y.Z)("common"),j=(0,s.Z)(),[B,C]=(0,i.useState)(!1);return(null==c?void 0:c.disabled)?null:(0,t.jsxs)("section",{ref:p,id:"".concat(null==c?void 0:c.component).concat(d?u:""),className:"".concat(r().gallery," ").concat(b?"in-view":""),...(0,f.LF)(c),children:[(0,t.jsxs)("div",{id:null==c?void 0:c._uid,className:"container",children:[(0,t.jsx)(o.Z,{tag:"h2",as:"h2",className:"gallery-title",children:(null==c?void 0:c.title)&&(null==c?void 0:c.title)!==""?null==c?void 0:c.title:"Galleries"}),(null==c?void 0:c.virtual_visit_url)&&(0,t.jsx)("button",{className:"w-8 h-8 mt-2 mb-5",onClick:()=>C(!0),children:(0,t.jsx)(h.Z,{color:"black"})}),(0,t.jsx)("div",{className:r().gallerySlide,children:(0,t.jsx)(n.Z,{spaceBetween:16,slidesPerView:1,data:(e=null==c?void 0:c.items,a=["sm","md"].includes(j)?1:3,e.reduce((l,e,t)=>
1t%a==0?[...l,[e]]:[...l.slice(0,-1),[...l.slice(-1)[0],e]],[])).map((l,e)=>({content:(0,t.jsx)(_,{data:l,itemIndex:e,virtualVisitUrl:null==c?void 0:c.virtual_visit_url},"g-".concat(e))}))})}),m&&(0,t.jsx)("p",{className:"z-20 text-xs text-grey md:-mt-[60px] mt-2",children:w("Photos non contractuelles")})]}),(null==c?void 0:c.virtual_visit_url)&&(0,t.jsx)(v.default,{visible:B,secondaryBg:"902722",primaryBg:"F5AAA2",onClose:()=>C(!1),type:"modalVisit",children:(0,t.jsx)(g.Z,{iframeSrc:null==c?void 0:c.virtual_visit_url})})]})}},6511:function(l,e,a){"use strict";a.d(e,{f:function(){return i}});let t={red:{innerBg:"#902722",mainBg:"#F5AAA2"},navy:{innerBg:"#212345",mainBg:"#97CBD2"},"navy blue":{innerBg:"#212345",mainBg:"#97CBD2"},"light blue":{innerBg:"#adcde8",mainBg:"#d9ecfc"},orange:{innerBg:"#D85935",mainBg:"#FBEACD"},green:{innerBg:"#D85935",mainBg:"#21534f"},"vert claire":{innerBg:"#60B2A2",mainBg:"#D9ECFC"},"vert fonce":{innerBg:"#21534f",mainBg:"#B3D9C6"},"beige-claire":{innerBg:"#FBEACD",mainBg:"#FFF7ED"},"blue medium":{innerBg:"#006681",mainBg:"#D9ECFC"},mauve:{innerBg:"#BABDCD",mainBg:"#EAEAF7"},turquoise:{innerBg:"#97CBD2",mainBg:"#D9ECFC"}},i=l=>{if(!l)return t["light blue"];if(t[l.toLocaleLowerCase()])return t[l.toLocaleLowerCase()];switch(l.toLocaleLowerCase()){case"#d85935":return t.orange;case"#902722":case"#f5aaa2":return t.red;case"#142336":return t["navy blue"];case"#006682":return t["blue medium"];case"#60b2a2":return t["vert claire"];case"#fbeacd":return t["beige-claire"];case"#97cbd2":return t.turquoise;case"#212345":return t.navy;case"#21534f":return t["vert fonce"];case"#babdcd":return t.mauve;case"#006681":return t.green;default:return t["light blue"]}}},7988:function(l){l.exports={modalScope:"modal-popin_global_modalScope__TfTu_"}},7015:function(l){l.exports={modal:"modal_modal__4Srbv",modalFsMobile:"modal_modalFsMobile__cKlbe",modal_lg:"modal_modal_lg__XyHWn",modalVisit:"modal_modalVisit__Xd5xO",modalClose:"modal_modalClose__3dlRH",modalContent:"modal_modalContent___0xwL",modalGeneral:"modal_modalGeneral__N4nup",modal_md:"modal_modal_md__QNfiB",modalFade:"modal_modalFade__1AmTI",modalNewsletter:"modal_modalNewsletter__l6LHL",overlay:"modal_overlay__Cs7Je",modalWrap:"modal_modalWrap__dvOpM",modalWrap_md:"modal_modalWrap_md__Up7_c",modalWrap_lg:"modal_modalWrap_lg__kjkQ6",dark:"modal_dark__Rgkvm"}},5570:function(l){l.exports={virtualVisit:"virtualVisitContent_virtualVisit__qmIwO",virtualVisitLoader:"virtualVisitContent_virtualVisitLoader__Js3mB"}},6211:function(l){l.exports={gallery:"gallery_gallery__0Benm",gallerySlide:"gallery_gallerySlide__Yxamx",galleryItem:"gallery_galleryItem__vUzWF",galleryItemFull:"gallery_galleryItemFull__Kg8Rh",galleryItemBig:"gallery_galleryItemBig__uNGzl",galleryItemSmall:"gallery_galleryItemSmall___04Lk"}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.