1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4345],{15239:e=>{e.exports={page:"not-found_page__VFIr4",hairline:"not-found_hairline__0_JrZ",reveal:"not-found_reveal__mNISm",notFoundReveal:"not-found_notFoundReveal__YYAAD"}},42682:(e,n,t)=>{"use strict";t.d(n,{default:()=>c});var r=t(95155),a=t(98500),s=t.n(a),l=t(73321),i=t(12115);let o=new Set(["about","api","cities","contact","design-system","design-system2","faq","history","join","login","ml-ding-internal","notifications","people","philosophy","privacy","profile","settings","signup","terms"]);function u(e){return e.normalize("NFD").replace(/[Ì-ͯ]/g,"").toLowerCase().replace(/[^a-z0-9]/g,"")}function c({cities:e}){let n=(0,l.usePathname)(),t=(0,i.useMemo)(()=>{if(0===e.length)return[];let t=function(e){if(!e)return null;let n=e.replace(/^\/+/,"").split("/")[0]??"";if(!n||o.has(n.toLowerCase()))return null;let t=u(n);return t.length<3?null:t}(n);return t?function(e,n){let t=Math.max(2,Math.floor(.35*e.length)),r=[];for(let a of n){let n=u(a.slug||a.name);if(!n)continue;let s=function(e,n){if(e===n)return 0;if(0===e.length)return n.length;if(0===n.length)return e.length;let t=Array(n.length+1);for(let e=0;e<=n.length;e+=1)t[e]=e;for(let r=1;r<=e.length;r+=1){let a=t[0];t[0]=r;for(let s=1;s<=n.length;s+=1){let l=t[s];t[s]=e[r-1]===n[s-1]?a:1+Math.min(a,t[s-1],t[s]),a=l}}return t[n.length]}(e,n),l=n.includes(e)||e.includes(n);(l||s<=t)&&r.push({city:a,distance:s,contains:l})}return r.sort((e,n)=>e.contains!==n.contains?e.contains?-1:1:e.distance-n.distance),r.slice(0,2).map(e=>e.city)}(t,e):[]},[n,e]);return 0===t.length?null:(0,r.jsxs)("section",{"aria-labelledby":"did-you-mean-heading",children:[(0,r.jsx)("h2",{id:"did-you-mean-heading",className:"text-meta uppercase tracking-[0.18em] text-ml-gray-500",children:"Did you mean"}),(0,r.jsx)("ul",{className:"mt-2 divide-y divide-ml-gray-200 border-t border-ml-gray-200",children:t.map(e=>{let n=e.slug||u(e.name);return(0,r.jsx)("li",{children:(0,r.jsxs)(s(),{href:`/${n}`,className:"group flex items-center gap-4 py-4",children:[(0,r.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",className:"h-5 w-5 shrink-0 text-ml-gray-400 transition-colors group-hover:text-ml-cyan",children:[(0,r.jsx)("path",{d:"M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z"}),(0,r.jsx)("circle",{cx:"12",cy:"10",r:"3"})]}),(0,r.jsx)("span",{className:"flex-1 text-body text-ml-gray-900 transition-colors group-hover:text-ml-cyan",children:e.name}),(0,r.jsx)("span",{"aria-hidden":"true",className:"text-ml-cyan transition-transform group-hover:translate-x-0.5",children:"â"})]})},n||e.name)})})]})}},73321:(e,n,t)=>{"use strict";var r=t(74645);t.o(r,"useParams")&&t.d(n,{useParams:function(){return r.useParams}}),t.o(r,"usePathname")&&t.d(n,{usePathname:function(){return r.usePathname}}),t.o(r,"useRouter")&&t.d(n,{useRouter:function(){return r.useRouter}}),t.o(r,"useSearchParams")&&t.d(n,{useSearchParams:function(){return r.useSearchParams}})},90251:(e,n,t)=>{Promise.resolve().then(t.t.bind(t,98500,23)),Promise.resolve().then(t.t.bind(t,15239,23)),Promise.resolve().then(t.bind(t,42682))}},e=>{e.O(0,[1840,8500,8441,3794,7358],()=>e(e.s=90251)),_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.