const allowedReferrerDomains = [
    "",
    "https://www.google.com/",
    "https://duckduckgo.com/",
    "https://www.reddit.com/",
];
export const isAllowedReferrer = (referrer) => allowedReferrerDomains.includes(referrer)
    || referrer.endsWith(".my-netdata.io/")
    || referrer.startsWith("https://github.com/")
    || referrer.endsWith("netdata.cloud/")
    || referrer.startsWith("https://app.netdata.cloud/");
//# sourceMappingURL=utils.js.map