{"version":3,"file":"Embed.Bvx9ELEq.mjs","names":["useState","useRef","useCallback","startTransition","useState","useRef"],"sources":["https:/framerusercontent.com/modules/FToBwwuoethQLcxJpbg6/9rSv49jnBXBi3b6Qq9dQ/CloseButton.js","https:/framerusercontent.com/modules/o1PI5S8YtkA5bP5g4dFz/s801VqobGI0Gkh3K9b41/Embed.js"],"sourcesContent":["// Advanced Close X Component\n// Optimized quick component for closing overlays, modals, drawers, and lightboxes\n// Designer-friendly, fully accessible, theme-aware with polished micro-interactions\n// Author: madhoundes - https://contra.com/madhoundes\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{motion,useReducedMotion}from\"framer-motion\";import{useEffect,useRef,useState,useCallback,startTransition}from\"react\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function CloseButton(props){const{size=\"M\",variant=\"subtle\",ariaLabel=\"Close\",closeOnEscape=true,hotkey=\"Esc\",iconWeight=\"regular\",cornerPlacement=\"top-right\",offsetX=12,offsetY=12,showTooltip=true,zIndex=9999,disabled=false,onClick,onClose,onCloseStart,onCloseEnd,accentColor=\"#FFD800\",iconColor=\"#FFFFFF\"}=props;const[isHovered,setIsHovered]=useState(false);const[isPressed,setIsPressed]=useState(false);const[isFocused,setIsFocused]=useState(false);const[isClosing,setIsClosing]=useState(false);const[showTooltipState,setShowTooltipState]=useState(false);const[isRTL,setIsRTL]=useState(false);const buttonRef=useRef(null);const previousFocusRef=useRef(null);const tooltipTimeoutRef=useRef(null);const shouldReduceMotion=useReducedMotion();const isCanvas=RenderTarget.current()===RenderTarget.canvas;// Detect RTL\nuseEffect(()=>{if(typeof window!==\"undefined\"){const dir=window.getComputedStyle(document.documentElement).direction;startTransition(()=>setIsRTL(dir===\"rtl\"));}},[]);// Size configurations\nconst sizeConfig={S:{box:32,icon:14,stroke:iconWeight===\"light\"?1.5:iconWeight===\"bold\"?2.5:2},M:{box:40,icon:18,stroke:iconWeight===\"light\"?1.5:iconWeight===\"bold\"?2.5:2},L:{box:48,icon:22,stroke:iconWeight===\"light\"?1.5:iconWeight===\"bold\"?2.5:2}};const config=sizeConfig[size];// Calculate position based on corner placement and RTL\nconst getPositionStyles=()=>{const safeAreaPadding=12;const totalOffsetX=offsetX+safeAreaPadding;const totalOffsetY=offsetY+safeAreaPadding;let placement=cornerPlacement;if(isRTL){if(placement===\"top-right\")placement=\"top-left\";else if(placement===\"top-left\")placement=\"top-right\";else if(placement===\"bottom-right\")placement=\"bottom-left\";else if(placement===\"bottom-left\")placement=\"bottom-right\";}const positions={\"top-right\":{top:totalOffsetY,right:totalOffsetX},\"top-left\":{top:totalOffsetY,left:totalOffsetX},\"bottom-right\":{bottom:totalOffsetY,right:totalOffsetX},\"bottom-left\":{bottom:totalOffsetY,left:totalOffsetX}};return positions[placement];};// Handle close action\nconst handleClose=useCallback(()=>{if(disabled||isClosing)return;startTransition(()=>setIsClosing(true));onCloseStart?.();if(onClick){onClick();}if(onClose){onClose();}setTimeout(()=>{onCloseEnd?.();startTransition(()=>setIsClosing(false));},shouldReduceMotion?0:240);},[disabled,isClosing,onClick,onClose,onCloseStart,onCloseEnd,shouldReduceMotion]);// Keyboard handling\nuseEffect(()=>{if(!closeOnEscape||disabled)return;const handleKeyDown=e=>{if(e.key===\"Escape\"){e.preventDefault();handleClose();}};if(typeof window!==\"undefined\"){window.addEventListener(\"keydown\",handleKeyDown);return()=>window.removeEventListener(\"keydown\",handleKeyDown);}},[closeOnEscape,disabled,handleClose]);// Tooltip hover delay\nuseEffect(()=>{if(isHovered&&showTooltip&&!disabled&&typeof window!==\"undefined\"&&window.matchMedia(\"(hover: hover)\").matches){tooltipTimeoutRef.current=window.setTimeout(()=>{startTransition(()=>setShowTooltipState(true));},300);}else{if(tooltipTimeoutRef.current){window.clearTimeout(tooltipTimeoutRef.current);}startTransition(()=>setShowTooltipState(false));}return()=>{if(tooltipTimeoutRef.current){window.clearTimeout(tooltipTimeoutRef.current);}};},[isHovered,showTooltip,disabled]);// Focus management\nuseEffect(()=>{if(typeof document!==\"undefined\"){previousFocusRef.current=document.activeElement;}return()=>{if(previousFocusRef.current&&typeof previousFocusRef.current.focus===\"function\"){previousFocusRef.current.focus();}};},[]);// Tooltip positioning\nconst getTooltipPosition=()=>{const placement=isRTL?cornerPlacement.includes(\"right\")?cornerPlacement.replace(\"right\",\"left\"):cornerPlacement.replace(\"left\",\"right\"):cornerPlacement;if(placement.includes(\"top\")){return{top:\"100%\",marginTop:8};}return{bottom:\"100%\",marginBottom:8};};// Variant styles\nconst getVariantStyles=()=>{const baseStyles={borderRadius:\"50%\",transition:shouldReduceMotion?\"none\":\"all 120ms ease-in-out\"};if(variant===\"subtle\"){return{...baseStyles,backgroundColor:isPressed?\"rgba(255, 255, 255, 0.15)\":isHovered?\"rgba(255, 255, 255, 0.1)\":\"transparent\"};}if(variant===\"ghost\"){return{...baseStyles,backgroundColor:isPressed?\"rgba(255, 255, 255, 0.2)\":isHovered?\"rgba(255, 255, 255, 0.15)\":\"rgba(255, 255, 255, 0.08)\"};}// solid\nreturn{...baseStyles,backgroundColor:isPressed?accentColor:isHovered?accentColor:accentColor,opacity:isPressed?.9:isHovered?.95:1};};const iconStrokeColor=variant===\"solid\"?\"#000000\":iconColor;// Animation variants\nconst containerVariants={initial:shouldReduceMotion?{opacity:1,scale:1}:{opacity:0,scale:.98},animate:{opacity:1,scale:1},exit:shouldReduceMotion?{opacity:0}:{opacity:0,scale:.95,rotate:45}};const buttonVariants={default:{scale:1,rotate:0},hover:shouldReduceMotion?{scale:1,rotate:0}:{scale:1.05,rotate:0},press:shouldReduceMotion?{scale:1,rotate:0}:{scale:.88,rotate:90}};return /*#__PURE__*/_jsx(motion.div,{initial:\"initial\",animate:isClosing?\"exit\":\"animate\",variants:containerVariants,transition:shouldReduceMotion?{duration:0}:{duration:isClosing?.24:.16,ease:isClosing?\"easeOut\":\"easeOut\"},style:{position:isCanvas?\"absolute\":\"fixed\",...getPositionStyles(),zIndex,pointerEvents:disabled?\"none\":\"auto\"},children:/*#__PURE__*/_jsxs(motion.button,{ref:buttonRef,type:\"button\",\"aria-label\":ariaLabel,disabled:disabled,variants:buttonVariants,animate:isPressed?\"press\":isHovered?\"hover\":\"default\",transition:shouldReduceMotion?{duration:0}:{type:\"spring\",stiffness:400,damping:25,mass:.5},onClick:handleClose,onMouseEnter:()=>{if(!disabled){startTransition(()=>{setIsHovered(true);});}},onMouseLeave:()=>{startTransition(()=>{setIsHovered(false);setShowTooltipState(false);});},onMouseDown:()=>{if(!disabled){startTransition(()=>{setIsPressed(true);setShowTooltipState(false);});}},onMouseUp:()=>startTransition(()=>setIsPressed(false)),onFocus:()=>!disabled&&startTransition(()=>setIsFocused(true)),onBlur:()=>startTransition(()=>setIsFocused(false)),style:{width:config.box,height:config.box,minWidth:44,minHeight:44,padding:0,border:\"none\",cursor:disabled?\"not-allowed\":\"pointer\",opacity:disabled?.4:1,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",position:\"relative\",outline:\"none\",...getVariantStyles(),boxShadow:isFocused&&!disabled?`0 0 0 2px ${variant===\"solid\"?\"#000000\":accentColor}`:isPressed&&!shouldReduceMotion?\"0 1px 3px rgba(0, 0, 0, 0.2)\":\"none\"},children:[/*#__PURE__*/_jsxs(\"svg\",{width:config.icon,height:config.icon,viewBox:\"0 0 24 24\",fill:\"none\",stroke:iconStrokeColor,strokeWidth:config.stroke,strokeLinecap:\"round\",strokeLinejoin:\"round\",style:{transition:shouldReduceMotion?\"none\":\"stroke-width 120ms ease-in-out\"},children:[/*#__PURE__*/_jsx(\"title\",{children:ariaLabel}),/*#__PURE__*/_jsx(\"line\",{x1:\"18\",y1:\"6\",x2:\"6\",y2:\"18\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"6\",y1:\"6\",x2:\"18\",y2:\"18\"})]}),showTooltip&&showTooltipState&&!disabled&&isHovered&&/*#__PURE__*/_jsxs(motion.div,{initial:{opacity:0,y:-4},animate:{opacity:1,y:0},exit:{opacity:0},transition:{duration:shouldReduceMotion?0:.15},style:{position:\"absolute\",...getTooltipPosition(),backgroundColor:\"rgba(0, 0, 0, 0.9)\",color:\"#FFFFFF\",padding:\"6px 10px\",borderRadius:6,fontSize:12,fontWeight:500,whiteSpace:\"nowrap\",pointerEvents:\"none\",boxShadow:\"0 2px 8px rgba(0, 0, 0, 0.15)\",zIndex:1},children:[ariaLabel,\" \",hotkey&&`(${hotkey})`]})]})});}addPropertyControls(CloseButton,{onClose:{type:ControlType.EventHandler,title:\"On Close\"},size:{type:ControlType.Enum,title:\"Size\",options:[\"S\",\"M\",\"L\"],optionTitles:[\"Small\",\"Medium\",\"Large\"],defaultValue:\"M\",displaySegmentedControl:true},variant:{type:ControlType.Enum,title:\"Variant\",options:[\"subtle\",\"ghost\",\"solid\"],optionTitles:[\"Subtle\",\"Ghost\",\"Solid\"],defaultValue:\"subtle\",displaySegmentedControl:true},cornerPlacement:{type:ControlType.Enum,title:\"Placement\",options:[\"top-right\",\"top-left\",\"bottom-right\",\"bottom-left\"],optionTitles:[\"Top Right\",\"Top Left\",\"Bottom Right\",\"Bottom Left\"],defaultValue:\"top-right\"},offsetX:{type:ControlType.Number,title:\"Offset X\",defaultValue:12,min:-300,max:300,step:1,unit:\"px\"},offsetY:{type:ControlType.Number,title:\"Offset Y\",defaultValue:12,min:-300,max:300,step:1,unit:\"px\"},iconWeight:{type:ControlType.Enum,title:\"Icon Weight\",options:[\"light\",\"regular\",\"bold\"],optionTitles:[\"Light\",\"Regular\",\"Bold\"],defaultValue:\"regular\",displaySegmentedControl:true},accentColor:{type:ControlType.Color,title:\"Accent Color\",defaultValue:\"#FFD800\"},iconColor:{type:ControlType.Color,title:\"Icon Color\",defaultValue:\"#FFFFFF\"},ariaLabel:{type:ControlType.String,title:\"Aria Label\",defaultValue:\"Close\"},hotkey:{type:ControlType.String,title:\"Hotkey Display\",defaultValue:\"Esc\"},closeOnEscape:{type:ControlType.Boolean,title:\"Close on Escape\",defaultValue:true,enabledTitle:\"Yes\",disabledTitle:\"No\"},showTooltip:{type:ControlType.Boolean,title:\"Show Tooltip\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},disabled:{type:ControlType.Boolean,title:\"Disabled\",defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\"},zIndex:{type:ControlType.Number,title:\"Z-Index\",defaultValue:9999,min:0,max:99999,step:1}});CloseButton.displayName=\"CloseButton Overlay\";\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CloseButton\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CloseButton.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef,useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{useIsOnCanvas,emptyStateStyle,containerStyles}from\"https://framer.com/m/framer/default-utils.js\";/**\n * @framerIntrinsicWidth 600\n * @framerIntrinsicHeight 400\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n *\n * @framerDisableUnlink\n */export default function Embed({type,url,html,zoom,radius,border,style={}}){if(type===\"url\"&&url){return /*#__PURE__*/_jsx(EmbedUrl,{url:url,zoom:zoom,radius:radius,border:border,style:style});}if(type===\"html\"&&html){return /*#__PURE__*/_jsx(EmbedHtml,{html:html,style:style});}return /*#__PURE__*/_jsx(Instructions,{style:style});}addPropertyControls(Embed,{type:{type:ControlType.Enum,defaultValue:\"url\",displaySegmentedControl:true,options:[\"url\",\"html\"],optionTitles:[\"URL\",\"HTML\"]},url:{title:\"URL\",type:ControlType.String,description:\"Some websites don’t support embedding.\",hidden(props){return props.type!==\"url\";}},html:{title:\"HTML\",type:ControlType.String,displayTextArea:true,hidden(props){return props.type!==\"html\";}},border:{title:\"Border\",type:ControlType.Border,optional:true,hidden(props){return props.type!==\"url\";}},radius:{type:ControlType.BorderRadius,title:\"Radius\",hidden(props){return props.type!==\"url\";}},zoom:{title:\"Zoom\",defaultValue:1,type:ControlType.Number,hidden(props){return props.type!==\"url\";},min:.1,max:1,step:.1,displayStepper:true}});function Instructions({style}){return /*#__PURE__*/_jsx(\"div\",{style:{minHeight:getMinHeight(style),...emptyStateStyle,overflow:\"hidden\",...style},children:/*#__PURE__*/_jsx(\"div\",{style:centerTextStyle,children:\"To embed a website or widget, add it to the properties\\xa0panel.\"})});}function EmbedUrl({url,zoom,radius,border,style}){const hasAutoHeight=!style.height;// Add https:// if the URL does not have a protocol.\nif(!/[a-z]+:\\/\\//.test(url)){url=\"https://\"+url;}const onCanvas=useIsOnCanvas();// We need to check if the url is blocked inside an iframe by the X-Frame-Options\n// or Content-Security-Policy headers on the backend.\nconst[state,setState]=useState(onCanvas?undefined:false);useEffect(()=>{// We only want to check on the canvas.\n// On the website we want to avoid the additional delay.\nif(!onCanvas)return;// TODO: We could also use AbortController here.\nlet isLastEffect=true;setState(undefined);async function load(){const response=await fetch(\"https://api.framer.com/functions/check-iframe-url?url=\"+encodeURIComponent(url));if(response.status==200){const{isBlocked}=await response.json();if(isLastEffect){setState(isBlocked);}}else{const message=await response.text();console.error(message);const error=new Error(\"This site can’t be reached.\");setState(error);}}load().catch(error=>{console.error(error);setState(error);});return()=>{isLastEffect=false;};},[url]);if(onCanvas&&hasAutoHeight){return /*#__PURE__*/_jsx(ErrorMessage,{message:\"URL embeds do not support auto height.\",style:style});}if(!url.startsWith(\"https://\")){return /*#__PURE__*/_jsx(ErrorMessage,{message:\"Unsupported protocol.\",style:style});}if(state===undefined){return /*#__PURE__*/_jsx(LoadingIndicator,{});}if(state instanceof Error){return /*#__PURE__*/_jsx(ErrorMessage,{message:state.message,style:style});}if(state===true){const message=`Can’t embed ${url} due to its content security policy.`;return /*#__PURE__*/_jsx(ErrorMessage,{message:message,style:style});}return /*#__PURE__*/_jsx(\"iframe\",{src:url,style:{...iframeStyle,...style,...border,zoom:zoom,borderRadius:radius,transformOrigin:\"top center\"},loading:\"lazy\",// @ts-ignore\nfetchPriority:onCanvas?\"low\":\"auto\",referrerPolicy:\"no-referrer\",sandbox:getSandbox(onCanvas)});}const iframeStyle={width:\"100%\",height:\"100%\",border:\"none\"};function getSandbox(onCanvas){const result=[\"allow-same-origin\",\"allow-scripts\"];if(!onCanvas){result.push(\"allow-downloads\",\"allow-forms\",\"allow-modals\",\"allow-orientation-lock\",\"allow-pointer-lock\",\"allow-popups\",\"allow-popups-to-escape-sandbox\",\"allow-presentation\",\"allow-storage-access-by-user-activation\",\"allow-top-navigation-by-user-activation\");}return result.join(\" \");}function EmbedHtml({html,...props}){const hasScript=html.includes(\"</script>\");if(hasScript){const hasSplineViewer=html.includes(\"</spline-viewer>\");const hasComment=html.includes(\"<!-- framer-direct-embed -->\");if(hasSplineViewer||hasComment){return /*#__PURE__*/_jsx(EmbedHtmlWithScripts,{html:html,...props});}return /*#__PURE__*/_jsx(EmbedHtmlInsideIframe,{html:html,...props});}return /*#__PURE__*/_jsx(EmbedHtmlWithoutScripts,{html:html,...props});}function EmbedHtmlInsideIframe({html,style}){const ref=useRef();const[iframeHeight,setIframeHeight]=useState(0);// Handle auto sizing\nuseEffect(()=>{const iframeWindow=ref.current?.contentWindow;function handleMessage(event){if(event.source!==iframeWindow)return;const data=event.data;if(typeof data!==\"object\"||data===null)return;const height=data.embedHeight;if(typeof height!==\"number\")return;setIframeHeight(height);}window.addEventListener(\"message\",handleMessage);// After SSG the iframe loads before we attach the event handler,\n// therefore we need to request the latest height from the iframe.\niframeWindow?.postMessage(\"getEmbedHeight\",\"*\");return()=>{window.removeEventListener(\"message\",handleMessage);};},[]);// The CSS is mainly copied from:\n// FramerStudio/src/app/vekter/src/renderer/setDefaultFont.ts\n// FramerStudio/src/app/vekter/src/export/globalStylesForExport.ts\nconst srcDoc=`\n<html>\n    <head>\n        <style>\n            html, body {\n                margin: 0;\n                padding: 0;\n            }\n\n            body {\n                display: flex;\n                justify-content: center;\n                align-items: center;\n            }\n\n            :root {\n                -webkit-font-smoothing: antialiased;\n                -moz-osx-font-smoothing: grayscale;\n            }\n\n            * {\n                box-sizing: border-box;\n                -webkit-font-smoothing: inherit;\n            }\n\n            h1, h2, h3, h4, h5, h6, p, figure {\n                margin: 0;\n            }\n\n            body, input, textarea, select, button {\n                font-size: 12px;\n                font-family: sans-serif;\n            }\n        </style>\n    </head>\n    <body>\n        ${html}\n        <script type=\"module\">\n            let height = 0\n\n            function sendEmbedHeight() {\n                window.parent.postMessage({\n                    embedHeight: height\n                }, \"*\")\n            }\n\n            const observer = new ResizeObserver((entries) => {\n                if (entries.length !== 1) return\n                const entry = entries[0]\n                if (entry.target !== document.body) return\n\n                height = entry.contentRect.height\n                sendEmbedHeight()\n            })\n\n            observer.observe(document.body)\n\n            window.addEventListener(\"message\", (event) => {\n                if (event.source !== window.parent) return\n                if (event.data !== \"getEmbedHeight\") return\n                sendEmbedHeight()\n            })\n        </script>\n    <body>\n</html>\n`;const currentStyle={...iframeStyle,...style};const hasAutoHeight=!style.height;if(hasAutoHeight){currentStyle.height=iframeHeight+\"px\";}return /*#__PURE__*/_jsx(\"iframe\",{ref:ref,style:currentStyle,srcDoc:srcDoc});}function EmbedHtmlWithScripts({html,style}){const ref=useRef();useEffect(()=>{const div=ref.current;if(!div)return;div.innerHTML=html;executeScripts(div);return()=>{div.innerHTML=\"\";};},[html]);return /*#__PURE__*/_jsx(\"div\",{ref:ref,style:{...htmlStyle,...style}});}function EmbedHtmlWithoutScripts({html,style}){return /*#__PURE__*/_jsx(\"div\",{style:{...htmlStyle,...style},dangerouslySetInnerHTML:{__html:html}});}const htmlStyle={width:\"100%\",height:\"100%\",display:\"flex\",flexDirection:\"column\",justifyContent:\"center\",alignItems:\"center\"};// This function replaces scripts with executable ones.\n// https://stackoverflow.com/questions/1197575/can-scripts-be-inserted-with-innerhtml\nfunction executeScripts(node){if(node instanceof Element&&node.tagName===\"SCRIPT\"){const script=document.createElement(\"script\");script.text=node.innerHTML;for(const{name,value}of node.attributes){script.setAttribute(name,value);}node.parentElement.replaceChild(script,node);}else{for(const child of node.childNodes){executeScripts(child);}}}// Generic components\nfunction LoadingIndicator(){return /*#__PURE__*/_jsx(\"div\",{className:\"framerInternalUI-componentPlaceholder\",style:{...containerStyles,overflow:\"hidden\"},children:/*#__PURE__*/_jsx(\"div\",{style:centerTextStyle,children:\"Loading…\"})});}function ErrorMessage({message,style}){return /*#__PURE__*/_jsx(\"div\",{className:\"framerInternalUI-errorPlaceholder\",style:{minHeight:getMinHeight(style),...containerStyles,overflow:\"hidden\",...style},children:/*#__PURE__*/_jsx(\"div\",{style:centerTextStyle,children:message})});}const centerTextStyle={textAlign:\"center\",minWidth:140};// Returns a min-height if the component is using auto-height.\nfunction getMinHeight(style){const hasAutoHeight=!style.height;if(hasAutoHeight)return 200;}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Embed\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"400\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\",\"framerIntrinsicWidth\":\"600\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Embed.map"],"mappings":"kYAOG,SAAwB,EAAY,EAAM,CAAC,GAAK,CAAC,OAAK,IAAI,UAAQ,SAAS,YAAU,QAAQ,gBAAc,GAAK,SAAO,MAAM,aAAW,UAAU,kBAAgB,YAAY,UAAQ,GAAG,UAAQ,GAAG,cAAY,GAAK,SAAO,KAAK,WAAS,GAAM,UAAQ,UAAQ,eAAa,aAAW,cAAY,UAAU,YAAU,WAAW,EAAW,CAAC,EAAU,GAAcA,EAAS,GAAM,CAAM,CAAC,EAAU,GAAcA,EAAS,GAAM,CAAM,CAAC,EAAU,GAAcA,EAAS,GAAM,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