{"version":3,"file":"TerraceImageFetchPriority.VBwXCyEt.mjs","names":[],"sources":["https:/framerusercontent.com/modules/oozQ4IEV6Zr8hg8WypFK/ivGAIjDoaZBM7RVgdhJr/DQGL3_cw0.js","https:/framerusercontent.com/modules/ss5RHIII5WmaxDczJYyI/5Bul2NDFHyG0ZwSx8cZa/TerraceImageFetchPriority.js"],"sourcesContent":["// Generated by Framer (0116799)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"GF;Cormorant Garamond-500\",\"GF;Cormorant Garamond-700\",\"GF;Cormorant Garamond-700italic\",\"GF;Cormorant Garamond-500italic\"]);export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"Cormorant Garamond\",source:\"google\",style:\"normal\",uiFamilyName:\"Cormorant Garamond\",url:\"https://fonts.gstatic.com/s/cormorantgaramond/v21/co3umX5slCNuHLi8bLeY9MK7whWMhyjypVO7abI26QOD_s06GnbEi_s4Mfs.woff2\",weight:\"500\"},{cssFamilyName:\"Cormorant Garamond\",source:\"google\",style:\"normal\",uiFamilyName:\"Cormorant Garamond\",url:\"https://fonts.gstatic.com/s/cormorantgaramond/v21/co3umX5slCNuHLi8bLeY9MK7whWMhyjypVO7abI26QOD_hg9GnbEi_s4Mfs.woff2\",weight:\"700\"},{cssFamilyName:\"Cormorant Garamond\",source:\"google\",style:\"italic\",uiFamilyName:\"Cormorant Garamond\",url:\"https://fonts.gstatic.com/s/cormorantgaramond/v21/co3smX5slCNuHLi8bLeY9MK7whWMhyjYrGFEsdtdc62E6zd5FTfOitk9Ifu5UQ.woff2\",weight:\"700\"},{cssFamilyName:\"Cormorant Garamond\",source:\"google\",style:\"italic\",uiFamilyName:\"Cormorant Garamond\",url:\"https://fonts.gstatic.com/s/cormorantgaramond/v21/co3smX5slCNuHLi8bLeY9MK7whWMhyjYrGFEsdtdc62E6zd5wDDOitk9Ifu5UQ.woff2\",weight:\"500\"}]}];export const css=['.framer-DLJLD .framer-styles-preset-1mwhg4q:not(.rich-text-wrapper), .framer-DLJLD .framer-styles-preset-1mwhg4q.rich-text-wrapper h2 { --framer-font-family: \"Cormorant Garamond\", \"Cormorant Garamond Placeholder\", serif; --framer-font-family-bold: \"Cormorant Garamond\", \"Cormorant Garamond Placeholder\", serif; --framer-font-family-bold-italic: \"Cormorant Garamond\", \"Cormorant Garamond Placeholder\", serif; --framer-font-family-italic: \"Cormorant Garamond\", \"Cormorant Garamond Placeholder\", serif; --framer-font-open-type-features: normal; --framer-font-size: 72px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-style-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 500; --framer-font-weight-bold: 700; --framer-font-weight-bold-italic: 700; --framer-font-weight-italic: 500; --framer-letter-spacing: 0em; --framer-line-height: 1em; --framer-paragraph-spacing: 40px; --framer-text-alignment: left; --framer-text-color: #e6e6e6; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }','@media (max-width: 1199px) and (min-width: 810px) { .framer-DLJLD .framer-styles-preset-1mwhg4q:not(.rich-text-wrapper), .framer-DLJLD .framer-styles-preset-1mwhg4q.rich-text-wrapper h2 { --framer-font-family: \"Cormorant Garamond\", \"Cormorant Garamond Placeholder\", serif; --framer-font-family-bold: \"Cormorant Garamond\", \"Cormorant Garamond Placeholder\", serif; --framer-font-family-bold-italic: \"Cormorant Garamond\", \"Cormorant Garamond Placeholder\", serif; --framer-font-family-italic: \"Cormorant Garamond\", \"Cormorant Garamond Placeholder\", serif; --framer-font-open-type-features: normal; --framer-font-size: 62px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-style-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 500; --framer-font-weight-bold: 700; --framer-font-weight-bold-italic: 700; --framer-font-weight-italic: 500; --framer-letter-spacing: 0em; --framer-line-height: 1em; --framer-paragraph-spacing: 40px; --framer-text-alignment: left; --framer-text-color: #e6e6e6; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }','@media (max-width: 809px) and (min-width: 0px) { .framer-DLJLD .framer-styles-preset-1mwhg4q:not(.rich-text-wrapper), .framer-DLJLD .framer-styles-preset-1mwhg4q.rich-text-wrapper h2 { --framer-font-family: \"Cormorant Garamond\", \"Cormorant Garamond Placeholder\", serif; --framer-font-family-bold: \"Cormorant Garamond\", \"Cormorant Garamond Placeholder\", serif; --framer-font-family-bold-italic: \"Cormorant Garamond\", \"Cormorant Garamond Placeholder\", serif; --framer-font-family-italic: \"Cormorant Garamond\", \"Cormorant Garamond Placeholder\", serif; --framer-font-open-type-features: normal; --framer-font-size: 40px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-style-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 500; --framer-font-weight-bold: 700; --framer-font-weight-bold-italic: 700; --framer-font-weight-italic: 500; --framer-letter-spacing: 0em; --framer-line-height: 1em; --framer-paragraph-spacing: 40px; --framer-text-alignment: left; --framer-text-color: #e6e6e6; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }'];export const className=\"framer-DLJLD\";\nexport const __FramerMetadata__ = {\"exports\":{\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx}from\"react/jsx-runtime\";/**\n * Terrace — Image Fetch Priority Override\n *\n * Framer's native Image layer doesn't expose fetchpriority in the\n * properties panel. Framer's Image component renders its <img>\n * through an internal `background` prop object, so unlike a plain\n * <img> tag we can't just mutate the DOM after the fact reliably,\n * we inject it into the prop itself before render.\n *\n * This is more reliable than the video DOM-mutation overrides:\n * since this modifies the prop BEFORE Framer renders the element,\n * fetchpriority is present from the component's first render, not\n * patched in after hydration. That's exactly what Lighthouse's LCP\n * discovery check wants.\n *\n * HOW TO APPLY:\n * 1. Upload this file in Assets → Code\n * 2. Select the mobile hero Image layer (the one inside the Stack\n *    that replaced the video on mobile)\n * 3. In the right panel, open the \"Code\" / Overrides section\n * 4. Pick this file, then select \"withFetchPriority\" from the list\n *\n * Only apply this to the ONE image that's actually the LCP element\n * on mobile. Applying fetchpriority=\"high\" to multiple images makes\n * them compete with each other and defeats the purpose.\n */export function withFetchPriority(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,background:{...props.background,fetchPriority:\"high\"}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withFetchPriority\":{\"type\":\"reactHoc\",\"name\":\"withFetchPriority\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TerraceImageFetchPriority.map"],"mappings":"2KAC6B,EAAC,EAAU,UAAU,CAAC,4BAA4B,4BAA4B,kCAAkC,iCAAiC,CAAC,EAAe,EAAM,CAAC,CAAC,cAAc,GAAK,MAAM,CAAC,CAAC,cAAc,qBAAqB,OAAO,SAAS,MAAM,SAAS,aAAa,qBAAqB,IAAI,sHAAsH,OAAO,KAAK,EAAE,CAAC,cAAc,qBAAqB,OAAO,SAAS,MAAM,SAAS,aAAa,qBAAqB,IAAI,sHAAsH,OAAO,KAAK,EAAE,CAAC,cAAc,qBAAqB,OAAO,SAAS,MAAM,SAAS,aAAa,qBAAqB,IAAI,yHAAyH,OAAO,KAAK,EAAE,CAAC,cAAc,qBAAqB,OAAO,SAAS,MAAM,SAAS,aAAa,qBAAqB,IAAI,yHAAyH,OAAO,KAAK,CAAC,CAAC,CAAC,EAAe,EAAI,CAAC,mpCAAmpC,ysCAAysC,qsCAAqsC,EAAe,EAAU,kBCwBtuJ,SAAgB,EAAkB,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,WAAW,CAAC,GAAG,EAAM,WAAW,cAAc,MAAM,CAAC,CAAC,CAAI,iBAzB5H"}