1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,844735,e=>{"use strict";var t=e.i(271645);let s=t.forwardRef(function({title:e,titleId:s,...a},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":s},a),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"}))});e.s(["ChevronDownIcon",0,s],844735)},474121,427217,39875,925489,e=>{"use strict";var t=e.i(271645);let s=t.forwardRef(function({title:e,titleId:s,...a},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":s},a),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"}))});e.s(["Bars3Icon",0,s],474121);let a=t.forwardRef(function({title:e,titleId:s,...a},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":s},a),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))});e.s(["XMarkIcon",0,a],427217);let n=t.forwardRef(function({title:e,titleId:s,...a},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":s},a),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"}))});e.s(["MagnifyingGlassIcon",0,n],39875);let o=t.forwardRef(function({title:e,titleId:s,...a},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":s},a),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 9V5.25A2.25 2.25 0 0 0 13.5 3h-6a2.25 2.25 0 0 0-2.25 2.25v13.5A2.25 2.25 0 0 0 7.5 21h6a2.25 2.25 0 0 0 2.25-2.25V15m3 0 3-3m0 0-3-3m3 3H9"}))});e.s(["ArrowRightOnRectangleIcon",0,o],925489)},431310,e=>{"use strict";var t=e.i(843476),s=e.i(846932),a=e.i(88653),n=e.i(271645),o=e.i(522016),r=e.i(657688),i=e.i(618566),l=e.i(474121),c=e.i(427217),d=e.i(39875),m=e.i(925489),u=e.i(844735);let h=[{name:"Home",href:"/"},{name:"About Us",href:"/about/history",children:[{name:"History",href:"/about/history"},{name:"About the Auspices",href:"/about/auspices"},{name:"WUIP Policy Manual",href:"/about/policy-manual"},{name:"The Mission",href:"/about/mission"},{name:"Executive Committee",href:"/about/executive-committee"},{name:"Constitution",href:"/about/constitution"}]},{name:"Committees",href:"/committees/education-committee",children:[{name:"Emeritus President Council",href:"/committees/emeritus-president-council"},{name:"Education Committee",href:"/committees/education-committee"},{name:"Scientific Committee",href:"/committees/scientific-committee"},{name:"WUIP Engagement Working Group",href:"/committees/engagement-working-group"},{name:"Communications and Public Relations",href:"/committees/communications-public-relations"},{name:"Congresses and Events",href:"/committees/congresses-events"},{name:"Consensus and Guidelines",href:"/committees/consensus-guidelines"},{name:"Constitutional Reform",href:"/committees/constitutional-reform"}]},{name:"Join WUIP",href:"/join-WUIP"},{name:"Societies",href:"/societies"},{name:"Member Directory",href:"/member-directory"},{name:"Events Calendar",href:"/conferences"},{name:"News",href:"/news"},{name:"Gallery",href:"/gallery"},{name:"Newsletters",href:"/newsletter"},{name:"Journals",href:"/journals"},{name:"Contact Us",href:"/contact-us"}],x=[{title:"About WUIP",desc:"Heritage, vision, and overview of the International Union of Phlebology.",href:"/about/history",tags:["about","history","WUIP","international","union","phlebology"]},{title:"History",desc:"The story of the WUIP from its founding in 1959 through to the present day.",href:"/about/history",tags:["history","foun
1ding","1959","timeline","meyrargues"]},{title:"Mission",desc:"The mission, purpose and objectives of the WUIP.",href:"/about/mission",tags:["mission","purpose","objectives","awareness","education","research"]},{title:"Executive Committee",desc:"Profiles of the WUIP Executive Committee 2025â2029.",href:"/about/executive-committee",tags:["executive","committee","president","secretary","treasurer","leadership","wuip"]},{title:"Constitution",desc:"Legal governance structure and constitution of the WUIP.",href:"/about/constitution",tags:["constitution","governance","legal","rules","corporations"]},{title:"Auspices",desc:"How to apply for WUIP auspices for your medical event.",href:"/about/auspices",tags:["auspices","events","congress","logo","recognition","application"]},{title:"WUIP Policy Manual",desc:"Policies and procedures governing the WUIP.",href:"/about/policy-manual",tags:["policy","manual","procedure","governance","code","conduct"]},{title:"Education Committee",desc:"Improving standards of knowledge, education and training in phlebology worldwide.",href:"/committees/education-committee",tags:["education","committee","training","knowledge","standards"]},{title:"Scientific Committee",desc:"Promoting scientific research and academic initiatives in phlebology.",href:"/committees/scientific-committee",tags:["scientific","committee","research","science","academic"]},{title:"Engagement Working Group",desc:"Strengthening collaboration and engagement across WUIP member societies.",href:"/committees/engagement-working-group",tags:["engagement","working","group","collaboration","awareness"]},{title:"Consensus & Guidelines",desc:"Developing consensus documents and clinical guidelines in phlebology.",href:"/committees/consensus-guidelines",tags:["consensus","guidelines","clinical","standards","documents"]},{title:"Congresses & Events",desc:"Organisation of WUIP world congresses and major scientific events.",href:"/committees/congresses-events",tags:["congress","events","world","meetings","scientific"]},{title:"Communications & PR",desc:"Managing WUIP communications, newsletters and public relations.",href:"/committees/communications-public-relations",tags:["communications","public","relations","newsletter","media","social"]},{title:"Societies",desc:"Browse and connect with WUIP member societies from around the world.",href:"/societies",tags:["societies","members","countries","national","join"]},{title:"Conferences",desc:"Upcoming and past conferences, congresses and symposia.",href:"/conferences",tags:["conferences","congresses","events","upcoming","symposia"]},{title:"News",desc:"Latest news and announcements from the WUIP.",href:"/news",tags:["news","announcements","updates","latest"]},{title:"Journals",desc:"WUIP-affiliated journals and scientific publications in phlebology.",href:"/journals",tags:["journals","publications","research","papers","science"]},{title:"Gallery",desc:"Photo and video gallery from WUIP events and congresses.",href:"/gallery",tags:["gallery","photos","videos","events","media"]},{title:"Newsletter",desc:"Subscribe to and read the latest WUIP newsletters.",href:"/newsletter",tags:["newsletter","subscribe","bulletin","updates"]},{title:"Member Directory",desc:"Directory of WUIP member societies and professional contacts.",href:"/member-directory",tags:["members","directory","contacts","societies","professionals"]},{title:"Contact Us",desc:"Get in touch with the WUIP office or executive director.",href:"/contact-us",tags:["contact","email","office","director","help"]},{title:"Join WUIP",desc:"Learn how to join the International Union of Phlebology and connect your society.",href:"/join-WUIP",tags:["join","register","apply","membership","society"]}];function p(){let[e,p]=(0,n.useState)(!1),[f,b]=(0,n.useState)(!1),[g,v]=(0,n.useState)(""),[w,y]=(0,n.useState)([]),[k,j]=(0,n.useState)(null),[N,C]=(0,n.useState)(!1),[E,I]=(0,n.useState)(!1),[U,P]=(0,n.useState)(null),[W,B]=(0,n.useState)(null),A=(0,n.useRef)(null),M=(0,n.useRef)(null);(0,n.useRef)(null);let S=(0,i.useRouter)(),L=(0,i.usePathname)(),D=()=>
1{if(!U)return`/dashboard/${W}`;let e=Array.isArray(U)?U:[U];return L.startsWith("/society-member")&&e.includes("society_member")?"/society-member/dashboard":L.startsWith("/society-admin")&&e.includes("society_admin")?"/society-admin/dashboard":L.startsWith("/super-admin")&&e.includes("super_admin")?"/super-admin":L.startsWith("/admin")&&e.includes("admin")?"/admin":L.startsWith("/editor")&&e.includes("editor")?"/editor":e.includes("super_admin")?"/super-admin":e.includes("society_admin")?"/society-admin/dashboard":e.includes("society_member")?"/society-member/dashboard":e.includes("admin")?"/admin":e.includes("editor")?"/editor":`/dashboard/${W}`},R="/login"===L||"/register-society"===L,O=h.find(e=>"About Us"===e.name),T=h.find(e=>"Committees"===e.name),G=h.filter(e=>["Home","Join WUIP","Societies"].includes(e.name)),_=h.filter(e=>!["Home","About Us","Committees","Join WUIP","Societies","Member Directory"].includes(e.name)),H=h.find(e=>"Member Directory"===e.name);(0,n.useEffect)(()=>{b(!0);let e=localStorage.getItem("token")||sessionStorage.getItem("token"),t=localStorage.getItem("role")||sessionStorage.getItem("role"),s=localStorage.getItem("userId")||sessionStorage.getItem("userId");if(e&&t&&s){let e;try{let s=JSON.parse(t);e=Array.isArray(s)?s:[s]}catch{e=[t]}I(!0),P(e),B(s)}let a=()=>{C(window.scrollY>20)};return window.addEventListener("scroll",a),()=>window.removeEventListener("scroll",a)},[]),(0,n.useEffect)(()=>{function e(e){A.current&&!A.current.contains(e.target)&&j(null),M.current&&!M.current.contains(e.target)&&y([])}return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),(0,n.useEffect)(()=>(e?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[e]),(0,n.useEffect)(()=>{g.trim()?y(x.map(e=>({item:e,score:function(e,t){let s=t.toLowerCase().split(/\s+/).filter(Boolean),a=0;for(let t of s)e.title.toLowerCase().includes(t)&&(a+=10),e.desc.toLowerCase().includes(t)&&(a+=5),e.tags.some(e=>e.includes(t))&&(a+=3),e.href.toLowerCase().includes(t)&&(a+=2);return a}(e,g)})).filter(({score:e})=>e>0).sort((e,t)=>t.score-e.score).map(({item:e})=>e).slice(0,6)):y([])},[g]);let J=async()=>{localStorage.clear(),sessionStorage.removeItem("token"),sessionStorage.removeItem("refreshToken"),sessionStorage.removeItem("role"),sessionStorage.removeItem("userId"),document.cookie="token=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="role=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",I(!1),P(null),B(null),p(!1),window.location.href="/login"},$=E&&(Array.isArray(U)?U.includes("society_admin"):"society_admin"===U),z=E&&(Array.isArray(U)?U.includes("society_member"):"society_member"===U),F=(e,t,s)=>{(e.preventDefault(),s?.closeMenu&&p(!1),s?.closeDropdown&&j(null),s?.clearSearch&&(v(""),y([])),L===t)?window.scrollTo({top:0,behavior:"smooth"}):(S.push(t,{scroll:!0}),requestAnimationFrame(()=>{window.scrollTo({top:0,behavior:"auto"})}))};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("header",{className:"fixed top-0 left-0 right-0 z-50 w-full",children:(0,t.jsx)(s.motion.nav,{initial:!1,animate:{backgroundColor:"#ffffff",borderBottom:"1px solid rgba(0, 0, 0, 0.05)",backdropFilter:"blur(16px)",boxShadow:N?"0 10px 30px -10px rgba(0,0,0,0.1)":"none"},transition:{duration:.5,ease:"easeInOut"},className:"w-full h-16 sm:h-20",children:(0,t.jsxs)("div",{className:"w-full max-w-[1600px] mx-auto h-full flex justify-between items-center gap-2 xl:gap-8 px-6 sm:px-10 lg:px-12",children:[(0,t.jsxs)(o.default,{href:"/",onClick:e=>F(e,"/"),className:"flex items-center gap-4 shrink-0 group/logo",children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-white/20 blur-xl rounded-full scale-0 group-hover/logo:scale-110 transition-transform duration-700"}),(0,t.jsx)("div",{className:"relative border border-black/10 rounded-2xl p-1 bg-black/5 backdrop-blur-md",children:(0,t.jsx)(r.default,{src:"/img/WUIP1.webp",alt:"WUIP Logo",width:40,height:40,className:"object-contain transition-all duration-500 rounded-xl"})})]}),(0,t.jsxs)("div",{className:"hidden sm:block whitespace-nowrap",children:[(0,t.jsx)("p",{className:"text-[10px] xl:text-[11px] font-black leading-tight text-black uppercase tracking-[0.2em] opacity-60",children:"World Union of International"}),(0,t.jsx)("p",{className:"text-[12px] xl:text-[13px] font-black leading-tight text-[#397EB5] tracking-[0.1em] uppercase",children:"Phlebolymphology"})]})]}),(0,t.jsxs)("div",{className:"hidden lg:flex flex-1 justify-center items-center gap-1 xl:gap-2",ref:A,children:[G.map(e=>(0,t.jsxs)(o.default,{href:e.href,onClick:t=>F(t,e.href),className:"group relative px-3 xl:px-4 py-2 text-[10px] xl:text-[11px] font-bold text-black hover:text-[#397EB5] uppercase tracking-[0.15em] transition-all duration-300",children:[e.name,(0,t.jsx)(s.motion.span,{className:"absolute bottom-1 left-1/2 -translate-x-1/2 w-1 h-1 bg-[#397EB5] rounded-full scale-0 group-hover:scale-100 transition-transform duration-300 shadow-[0_0_8px_rgba(57,126,181,0.8)]"})]},e.name)),O&&O.children&&(0,t.jsxs)("div",{className:"relative",onMouseEnter:()=>j("About Us"),onMouseLeave:()=>j(null),children:[(0,t.jsx)("div",{className:"absolute top-full left-0 w-full h-6 bg-transparent"}),(0,t.jsxs)("button",{type:"button",onClick:()=>j("About Us"===k?null:"About Us"),className:`group relative inline-flex items-center gap-1 px-3 xl:px-4 py-2 text-[10px] xl:text-[11px] font-bold uppercase tracking-[0.15em] transition-all duration-300 ${"About Us"===k?"text-[#397EB5]":"text-black hover:text-[#397EB5]"}`,children:[(0,t.jsx)("span",{children:"About Us"}),(0,t.jsx)(u.ChevronDownIcon,{className:`h-3 w-3 transition-transform duration-300 ${"About Us"===k?"rotate-180":""}`})]}),(0,t.jsx)(a.AnimatePresence,{children:"About Us"===k&&(0,t.jsx)(s.motion.div,{initial:{opacity:0,y:10,scale:.95}
1,animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:10,scale:.95},className:"absolute left-1/2 -translate-x-1/2 top-full mt-4 w-64 rounded-3xl bg-white/95 backdrop-blur-2xl border border-black/10 p-2 shadow-2xl z-[100]",children:O.children.map(e=>(0,t.jsx)(o.default,{href:e.href,onClick:t=>F(t,e.href,{closeDropdown:!0}),className:"group relative flex items-center rounded-2xl px-4 py-2.5 text-[10px] font-bold uppercase tracking-widest text-slate-600 hover:bg-slate-100 hover:text-[#397EB5] transition-all",children:e.name},e.name))})})]}),T&&T.children&&(0,t.jsxs)("div",{className:"relative",onMouseEnter:()=>j("Committees"),onMouseLeave:()=>j(null),children:[(0,t.jsx)("div",{className:"absolute top-full left-0 w-full h-6 bg-transparent"}),(0,t.jsxs)("button",{type:"button",onClick:()=>j("Committees"===k?null:"Committees"),className:`group relative inline-flex items-center gap-1 px-3 xl:px-4 py-2 text-[10px] xl:text-[11px] font-bold uppercase tracking-[0.15em] transition-all duration-300 ${"Committees"===k?"text-[#397EB5]":"text-black hover:text-[#397EB5]"}`,children:[(0,t.jsx)("span",{children:"Committees"}),(0,t.jsx)(u.ChevronDownIcon,{className:`h-3 w-3 transition-transform duration-300 ${"Committees"===k?"rotate-180":""}`})]}),(0,t.jsx)(a.AnimatePresence,{children:"Committees"===k&&(0,t.jsx)(s.motion.div,{initial:{opacity:0,y:10,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:10,scale:.95},className:"absolute left-1/2 -translate-x-1/2 top-full mt-4 w-72 rounded-3xl bg-white/95 backdrop-blur-2xl border border-black/10 p-2 shadow-2xl z-[100]",children:T.children.map(e=>(0,t.jsx)(o.default,{href:e.href,onClick:t=>F(t,e.href,{closeDropdown:!0}),className:"group relative flex items-center rounded-2xl px-4 py-2.5 text-[10px] font-bold uppercase tracking-widest text-slate-600 hover:bg-slate-100 hover:text-[#397EB5] transition-all",children:e.name},e.name))})})]}),_.length>0&&(0,t.jsxs)("div",{className:"relative",onMouseEnter:()=>j("More"),onMouseLeave:()=>j(null),children:[(0,t.jsx)("div",{className:"absolute top-full left-0 w-full h-6 bg-transparent"}),(0,t.jsxs)("button",{type:"button",onClick:()=>j("More"===k?null:"More"),className:`group relative inline-flex items-center gap-1 px-3 xl:px-4 py-2 text-[10px] xl:text-[11px] font-bold uppercase tracking-[0.15em] transition-all duration-300 ${"More"===k?"text-[#397EB5]":"text-black hover:text-[#397EB5]"}`,children:[(0,t.jsx)("span",{children:"More"}),(0,t.jsx)(u.ChevronDownIcon,{className:`h-3 w-3 transition-transform duration-300 ${"More"===k?"rotate-180":""}`})]}),(0,t.jsx)(a.AnimatePresence,{children:"More"===k&&(0,t.jsxs)(s.motion.div,{initial:{opacity:0,y:10,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:10,scale:.95},className:"absolute left-1/2 -translate-x-1/2 top-full mt-4 w-64 rounded-3xl bg-white/95 backdrop-blur-2xl border border-black/10 p-2 shadow-2xl z-[100]",children:[E&&H&&(0,t.jsx)(o.default,{href:H.href,onClick:e=>F(e,H.href,{closeDropdown:!0}),className:"group relative flex items-center rounded-2xl px-4 py-2.5 text-[10px] font-bold uppercase tracking-widest text-slate-600 hover:bg-slate-100 hover:text-[#397EB5] transition-all",children:H.name}),_.map(e=>(0,t.jsx)(o.default,{href:e.href,onClick:t=>F(t,e.href,{closeDropdown:!0}),className:"group relative flex items-center rounded-2xl px-4 py-2.5 text-[10px] font-bold uppercase tracking-widest text-slate-600 hover:bg-slate-100 hover:text-[#397EB5] transition-all",children:e.name},e.name))]})})]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-3 shrink-0",children:[(0,t.jsxs)("div",{className:"hidden xl:block relative",ref:M,children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("input",{type:"search",name:"uip-search-desktop",id:"uip-search-desktop",autoComplete:"one-time-code",spellCheck:"false",autoCorrect:"off",placeholder:"Search site...",value:g,onChange:e=>v(e.target.value),className:`peer bg-black/10 border border-black/20 rounded-full py-2 pl-9 pr-3 text-[11px] text-black placeholder-black/40 focus:outline-none focus:border-[#397EB5]/50 transition-all duration-700 cursor-pointer focus:cursor-text overflow-hidden ${g?"w-48":"w-12 hover:w-48"} focus:w-48`}),(0,t.jsx)(d.MagnifyingGlassIcon,{className:`pointer-events-none absolute top-1/2 h-4 w-4 -translate-y-1/2 transition-all duration-300 ${g?"left-3 translate-x-0 text-[#397EB5]":"left-1/2 -translate-x-1/2 text-black/60 peer-hover:left-3 peer-hover:translate-x-0 peer-focus:left-3 peer-focus:translate-x-0"}`})]}),(0,t.jsx)(a.AnimatePresence,{children:w.length>0&&(0,t.jsx)(s.motion.div,{initial:{opacity:0,y:10}
1,animate:{opacity:1,y:0},exit:{opacity:0,y:10},className:"absolute right-0 top-full mt-4 w-[320px] rounded-3xl bg-white/95 backdrop-blur-2xl border border-black/10 p-2 shadow-2xl",children:(0,t.jsx)("div",{className:"max-h-[300px] overflow-y-auto custom-scrollbar",children:w.map(e=>(0,t.jsxs)(o.default,{href:e.href,onClick:t=>F(t,e.href,{clearSearch:!0}),className:"flex flex-col rounded-2xl px-4 py-3 hover:bg-white/[0.05] transition-all",children:[(0,t.jsx)("span",{className:"text-[11px] font-bold text-black group-hover:text-[#397EB5]",children:e.title}),(0,t.jsx)("span",{className:"text-[9px] text-black/30 truncate",children:e.desc})]},e.href))})})})]}),f?E?(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(o.default,{href:D(),className:"inline-flex h-10 items-center justify-center rounded-full bg-[#397EB5] px-6 text-[10px] font-black text-white hover:scale-105 active:scale-95 transition-all duration-300 shadow-lg shadow-[#397EB5]/10",children:"DASHBOARD"}),!z&&!$&&!R&&(0,t.jsx)("button",{onClick:J,className:"hidden lg:flex h-10 w-10 items-center justify-center rounded-full bg-black/5 border border-black/10 text-black hover:bg-black/10 transition-all duration-300 group",title:"Log Out",children:(0,t.jsx)(m.ArrowRightOnRectangleIcon,{className:"h-4 w-4 text-white/40 group-hover:text-[#397EB5] transition-colors"})})]}):(0,t.jsx)(o.default,{href:"/login",className:"hidden sm:inline-flex h-10 items-center justify-center rounded-full bg-[#397EB5] px-6 text-[10px] font-black text-white hover:bg-[#354F70] hover:scale-105 active:scale-95 transition-all duration-300 tracking-widest shadow-lg shadow-[#397EB5]/20",children:"LOG IN"}):(0,t.jsx)("div",{className:"hidden sm:block w-[120px] h-10"}),(0,t.jsx)("button",{type:"button",onClick:()=>p(!0),className:"lg:hidden h-10 w-10 flex items-center justify-center rounded-full bg-black/5 border border-black/10 text-black",children:(0,t.jsx)(l.Bars3Icon,{className:"h-5 w-5"})})]})]})})}),e&&(0,t.jsxs)("div",{className:"lg:hidden fixed inset-0 z-[100]",id:"mobile-menu","aria-hidden":!e,children:[(0,t.jsx)("div",{className:"fixed inset-0 bg-black/20 backdrop-blur-md transition-opacity duration-300",onClick:()=>p(!1)}),(0,t.jsxs)("div",{className:"fixed inset-y-0 right-0 w-[85%] sm:w-full sm:max-w-md bg-white shadow-2xl flex flex-col transform transition-transform duration-500 ease-out",children:[(0,t.jsxs)("div",{className:"flex-none flex items-center justify-between px-6 py-6 border-b border-black/5 bg-white z-10",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(r.default,{src:"/img/WUIP1.webp",alt:"WUIP Logo",width:50,height:50,className:"object-contain"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-sm font-bold text-black leading-tight uppercase tracking-tight",children:"World Union of International"}),(0,t.jsx)("p",{className:"text-[13px] font-bold text-[#397EB5] leading-tight tracking-tight",children:"Phlebolymphology"})]})]}),(0,t.jsx)("button",{type:"button",onClick:()=>p(!1),className:"rounded-full p-2.5 text-black/70 hover:text-black hover:bg-black/10 transition-all","aria-label":"Close menu",children:(0,t.jsx)(c.XMarkIcon,{className:"h-6 w-6"})})]}),(0,t.jsxs)("div",{className:"flex-1 overflow-y-auto px-6 py-8 overscroll-contain",children:[(0,t.jsxs)("div",{className:"mb-8 relative",children:[(0,t.jsxs)("form",{onSubmit:e=>{e.preventDefault()},className:"relative group",children:[(0,t.jsx)("input",{type:"search",name:"uip-search-mobile",id:"uip-search-mobile",autoComplete:"one-time-code",spellCheck:"false",autoCorrect:"off",placeholder:"Search WUIP resources...",value:g,onChange:e=>v(e.target.value),className:"w-full rounded-2xl border border-black/10 bg-black/5 py-4 pl-12 pr-4 text-base text-black placeholder-black/40 focus:border-[#397EB5]/50 focus:bg-black/10 focus:outline-none transition-all"}),(0,t.jsx)("div",{className:"absolute left-4 top-1/2 -translate-y-1/2 text-black/30 group-focus-within:text-[#397EB5] transition-colors",children:(0,t.jsx)(d.MagnifyingGlassIcon,{className:"h-5 w-5"})})]}),(0,t.jsx)(a.AnimatePresence,{children:w.length>0&&g.trim()&&(0,t.jsx)(s.motion.div,{initial:{opacity:0,height:0}
1,animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},className:"mt-4 rounded-2xl bg-black/[0.03] border border-black/10 p-2 overflow-hidden",children:w.map(e=>{var s;return(0,t.jsxs)(o.default,{href:e.href,onClick:t=>F(t,e.href,{closeMenu:!0,clearSearch:!0}),className:"flex flex-col rounded-xl px-4 py-3 hover:bg-black/5",children:[(0,t.jsx)("span",{className:"text-[9px] font-bold text-[#397EB5] uppercase tracking-widest mb-0.5",children:(s=e.href).startsWith("/about")?"About":s.startsWith("/committees")?"Committees":s.startsWith("/conferences")?"Conferences":s.startsWith("/societies")?"Societies":s.startsWith("/news")?"News":s.startsWith("/journals")?"Journals":"General"}),(0,t.jsx)("span",{className:"text-sm font-bold text-black",children:e.title})]},e.href)})})})]}),f?E?(0,t.jsxs)("div",{className:"mb-10 grid grid-cols-1 gap-3",children:[(0,t.jsx)(o.default,{href:D(),onClick:()=>p(!1),className:"flex items-center justify-center rounded-2xl bg-[#397EB5] py-4 text-sm font-bold text-white shadow-xl shadow-[#397EB5]/20 transition-all",children:"DASHBOARD"}),(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[Array.isArray(U)&&(U.includes("super_admin")||U.includes("admin"))&&(0,t.jsx)(o.default,{href:"/admin",onClick:()=>p(!1),className:"flex items-center justify-center rounded-2xl border border-black/10 bg-black/5 py-3.5 text-xs font-bold text-black hover:bg-black/10 transition-all",children:"ADMIN"}),(0,t.jsx)("button",{onClick:J,className:"flex items-center justify-center rounded-2xl border border-black/10 bg-black/5 py-3.5 text-xs font-bold text-black hover:bg-black/10 transition-all",children:"LOG OUT"})]})]}):(0,t.jsx)(o.default,{href:"/login",onClick:()=>p(!1),className:"mb-10 flex items-center justify-center rounded-2xl bg-[#397EB5] py-4 text-sm font-bold text-white shadow-xl shadow-[#397EB5]/20 hover:bg-[#354F70] transition-all",children:"MEMBER LOGIN"}):null,(0,t.jsxs)("div",{className:"space-y-8",children:[(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("p",{className:"px-2 mb-3 text-[10px] font-bold uppercase tracking-[0.3em] text-black/30",children:"Main Sections"}),(0,t.jsx)("nav",{className:"grid grid-cols-1 gap-1",children:G.map(e=>(0,t.jsxs)(o.default,{href:e.href,onClick:t=>F(t,e.href,{closeMenu:!0}),className:"flex items-center justify-between rounded-xl px-4 py-4 text-[15px] font-semibold text-black/90 hover:bg-black/5 hover:text-[#397EB5] transition-all group",children:[e.name,(0,t.jsx)(u.ChevronDownIcon,{className:"h-4 w-4 -rotate-90 opacity-0 group-hover:opacity-100 transition-all"})]},e.name))})]}
1),[O,T].filter(Boolean).map(e=>(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("p",{className:"px-2 mb-3 text-[10px] font-bold uppercase tracking-[0.3em] text-black/30",children:e.name}),(0,t.jsx)("nav",{className:"grid grid-cols-1 gap-1",children:e.children?.map(e=>(0,t.jsxs)(o.default,{href:e.href,onClick:t=>F(t,e.href,{closeMenu:!0}),className:"flex items-center gap-4 rounded-xl px-4 py-3.5 text-[14px] text-black/70 hover:bg-black/5 hover:text-black transition-all",children:[(0,t.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-white/20"}),e.name]},e.name))})]},e.name)),(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("p",{className:"px-2 mb-3 text-[10px] font-bold uppercase tracking-[0.3em] text-black/30",children:"More"}),(0,t.jsx)("nav",{className:"grid grid-cols-1 gap-1 pb-12",children:_.map(e=>(0,t.jsx)(o.default,{href:e.href,onClick:t=>F(t,e.href,{closeMenu:!0}),className:"flex items-center justify-between rounded-xl px-4 py-3.5 text-[14px] text-black/70 hover:bg-black/5 hover:text-black transition-all",children:e.name},e.name))})]})]})]})]})]})]})}e.s(["default",()=>p])}]);
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.