{"version":3,"file":"AppleButton.BINFO-rc.mjs","names":["useRef","useState","useCallback","_Fragment","buttonStyle","useRef","useState"],"sources":["https:/framerusercontent.com/modules/lL7IhUCDphqwlKIs7ho8/nNoTgZGJm9AECW1X0sju/GoogleButton.js","https:/framerusercontent.com/modules/KvbKKSrcxpHsvTV9cn5c/B5JgFjmXK5VJCHmaxolO/AppleButton.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useEffect,useRef,useState,useCallback}from\"react\";const GOOGLE_CLIENT_ID=\"949990311987-ei3op0ol2ivpr2lp83524vevpk96ro7k.apps.googleusercontent.com\";const STORAGE_KEY=\"tns_google_user\";function getStoredUser(){try{const raw=localStorage.getItem(STORAGE_KEY);if(!raw)return null;return JSON.parse(raw);}catch{return null;}}function setStoredUser(user){try{localStorage.setItem(STORAGE_KEY,JSON.stringify(user));}catch{// localStorage not available\n}}function clearStoredUser(){try{localStorage.removeItem(STORAGE_KEY);}catch{// localStorage not available\n}}/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function GoogleButton({handleEmailUpdate,handleAutoDetect,handleDismiss,handleError,style:cssStyle}){const hiddenButtonRef=useRef(null);const[isLoading,setIsLoading]=useState(false);const[scriptLoaded,setScriptLoaded]=useState(false);// User info (from localStorage or explicit sign-in)\nconst[signedInEmail,setSignedInEmail]=useState(null);const[signedInName,setSignedInName]=useState(null);const[signedInPicture,setSignedInPicture]=useState(null);const[dismissed,setDismissed]=useState(false);const[isAutoDetected,setIsAutoDetected]=useState(false);const decodeJWT=token=>{try{const parts=token.split(\".\");if(parts.length!==3){throw new Error(\"Invalid JWT token format\");}const payload=parts[1];const base64=payload.replace(/-/g,\"+\").replace(/_/g,\"/\");const paddedBase64=base64+\"=\".repeat((4-base64.length%4)%4);const decodedPayload=atob(paddedBase64);return JSON.parse(decodedPayload);}catch(error){console.error(\"Error decoding JWT:\",error);return null;}};const handleCredentialResponse=useCallback(response=>{try{const decodedToken=decodeJWT(response.credential);if(decodedToken){const email=decodedToken.email;const name=decodedToken.name||null;const picture=decodedToken.picture||null;setSignedInEmail(email);setSignedInName(name);setSignedInPicture(picture);setIsLoading(false);setDismissed(false);setIsAutoDetected(false);// Persist for next visit\nsetStoredUser({email,...name?{name}:{},...picture?{picture}:{}});// User explicitly clicked — auto-save after showing success\nsetTimeout(()=>{handleEmailUpdate(email);},1500);}}catch(error){console.error(\"Error decoding JWT:\",error);handleError(\"Could not capture email address\");setIsLoading(false);}},[handleEmailUpdate,handleError]);const handleUseDifferentEmail=()=>{setSignedInEmail(null);setSignedInName(null);setSignedInPicture(null);setDismissed(true);setIsAutoDetected(false);clearStoredUser();if(window.google?.accounts?.id){window.google.accounts.id.disableAutoSelect();}if(handleDismiss){handleDismiss();}};// Initialize GIS and render the hidden button\nconst ensureGoogleReady=useCallback(()=>{if(typeof window===\"undefined\"||!window.google?.accounts?.id){return;}try{window.google.accounts.id.initialize({client_id:GOOGLE_CLIENT_ID,callback:handleCredentialResponse,ux_mode:\"popup\",auto_prompt:false,auto_select:false});if(hiddenButtonRef.current){hiddenButtonRef.current.innerHTML=\"\";window.google.accounts.id.renderButton(hiddenButtonRef.current,{type:\"standard\",theme:\"outline\",size:\"large\",width:300});}}catch(error){console.error(\"Error initializing Google Sign In:\",error);}},[handleCredentialResponse]);const handleGoogleButtonClick=()=>{setIsLoading(true);ensureGoogleReady();setTimeout(()=>{if(hiddenButtonRef.current){const innerButton=hiddenButtonRef.current.querySelector('div[role=\"button\"]');if(innerButton){innerButton.click();return;}const iframe=hiddenButtonRef.current.querySelector(\"iframe\");if(iframe){iframe.click();return;}}setIsLoading(false);},100);setTimeout(()=>setIsLoading(false),3e3);};// Load Google Identity Services script imperatively\nuseEffect(()=>{if(typeof window===\"undefined\")return;// Already loaded\nif(window.google?.accounts?.id){setScriptLoaded(true);return;}// Check if script tag already exists\nconst existing=document.querySelector('script[src=\"https://accounts.google.com/gsi/client\"]');if(existing){existing.addEventListener(\"load\",()=>setScriptLoaded(true));return;}const script=document.createElement(\"script\");script.src=\"https://accounts.google.com/gsi/client\";script.async=true;script.onload=()=>setScriptLoaded(true);script.onerror=()=>console.error(\"Failed to load Google Identity Services\");document.head.appendChild(script);},[]);// On mount: check localStorage for returning user\nuseEffect(()=>{const stored=getStoredUser();if(stored&&stored.email){setSignedInEmail(stored.email);setSignedInName(stored.name||null);setSignedInPicture(stored.picture||null);setIsAutoDetected(true);if(handleAutoDetect){handleAutoDetect(stored.email);}}},[]);// Initialize GIS when script loads\nuseEffect(()=>{if(scriptLoaded){ensureGoogleReady();}},[scriptLoaded,ensureGoogleReady]);// Re-initialize when dismissed changes\nuseEffect(()=>{if(dismissed&&scriptLoaded){ensureGoogleReady();}},[dismissed,scriptLoaded,ensureGoogleReady]);// Hidden button div (always in DOM for Google to render into)\nconst hiddenButtonDiv=/*#__PURE__*/_jsx(\"div\",{ref:hiddenButtonRef,style:{position:\"absolute\",opacity:0,pointerEvents:\"none\",width:0,height:0,overflow:\"hidden\"}});// Auto-detected returning user — show their info + \"use different email\" link\nif(signedInEmail&&isAutoDetected&&!dismissed){return /*#__PURE__*/_jsxs(\"div\",{style:detectedWrapperStyle,children:[hiddenButtonDiv,/*#__PURE__*/_jsx(\"div\",{style:detectedContainerStyle,children:/*#__PURE__*/_jsxs(\"div\",{style:detectedRowStyle,children:[signedInPicture?/*#__PURE__*/_jsx(\"img\",{src:signedInPicture,alt:\"\",style:avatarStyle,referrerPolicy:\"no-referrer\"}):/*#__PURE__*/_jsx(\"div\",{style:avatarFallbackStyle,children:(signedInName||signedInEmail)[0].toUpperCase()}),/*#__PURE__*/_jsxs(\"div\",{style:detectedTextWrapStyle,children:[signedInName&&/*#__PURE__*/_jsx(\"div\",{style:detectedNameStyle,children:signedInName}),/*#__PURE__*/_jsx(\"div\",{style:detectedEmailStyle,children:signedInEmail})]}),/*#__PURE__*/_jsxs(\"svg\",{width:\"18\",height:\"18\",viewBox:\"0 0 18 18\",xmlns:\"http://www.w3.org/2000/svg\",style:{flexShrink:0,opacity:.5},children:[/*#__PURE__*/_jsx(\"path\",{d:\"M17.64 9.2c0-.637-.057-1.251-.164-1.84H9v3.481h4.844a4.14 4.14 0 01-1.796 2.716v2.259h2.908c1.702-1.567 2.684-3.875 2.684-6.615z\",fill:\"#4285F4\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M9 18c2.43 0 4.467-.806 5.956-2.18l-2.908-2.259c-.806.54-1.837.86-3.048.86-2.344 0-4.328-1.584-5.036-3.711H.957v2.332A8.997 8.997 0 009 18z\",fill:\"#34A853\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M3.964 10.71A5.41 5.41 0 013.682 9c0-.593.102-1.17.282-1.71V4.958H.957A8.996 8.996 0 000 9c0 1.452.348 2.827.957 4.042l3.007-2.332z\",fill:\"#FBBC05\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M9 3.58c1.321 0 2.508.454 3.44 1.345l2.582-2.58C13.463.891 11.426 0 9 0A8.997 8.997 0 00.957 4.958L3.964 7.29C4.672 5.163 6.656 3.58 9 3.58z\",fill:\"#EA4335\"})]})]})}),/*#__PURE__*/_jsx(\"a\",{href:\"#\",onClick:e=>{e.preventDefault();handleUseDifferentEmail();},style:useDifferentEmailStyle,children:\"Use a different email\"})]});}// Explicit sign-in success — green confirmation + auto-saving\nif(signedInEmail&&!isAutoDetected&&!dismissed){return /*#__PURE__*/_jsxs(\"div\",{style:successContainerStyle,children:[hiddenButtonDiv,/*#__PURE__*/_jsxs(\"div\",{style:successRowStyle,children:[signedInPicture?/*#__PURE__*/_jsx(\"img\",{src:signedInPicture,alt:\"\",style:avatarStyle,referrerPolicy:\"no-referrer\"}):/*#__PURE__*/_jsx(\"div\",{style:avatarFallbackStyle,children:(signedInName||signedInEmail)[0].toUpperCase()}),/*#__PURE__*/_jsxs(\"div\",{style:detectedTextWrapStyle,children:[signedInName&&/*#__PURE__*/_jsx(\"div\",{style:successNameStyle,children:signedInName}),/*#__PURE__*/_jsx(\"div\",{style:successEmailStyle,children:signedInEmail})]}),/*#__PURE__*/_jsxs(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 20 20\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",style:{flexShrink:0},children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"10\",cy:\"10\",r:\"10\",fill:\"#10B981\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M6 10.5L8.5 13L14 7.5\",stroke:\"white\",strokeWidth:\"1.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})]})]}),/*#__PURE__*/_jsx(\"div\",{style:savingTextStyle,children:\"Saving your design...\"})]});}// Default: show \"Continue with Google\" button\nreturn /*#__PURE__*/_jsxs(_Fragment,{children:[hiddenButtonDiv,/*#__PURE__*/_jsxs(\"button\",{onClick:handleGoogleButtonClick,disabled:isLoading,style:{...buttonStyle,...cssStyle?{...cssStyle}:{},...isLoading?{opacity:.6,cursor:\"not-allowed\"}:{}},onMouseEnter:e=>{if(!isLoading){e.currentTarget.style.backgroundColor=\"#F9FAFB\";e.currentTarget.style.borderColor=\"#9AABB5\";}},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=\"#fff\";e.currentTarget.style.borderColor=\"#ACB7C2\";},\"aria-label\":\"Continue with Google\",children:[/*#__PURE__*/_jsxs(\"svg\",{width:\"18\",height:\"18\",viewBox:\"0 0 18 18\",xmlns:\"http://www.w3.org/2000/svg\",style:{flexShrink:0},children:[/*#__PURE__*/_jsx(\"path\",{d:\"M17.64 9.2c0-.637-.057-1.251-.164-1.84H9v3.481h4.844a4.14 4.14 0 01-1.796 2.716v2.259h2.908c1.702-1.567 2.684-3.875 2.684-6.615z\",fill:\"#4285F4\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M9 18c2.43 0 4.467-.806 5.956-2.18l-2.908-2.259c-.806.54-1.837.86-3.048.86-2.344 0-4.328-1.584-5.036-3.711H.957v2.332A8.997 8.997 0 009 18z\",fill:\"#34A853\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M3.964 10.71A5.41 5.41 0 013.682 9c0-.593.102-1.17.282-1.71V4.958H.957A8.996 8.996 0 000 9c0 1.452.348 2.827.957 4.042l3.007-2.332z\",fill:\"#FBBC05\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M9 3.58c1.321 0 2.508.454 3.44 1.345l2.582-2.58C13.463.891 11.426 0 9 0A8.997 8.997 0 00.957 4.958L3.964 7.29C4.672 5.163 6.656 3.58 9 3.58z\",fill:\"#EA4335\"})]}),isLoading?\"Signing in...\":\"Continue with Google\"]})]});}const buttonStyle={width:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",gap:\"10px\",padding:\"12px 24px\",backgroundColor:\"#fff\",border:\"1px solid #ACB7C2\",borderRadius:\"6px\",fontFamily:'\"Inter\", \"Inter Placeholder\", sans-serif',fontSize:\"14px\",fontWeight:500,color:\"#1F2937\",cursor:\"pointer\",transition:\"background 0.15s, border-color 0.15s\",boxShadow:\"none\"};const detectedWrapperStyle={width:\"100%\",display:\"flex\",flexDirection:\"column\",alignItems:\"center\",gap:\"8px\"};const detectedContainerStyle={width:\"100%\",display:\"flex\",flexDirection:\"column\",gap:\"0px\",padding:\"10px 12px\",backgroundColor:\"#F9FAFB\",border:\"1px solid #E5E7EB\",borderRadius:\"6px\",fontFamily:'\"Inter\", \"Inter Placeholder\", sans-serif'};const detectedRowStyle={display:\"flex\",alignItems:\"center\",gap:\"10px\",width:\"100%\"};const detectedTextWrapStyle={flex:1,minWidth:0,display:\"flex\",flexDirection:\"column\",gap:\"1px\"};const detectedNameStyle={fontSize:\"13px\",fontWeight:500,color:\"#111827\",lineHeight:1.3,overflow:\"hidden\",textOverflow:\"ellipsis\",whiteSpace:\"nowrap\"};const detectedEmailStyle={fontSize:\"12px\",fontWeight:400,color:\"#6B7280\",lineHeight:1.3,overflow:\"hidden\",textOverflow:\"ellipsis\",whiteSpace:\"nowrap\"};const useDifferentEmailStyle={fontSize:\"12px\",fontWeight:400,color:\"#9CA3AF\",fontFamily:'\"Inter\", \"Inter Placeholder\", sans-serif',textDecoration:\"underline\",cursor:\"pointer\",textUnderlineOffset:\"2px\"};const successContainerStyle={width:\"100%\",display:\"flex\",flexDirection:\"column\",gap:\"10px\",padding:\"14px 16px\",backgroundColor:\"#F0FDF4\",border:\"1px solid #BBF7D0\",borderRadius:\"6px\",fontFamily:'\"Inter\", \"Inter Placeholder\", sans-serif'};const successRowStyle={display:\"flex\",alignItems:\"center\",gap:\"10px\",width:\"100%\"};const avatarStyle={width:\"32px\",height:\"32px\",borderRadius:\"50%\",flexShrink:0,objectFit:\"cover\"};const avatarFallbackStyle={width:\"32px\",height:\"32px\",borderRadius:\"50%\",flexShrink:0,backgroundColor:\"#10B981\",color:\"#fff\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",fontSize:\"14px\",fontWeight:600};const successNameStyle={fontSize:\"13px\",fontWeight:500,color:\"#111827\",lineHeight:1.3,overflow:\"hidden\",textOverflow:\"ellipsis\",whiteSpace:\"nowrap\"};const successEmailStyle={fontSize:\"12px\",fontWeight:400,color:\"#6B7280\",lineHeight:1.3,overflow:\"hidden\",textOverflow:\"ellipsis\",whiteSpace:\"nowrap\"};const savingTextStyle={fontSize:\"12px\",fontWeight:400,color:\"#059669\",textAlign:\"center\"};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GoogleButton\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GoogleButton.map","// Sign in with Apple Button for Framer\n// - Uses Apple JS API\n// - Captures email (when available) from ID token\n// - Calls handleEmailUpdate(email) and handleError(message)\n//\n// IMPORTANT:\n// 1. Replace APPLE_CLIENT_ID and APPLE_REDIRECT_URI with your values.\n// 2. Apple requires you to configure Services ID + redirect URL in Apple Developer.\n// 3. Email is only guaranteed on first authorization; subsequent logins may not include it.\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef,useState}from\"react\";const APPLE_CLIENT_ID=\"com.thenightsky.save-design-svc\";const APPLE_REDIRECT_URI=\"https://www.thenightsky.com/redirect\";const APPLE_SCOPE=\"name email\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function AppleButton({handleEmailUpdate,handleError,style:cssStyle}){const buttonRef=useRef(null);const[isDisabled,setIsDisabled]=useState(false);const isInitialized=useRef(false);const decodeJWT=token=>{try{const parts=token.split(\".\");if(parts.length!==3)throw new Error(\"Invalid JWT token format\");const payload=parts[1];const base64=payload.replace(/-/g,\"+\").replace(/_/g,\"/\");const paddedBase64=base64+\"=\".repeat((4-base64.length%4)%4);const decodedPayload=atob(paddedBase64);return JSON.parse(decodedPayload);}catch(error){console.error(\"Error decoding Apple ID JWT:\",error);return null;}};const initApple=()=>{try{if(typeof window===\"undefined\")return;if(!window.AppleID?.auth)return;if(isInitialized.current)return;window.AppleID.auth.init({clientId:APPLE_CLIENT_ID,scope:APPLE_SCOPE,redirectURI:APPLE_REDIRECT_URI,usePopup:true});isInitialized.current=true;}catch(error){console.error(\"Error initializing Sign in with Apple:\",error);handleError(\"Sign in with Apple is not available right now.\");}};const ensureScript=()=>{if(typeof window===\"undefined\")return;const existing=document.querySelector('script[src*=\"appleid.cdn-apple.com/appleauth\"]');if(existing){if(window.AppleID?.auth)initApple();else{existing.addEventListener(\"load\",()=>initApple(),{once:true});}return;}const script=document.createElement(\"script\");script.src=\"https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js\";script.async=true;script.onload=()=>{initApple();};script.onerror=()=>{console.error(\"Failed to load Apple Sign In script\");handleError(\"Failed to load Sign in with Apple.\");};document.body.appendChild(script);};const handleAppleClick=async()=>{try{if(!window.AppleID?.auth){handleError(\"Sign in with Apple is not ready yet.\");return;}const response=await window.AppleID.auth.signIn();const idToken=response?.authorization?.id_token;if(!idToken){handleError(\"No ID token returned from Apple.\");return;}const decoded=decodeJWT(idToken);// Apple may return email in:\n// - response.user.email (first time)\n// - decoded.email (from token claims)\nconst email=response.user?.email||decoded?.email||decoded?.emailAddress||null;if(!email){// Common case on subsequent logins:\n// Apple no longer returns email; you should rely on server-side linking.\nhandleError(\"We could not retrieve your email from Apple. Please try another sign-in option.\");return;}handleEmailUpdate(email);}catch(error){console.error(\"Error during Sign in with Apple:\",error);// Apple errors may have a .error property\nconst message=error?.error===\"popup_closed_by_user\"?\"Sign in with Apple was cancelled.\":\"Sign in with Apple failed. Please try again.\";handleError(message);setIsDisabled(true);}};useEffect(()=>{ensureScript();},[]);return /*#__PURE__*/_jsx(\"div\",{style:{...buttonStyle,...cssStyle?{...cssStyle}:{},...isDisabled?{display:\"none\"}:{}},onMouseEnter:e=>{e.currentTarget.style.boxShadow=\"0 2px 6px rgba(0,0,0,0.16)\";e.currentTarget.style.transform=\"translateY(-1px)\";},onMouseLeave:e=>{e.currentTarget.style.boxShadow=\"0 1px 3px rgba(0,0,0,0.12)\";e.currentTarget.style.transform=\"translateY(0)\";},children:/*#__PURE__*/_jsx(\"button\",{ref:buttonRef,onClick:handleAppleClick,style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:\"38px\",height:\"38px\",cursor:\"pointer\",padding:0,border:\"none\",background:\"none\",boxShadow:\"none\"},\"aria-label\":\"Sign in with Apple\",children:/*#__PURE__*/_jsx(\"svg\",{width:\"22\",height:\"22\",viewBox:\"0 0 24 24\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M16.365 1.43c0 1.14-.417 2.097-1.245 2.948-.9.93-1.984 1.47-3.17 1.386-.05-1.09.442-2.118 1.26-2.93.4-.405.9-.744 1.5-1.005.6-.27 1.17-.42 1.655-.46.02.35.04.69.04 1.06zM21.5 17.24c-.32.74-.7 1.42-1.14 2.05-.6.86-1.09 1.45-1.47 1.78-.59.54-1.22.82-1.9.84-.48 0-1.06-.14-1.75-.43-.69-.28-1.33-.43-1.92-.43-.6 0-1.25.15-1.96.43-.71.29-1.28.44-1.71.45-.65.03-1.3-.26-1.96-.86-.42-.36-.94-.98-1.56-1.86-.67-.93-1.22-2.01-1.65-3.26-.46-1.36-.69-2.68-.69-3.95 0-1.46.32-2.72.96-3.8.5-.85 1.16-1.52 1.98-2 .82-.49 1.7-.75 2.63-.77.52 0 1.2.16 2.02.47.82.31 1.35.47 1.59.47.18 0 .77-.19 1.78-.56.95-.34 1.75-.48 2.4-.43 1.78.14 3.12.85 3.99 2.13-1.59.96-2.38 2.31-2.38 4.04 0 1.35.5 2.48 1.51 3.36.45.4.95.71 1.5.93-.12.34-.25.68-.39 1.02z\",fill:\"#000000\"})})})});}const buttonStyle={display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",width:\"40px\",height:\"40px\",borderRadius:\"5px\",border:\"1px solid #121824\",boxShadow:\"0 1px 3px rgba(0,0,0,0.12)\"};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AppleButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AppleButton.map"],"mappings":"mKAA8Q,SAAS,GAAe,CAAC,GAAG,CAAC,IAAM,EAAI,aAAa,QAAQ,EAAY,CAAqB,OAAhB,EAAuB,KAAK,MAAM,EAAI,CAA3B,UAAkC,CAAC,OAAO,MAAO,SAAS,EAAc,EAAK,CAAC,GAAG,CAAC,aAAa,QAAQ,EAAY,KAAK,UAAU,EAAK,CAAC,MAAO,GACnf,SAAS,GAAiB,CAAC,GAAG,CAAC,aAAa,WAAW,EAAY,MAAO,GAIzE,SAAwB,EAAa,CAAC,oBAAkB,mBAAiB,gBAAc,cAAY,MAAM,GAAU,CA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