PageSourceSearch

https://hsl.co.in/build/assets/Referral-DjzhA_yg.js

js hsl.co.in collected 2026-10-09 22:39:51 UTC 2,338 bytes, 1 lines download raw bytes

1import{r,j as e}from"./app-Mnt2IEGe.js";import{G as c}from"./GuestLayout-BYnLiqFZ.js";import"./ApplicationLogo-JvKRx6b1.js";import"./x-B1Pn9Kmg.js";import"./message-circle-D4MbkUVn.js";import"./phone-DSAsYLtt.js";import"./chevron-down-BlAiga6f.js";import"./user-ad0RTXxq.js";import"./package-CT4joqbC.js";import"./map-pin-BuVEKMGp.js";import"./truck-CpGakV_6.js";import"./shopping-cart-DokKNEt4.js";import"./search-BeXkNHdv.js";import"./clock-Dnho5FNh.js";import"./shield-Da3uiB5y.js";import"./mail-Ce-sk81h.js";function R({referral_code:t}){const[a,l]=r.useState("en"),[n,o]=r.useState("");r.useEffect(()=>{o(`${window.location.origin}/register?ref=${t}`)},[t]);const s=(i,m)=>a==="en"?i:m;return e.jsx(c,{children:e.jsxs("div",{className:"max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 py-10",children:[e.jsxs("div",{className:"flex justify-between items-center mb-4",children:[e.jsx("h1",{className:"text-2xl font-bold",children:s("Refer & Earn","दोस्तों को रेफ़र करें और कमाएँ")}),e.jsxs("select",{value:a,onChange:i=>l(i.target.value),className:"border rounded px-2 py-1 text-sm",children:[e.jsx("option",{value:"en",children:"English"}),e.jsx("option",{value:"hi",children:"हिंदी"})]})]}),e.jsxs("div",{className:"bg-white border rounded-xl p-6 space-y-3",children:[e.jsx("p",{className:"text-gray-700",children:s("Share your code and link below.","अपना कोड और लिंक नीचे शेयर करें।")}),e.jsxs("div",{className:"text-sm text-gray-800",children:[s("Your Code","आपका कोड"),": ",e.jsx("span",{className:"font-mono font-semibold",children:t})]}),e.jsxs("div",{className:"text-sm break-all",children:[s("Your Link","आपका लिंक"),": ",e.jsx("a",{href:n,className:"text-primary underline",children:n})]}),e.jsxs("ul",{className:"list-disc list-inside text-sm text-gray-700",children:[e.jsx("li",{children:s("Friend gets ₹50 wallet credit on registration.","दोस्त को रजिस्ट्रेशन पर ₹50 वॉलेट क्रेडिट मिलेगा।")}),e.jsx("li",{children:s("You get ₹100 after their first order is placed.","उनके पहले ऑर्डर के बाद आपको ₹100 मिलेगा।")})]})]})]})})}export{R as default};

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.