{"version":3,"file":"SplitPayment.BJsUNUtR.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","sharedStyle.className","className","sharedStyle.css","sharedStyle.fonts","React.useState","__esmMin","init_npm_react_18_3_1","x","oe","pe","de","ie","window","J","c","p","ce","_e","init_ssg_sandbox_shims","MotionConfigContext","LayoutGroup","init_framer_motion_DhsWWWsN","motion","useVariantState","cx","addFonts","addPropertyControls","withCSS","getFontsFromSharedStyle","init_framer_DDfsYcI0","Link","useLocaleInfo","useComponentViewport","RichText","ControlType","className","css$1","init_JEUII3jTS","fonts","serializationHash","variantClassNames","transition1","transformTemplate1","animation","Transition","Variants","getProps","createLayoutDependency","Component","css","Frameroe2WeDGqE","init_oe2WeDGqE","init_jsx_runtime","config","transition","value","contextValue","props","variants","fallbackRef","refBinding","ref","defaultLayoutId","className$1","restProps","layoutDependency","scopingClassNames","layoutId","gestureHandlers","classNames","style","useProgram","program","setProgram","fallback","PROGRAMS","go","url","SplitPaymentFlow","email","setEmail","status","setStatus","loading","setLoading","isMobile","setIsMobile","handleResize","call","API","action","checkStudent","data","payRemaining","mode","buttonStyle","newStudentLink","existingStudentLink","init_SplitPayment"],"sources":["https:/framerusercontent.com/modules/6HDuPmMicMLrCl1dwfGd/LTxcQqWCaBBLRCycSBjS/oe2WeDGqE.js","https:/framerusercontent.com/modules/lVpcQkA8AM8h8uJXmL4n/cqWC3JUqA5CjdrU8hOuV/SplitPayment.js"],"sourcesContent":["// Generated by Framer (1067533)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,cx,getFontsFromSharedStyle,Link,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import*as sharedStyle from\"https://framerusercontent.com/modules/nfvzfCgKEva6d8oPG3AQ/gTTVy2B60TivEjgfxcdI/JEUII3jTS.js\";const serializationHash=\"framer-f0SBp\";const variantClassNames={AM7USnIc8:\"framer-v-1601w6d\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const transformTemplate1=(_,t)=>`translateX(-50%) ${t}`;const transition2={bounce:.25,delay:0,duration:.45,type:\"spring\"};const animation={opacity:1,rotate:0,rotateX:0,rotateY:0,scale:1.02,skewX:0,skewY:0,transition:transition2};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const getProps=({height,id,width,...props})=>{return{...props};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"AM7USnIc8\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[sharedStyle.className];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1601w6d\",className,classNames),\"data-border\":true,\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"AM7USnIc8\",ref:refBinding,style:{\"--border-bottom-width\":\"1px\",\"--border-color\":\"var(--token-814fe1b3-b763-40f8-a83f-9d6a6e009ca6, rgb(255, 255, 255))\",\"--border-left-width\":\"1px\",\"--border-right-width\":\"1px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1px\",backgroundColor:\"rgb(111, 192, 143)\",borderBottomLeftRadius:40,borderBottomRightRadius:40,borderTopLeftRadius:40,borderTopRightRadius:40,boxShadow:\"0px 1px 5px 0px rgba(0, 0, 0, 0.25)\",...style},children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsxs(React.Fragment,{children:[/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"SW50ZXItTWVkaXVt\",\"--framer-font-size\":\"20px\",\"--framer-font-weight\":\"500\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:\"Please select anyone option mentioned below to \"}),/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"SW50ZXItTWVkaXVt\",\"--framer-font-size\":\"20px\",\"--framer-font-weight\":\"500\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-2gxw0f, rgb(255, 255, 255))\"},children:\"proceed further!\"})]}),className:\"framer-s9b8wi\",\"data-framer-name\":\"Button\",fonts:[\"Inter-Medium\"],layoutDependency:layoutDependency,layoutId:\"WD4HbX6pN\",style:{\"--extracted-2gxw0f\":\"rgb(255, 255, 255)\",\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},transformTemplate:transformTemplate1,verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(Link,{href:{webPageId:\"augiA20Il\"},motionChild:true,nodeId:\"Y5b3T8cx6\",openInNewTab:false,scopeId:\"oe2WeDGqE\",children:/*#__PURE__*/_jsxs(motion.a,{className:\"framer-v8e47b framer-1adbu3b\",\"data-border\":true,\"data-framer-name\":\"Button Content\",layoutDependency:layoutDependency,layoutId:\"Y5b3T8cx6\",style:{\"--border-bottom-width\":\"1px\",\"--border-color\":\"var(--token-3780689f-8242-4039-a78f-f2f587967c29, rgb(101, 187, 136))\",\"--border-left-width\":\"1px\",\"--border-right-width\":\"1px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1px\",background:\"linear-gradient(180deg, var(--token-f5a7c943-8b36-46e3-a5c4-ec7830a70866, rgb(250, 250, 250)) 0%, var(--token-314098fb-1adb-4237-b36a-f6d28a951e39, rgb(242, 242, 242)) 100%)\",borderBottomLeftRadius:32,borderBottomRightRadius:32,borderTopLeftRadius:32,borderTopRightRadius:32,boxShadow:\"0px 0px 20px 0px rgba(0, 0, 0, 0)\"},transformTemplate:transformTemplate1,whileHover:animation,children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"SW50ZXItQm9sZA==\",\"--framer-font-weight\":\"700\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-3780689f-8242-4039-a78f-f2f587967c29, rgb(5, 5, 5)))\"},children:/*#__PURE__*/_jsx(Link,{href:{webPageId:\"augiA20Il\"},motionChild:true,nodeId:\"KKsgGOMS6\",openInNewTab:false,relValues:[],scopeId:\"oe2WeDGqE\",smoothScroll:false,children:/*#__PURE__*/_jsx(motion.a,{className:\"framer-styles-preset-1y9xooo\",\"data-styles-preset\":\"JEUII3jTS\",children:\"Go to Home Page\"})})})}),className:\"framer-15xdun\",\"data-framer-name\":\"Button\",fonts:[\"Inter-Bold\"],layoutDependency:layoutDependency,layoutId:\"KKsgGOMS6\",style:{\"--extracted-r6o4lv\":\"var(--token-3780689f-8242-4039-a78f-f2f587967c29, rgb(5, 5, 5))\"},verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-1b9ba8v\",\"data-framer-name\":\"Blured Element\",layoutDependency:layoutDependency,layoutId:\"kKV2pGbvX\",style:{backgroundColor:\"var(--token-b60e0af5-5037-42c5-a731-92bc6f51f934, rgb(179, 179, 179))\",filter:\"blur(5px)\",opacity:.07,WebkitFilter:\"blur(5px)\"}})]})})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-f0SBp.framer-1adbu3b, .framer-f0SBp .framer-1adbu3b { display: block; }\",\".framer-f0SBp.framer-1601w6d { height: 355px; overflow: var(--overflow-clip-fallback, clip); position: relative; width: 668px; will-change: var(--framer-will-change-override, transform); }\",\".framer-f0SBp .framer-s9b8wi { flex: none; height: auto; left: 50%; position: absolute; top: 53px; white-space: pre; width: auto; }\",\".framer-f0SBp .framer-v8e47b { align-content: center; align-items: center; bottom: 59px; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 0px; height: 52px; justify-content: center; left: 50%; overflow: hidden; padding: 0px 61px 0px 61px; position: absolute; text-decoration: none; width: min-content; will-change: var(--framer-will-change-effect-override, transform); }\",\".framer-f0SBp .framer-15xdun { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-f0SBp .framer-1b9ba8v { flex: none; height: 36px; left: 0px; overflow: hidden; position: absolute; right: 0px; top: -36px; z-index: 1; }\",...sharedStyle.css,'.framer-f0SBp[data-border=\"true\"]::after, .framer-f0SBp [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; corner-shape: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 355\n * @framerIntrinsicWidth 668\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const Frameroe2WeDGqE=withCSS(Component,css,\"framer-f0SBp\");export default Frameroe2WeDGqE;Frameroe2WeDGqE.displayName=\"Registration\";Frameroe2WeDGqE.defaultProps={height:355,width:668};addFonts(Frameroe2WeDGqE,[{explicitInter:true,fonts:[{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/5A3Ce6C9YYmCjpQx9M4inSaKU.woff2\",weight:\"500\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/Qx95Xyt0Ka3SGhinnbXIGpEIyP4.woff2\",weight:\"500\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/6mJuEAguuIuMog10gGvH5d3cl8.woff2\",weight:\"500\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/xYYWaj7wCU5zSQH0eXvSaS19wo.woff2\",weight:\"500\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/otTaNuNpVK4RbdlT7zDDdKvQBA.woff2\",weight:\"500\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/UjlFhCnUjxhNfep4oYBPqnEssyo.woff2\",weight:\"500\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/DolVirEGb34pEXEp8t8FQBSK4.woff2\",weight:\"500\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/DpPBYI0sL4fYLgAkX8KXOPVt7c.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/4RAEQdEOrcnDkhHiiCbJOw92Lk.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/1K3W8DizY3v4emK8Mb08YHxTbs.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/tUSCtfYVM1I1IchuyCwz9gDdQ.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/VgYFWiwsAC5OYxAycRXXvhze58.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/syRNPWzAMIrcJ3wIlPIP43KjQs.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/GIryZETIX4IFypco5pYZONKhJIo.woff2\",weight:\"700\"}]},...getFontsFromSharedStyle(sharedStyle.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Frameroe2WeDGqE\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"355\",\"framerIntrinsicWidth\":\"668\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerColorSyntax\":\"true\",\"framerImmutableVariables\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerDisplayContentsDiv\":\"false\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./oe2WeDGqE.map","// import * as React from \"react\"\n// export function SplitPaymentFlow() {\n//     const [step] = React.useState(\"select\")\n//     const [email, setEmail] = React.useState(\"\")\n//     const [status, setStatus] = React.useState(null)\n//     const [isMobile, setIsMobile] = React.useState(false)\n//     React.useEffect(() => {\n//         const handleResize = () => {\n//             setIsMobile(window.innerWidth < 600)\n//         }\n//         handleResize()\n//         window.addEventListener(\"resize\", handleResize)\n//         return () => window.removeEventListener(\"resize\", handleResize)\n//     }, [])\n//     // 🔵 Check existing student\n//     const checkStudent = async () => {\n//         const res = await fetch(\n//             \"https://dbeukbackend-hx6n.onrender.com/api/split/student/check-status\",\n//             {\n//                 method: \"POST\",\n//                 headers: { \"Content-Type\": \"application/json\" },\n//                 body: JSON.stringify({ email }),\n//             }\n//         )\n//         const data = await res.json()\n//         if (data.error) {\n//             alert(data.error)\n//             return\n//         }\n//         setStatus(data.student)\n//         if (data.student.status === \"paid\") {\n//             alert(\"Already fully paid\")\n//         }\n//     }\n//     // 🔵 Pay remaining\n//     const payRemaining = async () => {\n//         const res = await fetch(\n//             \"https://dbeukbackend-hx6n.onrender.com/api/split/student/pay-remaining\",\n//             {\n//                 method: \"POST\",\n//                 headers: { \"Content-Type\": \"application/json\" },\n//                 body: JSON.stringify({ email }),\n//             }\n//         )\n//         const data = await res.json()\n//         window.top.location.href = data.checkoutUrl\n//     }\n//     // 🧩 UI SWITCHING\n//     if (step === \"select\") {\n//         return (\n//             <div\n//                 style={{\n//                     display: \"flex\",\n//                     flexDirection: isMobile ? \"column\" : \"row\",\n//                     gap: 16,\n//                     alignItems: \"center\",\n//                     width: \"100%\",\n//                 }}\n//             >\n//                 <button\n//                     style={{\n//                         padding: \"14px 22px\",\n//                         borderRadius: \"999px\",\n//                         border: \"2px solid #65BB88\",\n//                         backgroundColor: \"#ffffff\",\n//                         color: \"#65BB88\",\n//                         fontWeight: 700,\n//                         fontSize: \"16px\",\n//                         cursor: \"pointer\",\n//                         whiteSpace: \"nowrap\",\n//                     }}\n//                     onClick={() => {\n//                         window.location.assign(\"/registration-page\")\n//                     }}\n//                 >\n//                     New Student\n//                 </button>\n//                 <button\n//                     style={{\n//                         padding: \"14px 22px\",\n//                         borderRadius: \"999px\",\n//                         border: \"2px solid #65BB88\",\n//                         backgroundColor: \"#ffffff\",\n//                         color: \"#65BB88\",\n//                         fontWeight: 700,\n//                         fontSize: \"16px\",\n//                         cursor: \"pointer\",\n//                         whiteSpace: \"nowrap\",\n//                     }}\n//                     onClick={() => {\n//                         window.top.location.href = \"/existing-student\"\n//                     }}\n//                 >\n//                     Existing Student\n//                 </button>\n//             </div>\n//         )\n//     }\n//     if (step === \"existing\") {\n//         window.location.href = \"/existing-student\"\n//     }\n//     return (\n//         <div style={{ display: \"flex\", flexDirection: \"column\", gap: 12 }}>\n//             <input\n//                 placeholder=\"Enter your email\"\n//                 value={email}\n//                 onChange={(e) => setEmail(e.target.value)}\n//                 style={{\n//                     padding: \"14px 18px\",\n//                     border: \"2px solid #65BB88\",\n//                     borderRadius: \"0px\",\n//                     backgroundColor: \"#ffffff\",\n//                     color: \"#1f2937\",\n//                     fontSize: \"16px\",\n//                     fontWeight: 500,\n//                     outline: \"none\",\n//                     width: \"100%\",\n//                     boxSizing: \"border-box\",\n//                 }}\n//             />\n//             <button\n//                 style={{\n//                     padding: \"14px 22px\",\n//                     borderRadius: \"999px\",\n//                     border: \"2px solid #65BB88\",\n//                     backgroundColor: \"#ffffff\",\n//                     color: \"#65BB88\",\n//                     fontWeight: 700,\n//                     fontSize: \"16px\",\n//                     cursor: \"pointer\",\n//                 }}\n//                 onClick={checkStudent}\n//             >\n//                 Check Status\n//             </button>\n//             {/* 🔴 PENDING CASE */}\n//             {status && status.status === \"pending\" && (\n//                 <div>\n//                     <h2 style={{ color: \"#b45309\" }}>\n//                         You haven’t completed your first payment yet.\n//                     </h2>\n//                     <button\n//                         style={{\n//                             padding: \"14px 22px\",\n//                             borderRadius: \"999px\",\n//                             border: \"2px solid #65BB88\",\n//                             backgroundColor: \"#ffffff\",\n//                             color: \"#65BB88\",\n//                             fontWeight: 700,\n//                             fontSize: \"16px\",\n//                             cursor: \"pointer\",\n//                         }}\n//                         onClick={payRemaining}\n//                     >\n//                         Complete First Payment\n//                     </button>\n//                 </div>\n//             )}\n//             {/* 🟡 PARTIAL CASE */}\n//             {status && status.status === \"partial\" && (\n//                 <div>\n//                     <h2 style={{ color: \"#065f46\" }}>\n//                         First payment done. Complete remaining payment.\n//                     </h2>\n//                     <button\n//                         style={{\n//                             padding: \"14px 22px\",\n//                             borderRadius: \"999px\",\n//                             border: \"2px solid #65BB88\",\n//                             backgroundColor: \"#ffffff\",\n//                             color: \"#65BB88\",\n//                             fontWeight: 700,\n//                             fontSize: \"16px\",\n//                             cursor: \"pointer\",\n//                         }}\n//                         onClick={payRemaining}\n//                     >\n//                         Pay Remaining 50%\n//                     </button>\n//                 </div>\n//             )}\n//             {/* 🟢 PAID CASE */}\n//             {status && status.status === \"paid\" && (\n//                 <h2 style={{ color: \"#065f46\", fontWeight: 600 }}>\n//                     ✅ Payment already completed\n//                 </h2>\n//             )}\n//         </div>\n//     )\n// }\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";const API=\"https://dbeukbackend-hx6n.onrender.com/api/split\";const PROGRAMS=[\"usa\",\"summer-camp\"];function useProgram(fallback){const[program,setProgram]=React.useState(fallback);React.useEffect(()=>{const p=new URLSearchParams(window.location.search).get(\"program\");if(PROGRAMS.includes(p))setProgram(p);else setProgram(fallback);},[fallback]);return program;}function go(url){window.location.assign(url);}const buttonStyle={padding:\"14px 22px\",borderRadius:\"999px\",border:\"2px solid #65BB88\",backgroundColor:\"#ffffff\",color:\"#65BB88\",fontWeight:700,fontSize:\"16px\",cursor:\"pointer\",whiteSpace:\"nowrap\"};export function SplitPaymentFlow(props){const{mode,newStudentLink,existingStudentLink}=props;const program=useProgram(props.program);const[email,setEmail]=React.useState(\"\");const[status,setStatus]=React.useState(null);const[loading,setLoading]=React.useState(false);const[isMobile,setIsMobile]=React.useState(false);React.useEffect(()=>{const handleResize=()=>setIsMobile(window.innerWidth<600);handleResize();window.addEventListener(\"resize\",handleResize);return()=>window.removeEventListener(\"resize\",handleResize);},[]);// One helper for every backend call: /api/split/<program>/<action>\nconst call=async action=>{const res=await fetch(`${API}/${program}/${action}`,{method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify({email})});return res.json();};const checkStudent=async()=>{if(!email)return alert(\"Please enter your email\");setLoading(true);try{const data=await call(\"check-status\");if(data.error){setStatus(null);return alert(data.error);}setStatus(data.student);}catch(e){alert(\"Something went wrong. Please try again.\");}finally{setLoading(false);}};const payRemaining=async()=>{setLoading(true);try{const data=await call(\"pay-remaining\");if(data.error)return alert(data.error);window.top.location.href=data.checkoutUrl;}catch(e){alert(\"Something went wrong. Please try again.\");}finally{setLoading(false);}};// ── MODE 1: New Student / Existing Student buttons ───────────────────────\nif(mode===\"select\"){return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:isMobile?\"column\":\"row\",gap:16,alignItems:\"center\",width:\"100%\"},children:[/*#__PURE__*/_jsx(\"button\",{style:buttonStyle,onClick:()=>go(`${newStudentLink}?program=${program}`),children:\"New Student\"}),/*#__PURE__*/_jsx(\"button\",{style:buttonStyle,onClick:()=>go(`${existingStudentLink}?program=${program}`),children:\"Existing Student\"})]});}// ── MODE 2: Existing student — check status / pay ────────────────────────\nreturn /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:12},children:[/*#__PURE__*/_jsx(\"input\",{placeholder:\"Enter your email\",value:email,onChange:e=>setEmail(e.target.value),style:{padding:\"14px 18px\",border:\"2px solid #65BB88\",borderRadius:0,backgroundColor:\"#ffffff\",color:\"#1f2937\",fontSize:\"16px\",fontWeight:500,outline:\"none\",width:\"100%\",boxSizing:\"border-box\"}}),/*#__PURE__*/_jsx(\"button\",{style:buttonStyle,onClick:checkStudent,disabled:loading,children:loading?\"Please wait...\":\"Check Status\"}),status?.status===\"pending\"&&/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"h2\",{style:{color:\"#b45309\"},children:\"You haven’t completed your first payment yet.\"}),/*#__PURE__*/_jsx(\"button\",{style:buttonStyle,onClick:payRemaining,disabled:loading,children:\"Complete First Payment\"})]}),status?.status===\"partial\"&&/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"h2\",{style:{color:\"#065f46\"},children:\"First payment done. Complete remaining payment.\"}),/*#__PURE__*/_jsx(\"button\",{style:buttonStyle,onClick:payRemaining,disabled:loading,children:\"Pay Remaining 50%\"})]}),status?.status===\"paid\"&&/*#__PURE__*/_jsx(\"h2\",{style:{color:\"#065f46\",fontWeight:600},children:\"✅ Payment already completed\"})]});}SplitPaymentFlow.defaultProps={program:\"usa\",mode:\"select\",newStudentLink:\"/registration-page\",existingStudentLink:\"/existing-student\"};addPropertyControls(SplitPaymentFlow,{program:{type:ControlType.Enum,title:\"Program\",options:[\"usa\",\"summer-camp\"],optionTitles:[\"USA Tour\",\"Summer Camp\"]},mode:{type:ControlType.Enum,title:\"Mode\",options:[\"select\",\"status\"],optionTitles:[\"Choose (New / Existing)\",\"Check Status\"]},newStudentLink:{type:ControlType.String,title:\"New Student Link\",hidden:p=>p.mode!==\"select\"},existingStudentLink:{type:ControlType.String,title:\"Existing Link\",hidden:p=>p.mode!==\"select\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"SplitPaymentFlow\":{\"type\":\"reactComponent\",\"name\":\"SplitPaymentFlow\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SplitPayment.map"],"mappings":"A,2fACib,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,EAA+L,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,QAAQ,EAAQ,GAAoB,EAAE,IAAI,oBAAoB,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