1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1816],{29293:(e,a,t)=>{"use strict";t.d(a,{A:()=>d,AuthProvider:()=>c});var r=t(95155),l=t(12115),i=t(20063),n=t(72378),s=t(53775);let o=(0,l.createContext)(void 0);function c(e){let{children:a}=e,[t,c]=(0,l.useState)(null),[d,b]=(0,l.useState)(null),[h,m]=(0,l.useState)(!0),x=(0,i.useRouter)();(0,l.useEffect)(()=>{p()},[]);let p=async()=>{try{let e=localStorage.getItem("authToken");if(!e){c(null),b(null),m(!1);return}let a=await fetch((0,s.K)("/auth/me"),{headers:{Authorization:"Bearer ".concat(e),"Content-Type":"application/json"}});if(a.ok){let t=await a.json();c(t.user),b(e)}else c(null),b(null),localStorage.removeItem("authToken")}catch(e){c(null),b(null),localStorage.removeItem("authToken")}finally{m(!1)}},f=async(e,a)=>{try{let t=await fetch((0,s.K)("/auth/login"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e,password:a})}),r=await t.json();if(t.ok&&r.success)return localStorage.setItem("authToken",r.token),n.A.set("authToken",r.token,{expires:7,path:"/"}),await p(),!0;throw Error(r.message||"Login failed")}catch(e){return!1}},u=async e=>{try{let a=await fetch((0,s.K)("/auth/login-member"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({phone:e})}),t=await a.json();if(a.ok&&t.success)return localStorage.setItem("authToken",t.token),n.A.set("authToken",t.token,{expires:7,path:"/"}),await p(),{success:!0,membershipId:t.user.registrationNumber};throw Error(t.message||"Login failed")}catch(e){throw console.error(e),e}},g=async e=>{try{let a=await fetch((0,s.K)("/auth/register"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}),t=await a.json();if(a.ok&&t.success)return localStorage.setItem("authToken",t.token),n.A.set("authToken",t.token,{expires:7,path:"/"}),await p(),!0;throw Error(t.message||"Registration failed")}catch(e){return!1}},v=async()=>{try{d&&await fetch((0,s.K)("/auth/logout"),{method:"POST",headers:{Authorization:"Bearer ".concat(d),"Content-Type":"application/json"}})}catch(e){}finally{c(null),b(null),localStorage.removeItem("authToken"),n.A.remove("authToken",{path:"/"}),x.push("/")}};return(0,r.jsx)(o.Provider,{value:{user:t,token:d,isLoading:h,login:f,loginMember:u,register:g,logout:v,isAuthenticated:!!t,checkAuth:p},children:a})}function d(){let e=(0,l.useContext)(o);if(void 0===e)throw Error("useAuth must be used within an AuthProvider");return e}},53775:(e,a,t)=>{"use strict";t.d(a,{K:()=>b});let r="http://localhost:5252/api",l="/api",i=new Set(["localhost","127.0.0.1"]),n={"hhtps://":"https://","hhtps:/":"https://","hhtps:":"https://","htps://":"https://","htps:/":"https://","htps:":"https://","hhttp://":"http://","hhttp:/":"http://","hhttp:":"http://"},s=e=>e.replace(/\/+$/,""),o=e=>i.has(e),c=e=>{console.warn('Ignoring invalid NEXT_PUBLIC_API_URL value: "'.concat(e,'". Falling back to the default API URL.'))},d=()=>o(window.location.hostname)?r:s("".concat(window.location.origin).concat(l)),b=e=>{let a=(()=>{let e=(e=>{let a=e.trim(),t=a.toLowerCase();for(let[e,r]of Object.entries(n))if(t.startsWith(e)){let t=a.slice(e.length);return e.endsWith(":")&&!t.startsWith("//")&&(t="//"+t),!e.endsWith("/")||e.endsWith("//")||t.startsWith("/")||(t="/"+t),"".concat(r.replace("://",""),"://").concat(t.replace(/^\/+/,""))}return a})("https://jsp-backend-nine.vercel.app/api");return e?(e=>e.toLowerCase().startsWith("http://")||e.toLowerCase().startsWith("https://"))(e)?s(e):e.startsWith("/")?o(window.location.hostname)&&e===l?r:s("".concat(window.location.origin).concat(e)):(/^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(e),c(e),d()):d()})(),t="/api"===e?"":e.startsWith("/api/")?e.slice(4):e,i=t.startsWith("/")?t:"/".concat(t);return"".concat(a).concat(i)}},63451:(e,a,t)=>{Promise.resolve().then(t.bind(t,80826))},80826:(e,a,t)=>{"use strict";t.r(a),t.d(a,{default:()=>el});var r=t(95155),l=t(20063),i=t(67909),n=t(12115),s=t(52619),o=t.n(s),c=t(15239),d=t(8595),b=t(6943),h=t(59828),m=t(87205),x=t(11064),p=t(27314),f=t(26615),u=t(44622),g=t(63263),v=t(89831),j=t(68425),y=t(35634),w=t(26497),N=t(30451),k=t(29293);let E=[{headingEn:"Jan Suraaj",headingHi:"à¤à¤¨ सà¥à¤°à¤¾à¤",icon:(0,r.jsx)(d.A,{size:18,className:"text-amber-500"}),color:"amber",links:[{labelEn:"Home",labelHi:"हà¥à¤®",href:"/"},{labelEn:"About Us",labelHi:"हमारॠबारॠमà¥à¤",href:"/"},{labelEn:"Election",labelHi:"à¤à¥à¤¨à¤¾à¤µ",href:"/election"},{labelEn:"Our Vision",labelHi:"हमारा दà¥à¤·à¥à¤à¤¿à¤à¥à¤£",href:"/vision"}
1,{labelEn:"Leadership",labelHi:"नà¥à¤¤à¥à¤¤à¥à¤µ",href:"/leaders/pk"},{labelEn:"Our Manifesto",labelHi:"हमारा à¤à¥à¤·à¤£à¤¾à¤ªà¤¤à¥à¤°",href:"/"}]},{headingEn:"Get Involved",headingHi:"शामिल हà¥à¤",icon:(0,r.jsx)(b.A,{size:18,className:"text-emerald-500"}),color:"emerald",links:[{labelEn:"Join Jan Suraaj",labelHi:"à¤à¤¨ सà¥à¤°à¤¾à¤ सॠà¤à¥à¤¡à¤¼à¥à¤",href:"/join"},{labelEn:"Donate",labelHi:"दान à¤à¤°à¥à¤",href:"/donate"},{labelEn:"Parivar",labelHi:"परिवार",href:"/Parivar"},{labelEn:"Padyatra",labelHi:"पदयातà¥à¤°à¤¾",href:"/journey"},{labelEn:"Volunteer",labelHi:"सà¥à¤µà¤¯à¤à¤¸à¥à¤µà¤",href:"/"}]},{headingEn:"Media & Events",headingHi:"मà¥à¤¡à¤¿à¤¯à¤¾ à¤à¤° à¤à¤µà¥à¤à¤à¥à¤¸",icon:(0,r.jsx)(h.A,{size:18,className:"text-blue-500"}),color:"blue",links:[{labelEn:"Ummeed",labelHi:"à¤à¤®à¥à¤®à¥à¤¦",href:"/voices"},{labelEn:"Video Gallery",labelHi:"वà¥à¤¡à¤¿à¤¯à¥ à¤à¥à¤²à¤°à¥",href:"/media/video"},{labelEn:"Press Release",labelHi:"पà¥à¤°à¥à¤¸ विà¤à¥à¤à¤ªà¥à¤¤à¤¿",href:"/media/press-releases"},{labelEn:"Events",labelHi:"à¤à¤µà¥à¤à¤à¥à¤¸",href:"/events"},{labelEn:"Live",labelHi:"लाà¤à¤µ",href:"/live"}]},{headingEn:"Organisation",headingHi:"सà¤à¤à¤ न",icon:(0,r.jsx)(m.A,{size:18,className:"text-rose-500"}),color:"rose",links:[{labelEn:"National Committee",labelHi:"राषà¥à¤à¥à¤°à¥à¤¯ समिति",href:"/organization/national-committee"},{labelEn:"State Committee",labelHi:"राà¤à¥à¤¯ समिति",href:"/organization/state-committee"},{labelEn:"Zonal Committee",labelHi:"à¤à¥à¤·à¥à¤¤à¥à¤°à¥à¤¯ समिति",href:"/organization/zonal-committee"},{labelEn:"District Committee",labelHi:"à¤à¤¼à¤¿à¤²à¤¾ समिति",href:"/organization/district-committee"},{labelEn:"Block Committee",labelHi:"पà¥à¤°à¤à¤à¤¡ समिति",href:"/organization/block-committee"}]},{headingEn:"Legal & Support",headingHi:"à¤à¤¾à¤¨à¥à¤¨à¥ à¤à¤° समरà¥à¤¥à¤¨",icon:(0,r.jsx)(x.A,{size:18,className:"text-slate-500"}),color:"slate",links:[{labelEn:"Privacy Policy",labelHi:"à¤à¥à¤ªà¤¨à¥à¤¯à¤¤à¤¾ नà¥à¤¤à¤¿",href:"/privacy-policy"},{labelEn:"Terms & Conditions",labelHi:"नियम à¤à¤° शरà¥à¤¤à¥à¤",href:"/terms-and-condition"},{labelEn:"Disclaimer",labelHi:"à¤
सà¥à¤µà¥à¤à¤°à¤£",href:"/"},{labelEn:"Contact Us",labelHi:"सà¤à¤ªà¤°à¥à¤ à¤à¤°à¥à¤",href:"/contact"},{labelEn:"Grievance",labelHi:"शिà¤à¤¾à¤¯à¤¤",href:"/"}]}];function H(e){let{lang:a,onToggle:t,useDarkText:l}=e,i="hi"===a;return(0,r.jsxs)("button",{onClick:t,title:i?"Switch to English":"हिà¤à¤¦à¥ मà¥à¤ बदलà¥à¤",className:"flex items-center rounded-full p-[3px] transition-all duration-200 hover:opacity-80 active:scale-95",style:{background:l?"rgba(0,0,0,0.07)":"rgba(255,255,255,0.15)",border:l?"1px solid rgba(0,0,0,0.12)":"1px solid rgba(255,255,255,0.25)",gap:0},children:[(0,r.jsx)("span",{className:"rounded-full px-2.5 py-0.5 transition-all duration-200",style:{fontFamily:"'Inter', sans-serif",fontSize:"11px",fontWeight:700,letterSpacing:"0.06em",background:i?"transparent":l?"#f59e0b":"rgba(255,255,255,0.9)",color:i?l?"rgba(0,0,0,0.5)":"rgba(255,255,255,0.5)":l?"#fff":"#78350f"},children:"A"}),(0,r.jsx)("span",{className:"rounded-full px-2.5 py-0.5 transition-all duration-200",style:{fontFamily:"'Noto Sans Devanagari', 'Inter', sans-serif",fontSize:"11px",fontWeight:700,background:i?l?"#f59e0b":"rgba(255,255,255,0.9)":"transparent",color:i?l?"#fff":"#78350f":l?"rgba(0,0,0,0.5)":"rgba(255,255,255,0.5)"},children:"à¤
"})]})}function S(){let[e,a]=(0,n.useState)(!1),[t,i]=(0,n.useState)(!1),[s,d]=(0,n.useState)(!1),[b,h]=(0,n.useState)({left:0,width:0}),[m,x]=(0,n.useState)(!1),{user:S,isAuthenticated:z}=(0,k.A)(),C=(0,l.useRouter)(),P=(0,l.usePathname)(),A=["/events","/media","/gallery","/join","/privacy-policy","/terms-and-condition","/leaders","/vision","/contact","/voices","/profile","/organization/state-committee"].some(e=>null==P?void 0:P.startsWith(e)),_=s||A||e,{scrollY:L}=(0,v.L)(),{lang:T,setLang:I,t:J}=(0,N.o)(),D=(0,n.useRef)({});(0,n.useEffect)(()=>
1{if(e){let e=window.scrollY;document.body.style.position="fixed",document.body.style.top="-".concat(e,"px"),document.body.style.width="100%",document.body.style.overflow="hidden"}else{let e=document.body.style.top;document.body.style.position="",document.body.style.top="",document.body.style.width="",document.body.style.overflow="",e&&window.scrollTo(0,-1*parseInt(e||"0"))}return()=>{document.body.style.position="",document.body.style.top="",document.body.style.width="",document.body.style.overflow=""}},[e]),(0,j.L)(L,"change",e=>{d(e>60)});let W=[{key:"home",link:"/"},{key:"journey",link:"/journey"},{key:"events",link:"/events"},{key:"media",link:"/media"},{key:"ummeed",link:"/voices"}],O=[{href:"/media/press-releases",labelEn:"Press Releases",labelHi:"पà¥à¤°à¥à¤¸ रिलà¥à¤à¤¼"},{href:"/media/interview",labelEn:"Interview /Speeches",labelHi:"à¤à¤à¤à¤°à¤µà¥à¤¯à¥ / à¤à¤¾à¤·à¤£"},{href:"/media/image",labelEn:"Images",labelHi:"फà¥à¤à¥ à¤à¥à¤²à¤°à¥"},{href:"/media/video",labelEn:"Videos",labelHi:"वà¥à¤¡à¤¿à¤¯à¥ à¤à¥à¤²à¤°à¥"}],F=["/","/journey","/events","/media","/"].includes(null!=P?P:"");(0,n.useEffect)(()=>{if(["/","/journey","/events","/media","/"].includes(null!=P?P:"")){var e;let a=null==(e=W.find(e=>e.link===P))?void 0:e.key;if(a&&D.current[a]){let e=D.current[a];e&&(h({left:e.offsetLeft,width:e.offsetWidth}),x(!0))}else x(!1)}else x(!1);a(!1)},[P]);let Y=e=>{let a=D.current[e];a&&(h({left:a.offsetLeft,width:a.offsetWidth}),x(!0))},M=()=>{var e;if(!["/","/journey","/events","/media","/"].includes(null!=P?P:""))return void x(!1);let a=null==(e=W.find(e=>e.link===P))?void 0:e.key;if(a&&D.current[a]){let e=D.current[a];e&&(h({left:e.offsetLeft,width:e.offsetWidth}),x(!0))}else x(!1)};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(y.P.header,{animate:{top:s?"calc(2.5rem + 1rem)":"2.5rem",paddingLeft:s?"1rem":"0rem",paddingRight:s?"1rem":"0rem"},className:"fixed inset-x-0 z-[100] hidden lg:flex flex-col items-center pointer-events-none",children:(0,r.jsx)(y.P.div,{animate:{maxWidth:s?"80rem":"100%",border:s?"0.7px solid rgba(126, 126, 126, 0.7)":"none",borderRadius:s?"20px":"0px",background:s?"#fef3c7":"transparent",backdropFilter:s?"blur(24px)":"blur(0px)",boxShadow:s?"0 10px 30px rgba(0,0,0,0.12)":"none"},className:"w-full pointer-events-auto",children:(0,r.jsxs)("div",{className:"relative mx-auto flex items-center h-20 w-full px-6 xl:px-10 max-w-[90rem]",children:[(0,r.jsx)("div",{className:"flex items-center shrink-0",children:(0,r.jsx)(y.P.div,{animate:{x:s?-10:0},className:"flex items-center gap-3 shrink-0",children:(0,r.jsxs)(o(),{href:"/",className:"flex items-center gap-3 group shrink-0",children:[(0,r.jsx)(c.default,{src:"/core/logo.png",alt:"Logo",width:60,height:60,className:"transition-transform group-hover:scale-105 shrink-0"}),(0,r.jsx)("span",{className:"hidden sm:block whitespace-nowrap text-2xl lg:text-3xl font-bold tracking-tight transition-all group-hover:scale-105 ".concat(_?"text-amber-950 opacity-100":"bg-clip-text text-transparent bg-gradient-to-r from-amber-400 via-amber-200 to-amber-300 drop-shadow-[0_1px_2px_rgba(0,0,0,0.15)] opacity-90"," "),children:"à¤à¤¨ सà¥à¤°à¤¾à¤"})]})})}),(0,r.jsxs)("div",{className:"absolute left-[45%] -translate-x-1/2 flex items-center gap-1",children:[W.map(e=>{let a,t=(a=e.link,F&&P===a);return"media"===e.key?(0,r.jsxs)("div",{className:"relative group",onMouseEnter:()=>Y(e.key),onMouseLeave:M,children:[(0,r.jsx)(o(),{href:"#",onClick:e=>e.preventDefault(),ref:a=>{D.current[e.key]=a},className:"px-2 py-2 transition-colors relative z-10 inline-block cursor-default whitespace-nowrap\n ".concat("hi"===T?"text-[17px] font-bold":"text-[13px] font-bold uppercase tracking-widest","\n ").concat(t?_?"text-amber-950 font-bold":"text-white font-bold":_?"text-amber-950 hover:text-black":"text-white/90 hover:text-white"),style:{fontFamily:"hi"===T?"'Noto Sans Devanagari', sans-serif":"'Inter', 'Outfit', sans-serif"},"aria-haspopup":"menu","aria-expanded":"false",children:J.nav[e.key]}),(0,r.jsx)("div",{className:"absolute left-1/2 -translate-x-1/2 top-full pt-4 hidden group-hover:block z-50",children:(0,r.jsx)("div",{className:"w-52 rounded-xl bg-white shadow-xl border border-gray-100 py-2",children:O.map(e=>(0,r.jsx)(o(),{href:e.href,className:"block px-4 py-2 text-sm font-medium text-gray-700 hover:bg-amber-50 hover:text-amber-700 transition-colors",children:"hi"===T?e.labelHi:e.labelEn},e.href))})})]},e.key):(0,r.jsx)(o(),{href:e.link,ref:a=>{D.current[e.key]=a},onMouseEnter:()=>Y(e.key),onMouseLeave:M,className:"px-2.5 py-2 transition-colors relative z-10 inline-block whitespace-nowrap\n ".concat("hi"===T?"text-[17px] font-bold":"text-[13px] font-bold uppercase tracking-widest","\n ").concat(t?_?"text-amber-950 font-bold":"text-white font-bold":_?"text-amber-950 hover:text-black":"text-white/90 hover:text-white"),style:{fontFamily:"hi"===T?"'Noto Sans Devanagari', sans-serif":"'Inter', 'Outfit', sans-serif"},children:J.nav[e.key]},e.key)}),(0,r.jsx)(y.P.div,{className:"absolute bottom-0 h-0.5 bg-amber-300",initial:!1,animate:{left:b.left,width:m?b.width:0,opacity:+!!m},transition:{type:"spring",stiffness:380,damping:30}})]}),(0,r.jsxs)("div",{className:"ml-auto flex items-center gap-2 shrink-0",children:[(0,r.jsx)(H,{lang:T,useDarkText:_,onToggle:()=>I("hi"===T?"en":"hi")}),(0,r.jsxs)(o(),{href:"/live",className:"group relative flex items-center shrink-0 gap-1.5 overflow-hidden rounded-full px-3 py-1.5 transition-all duration-300 hover:scale-105 active:scale-95",children:[(0,r.jsxs)("span",{className:"relative flex h-2.5 w-2.5 shrink-0",children:[(0,r.jsx)("span",{className:"absolute inline-flex h-full w-full animate-ping rounded-full bg-red-500 opacity-75"}),(0,r.jsx)("span",{className:"relative inline-flex h-2.5 w-2.5 rounded-full bg-red-600 shadow-[0_0_8px_rgba(239,68,68,0.8)]"})]}),(0,r.jsx)("span",{className:"font-bold tracking-[0.15em] whitespace-nowrap transition-colors ".concat(_?"text-amber-900":"text-white"),style:{fontSize:"10px",textShadow:_?"none":"0 2px 4px rgba(0,0,0,0.3)"},children:"JS LIVE"})]}),(0,r.jsx)("button",{onClick:()=>C.push("/join"),className:"rounded-xl px-4 py-2 inline-flex items-center justify-center bg-amber-300 text-amber-950 hover:bg-amber-400 active:scale-95 transition-all font-bold uppercase tracking-wide text-xs whitespace-nowrap outline-none border-none",children:J.nav.join}),(0,r.jsx)("button",{onClick:()=>C.push("/donate"),className:"rounded-xl px-4 py-2 inline-flex items-center justify-center bg-amber-300 text-amber-950 hover:bg-amber-400 active:scale-95 transition-all font-bold uppercase tracking-wide text-xs whitespace-nowrap outline-none border-none",children:J.nav.donate}),(0,r.jsx)("button",{onClick:()=>{C.push("/member-login")},className:"h-9 w-9 rounded-full transition-all flex items-center justify-center border active:scale-95 ".concat(s?"bg-amber-100 hover:bg-amber-200 border-amber-300":"bg-white/10 hover:bg-white/20 border-white/20"),style:{backdropFilter:"blur(10px)"},title:z?"Profile":"Login",children:(0,r.jsx)(p.A,{size:18,className:_?"text-amber-950":"text-white"})}),(0,r.jsx)("button",{onClick:()=>a(!e),className:"h-9 w-9 rounded-full transition-all flex items-center justify-center border active:scale-95 ".concat(e?"bg-amber-100 border-amber-200":"bg-white/10 hover:bg-white/20 border-white/20"),style:{backdropFilter:"blur(10px)"},children:e?(0,r.jsx)(f.A,{size:18,className:"text-amber-950"}):(0,r.jsx)(u.A,{size:18,className:_?"text-amber-950":"text-white"})})]})]})})}),(0,r.jsx)(w.N,{children:e&&(0,r.jsx)(y.P.div,{initial:{opacity:0,y:-20,scaleY:0}
1,animate:{opacity:1,y:0,scaleY:1},exit:{opacity:0,y:-20,scaleY:0},transition:{type:"spring",stiffness:300,damping:30},className:"fixed inset-x-0 top-0 z-[95] hidden lg:block pt-32 pb-12 bg-[#fef3c7]/95 backdrop-blur-2xl border-b border-gray-100 origin-top",style:{boxShadow:"0 25px 50px -12px rgba(0,0,0,0.15)"},children:(0,r.jsxs)("div",{className:"max-w-7xl mx-auto px-12 pb-12 flex gap-12",children:[(0,r.jsxs)("div",{className:"flex-[3]",children:[(0,r.jsx)("div",{className:"text-[10px] font-black uppercase tracking-[0.2em] text-amber-600 mb-8 pb-3 border-b border-amber-600/10 inline-block",children:"hi"===T?"नà¥à¤µà¤¿à¤à¥à¤à¤°":"Navigator"}),(0,r.jsx)("div",{className:"grid grid-cols-4 gap-12",children:E.map(e=>(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsx)("h3",{className:"text-xs font-black uppercase tracking-widest text-gray-400",children:"hi"===T?e.headingHi:e.headingEn}),(0,r.jsx)("ul",{className:"flex flex-col gap-2.5",children:e.links.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)(o(),{href:e.href,onClick:()=>a(!1),className:"text-[15px] font-bold text-gray-800 hover:text-amber-600 transition-all hover:pl-1",children:"hi"===T?e.labelHi:e.labelEn})},e.labelEn))})]},e.headingEn))})]}),(0,r.jsxs)("div",{className:"flex-1 border-l border-amber-900/10 pl-12 space-y-8",children:[(0,r.jsx)("div",{className:"text-[11px] font-black uppercase tracking-[0.2em] text-amber-600 pb-3 border-b border-amber-600/10",children:"hi"===T?"तà¥à¤µà¤°à¤¿à¤¤ à¤à¤¾à¤°à¥à¤°à¤µà¤¾à¤":"Quick Actions"}),(0,r.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,r.jsxs)("div",{className:"relative group",children:[(0,r.jsxs)(o(),{href:"#",onClick:e=>e.preventDefault(),className:"w-full px-5 py-3.5 rounded-2xl font-black uppercase tracking-tight text-[15px] transition-all duration-300 hover:scale-[1.02] active:scale-95 shadow-[0_4px_12px_rgba(251,191,36,0.3)] hover:shadow-[0_6px_16px_rgba(251,191,36,0.4)] text-center border-none flex items-center justify-between gap-2 bg-gradient-to-r from-amber-400 to-amber-300 text-amber-950",children:[(0,r.jsx)("span",{className:"flex-1 text-center pl-6",children:"hi"===T?"सà¤à¤à¤ न":"Sangathan"}),(0,r.jsx)(g.A,{size:18,className:"transition-transform duration-300 group-hover:-rotate-180 opacity-70"})]}),(0,r.jsx)("div",{className:"absolute right-full top-0 pr-4 opacity-0 translate-x-4 pointer-events-none group-hover:opacity-100 group-hover:translate-x-0 group-hover:pointer-events-auto transition-all duration-300 z-[100] w-64 origin-right",children:(0,r.jsxs)("div",{className:"bg-amber-300/95 backdrop-blur-xl rounded-2xl shadow-[0_20px_40px_-15px_rgba(245,158,11,0.3)] border border-amber-200 p-2.5 flex flex-col gap-1 relative overflow-hidden",children:[(0,r.jsx)("div",{className:"absolute top-0 right-0 w-32 h-32 bg-amber-400/50 rounded-full blur-2xl -translate-y-1/2 translate-x-1/2 pointer-events-none"}),[{labelEn:"National Committee",labelHi:"राषà¥à¤à¥à¤°à¥à¤¯ समिति",href:"/organization/national-committee"},{labelEn:"State Committee",labelHi:"राà¤à¥à¤¯ समिति",href:"/organization/state-committee"},{labelEn:"Zonal Committee",labelHi:"à¤à¥à¤·à¥à¤¤à¥à¤°à¥à¤¯ समिति",href:"/organization/zonal-committee"},{labelEn:"District Committee",labelHi:"à¤à¤¼à¤¿à¤²à¤¾ समिति",href:"/organization/district-committee"},{labelEn:"Block Committee",labelHi:"पà¥à¤°à¤à¤à¤¡ समिति",href:"/organization/block-committee"}].map(e=>(0,r.jsxs)(o(),{href:e.href,onClick:()=>a(!1),className:"group/item relative px-4 py-3 rounded-xl flex items-center gap-3 transition-all duration-300 hover:bg-amber-400 hover:shadow-sm overflow-hidden z-10",children:[(0,r.jsx)("span",{className:"absolute inset-0 bg-gradient-to-r from-amber-400/80 to-transparent opacity-0 group-hover/item:opacity-100 transition-opacity duration-300"}),(0,r.jsx)("span",{className:"w-1.5 h-1.5 rounded-full bg-amber-700 scale-0 opacity-0 group-hover/item:scale-100 group-hover/item:opacity-100 transition-all duration-300 shadow-sm"}),(0,r.jsx)("span",{className:"text-[14px] font-bold text-amber-950 group-hover/item:translate-x-1 transition-all duration-300 relative z-10",children:"hi"===T?e.labelHi:e.labelEn})]},e.labelEn))]})})]}),[{labelEn:"JS Delhi",labelHi:"à¤à¤¨ सà¥à¤°à¤¾à¤ दिलà¥à¤²à¥",href:"/js-delhi",bg:"bg-amber-400 text-amber-900"},{labelEn:"Join Jan Suraaj",labelHi:"à¤à¤¨ सà¥à¤°à¤¾à¤ सॠà¤à¥à¤¡à¤¼à¥à¤",href:"/join",bg
1:"bg-amber-400 text-amber-900"},{labelEn:"Donate Now",labelHi:"à¤
à¤à¥ दान à¤à¤°à¥à¤",href:"/donate",bg:"bg-amber-400 text-amber-900"},{labelEn:"Jan Suraaj Parivar",labelHi:"à¤à¤¨ सà¥à¤°à¤¾à¤ परिवार",href:"/Parivar",bg:"bg-amber-400 text-amber-900"},{labelEn:"Ummeed",labelHi:"à¤à¤®à¥à¤®à¥à¤¦",href:"/voices",bg:"bg-amber-400 text-amber-900"},{labelEn:"Live",labelHi:"लाà¤à¤µ",href:"/live",bg:"bg-amber-400 text-amber-900"},{labelEn:"Election",labelHi:"à¤à¥à¤¨à¤¾à¤µ",href:"/election",bg:"bg-amber-400 text-amber-900"}].map(e=>(0,r.jsx)(o(),{href:e.href,onClick:()=>a(!1),className:"px-5 py-3.5 rounded-2xl font-black uppercase tracking-tight text-[15px] transition-all hover:scale-[1.02] active:scale-95 shadow-sm text-center border-none ".concat(e.bg),children:"hi"===T?e.labelHi:e.labelEn},e.labelEn))]})]})]})})}),(0,r.jsx)("div",{className:"lg:hidden fixed top-10 left-0 right-0 z-[100] p-2 pointer-events-none",children:(0,r.jsx)("div",{className:"w-full mx-auto transition-all duration-300 pointer-events-auto\n ".concat(s?"bg-[#fef3c7] rounded-2xl shadow-lg border border-amber-200/50":"bg-transparent","\n "),children:(0,r.jsxs)("div",{className:"flex h-14 sm:h-16 items-center justify-between px-3 md:px-4",children:[(0,r.jsxs)(o(),{href:"/",className:"shrink-0 flex items-center gap-2 group min-w-0",children:[(0,r.jsx)(c.default,{src:"/core/logo.png",alt:"Logo",width:38,height:38,className:"object-contain shrink-0",priority:!0}),(0,r.jsx)("span",{className:"hidden sm:inline-block whitespace-nowrap text-lg font-bold transition-all truncate ".concat(_?"text-amber-950 opacity-100":"bg-clip-text text-transparent bg-gradient-to-r from-amber-400 via-amber-200 to-amber-300 drop-shadow-[0_1px_2px_rgba(0,0,0,0.15)] opacity-90"," "),children:"à¤à¤¨ सà¥à¤°à¤¾à¤"})]}),(0,r.jsxs)("div",{className:"flex items-center gap-1.5 shrink-0",children:[(0,r.jsx)(o(),{href:"/live",className:"hidden sm:flex items-center justify-center p-2 rounded-full hover:bg-red-50 transition-colors",title:"JS Live",children:(0,r.jsxs)("span",{className:"relative flex h-2.5 w-2.5",children:[(0,r.jsx)("span",{className:"absolute inline-flex h-full w-full animate-ping rounded-full bg-red-500 opacity-75"}),(0,r.jsx)("span",{className:"relative inline-flex h-2.5 w-2.5 rounded-full bg-red-600 shadow-[0_0_8px_rgba(239,68,68,0.8)]"})]})}),(0,r.jsx)("span",{className:"flex",children:(0,r.jsx)(H,{lang:T,useDarkText:_,onToggle:()=>I("hi"===T?"en":"hi")})}),(0,r.jsx)("button",{onClick:()=>C.push("/donate"),className:"flex rounded-xl px-2.5 h-8 items-center justify-center text-[11px] sm:text-xs bg-amber-400 text-amber-950 font-black shadow-sm border-none outline-none transition-all active:scale-95 whitespace-nowrap",style:{WebkitTapHighlightColor:"transparent",fontFamily:"hi"===T?"'Noto Sans Devanagari', sans-serif":"'Inter', sans-serif"},children:J.nav.donate}),(0,r.jsx)("button",{onClick:()=>{C.push("/member-login")},className:"h-8 w-8 shrink-0 outline-none rounded-xl bg-gray-100 flex items-center justify-center hover:bg-gray-200 active:scale-95 transition-all",title:z?"Profile":"Login",children:(0,r.jsx)(p.A,{size:16})}),(0,r.jsx)("button",{onClick:()=>a(!0),className:"h-8 w-8 shrink-0 outline-none rounded-xl bg-gray-100 flex items-center justify-center hover:bg-gray-200 active:scale-95 transition-all",children:(0,r.jsx)(u.A,{size:18})})]})]})})}),(0,r.jsx)(w.N,{children:e&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(y.P.div,{initial:{opacity:0}
1,animate:{opacity:.6},exit:{opacity:0},onClick:()=>a(!1),className:"fixed inset-0 z-[110] bg-black/90 lg:hidden"}),(0,r.jsxs)(y.P.aside,{initial:{y:"-100%"},animate:{y:0},exit:{y:"-100%"},transition:{type:"spring",stiffness:300,damping:30},className:"fixed inset-0 z-[120] bg-white flex flex-col lg:hidden overflow-hidden",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between px-6 py-5 border-b border-gray-100 sticky top-0 bg-white z-10",children:[(0,r.jsx)(o(),{href:"/",onClick:()=>a(!1),children:(0,r.jsx)(c.default,{src:"/core/logo.png",alt:"Logo",width:44,height:44})}),(0,r.jsx)("button",{onClick:()=>a(!1),className:"h-10 w-10 rounded-full bg-gray-100 flex items-center justify-center active:scale-95 transition-transform",children:(0,r.jsx)(f.A,{size:20,strokeWidth:2.5})})]}),(0,r.jsxs)("div",{className:"flex-1 px-6 py-6 overflow-y-auto overscroll-contain",style:{WebkitOverflowScrolling:"touch"},children:[(0,r.jsxs)("div",{className:"mb-8",children:[(0,r.jsx)("div",{className:"text-[10px] font-black uppercase tracking-[0.2em] text-amber-600 mb-4 pb-2 border-b border-amber-600/10 inline-block",children:"hi"===T?"पà¥à¤":"Pages"}),(0,r.jsx)("div",{className:"flex flex-col divide-y divide-gray-100",children:W.map((e,t)=>{let l=P===e.link;return"media"===e.key?(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"flex items-center justify-between py-3.5 ".concat(l?"text-amber-600":"text-gray-900"),children:(0,r.jsx)("span",{className:"text-[16px] font-black uppercase tracking-wide",style:{fontFamily:"hi"===T?"'Noto Sans Devanagari', sans-serif":"'Inter', sans-serif"},children:J.nav[e.key]})}),(0,r.jsx)("div",{className:"grid grid-cols-2 gap-2 pb-3 pl-1",children:O.map(e=>(0,r.jsx)(o(),{href:e.href,onClick:()=>a(!1),className:"text-[14px] font-semibold text-gray-500 hover:text-amber-600 transition-colors py-1.5",style:{fontFamily:"var(--font-poppins), 'Poppins', sans-serif"},children:"hi"===T?e.labelHi:e.labelEn},e.href))})]},e.key):(0,r.jsxs)(o(),{href:e.link,onClick:()=>a(!1),className:"flex items-center justify-between py-3.5 transition-colors ".concat(l?"text-amber-600":"text-gray-900 active:text-amber-600"),children:[(0,r.jsx)("span",{className:"text-[16px] font-black uppercase tracking-wide",style:{fontFamily:"hi"===T?"'Noto Sans Devanagari', sans-serif":"'Inter', sans-serif"},children:J.nav[e.key]}),l&&(0,r.jsx)("span",{className:"w-1.5 h-1.5 rounded-full bg-amber-500 mr-1"})]},e.key)})})]}),(0,r.jsxs)("div",{className:"mb-8",children:[(0,r.jsx)("div",{className:"text-[10px] font-black uppercase tracking-[0.2em] text-amber-600 mb-4 pb-2 border-b border-amber-600/10 inline-block",children:"hi"===T?"तà¥à¤µà¤°à¤¿à¤¤ à¤à¤¾à¤°à¥à¤°à¤µà¤¾à¤":"Quick Actions"}),(0,r.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,r.jsxs)("div",{className:"flex flex-col bg-amber-50 rounded-2xl overflow-hidden border border-amber-100",children:[(0,r.jsxs)("button",{onClick:()=>i(!t),className:"w-full px-5 py-4 flex items-center justify-between bg-amber-400 text-amber-950 text-[14px] font-black uppercase tracking-tight shadow-sm active:scale-95 transition-all border-none outline-none",children:[(0,r.jsx)("span",{children:"hi"===T?"सà¤à¤à¤ न":"Sangathan"}),(0,r.jsx)(g.A,{size:18,className:"transition-transform duration-300 ".concat(t?"rotate-90":"")})]}),(0,r.jsx)(w.N,{children:t&&(0,r.jsx)(y.P.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},className:"overflow-hidden",children:(0,r.jsx)("div",{className:"p-3 flex flex-col gap-2",children:[{labelEn:"National Committee",labelHi:"राषà¥à¤à¥à¤°à¥à¤¯ समिति",href:"/organization/national-committee"},{labelEn:"State Committee",labelHi:"राà¤à¥à¤¯ समिति",href:"/organization/state-committee"},{labelEn:"Zonal Committee",labelHi:"à¤à¥à¤·à¥à¤¤à¥à¤°à¥à¤¯ समिति",href:"/organization/zonal-committee"},{labelEn:"District Committee",labelHi:"à¤à¤¼à¤¿à¤²à¤¾ समिति",href:"/organization/district-committee"},{labelEn:"Block Committee",labelHi:"पà¥à¤°à¤à¤à¤¡ समिति",href:"/organization/block-committee"}].map(e=>(0,r.jsxs)(o(),{href:e.href,onClick:()=>{i(!1),a(!1)},className:"px-4 py-3 rounded-xl bg-white text-amber-950 text-[13px] font-bold shadow-sm border border-amber-100 active:scale-[0.98] transition-all flex items-center gap-3",children:[(0,r.jsx)("span",{className:"w-1.5 h-1.5 rounded-full bg-amber-500"}),"hi"===T?e.labelHi:e.labelEn]},e.labelEn))})})})]}),(0,r.jsx)("div",{className:"grid grid-cols-2 gap-3",children:[{labelEn:"JS Delhi",labelHi:"à¤à¤¨ सà¥à¤°à¤¾à¤ दिलà¥à¤²à¥",href:"/js-delhi"},{labelEn:"Join Jan Suraaj",labelHi:"à¤à¤¨ सà¥à¤°à¤¾à¤ सॠà¤à¥à¤¡à¤¼à¥à¤",href:"/join"},{labelEn:"Donate Now",labelHi:"à¤
à¤à¥ दान à¤à¤°à¥à¤",href:"/donate"},{labelEn:"Jan Suraaj Parivar",labelHi:"à¤à¤¨ सà¥à¤°à¤¾à¤ परिवार",href:"/Parivar"},{labelEn:"Ummeed",labelHi:"à¤à¤®à¥à¤®à¥à¤¦",href:"/voices"},{labelEn:"Live",labelHi:"लाà¤à¤µ",href:"/live"},{labelEn:"Election",labelHi:"à¤à¥à¤¨à¤¾à¤µ",href:"/election"}].map(e=>(0,r.jsx)(o(),{href:e.href,onClick:()=>a(!1),className:"px-4 py-4 rounded-2xl bg-amber-400 text-amber-950 text-[12px] font-black uppercase tracking-tight active:scale-95 transition-all shadow-sm text-center border-none flex items-center justify-center",children:"hi"===T?e.labelHi:e.labelEn},e.labelEn))})]})]}),(0,r.jsxs)("div",{className:"space-y-8",children:[(0,r.jsx)("div",{className:"text-[10px] font-black uppercase tracking-[0.2em] text-amber-600 pb-2 border-b border-amber-600/10 inline-block",children:"hi"===T?"नà¥à¤µà¤¿à¤à¥à¤à¤°":"Navigator"}),(0,r.jsx)("div",{className:"grid grid-cols-1 gap-8",children:E.map((e,t)=>(0,r.jsxs)(y.P.div,{initial:{opacity:0,x:-10}
1,animate:{opacity:1,x:0},transition:{delay:.05*t},className:"space-y-4",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)("div",{className:"w-8 h-8 rounded-xl bg-gray-50 flex items-center justify-center border border-gray-100 shadow-sm",children:e.icon}),(0,r.jsx)("span",{className:"text-[11px] font-black uppercase tracking-widest text-gray-400",children:"hi"===T?e.headingHi:e.headingEn})]}),(0,r.jsx)("div",{className:"grid grid-cols-2 gap-y-3 gap-x-4 pl-1",children:e.links.map(e=>(0,r.jsx)(o(),{href:e.href,onClick:()=>a(!1),className:"text-[14px] font-bold text-gray-900 active:text-amber-600 transition-colors",children:"hi"===T?e.labelHi:e.labelEn},e.labelEn))})]},e.headingEn))})]})]}),(0,r.jsx)("div",{className:"p-6 border-t border-gray-100 bg-white sticky bottom-0",children:(0,r.jsx)("button",{onClick:()=>{a(!1),C.push("/join")},className:"w-full rounded-2xl py-5 bg-amber-400 text-amber-950 font-bold uppercase tracking-widest text-[13px] shadow-sm active:scale-95 transition-all",children:"JOIN JS"})})]})]})})]})}var z=t(72801),C=t(59906),P=t(19931),A=t(42255),_=t(42614),L=t(33828);let T=[{headingEn:"Jan Suraaj",headingHi:"à¤à¤¨ सà¥à¤°à¤¾à¤",links:[{labelEn:"Home",labelHi:"हà¥à¤®",href:"/"},{labelEn:"About Us",labelHi:"हमारॠबारॠमà¥à¤",href:"/"},{labelEn:"Election",labelHi:"à¤à¥à¤¨à¤¾à¤µ",href:"/election"},{labelEn:"JS Delhi",labelHi:"à¤à¤¨ सà¥à¤°à¤¾à¤ दिलà¥à¤²à¥",href:"/js-delhi"},{labelEn:"Our Vision",labelHi:"हमारा दà¥à¤·à¥à¤à¤¿à¤à¥à¤£",href:"/vision"},{labelEn:"Leadership",labelHi:"नà¥à¤¤à¥à¤¤à¥à¤µ",href:"/leaders/pk"},{labelEn:"Our Manifesto",labelHi:"हमारा à¤à¥à¤·à¤£à¤¾à¤ªà¤¤à¥à¤°",href:"/"}]},{headingEn:"Get Involved",headingHi:"शामिल हà¥à¤",links:[{labelEn:"Join Jan Suraaj",labelHi:"à¤à¤¨ सà¥à¤°à¤¾à¤ सॠà¤à¥à¤¡à¤¼à¥à¤",href:"/join"},{labelEn:"Donate",labelHi:"दान à¤à¤°à¥à¤",href:"/donate"},{labelEn:"Parivar",labelHi:"परिवार",href:"/Parivar"},{labelEn:"Padyatra",labelHi:"पदयातà¥à¤°à¤¾",href:"/journey"},{labelEn:"Volunteer",labelHi:"सà¥à¤µà¤¯à¤à¤¸à¥à¤µà¤",href:"/"}]},{headingEn:"Media & Events",headingHi:"मà¥à¤¡à¤¿à¤¯à¤¾ à¤à¤° à¤à¤µà¥à¤à¤à¥à¤¸",links:[{labelEn:"Photo Gallery",labelHi:"फà¥à¤à¥ à¤à¥à¤²à¤°à¥",href:"/gallery"},{labelEn:"Video Gallery",labelHi:"वà¥à¤¡à¤¿à¤¯à¥ à¤à¥à¤²à¤°à¥",href:"/media/video"},{labelEn:"Press Release",labelHi:"पà¥à¤°à¥à¤¸ विà¤à¥à¤à¤ªà¥à¤¤à¤¿",href:"/media/press-releases"},{labelEn:"Events",labelHi:"à¤à¤µà¥à¤à¤à¥à¤¸",href:"/events"},{labelEn:"Live",labelHi:"लाà¤à¤µ",href:"/live"}]},{headingEn:"Organisation",headingHi:"सà¤à¤à¤ न",links:[{labelEn:"National Committee",labelHi:"राषà¥à¤à¥à¤°à¥à¤¯ समिति",href:"/organization/national-committee"},{labelEn:"State Committee",labelHi:"राà¤à¥à¤¯ समिति",href:"/organization/state-committee"},{labelEn:"Zonal Committee",labelHi:"à¤à¥à¤·à¥à¤¤à¥à¤°à¥à¤¯ समिति",href:"/organization/zonal-committee"},{labelEn:"District Committee",labelHi:"à¤à¤¼à¤¿à¤²à¤¾ समिति",href:"/organization/district-committee"},{labelEn:"Block Committee",labelHi:"पà¥à¤°à¤à¤à¤¡ समिति",href:"/organization/block-committee"}]},{headingEn:"Legal & Support",headingHi:"à¤à¤¾à¤¨à¥à¤¨à¥ à¤à¤° समरà¥à¤¥à¤¨",links:[{labelEn:"Privacy Policy",labelHi:"à¤à¥à¤ªà¤¨à¥à¤¯à¤¤à¤¾ नà¥à¤¤à¤¿",href:"/privacy-policy"},{labelEn:"Terms & Conditions",labelHi:"नियम à¤à¤° शरà¥à¤¤à¥à¤",href:"/terms-and-condition"},{labelEn:"Disclaimer",labelHi:"à¤
सà¥à¤µà¥à¤à¤°à¤£",href:"/"},{labelEn:"Contact Us",labelHi:"सà¤à¤ªà¤°à¥à¤ à¤à¤°à¥à¤",href:"/contact"},{labelEn:"Grievance",labelHi:"शिà¤à¤¾à¤¯à¤¤",href:"/"}]}],I=[{label:"X (Twitter)",href:"https://x.com/jansuraajonline",icon:L.TCj},{label:"Facebook",href:"https://www.facebook.com/jansuraajofficial",icon:z.A},{label:"YouTube",href:"https://www.youtube.com/@JanSuraaj_",icon:C.A},{label:"Instagram",href:"https://www.instagram.com/jansuraajofficial",icon:P.A},{label:"LinkedIn",href:"https://www.linkedin.com/company/jansuraaj",icon:A.A}];
1function J(){let[e,a]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let e=()=>a(window.scrollY>400);return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),(0,r.jsx)("button",{onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),"aria-label":"Scroll to top",className:"fixed bottom-7 left-7 z-[9999] w-11 h-11 rounded-full bg-gradient-to-br from-amber-300 to-amber-400 text-white border-none cursor-pointer flex items-center justify-center shadow-[0_4px_16px_rgba(217,119,6,0.45)] transition-all duration-300 ".concat(e?"opacity-100 translate-y-0 scale-100 pointer-events-auto":"opacity-0 translate-y-4 scale-75 pointer-events-none"),children:(0,r.jsx)(_.A,{size:20,strokeWidth:2.5})})}function D(){let[e,a]=(0,n.useState)(""),t=(0,l.usePathname)()||"",{lang:i}=(0,N.o)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("footer",{className:"relative",children:(0,r.jsxs)(y.P.div,{initial:{opacity:.9,boxShadow:"0 0 0px rgba(245,218,11,0)"},whileInView:{opacity:1,boxShadow:"0 -30px 100px rgba(245,218,11,0.3)",transition:{duration:1.5}},viewport:{once:!1,amount:.1},style:{background:"linear-gradient(to top, #f5da0bff 0%, #ffffff 80%)"},className:"relative z-10",children:[(0,r.jsxs)("div",{className:"max-w-[1280px] mx-auto px-6 md:px-10 pt-10",children:[(0,r.jsx)("div",{className:"text-3xl sm:text-4xl font-black uppercase tracking-wider text-stone-900 mb-8",children:"hi"===i?"नà¥à¤µà¤¿à¤à¥à¤à¤°":"Navigator"}),(0,r.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-5 gap-6 md:gap-10 mb-8",children:T.map(e=>(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"text-[13px] font-extrabold uppercase tracking-widest text-amber-800 mb-3 pb-2.5 border-b-2 border-amber-800/20",children:"hi"===i?e.headingHi:e.headingEn}),(0,r.jsx)("ul",{className:"flex flex-col gap-2 list-none m-0 p-0",children:e.links.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)("a",{href:e.href,className:"text-stone-900/80 text-[15px] font-medium hover:text-amber-900 transition-all duration-150 block w-fit border-b border-transparent hover:border-amber-900/40",children:"hi"===i?e.labelHi:e.labelEn})},e.labelEn))})]},e.headingEn))}),(0,r.jsx)("div",{className:"h-px mb-6 rounded-full",style:{background:"linear-gradient(to right, transparent, rgba(146,64,14,0.3) 20%, rgba(146,64,14,0.3) 80%, transparent)"}}),(0,r.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-4 pb-5",children:[(0,r.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,r.jsx)("a",{href:"/join",className:"px-4 py-2 rounded-md border text-sm font-bold transition-colors hover:-translate-y-px ".concat("/join"===t?"bg-amber-900 text-white border-amber-900 shadow-md":"bg-white/60 text-amber-900 border-amber-900/35 hover:bg-white hover:border-amber-800"),children:"hi"===i?"à¤à¤¨ सà¥à¤°à¤¾à¤ सॠà¤à¥à¤¡à¤¼à¥à¤":"Join Jan Suraaj"}),(0,r.jsx)("a",{href:"/donate",className:"px-4 py-2 rounded-md border text-sm font-bold transition-colors hover:-translate-y-px ".concat("/donate"===t?"bg-amber-900 text-white border-amber-900 shadow-md":"bg-white/60 text-amber-900 border-amber-900/35 hover:bg-white hover:border-amber-800"),children:"hi"===i?"दान à¤à¤°à¥à¤":"Donate"}),(0,r.jsx)("a",{href:"/Parivar",className:"px-4 py-2 rounded-md border text-sm font-bold transition-colors hover:-translate-y-px ".concat(t.startsWith("/Parivar")?"bg-amber-900 text-white border-amber-900 shadow-md":"bg-white/60 text-amber-900 border-amber-900/35 hover:bg-white hover:border-amber-800"),children:"hi"===i?"परिवार":"Parivar"}),(0,r.jsx)("a",{href:"/live",className:"px-4 py-2 rounded-md border text-sm font-bold transition-colors hover:-translate-y-px ".concat("/live"===t?"bg-amber-900 text-white border-amber-900 shadow-md":"bg-white/60 text-amber-900 border-amber-900/35 hover:bg-white hover:border-amber-800"),children:"hi"===i?"लाà¤à¤µ":"Live"}),(0,r.jsx)("a",{href:"/election",className:"px-4 py-2 rounded-md border text-sm font-bold transition-colors hover:-translate-y-px ".concat("/election"===t?"bg-amber-900 text-white border-amber-900 shadow-md":"bg-white/60 text-amber-900 border-amber-900/35 hover:bg-white hover:border-amber-800"),children:"hi"===i?"à¤à¥à¤¨à¤¾à¤µ":"Election"}),(0,r.jsx)("a",{href:"/js-delhi",className:"px-4 py-2 rounded-md border text-sm font-bold transition-colors hover:-translate-y-
1px ".concat("/js-delhi"===t?"bg-amber-900 text-white border-amber-900 shadow-md":"bg-white/60 text-amber-900 border-amber-900/35 hover:bg-white hover:border-amber-800"),children:"hi"===i?"à¤à¤¨ सà¥à¤°à¤¾à¤ दिलà¥à¤²à¥":"JS Delhi"})]}),(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("span",{className:"text-[10px] font-bold uppercase tracking-[0.15em] text-amber-800 mr-1",children:"hi"===i?"हमसॠà¤à¥à¤¡à¤¼à¥à¤:":"Connect with us:"}),I.map(e=>{let a=e.icon;return(0,r.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer","aria-label":e.label,className:"w-9 h-9 rounded-full bg-white/65 border border-amber-800/20 text-amber-800 flex items-center justify-center transition-all duration-200 hover:bg-white hover:border-amber-300 hover:text-amber-900 hover:-translate-y-1 hover:scale-110 hover:shadow-[0_6px_18px_rgba(245,158,11,0.3)]",children:(0,r.jsx)(a,{size:15})},e.label)})]})]})]}),(0,r.jsx)("div",{className:"w-full overflow-hidden leading-none relative h-20 sm:h-32 md:h-56 lg:h-64",children:(0,r.jsx)(c.default,{src:"/core/janSuraajTextwhite.webp",alt:"Jan Suraaj",fill:!0,className:"object-contain object-center"})}),(0,r.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2 px-6 md:px-10 py-3.5 bg-amber-500/10 border-t border-amber-800/15",children:[(0,r.jsxs)("p",{className:"text-xs text-amber-800/60 m-0",children:["\xa9 ",new Date().getFullYear()," ","hi"===i?"à¤à¤¨ सà¥à¤°à¤¾à¤ पारà¥à¤à¥à¥¤ सरà¥à¤µà¤¾à¤§à¤¿à¤à¤¾à¤° सà¥à¤°à¤à¥à¤·à¤¿à¤¤à¥¤":"Jan Suraaj Party. All rights reserved."]}),(0,r.jsxs)("div",{className:"flex gap-5",children:[(0,r.jsx)("a",{href:"/privacy-policy",className:"text-xs text-amber-800/50 hover:text-amber-900 transition-opacity no-underline",children:"hi"===i?"à¤à¥à¤ªà¤¨à¥à¤¯à¤¤à¤¾ नà¥à¤¤à¤¿":"Privacy Policy"}),(0,r.jsx)("a",{href:"/disclaimer",className:"text-xs text-amber-800/50 hover:text-amber-900 transition-opacity no-underline",children:"hi"===i?"à¤
सà¥à¤µà¥à¤à¤°à¤£":"Disclaimer"}),(0,r.jsx)("a",{href:"/contact",className:"text-xs text-amber-800/50 hover:text-amber-900 transition-opacity no-underline",children:"hi"===i?"सà¤à¤ªà¤°à¥à¤ à¤à¤°à¥à¤":"Contact Us"})]})]})]})}),(0,r.jsx)(J,{})]})}var W=t(43633),O=t(89679);let F=()=>{let[e,a]=(0,n.useState)(!1),t=(0,N.o)();(0,n.useEffect)(()=>{a(!0)},[]);let l=e?t.lang:"hi",i="hi"===l?"à¤à¤¨ सà¥à¤°à¤¾à¤ सॠà¤à¥à¤¡à¤¼à¤¨à¥ à¤à¤µà¤ सहयà¥à¤ à¤à¤°à¤¨à¥ à¤à¥ लिठ9121691216 पर सà¤à¤ªà¤°à¥à¤ à¤à¤°à¥à¤ | ":"To join and support Jan Suraaj, contact 9121691216 | ";return(0,r.jsxs)("div",{className:"fixed top-0 left-0 right-0 h-10 bg-amber-300 border-b border-amber-400 z-[100] flex items-center overflow-hidden",children:[(0,r.jsx)("div",{className:"h-full px-4 bg-amber-400 z-20 flex items-center shadow-[4px_0_10px_rgba(0,0,0,0.1)] shrink-0",children:(0,r.jsxs)("span",{className:"flex items-center gap-2 text-amber-950 font-black text-[10px] md:text-xs uppercase tracking-tighter",children:[(0,r.jsx)(W.A,{size:14,className:"animate-bounce"}),"hi"===l?"à¤
पडà¥à¤":"Update"]})}),(0,r.jsx)("div",{className:"flex-1 overflow-hidden flex items-center h-full relative",children:(0,r.jsx)(y.P.div,{className:"whitespace-nowrap flex gap-12 items-center",animate:{x:[0,-1e3]},transition:{repeat:1/0,duration:25,ease:"linear"},children:(0,r.jsx)("span",{className:"text-amber-950 font-bold text-sm md:text-base flex items-center gap-4",children:Array.from({length:15}).map((e,a)=>(0,r.jsx)("span",{className:"flex items-center gap-2",children:(0,r.jsx)("span",{children:i})},a))})})}),(0,r.jsx)("div",{className:"hidden md:flex h-full px-4 bg-amber-300 items-center border-l border-amber-400/50 z-20",children:(0,r.jsxs)("a",{href:"tel:9121691216",className:"flex items-center gap-2 text-amber-900 font-bold text-xs hover:scale-105 transition-transform",children:[(0,r.jsx)(O.A,{size:14}),"9121691216"]})})]})};var Y=t(94979),M=t(92033),U=t(50984),G=t(22544),R=t(66942),K=t(54879),V=t(95125),B=t(18720),Z=t(71708),Q=t(6821),X=t.n(Q),$=t(39747),q=t.n($);function ee(){let{lang:e}
1=(0,N.o)(),a=(0,l.usePathname)(),[t,i]=(0,n.useState)(!1),[s,o]=(0,n.useState)(!1),[c,d]=(0,n.useState)(!1),[b,h]=(0,n.useState)("/"!==a),m="/donate"===a,x=(0,n.useMemo)(()=>K.Ik({name:K.Yj().min(2,"hi"===e?"नाम लिà¤à¥à¤":"Enter your name"),phoneNumber:K.Yj().regex(/^[0-9]{10}$/,"hi"===e?"10 à¤
à¤à¤à¥à¤ à¤à¤¾ नà¤à¤¬à¤°":"10-digit number"),subject:K.Yj().min(3,"hi"===e?"विषय दरà¥à¤ à¤à¤°à¥à¤":"Enter subject"),message:K.Yj().min(5,"hi"===e?"सà¤à¤¦à¥à¤¶ लिà¤à¥à¤":"Enter message")}),[e]);(0,n.useEffect)(()=>{if("/"!==a)return void h(!0);let e=()=>h(!0);window.addEventListener("home:ready",e);let t=setTimeout(()=>h(!0),3e3);return()=>{window.removeEventListener("home:ready",e),clearTimeout(t)}},[a]);let{register:p,handleSubmit:u,reset:g,formState:{errors:v}}=(0,G.mN)({resolver:(0,R.u)(x),defaultValues:{name:"",phoneNumber:"",subject:"",message:""}}),j=async a=>{o(!0);try{await V.A.post("".concat("https://jsp-backend-nine.vercel.app/api","/pk-ko-patra"),a),(0,Z.A)({particleCount:150,spread:70,origin:{y:.8,x:.9},colors:["#fbbf24","#f59e0b","#d97706"],zIndex:200}),d(!0),g(),setTimeout(()=>{d(!1),i(!1)},5e3)}catch(a){console.error("Error:",a),B.o.error("hi"===e?"तà¥à¤°à¥à¤à¤¿":"Error",{description:"hi"===e?"सà¤à¤¦à¥à¤¶ à¤à¥à¤à¤¨à¥ मà¥à¤ विफल। à¤à¥à¤ªà¤¯à¤¾ पà¥à¤¨: पà¥à¤°à¤¯à¤¾à¤¸ à¤à¤°à¥à¤à¥¤":"Failed to send your message. Please try again."})}finally{o(!1)}};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("style",{children:"\n @keyframes pulse-ring {\n 0% { transform: scale(0.95); opacity: 0.8; }\n 50% { transform: scale(1.1); opacity: 0; }\n 100% { transform: scale(0.95); opacity: 0; }\n }\n .animate-pulse-slow {\n animation: pulse-ring 3s infinite;\n }\n "}),(0,r.jsx)(w.N,{children:b&&!t&&!c&&(0,r.jsxs)(y.P.div,{initial:{scale:0,opacity:0,x:20},animate:{scale:1,opacity:1,x:0,y:[0,-5,0]},exit:{scale:0,opacity:0,x:20},transition:{y:{duration:3,repeat:1/0,ease:"easeInOut"},scale:{type:"spring",stiffness:260,damping:20}},className:"fixed bottom-4 md:bottom-6 z-[100] ".concat(m?"left-4 md:left-auto md:right-8":"right-4 md:right-8"),children:[(0,r.jsx)("div",{className:"absolute inset-0 bg-amber-400/30 rounded-2xl animate-pulse-slow -z-1"}),(0,r.jsxs)("button",{onClick:()=>i(!0),className:"relative bg-gradient-to-br from-amber-300 via-amber-400 to-amber-500 text-amber-950 rounded-xl md:rounded-2xl shadow-[0_15px_40px_rgba(217,119,6,0.35)] flex items-center gap-2 md:gap-3 transition-all hover:scale-105 active:scale-95 group border border-white/40 overflow-hidden ".concat(m?"px-3 md:px-7 py-1.5 md:py-3.5":"px-5 md:px-7 py-2.5 md:py-3.5"),children:[(0,r.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-transparent via-white/20 to-transparent -translate-x-full group-hover:translate-x-full transition-transform duration-700"}),(0,r.jsx)("div",{className:"bg-amber-950/10 p-1.5 md:p-2 rounded-xl group-hover:bg-amber-950/20 transition-colors shrink-0",children:(0,r.jsx)(Y.A,{className:"w-4 h-4 md:w-5 md:h-5 -rotate-12"})}),(0,r.jsx)("span",{className:"font-normal tracking-tight leading-none pt-1 ".concat(q().className," text-lg md:text-xl"),children:"hi"===e?"PK à¤à¥ पतà¥à¤° लिà¤à¥à¤":"Write Letter to PK"}),(0,r.jsx)("div",{className:"absolute -bottom-1.5 right-6 w-3 h-3 bg-amber-500 rotate-45"})]})]})}),(0,r.jsx)(w.N,{children:t&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(y.P.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},onClick:()=>i(!1),className:"fixed inset-0 z-[100] bg-black/5 backdrop-blur-[2px]"}),(0,r.jsx)("div",{className:"fixed bottom-16 md:bottom-20 z-[101] w-[calc(100vw-32px)] md:w-[340px] ".concat(m?"left-4 md:left-auto md:right-8":"right-4 md:right-8"),children:(0,r.jsxs)(y.P.div,{initial:{opacity:0,y:20,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:20,scale:.95},className:"bg-white rounded-[2.5rem] shadow-[0_30px_100px_rgba(0,0,0,0.25)] border border-white/20 overflow-hidden",onClick:e=>e.stopPropagation(),children:[(0,r.jsxs)("div",{className:"relative bg-amber-400 px-6 py-6 overflow-hidden",children:[(0,r.jsx)("div",{className:"absolute top-0 right-0 p-4 opacity-10",children:(0,r.jsx)(Y.A,{className:"w-20 h-20 -rotate-12"})}),(0,r.jsxs)("div",{className:"relative z-10 flex items-center justify-between",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{className:"".concat(X().className," text-amber-950 font-bold text-2xl leading-tight"),children:"hi"===e?"पà¥à¤°à¤¶à¤¾à¤à¤¤ à¤à¤¿à¤¶à¥à¤° à¤à¥ पतà¥à¤°":"Letter to Prashant Kishor"}),(0,r.jsx)("p",{className:"text-amber-950/60 text-[10px] font-black uppercase tracking-[0.2em] mt-1",children:"Jan Suraaj Initiative"})]}),(0,r.jsx)("button",{onClick:()=>i(!1),className:"w-10 h-10 rounded-full bg-white/20 flex items-center justify-center hover:bg-white/40 transition-all active:scale-95",children:(0,r.jsx)(f.A,{className:"w-5 h-5 text-amber-950"})})]})]}),(0,r.jsx)("div",{className:"p-6 bg-white space-y-4 min-h-[300px] flex flex-col justify-center",children:(0,r.jsx)(w.N,{mode:"wait",children:c?(0,r.jsxs)(y.P.div,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},className:"text-center space-y-6 py-8",children:[(0,r.jsx)("div",{className:"w-20 h-20 bg-amber-400 rounded-full flex items-center justify-center mx-auto shadow-2xl shadow-amber-200 border-4 border-white animate-bounce",children:(0,r.jsx)(U.A,{size:36,className:"text-white"})}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)("h3",{className:"text-2xl font-black text-slate-900 leading-tight",children:"hi"===e?"धनà¥à¤¯à¤µà¤¾à¤¦ !":"Thank You!"}),(0,r.jsx)("p",{className:"text-sm text-slate-500 font-bold",children:"hi"===e?"पà¥à¤°à¤¶à¤¾à¤à¤¤ à¤à¤¿à¤¶à¥à¤° à¤à¥ पतà¥à¤° लिà¤à¤¨à¥ à¤à¥ लिठधनà¥à¤¯à¤µà¤¾à¤¦, हमारॠà¤à¥à¤® à¤à¤ªà¤¸à¥ à¤à¤²à¥à¤¦ सà¤à¤ªà¤°à¥à¤ à¤à¤°à¥à¤à¥à¥¤":"Thank you for writing to Prashant Kishor. Our team will c
1ontact you soon."}),(0,r.jsx)("p",{className:"text-slate-500 text-[10px] font-medium",children:"hi"===e?"à¤
धिठà¤à¤¾à¤¨à¤à¤¾à¤°à¥ à¤à¥ लिठ9121691216 पर सà¤à¤ªà¤°à¥à¤ à¤à¤°à¥à¤à¥¤":"For more information, please contact 9121691216."})]}),(0,r.jsxs)("a",{href:"tel:9121691216",className:"py-3 px-4 bg-amber-50 rounded-2xl border border-amber-100 inline-flex items-center gap-3 hover:bg-amber-100 transition-colors",children:[(0,r.jsx)(O.A,{size:16,className:"text-amber-600"}),(0,r.jsx)("span",{className:"text-amber-900 text-sm font-black tracking-widest",children:"9121691216"})]})]},"success"):(0,r.jsxs)(y.P.form,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},exit:{opacity:0,x:20},onSubmit:u(j),className:"space-y-4",children:[(0,r.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[(0,r.jsxs)("div",{className:"space-y-1.5",children:[(0,r.jsx)("label",{className:"text-[10px] font-black text-amber-800 uppercase tracking-widest ml-1 opacity-70",children:"hi"===e?"à¤à¤ªà¤à¤¾ नाम":"Your Name"}),(0,r.jsx)("input",{...p("name"),placeholder:"hi"===e?"नाम":"Name",className:"w-full bg-amber-50/50 border border-amber-100 rounded-2xl py-3 px-4 text-sm focus:border-amber-400 focus:bg-white transition-all outline-none text-amber-950 font-bold placeholder:font-normal"}),v.name&&(0,r.jsx)("p",{className:"text-red-500 text-[9px] px-1 font-bold",children:v.name.message})]}),(0,r.jsxs)("div",{className:"space-y-1.5",children:[(0,r.jsx)("label",{className:"text-[10px] font-black text-amber-800 uppercase tracking-widest ml-1 opacity-70",children:"hi"===e?"मà¥à¤¬à¤¾à¤à¤²":"Mobile"}),(0,r.jsx)("input",{...p("phoneNumber"),type:"tel",maxLength:10,onInput:e=>{e.currentTarget.value=e.currentTarget.value.replace(/[^0-9]/g,"").slice(0,10)},placeholder:"hi"===e?"10 à¤
à¤à¤":"10 Digits",className:"w-full bg-amber-50/50 border border-amber-100 rounded-2xl py-3 px-4 text-sm focus:border-amber-400 focus:bg-white transition-all outline-none text-amber-950 font-bold placeholder:font-normal"}),v.phoneNumber&&(0,r.jsx)("p",{className:"text-red-500 text-[9px] px-1 font-bold",children:v.phoneNumber.message})]})]}),(0,r.jsxs)("div",{className:"space-y-1.5",children:[(0,r.jsx)("label",{className:"text-[10px] font-black text-amber-800 uppercase tracking-widest ml-1 opacity-70",children:"hi"===e?"विषय":"Subject"}),(0,r.jsx)("input",{...p("subject"),placeholder:"hi"===e?"à¤à¥à¤¯à¤¾ मà¥à¤à¥à¤¯ बात हà¥?":"Main Point?",className:"w-full bg-amber-50/50 border border-amber-100 rounded-2xl py-3 px-4 text-sm focus:border-amber-400 focus:bg-white transition-all outline-none text-amber-950 font-bold"}),v.subject&&(0,r.jsx)("p",{className:"text-red-500 text-[9px] px-1 font-bold",children:v.subject.message})]}),(0,r.jsxs)("div",{className:"space-y-1.5",children:[(0,r.jsx)("label",{className:"text-[10px] font-black text-amber-800 uppercase tracking-widest ml-1 opacity-70",children:"hi"===e?"à¤à¤ªà¤à¤¾ सà¤à¤¦à¥à¤¶":"Your Message"}),(0,r.jsx)("textarea",{...p("message"),rows:3,placeholder:"hi"===e?"यहाठविसà¥à¤¤à¤¾à¤° सॠलिà¤à¥à¤...":"Write details here...",className:"w-full bg-amber-50/50 border border-amber-100 rounded-2xl py-3 px-4 text-sm focus:border-amber-400 focus:bg-white transition-all outline-none resize-none text-amber-950 font-bold"}),v.message&&(0,r.jsx)("p",{className:"text-red-500 text-[9px] px-1 font-bold",children:v.message.message})]}),(0,r.jsx)("button",{type:"submit",disabled:s,className:"w-full bg-amber-950 text-amber-50 font-black py-4 rounded-2xl transition-all hover:bg-black active:scale-[0.98] disabled:opacity-50 mt-2 shadow-2xl shadow-amber-950/20 text-xs uppercase tracking-widest",children:s?(0,r.jsx)(M.A,{className:"w-5 h-5 animate-spin mx-auto"}):(0,r.jsx)("span",{children:"hi"===e?"पतà¥à¤° à¤à¥à¤à¥à¤":"Send Letter"})})]},"form")})}),(0,r.jsx)("div",{className:"px-6 py-4 bg-gray-50 border-t border-gray-100 flex items-center justify-center",children:(0,r.jsx)("span",{className:"text-[8px] font-black text-gray-400 uppercase tracking-[0.4em]",children:"Jan Suraaj Official Portal"})})]})})]})})]})}let ea=(0,i.default)(()=>Promise.all([t.e(6711),t.e(7902)]).then(t.bind(t,47902)),{loadableGenerated:{webpack:()=>[47902]},ssr:!1}),et=(0,i.default)(()=>Promise.all([t.e(9253),t.e(5181)]).then(t.bind(t,45181)),{loadableGenerated:{webpack:()=>[45181]},ssr:!1}),er=(0,i.default)(()=>t.e(8002).then(t.bind(t,68002)),{loadableGenerated:{webpack:()=>[68002]},ssr:!1});function el(e){let{children:a}=e,t=["/","/journey","/live"].includes((0,l.usePathname)()||"");return(0,r.jsx)(N.LanguageProvider,{children:(0,r.jsxs)("div",{className:"flex flex-col min-h-screen overflow-x-hidden pt-10",children:[(0,r.jsx)(F,{}),(0,r.jsx)(S,{}),(0,r.jsx)("main",{className:"flex-grow",children:a}),(0,r.jsx)(ee,{}),(0,r.jsx)(ea,{}),(0,r.jsx)(et,{}),(0,r.jsx)(D,{}),t&&(0,r.jsx)(er,{})]})})}(0,i.default)(()=>t.e(9869).then(t.bind(t,39869)),{loadableGenerated:{webpack:()=>[39869]},ssr:!1})}},e=>{e.O(0,[2099,6446,6370,5634,1356,2619,3234,9831,8720,7692,1955,6276,451,8441,1255,7358],()=>e(e.s=63451)),_N_E=e.O()}]);
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.