{"version":3,"file":"LCPNativeProbe.CUrXtnLy.mjs","names":["__esmMin","init_npm_react_18_3_1","init_jsx_runtime","J","c","p","aboutSrcSet","widths","src","width","size","withNativePriorityProbe","background","props","source","aboutDesktop","aboutPhone","Component","aboutSizes","withLegalPhotoPriority","init_LCPNativeProbe"],"sources":["https:/framerusercontent.com/modules/vmjKPCwCb7z8VxghW7ys/si3DEy0pEN6lzvoJ7uoM/LCPNativeProbe.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{forwardRef}from\"react\";// Keep the native frame, sizing, crops and editable fills. Only image delivery changes.\n// The two art-directed assets match the current native Phone and desktop fills.\nconst aboutDesktop=\"https://framerusercontent.com/images/ew9Ol3iBuNSXABOO95jU6kioI.png\";const aboutPhone=\"https://framerusercontent.com/images/oo8viAiJNzZCca7tNxrT6EUrk4.webp\";function aboutSrcSet(src,size,widths){return widths.map(width=>`${src}?${width<size?`scale-down-to=${width}&`:\"\"}width=${size}&height=${size} ${width}w`).join(\",\");}const aboutSizes=\"(min-width: 810px) max((min(100vw, 10000px) - 48px) / 2, 1px), calc(min(100vw, 10000px) - 32px)\";export function withNativePriorityProbe(Component){return /*#__PURE__*/forwardRef(function AboutResponsivePriority(props,ref){const background=props.background;const source=String(background?.src||\"\").split(\"?\")[0];// If a native image is replaced later, show the new fill rather than a stale photo.\nif(source!==aboutDesktop&&source!==aboutPhone){return /*#__PURE__*/_jsx(Component,{...props,ref:ref,background:{...background,fetchPriority:\"high\",loading:\"eager\"}});}return /*#__PURE__*/_jsxs(Component,{...props,ref:ref,background:{...background,src:undefined,srcSet:undefined},children:[/*#__PURE__*/_jsxs(\"picture\",{style:{position:\"absolute\",inset:0,display:\"block\"},children:[/*#__PURE__*/_jsx(\"source\",{media:\"(min-width: 600px)\",srcSet:aboutSrcSet(aboutDesktop,2132,[512,1024,2048,2132]),sizes:aboutSizes}),/*#__PURE__*/_jsx(\"img\",{src:`${aboutPhone}?width=1024&height=1024`,srcSet:aboutSrcSet(aboutPhone,1024,[512,1024]),sizes:aboutSizes,alt:background.alt||props.alt||\"\",loading:\"eager\",fetchPriority:\"high\",decoding:\"async\",width:1024,height:1024,style:{position:\"absolute\",inset:0,display:\"block\",width:\"100%\",height:\"100%\",objectFit:\"cover\",objectPosition:`${background.positionX||\"50%\"} ${background.positionY||\"50%\"}`}})]}),props.children]});});}// Only Marcelino, the current Gallery LCP; other cards retain Framer defaults.\nexport function withGalleryLCPPriority(Component){return /*#__PURE__*/forwardRef((props,ref)=>{// Match only the existing Marcelino asset; update this if its image is replaced.\nconst isLCP=String(props.background?.src||\"\").split(\"?\")[0]===\"https://framerusercontent.com/images/L7OZMER0Io8xPwalNH1VVAChpbU.webp\";return /*#__PURE__*/_jsx(Component,{...props,ref:ref,background:isLCP?{...props.background,fetchPriority:\"high\",loading:\"eager\"}:props.background});});}// Preserve Legal's Entrance1 marker while prioritizing its native responsive photo.\nexport function withLegalPhotoPriority(Component){return /*#__PURE__*/forwardRef(function LegalPhotoPriority(props,ref){return /*#__PURE__*/_jsx(Component,{...props,ref:ref,\"data-as-enter\":0,background:{...props.background,fetchPriority:\"high\",loading:\"eager\"}});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withNativePriorityProbe\":{\"type\":\"reactHoc\",\"name\":\"withNativePriorityProbe\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withLegalPhotoPriority\":{\"type\":\"reactHoc\",\"name\":\"withLegalPhotoPriority\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withGalleryLCPPriority\":{\"type\":\"reactHoc\",\"name\":\"withGalleryLCPPriority\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LCPNativeProbe.map"],"mappings":"A,yHAEgL,SAASM,EAAY,EAAI,EAAK,EAAO,CAAC,OAAOC,EAAO,IAAI,GAAO,GAAGC,EAAI,GAAGC,EAAMC,EAAK,iBAAiBD,EAAM,GAAG,GA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