1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,16664,e=>{"use strict";e.s(["regionColors",0,{asia:{main:"#E03131",light:"#E0313115",hover:"#C92A2A"},europe:{main:"#1971C2",light:"#1971C215",hover:"#1864AB"},north_america:{main:"#2F9E44",light:"#2F9E4415",hover:"#2B8A3E"},south_america:{main:"#E8590C",light:"#E8590C15",hover:"#D9480F"},oceania:{main:"#3BC9DB",light:"#3BC9DB15",hover:"#22B8CF"},africa:{main:"#F08C00",light:"#F08C0015",hover:"#E67700"},middle_east:{main:"#AE3EC9",light:"#AE3EC915",hover:"#9C36B5"}},"visaStatusColors",0,{visa_free:{main:"#22c55e",light:"#22c55e15",hover:"#16a34a"},evisa:{main:"#ef4444",light:"#ef444415",hover:"#dc2626"},visa_required:{main:"#ef4444",light:"#ef444415",hover:"#dc2626"}}])},12630,e=>{"use strict";var s=e.i(43476),t=e.i(22016),r=e.i(71645),i=e.i(16664);let a={ã:"ã¢",ã:"ã¤",ã:"ã¦",ã:"ã¨",ã:"ãª",ã:"ã«",ã:"ã",ã:"ã¯",ã:"ã±",ã:"ã³",ã:"ãµ",ã:"ã·",ã:"ã¹",ã:"ã»",ã:"ã½",ã:"ã¿",ã¡:"ã",ã¤:"ã",ã¦:"ã",ã¨:"ã",ãª:"ã",ã«:"ã",ã¬:"ã",ã:"ã",ã®:"ã",ã¯:"ã",ã²:"ã",ãµ:"ã",ã¸:"ã",ã»:"ã",ã¾:"ã",ã¿:"ã",ã:"ã ",ã:"ã¡",ã:"ã¢",ã:"ã¤",ã:"ã¦",ã:"ã¨",ã:"ã©",ã:"ãª",ã:"ã«",ã:"ã¬",ã:"ã",ã:"ã¯",ã:"ã²",ã:"ã³",ã:"ã¬",ã:"ã®",ã:"ã°",ã:"ã²",ã:"ã´",ã:"ã¶",ã:"ã¸",ã:"ãº",ã:"ã¼",ã:"ã¾",ã :"ã",ã¢:"ã",ã¥:"ã
",ã§:"ã",ã©:"ã",ã°:"ã",ã³:"ã",ã¶:"ã",ã¹:"ã",ã¼:"ã",ã±:"ã",ã´:"ã",ã·:"ã",ãº:"ã",ã½:"ã"};function l(e){let s=e;for(let[e,t]of Object.entries(a))s=s.replace(RegExp(e,"g"),t);return s.toLowerCase()}function n({countries:e}){let[a,n]=(0,r.useState)(""),[o,d]=(0,r.useState)(e);return(0,r.useEffect)(()=>{a?d(function(e,s){let t=l(s.trim()),r=[],i=[],a=[];for(let s of e){let e=l(s.name);e===t?r.push(s):e.startsWith(t)?i.push(s):e.includes(t)&&a.push(s)}return[...r,...i,...a]}(e,a)):d(e)},[a,e]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"mb-6",children:[(0,s.jsxs)("div",{className:"relative mx-auto max-w-xl",children:[(0,s.jsx)("input",{className:"w-full rounded-lg border border-gray-300 px-4 py-3 pr-10 shadow-sm focus:border-blue-500 focus:outline-none focus:ring-1 focus:ring-blue-500",onChange:e=>n(e.target.value),onCompositionEnd:e=>{n(e.target.value)},onKeyDown:e=>{if("Enter"===e.key&&e.preventDefault(),"isComposing"in e&&e.isComposing)return},placeholder:"å½åã§æ¤ç´¢...",type:"text",value:a}),(0,s.jsx)("svg",{"aria-hidden":"true",className:"absolute top-1/2 right-3 h-5 w-5 -translate-y-1/2 text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2})})]}),(0,s.jsxs)("p",{className:"mt-2 text-center text-gray-500 text-sm",children:[o.length,"ã«å½ãè¦ã¤ããã¾ãã"]})]}),(0,s.jsx)("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",children:o.map(e=>{let r=i.visaStatusColors[e.visaRequirement.type];return(0,s.jsxs)(t.default,{className:"flex flex-col overflow-hidden rounded-lg border border-gray-200 bg-white shadow-sm transition-all hover:-translate-y-1 hover:shadow-md",href:`/country/${e.id}`,children:[(0,s.jsx)("div",{className:"h-2",style:{backgroundColor:r.main}}),(0,s.jsxs)("div",{className:"relative flex flex-1 flex-col p-5",children:[(0,s.jsxs)("h3",{className:"mr-28 font-medium text-gray-900 text-lg lg:mr-0",children:[a&&e.name.toLowerCase().includes(a.toLowerCase())?function(e,t){if(!t)return e;let r=e.toLowerCase(),i=t.toLowerCase(),a=r.indexOf(i);return -1===a?e:(0,s.jsxs)(s.Fragment,{children:[e.substring(0,a),(0,s.jsx)("span",{className:"bg-yellow-100 font-medium",children:e.substring(a,a+t.length)}),e.substring(a+t.length)]})}(e.name,a):e.name,e.code&&(0,s.jsx)("span",{className:"ml-2 inline-block align-middle",children:(0,s.jsx)("span",{className:`fi fi-${e.code.toLowerCase()}`,style:{width:"20px",height:"15px",display:"inline-block"}})})]}),(0,s.jsx)("div",{className:"mt-1 mr-28 w-fit lg:mr-0",children:(0,s.jsx)("div",{className:"rounded-full px-3 py-1 font-medium text-xs",style:{backgroundColor:r.light,color:r.main},children:"visa_free"===e.visaRequirement.type?"ãã¶ãªã":"evisa"===e.visaRequirement.type?"è¦é»åãã¶":"è¦ãã¶"})}),e.visaRequirement.duration?(0,s.jsxs)("div",{className:"absolute right-4 bottom-6 flex flex-shrink-0 flex-col items-end",children:[(0,s.jsx)("span",{className:"text-gray-500 text-xs",children:"æ»å¨å¯è½æé"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"font-bold text-2xl",style:{color:r.main},children:e.visaRequirement.duration}),(0,s.jsx)("span",{className:"ml-1 text-base text-gray-500",children:"æ¥é"})]})]}):null]})]},e.id)})}),a&&0===o.length&&(0,s.jsx)("div",{className:"mt-8 rounded-lg border border-gray-200 bg-white p-8 text-center shadow-sm",children:(0,s.jsxs)("p",{className:"text-gray-500",children:["ã",a,"ãã«ä¸è´ããå½ãè¦ã¤ããã¾ããã§ãã"]})})]})}e.s(["default",()=>n])}]);
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.