{"version":3,"file":"AdaptiveImage.89_RWDJB.mjs","names":["sep","p","srcSet","primary","desktopRatio","useState","useCallback","useMemo","p"],"sources":["https:/framerusercontent.com/modules/LGBeLUQlWE4pjV30U1vS/iOOormGSBZqphBHqKPPa/ImageUrls.js","https:/framerusercontent.com/modules/VVZoeyjF3LCJSwIzLNOH/CcK37HueslzbO6f970o8/AdaptiveImage.js"],"sourcesContent":["// Shared image URL builders for AdaptiveImage and PreloadHero.\n//\n// Both components MUST emit identical URLs for the same props so that the\n// preload link and the rendered <img>/<source> dedupe to a single network\n// request. Any change to URL construction must happen here.\nexport const DEFAULT_BREAKPOINTS=\"640,1080,1440,1920\";export const WSRV_BASE=\"https://wsrv.nl/\";// `- 0.02` keeps the desktop/mobile queries non-overlapping at fractional\n// device pixel ratios (Safari rounds CSS pixels to 0.02 increments).\nexport const mobileMediaQuery=breakpoint=>`(max-width: ${breakpoint-.02}px)`;export const desktopMediaQuery=breakpoint=>`(min-width: ${breakpoint}px)`;// ── Parsing helpers ──────────────────────────────────────────\nexport function parseBreakpoints(str){return str.split(\",\").map(s=>parseInt(s.trim(),10)).filter(n=>!isNaN(n)&&n>0).sort((a,b)=>a-b);}export function parseSrcSet(srcSet){if(!srcSet)return[];return srcSet.split(\",\").map(entry=>{const parts=entry.trim().split(/\\s+/);const url=parts[0];const descriptor=parts[1]||\"\";const width=parseInt(descriptor.replace(\"w\",\"\"),10);return{url,width:isNaN(width)?0:width};}).filter(e=>e.url&&e.width>0).sort((a,b)=>a.width-b.width);}// Move `scale-down-to` to the end of the query string. Framer's CMS-provided\n// srcSet URLs put it first; this normalization aligns them with hand-written\n// preload links that append `&scale-down-to=…` last via Framer's\n// `{{Image 1 | unsafeRaw}}` templating. Browsers dedupe preloads against\n// <img> requests only on exact URL string match, so param order matters.\n//\n// Pure string manipulation — does not re-encode other params, so the rest\n// of the URL is preserved byte-for-byte.\nexport function normalizeNativeUrl(url){const m=url.match(/[?&]scale-down-to=([^&]+)/);if(!m)return url;const sdt=m[1];let stripped=url.replace(/([?&])scale-down-to=[^&]+&?/,(_,sep)=>sep===\"?\"?\"?\":\"\");// Strip a trailing `?` or `&` left when scale-down-to was the only / last param.\nstripped=stripped.replace(/[?&]$/,\"\");const sep=stripped.indexOf(\"?\")===-1?\"?\":\"&\";return`${stripped}${sep}scale-down-to=${sdt}`;}export function filterNativeSrcSet(entries,breakpoints){if(entries.length===0||breakpoints.length===0)return{srcSet:\"\",largestUrl:\"\"};const picked=new Map;for(const bp of breakpoints){let best=entries[0];let bestDiff=Math.abs(entries[0].width-bp);for(const e of entries){const diff=Math.abs(e.width-bp);if(diff<bestDiff){best=e;bestDiff=diff;}}const existing=picked.get(best.url);if(existing===undefined||bp>existing){picked.set(best.url,bp);}}const sorted=Array.from(picked.entries()).sort((a,b)=>a[1]-b[1]);const srcSet=sorted.map(([url,w])=>`${normalizeNativeUrl(url)} ${w}w`).join(\", \");const largestUrl=sorted.length?normalizeNativeUrl(sorted[sorted.length-1][0]):\"\";return{srcSet,largestUrl};}// ── Ratio / focal point ──────────────────────────────────────\nexport function resolveDesktopRatio(ratio,customW,customH){if(ratio===\"original\")return null;if(ratio===\"custom\"){if(customW>0&&customH>0)return{w:customW,h:customH};return null;}const[w,h]=ratio.split(\":\").map(Number);if(!w||!h)return null;return{w,h};}export function resolveMobileRatio(mobile,customW,customH,desktop){if(mobile===\"same\")return desktop;if(mobile===\"custom\"){if(customW>0&&customH>0)return{w:customW,h:customH};return desktop;}const[w,h]=mobile.split(\":\").map(Number);if(!w||!h)return desktop;return{w,h};}export function parseFocalPercent(value){if(!value)return .5;const n=parseFloat(value.replace(\"%\",\"\"));if(isNaN(n))return .5;return Math.min(1,Math.max(0,n/100));}export function focalPointCss(img,fallback=\"center center\"){if(!img?.positionX||!img?.positionY)return fallback;return`${img.positionX} ${img.positionY}`;}// Strip query string from the source URL before passing to wsrv.\n// Framer URLs may include `?scale-down-to=N` or similar variant params;\n// passing those to wsrv means it fetches a pre-scaled variant instead of\n// the original. Stripping also makes wsrv URLs more cache-stable across\n// responsive variants of the same image.\nexport function stripSrcQueryString(src){const qIndex=src.indexOf(\"?\");return qIndex===-1?src:src.substring(0,qIndex);}export function buildWsrvUrl(src,p){const url=new URL(WSRV_BASE);url.searchParams.set(\"url\",stripSrcQueryString(src));url.searchParams.set(\"w\",String(p.w));if(p.h&&p.h>0){url.searchParams.set(\"h\",String(p.h));url.searchParams.set(\"fit\",\"cover\");url.searchParams.set(\"a\",\"focal\");url.searchParams.set(\"fpx\",(p.fpx??.5).toFixed(3));url.searchParams.set(\"fpy\",(p.fpy??.5).toFixed(3));}url.searchParams.set(\"q\",String(p.quality??80));if(p.blur&&p.blur>0)url.searchParams.set(\"blur\",String(p.blur));url.searchParams.set(\"we\",\"\");return url.toString();}export function buildTransformSrcSet(src,ratio,fpx,fpy,breakpoints){return breakpoints.map(w=>{const h=ratio?Math.round(w*ratio.h/ratio.w):undefined;return`${buildWsrvUrl(src,{w,h,fpx,fpy})} ${w}w`;}).join(\", \");}export function buildBlurUrl(src){// Tiny preview — ~200–400 bytes. `w` is the only dimension given, so\n// wsrv preserves aspect ratio. Server-side blur softens block edges\n// from the low pixel count.\nreturn buildWsrvUrl(src,{w:16,blur:2,quality:30});}export function buildSource(src,ratio,useTransform,breakpoints){const fpx=parseFocalPercent(src.positionX);const fpy=parseFocalPercent(src.positionY);if(useTransform&&breakpoints.length>0){const srcSet=buildTransformSrcSet(src.src,ratio,fpx,fpy,breakpoints);const largest=breakpoints[breakpoints.length-1];const fallbackSrc=buildWsrvUrl(src.src,{w:largest,h:ratio?Math.round(largest*ratio.h/ratio.w):undefined,fpx,fpy});return{srcSet,fallbackSrc};}// Match `<img src>` to the largest srcset entry. Safari's preload scanner\n// fetches `src` before layout; the image picker chooses a srcset entry\n// after layout. If they don't match, Safari downloads both. Aligning them\n// dedupes to a single request.\nconst entries=parseSrcSet(src.srcSet);const{srcSet,largestUrl}=filterNativeSrcSet(entries,breakpoints);return{srcSet:srcSet||undefined,fallbackSrc:largestUrl||src.src};}// ── Layout → sizes ───────────────────────────────────────────\nexport function composeSizes(layout,customSizes,breakpoint){if(layout===\"custom\")return customSizes||\"100vw\";if(layout===\"full\")return\"100vw\";const percent=layout===\"half\"?50:layout===\"third\"?33:25;return`(min-width: ${breakpoint}px) ${percent}vw, 100vw`;}\nexport const __FramerMetadata__ = {\"exports\":{\"TransformMode\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Layout\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"parseSrcSet\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"BuiltSource\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MobileAspectRatio\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SrcSetEntry\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"resolveDesktopRatio\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"focalPointCss\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"filterNativeSrcSet\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"WsrvParams\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"parseBreakpoints\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"parseFocalPercent\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"AspectRatio\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DEFAULT_BREAKPOINTS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildSource\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildTransformSrcSet\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"stripSrcQueryString\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"WSRV_BASE\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"mobileMediaQuery\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildBlurUrl\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"composeSizes\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildWsrvUrl\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"normalizeNativeUrl\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"desktopMediaQuery\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"resolveMobileRatio\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ImageResource\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ImageUrls.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useCallback,useEffect,useMemo,useState}from\"react\";import{DEFAULT_BREAKPOINTS,buildBlurUrl,buildSource,buildWsrvUrl,composeSizes,focalPointCss,mobileMediaQuery,parseBreakpoints,parseFocalPercent,resolveDesktopRatio,resolveMobileRatio}from\"https://framerusercontent.com/modules/LGBeLUQlWE4pjV30U1vS/iOOormGSBZqphBHqKPPa/ImageUrls.js\";const BPS=parseBreakpoints(DEFAULT_BREAKPOINTS);const emptyState=style=>/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",backgroundColor:\"#f0f0f0\",color:\"#999\",fontSize:14,...style},children:\"Select an image\"});/**\n * @framerIntrinsicWidth 600\n * @framerIntrinsicHeight 400\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function AdaptiveImage(props){const{image,mobileImage,aspectRatio=\"original\",customRatioW=1,customRatioH=1,mobileAspectRatio=\"same\",mobileCustomW=1,mobileCustomH=1,breakpoint=810,viewport=\"desktop\",layout=\"full\",sizes=\"\",priority=false,placeholder=true,objectFit=\"cover\",style}=props;const isCanvas=RenderTarget.current()===RenderTarget.canvas;// Canvas branch must come before any hooks (5-phase pattern).\nif(isCanvas){const primary=image?.src?image:mobileImage;if(!primary?.src)return emptyState(style);const desktopRatio=resolveDesktopRatio(aspectRatio,customRatioW,customRatioH);const fpx=parseFocalPercent(primary.positionX);const fpy=parseFocalPercent(primary.positionY);const previewSrc=desktopRatio?buildWsrvUrl(primary.src,{w:640,h:Math.round(640*desktopRatio.h/desktopRatio.w),fpx,fpy}):primary.src;return /*#__PURE__*/_jsx(\"img\",{src:previewSrc,alt:primary.alt??\"\",style:{display:\"block\",width:\"100%\",height:\"100%\",objectFit,objectPosition:focalPointCss(primary),...style}});}// Resolve primary *before* hooks so we can use primary.src as a hook dep.\n// All subsequent hooks must run unconditionally, so the empty-state early\n// return comes *after* the hooks block.\nconst primary=image?.src?image:mobileImage;const primarySrc=primary?.src;const[errored,setErrored]=useState(false);const[loaded,setLoaded]=useState(false);// `<picture>` was dropped to avoid a Safari bug that double-fetches the\n// <img> fallback alongside the matched <source>. Deterministic viewport\n// (set per breakpoint variant) is the blessed path; \"auto\" is a fallback\n// for single-instance placements and accepts a one-frame swap on mount.\nconst[autoIsMobile,setAutoIsMobile]=useState(false);useEffect(()=>{if(viewport!==\"auto\")return;const mq=window.matchMedia(mobileMediaQuery(breakpoint));setAutoIsMobile(mq.matches);const onChange=e=>setAutoIsMobile(e.matches);mq.addEventListener(\"change\",onChange);return()=>mq.removeEventListener(\"change\",onChange);},[viewport,breakpoint]);// Ref callback fires during the commit phase, before the browser paints.\n// For cached images (SPA nav revisit, browser HTTP cache hit) the `<img>`\n// element's `complete` flag is already true by the time this runs, so we\n// flip `loaded` to true *before paint* — no flash of blur, no fade.\n// Recreating the callback on src change causes React to detach/reattach\n// the ref so the check runs again for the new image.\n//\n// Note: `loaded` is not reset when src changes mid-lifetime. The browser\n// retains the previously-rendered image pixels until the new src finishes\n// loading, so there's no visual gap to fill. Resetting would introduce a\n// flicker (opacity 0 → 1) that the user specifically wants to avoid.\n// eslint-disable-next-line react-hooks/exhaustive-deps\nconst imgRefCallback=useCallback(el=>{if(el&&el.complete&&el.naturalWidth>0){setLoaded(true);}},[primarySrc]);const desktopRatio=useMemo(()=>resolveDesktopRatio(aspectRatio,customRatioW,customRatioH),[aspectRatio,customRatioW,customRatioH]);const mobileRatio=useMemo(()=>resolveMobileRatio(mobileAspectRatio,mobileCustomW,mobileCustomH,desktopRatio),[mobileAspectRatio,mobileCustomW,mobileCustomH,desktopRatio]);const sizesAttr=useMemo(()=>composeSizes(layout,sizes,breakpoint),[layout,sizes,breakpoint]);// If errored, force native path (no wsrv) for both sources.\nconst desktopUseWsrv=!errored&&desktopRatio!==null;const mobileHasOverride=!!mobileImage?.src;const mobileSrc=mobileHasOverride?mobileImage:primary;const mobileUseWsrv=!errored&&!mobileHasOverride&&mobileRatio!==null;const desktopBuilt=useMemo(()=>primary?buildSource(primary,desktopRatio,desktopUseWsrv,BPS):{srcSet:undefined,fallbackSrc:\"\"},[primary,desktopRatio,desktopUseWsrv]);const mobileBuilt=useMemo(()=>mobileSrc?buildSource(mobileSrc,mobileRatio,mobileUseWsrv,BPS):{srcSet:undefined,fallbackSrc:\"\"},[mobileSrc,mobileRatio,mobileUseWsrv]);// Blur preview — derived from primary, shared across viewports.\n// Skipped when:\n//   - `placeholder` is disabled (designer opted out)\n//   - `errored` — avoid an extra wsrv request when wsrv itself failed\nconst showPlaceholder=placeholder&&!errored;const blurUrl=useMemo(()=>showPlaceholder&&primarySrc?buildBlurUrl(primarySrc):undefined,[showPlaceholder,primarySrc]);const objPos=useMemo(()=>focalPointCss(primary),[primary]);if(!primary?.src)return emptyState(style);const mobileIsDistinct=mobileHasOverride||mobileRatio!==desktopRatio&&!(mobileRatio===null&&desktopRatio===null);const useMobile=viewport===\"mobile\"||viewport===\"auto\"&&autoIsMobile;const built=useMobile&&mobileIsDistinct?mobileBuilt:desktopBuilt;// Container holds two absolutely-positioned layers:\n//   1. Blur <div> — painted behind, fades out when loaded.\n//   2. <img> — painted on top, fades in when loaded.\n//\n// The blur MUST live on its own element (not as the container's\n// `background-image`) so that images with alpha channels properly reveal\n// whatever is behind the component once loaded — the blur disappears\n// instead of bleeding through transparent pixels forever.\nconst containerStyle={position:\"relative\",width:\"100%\",height:\"100%\",overflow:\"hidden\",...style};// Two-phase fade to avoid a mid-transition gap for alpha images:\n//\n//   Phase 1 (0 → IMAGE_FADE_MS): image opacity rises 0 → 1 while blur\n//   stays at 1. At every point during this phase the blur is fully\n//   opaque behind the image, so transparent pixels in the image always\n//   see the full blur — no partial compositing where the container's\n//   background briefly shows through.\n//\n//   Phase 2 (IMAGE_FADE_MS → IMAGE_FADE_MS + BLUR_EXIT_MS): image is\n//   fully loaded at opacity 1, blur fades 1 → 0. For opaque images this\n//   is invisible (image covers blur). For alpha images, transparent\n//   regions smoothly reveal whatever sits behind the component.\n//\n// When `loaded` starts true (cached / SPA revisit via the ref-callback\n// `complete` check), both elements render at their final state with no\n// transition, so there's no animation at all.\nconst IMAGE_FADE_MS=400;const BLUR_EXIT_MS=300;return /*#__PURE__*/_jsxs(\"div\",{style:containerStyle,children:[blurUrl&&/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":true,style:{position:\"absolute\",inset:0,backgroundImage:`url(${blurUrl})`,backgroundSize:\"cover\",backgroundPosition:objPos,opacity:loaded?0:1,// Delay blur fade-out until image fade-in completes.\ntransition:`opacity ${BLUR_EXIT_MS}ms ease-out ${IMAGE_FADE_MS}ms`,pointerEvents:\"none\"}}),/*#__PURE__*/_jsx(\"img\",{ref:imgRefCallback,src:built.fallbackSrc,srcSet:built.srcSet,sizes:sizesAttr,alt:primary.alt??\"\",loading:priority?\"eager\":\"lazy\",fetchPriority:priority?\"high\":\"auto\",decoding:\"async\",onLoad:()=>{if(!loaded)setLoaded(true);},onError:()=>{if(!errored)setErrored(true);},style:{position:\"absolute\",inset:0,display:\"block\",width:\"100%\",height:\"100%\",objectFit,objectPosition:objPos,// Only fade in when there's a blur to fade *from*.\n// With no placeholder, a fade would reveal whatever is\n// behind the component — which is wrong.\nopacity:showPlaceholder&&!loaded?0:1,transition:showPlaceholder?`opacity ${IMAGE_FADE_MS}ms ease-out`:undefined}})]});}AdaptiveImage.displayName=\"Adaptive Image\";addPropertyControls(AdaptiveImage,{image:{type:ControlType.ResponsiveImage,title:\"Image\"},mobileImage:{type:ControlType.ResponsiveImage,title:\"Mobile Image\",description:\"Optional override — uncropped on mobile\"},aspectRatio:{type:ControlType.Enum,title:\"Aspect Ratio\",options:[\"original\",\"1:1\",\"4:5\",\"3:4\",\"16:9\",\"3:2\",\"custom\"],optionTitles:[\"Original\",\"1:1\",\"4:5\",\"3:4\",\"16:9\",\"3:2\",\"Custom\"],defaultValue:\"original\"},customRatioW:{type:ControlType.Number,title:\"Ratio W\",defaultValue:1,min:1,step:1,hidden:p=>p.aspectRatio!==\"custom\"},customRatioH:{type:ControlType.Number,title:\"Ratio H\",defaultValue:1,min:1,step:1,hidden:p=>p.aspectRatio!==\"custom\"},mobileAspectRatio:{type:ControlType.Enum,title:\"Mobile Ratio\",options:[\"same\",\"1:1\",\"4:5\",\"3:4\",\"9:16\",\"custom\"],optionTitles:[\"Same as Desktop\",\"1:1\",\"4:5\",\"3:4\",\"9:16\",\"Custom\"],defaultValue:\"same\",hidden:p=>p.aspectRatio===\"original\"||!!p.mobileImage?.src||p.viewport===\"desktop\"},mobileCustomW:{type:ControlType.Number,title:\"Mobile Ratio W\",defaultValue:1,min:1,step:1,hidden:p=>p.mobileAspectRatio!==\"custom\"||p.aspectRatio===\"original\"||!!p.mobileImage?.src||p.viewport===\"desktop\"},mobileCustomH:{type:ControlType.Number,title:\"Mobile Ratio H\",defaultValue:1,min:1,step:1,hidden:p=>p.mobileAspectRatio!==\"custom\"||p.aspectRatio===\"original\"||!!p.mobileImage?.src||p.viewport===\"desktop\"},layout:{type:ControlType.Enum,title:\"Layout\",options:[\"full\",\"half\",\"third\",\"quarter\",\"custom\"],optionTitles:[\"Full\",\"Half\",\"Third\",\"Quarter\",\"Custom\"],defaultValue:\"full\"},sizes:{type:ControlType.String,title:\"Sizes\",defaultValue:\"\",placeholder:\"(min-width: 810px) 50vw, 100vw\",hidden:p=>p.layout!==\"custom\"},breakpoint:{type:ControlType.Number,title:\"Breakpoint\",defaultValue:810,min:320,max:1920,step:1,unit:\"px\"},viewport:{type:ControlType.Enum,title:\"Viewport\",options:[\"auto\",\"desktop\",\"mobile\"],optionTitles:[\"Auto\",\"Desktop\",\"Mobile\"],defaultValue:\"desktop\",description:\"Set on each breakpoint variant for zero-flicker SSR\"},priority:{type:ControlType.Boolean,title:\"Priority\",enabledTitle:\"High\",disabledTitle:\"Auto\",defaultValue:false},placeholder:{type:ControlType.Boolean,title:\"Placeholder\",enabledTitle:\"Blur\",disabledTitle:\"None\",defaultValue:true,description:\"Low-res blur preview while the main image loads\"},objectFit:{type:ControlType.Enum,title:\"Object Fit\",options:[\"cover\",\"contain\"],optionTitles:[\"Cover\",\"Contain\"],defaultValue:\"cover\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AdaptiveImage\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerIntrinsicWidth\":\"600\",\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"400\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"6NAQA,SAAgB,EAAiB,EAAI,CAAC,OAAO,EAAI,MAAM,IAAI,CAAC,IAAI,GAAG,SAAS,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,OAAO,GAAG,CAAC,MAAM,EAAE,EAAE,EAAE,EAAE,CAAC,MAAM,EAAE,IAAI,EAAE,EAAE,C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