1import{r as p,j as e}from"./vendor-react-CuUun9aL.js";import{b as E,u as S,L as b}from"./vendor-router-CIKCSSKp.js";import{u as q}from"./vendor-query-Ch735aT_.js";import{N as T}from"./Navbar-CqwzzPzc.js";import{F as z}from"./Footer-B7AGr3h3.js";import{S as M}from"./SEOHead-xAnMX-_f.js";import{S as A}from"./StructuredData-BrIJJOA7.js";import{f as _,a as U}from"./visaEligibilityService-DlWlAVbb.js";import{ALL_COUNTRIES as D}from"./visaRequirements-f5162uEq.js";import{B as O}from"./badge-tBo3c1at.js";import{C as H,c as G}from"./card-khC1k9a2.js";import{A as Q,a as K,b as W,c as J}from"./accordion-450mm7IK.js";import{C as k}from"./CountryFlag-NpnLM-_i.js";import{g as I,a as Y}from"./countryDemonyms-BoC0npe0.js";import{l as F,a3 as X,J as C,P as N,as as $,G as Z}from"./vendor-icons-9tdgZqZ8.js";import"./index-CffYHF1C.js";import"./vendor-supabase-V01cKGWO.js";import"./vendor-radix-DHc79Ej6.js";import"./input-Ccd_OHYE.js";import"./UrlOverrideIndicator-CJCJwHPD.js";import"./popover-Bf6khzEE.js";import"./usePermissions-DvkYesNC.js";import"./dropdown-menu-LhELHrUX.js";import"./sheet-C33TcIpV.js";const ee=(l,r,u)=>{const m=(r==null?void 0:r.green)??0,c=(r==null?void 0:r.blue)??0,n=(r==null?void 0:r.yellow)??0,o=m+c+n,t=u?I(u,l):l;return{introParagraph:`Planning your next trip with ${Y(t)} ${t} passport? Good news â ${t} citizens can travel to ${m} countries completely visa-free in 2026. On top of that, ${c} destinations offer convenient eVisa options you can apply for online, and ${n} countries provide visa on arrival at the border. In total, ${t} passport holders enjoy hassle-free or simplified entry to ${o} destinations worldwide. Below you will find every visa-free, visa-on-arrival, and eVisa country for ${t} nationals, organised by category for quick reference.`,faqItems:[{question:`How many visa-free countries are there for ${t} passport holders in 2026?`,answer:`${t} passport holders can visit ${m} countries completely visa-free in 2026. These destinations allow ${t} citizens to enter with just a valid passport, without any prior visa application. The permitted stay duration varies by country, typically ranging from 14 to 90 days.`},{question:`Which countries offer visa on arrival for ${t} citizens?`,answer:`Currently, ${n} countries offer visa on arrival for ${t} passport holders. This means you can obtain your visa at the airport or border crossing upon arrival, usually by paying a fee and presenting your passport and travel documents. No advance application is needed.`},{question:`What are the best visa-free destinations for ${t} passport holders?`,answer:`${t} citizens have visa-free access to ${m} countries spanning multiple continents. Popular visa-free destinations vary by passport, but typically include a mix of Southeast Asian beach destinations, African nations, Caribbean islands, and select European or Middle Eastern countries. Check the full list on this page for destinations specific to your ${t} passport.`},{question:`Can ${t} citizens apply for an eVisa online?`,answer:`Yes, ${c} countries currently offer eVisa options for ${t} nationals. An eVisa is an electronic visa you apply for online before traveling â no embassy visit required. Through eVisas.io, you can complete your application in minutes using AI-powered passport scanning and receive your approved visa by email.`},{question:`How strong is the ${t} passport in 2026?`,answer:`The ${t} passport provides access to ${o} destinations without needing a traditional visa in 2026, comprising ${m} visa-free countries, ${n} visa-on-arrival destinations, and ${c} eVisa countries. Passport strength is measured by the number of destinations accessible without a pre-arranged visa.`}]}},j=l=>{var r;return((r=D.find(u=>u.code===l))==null?void 0:r.name)||l},se=(l,r=1500,u=0)=>{const[m,c]=p.useState(0),n=p.useRef();return p.useEffect(()=>{if(l<=0){c(0);return}const o=setTimeout(()=>{const t=performance.now(),g=v=>{const a=v-t,d=Math.min(a/r,1),f=1-Math.pow(1-d,3);c(Math.round(f*l)),d<1&&(n.current=requestAnimationFrame(g))};n.current=requestAnimationFrame(g)},u);return()=>{clearTimeout(o),n.current&&cancelAnimationFrame(n.current)}},[l,r,u]),m},w=({label:l,count:r,icon:u,accentColor:m,iconBg:c,textColor:n,delay:o,onClick:t})=>{const g=se(r,1500,o);return e.jsxs("div",{className:`bg-card rounded-xl shadow-sm hover:shadow-md transition-shadow duration-300 overflow-hidden animate-fade-in ${t?"cursor-pointer":""}`,style:{animationDelay:`${o}ms`,animationFillMode:"both"},onClick:t,children:[e.jsx("div",{className:`h-1 ${m}`}),e.jsxs("div",{className:"p-5 flex items-center gap-4",children:[e.jsx("div",{className:`${c} rounded-lg p-2.5`,children:e.jsx(u,{className:`h-5 w-5 ${n}`})}),e.jsxs("div",{children:[e.jsx("p",{className:`text-2xl font-bold ${n} tabular-nums`,children:g}),e.jsx("p",{className:"text-xs text-muted-foreground font-medium",children:l})]})]})]})},te=[{key:"green",label:"Visa Free Countries",color:"text-green-700 bg-green-50 border-green-200",icon:C,badgeClass:"bg-green-500/10 text-green-700 border-green-500/30",dotColor:"bg-green-500"},{key:"yellow",label:"Visa on Arrival Countries",color:"text-purple-700 bg-purple-50 border-purple-200",icon:N,badgeClass:"bg-purple-500/10 text-purple-700 border-purple-500/30",dotColor:"bg-purple-500"},{key:"blue",label:"eVisa Countries",color:"text-blue-700 bg-blue-50 border-blue-200",icon:$,badgeClass:"bg-blue-500/10 text-blue-700 border-blue-500/30",dotColor:"bg-blue-500"}],qe=()=>{const l=p.useRef(null),r=p.useRef(null),u=p.useRef(null),m={green:l,yellow:r,blue:u},{passportCode:c=""}=E(),n=S(),o=c.replace(/^:/,"").toUpperCase(),t=j(o);p.useEffect(()=>{const s=c.replace(/^:/,""),i=s.toLowerCase();s!==i&&n(`/visa-free-countries/${i}`,{replace:!0})},[c,n]);const{data:g=[],isLoading:v}=q({queryKey:["visa-eligibility-all",o],queryFn:()=>_(o),enabled:!!o}),{data:a}=q({queryKey:["visa-summary",o],queryFn:()=>U(o),enabled:!!o}),d=p.useMemo(()=>I(o,t),[o,t]),f=p.useMemo(()=>ee(t,a,o),[t,a,o]),L=p.useMemo(()=>{const s={green:[],yellow:[],blue:[]};return g.forEach(i=>
1{const h=i.visa_color||"";s[h]&&s[h].push(i)}),s},[g]),R=a?a.green+a.yellow+a.blue:0,B=`${d} Passport Visa Free Countries 2026 - Full List & Travel Access | eVisas.io`,P=`Discover the full 2026 list of visa-free countries for ${d} passport holders â ${a?`${a.green} visa-free, ${a.yellow} visa on arrival, ${a.blue} eVisa destinations.`:"Updated travel access guide with visa-free, visa on arrival, and eVisa options."} Updated travel access guide for ${d} citizens.`;return e.jsxs("div",{className:"min-h-screen flex flex-col bg-background",children:[e.jsx(M,{title:B,description:P,canonicalUrl:`https://evisas.io/visa-free-countries/${o.toLowerCase()}`,ogUrl:`https://evisas.io/visa-free-countries/${o.toLowerCase()}`,ogImage:"https://evisas.io/og-image.png"}),e.jsx(A,{type:"BreadcrumbList",breadcrumbItems:[{name:"Home",url:"https://evisas.io"},{name:"Visa Requirements",url:"https://evisas.io/visa-requirements"},{name:`${d} Visa Free Countries`,url:`https://evisas.io/visa-free-countries/${o.toLowerCase()}`}]}),e.jsx(A,{type:"FAQPage",faqItems:f.faqItems}),e.jsx(T,{}),e.jsxs("main",{className:"flex-1 container mx-auto px-4 py-8 max-w-6xl",children:[e.jsxs("nav",{className:"flex items-center gap-1 text-sm text-muted-foreground mb-6","aria-label":"Breadcrumb",children:[e.jsx(b,{to:"/visa-requirements",className:"hover:text-foreground transition-colors",children:"Visa Requirements"}),e.jsx(F,{className:"h-3 w-3"}),e.jsx(b,{to:`/visa-requirements/${o.toLowerCase()}`,className:"hover:text-foreground transition-colors",children:t}),e.jsx(F,{className:"h-3 w-3"}),e.jsx("span",{className:"text-foreground",children:"Visa Free Countries"})]}),e.jsx("div",{className:"relative overflow-hidden rounded-2xl bg-gradient-to-r from-blue-500/90 to-indigo-500/90 px-5 py-5 md:px-7 md:py-6 mb-8",children:e.jsxs("div",{className:"relative flex flex-col md:flex-row items-center gap-4",children:[e.jsx("div",{className:"shrink-0 rounded-lg bg-white/20 p-2.5 backdrop-blur-sm",children:e.jsx(k,{code:o,name:t,size:"lg"})}),e.jsxs("div",{className:"flex-1 text-center md:text-left",children:[e.jsxs("h1",{className:"text-xl md:text-2xl lg:text-3xl font-bold text-white leading-tight",children:["Visa Free Countries for ",d," Passport in 2026"]}),e.jsxs("p",{className:"text-blue-100 mt-1.5 text-sm",children:["Complete travel access guide for ",d," passport holders"]})]}),a&&e.jsxs("div",{className:"shrink-0 bg-white/20 backdrop-blur-sm rounded-full px-5 py-2.5 flex items-center gap-2",children:[e.jsx(X,{className:"h-4 w-4 text-blue-100"}),e.jsx("span",{className:"text-white font-bold text-lg",children:R}),e.jsx("span",{className:"text-blue-100 text-xs font-medium",children:"Countries"})]})]})}),e.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6",children:f.introParagraph}),a&&e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4 mb-8",children:[e.jsx(w,{label:"Visa Free",count:a.green,icon:C,accentColor:"bg-green-500",iconBg:"bg-green-50",textColor:"text-green-600",delay:0,onClick:()=>{var s;return(s=l.current)==null?void 0:s.scrollIntoView({behavior:"smooth",block:"start"})}}),e.jsx(w,{label:"Visa on Arrival",count:a.yellow,icon:N,accentColor:"bg-purple-500",iconBg:"bg-purple-50",textColor:"text-purple-600",delay:200,onClick:()=>{var s;return(s=r.current)==null?void 0:s.scrollIntoView({behavior:"smooth",block:"start"})}}),e.jsx(w,{label:"eVisa",count:a.blue,icon:$,accentColor:"bg-blue-500",iconBg:"bg-blue-50",textColor:"text-blue-600",delay:400,onClick:()=>{var s;return(s=u.current)==null?void 0:s.scrollIntoView({behavior:"smooth",block:"start"})}})]}),e.jsx("div",{className:"flex flex-wrap gap-3 mb-8 justify-center",children:[{icon:Z,label:"Updated for 2026",bg:"bg-blue-50",iconBg:"bg-blue-100",iconColor:"text-blue-600"},{icon:C,label:"Official Data Sources",bg:"bg-green-50",iconBg:"bg-green-100",iconColor:"text-green-600"},{icon:N,label:"All Destinations Covered",bg:"bg-amber-50",iconBg:"bg-amber-100",iconColor:"text-amber-600"},{icon:$,label:"Apply for eVisa Online",bg:"bg-purple-50",iconBg:"bg-purple-100",iconColor:"text-purple-600"}].map(s=>{const i=s.icon;return e.jsxs("div",{className:`flex items-center gap-2 ${s.bg} rounded-full pl-1.5 pr-4 py-1.5`,children:[e.jsx("div",{className:`${s.iconBg} rounded-full p-1.5`,children:e.jsx(i,{className:`h-3.5 w-3.5 ${s.iconColor}`,"aria-hidden":"true"})}),e.jsx("span",{className:"text-xs font-medium text-foreground",children:s.label})]},s.label)})}),v?e.jsx("div",{className:"space-y-6",children:Array.from({length:3}).map((s,i)=>e.jsx("div",{className:"h-40 bg-muted animate-pulse rounded-lg"},i))}):te.map(s=>{const i=L[s.key]||[];
1if(i.length===0)return null;const h=s.icon;return e.jsxs("section",{ref:m[s.key],className:"mb-8",children:[e.jsxs("div",{className:`flex items-center gap-2 mb-4 p-3 rounded-lg border ${s.color}`,children:[e.jsx(h,{className:"h-5 w-5","aria-hidden":"true"}),e.jsxs("h2",{className:"text-lg font-semibold",children:[s.label," for ",d," Citizens (",i.length,")"]})]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-3",children:i.map(x=>e.jsx(b,{to:`/visa-requirements/${o.toLowerCase()}/${x.destination_code.toLowerCase()}`,className:"group",children:e.jsx(H,{className:"hover:shadow-md transition-shadow duration-200",children:e.jsxs(G,{className:"flex items-center gap-3 p-3",children:[e.jsx("div",{className:`w-1.5 h-1.5 rounded-full ${s.dotColor} shrink-0`}),e.jsx("div",{className:"shrink-0 rounded-md overflow-hidden",children:e.jsx(k,{code:x.destination_code,name:j(x.destination_code),size:"md"})}),e.jsx("p",{className:"font-medium text-foreground text-sm shrink-0 whitespace-nowrap",children:j(x.destination_code)}),e.jsx("div",{className:"flex-1"}),e.jsx(O,{variant:"outline",className:`text-xs shrink-0 ${s.badgeClass} whitespace-normal text-center leading-tight max-w-[140px]`,children:(()=>{const y=x.visa_status||s.label;if(y.includes(" - ")){const V=y.split(" - ");return e.jsxs(e.Fragment,{children:[V[0],e.jsx("br",{}),V[1]]})}return y})()})]})})},x.destination_code))})]},s.key)}),e.jsxs("section",{className:"my-8 p-4 bg-muted/50 rounded-lg",children:[e.jsxs("h2",{className:"text-lg font-semibold mb-3",children:["Related Visa Information for ",d," Citizens"]}),e.jsx("div",{className:"flex flex-wrap gap-3",children:e.jsxs(b,{to:`/visa-requirements/${o.toLowerCase()}`,className:"text-sm text-primary hover:underline",children:["â All ",d," visa requirements (",g.length," countries)"]})})]}),e.jsxs("section",{className:"mb-10",children:[e.jsxs("h2",{className:"text-lg font-semibold mb-4",children:["Frequently Asked Questions About Visa-Free Travel for ",d," Citizens"]}),e.jsx(Q,{type:"single",collapsible:!0,className:"w-full",children:f.faqItems.map((s,i)=>e.jsxs(K,{value:`faq-${i}`,children:[e.jsx(W,{className:"text-sm text-left",children:s.question}),e.jsx(J,{className:"text-muted-foreground text-sm leading-relaxed",children:s.answer})]},i))})]})]}),e.jsx(z,{})]})};export{qe 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.