{"version":3,"file":"BackToTopButton.BeehyAwO.mjs","names":["useState","useRef","_Fragment"],"sources":["https:/framerusercontent.com/modules/gp8Q7iCAXeaZGMxevozM/QJ7PveZBSNs8iclPkKGY/BackToTopButton.js"],"sourcesContent":["// Back2Top: Sticky Back to Top Button\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useEffect,useLayoutEffect,useState,useRef}from\"react\";import ReactDOM from\"react-dom\";import{addPropertyControls,ControlType,RenderTarget,useIsStaticRenderer}from\"framer\";// Helper function for serial validation\nconst validSerials=[\"B2T-1234-5678-ABCD\",\"B2T-0000-0000-0000\",\"B2T-1111-2222-3333\",\"B2T-9999-8888-7777\"];function isValidSerial(serial){if(!serial)return false;const trimmedSerial=serial.trim();if(validSerials.includes(trimmedSerial))return true;if(/^B2T-([A-Z0-9]{4}-){2}[A-Z0-9]{4}$/.test(trimmedSerial))return true;return false;}/**\n * Back2Top\n * @framerIntrinsicWidth 367\n * @framerIntrinsicHeight 312\n */export default function Back2Top(props){const{positioning,layoutWidth,horizontalPosition,offsetHorizontal,bottom,iconChoice,iconColor,iconHoverColor,iconPressedColor,iconStrokeWidth,iconOpacity,buttonSize,borderRadius,backgroundColor,borderWidth,borderColor,shadow,scale,enableHover,hoverBackgroundColor,hoverBorderColor,hoverShadow,hoverScale,enablePressed,pressedBackgroundColor,pressedBorderColor,pressedShadow,pressedScale,trigger,triggerPercent,fadeThreshold,serial}=props;const[visible,setVisible]=useState(false);const isStatic=useIsStaticRenderer();const uniqueClassName=useRef(`btt-${Math.random().toString(36).substr(2,9)}`).current;const[isHovered,setIsHovered]=useState(false);const[isPressed,setIsPressed]=useState(false);// Ref to grab the actual DOM element of this component\nconst componentRef=useRef(null);// --- FIX: Force the Framer wrapper to collapse in Preview/Published mode ---\nuseLayoutEffect(()=>{// We do NOT want to collapse it in Canvas (editing) mode\nif(RenderTarget.current()===RenderTarget.canvas)return;if(componentRef.current&&componentRef.current.parentElement){const parent=componentRef.current.parentElement;// This CSS property makes the wrapper container effectively vanish\n// from the layout flow, while keeping its children valid.\nparent.style.display=\"contents\";// Safety fallback: ensure it has no size just in case\nparent.style.width=\"0px\";parent.style.height=\"0px\";}},[]);useEffect(()=>{// Do not run scroll logic in Canvas\nif(RenderTarget.current()===RenderTarget.canvas)return;const getThreshold=()=>{switch(trigger){case\"Viewport %\":return window.innerHeight*triggerPercent/100;case\"Viewport Height\":return window.innerHeight;case\"Pixels\":default:return fadeThreshold;}};let currentThreshold=getThreshold();const handleScroll=()=>setVisible(window.scrollY>currentThreshold);const handleResize=()=>{currentThreshold=getThreshold();handleScroll();};window.addEventListener(\"scroll\",handleScroll,{passive:true});window.addEventListener(\"resize\",handleResize,{passive:true});handleResize();return()=>{window.removeEventListener(\"scroll\",handleScroll);window.removeEventListener(\"resize\",handleResize);};},[isStatic,trigger,fadeThreshold,triggerPercent]);const handleClick=()=>window.scrollTo({top:0,behavior:\"smooth\"});let currentIconColor=iconColor;if(enablePressed&&isPressed)currentIconColor=iconPressedColor;else if(enableHover&&isHovered)currentIconColor=iconHoverColor;// Map blur type to CSS filter\nconst getBlurFilter=()=>{if(props.backgroundBlur===0)return\"none\";switch(props.backgroundBlurType){case\"Gaussian Blur\":return`blur(${props.backgroundBlur}px)`;case\"Motion Blur\":return`blur(${props.backgroundBlur}px)`;case\"Radial Blur\":return`blur(${props.backgroundBlur}px)`;case\"Box Blur\":return`blur(${props.backgroundBlur}px)`;case\"Bokeh Blur\":return`blur(${props.backgroundBlur}px)`;case\"Lens Blur\":return`blur(${props.backgroundBlur}px)`;case\"Surface Blur\":return`blur(${props.backgroundBlur}px)`;default:return`blur(${props.backgroundBlur}px)`;}};const renderIconPath=()=>{switch(iconChoice){case\"SolidUpArrow\":return /*#__PURE__*/_jsx(\"polygon\",{points:\"12,5 19,17 5,17\"});case\"Arrow\":return /*#__PURE__*/_jsx(\"path\",{d:\"M12 19V5M5 12l7-7 7 7\"});case\"Chevron\":return /*#__PURE__*/_jsx(\"polyline\",{points:\"18 15 12 9 6 15\"});case\"DoubleChevron\":return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"polyline\",{points:\"17 15 12 10 7 15\"}),/*#__PURE__*/_jsx(\"polyline\",{points:\"17 9 12 4 7 9\"})]});case\"CircleArrow\":return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"12\",cy:\"12\",r:\"10\"}),/*#__PURE__*/_jsx(\"polyline\",{points:\"8 12 12 8 16 12\"})]});case\"Triangle\":return /*#__PURE__*/_jsx(\"polygon\",{points:\"12,6 18,18 6,18\"});case\"UpArrow\":return /*#__PURE__*/_jsx(\"path\",{d:\"M4 12l8-8 8 8\"});case\"ThinChevron\":return /*#__PURE__*/_jsx(\"polyline\",{points:\"8 16 12 12 16 16\"});}};// --- CANVAS RENDER (INSTRUCTIONS) ---\nif(RenderTarget.current()===RenderTarget.canvas){return /*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",width:0,height:0,overflow:\"visible\"},children:/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:0,width:367,height:307,background:\"#181A2A\",borderRadius:16,display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",padding:16,textAlign:\"center\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontWeight:800,fontSize:38,color:\"#B6A6FF\",textShadow:\"0 2px 16px #7B61FF, 0 1px 0 #fff\",marginBottom:12},children:\"Back2Top\"}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:18,color:\"#fff\",marginBottom:24,fontWeight:400},children:\"Fully customizable back-to-top button\"}),/*#__PURE__*/_jsxs(\"div\",{style:{padding:\"18px 20px 18px 20px\",background:\"#23243A\",borderRadius:12,color:\"#EBEBF5\",fontSize:14,fontWeight:400,lineHeight:1.4,maxWidth:340,display:\"flex\",flexDirection:\"column\",gap:12,textAlign:\"left\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontWeight:700,fontSize:15,color:\"#B6A6FF\",textAlign:\"center\",width:\"100%\"},children:\"How to use\"}),/*#__PURE__*/_jsx(\"div\",{children:\"Place this component anywhere in your layout.\"}),/*#__PURE__*/_jsx(\"div\",{style:{color:\"#EBEBF5\"},children:\"This placeholder frame will vanish completely in Preview and Publish modes.\"}),/*#__PURE__*/_jsx(\"div\",{style:{color:\"#EBEBF5\"},children:\"The button will automatically appear fixed at the bottom of the screen based on your settings.\"})]})]})})});}// --- PREVIEW / PUBLISHED RENDER ---\n// We remove the null return here and handle the \"Portal\" logic\n// but we wrap the return in a div with our ref to fix the layout issue.\nconst showWatermark=!isValidSerial(serial);// Responsive horizontal positioning with correct initial windowWidth\nconst[windowWidth,setWindowWidth]=useState(undefined);useEffect(()=>{if(typeof window===\"undefined\")return;const updateWidth=()=>setWindowWidth(window.innerWidth);updateWidth()// Set immediately on mount\n;window.addEventListener(\"resize\",updateWidth);return()=>window.removeEventListener(\"resize\",updateWidth);},[]);// While waiting for hydration, render the empty ref div so layout effect can work\nif(windowWidth===undefined){return /*#__PURE__*/_jsx(\"div\",{ref:componentRef,style:{width:0,height:0}});}let horizontalStyle={};if(horizontalPosition===\"Left\"){horizontalStyle={left:positioning===\"Breakpoint\"?windowWidth>layoutWidth?`calc((100vw - ${layoutWidth}px) / 2 + ${offsetHorizontal}px)`:`${offsetHorizontal}px`:`${offsetHorizontal}px`,right:\"auto\",transform:visible?\"translateY(0)\":\"translateY(20px)\"};}else if(horizontalPosition===\"Center\"){horizontalStyle={left:\"50%\",right:\"auto\",transform:visible?\"translate(-50%, 0)\":\"translate(-50%, 20px)\"};}else{// Right\nhorizontalStyle={right:positioning===\"Breakpoint\"?windowWidth>layoutWidth?`calc((100vw - ${layoutWidth}px) / 2 + ${offsetHorizontal}px)`:`${offsetHorizontal}px`:`${offsetHorizontal}px`,left:\"auto\",transform:visible?\"translateY(0)\":\"translateY(20px)\"};}const dynamicStyles=`\n        .${uniqueClassName} { background: ${backgroundColor}; border: ${borderWidth}px solid ${borderColor}; box-shadow: ${shadow}; transform: scale(${scale}); backdrop-filter: ${getBlurFilter()}; -webkit-backdrop-filter: ${getBlurFilter()}; transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, backdrop-filter 0.2s ease; }\n        ${enableHover?`.${uniqueClassName}:hover { background: ${hoverBackgroundColor}; border-color: ${hoverBorderColor}; box-shadow: ${hoverShadow}; transform: scale(${hoverScale}); }`:\"\"}\n        ${enablePressed?`.${uniqueClassName}:active { background: ${pressedBackgroundColor}; border-color: ${pressedBorderColor}; box-shadow: ${pressedShadow}; transform: scale(${pressedScale}); }`:\"\"}\n    `;const portalContent=/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"div\",{style:{position:\"fixed\",zIndex:2147483647,bottom:`${bottom}px`,opacity:visible?1:0,pointerEvents:visible?\"auto\":\"none\",transition:\"opacity 0.4s ease, transform 0.4s ease\",...horizontalStyle},children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:dynamicStyles}}),/*#__PURE__*/_jsx(\"button\",{className:uniqueClassName,\"aria-label\":\"Back to top\",onClick:handleClick,onTouchEnd:handleClick,onMouseEnter:()=>setIsHovered(true),onMouseLeave:()=>{setIsHovered(false);setIsPressed(false);},onMouseDown:()=>setIsPressed(true),onMouseUp:()=>setIsPressed(false),style:{width:buttonSize,height:buttonSize,borderRadius,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",cursor:\"pointer\",outline:\"none\",padding:0,border:\"none\"},tabIndex:visible?0:-1,children:/*#__PURE__*/_jsx(\"svg\",{width:buttonSize*.45,height:buttonSize*.45,viewBox:\"0 0 24 24\",fill:iconChoice===\"SolidUpArrow\"?currentIconColor:\"none\",stroke:iconChoice===\"SolidUpArrow\"?\"none\":currentIconColor,strokeWidth:iconStrokeWidth,strokeOpacity:iconOpacity,strokeLinecap:\"round\",strokeLinejoin:\"round\",\"aria-hidden\":\"true\",children:renderIconPath()})})]}),showWatermark&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"fixed\",inset:0,zIndex:2147483646,pointerEvents:\"none\",display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",background:\"rgba(24,26,42,0.60)\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{background:\"rgba(24,26,42,0.92)\",borderRadius:24,padding:\"32px 48px 28px 48px\",boxShadow:\"0 4px 32px 0 #7B61FF44\",display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",minWidth:320,maxWidth:420,pointerEvents:\"auto\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontWeight:800,fontSize:25,color:\"#B6A6FF\",textShadow:\"0 2px 24px #7B61FF, 0 1px 0 #fff\",marginBottom:14},children:\"Back2Top\"}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:18,color:\"#fff\",marginBottom:10,fontWeight:400},children:\"Get your license at:\"}),/*#__PURE__*/_jsx(\"a\",{href:\"https://www.arnaudgaland.com\",target:\"_blank\",rel:\"noopener noreferrer\",style:{fontSize:18,color:\"#7B61FF\",textDecoration:\"underline\",fontWeight:500,pointerEvents:\"auto\"},children:\"arnaudgaland.com\"})]})})]});// IMPORTANT: Even though we are portaling the button to the Body,\n// we must render a container div so we can attach 'componentRef'.\n// The useLayoutEffect above uses this ref to find the parent\n// and effectively delete its dimensions from the page flow.\nreturn /*#__PURE__*/_jsx(\"div\",{ref:componentRef,style:{width:0,height:0,overflow:\"hidden\"},children:typeof document!==\"undefined\"?/*#__PURE__*/ReactDOM.createPortal(portalContent,document.body):null});}const propertyControls={serial:{type:ControlType.String,title:\"Serial (Unlock)\",placeholder:\"B2T-XXXX-XXXX-XXXX\",defaultValue:\"\",obscured:true},_serial_status_default:{type:ControlType.SegmentedEnum,title:\" \",options:[\" \"],optionTitles:[\"REGISTRATION\"],disabled:true,description:\"Enter your license serial to unlock the component.\",hidden:props=>props.serial!==\"\"},_serial_status_valid:{type:ControlType.SegmentedEnum,title:\" \",options:[\" \"],optionTitles:[\"✅ REGISTERED\"],disabled:true,//description: \"✅ Registered\",\nhidden:props=>!isValidSerial(props.serial)},_serial_status_invalid:{type:ControlType.SegmentedEnum,title:\" \",options:[\" \"],optionTitles:[\"❌ WRONG SERIAL NUMBER\"],disabled:true,//description: \"❌ Wrong Serial Number\",\nhidden:props=>props.serial===\"\"||isValidSerial(props.serial)},_title_layout:{type:ControlType.SegmentedEnum,title:\" \",options:[\"a\"],optionTitles:[\"LAYOUT & POSITION\"],disabled:true},positioning:{type:ControlType.Enum,title:\"Relative To\",options:[\"Breakpoint\",\"Viewport\"],defaultValue:\"Breakpoint\",displaySegmentedControl:true},layoutWidth:{type:ControlType.Number,title:\"Breakpoint Width\",defaultValue:1200,min:320,max:4e3,step:10,unit:\"px\",hidden:props=>props.positioning!==\"Breakpoint\"},horizontalPosition:{type:ControlType.Enum,title:\"Horizontal Position\",options:[\"Left\",\"Center\",\"Right\"],optionTitles:[\"Left\",\"Center\",\"Right\"],defaultValue:\"Right\",displaySegmentedControl:true},offsetHorizontal:{type:ControlType.Number,title:\"Offset Horizontal\",defaultValue:24,min:0,max:100,step:1,unit:\"px\",hidden:props=>props.horizontalPosition===\"Center\"},bottom:{type:ControlType.Number,title:\"Offset Bottom\",defaultValue:24,min:0,max:100,step:1,unit:\"px\"},_title_icon:{type:ControlType.SegmentedEnum,title:\" \",options:[\"a\"],optionTitles:[\"ICON\"],disabled:true},iconChoice:{type:ControlType.Enum,title:\"Shape\",options:[\"SolidUpArrow\",\"Arrow\",\"Chevron\",\"DoubleChevron\",\"CircleArrow\",\"Triangle\",\"UpArrow\",\"ThinChevron\"],optionTitles:[\"Solid Up Arrow\",\"Arrow\",\"Chevron\",\"Double Chevron\",\"Circle Arrow\",\"Triangle\",\"Up Arrow\",\"Thin Chevron\"],defaultValue:\"SolidUpArrow\"},iconColor:{type:ControlType.Color,title:\"Idle Color\",defaultValue:\"#FFFFFF\"},iconHoverColor:{type:ControlType.Color,title:\"Hover Color\",defaultValue:\"#FFFFFF\",hidden:props=>!props.enableHover},iconPressedColor:{type:ControlType.Color,title:\"Pressed Color\",defaultValue:\"#FFFFFF\",hidden:props=>!props.enablePressed},iconStrokeWidth:{type:ControlType.Number,title:\"Width\",defaultValue:2.5,min:1,max:5,step:.5},iconOpacity:{type:ControlType.Number,title:\"Alpha\",defaultValue:1,min:0,max:1,step:.1},_title_idle:{type:ControlType.SegmentedEnum,title:\" \",options:[\"a\"],optionTitles:[\"IDLE STATE\"],disabled:true},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#222\"},backgroundBlur:{type:ControlType.Number,title:\"Blur\",defaultValue:0,min:0,max:100,step:1,unit:\"px\"},backgroundBlurType:{type:ControlType.Enum,title:\"Blur Type\",options:[\"Gaussian Blur\",\"Motion Blur\",\"Radial Blur\",\"Box Blur\",\"Bokeh Blur\",\"Lens Blur\",\"Surface Blur\"],optionTitles:[\"Gaussian Blur\",\"Motion Blur\",\"Radial Blur\",\"Box Blur\",\"Bokeh Blur\",\"Lens Blur\",\"Surface Blur\"],defaultValue:\"Gaussian Blur\"},borderWidth:{type:ControlType.Number,title:\"Border Width\",defaultValue:1,min:0,max:10,unit:\"px\"},borderColor:{type:ControlType.Color,title:\"Border Color\",defaultValue:\"#FFFFFF\",hidden:props=>props.borderWidth===0},shadow:{type:ControlType.BoxShadow,title:\"Shadow\",defaultValue:\"0px 4px 12px 0px #00000026\"},scale:{type:ControlType.Number,title:\"Scale\",defaultValue:1,min:0,max:2,step:.05},_title_hover:{type:ControlType.SegmentedEnum,title:\" \",options:[\"a\"],optionTitles:[\"HOVER STATE\"],disabled:true},enableHover:{type:ControlType.Boolean,title:\"Enable Hover State\",defaultValue:true},hoverBackgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#000000\",hidden:props=>!props.enableHover},hoverBorderColor:{type:ControlType.Color,title:\"Border Color\",defaultValue:\"#FFFFFF\",hidden:props=>props.borderWidth===0||!props.enableHover},hoverShadow:{type:ControlType.BoxShadow,title:\"Shadow\",defaultValue:\"0px 8px 16px 0px #00000033\",hidden:props=>!props.enableHover},hoverScale:{type:ControlType.Number,title:\"Scale\",defaultValue:1.05,min:0,max:2,step:.05,hidden:props=>!props.enableHover},_title_pressed:{type:ControlType.SegmentedEnum,title:\" \",options:[\"a\"],optionTitles:[\"PRESSED STATE\"],disabled:true},enablePressed:{type:ControlType.Boolean,title:\"Enable Pressed State\",defaultValue:true},pressedBackgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#444444\",hidden:props=>!props.enablePressed},pressedBorderColor:{type:ControlType.Color,title:\"Border Color\",defaultValue:\"#8558FF\",hidden:props=>props.borderWidth===0||!props.enablePressed},pressedShadow:{type:ControlType.BoxShadow,title:\"Shadow\",defaultValue:\"0px 2px 8px 0px #0000004D\",hidden:props=>!props.enablePressed},pressedScale:{type:ControlType.Number,title:\"Scale\",defaultValue:.95,min:0,max:2,step:.05,hidden:props=>!props.enablePressed},_title_behavior:{type:ControlType.SegmentedEnum,title:\" \",options:[\"a\"],optionTitles:[\"BEHAVIOR\"],disabled:true},buttonSize:{type:ControlType.Number,title:\"Button Size\",defaultValue:56,min:32,max:120,step:1,displayStepper:true},borderRadius:{type:ControlType.Number,title:\"Radius\",defaultValue:28,min:0,max:60,step:1,displayStepper:true},trigger:{type:ControlType.Enum,title:\"Trigger\",options:[\"Viewport %\",\"Viewport Height\",\"Pixels\"],defaultValue:\"Viewport %\",displaySegmentedControl:true},triggerPercent:{type:ControlType.Number,title:\"Scroll %\",defaultValue:50,min:1,max:100,step:1,unit:\"%\",displayStepper:true,hidden:props=>props.trigger!==\"Viewport %\",description:\"*[Back2Top](https://www.arnaudgaland.com)*\\nCopyright \\xa92025 Arnaud Galand.\\nMore components at:\\n[Arnaud Galand Music](https://www.arnaudgaland.com).\"},fadeThreshold:{type:ControlType.Number,title:\"Show After\",defaultValue:800,min:0,step:50,unit:\"px\",hidden:props=>props.trigger!==\"Pixels\"}};Back2Top.displayName=\"Back2Top\";addPropertyControls(Back2Top,propertyControls);\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Back2Top\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"367\",\"framerIntrinsicHeight\":\"312\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BackToTopButton.map"],"mappings":"yPAEyG,SAAS,EAAc,EAAO,CAAC,GAAG,CAAC,EAAO,MAAO,GAAM,IAAM,EAAc,EAAO,MAAM,CAA6H,MAAxE,GAAjD,EAAa,SAAS,EAAc,EAAgB,qCAAqC,KAAK,EAAc,EAI9S,SAAwB,EAAS,EAAM,CAAC,GAAK,CAAC,cAAY,cAAY,qBAAmB,mBAAiB,SAAO,aAAW,YAAU,iBAAe,mBAAiB,kBAAgB,cAAY,aAAW,eAAa,kBAAgB,cAAY,cAAY,SAAO,QAAM,cAAY,uBAAqB,oBAAiB,eAAY,cAAW,gBAAc,0BAAuB,sBAAmB,gBAAc,eAAa,UAAQ,iBAAe,gBAAc,UAAQ,EAAW,CAAC,EAAQ,GAAYA,EAAS,GAAM,CAAO,EAAS,GAAqB,CAAO,EAAgBC,EAAO,OAAO,KAAK,QAAQ,CAAC,SAAS,GAAG,CAAC,OAAO,EAAE,EAAE,GAAG,CAAC,QAAa,CAAC,EAAU,GAAcD,EAAS,GAAM,CAAM,CAAC,EAAU,GAAcA,EAAS,GAAM,CAC3tB,EAAaC,EAAO,KAAK,CAC/B,MAAoB,CACjB,KAAa,SAAS,GAAG,EAAa,QAAiB,EAAa,SAAS,EAAa,QAAQ,cAAc,CAAC,IAAM,EAAO,EAAa,QAAQ,cAEtJ,EAAO,MAAM,QAAQ,WACrB,EAAO,MAAM,MAAM,MAAM,EAAO,MAAM,OAAO,QAAS,EAAE,CAAC,CAAC,MAAc,CAC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