PageSourceSearch

https://www.foodexpoconnect.com/_next/static/chunks/c9c927941623c015.js?dpl=dpl_B42igc8hMD4LnMhEzmF1CKPBaq9e

js foodexpoconnect.com collected 2026-10-04 04:53:11 UTC 6,715 bytes, 5 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="f35273a7-2a0f-c72a-1980-547b593577cf")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,618566,(e,s,t)=>{s.exports=e.r(976562)},907206,e=>{"use strict";var s=e.i(843476),t=e.i(271645),i=e.i(253210),l=e.i(618566);function r(){let e=(0,l.useSearchParams)();e?.get("redirect");let[r,n]=(0,t.useState)(""),[a,o]=(0,t.useState)(!1),[c,d]=(0,t.useState)(null),[u,h]=(0,t.useState)(null),[x,m]=(0,t.useState)(!1);async function f(e){if(e.preventDefault(),!x)return void h("Please agree to the Terms and Privacy Policy");o(!0),h(null),d(null);try{let e=window.location.origin,{error:s}=await i.supabase.auth.signInWithOtp({email:r,options:{emailRedirectTo:`${e}/auth/callback`}});if(s)throw s;d("Check your email to complete sign up.")}catch(e){h(e?.message||"Failed to send sign-up link")}finally{o(!1)}}async function g(){o(!0),h(null);try{let e=window.location.origin,{data:s,error:t}=await i.supabase.auth.signInWithOAuth({provider:"google",options:{redirectTo:`${e}/auth/callback`}});if(t)throw t;s?.url&&(window.location.href=s.url)}catch(e){h(e?.message||"Google sign-up failed"),o(!1)}}return(0,s.jsxs)("div",{className:"min-h-screen bg-cream flex flex-col",children:[(0,s.jsxs)("header",{className:"w-full px-6 py-4 flex items-center justify-between",children:[(0,s.jsxs)("a",{href:"/",className:"inline-flex items-center gap-2 text-[#134734] hover:text-[#0f3b2b] transition-colors group",children:[(0,s.jsx)("svg",{className:"w-5 h-5 transform group-hover:-translate-x-1 transition-transform",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10 19l-7-7m0 0l7-7m-7 7h18"})}),(0,s.jsx)("span",{className:"font-medium",children:"Back to Home"})]}),(0,s.jsxs)("a",{href:"/signin",className:"text-sm text-[#134734]/70 hover:text-[#134734] transition-colors",children:["Already have an account?"," ",(0,s.jsx)("span",{className:"font-semibold underline",children:"Sign in"})]})]}),(0,s.jsx)("main",{className:"flex-1 flex items-center justify-center p-6",children:(0,s.jsxs)("div",{className:"w-full max-w-md bg-white border border-[#134734]/10 rounded-2xl p-8 shadow-lg",children:[(0,s.jsxs)("div",{className:"text-center mb-6",children:[(0,s.jsx)("div",{className:"inline-flex items-center justify-center w-24 h-24 mb-4",children:(0,s.jsx)("img",{src:"/media/Favicon.png",alt:"FoodExpoConnect Logo",className:"w-full h-full object-contain"})}),(0,s.jsx)("h1",{className:"text-3xl font-bold mb-2 text-[#134734]",children:"Get Started"}),(0,s.jsx)("p",{className:"text-sm text-[#134734]/70",children:"Start with the Free plan, upgrade anytime"})]}),c&&(0,s.jsx)("div",{className:"mb-4 text-sm text-green-700 bg-green-50 border border-green-200 rounded-lg p-3",children:c}),u&&(0,s.jsx)("div",{className:"mb-4 text-sm text-red-700 bg-red-50 border border-red-200 rounded-lg p-3",children:u}),(0,s.jsxs)("form",{onSubmit:f,className:"space-y-4",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"block text-sm font-medium text-[#134734] mb-1",children:"Email"}),(0,s.jsx)("input",{type:"email",required:!0,value:r,onChange:e=>n(e.target.value),className:"w-full h-11 rounded-xl border border-[#134734]/20 px-3 focus:outline-none focus:ring-2 focus:ring-[#134734]"})]}),(0,s.jsxs)("label",{className:"flex items-start gap-2 text-xs text-[#134734]/70",children:[(0,s.jsx)("input",{type:"checkbox",checked:x,onChange:e=>m(e.target.checked)}),(0,s.jsxs)("span",{children:["I agree to the"," ",(0,s.jsx)("a",{href:"/legal/terms",className:"underline",children:"Terms"})," ","and",(0,s.jsx)("a",{href:"/legal/privacy",className:"underline ml-1",children:"Privacy Policy"}),"."]})]}),(0,s.jsx)("button",{type:"submit",disabled:a,className:"w-full inline-flex items-center justify-center h-11 font-semibold rounded-full bg-[#134734] text-white transition-all duration-300 hover:bg-[#0f3b2b] hover:shadow-md disabled:opacity-60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#134734] focus-visible:ring-offset-2 focus-visible:ring-offset-cream",children:a?"Sending…":"Send Sign-up Link"})]}),(0,s.jsx)("div",{className:"my-6 text-center text-sm text-[#134734]/60",children:"or"}),(0,s.jsxs)("button",{onClick:g,disabled:a,className:"w-full inline-flex items-center justify-center gap-2 h-11 font-semibold rounded-full border border-[#134734]/20 text-[#134734] transition-all duration-300 hover:border-[#134734]/40 hover:bg-[#134734]/5 disabled:opacity-60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#134734] focus-visible:ring-offset-2 focus-visible:ring-offset-cream",children:[(0,s.jsxs)("svg",{className:"w-5 h-5",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z",fill:"#4285F4"}),(0,s.jsx)("path",{d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z",fill:"#34A853"}),(0,s.jsx)("path",{d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z",fill:"#FBBC05"}),(0,s.jsx)("path",{d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z",fill:"#EA4335"})]}),"Continue with Google"]}),(0,s.jsx)("div",{className:"mt-8 pt-6 border-t border-[#134734]/10",children:(0,s.jsxs)("p",{className:"text-xs text-center text-[#134734]/60",children:["By signing up, you agree to our"," ",(0,s.jsx)("a",{href:"/terms",className:"underline hover:text-[#134734]",children:"Terms of Service"})," ","and"," ",(0,s.jsx)("a",{href:"/privacy",className:"underline hover:text-[#134734]",children:"Privacy Policy"})]})})]})}),(0,s.jsx)("footer",{className:"w-full px-6 py-4 text-center",children:(0,s.jsxs)("p",{className:"text-xs text-[#134734]/50",children:["© ",new Date().getFullYear()," FoodExpoConnect — a brand of Codenutri Ltd · Company No. 17062603. All rights reserved."]})})]})}function n(){return(0,s.jsx)(t.Suspense,{fallback:(0,s.jsx)("div",{className:"min-h-screen flex items-center justify-center",children:"Loading..."}),children:(0,s.jsx)(r,{})})}e.s(["default",()=>n])}]);
3
4//# debugId=f35273a7-2a0f-c72a-1980-547b593577cf
5//# sourceMappingURL=866814766fa0665e.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.