1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,66893,e=>{"use strict";var t=e.i(71645);let s=null;function a(){let[e,a]=(0,t.useState)(null);(0,t.useEffect)(()=>{let e=!0;return(s||(s=fetch("https://api.github.com/repos/dr5hn/countries-states-cities-database",{headers:{Accept:"application/vnd.github.v3+json"}}).then(e=>e.ok?e.json():Promise.reject()).then(e=>Number.isFinite(e?.stargazers_count)?e.stargazers_count:null).catch(()=>(s=null,null)))).then(t=>{e&&null!==t&&a(t)}),()=>{e=!1}},[]);let n=e??9e3;return{stars:n,label:`${(n/1e3).toFixed(1)}K`,live:null!==e}}e.s(["useRepoStars",()=>a])},25467,e=>{"use strict";var t=e.i(43476),s=e.i(3270),a=e.i(66893),n=e.i(56902),l=e.i(80064);let i="https://github.com/dr5hn/countries-states-cities-database";function r({location:e,label:r="â
Star",variant:o="field",size:c="lg",className:d}){let{label:p}=(0,a.useRepoStars)();return(0,t.jsxs)(s.default,{href:i,location:e,track:"github",className:(0,l.cn)((0,n.buttonVariants)({variant:o,size:c}),d),children:[(0,t.jsx)("span",{children:r}),(0,t.jsx)("span",{className:"font-mono text-blue",children:p})]})}e.s(["REPO_URL",0,i,"default",()=>r])},70968,e=>{"use strict";var t=e.i(43476),s=e.i(71645),a=e.i(80064);let n=[["2018",0,"The beginning","A single open dataset of countries, states and cities, published on GitHub."],["2019",100,"Open-source growth","The first 100 stars and the first outside contributors."],["2020",500,"Database restructure","Linked IDs across countries, states and cities, so every city knows its parents."],["2021",1e3,"API launch","The hosted REST API goes live with a free tier."],["2022",3e3,"Multi-format distribution","The data ships in SQL, JSON, CSV, XML, YAML and more."],["2023",5e3,"Automation and reach","Automated releases; the dataset is published on Kaggle and data.world."],["2024",7e3,"Community platform","The Update Tool lets anyone suggest and track corrections."],["2025",8e3,"Export Tool and dashboard","Custom exports with credits, and an API dashboard for keys and usage."],["2026",9e3,"Ecosystem expansion","Nine channels, 50M+ monthly requests, 50,000+ developers and 9K+ stars."]];function l(){let[e,l]=(0,s.useState)(n.length-1),[i,,r,o]=n[e],c=100/n.length;return(0,t.jsx)("section",{className:"wrap-flush pb-[clamp(56px,7vw,104px)]",children:(0,t.jsxs)("div",{className:"flex flex-col gap-5 rounded-[clamp(24px,3vw,36px)] bg-field p-[clamp(20px,3vw,40px)]",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-end justify-between gap-3.5",children:[(0,t.jsx)("h2",{className:"m-0 font-cal text-[length:clamp(28px,3vw,40px)] font-normal",children:"Our journey"}),(0,t.jsx)("span",{className:"font-mono text-[13px] text-ink-2",children:"GitHub stars · click a year"})]}),(0,t.jsxs)("div",{className:"rounded-[22px] bg-white px-[18px] pb-2.5 pt-[18px]",children:[(0,t.jsx)("div",{className:"relative h-[clamp(150px,18vw,220px)]",children:n.map(([s,n],i)=>{let r=i===e;return(0,t.jsxs)("button",{type:"button","aria-label":`${s}${n?`, ${n.toLocaleString("en-US")} stars`:""}`,"aria-pressed":r,onClick:()=>l(i),className:"absolute bottom-0 flex h-full cursor-pointer flex-col items-center justify-end gap-1.5 p-0",style:{left:`${i*c}%`,width:`${c}%`},children:[(0,t.jsx)("span",{className:(0,a.cn)("whitespace-nowrap font-mono text-[11px]",r?"text-ink":"text-ink-3"),children:n?n>=1e3?`${n/1e3}K`:n:"â"}),(0,t.jsx)("span",{className:(0,a.cn)("w-[70%] rounded-t-lg rounded-b-[3px] transition-colors",r?"bg-blue":"bg-[#bbd8f6]"),style:{height:`${Math.max(4,n/9e3*82)}%`}})]},s)})}),(0,t.jsx)("div",{className:"relative mt-1.5 h-7 border-t border-hair",children:n.map(([s],n)=>(0,t.jsx)("span",{"aria-hidden":"true",className:(0,a.cn)("absolute top-2 text-center font-mono text-xs",n===e?"text-blue":"text-ink-3"),style:{left:`${n*c}%`,width:`${c}%`},children:s},s))})]}),(0,t.jsxs)("div",{className:"grid grid-cols-[auto_minmax(0,1fr)] items-baseline gap-x-6 gap-y-2 rounded-[22px] bg-white p-[clamp(18px,2.4vw,28px)]","aria-live":"polite",children:[(0,t.jsx)("span",{className:"row-span-2 font-cal text-[length:clamp(40px,5vw,64px)] leading-none text-blue",children:i}),(0,t.jsx)("span",{className:"font-cal text-[length:clamp(22px,2.4vw,30px)]",children:r}),(0,t.jsx)("span",{className:"text-base leading-normal text-ink-2",children:o})]})]})})}e.s(["default",()=>l])}]);
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.