1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1672],{10238:(e,t,l)=>{l.d(t,{A:()=>a});let a=(0,l(19946).A)("gift",[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]])},36790:(e,t,l)=>{l.d(t,{A:()=>s});var a=l(34540);function s(){return(0,a.d4)(e=>{var t,l,a;return(null==(l=null==e||null==(t=e.cashback)?void 0:t.featureConfig)||null==(a=l.ui_visibility)?void 0:a.show_coins)===!0})}},43332:(e,t,l)=>{l.d(t,{A:()=>a});let a=(0,l(19946).A)("tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]])},54416:(e,t,l)=>{l.d(t,{A:()=>a});let a=(0,l(19946).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},61672:(e,t,l)=>{l.r(t),l.d(t,{LoginPromptPopup:()=>N,default:()=>A});var a=l(95155),s=l(12115),r=l(43332),o=l(93550);let i=(0,l(19946).A)("percent",[["line",{x1:"19",x2:"5",y1:"5",y2:"19",key:"1x9vlm"}],["circle",{cx:"6.5",cy:"6.5",r:"2.5",key:"4mh3h7"}],["circle",{cx:"17.5",cy:"17.5",r:"2.5",key:"1mdrzq"}]]);var n=l(10238),c=l(54416),d=l(36790),m=l(35695),u=l(12108),g=l(22902),x=l(13568),h=l(63918),p=l(94927);let y="#0A1730",f="#1E4FD8",b="#E0B43A",v="#7B8496",k=["/login","/create-account","/forgot-password","/verify-email","/email-sent","/email-verified","/merchant","/profile","/subscription/checkout","/saved-offers","/indevelopment","/ps5","/mx4u","/quiz","/giveaway","/design-review","/voucher","/membership-offer","/mx4u-a","/mx4u-b","/mx4u-c","/mx4u-d"],w="gx_login_prompt_dismissed",j=e=>[{Icon:r.A,text:"Member-only offers at stores near you"},e?{Icon:o.A,text:"X-Coins back on every spend"}:{Icon:i,text:"Member savings at trusted brands"},{Icon:n.A,text:"Free quiz entry to the monthly giveaways"}],N=()=>{let[e,t]=(0,s.useState)(!1),[l,r]=(0,s.useState)(!1),[o,i]=(0,s.useState)(!1),[n,N]=(0,s.useState)(!1),[A,I]=(0,s.use
1State)(!1),_=(0,m.usePathname)(),C=(0,d.A)(),S=()=>!!localStorage.getItem("GiveX_User"),M=()=>"/"===_||"/v4"===_||"/v4/"===_||k.some(e=>_===e||(null==_?void 0:_.startsWith(e+"/"))),z=()=>window.location.hostname.startsWith("partner."),E=()=>{let e=Number(localStorage.getItem(w));return!!e&&Date.now()-e<6048e5},P=()=>S()||M()||z()||E(),T=()=>{t(!1),i(!1),N(!0);try{localStorage.setItem(w,String(Date.now()))}catch(e){}};(0,s.useEffect)(()=>{if(P()){t(!1),i(!1);return}if(!l){let e=setTimeout(()=>{P()||(t(!0),r(!0))},45e3);return()=>clearTimeout(e)}},[_,l]),(0,s.useEffect)(()=>{let e=setInterval(()=>{S()&&(t(!1),i(!1),N(!0),clearInterval(e))},2e3);return()=>clearInterval(e)},[]);let D=()=>{t(!1),i(!0)},G=async()=>{I(!0),x.default.loading("Redirecting to Google...",{id:"google-signin"}),localStorage.setItem("signInInitiated","true"),(0,u.signIn)("google",{callbackUrl:(0,g.f)("/login?returnTo=".concat(encodeURIComponent(_||"/")))}),x.default.dismiss("google-signin")};return n&&!e||!e&&!o||P()?null:(0,a.jsxs)(a.Fragment,{children:[!e&&o&&!n&&(0,a.jsx)("div",{className:"fixed bottom-4 left-1/2 z-[9990] -translate-x-1/2 lg:bottom-10 lg:left-0 lg:translate-x-0",children:(0,a.jsxs)("div",{className:"group relative cursor-pointer",onClick:()=>{t(!0),i(!1)},children:[(0,a.jsx)("button",{onClick:e=>{e.stopPropagation(),T()},className:"absolute -top-1.5 -left-1.5 z-10 rounded-full bg-white p-[3px] shadow-md transition-colors hover:bg-white lg:-top-3 lg:-right-3 lg:left-auto lg:p-1",style:{color:y},"aria-label":"Dismiss sign-in prompt",children:(0,a.jsx)(c.A,{className:"h-2.5 w-2.5 lg:h-3.5 lg:w-3.5",strokeWidth:3})}),(0,a.jsx)("div",{className:"whitespace-nowrap rounded-full px-4 py-1.5 shadow-[0_4px_15px_rgba(224,180,58,0.4)] transition-all duration-300 lg:rounded-l-none lg:px-6 lg:py-2.5",style:{background:b},children:(0,a.jsx)("span",{className:"text-[10px] font-bold uppercase tracking-wider lg:text-sm lg:tracking-widest",style:{color:y},children:"Sign in to unlock offers"})})]})}),e&&(0,a.jsxs)("div",{className:"fixed inset-0 z-[9999] flex items-center justify-center p-4",children:[(0,a.jsx)("div",{className:"absolute inset-0 backdrop-blur-sm",style:{background:"rgba(10,23,48,0.6)"},onClick:D}),(0,a.jsxs)("div",{className:"relative max-h-[92vh] w-full max-w-[420px] overflow-y-auto rounded-2xl border bg-white p-7 shadow-[0_18px_50px_rgba(30,79,216,0.22)]",style:{borderColor:"rgba(30,79,216,0.25)"},role:"dialog","aria-modal":"true","aria-label":"Sign in to Give X India",children:[(0,a.jsx)("button",{onClick:D,className:"absolute right-3 top-3 transition-opacity hover:opacity-70",style:{color:v},"aria-label":"Close",children:(0,a.jsx)(c.A,{size:20,strokeWidth:2.5})}),(0,a.jsxs)("span",{className:"block text-lg font-bold",style:{color:y,fontFamily:'MinionPro, Georgia, "Times New Roman", serif',letterSpacing:"0.18em"},children:["GIVE ",(0,a.jsx)("span",{style:{color:b},children:"X"})," INDIA"]}),(0,a.jsx)("h2",{className:"mt-4 text-[1.6rem] font-bold leading-tight tracking-tight",style:{color:y},children:"Sign in to unlock member offers"}),(0,a.jsx)("p",{className:"mt-2 text-sm leading-relaxed",style:{color:"#46536A"},children:"It takes about 30 seconds, and it's free."}),(0,a.jsx)("ul",{className:"mt-5 space-y-3",children:j(C).map(e=>{let{Icon:t,text:l}=e;return(0,a.jsxs)("li",{className:"flex items-start gap-3",children:[(0,a.jsx)("span",{className:"mt-0.5 flex h-7 w-7 flex-shrink-0 items-center justify-center rounded-full",style:{background:"rgba(224,180,58,0.12)"},children:(0,a.jsx)(t,{size:14,style:{color:"#8C6E2E"}})}),(0,a.jsx)("span",{className:"text-sm font-medium",style:{color:y},children:l})]},l)})}),(0,a.jsxs)("div",{className:"mt-6 flex flex-col gap-3",children:[(0,a.jsx)(h._,{onClick:G,loading:A}),(0,a.jsx)(p.D,{disabled:A,redirectTo:_||"/",newUserRedirectTo:"/create-account"})]}),(0,a.jsxs)("p",{className:"mt-5 text-center text-xs",style:{color:v},children:["By continuing you agree to our"," ",(0,a.jsx)("a",{href:"/terms-and-conditions",className:"underline",style:{color:f},children:"Terms"})," ","and"," ",(0,a.jsx)("a",{href:"/privacy-policy",className:"underline",style:{color:f},children:"Privacy Policy"}),"."]}),(0,a.jsx)("button",{onClick:T,className:"mx-auto mt-4 block text-sm font-medium transition-opacity hover:opacity-70",style:{color:v},children:"Maybe later"})]})]})]})},A=N},93550:(e,t,l)=>{l.d(t,{A:()=>a});let a=(0,l(19946).A)("coins",[["circle",{cx:"8",cy:"8",r:"6",key:"3yglwk"}],["path",{d:"M18.09 10.37A6 6 0 1 1 10.34 18",key:"t5s6rm"}],["path",{d:"M7 6h1v4",key:"1obek4"}],["path",{d:"m16.71 13.88.7.71-2.82 2.82",key:"1rbuyh"}]])}}]);
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.