{"version":3,"file":"PropertyMetaRow.DoNw6YkV.mjs","names":["React.useState","_Fragment","__esmMin","_e","l","p","c","init_jsx_runtime","init_npm_react_18_3_1","motion","AnimatePresence","init_framer_motion_DhsWWWsN","init_framer_CN96F41L","addPropertyControls","ControlType","PropertyDetailsButton","style","label","init_PropertyDetailsButton","PropertyGallerySlider","index","setIndex","hovered","setHovered","images","image1","image2","image3","image4","src","current","change","event","value","direction","imageHeight","badge","init_PropertyGallerySlider","PropertyMetaRow","icon","text","beds","area","location","init_PropertyMetaRow"],"sources":["https:/framerusercontent.com/modules/nHhjVrDoh60LtDn3M5XZ/Oo3fhq2SkYYAuqK5vUkG/PropertyDetailsButton.js","https:/framerusercontent.com/modules/vUfhbX3JFD5FLhn6NSdc/KExYNjsXxhD5lPbw7M5v/PropertyGallerySlider.js","https:/framerusercontent.com/modules/Gz4jJ8xc9Oaho64IHiar/RCEn3XOYGOLhVbn3w4Y1/PropertyMetaRow.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{motion}from\"framer-motion\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight fixed\n */export default function PropertyDetailsButton({label=\"View Details\",href=\"#\",style}){return /*#__PURE__*/_jsxs(motion.a,{href:href,whileHover:\"hover\",initial:\"rest\",animate:\"rest\",style:{...style,width:\"100%\",height:39,boxSizing:\"border-box\",display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",padding:\"0 16px\",borderRadius:8,background:\"#7b806d\",color:\"#fff\",textDecoration:\"none\",fontFamily:\"Rubik, sans-serif\",fontSize:14,fontWeight:500,lineHeight:\"18px\",overflow:\"hidden\"},children:[/*#__PURE__*/_jsx(\"span\",{children:label}),/*#__PURE__*/_jsx(motion.svg,{variants:{rest:{x:0},hover:{x:4}},transition:{duration:.22,ease:[.22,1,.36,1]},width:\"16\",height:\"16\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"1.7\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M4 12h15M13 5l7 7-7 7\"})})]});}addPropertyControls(PropertyDetailsButton,{label:{type:ControlType.String,title:\"Label\",defaultValue:\"View Details\"},href:{type:ControlType.Link,title:\"Link\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PropertyDetailsButton\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PropertyDetailsButton.map","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{AnimatePresence,motion}from\"framer-motion\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function PropertyGallerySlider({image1,image2,image3,image4,badge=\"\",imageHeight=300,style}){const[index,setIndex]=React.useState(0);const[hovered,setHovered]=React.useState(false);const images=[image1,image2,image3,image4].filter(src=>Boolean(src));const current=images.length?images[index%images.length]:undefined;const change=(direction,event)=>{event.preventDefault();event.stopPropagation();if(images.length>1)setIndex(value=>(value+direction+images.length)%images.length);};return /*#__PURE__*/_jsx(\"div\",{style:{...style,position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",zIndex:4,pointerEvents:\"none\",overflow:\"visible\"},children:/*#__PURE__*/_jsxs(\"div\",{onPointerEnter:()=>setHovered(true),onPointerLeave:()=>setHovered(false),style:{position:\"absolute\",top:11,left:11,right:11,height:imageHeight,overflow:\"hidden\",borderRadius:8,pointerEvents:\"auto\"},children:[/*#__PURE__*/_jsx(AnimatePresence,{mode:\"wait\",children:current&&/*#__PURE__*/_jsx(motion.img,{src:current,alt:\"\",initial:{opacity:.4,scale:1.015},animate:{opacity:1,scale:1},exit:{opacity:0},transition:{duration:.28,ease:[.22,1,.36,1]},draggable:false,style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",objectFit:\"cover\"}},current)}),badge?/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:10,left:10,padding:\"5px 12px\",borderRadius:5,background:\"#fff\",color:\"#202020\",fontSize:12,lineHeight:\"16px\",fontWeight:400,pointerEvents:\"none\"},children:badge}):null,images.length>1&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(motion.button,{type:\"button\",\"aria-label\":\"Previous property photo\",onClick:event=>change(-1,event),animate:{opacity:hovered?1:0,x:hovered?0:-5},transition:{duration:.2},style:{position:\"absolute\",left:14,top:\"50%\",marginTop:-19,width:38,height:38,border:0,borderRadius:999,background:\"rgba(255,255,255,.94)\",color:\"#171717\",display:\"grid\",placeItems:\"center\",cursor:\"pointer\",fontSize:22,lineHeight:1,pointerEvents:hovered?\"auto\":\"none\"},children:\"‹\"}),/*#__PURE__*/_jsx(motion.button,{type:\"button\",\"aria-label\":\"Next property photo\",onClick:event=>change(1,event),animate:{opacity:hovered?1:0,x:hovered?0:5},transition:{duration:.2},style:{position:\"absolute\",right:14,top:\"50%\",marginTop:-19,width:38,height:38,border:0,borderRadius:999,background:\"rgba(255,255,255,.94)\",color:\"#171717\",display:\"grid\",placeItems:\"center\",cursor:\"pointer\",fontSize:22,lineHeight:1,pointerEvents:hovered?\"auto\":\"none\"},children:\"›\"})]})]})});}addPropertyControls(PropertyGallerySlider,{image1:{type:ControlType.Image,title:\"Image 1\"},image2:{type:ControlType.Image,title:\"Image 2\"},image3:{type:ControlType.Image,title:\"Image 3\"},image4:{type:ControlType.Image,title:\"Image 4\"},badge:{type:ControlType.String,title:\"Badge\"},imageHeight:{type:ControlType.Number,title:\"Image Height\",defaultValue:300,min:180,max:500,step:10}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PropertyGallerySlider\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PropertyGallerySlider.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function PropertyMetaRow({beds=\"3\",area=\"2,100 sqft\",location=\"Los Angeles, California\",style}){const icon={width:13,height:13,flex:\"0 0 auto\",color:\"#222\"};const text={fontFamily:\"Rubik, sans-serif\",fontSize:14,fontWeight:400,lineHeight:\"18px\",color:\"#555\",whiteSpace:\"nowrap\"};return /*#__PURE__*/_jsxs(\"div\",{style:{...style,width:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",gap:10,minWidth:0},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:12,minWidth:0},children:[/*#__PURE__*/_jsxs(\"span\",{style:{display:\"inline-flex\",alignItems:\"center\",gap:4,...text},children:[/*#__PURE__*/_jsxs(\"svg\",{viewBox:\"0 0 24 24\",style:icon,fill:\"none\",stroke:\"currentColor\",strokeWidth:\"1.7\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M3 10h18v9H3z\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M5 10V7h14v3M6 19v2m12-2v2M7 13v3m5-3v3m5-3v3\"})]}),beds]}),/*#__PURE__*/_jsxs(\"span\",{style:{display:\"inline-flex\",alignItems:\"center\",gap:4,...text},children:[/*#__PURE__*/_jsxs(\"svg\",{viewBox:\"0 0 24 24\",style:icon,fill:\"none\",stroke:\"currentColor\",strokeWidth:\"1.7\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M4 4h16v16H4z\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M8 16l8-8m-5 0h5v5\"})]}),area]})]}),/*#__PURE__*/_jsxs(\"span\",{style:{display:\"inline-flex\",alignItems:\"center\",gap:4,...text,justifyContent:\"flex-end\",minWidth:0,overflow:\"hidden\",textOverflow:\"ellipsis\"},children:[/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 24 24\",style:icon,fill:\"currentColor\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M12 22s8-7.2 8-13a8 8 0 1 0-16 0c0 5.8 8 13 8 13Zm0-10.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5Z\"})}),location]})]});}addPropertyControls(PropertyMetaRow,{beds:{type:ControlType.String,title:\"Bedrooms\"},area:{type:ControlType.String,title:\"Area\"},location:{type:ControlType.String,title:\"Location\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PropertyMetaRow\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PropertyMetaRow.map"],"mappings":"A,gPAGG,SAAwBe,EAAsB,CAAC,QAAM,eAAe,OAAK,IAAI,SAAO,CAAC,MAAoB,gBAAMN,EAAO,EAAE,CAAM,OAAK,WAAW,QAAQ,QAAQ,OAAO,QAAQ,OAAO,MAAM,CAAC,GAAGO,EAAM,MAAM,OAAO,OAAO,GAAG,UAAU,aAAa,QAAQ,OAAO,WAAW,SAAS,eAAe,gBAAgB,QAAQ,SAAS,aAAa,EAAE,WAAW,UAAU,MAAM,OAAO,eAAe,OAAO,WAAW,oBAAoB,SAAS,GAAG,WAAW,IAAI,WAAW,OAAO,SAAS,QAAQ,EAAE,SAAS,CAAc,gBAAK,OAAO,CAAC,SAASC,CAAK,CAAC,EAAe,gBAAKR,EAAO,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,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