PageSourceSearch

https://thinggaard.dk/assets/transportLinks-CtpBjL7x.js

js thinggaard.dk collected 2026-10-04 14:38:04 UTC 635 bytes, 1 lines download raw bytes

1import{G as n}from"./index-C2KlasXz.js";import{i as d,a as p}from"./airportCountryMatch-CCw6Qfag.js";async function y(a,t){if(t.length===0)return t;const e=Array.from(new Set(t.map(r=>r.airport_id).filter(Boolean)));if(e.length===0)return t;const[i,s]=await Promise.all([n.from("destinations").select("country:countries(name)").eq("id",a).maybeSingle(),n.from("airports").select("id, country").in("id",e)]),o=i?.data?.country?.name??null;if(!o)return t;const u=new Map((s?.data||[]).map(r=>[r.id,r.country]));return t.filter(r=>{if(!r.airport_id)return!0;const c=u.get(r.airport_id)??null;return d(c,o)?p(r.notes):!0})}export{y as f};

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.