{"version":3,"file":"Examples.8W-CSC0X.mjs","names":["useState","useRef","__esmMin","init_ssg_sandbox_shims","window","_e","de","c","J","init_npm_react_18_3_1","ce","init_framer_DKWANagr","useObserveData","Data","createStore","dataStore","state1","setDataStore","newState","storeState","storeSetters","setStoreState","setter","useStore","state","setState","init_createStore","init_store_js__1_0","centerContent","init_Utils","init_utils_js__0_9","withVehicleCardAltText","hostRef","host","vehicleName","resolveVehicleNameFromProps","props","label","buildVehicleAltLabel","applyVehicleLabelToDescendants","Component","withVehicleGalleryAltText","rafId","getLabel","h1VehicleName","resolveVehicleNameFromH1","fallbackVehicleName","applyLabel","scheduleApplyLabel","hostObserver","vehicleMediaSelector","init_Examples","init_jsx_runtime","key","value","element","inlineBackground","hasInlineBackgroundImage"],"sources":["https:/framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js","https:/framer.com/m/framer/store.js@^1.0.0","https:/framerusercontent.com/modules/28rXvpPsrum7FH6cMELS/1jCAazZw1EGHjrG5Nu5D/Utils.js","https:/framer.com/m/framer/utils.js@^0.9.0","https:/framerusercontent.com/modules/iMdgp3R8woqbZe4YWKrZ/BdejI1plyGo5xhsDdr1l/Examples.js"],"sourcesContent":["import{useState,useEffect}from\"react\";import{Data,useObserveData}from\"framer\";export function createStore(state1){// Use Data so that a Preview reload resets the state\nconst dataStore=Data({state:Object.freeze({...state1})});// Create a set function that updates the state\nconst setDataStore=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(dataStore.state);}dataStore.state=Object.freeze({...dataStore.state,...newState});};// Store the initial state, copy the object if it's an object\nlet storeState=typeof state1===\"object\"?Object.freeze({...state1}):state1;// Keep a list of all the listeners, in the form of React hook setters\nconst storeSetters=new Set();// Create a set function that updates all the listeners / setters\nconst setStoreState=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(storeState);}storeState=typeof newState===\"object\"?Object.freeze({...storeState,...newState}):newState;// Update all the listeners / setters with the new value\nstoreSetters.forEach(setter=>setter(storeState));};// Create the actual hook based on everything above\nfunction useStore(){// Create the hook we are going to use as a listener\nconst[state,setState]=useState(storeState);// If we unmount the component using this hook, we need to remove the listener\n// @ts-ignore\nuseEffect(()=>{// But right now, we need to add the listener\nstoreSetters.add(setState);return()=>storeSetters.delete(setState);},[]);// If Data context exists, use Data, otherwise use vanilla React state\nif(useObserveData()===true){useObserveData();return[dataStore.state,setDataStore];}else{// Return the state and a function to update the central store\nreturn[state,setStoreState];}}return useStore;}\nexport const __FramerMetadata__ = {\"exports\":{\"createStore\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./createStore.map","/*\n * createStore (framer/store@1.0.1)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js\"\n","export const centerContent = {\n    display: \"flex\",\n    justifyContent: \"center\",\n    alignItems: \"center\"\n};\nexport const autoSizingText = {\n    width: \"max-content\",\n    wordBreak: \"break-word\",\n    overflowWrap: \"break-word\",\n    overflow: \"hidden\",\n    whiteSpace: \"pre-wrap\",\n    flexShrink: 0\n};\nexport const defaultContainerStyles = {\n    ...centerContent,\n    overflow: \"hidden\"\n};\nexport const containerStyles = defaultContainerStyles;\nexport const randomColor = ()=>\"#\" + Math.floor(Math.random() * 16777215).toString(16)\n;\n\nexport const __FramerMetadata__ = {\"exports\":{\"centerContent\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"containerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"autoSizingText\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"defaultContainerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"randomColor\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./Utils.map","/*\n * Utils (framer/utils@0.9.0)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/28rXvpPsrum7FH6cMELS/1jCAazZw1EGHjrG5Nu5D/Utils.js\"\n","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{forwardRef,useCallback,useEffect,useMemo,useRef,useState,startTransition}from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";import{randomColor}from\"https://framer.com/m/framer/utils.js@^0.9.0\";// Learn more: https://www.framer.com/developers/overrides/\nconst useStore=createStore({background:\"#0099FF\"});const resolveVehicleNameFromProps=props=>{const candidateKeys=[\"$control__heading\",\"heading\",\"title\",\"name\",\"$control__title\"];for(const key of candidateKeys){const value=props?.[key];if(typeof value===\"string\"&&value.trim().length>0){return value.trim();}}return\"\";};const resolveVehicleNameFromH1=()=>{if(typeof document===\"undefined\")return\"\";const heading=document.querySelector(\"h1\");const text=heading?.textContent?.trim()??\"\";return text;};const buildVehicleAltLabel=vehicleName=>{if(!vehicleName)return\"\";return`${vehicleName} for sale at ARG Premium Cars in Cyprus`;};const vehicleMediaSelector=\"img, video, canvas, [data-framer-component-type='image'], [style*='background-image']\";const applyVehicleLabelToDescendants=(host,label)=>{if(!label)return;const mediaElements=host.querySelectorAll(vehicleMediaSelector);mediaElements.forEach(element=>{if(!(element instanceof HTMLElement))return;if(element.tagName.toLowerCase()===\"img\"){element.setAttribute(\"alt\",label);return;}const inlineBackground=element.style?.backgroundImage??\"\";const hasInlineBackgroundImage=inlineBackground&&inlineBackground!==\"none\"&&inlineBackground.includes(\"url(\");const isMediaElement=element.tagName.toLowerCase()===\"video\"||element.tagName.toLowerCase()===\"canvas\"||element.matches(\"[data-framer-component-type='image']\");if(isMediaElement||hasInlineBackgroundImage){element.setAttribute(\"role\",\"img\");element.setAttribute(\"aria-label\",label);}});};export function withRotate(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,animate:{rotate:90},transition:{duration:2}});});}export function withHover(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,whileHover:{scale:1.05}});});}export function withRandomColor(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{ref:ref,...props,animate:{background:store.background},onClick:()=>{setStore({background:randomColor()});}});});}export function withMobilePinchZoom(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const hostRef=useRef(null);const mediaRef=useRef(null);const scaleRef=useRef(1);const offsetRef=useRef({x:0,y:0});const startOffsetRef=useRef({x:0,y:0});const startScaleRef=useRef(1);const pinchStartDistanceRef=useRef(0);const pinchCenterRef=useRef({x:0,y:0});const panStartRef=useRef({x:0,y:0});const lastTapTimeRef=useRef(0);const isPinchingRef=useRef(false);const isPanningRef=useRef(false);const clampOffsets=useCallback(()=>{const host=hostRef.current;const media=mediaRef.current;if(!host||!media)return;const rect=host.getBoundingClientRect();const maxX=(rect.width*scaleRef.current-rect.width)/2;const maxY=(rect.height*scaleRef.current-rect.height)/2;offsetRef.current={x:Math.min(maxX,Math.max(-maxX,offsetRef.current.x)),y:Math.min(maxY,Math.max(-maxY,offsetRef.current.y))};},[]);const applyTransform=useCallback((animated=false)=>{const media=mediaRef.current;if(!media)return;media.style.transition=animated?\"transform 0.18s ease\":\"none\";media.style.transformOrigin=\"center center\";media.style.willChange=\"transform\";media.style.transform=`translate3d(${offsetRef.current.x}px, ${offsetRef.current.y}px, 0) scale(${scaleRef.current})`;},[]);const resetZoom=useCallback((animated=true)=>{scaleRef.current=1;offsetRef.current={x:0,y:0};applyTransform(animated);},[applyTransform]);useEffect(()=>{const host=hostRef.current;if(!host||typeof window===\"undefined\")return;const isTouchMobile=()=>window.matchMedia(\"(max-width: 900px)\").matches&&(navigator.maxTouchPoints||0)>0;const resolveMediaElement=target=>{if(!(target instanceof Element))return;const found=target.closest(\"img, video, canvas, [data-framer-component-type='image']\");mediaRef.current=found||host.querySelector(\"img, video, canvas\")||null;};const getTouchDistance=(a,b)=>{const dx=b.clientX-a.clientX;const dy=b.clientY-a.clientY;return Math.hypot(dx,dy);};const getTouchCenter=(a,b)=>({x:(a.clientX+b.clientX)/2,y:(a.clientY+b.clientY)/2});const onTouchStart=event=>{if(!isTouchMobile())return;resolveMediaElement(event.target);if(!mediaRef.current)return;if(event.touches.length===2){isPinchingRef.current=true;isPanningRef.current=false;startScaleRef.current=scaleRef.current;startOffsetRef.current={...offsetRef.current};pinchStartDistanceRef.current=getTouchDistance(event.touches[0],event.touches[1]);pinchCenterRef.current=getTouchCenter(event.touches[0],event.touches[1]);event.preventDefault();return;}if(event.touches.length===1){const now=Date.now();const delta=now-lastTapTimeRef.current;lastTapTimeRef.current=now;if(delta<300){if(scaleRef.current>1){resetZoom(true);}else{scaleRef.current=2;offsetRef.current={x:0,y:0};applyTransform(true);}event.preventDefault();return;}if(scaleRef.current>1){isPanningRef.current=true;panStartRef.current={x:event.touches[0].clientX-offsetRef.current.x,y:event.touches[0].clientY-offsetRef.current.y};}}};const onTouchMove=event=>{if(!isTouchMobile()||!mediaRef.current)return;if(isPinchingRef.current&&event.touches.length===2){const newDistance=getTouchDistance(event.touches[0],event.touches[1]);const rawScale=newDistance/pinchStartDistanceRef.current*startScaleRef.current;scaleRef.current=Math.min(3,Math.max(1,rawScale));const center=getTouchCenter(event.touches[0],event.touches[1]);offsetRef.current={x:startOffsetRef.current.x+(center.x-pinchCenterRef.current.x),y:startOffsetRef.current.y+(center.y-pinchCenterRef.current.y)};clampOffsets();applyTransform(false);event.preventDefault();return;}if(isPanningRef.current&&event.touches.length===1&&scaleRef.current>1){offsetRef.current={x:event.touches[0].clientX-panStartRef.current.x,y:event.touches[0].clientY-panStartRef.current.y};clampOffsets();applyTransform(false);event.preventDefault();}};const onTouchEnd=()=>{isPinchingRef.current=false;isPanningRef.current=false;clampOffsets();applyTransform(false);};host.addEventListener(\"touchstart\",onTouchStart,{passive:false});host.addEventListener(\"touchmove\",onTouchMove,{passive:false});host.addEventListener(\"touchend\",onTouchEnd,{passive:true});host.addEventListener(\"touchcancel\",onTouchEnd,{passive:true});return()=>{host.removeEventListener(\"touchstart\",onTouchStart);host.removeEventListener(\"touchmove\",onTouchMove);host.removeEventListener(\"touchend\",onTouchEnd);host.removeEventListener(\"touchcancel\",onTouchEnd);};},[applyTransform,clampOffsets,resetZoom]);return /*#__PURE__*/_jsx(\"div\",{ref:hostRef,style:{position:\"relative\",width:\"100%\",height:\"100%\",overflow:\"hidden\",touchAction:\"manipulation\"},children:/*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{...props.style,width:\"100%\",height:\"100%\"}})});});}export function withTapPhotoZoom(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const hostRef=useRef(null);const mediaRef=useRef(null);const scaleRef=useRef(1);const touchStartRef=useRef({x:0,y:0,moved:false,canToggle:false});const[currentSlide,setCurrentSlide]=useState(Number.isFinite(Number(props?.$control__current))?Number(props.$control__current):0);const slideCount=useMemo(()=>{const content=props?.$control__content;return Array.isArray(content)?content.length:0;},[props?.$control__content]);const isTouchDevice=useCallback(()=>{if(typeof window===\"undefined\")return false;return(navigator.maxTouchPoints||0)>0;},[]);const isInteractiveControl=useCallback(el=>{if(!el)return false;return Boolean(el.closest(\"button, a, input, textarea, select, label, summary, [role='button'], [role='link'], [aria-controls], [data-interactive='true']\"));},[]);const resolveMediaElement=useCallback(target=>{const host=hostRef.current;if(!host||!(target instanceof Element))return null;const closestStandardMedia=target.closest(\"img, video, canvas, [data-framer-component-type='image']\");let current=target;let closestBackgroundMedia=null;while(current&&current instanceof HTMLElement&&host.contains(current)){const inlineBackgroundImage=current.style?.backgroundImage??\"\";if(inlineBackgroundImage&&inlineBackgroundImage!==\"none\"&&inlineBackgroundImage.includes(\"url(\")){closestBackgroundMedia=current;break;}current=current.parentElement;}const resolved=closestStandardMedia||closestBackgroundMedia||host.querySelector(\"img, video, canvas, [data-framer-component-type='image'], [style*='background-image']\");if(mediaRef.current&&mediaRef.current!==resolved){mediaRef.current.style.transition=\"transform 0.18s ease\";mediaRef.current.style.transform=\"scale(1)\";mediaRef.current.style.transformOrigin=\"center center\";mediaRef.current.style.willChange=\"auto\";}mediaRef.current=resolved;return resolved;},[]);const applyScale=useCallback((animated=true)=>{const media=mediaRef.current;if(!media)return;media.style.transition=animated?\"transform 0.18s ease\":\"none\";media.style.transformOrigin=\"center center\";media.style.willChange=\"transform\";media.style.transform=`scale(${scaleRef.current})`;},[]);const goToSlide=useCallback(direction=>{if(slideCount<=0)return;startTransition(()=>{setCurrentSlide(previous=>{const base=Number.isFinite(previous)?previous:0;return(base+direction+slideCount)%slideCount;});});},[slideCount]);useEffect(()=>{const next=Number(props?.$control__current);if(!Number.isFinite(next))return;if(next===currentSlide)return;startTransition(()=>setCurrentSlide(next));},[currentSlide,props?.$control__current]);useEffect(()=>{scaleRef.current=1;if(mediaRef.current){mediaRef.current.style.transition=\"transform 0.18s ease\";mediaRef.current.style.transform=\"scale(1)\";mediaRef.current.style.transformOrigin=\"center center\";mediaRef.current.style.willChange=\"auto\";}},[currentSlide]);useEffect(()=>{const host=hostRef.current;if(!host||typeof window===\"undefined\")return;const onTouchStart=event=>{if(!isTouchDevice()||event.touches.length!==1)return;const target=event.target instanceof Element?event.target:null;const media=resolveMediaElement(event.target);const onMedia=Boolean(target&&media&&(target===media||media.contains(target)||target.contains(media)));const blockedByControl=isInteractiveControl(target);touchStartRef.current={x:event.touches[0].clientX,y:event.touches[0].clientY,moved:false,canToggle:onMedia&&!blockedByControl};};const onTouchMove=event=>{if(!isTouchDevice()||event.touches.length!==1)return;const deltaX=Math.abs(event.touches[0].clientX-touchStartRef.current.x);const deltaY=Math.abs(event.touches[0].clientY-touchStartRef.current.y);if(deltaX>8||deltaY>8){touchStartRef.current.moved=true;}};const onTouchEnd=event=>{if(!isTouchDevice())return;const{canToggle,moved}=touchStartRef.current;if(!canToggle||moved)return;scaleRef.current=scaleRef.current===1?2:1;applyScale(true);event.preventDefault();};host.addEventListener(\"touchstart\",onTouchStart,{passive:true});host.addEventListener(\"touchmove\",onTouchMove,{passive:true});host.addEventListener(\"touchend\",onTouchEnd,{passive:false});host.addEventListener(\"touchcancel\",onTouchEnd,{passive:false});return()=>{host.removeEventListener(\"touchstart\",onTouchStart);host.removeEventListener(\"touchmove\",onTouchMove);host.removeEventListener(\"touchend\",onTouchEnd);host.removeEventListener(\"touchcancel\",onTouchEnd);};},[applyScale,isInteractiveControl,isTouchDevice,resolveMediaElement]);useEffect(()=>{const host=hostRef.current;if(!host||typeof window===\"undefined\")return;let rafId=0;const getLabel=()=>{const h1VehicleName=resolveVehicleNameFromH1();const fallbackVehicleName=resolveVehicleNameFromProps(props);return buildVehicleAltLabel(h1VehicleName||fallbackVehicleName);};const applyLabel=()=>{const label=getLabel();if(!label)return;applyVehicleLabelToDescendants(host,label);};const scheduleApplyLabel=()=>{if(rafId!==0)return;rafId=window.requestAnimationFrame(()=>{rafId=0;applyLabel();});};scheduleApplyLabel();const hostObserver=new MutationObserver(()=>{scheduleApplyLabel();});hostObserver.observe(host,{subtree:true,childList:true,attributes:true,attributeFilter:[\"style\",\"class\",\"src\",\"srcset\"]});return()=>{hostObserver.disconnect();if(rafId!==0){window.cancelAnimationFrame(rafId);}};},[props,currentSlide]);return /*#__PURE__*/_jsxs(\"div\",{ref:hostRef,style:{position:\"relative\",width:\"100%\",height:\"100%\",overflow:\"hidden\",touchAction:\"manipulation\",background:\"#000000\"},children:[/*#__PURE__*/_jsx(Component,{ref:ref,...props,$control__current:currentSlide,style:{...props.style,position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",background:\"#000000\"}}),slideCount>1?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"button\",{\"aria-label\":\"Previous photo\",\"data-photo-nav\":\"true\",type:\"button\",onClick:()=>goToSlide(-1),style:{position:\"absolute\",left:12,top:\"50%\",transform:\"translateY(-50%)\",zIndex:9999,width:52,height:52,borderRadius:999,border:\"1px solid rgba(255,255,255,0.3)\",background:\"rgba(0,0,0,0.5)\",color:\"#FFFFFF\",fontSize:30,lineHeight:\"1\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",cursor:\"pointer\",touchAction:\"manipulation\"},children:\"‹\"}),/*#__PURE__*/_jsx(\"button\",{\"aria-label\":\"Next photo\",\"data-photo-nav\":\"true\",type:\"button\",onClick:()=>goToSlide(1),style:{position:\"absolute\",right:12,top:\"50%\",transform:\"translateY(-50%)\",zIndex:9999,width:52,height:52,borderRadius:999,border:\"1px solid rgba(255,255,255,0.3)\",background:\"rgba(0,0,0,0.5)\",color:\"#FFFFFF\",fontSize:30,lineHeight:\"1\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",cursor:\"pointer\",touchAction:\"manipulation\"},children:\"›\"})]}):null]});});}export function withVehicleCardAltText(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const hostRef=useRef(null);useEffect(()=>{const host=hostRef.current;if(!host)return;const vehicleName=resolveVehicleNameFromProps(props);const label=buildVehicleAltLabel(vehicleName);if(!label)return;applyVehicleLabelToDescendants(host,label);},[props]);return /*#__PURE__*/_jsx(\"div\",{ref:hostRef,style:{position:\"relative\",width:\"100%\",height:\"100%\"},children:/*#__PURE__*/_jsx(Component,{ref:ref,...props})});});}export function withVehicleGalleryAltText(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const hostRef=useRef(null);useEffect(()=>{const host=hostRef.current;if(!host||typeof window===\"undefined\")return;let rafId=0;const getLabel=()=>{const h1VehicleName=resolveVehicleNameFromH1();const fallbackVehicleName=resolveVehicleNameFromProps(props);return buildVehicleAltLabel(h1VehicleName||fallbackVehicleName);};const applyLabel=()=>{const label=getLabel();if(!label)return;applyVehicleLabelToDescendants(host,label);};const scheduleApplyLabel=()=>{if(rafId!==0)return;rafId=window.requestAnimationFrame(()=>{rafId=0;applyLabel();});};scheduleApplyLabel();const hostObserver=new MutationObserver(()=>{scheduleApplyLabel();});hostObserver.observe(host,{subtree:true,childList:true,attributes:true,attributeFilter:[\"style\",\"class\",\"src\",\"srcset\"]});return()=>{hostObserver.disconnect();if(rafId!==0){window.cancelAnimationFrame(rafId);}};},[props]);return /*#__PURE__*/_jsx(\"div\",{ref:hostRef,style:{position:\"relative\",width:\"100%\",height:\"100%\"},children:/*#__PURE__*/_jsx(Component,{ref:ref,...props})});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withHover\":{\"type\":\"reactHoc\",\"name\":\"withHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTapPhotoZoom\":{\"type\":\"reactHoc\",\"name\":\"withTapPhotoZoom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRotate\":{\"type\":\"reactHoc\",\"name\":\"withRotate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withVehicleCardAltText\":{\"type\":\"reactHoc\",\"name\":\"withVehicleCardAltText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRandomColor\":{\"type\":\"reactHoc\",\"name\":\"withRandomColor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withMobilePinchZoom\":{\"type\":\"reactHoc\",\"name\":\"withMobilePinchZoom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withVehicleGalleryAltText\":{\"type\":\"reactHoc\",\"name\":\"withVehicleGalleryAltText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Examples.map"],"mappings":"A,yMAA8E,SAAgBc,EAAY,EAAO,CACjH,IAAMC,EAAUF,EAAK,CAAC,MAAM,OAAO,OAAO,CAAC,GAAGG,CAAM,CAAC,CAAC,CAAC,EACjDC,EAAa,GAAU,CAC1B,OAAOC,GAAW,aAAY,EAASA,EAASH,EAAU,KAAK,GAAG,EAAU,MAAM,OAAO,OAAO,CAAC,GAAGA,EAAU,MAAM,GAAGG,C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