1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,70273,e=>{"use strict";let t=(0,e.i(75254).default)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);e.s(["Star",0,t],70273)},86536,e=>{"use strict";let t=(0,e.i(75254).default)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Eye",0,t],86536)},70756,e=>{"use strict";let t=(0,e.i(75254).default)("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);e.s(["Lock",0,t],70756)},77705,e=>{"use strict";let t=(0,e.i(75254).default)("eye-off",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);e.s(["EyeOff",0,t],77705)},51051,e=>{"use strict";var t=e.i(99683);let r=t.object({email:t.string().trim().required("Email is required.").email("Enter a valid email address."),password:t.string().trim().required("Password is required.").min(6,"Password must be at least 6 characters."),...{consent:t.boolean().oneOf([!0],"You must accept the terms to continue.")}}),s=t.string().required("Full name is required.").test("no-blank","Name cannot be blank spaces.",e=>!!e&&e.trim().length>0).min(2,"Minimum 2 characters.").max(60,"Maximum 60 characters."),a=t.string().trim().required("Email address is required.").test("no-space","Email cannot contain spaces.",e=>!e||!e.includes(" ")).email("Enter a valid email address (e.g. [email protected])."),i=t.string().required("Phone number is required."),n=t.string().required("Password is required.").min(8,"Minimum 8 characters required.").matches(/[A-Z]/,"Must include at least one uppercase letter.").matches(/[0-9]/,"Must include at least one number.").matches(/[^A-Za-z0-9]/,"Must include at least one special character."),l=t.string().required("Please confirm your password.").oneOf([t.ref("password")],"Passwords do not match."),o=t.boolean().oneOf([!0],"You must accept the terms to continue."),c=t.object({type:t.string().required("Please select who you are buying for."),business_name:t.string().when("type",{is:"Business",then:e=>e.required("Business name is required.").test("no-blank","Business name cannot be blank spaces.",e=>!!e&&e.trim().length>0).min(2,"Minimum 2 characters."),otherwise:e=>e.optional()}),name:s,email:a,mobile_number:i,password:n,password_confirmation:l,...{consent:o}}),d=t.object({vendor_type:t.string().required("Please select a type."),name:s,email:a,mobile_number:i,password:n,password_confirmation:l,...{consent:o}}),u=t.object({name:t.string().required("Full name is required.").test("no-blank","Name cannot be blank spaces.",e=>!!e&&e.trim().length>0).min(2,"Minimum 2 characters.").max(60,"Maximum 60 characters."),country_code:t.string().required("Country code is required.").matches(/^\+?[0-9]{1,5}$/,"Enter a valid country code (e.g. +971)."),mobile_number:t.string().required("Mobile number is required."),type:t.string().required("Account type is required."),business_name:t.string().when("type",{is:"Business",then:e=>e.required("Business name is required.").test("no-blank","Business name cannot be blank spaces.",e=>!!e&&e.trim().length>0).min(2,"Minimum 2 characters."),otherwise:e=>e.optional()})}),m=t.object({name:t.string().trim().required("Name is required.").test("no-blank","Name cannot be blank.",e=>!!e&&e.trim().length>0).min(2,"Minimum 2 characters.").max(60,"Maximum 60 characters."),email:t.string().trim().required("Email is required.").email("Enter a valid email address."),phone:t.string().required("Phone number is required."),consent:t.boolean().oneOf([!0],"You must accept the terms to continue.")}),h=t.object({company_name:t.string().trim().max(120,"Maximum 120 characters.").required("Company name is required."),name:t.string().trim().required("Name is required.").test("no-blank","Name cannot be blank spaces.",e=>!!e&&e.trim().length>0).min(2,"Minimum 2 characters.").max(60,"Maximum 60 characters."),email:t.string().trim().required("Email is required.").email("Enter a valid email address."),mobile_number:t.string().required("Cell phone number is required."),country:t.string().required("Country is required."),city:t.string().trim().required("City is required."),nationality:t.string().required("Nationality is required."),gender:t.string().required("Gender is required.")}),g=t.object({old_password:t.string().required("Current password is required.").test("no-blank","Current password cannot be blank.",e=>!!e&&e.trim().length>0),new_password:t.string().required("New password is required.").min(8,"Minimum 8 characters required.").matches(/[A-Z]/,"Must include at least one uppercase letter.").matches(/[0-9]/,"Must include at least one number.").matches(/[^A-Za-z0-9]/,"Must include at least one special character."),new_password_confirmation:t.string().required("Please confirm your new password.").oneOf([t.ref("new_password")],"Passwords does not match.")});e.s(["changePasswordSchema",0,g,"createQuotationSchema",0,h,"guestCheckoutSchema",0,m,"loginSchema",0,r,"registerSchema",0,c,"updateProfileSchema",0,u,"vendorRegisterSchema",0,d])},79049,e=>{"use strict";var t=e.i(28800),r=e.i(64766);let s="horeca_wishlist";async function a(){let e=localStorage.getItem(s);if(!e)return;let a=[];try{a=JSON.parse(e)}catch{localStorage.removeItem(s);return}if(!a?.length)return void localStorage.removeItem(s);let i=a.map(e=>({product_id:e.productId}));try{await (0,t.makeApiRequest)(r.apiUrls.WISHLIST_ADD_MULTIPLE,{method:"POST",data:{products:i}})}catch{}localStorage.removeItem(s)}e.s(["syncGuestWishlistAfterLogin",0,a])},52606,e=>{"use strict";var t=e.i(28800),r=e.i(64766),s=e.i(49924);let a="horeca_cart";async function i(){let e=localStorage.getItem(a);if(!e)return;let i=[];try{i=JSON.parse(e)}catch{localStorage.removeItem(a);return}if(!i?.length)return void localStorage.removeItem(a);let n=(0,s.getLocationData)(),l=n?.country??"",o=i.map(e=>({product_id:e.productId,vendor_id:e.vendorId,quantity:e.quantity,shipping_charge:e.shippingCharge??0,accessory_item_ids:e.accessoryItemIds??[]}));try{await (0,t.makeApiRequest)(r.apiUrls.CART_ADD_MULTIPLE,{method:"POST",data:{country:l,products:o}})}catch{}localStorage.removeItem(a)}e.s(["syncGuestCartAfterLogin",0,i])},93936,e=>{"use strict";var t=e.i(71645);let r=(0,t.createContext)(null),s={large:40,medium:32,small:20};e.s(["GoogleLogin",0,function({onSuccess:e,onError:a,useOneTap:i,promptMomentNotification:n,type:l="standard",theme:o="outline",size:c="large",text:d,shape:u,logo_alignment:m,width:h,click_listener:g,state:p,containerProps:x,login_hint:f,...b}){let y=(0,t.useRef)(null),{clientId:w,locale:v,scriptLoadedSuccessfully:j}=function(){let e=(0,t.useContext)(r);if(!e)throw Error("Google OAuth components must be used within GoogleOAuthProvider");return e}(),N=(0,t.useRef)(e);N.current=e;let k=(0,t.useRef)(a);k.current=a;let q=(0,t.useRef)(n);return q.current=n,(0,t.useEffect)(()=>{var e,t,r,s,a,n,x,S,_;if(j)return null==(r=null==(t=null==(e=null==window?void 0:window.google)?void 0:e.accounts)?void 0:t.id)||r.initialize({client_id:w,callback:e=>{var t,r;if(!(null==e?void 0:e.credential))return null==(t=k.current)?void 0:t.call(k);let{credential:s,select_by:a}=e;N.current({credential:s,clientId:null!=(r=null==e?void 0:e.clientId)?r:null==e?void 0:e.client_id,select_by:a})},login_hint:f,...b}),null==(n=null==(a=null==(s=null==window?void 0:window.google)?void 0:s.accounts)?void 0:a.id)||n.renderButton(y.current,{type:l,theme:o,size:c,text:d,shape:u,logo_alignment:m,width:h,locale:v,click_listener:g,state:p}),i&&(null==(_=null==(S=null==(x=null==window?void 0:window.google)?void 0:x.accounts)?void 0:S.id)||_.prompt(q.current)),()=>{var e,t,r;i&&(null==(r=null==(t=null==(e=null==window?void 0:window.google)?void 0:e.accounts)?void 0:t.id)||r.cancel())}},[w,j,i,l,o,c,d,u,m,h,v,f]),t.default.createElement("div",{...x,ref:y,style:{height:s[c],...null==x?void 0:x.style}})},"GoogleOAuthProvider",0,function({clientId:e,nonce:s,locale:a,onScriptLoadSuccess:i,onScriptLoadError:n,children:l}){let o=function(e={}){let{nonce:r,locale:s,onScriptLoadSuccess:a,onScriptLoadError:i}=e,[n,l]=(0,t.useState)(!1),o=(0,t.useRef)(a);o.current=a;let c=(0,t.useRef)(i);return c.current=i,(0,t.useEffect)(()=>{let e=document.createElement("script");return e.src="https://accounts.google.com/gsi/client",s&&(e.src+=`?hl=${s}`),e.async=!0,e.defer=!0,e.nonce=r,e.onload=()=>{var e;l(!0),null==(e=o.current)||e.call(o)},e.onerror=()=>{var e;l(!1),null==(e=c.current)||e.call(c)},document.body.appendChild(e),()=>{document.body.removeChild(e)}},[r]),n}({nonce:s,onScriptLoadSuccess:i,onScriptLoadError:n,locale:a}),c=(0,t.useMemo)(()=>({locale:a,clientId:e,scriptLoadedSuccessfully:o}),[e,o]);return t.default.createElement(r.Provider,{value:c},l)}])},388,e=>{"use strict";var t=e.i(43476),r=e.i(22016),s=e.i(71645),a=e.i(12497),i=e.i(18566),n=e.i(72520),l=e.i(86536),o=e.i(77705),c=e.i(49685),d=e.i(63488),u=e.i(70756),m=e.i(70273),h=e.i(84614),g=e.i(5949),p=e.i(51051),x=e.i(55487),f=e.i(91852),b=e.i(79049),y=e.i(52606),w=e.i(93936),v=e.i(28800),j=e.i(37028),N=e.i(64766),k=e.i(49924);let q=()=>{try{document.cookie="g_state=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="g_state=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/; domain="+window.location.hostname;let e=window.location.hostname.split(".");if(e.length>2){let t=e.slice(1).join(".");document.cookie="g_state=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/; domain="+t}}catch(e){console.error("Failed to clear Google state cookie",e)}};async function S(){try{let e=await (0,v.makeApiRequest)(N.apiUrls.GET_CUSTOMER_ADDRESS),t=e.data?.f
1ind(e=>e.is_default);t&&(0,k.setDefaultAddressCache)(t)}catch{}}function _(){(0,i.useRouter)();let e=(0,i.useSearchParams)(),k="vendor"===e.get("type"),_=(0,x.useDispatch)(),[P,C]=(0,s.useState)(!1),[A,M]=(0,s.useState)(!1),[E,O]=(0,s.useState)(!1),[I,L]=(0,s.useState)(0),[T,R]=(0,s.useState)("");(0,s.useEffect)(()=>{q()},[]),(0,s.useEffect)(()=>{let t=localStorage.getItem("token");if(!t||k)return;(0,v.setAuthToken)(t);let r=e.get("redirect");(r?.startsWith("/checkout")||r?.startsWith("/payment"))&&window.location.replace(r)},[k,e]);let G=async t=>{if(!t.credential)return void R("Google login failed. No credential received.");O(!0),R("");try{let r=await (0,v.makeApiRequest)(N.apiUrls.GOOGLE_AUTH,{method:"POST",data:{credential:t.credential}});(0,v.setAuthToken)(r.token),localStorage.setItem("user",JSON.stringify(r.user)),_((0,j.setProfile)(r.user));let s=[],a=localStorage.getItem("horeca_wishlist");a&&JSON.parse(a)?.length>0&&s.push((0,b.syncGuestWishlistAfterLogin)());let i=localStorage.getItem("horeca_cart");i&&JSON.parse(i)?.length>0&&s.push((0,y.syncGuestCartAfterLogin)()),s.length>0&&Promise.all(s).catch(e=>console.error("Sync error:",e));let n=e.get("redirect")??(k?"/partner/dashboard":"/");window.location.href=n,S().catch(e=>console.error("Cache address error:",e))}catch{R("Google login failed. Please try again."),O(!1)}},z=(0,a.useFormik)({initialValues:{email:"",password:"",consent:!1},validationSchema:p.loginSchema,validateOnBlur:!0,validateOnChange:!0,onSubmit:async t=>{M(!0),R("");try{await _((0,f.loginUser)({email:t.email.trim(),password:t.password,isVendor:k})).unwrap();let r=e.get("redirect")??(k?"/partner/dashboard":"/");if(window.location.href=r,!k){let e=[],t=localStorage.getItem("horeca_wishlist");t&&JSON.parse(t)?.length>0&&e.push((0,b.syncGuestWishlistAfterLogin)());let r=localStorage.getItem("horeca_cart");r&&JSON.parse(r)?.length>0&&e.push((0,y.syncGuestCartAfterLogin)()),e.length>0&&Promise.all(e).catch(e=>console.error("Sync error:",e)),S().catch(e=>console.error("Cache address error:",e))}}catch(e){R("string"==typeof e?e:e?.message??"Invalid email or password."),M(!1)}}}),B=!!(z.touched.email&&z.errors.email),U=!!(z.touched.password&&z.errors.password);return(0,t.jsx)("div",{className:"min-h-screens md:py-12 py-0 md:bg-gray-50 bg-white flex flex-col",children:(0,t.jsx)("main",{className:"flex-1 flex items-center justify-center py-10 px-4 pt-",children:(0,t.jsxs)("div",{className:"w-full max-w-5xl grid grid-cols-1 lg:grid-cols-2 gap-0 rounded-2xl overflow-hidden shadow-xl border border-gray-100 bg-white",children:[(0,t.jsxs)("div",{className:"hidden lg:flex flex-col justify-between bg-gradient-to-br from-[#186737] via-[#1a7a3f] to-[#0f4d26] p-10 relative overflow-hidden",children:[(0,t.jsx)("div",{className:"absolute inset-0 opacity-5",children:Array.from({length:8}).map((e,r)=>Array.from({length:6}).map((e,s)=>(0,t.jsx)("div",{className:"absolute w-20 h-20 rounded-full border-2 border-white",style:{top:90*r-20,left:110*s-20}},`${r}-${s}`)))}),(0,t.jsxs)("div",{className:"relative z-10",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3 mb-8",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"w-11 h-11 rounded-xl bg-white/20 backdrop-blur flex items-center justify-center",children:(0,t.jsx)(m.Star,{size:22,className:"text-white fill-white"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-white font-black text-lg tracking-tight leading-none",children:"HorecaStore"}),(0,t.jsx)("p",{className:"text-white/60 text-[11px] font-medium mt-0.5",children:"Commercial Kitchen Equipment"})]})]}),k?(0,t.jsxs)(r.default,{href:"/login",className:"flex items-center gap-1.5 bg-white/10 hover:bg-white/20 border border-white/20 rounded-full pl-2.5 pr-3 py-1.5 text-white text-xs font-semibold transition-colors backdrop-blur",children:[(0,t.jsx)(h.User,{size:13}),"Customer Login"]}):(0,t.jsxs)(r.default,{href:"/login?type=vendor",className:"flex items-center gap-1.5 bg-white/10 hover:bg-white/20 border border-white/20 rounded-full pl-2.5 pr-3 py-1.5 text-white text-xs font-semibold transition-colors backdrop-blur group",children:[(0,t.jsx)(c.Handshake,{size:13}),"Partner Login",(0,t.jsx)(n.ArrowRight,{size:11,className:"group-hover:translate-x-0.5 transition-transform"})]})]}),(0,t.jsx)("h2",{className:"text-white text-3xl font-black leading-snug mb-4",children:k?(0,t.jsxs)(t.Fragment,{children:["Welcome, Partner!",(0,t.jsx)("br",{}),(0,t.jsx)("span",{className:"text-white/70 text-2xl font-semibold",children:"Sign in to your vendor account."})]}):(0,t.jsxs)(t.Fragment,{children:["Welcome back!",(0,t.jsx)("br",{}),(0,t.jsx)("span",{className:"text-white/70 text-2xl font-semibold",children:"Sign in to continue."})]})}),(0,t.jsx)("p",{className:"text-white/60 text-sm leading-relaxed max-w-xs",children:k?"Manage your orders, products, payouts, and store profile â all in one place.":"Access your orders, saved items, quotes, and personalized recommendations â all in one place."})]})]}),(0,t.jsxs)("div",{className:"flex flex-col justify-center p-8 sm:p-10",children:[(0,t.jsxs)("div",{className:"flex lg:hidden items-center gap-2 mb-7",children:[(0,t.jsx)("div",{className:"w-8 h-8 rounded-lg bg-[#186737] flex items-center justify-center",children:(0,t.jsx)(m.Star,{size:16,className:"text-white fill-white"})}),(0,t.jsx)("span",{className:"font-black text-[#186737] text-lg tracking-tight",children:"HorecaStore"})]}),(0,t.jsx)("h1",{className:"text-2xl font-black text-gray-900 mb-1",children:k?"Partner Sign In":"Returning Customers"}),(0,t.jsx)("p",{className:"text-sm text-gray-500 mb-7",children:k?"Sign in to access your vendor dashboard.":"Sign in for faster checkout."}),(0,t.jsxs)("form",{onSubmit:z.handleSubmit,noValidate:!0,className:"space-y-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-xs font-semibold text-gray-700 mb-1.5",children:"Email Address"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(d.Mail,{size:15,className:"absolute left-3.5 to
1p-1/2 -translate-y-1/2 text-gray-400"}),(0,t.jsx)("input",{type:"email",name:"email",value:z.values.email,onChange:z.handleChange,onBlur:z.handleBlur,placeholder:"[email protected]",className:`w-full h-11 pl-10 pr-4 rounded-[9px] border text-sm outline-none transition-all placeholder:text-gray-300 bg-white ${B?"border-red-400 focus:ring-2 focus:ring-red-100":"border-gray-200 focus:border-[#186737] focus:ring-2 focus:ring-[#186737]/10"}`})]}),B&&(0,t.jsx)("p",{className:"text-[11px] text-red-500 mt-1",children:z.errors.email})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex items-center justify-between mb-1.5",children:[(0,t.jsx)("label",{className:"text-xs font-semibold text-gray-700",children:"Password"}),(0,t.jsx)(r.default,{href:"/forgot-password",className:"text-xs text-[#186737] hover:underline font-medium",children:"Forgot Password?"})]}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(u.Lock,{size:15,className:"absolute left-3.5 top-1/2 -translate-y-1/2 text-gray-400"}),(0,t.jsx)("input",{type:P?"text":"password",name:"password",value:z.values.password,onChange:z.handleChange,onBlur:z.handleBlur,placeholder:"â¢â¢â¢â¢â¢â¢â¢â¢",className:`w-full h-11 pl-10 pr-11 rounded-[9px] border text-sm outline-none transition-all placeholder:text-gray-300 bg-white ${U?"border-red-400 focus:ring-2 focus:ring-red-100":"border-gray-200 focus:border-[#186737] focus:ring-2 focus:ring-[#186737]/10"}`}),(0,t.jsx)("button",{type:"button",onClick:()=>C(e=>!e),className:"absolute right-3.5 top-1/2 -translate-y-1/2 text-gray-400 hover:text-gray-600 transition-colors",children:P?(0,t.jsx)(o.EyeOff,{size:16}):(0,t.jsx)(l.Eye,{size:16})})]}),U&&(0,t.jsx)("p",{className:"text-[11px] text-red-500 mt-1",children:z.errors.password})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{className:"flex items-start gap-2.5 cursor-pointer group",children:[(0,t.jsxs)("div",{className:"relative mt-0.5 shrink-0",children:[(0,t.jsx)("input",{type:"checkbox",name:"consent",checked:z.values.consent,onChange:z.handleChange,onBlur:z.handleBlur,className:"sr-only peer"}),(0,t.jsx)("div",{className:"w-4 h-4 rounded border-2 border-gray-300 peer-checked:border-[#186737] peer-checked:bg-[#186737] transition-all flex items-center justify-center",children:z.values.consent&&(0,t.jsx)("svg",{width:"9",height:"9",viewBox:"0 0 9 9",fill:"none",children:(0,t.jsx)("path",{d:"M1.5 4.5l2 2L7.5 2",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),(0,t.jsxs)("span",{className:"text-[11px] text-gray-500 leading-relaxed",children:["By submitting this form, you consent to receive promotional offers from Horecastore at the number provided. Consent is not a condition of purchase. Message & data rates may apply. Message frequency varies. Unsubscribe by replying STOP. Reply HELP for help. Phone numbers aren't shared with third parties.",(0,t.jsx)(r.default,{href:"/pages/privacy-policy",className:"text-[#186737] hover:underline",children:"Privacy Policy"})," ","&"," ",(0,t.jsx)(r.default,{href:"/pages/refund-policy",className:"text-[#186737] hover:underline",children:"Terms and Conditions"}),". ."]})]}),z.touched.consent&&z.errors.consent&&(0,t.jsx)("p",{className:"text-[11px] text-red-500 mt-1",children:z.errors.consent})]}),T&&(0,t.jsx)("p",{className:"text-[11px] text-red-500 text-center mb-1",children:T}),(0,t.jsx)("button",{type:"submit",disabled:A,className:"w-full h-11 rounded-[9px] bg-[#186737] hover:bg-[#145c30] disabled:opacity-70 text-white font-bold text-sm flex items-center justify-center gap-2 transition-all duration-200 shadow-sm hover:shadow-md",children:A?(0,t.jsx)(g.default,{}):"Login"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-3 my-5",children:[(0,t.jsx)("div",{className:"flex-1 h-px bg-gray-100"}),(0,t.jsx)("span",{className:"text-xs text-gray-400 font-medium",children:"Or"}),(0,t.jsx)("div",{className:"flex-1 h-px bg-gray-100"})]}),(0,t.jsx)("div",{className:"w-full flex justify-center min-h-[40px]",children:E?(0,t.jsx)("div",{className:"w-full h-10 border border-gray-200 rounded-[9px] flex items-center justify-center bg-[#186737]",children:(0,t.jsx)(g.default,{})}):(0,t.jsx)("div",{className:"w-full flex justify-center [&>div]:!w-full [&_iframe]:!w-full [&_iframe]:!min-w-full",children:(0,t.jsx)(w.GoogleLogin,{onSuccess:G,onError:()=>
1{R("Google login failed. Please try again."),q(),L(e=>e+1)},theme:"outline",size:"large",shape:"rectangular",width:"100%"},I)})}),(0,t.jsxs)("p",{className:"text-center text-xs text-gray-500 mt-6",children:["Don't have an account?"," ",(0,t.jsx)(r.default,{href:k?"/register?type=vendor":"/register",className:"text-[#186737] font-semibold hover:underline",children:"Register now"})]})]})]})})})}e.s(["cacheDefaultAddress",0,S,"default",0,function(){return(0,t.jsx)(w.GoogleOAuthProvider,{clientId:"96165540519-5abr44463l214dog6teceibk8nmqlfm1.apps.googleusercontent.com",children:(0,t.jsx)(_,{})})}])}]);
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.