{"version":3,"file":"MarketplaceListings.Iil3dwPC.mjs","names":["mask","Base","MotionSVG","SVG","svg","getProps","Icon","React.forwardRef","React.forwardRef","React.useState","React.useRef","React.useMemo","React.useCallback","__esmMin","init_ssg_sandbox_shims","pe","te","init_npm_react_18_3_1","_e","de","init_jsx_runtime","ne","J","c","p","ce","window","motion","cx","init_framer_BpuvUAiZ","addPropertyControls","withCSS","ControlType","useSVGTemplate","mask$1","Base$1","MotionSVG$1","SVG$1","svg$1","getProps$1","Icon$1","init_P3MA2yYun","props","rest","animated","width1","color","restProps","href","className","P_DcoRcrY","JEeZYcamG","style","mask","Base","MotionSVG","SVG","svg","getProps","Icon","init_E_WW9SMXE","stripHtml","input","decodeHtml","textarea","getListingImage","fallback","media","listing","sizes","getPrice","value","normalized","getLocationLabel","terms","best","group","t","buildProxyUrl","encodedTarget","targetUrl","safeProxy","proxyBase","parsed","paramKey","separator","key","MarketplaceListings","listings","setListings","loading","setLoading","error","setError","containerWidth","setContainerWidth","containerRef","featuredMode","mode","isPhone","isTablet","resolveColumns","columnsPhone","columnsTablet","columnsDesktop","responsiveImageHeight","imageHeight","gridMaxWidth","maxGridWidth","gridGap","requestCount","count","endpointWithParams","safeBase","apiEndpoint","url","filterByMode","publishedAndSorted","items","item","b","a","node","observer","next","entries","mounted","controller","fetchListings","response","directError","proxyUrl","proxyEndpoint","directRequestError","proxyRequestError","proxyError","data","filtered","err","stateMessage","ctaRenderWidth","ctaWidth","sectionBackground","borderColor","cardBackground","cardRadius","mutedTextColor","bodyFont","image","description","title","price","location","cardPadding","featuredPillBackground","featuredPillTextColor","metaFont","titleColor","titleFont","textColor","priceFont","ctaHeight","ctaBackground","ctaTextColor","ctaFont","init_MarketplaceListings"],"sources":["https:/framerusercontent.com/modules/CiGGjrw5dYpN4NHDE2Gg/oCG5ewYxDu1Xmf4RdqTv/P3MA2yYun.js","https:/framerusercontent.com/modules/Iaiw2CAuq0SJ5QUc1pyo/9mDlrQG5U2RJ1lwFzyRi/E_WW9SMXE.js","https:/framerusercontent.com/modules/U3sSbCLm5bCYtjj6bKfB/HHetXNyzdbMpN8Gzwvsz/MarketplaceListings.js"],"sourcesContent":["// Generated by Framer (85eaff3)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,useSVGTemplate,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask=\"var(--framer-icon-mask)\";const Base=/*#__PURE__*/forwardRef(function(props,ref){return /*#__PURE__*/_jsx(\"svg\",{...props,ref:ref,children:props.children});});const MotionSVG=motion.create(Base);const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(MotionSVG,{...rest,layoutId:layoutId,ref:ref,children:children}):/*#__PURE__*/_jsx(\"svg\",{...rest,ref:ref,children:children});});const svg='<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 0 0 L 10 0 L 10 10\" fill=\"transparent\" height=\"10px\" id=\"eMA3WLRa2\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(7 7)\" width=\"10px\"/><path d=\"M 0 10 L 10 0\" fill=\"transparent\" height=\"10px\" id=\"GBl_xBBAR\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(7 7)\" width=\"10px\"/></svg>';const getProps=({color,height,id,width,width1,...props})=>{return{...props,JEeZYcamG:width1??props.JEeZYcamG??2,P_DcoRcrY:color??props.P_DcoRcrY??\"rgb(0, 0, 0)\"};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,P_DcoRcrY,JEeZYcamG,...restProps}=getProps(props);const href=useSVGTemplate(\"1475982494\",svg);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-HfmfX\",className),layoutId:layoutId,ref:ref,role:\"presentation\",style:{\"--1m973uw\":P_DcoRcrY,\"--js9iwy\":JEeZYcamG,...style},viewBox:\"0 0 24 24\",children:/*#__PURE__*/_jsx(\"use\",{href:href})});});const css=[`.framer-HfmfX { -webkit-mask: ${mask}; aspect-ratio: 1; display: block; mask: ${mask}; width: 24px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"P_DcoRcrY\":\"color\",\"JEeZYcamG\":\"width1\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Arrow Up Right\",\"color\":{\"type\":\"variable\",\"value\":\"1m973uw\"},\"set\":{\"localId\":\"vectorSet/ZsiCCGPvG\",\"id\":\"ZsiCCGPvG\",\"moduleId\":\"Y7SpbVH16cWqMhj75z1M\"}}\n */const Icon=withCSS(Component,css,\"framer-HfmfX\");Icon.displayName=\"Arrow Up Right\";export default Icon;addPropertyControls(Icon,{P_DcoRcrY:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Color\",type:ControlType.Color},JEeZYcamG:{defaultValue:2,displayStepper:true,hidden:false,max:16,min:1,title:\"Width\",type:ControlType.Number}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"24\",\"framerVector\":\"{\\\"name\\\":\\\"Arrow Up Right\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"1m973uw\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/ZsiCCGPvG\\\",\\\"id\\\":\\\"ZsiCCGPvG\\\",\\\"moduleId\\\":\\\"Y7SpbVH16cWqMhj75z1M\\\"}}\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerVariables\":\"{\\\"P_DcoRcrY\\\":\\\"color\\\",\\\"JEeZYcamG\\\":\\\"width1\\\"}\",\"framerIntrinsicWidth\":\"24\",\"framerImmutableVariables\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (85eaff3)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,useSVGTemplate,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask=\"var(--framer-icon-mask)\";const Base=/*#__PURE__*/forwardRef(function(props,ref){return /*#__PURE__*/_jsx(\"svg\",{...props,ref:ref,children:props.children});});const MotionSVG=motion.create(Base);const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(MotionSVG,{...rest,layoutId:layoutId,ref:ref,children:children}):/*#__PURE__*/_jsx(\"svg\",{...rest,ref:ref,children:children});});const svg='<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 8 0 C 8 2.209 6.209 4 4 4 C 1.791 4 0 2.209 0 0\" fill=\"transparent\" height=\"4px\" id=\"zzwC1oxs2\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(8 10)\" width=\"8px\"/><path d=\"M 0 0 L 17.794 0\" fill=\"transparent\" height=\"1px\" id=\"ZJBsOO8Rv\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(3.103 6.034)\" width=\"17.794px\"/><path d=\"M 0.4 3.467 C 0.14 3.813 0 4.234 0 4.667 L 0 18 C 0 19.105 0.895 20 2 20 L 16 20 C 17.105 20 18 19.105 18 18 L 18 4.667 C 18 4.234 17.86 3.813 17.6 3.467 L 15.6 0.8 C 15.222 0.296 14.63 0 14 0 L 4 0 C 3.37 0 2.778 0.296 2.4 0.8 Z\" fill=\"transparent\" height=\"20px\" id=\"rvk9LcAh9\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(3 2)\" width=\"18px\"/></svg>';const getProps=({color,height,id,width,width1,...props})=>{return{...props,JEeZYcamG:width1??props.JEeZYcamG??2,P_DcoRcrY:color??props.P_DcoRcrY??\"rgb(0, 0, 0)\"};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,P_DcoRcrY,JEeZYcamG,...restProps}=getProps(props);const href=useSVGTemplate(\"4220071986\",svg);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-kYrp6\",className),layoutId:layoutId,ref:ref,role:\"presentation\",style:{\"--1m973uw\":P_DcoRcrY,\"--js9iwy\":JEeZYcamG,...style},viewBox:\"0 0 24 24\",children:/*#__PURE__*/_jsx(\"use\",{href:href})});});const css=[`.framer-kYrp6 { -webkit-mask: ${mask}; aspect-ratio: 1; display: block; mask: ${mask}; width: 24px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"P_DcoRcrY\":\"color\",\"JEeZYcamG\":\"width1\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Shopping Bag\",\"color\":{\"type\":\"variable\",\"value\":\"1m973uw\"},\"set\":{\"localId\":\"vectorSet/ZsiCCGPvG\",\"id\":\"ZsiCCGPvG\",\"moduleId\":\"Y7SpbVH16cWqMhj75z1M\"}}\n */const Icon=withCSS(Component,css,\"framer-kYrp6\");Icon.displayName=\"Shopping Bag\";export default Icon;addPropertyControls(Icon,{P_DcoRcrY:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Color\",type:ControlType.Color},JEeZYcamG:{defaultValue:2,displayStepper:true,hidden:false,max:16,min:1,title:\"Width\",type:ControlType.Number}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"24\",\"framerImmutableVariables\":\"true\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerVector\":\"{\\\"name\\\":\\\"Shopping Bag\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"1m973uw\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/ZsiCCGPvG\\\",\\\"id\\\":\\\"ZsiCCGPvG\\\",\\\"moduleId\\\":\\\"Y7SpbVH16cWqMhj75z1M\\\"}}\",\"framerIntrinsicWidth\":\"24\",\"framerVariables\":\"{\\\"P_DcoRcrY\\\":\\\"color\\\",\\\"JEeZYcamG\\\":\\\"width1\\\"}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// User request: Create a reusable “Marketplace Listings” Framer component that fetches live WordPress listings, supports mode/count/endpoint/column controls, filters featured modes client-side, renders Equine Central editorial cards with configurable styling and typography, makes each full card a same-tab link, and includes loading/empty/error states.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";function stripHtml(input){if(!input)return\"\";return input.replace(/<[^>]*>/g,\"\").replace(/\\s+/g,\" \").trim();}function decodeHtml(input){if(!input)return\"\";if(typeof window===\"undefined\")return input;const textarea=window.document.createElement(\"textarea\");textarea.innerHTML=input;return textarea.value;}function getListingImage(listing){const fallback={src:\"https://framerusercontent.com/images/f9RiWoNpmlCMqVRIHz8l8wYfeI.jpg\",alt:\"\"};const media=listing?._embedded?.[\"wp:featuredmedia\"]?.[0];if(!media)return fallback;const sizes=media?.media_details?.sizes;const best=sizes?.large?.source_url||sizes?.medium_large?.source_url||sizes?.medium?.source_url||media?.source_url;return{src:best||fallback.src,alt:media?.alt_text||\"\"};}function getPrice(listing){const value=listing?.meta?.hp_price;if(value===undefined||value===null||value===\"\")return\"Price on request\";const normalized=typeof value===\"number\"?value:Number(String(value).replace(/,/g,\"\").trim());if(!Number.isFinite(normalized))return\"Price on request\";return new Intl.NumberFormat(\"en-AE\",{style:\"currency\",currency:\"AED\",maximumFractionDigits:0,minimumFractionDigits:0}).format(normalized);}function getLocationLabel(listing){const terms=listing?._embedded?.[\"wp:term\"];if(!Array.isArray(terms))return\"United Arab Emirates\";const flatTerms=terms.flatMap(group=>Array.isArray(group)?group:[]);const best=flatTerms.find(t=>t?.taxonomy===\"hp_listing_location\");return String(best?.name||\"United Arab Emirates\");}function buildProxyUrl(proxyBase,targetUrl){const encodedTarget=encodeURIComponent(targetUrl);const safeProxy=proxyBase.trim();if(!safeProxy)return targetUrl;if(safeProxy.includes(\"{url}\"))return safeProxy.replace(\"{url}\",encodedTarget);try{const parsed=new URL(safeProxy);const paramKey=parsed.searchParams.has(\"url\")?\"url\":parsed.searchParams.has(\"target\")?\"target\":parsed.searchParams.has(\"q\")?\"q\":\"url\";parsed.searchParams.set(paramKey,targetUrl);return parsed.toString();}catch(_error){const separator=safeProxy.includes(\"?\")?\"&\":\"?\";const key=safeProxy.endsWith(\"=\")?\"\":\"url=\";return`${safeProxy}${safeProxy.endsWith(\"=\")?\"\":separator}${key}${encodedTarget}`;}}/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function MarketplaceListings(props){const{mode,count,apiEndpoint,proxyEndpoint,columnsDesktop,columnsTablet,columnsPhone,sectionBackground,cardBackground,borderColor,cardRadius,gridGap,cardPadding,imageHeight,titleColor,textColor,mutedTextColor,ctaBackground,ctaTextColor,ctaWidth,ctaHeight,featuredPillBackground,featuredPillTextColor,titleFont,priceFont,bodyFont,metaFont,ctaFont}=props;const[listings,setListings]=React.useState([]);const[loading,setLoading]=React.useState(true);const[error,setError]=React.useState(\"\");const[containerWidth,setContainerWidth]=React.useState(1200);const containerRef=React.useRef(null);const featuredMode=mode!==\"Latest Listings\";const isPhone=containerWidth<=767;const isTablet=containerWidth>767&&containerWidth<=1024;const resolveColumns=React.useMemo(()=>{if(containerWidth<=767)return Math.max(1,Math.round(columnsPhone));if(containerWidth<=1024)return Math.max(1,Math.round(columnsTablet));return Math.max(1,Math.round(columnsDesktop));},[columnsDesktop,columnsPhone,columnsTablet,containerWidth]);const responsiveImageHeight=React.useMemo(()=>{if(isPhone)return Math.max(164,Math.round(imageHeight*.78));if(isTablet)return Math.max(186,Math.round(imageHeight*.9));return imageHeight;},[imageHeight,isPhone,isTablet]);const gridMaxWidth=React.useMemo(()=>{if(isPhone)return\"100%\";const targetCardWidth=263;const maxGridWidth=resolveColumns*targetCardWidth+(Math.max(resolveColumns-1,0)*gridGap+2);if(isTablet)return`${Math.min(maxGridWidth,containerWidth)}px`;return`${Math.min(maxGridWidth,containerWidth)}px`;},[containerWidth,gridGap,isPhone,isTablet,resolveColumns]);const requestCount=React.useMemo(()=>{if(!featuredMode)return Math.max(1,count);return Math.max(count*4,count+8);},[count,featuredMode]);const endpointWithParams=React.useMemo(()=>{const fallback=\"https://marketplace.equinecentral.ae/wp-json/wp/v2/listings\";const safeBase=apiEndpoint||fallback;try{const url=new URL(safeBase,fallback);url.searchParams.set(\"per_page\",String(requestCount));url.searchParams.set(\"orderby\",\"date\");url.searchParams.set(\"order\",\"desc\");url.searchParams.set(\"_embed\",\"1\");return url.toString();}catch(_error){const url=new URL(fallback);url.searchParams.set(\"per_page\",String(requestCount));url.searchParams.set(\"orderby\",\"date\");url.searchParams.set(\"order\",\"desc\");url.searchParams.set(\"_embed\",\"1\");return url.toString();}},[apiEndpoint,requestCount]);const filterByMode=React.useCallback(items=>{const publishedAndSorted=[...items].filter(item=>!item.status||item.status===\"publish\"||item.status===\"published\").sort((a,b)=>new Date(b.date||0).getTime()-new Date(a.date||0).getTime());if(mode===\"Homepage Featured\"){return publishedAndSorted.filter(item=>item.meta?.hp_featured_homepage===true);}if(mode===\"Marketplace Featured\"){return publishedAndSorted.filter(item=>item.meta?.hp_featured_marketplace===true);}return publishedAndSorted;},[mode]);React.useEffect(()=>{if(typeof window===\"undefined\")return;if(!containerRef.current)return;const node=containerRef.current;const observer=new ResizeObserver(entries=>{const next=entries[0]?.contentRect?.width;if(next&&next!==containerWidth){React.startTransition(()=>setContainerWidth(next));}});observer.observe(node);return()=>observer.disconnect();},[containerWidth]);React.useEffect(()=>{let mounted=true;const controller=new AbortController;async function fetchListings(){React.startTransition(()=>{setLoading(true);setError(\"\");});try{let response=null;let directError=null;const proxyUrl=buildProxyUrl(proxyEndpoint,endpointWithParams);try{response=await fetch(endpointWithParams,{signal:controller.signal});if(!response.ok){directError=`Direct request failed (${response.status})`;response=null;}}catch(directRequestError){directError=directRequestError?.message||\"Direct request failed due to a network/CORS error\";}if(!response){try{response=await fetch(proxyUrl,{signal:controller.signal});if(!response.ok){throw new Error(`Proxy request failed (${response.status})`);}}catch(proxyRequestError){const proxyError=proxyRequestError?.message||\"Proxy request failed due to a network error\";throw new Error(`${directError||\"Direct request failed\"}. Fallback proxy also failed: ${proxyError}.`);}}const data=await response.json();if(!mounted)return;const filtered=filterByMode(Array.isArray(data)?data:[]).slice(0,Math.max(1,count));React.startTransition(()=>setListings(filtered));}catch(err){if(!mounted||err?.name===\"AbortError\")return;React.startTransition(()=>setError(err?.message||\"Unable to load listings: both direct and fallback requests failed. Please try again shortly.\"));}finally{if(mounted){React.startTransition(()=>setLoading(false));}}}fetchListings();return()=>{mounted=false;controller.abort();};},[count,endpointWithParams,filterByMode,proxyEndpoint]);const stateMessage=loading?\"Loading curated listings…\":error||\"No listings are available at the moment.\";const ctaRenderWidth=React.useMemo(()=>\"100%\",[ctaWidth]);return /*#__PURE__*/_jsx(\"section\",{ref:containerRef,style:{position:\"relative\",width:\"100%\",background:sectionBackground,padding:isPhone?\"0 10px\":0},children:loading||error||listings.length===0?/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",border:`1px solid ${borderColor}`,background:cardBackground,borderRadius:cardRadius,padding:\"18px\",color:mutedTextColor,...bodyFont},children:stateMessage}):/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",maxWidth:gridMaxWidth,margin:\"0 auto\",display:\"grid\",gridTemplateColumns:`repeat(${resolveColumns}, minmax(0, 1fr))`,gap:`${gridGap}px`},children:listings.map(listing=>{const image=getListingImage(listing);const description=stripHtml(listing.content?.rendered);const title=decodeHtml(stripHtml(listing.title?.rendered||\"Untitled Listing\"));const price=getPrice(listing);const location=getLocationLabel(listing);return /*#__PURE__*/_jsx(\"a\",{href:listing.link,style:{textDecoration:\"none\",color:\"inherit\",display:\"block\"},children:/*#__PURE__*/_jsxs(\"article\",{style:{position:\"relative\",border:`1px solid ${borderColor}`,background:cardBackground,borderRadius:cardRadius,overflow:\"hidden\",padding:0,display:\"flex\",flexDirection:\"column\",minHeight:\"100%\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:`${responsiveImageHeight}px`,overflow:\"hidden\",background:\"#F5F5F5\"},children:/*#__PURE__*/_jsx(\"img\",{src:image.src,alt:image.alt,style:{width:\"100%\",height:\"100%\",objectFit:\"cover\",display:\"block\"}})}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:\"8px\",padding:cardPadding,flex:1},children:[featuredMode&&/*#__PURE__*/_jsx(\"div\",{style:{alignSelf:\"flex-start\",background:featuredPillBackground,color:featuredPillTextColor,borderRadius:\"999px\",padding:\"3px 9px\",fontSize:\"11px\",letterSpacing:\"0.08em\",textTransform:\"uppercase\",...metaFont},children:\"Featured\"}),/*#__PURE__*/_jsx(\"h3\",{style:{margin:0,color:titleColor,...titleFont,fontFamily:\"Cormorant Garamond, Cormorant, Times New Roman, serif\",fontSize:isPhone?\"18px\":isTablet?\"20px\":\"22px\",lineHeight:\"1.04em\"},children:title}),/*#__PURE__*/_jsx(\"div\",{style:{color:textColor,...priceFont},children:price}),/*#__PURE__*/_jsx(\"div\",{style:{color:mutedTextColor,fontSize:\"12px\",...metaFont},children:location}),/*#__PURE__*/_jsx(\"p\",{style:{margin:0,color:textColor,overflow:\"hidden\",display:\"-webkit-box\",WebkitLineClamp:2,WebkitBoxOrient:\"vertical\",fontSize:\"13px\",lineHeight:\"1.5em\",...bodyFont},children:description}),/*#__PURE__*/_jsx(\"div\",{style:{marginTop:\"auto\",display:\"flex\",justifyContent:\"center\",paddingTop:\"6px\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{width:ctaRenderWidth,height:`${ctaHeight}px`,borderRadius:\"5px\",background:ctaBackground,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",gap:\"6px\",padding:\"0 10px\",color:ctaTextColor,fontFamily:\"Montserrat, Arial, sans-serif\",...ctaFont},children:[/*#__PURE__*/_jsx(\"span\",{children:\"View Listing\"}),/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":true,children:\"↗\"})]})})]})]})},listing.id);})})});}addPropertyControls(MarketplaceListings,{mode:{type:ControlType.Enum,title:\"Mode\",defaultValue:\"Homepage Featured\",options:[\"Homepage Featured\",\"Marketplace Featured\",\"Latest Listings\"]},count:{type:ControlType.Number,title:\"Count\",defaultValue:4,min:1,max:24,step:1},apiEndpoint:{type:ControlType.String,title:\"API Endpoint\",defaultValue:\"https://marketplace.equinecentral.ae/wp-json/wp/v2/listings\"},proxyEndpoint:{type:ControlType.String,title:\"Proxy Endpoint\",defaultValue:\"https://api.allorigins.win/raw?url=\"},columnsDesktop:{type:ControlType.Number,title:\"Desktop Cols\",defaultValue:4,min:1,max:6,step:1},columnsTablet:{type:ControlType.Number,title:\"Tablet Cols\",defaultValue:2,min:1,max:4,step:1},columnsPhone:{type:ControlType.Number,title:\"Phone Cols\",defaultValue:1,min:1,max:2,step:1},sectionBackground:{type:ControlType.Color,title:\"Section BG\",defaultValue:\"#FFFFFF\"},cardBackground:{type:ControlType.Color,title:\"Card BG\",defaultValue:\"#FFFDF7\"},borderColor:{type:ControlType.Color,title:\"Border\",defaultValue:\"rgba(24, 45, 66, 0.12)\"},cardRadius:{type:ControlType.BorderRadius,title:\"Radius\",defaultValue:\"12px\"},gridGap:{type:ControlType.Number,title:\"Gap\",defaultValue:12,min:6,max:40,step:1},cardPadding:{type:ControlType.Padding,title:\"Card Pad\",defaultValue:\"16px 18px 18px\"},imageHeight:{type:ControlType.Number,title:\"Image H\",defaultValue:218,min:80,max:280,step:1},titleColor:{type:ControlType.Color,title:\"Title\",defaultValue:\"#12233D\"},textColor:{type:ControlType.Color,title:\"Text\",defaultValue:\"#000000\"},mutedTextColor:{type:ControlType.Color,title:\"Muted\",defaultValue:\"#5E6A79\"},ctaBackground:{type:ControlType.Color,title:\"CTA BG\",defaultValue:\"#C9A56A\"},ctaTextColor:{type:ControlType.Color,title:\"CTA Text\",defaultValue:\"#12233D\"},ctaWidth:{type:ControlType.Number,title:\"CTA W\",defaultValue:192,min:100,max:260,step:1},ctaHeight:{type:ControlType.Number,title:\"CTA H\",defaultValue:42,min:24,max:64,step:1},featuredPillBackground:{type:ControlType.Color,title:\"Pill BG\",defaultValue:\"#C9A56A\"},featuredPillTextColor:{type:ControlType.Color,title:\"Pill Text\",defaultValue:\"#12233D\"},titleFont:{type:ControlType.Font,title:\"Title Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"22px\",variant:\"Semibold\",letterSpacing:\"-0.01em\",lineHeight:\"1.05em\"}},priceFont:{type:ControlType.Font,title:\"Price Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"15px\",variant:\"Semibold\",letterSpacing:\"0em\",lineHeight:\"1.15em\"}},bodyFont:{type:ControlType.Font,title:\"Body Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"13px\",variant:\"Regular\",letterSpacing:\"0em\",lineHeight:\"1.5em\"}},metaFont:{type:ControlType.Font,title:\"Meta Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"11px\",variant:\"Medium\",letterSpacing:\"0.04em\",lineHeight:\"1.2em\"}},ctaFont:{type:ControlType.Font,title:\"CTA Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"13px\",variant:\"Regular\",letterSpacing:\"0em\",lineHeight:\"1em\"}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"MarketplaceListings\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./MarketplaceListings.map"],"mappings":"A,sWACgMA,EAAK,0BAAgCC,EAAkB,gBAAW,SAAS,EAAM,EAAI,CAAC,MAAoB,gBAAK,MAAM,CAAC,GAAGyC,EAAU,MAAI,SAASA,EAAM,QAAQ,CAAC,CAAE,CAAC,EAAQxC,EAAUyB,EAAO,OAAO1B,CAAI,EAAQE,EAAiB,iBAAY,EAAM,IAAM,CAAC,GAAK,CAAC,WAAS,WAAS,WAAS,GAAGwC,GAAMD,EAAM,OAAOE,EAAsB,gBAAK1C,EAAU,CAAC,GAAGyC,EAAc,WAAa,MAAa,UAAQ,CAAC,EAAe,gBAAK,MAAM,CAAC,GAAGA,EAAS,MAAa,UAAQ,CAAC,CAAE,CAAC,EAAQvC,EAAI,gmBAAsmBC,GAAU,CAAC,QAAM,SAAO,KAAG,QAAM,SAAO,GAAGqC,MAAgB,CAAC,GAAGA,EAAM,UAAUG,GAAQH,EAAM,WAAW,EAAE,UAAUI,GAAOJ,EAAM,WAAW,cAAc,GAS54CpC,EAAKyB,EATw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