import "react/jsx-runtime";
import { Airtable as d } from "../components/ui/atoms/icons/airtable.js";
import { Asana as a } from "../components/ui/atoms/icons/asana.js";
import { Atlassian as s } from "../components/ui/atoms/icons/atlassian.js";
import { Attio as c } from "../components/ui/atoms/icons/attio.js";
import { Calendly as n } from "../components/ui/atoms/icons/calendly.js";
import { Clickup as p } from "../components/ui/atoms/icons/clickup.js";
import { Discord as h } from "../components/ui/atoms/icons/discord.js";
import { Dropbox as l } from "../components/ui/atoms/icons/dropbox.js";
import { Figma as m } from "../components/ui/atoms/icons/figma.js";
import { Github as u } from "../components/ui/atoms/icons/github.js";
import { Google as v } from "../components/ui/atoms/icons/google.js";
import { Hubspot as g } from "../components/ui/atoms/icons/hubspot.js";
import { Linear as A } from "../components/ui/atoms/icons/linear.js";
import { Linkedin as b } from "../components/ui/atoms/icons/linkedin.js";
import { Mailchimp as f } from "../components/ui/atoms/icons/mailchimp.js";
import { Mcp as k } from "../components/ui/atoms/icons/mcp.js";
import { Microsoft as _ } from "../components/ui/atoms/icons/microsoft.js";
import { Miro as I } from "../components/ui/atoms/icons/miro.js";
import { Notion as w } from "../components/ui/atoms/icons/notion.js";
import { Oauth as U } from "../components/ui/atoms/icons/oauth.js";
import { Pagerduty as z } from "../components/ui/atoms/icons/pagerduty.js";
import { Reddit as y } from "../components/ui/atoms/icons/reddit.js";
import { Salesforce as T } from "../components/ui/atoms/icons/salesforce.js";
import { Slack as S } from "../components/ui/atoms/icons/slack.js";
import { Spotify as $ } from "../components/ui/atoms/icons/spotify.js";
import { Square as M } from "../components/ui/atoms/icons/square.js";
import { Tesla as O } from "../components/ui/atoms/icons/tesla.js";
import { Ticktick as C } from "../components/ui/atoms/icons/ticktick.js";
import { Twitch as P } from "../components/ui/atoms/icons/twitch.js";
import { X as D } from "../components/ui/atoms/icons/x.js";
import { Zendesk as R } from "../components/ui/atoms/icons/zendesk.js";
import { Zoho as Z } from "../components/ui/atoms/icons/zoho.js";
import { Zoom as x } from "../components/ui/atoms/icons/zoom.js";
import { PUBLIC_ICON_URL as o } from "./constants.js";
const i = {
  Airtable: "arcade-airtable",
  Asana: "arcade-asana",
  Atlassian: "arcade-atlassian",
  Attio: "arcade-attio",
  Calendly: "arcade-calendly",
  Clickup: "arcade-clickup",
  Discord: "arcade-discord",
  Dropbox: "arcade-dropbox",
  Figma: "arcade-figma",
  Github: "arcade-github",
  Google: "arcade-google",
  Hubspot: "arcade-hubspot",
  Linkedin: "arcade-linkedin",
  Linear: "arcade-linear",
  Mailchimp: "arcade-mailchimp",
  MCP_OAuth2: "arcade-mcp-oauth2",
  Microsoft: "arcade-microsoft",
  Miro: "arcade-miro",
  Notion: "arcade-notion",
  OAuth2: "arcade-oauth2",
  Pagerduty: "arcade-pagerduty",
  Reddit: "arcade-reddit",
  Salesforce: "arcade-salesforce",
  Slack: "arcade-slack",
  Spotify: "arcade-spotify",
  Squareup: "arcade-squareup",
  Tesla: "arcade-tesla",
  Ticktick: "arcade-ticktick",
  Twitch: "arcade-twitch",
  X: "arcade-x",
  Zendesk: "arcade-zendesk",
  Zoho: "arcade-zoho",
  Zoom: "arcade-zoom"
}, e = {
  Airtable: "airtable",
  Asana: "asana",
  Atlassian: "atlassian",
  Attio: "attio",
  Calendly: "calendly",
  Clickup: "clickup",
  Discord: "discord",
  Dropbox: "dropbox",
  Figma: "figma",
  Github: "github",
  Google: "google",
  Hubspot: "hubspot",
  Linkedin: "linkedin",
  Linear: "linear",
  Mailchimp: "mailchimp",
  MCP_OAuth2: "mcp-oauth2",
  Microsoft: "microsoft",
  Miro: "miro",
  Notion: "notion",
  OAuth2: "oauth2",
  Pagerduty: "pagerduty",
  Reddit: "reddit",
  Salesforce: "salesforce",
  Slack: "slack",
  Spotify: "spotify",
  Squareup: "squareup",
  Tesla: "tesla",
  Ticktick: "ticktick",
  Twitch: "twitch",
  X: "x",
  Zendesk: "zendesk",
  Zoho: "zoho",
  Zoom: "zoom"
}, L = [
  {
    id: i.Airtable,
    provider_id: e.Airtable,
    name: "Airtable",
    description: "Authorize tools and agents with Airtable",
    publicIconUrl: `${o}/airtable.svg`,
    icon: d,
    docs: "https://docs.arcade.dev/home/auth-providers/airtable"
  },
  {
    id: i.Asana,
    provider_id: e.Asana,
    name: "Asana",
    description: "Authorize tools and agents with Asana",
    publicIconUrl: `${o}/asana.svg`,
    icon: a,
    docs: "https://docs.arcade.dev/home/auth-providers/asana"
  },
  {
    id: i.Atlassian,
    provider_id: e.Atlassian,
    name: "Atlassian",
    description: "Authorize tools and agents with Atlassian",
    publicIconUrl: `${o}/atlassian.svg`,
    icon: s,
    docs: "https://docs.arcade.dev/home/auth-providers/atlassian"
  },
  {
    id: i.Attio,
    provider_id: e.Attio,
    name: "Attio",
    description: "Authorize tools and agents with Attio CRM",
    publicIconUrl: `${o}/attio.svg`,
    icon: c,
    docs: "https://docs.arcade.dev/home/auth-providers/attio"
  },
  {
    id: i.Calendly,
    provider_id: e.Calendly,
    name: "Calendly",
    description: "Authorize tools and agents with Calendly",
    publicIconUrl: `${o}/calendly.svg`,
    icon: n,
    docs: "https://docs.arcade.dev/home/auth-providers/calendly"
  },
  {
    id: i.Clickup,
    provider_id: e.Clickup,
    name: "ClickUp",
    description: "Authorize tools and agents with ClickUp",
    publicIconUrl: `${o}/clickup.svg`,
    icon: p,
    docs: "https://docs.arcade.dev/home/auth-providers/clickup"
  },
  {
    id: i.Discord,
    provider_id: e.Discord,
    name: "Discord",
    description: "Authorize tools and agents with Discord in a user's context",
    publicIconUrl: `${o}/discord.svg`,
    icon: h,
    docs: "https://docs.arcade.dev/home/auth-providers/discord"
  },
  {
    id: i.Dropbox,
    provider_id: e.Dropbox,
    name: "Dropbox",
    description: "Authorize tools and agents with Dropbox",
    publicIconUrl: `${o}/dropbox.svg`,
    icon: l,
    docs: "https://docs.arcade.dev/home/auth-providers/dropbox"
  },
  {
    id: i.Figma,
    provider_id: e.Figma,
    name: "Figma",
    description: "Authorize tools and agents with Figma",
    publicIconUrl: `${o}/figma.svg`,
    icon: m,
    docs: "https://docs.arcade.dev/home/auth-providers/figma"
  },
  {
    id: i.Github,
    provider_id: e.Github,
    name: "GitHub",
    description: "Authorize tools and agents with GitHub, including private repositories",
    publicIconUrl: `${o}/github.svg`,
    icon: u,
    docs: "https://docs.arcade.dev/home/auth-providers/github"
  },
  {
    id: i.Google,
    provider_id: e.Google,
    name: "Google",
    description: "Authorize tools and agents with Google: Gmail, Calendar, YouTube, Drive, and more",
    publicIconUrl: `${o}/google.svg`,
    icon: v,
    docs: "https://docs.arcade.dev/home/auth-providers/google"
  },
  {
    id: i.Hubspot,
    provider_id: e.Hubspot,
    name: "HubSpot",
    description: "Authorize tools and agents with HubSpot",
    publicIconUrl: `${o}/hubspot.svg`,
    icon: g,
    docs: "https://docs.arcade.dev/home/auth-providers/hubspot"
  },
  {
    id: i.Linear,
    provider_id: e.Linear,
    name: "Linear",
    description: "Authorize tools and agents with Linear",
    publicIconUrl: `${o}/linear.svg`,
    icon: A,
    docs: "https://docs.arcade.dev/home/auth-providers/linear"
  },
  {
    id: i.Linkedin,
    provider_id: e.Linkedin,
    name: "LinkedIn",
    description: "Authorize tools and agents with LinkedIn",
    publicIconUrl: `${o}/linkedin.svg`,
    icon: b,
    docs: "https://docs.arcade.dev/home/auth-providers/linkedin"
  },
  {
    id: i.Mailchimp,
    provider_id: e.Mailchimp,
    name: "Mailchimp",
    description: "Authorize tools and agents with Mailchimp",
    publicIconUrl: `${o}/mailchimp.svg`,
    icon: f,
    docs: "https://docs.arcade.dev/home/auth-providers/mailchimp"
  },
  {
    id: i.Microsoft,
    provider_id: e.Microsoft,
    name: "Microsoft",
    description: "Authorize tools and agents with Microsoft",
    publicIconUrl: `${o}/microsoft.svg`,
    icon: _,
    docs: "https://docs.arcade.dev/home/auth-providers/microsoft"
  },
  {
    id: i.Miro,
    provider_id: e.Miro,
    name: "Miro",
    description: "Authorize tools and agents with Miro",
    publicIconUrl: `${o}/miro.svg`,
    icon: I,
    docs: "https://docs.arcade.dev/home/auth-providers/miro"
  },
  {
    id: i.Notion,
    provider_id: e.Notion,
    name: "Notion",
    description: "Authorize tools and agents with Notion",
    publicIconUrl: `${o}/notion.svg`,
    icon: w,
    docs: "https://docs.arcade.dev/home/auth-providers/notion"
  },
  {
    id: i.Pagerduty,
    provider_id: e.Pagerduty,
    name: "PagerDuty",
    description: "Authorize tools and agents with PagerDuty",
    publicIconUrl: `${o}/pagerduty.svg`,
    icon: z,
    docs: "https://docs.arcade.dev/home/auth-providers/pagerduty"
  },
  {
    id: i.Reddit,
    provider_id: e.Reddit,
    name: "Reddit",
    description: "Authorize tools and agents with Reddit",
    publicIconUrl: `${o}/reddit.svg`,
    icon: y,
    docs: "https://docs.arcade.dev/home/auth-providers/reddit"
  },
  {
    id: i.Slack,
    provider_id: e.Slack,
    name: "Slack",
    description: "Authorize tools and agents with Slack",
    publicIconUrl: `${o}/slack.svg`,
    icon: S,
    docs: "https://docs.arcade.dev/home/auth-providers/slack"
  },
  {
    id: i.Spotify,
    provider_id: e.Spotify,
    name: "Spotify",
    description: "Authorize tools and agents with Spotify",
    publicIconUrl: `${o}/spotify.svg`,
    icon: $,
    docs: "https://docs.arcade.dev/home/auth-providers/spotify"
  },
  {
    id: i.Squareup,
    provider_id: e.Squareup,
    name: "Square",
    description: "Authorize tools and agents with Square",
    publicIconUrl: `${o}/square.svg`,
    icon: M,
    docs: "https://docs.arcade.dev/home/auth-providers/squareup"
  },
  {
    id: i.Ticktick,
    provider_id: e.Ticktick,
    name: "TickTick",
    description: "Authorize tools and agents with TickTick",
    publicIconUrl: `${o}/ticktick.svg`,
    icon: C,
    docs: "https://docs.arcade.dev/home/auth-providers/ticktick"
  },
  {
    id: i.Twitch,
    provider_id: e.Twitch,
    name: "Twitch",
    description: "Authorize tools and agents with Twitch",
    publicIconUrl: `${o}/twitch.svg`,
    icon: P,
    docs: "https://docs.arcade.dev/home/auth-providers/twitch"
  },
  {
    id: i.X,
    provider_id: e.X,
    name: "X (Twitter)",
    description: "Authorize tools and agents with X (Twitter)",
    publicIconUrl: `${o}/x.svg`,
    icon: D,
    docs: "https://docs.arcade.dev/home/auth-providers/x"
  },
  {
    id: i.Zoho,
    provider_id: e.Zoho,
    name: "Zoho",
    description: "Authorize tools and agents with Zoho",
    publicIconUrl: `${o}/zoho.svg`,
    icon: Z,
    docs: "https://docs.arcade.dev/home/auth-providers/zoho"
  },
  {
    id: i.Zoom,
    provider_id: e.Zoom,
    name: "Zoom",
    description: "Authorize tools and agents with Zoom",
    publicIconUrl: `${o}/zoom.svg`,
    icon: x,
    docs: "https://docs.arcade.dev/home/auth-providers/zoom"
  }
], G = {
  id: i.OAuth2,
  provider_id: e.OAuth2,
  name: "OAuth 2.0",
  description: "Authorize tools and agents with any OAuth 2.0 compatible provider",
  publicIconUrl: `${o}/oauth.svg`,
  icon: U,
  docs: "https://docs.arcade.dev/home/auth-providers/oauth2"
}, H = {
  id: i.MCP_OAuth2,
  provider_id: e.MCP_OAuth2,
  name: "MCP",
  description: "Model Context Protocol (MCP)",
  publicIconUrl: `${o}/mcp.svg`,
  icon: k,
  docs: "https://docs.arcade.dev/en/home/glossary#mcp-server"
  // TODO: Use the correct docs link when we have it
}, q = [
  G,
  H,
  {
    id: i.Salesforce,
    provider_id: e.Salesforce,
    name: "Salesforce",
    description: "Authorize tools and agents with Salesforce",
    publicIconUrl: `${o}/salesforce.svg`,
    icon: T,
    docs: "https://docs.arcade.dev/home/auth-providers/salesforce"
  },
  {
    id: i.Tesla,
    provider_id: e.Tesla,
    name: "Tesla",
    description: "Authorize tools and agents with Tesla",
    publicIconUrl: `${o}/tesla.svg`,
    icon: O,
    docs: "https://docs.arcade.dev/home/auth-providers/tesla"
  },
  {
    id: i.Zendesk,
    provider_id: e.Zendesk,
    name: "Zendesk",
    description: "Authorize tools and agents with Zendesk",
    publicIconUrl: `${o}/zendesk.svg`,
    icon: R,
    docs: "https://docs.arcade.dev/home/auth-providers/zendesk"
  }
], E = [
  ...L,
  ...q
], zo = E.reduce(
  (t, r) => (t[r.provider_id] = r, t),
  {}
);
export {
  H as MCP_OAUTH2_PROVIDER,
  G as OAUTH2_PROVIDER,
  E as OAUTH_PROVIDERS,
  zo as OAUTH_PROVIDER_CATALOGUE,
  i as OAuthId,
  e as OAuthProviderId,
  q as OTHER_OAUTH_PROVIDERS,
  L as PREBUILT_OAUTH_PROVIDERS
};
