import { e, d as b, c as S, f as h, h as u, a as w, b as k, g as z } from "./apLightTheme2026-ug4Y23ns.js";
import * as W from "vuetify/components";
import * as H from "vuetify/directives";
import { mdi as F, aliases as V } from "vuetify/iconsets/mdi-svg";
import { fr as A } from "vuetify/locale";
import { createVuetify as x } from "vuetify";
const f = {
  family: {
    primary: '"Arial", sans-serif',
    secondary: '"Arial", sans-serif'
  },
  weight: {
    thin: 100,
    light: 300,
    regular: 400,
    medium: 500,
    bold: 700,
    black: 900
  },
  size: {
    xs: "0.75rem",
    // 12px
    sm: "0.875rem",
    // 14px
    base: "1rem",
    // 16px
    lg: "1.125rem",
    // 18px
    xl: "1.25rem",
    // 20px
    xxl: "1.5rem"
    // 24px
  },
  lineHeight: {
    tight: 1.3,
    // 130% for font-size > 18px
    normal: 1.5
    // 150% for font-size <= 18px
  },
  letterSpacing: {
    tighter: "-0.05em",
    tight: "-0.025em",
    normal: "0",
    wide: "0.025em",
    wider: "0.05em"
  },
  heading: {
    h1: {
      fontFamily: '"Arial", sans-serif',
      fontWeight: 700,
      fontSize: "2rem",
      // 32px
      lineHeight: 1.3,
      letterSpacing: "-0.025em"
    },
    h2: {
      fontFamily: '"Arial", sans-serif',
      fontWeight: 700,
      fontSize: "1.75rem",
      // 28px
      lineHeight: 1.3,
      letterSpacing: "-0.025em"
    },
    h3: {
      fontFamily: '"Arial", sans-serif',
      fontWeight: 700,
      fontSize: "1.5rem",
      // 24px
      lineHeight: 1.3,
      letterSpacing: "-0.025em"
    },
    h4: {
      fontFamily: '"Arial", sans-serif',
      fontWeight: 700,
      fontSize: "1.25rem",
      // 20px
      lineHeight: 1.3,
      letterSpacing: "0"
    },
    h5: {
      fontFamily: '"Arial", sans-serif',
      fontWeight: 700,
      fontSize: "1.125rem",
      // 18px
      lineHeight: 1.3,
      letterSpacing: "0"
    },
    h6: {
      fontFamily: '"Arial", sans-serif',
      fontWeight: 700,
      fontSize: "1rem",
      // 16px
      lineHeight: 1.3,
      letterSpacing: "0"
    }
  },
  body: {
    body1: {
      fontFamily: '"Arial", sans-serif',
      fontWeight: 400,
      fontSize: "1.125rem",
      // 18px
      lineHeight: 1.5,
      letterSpacing: "0"
    },
    body2: {
      fontFamily: '"Arial", sans-serif',
      fontWeight: 400,
      fontSize: "1rem",
      // 16px
      lineHeight: 1.5,
      letterSpacing: "0"
    }
  },
  subtitle: {
    subtitle1: {
      fontFamily: '"Arial", sans-serif',
      fontWeight: 500,
      fontSize: "1.125rem",
      // 18px
      lineHeight: 1.5,
      letterSpacing: "0.009em"
    },
    subtitle2: {
      fontFamily: '"Arial", sans-serif',
      fontWeight: 500,
      fontSize: "1rem",
      // 16px
      lineHeight: 1.5,
      letterSpacing: "0.007em"
    }
  },
  caption: {
    fontFamily: '"Arial", sans-serif',
    fontWeight: 400,
    fontSize: "0.875rem",
    // 14px
    lineHeight: 1.5,
    letterSpacing: "0"
  },
  overline: {
    fontFamily: '"Arial", sans-serif',
    fontWeight: 400,
    fontSize: "0.875rem",
    // 14px
    lineHeight: 1.5,
    letterSpacing: "0.1em",
    textTransform: "uppercase"
  },
  display: {
    display1: {
      fontFamily: '"Arial", sans-serif',
      fontWeight: 300,
      fontSize: "2.5rem",
      // 40px
      lineHeight: 1.15,
      letterSpacing: "-0.0075em"
    },
    display2: {
      fontFamily: '"Arial", sans-serif',
      fontWeight: 300,
      fontSize: "1.875rem",
      // 30px
      lineHeight: 1.1,
      letterSpacing: "-0.00375em"
    }
  }
}, $ = {
  backgroundSurface: e.color.parma.darken60
}, m = {
  family: {
    primary: '"Arial", sans-serif',
    secondary: '"Arial", sans-serif'
  },
  weight: {
    thin: 100,
    light: 300,
    regular: 400,
    medium: 500,
    bold: 700,
    black: 900
  },
  size: {
    xs: "0.75rem",
    // 12px
    sm: "0.875rem",
    // 14px
    base: "1rem",
    // 16px
    lg: "1.125rem",
    // 18px
    xl: "1.25rem",
    // 20px
    xxl: "1.5rem"
    // 24px
  },
  lineHeight: {
    tight: 1.3,
    // 130% for font-size > 18px
    normal: 1.5
    // 150% for font-size <= 18px
  },
  letterSpacing: {
    tighter: "-0.05em",
    tight: "-0.025em",
    normal: "0",
    wide: "0.025em",
    wider: "0.05em"
  },
  heading: {
    h1: {
      fontFamily: '"Arial", sans-serif',
      fontWeight: 700,
      fontSize: "1.75rem",
      // 28px
      lineHeight: 1.3,
      letterSpacing: "-0.025em"
    },
    h2: {
      fontFamily: '"Arial", sans-serif',
      fontWeight: 700,
      fontSize: "1.25rem",
      // 20px
      lineHeight: 1.3,
      letterSpacing: "-0.025em"
    },
    h3: {
      fontFamily: '"Arial", sans-serif',
      fontWeight: 700,
      fontSize: "1.125rem",
      // 18px
      lineHeight: 1.3,
      letterSpacing: "-0.025em"
    },
    h4: {
      fontFamily: '"Arial", sans-serif',
      fontWeight: 700,
      fontSize: "1rem",
      // 16px
      lineHeight: 1.3,
      letterSpacing: "0"
    },
    h5: {
      fontFamily: '"Arial", sans-serif',
      fontWeight: 700,
      fontSize: "0.875rem",
      // 14px
      lineHeight: 1.3,
      letterSpacing: "0"
    },
    h6: {
      fontFamily: '"Arial", sans-serif',
      fontWeight: 700,
      fontSize: "0.75rem",
      // 12px
      lineHeight: 1.3,
      letterSpacing: "0"
    }
  },
  body: {
    body1: {
      fontFamily: '"Arial", sans-serif',
      fontWeight: 400,
      fontSize: "1rem",
      // 16px
      lineHeight: 1.5,
      letterSpacing: "0"
    },
    body2: {
      fontFamily: '"Arial", sans-serif',
      fontWeight: 400,
      fontSize: "0.875rem",
      // 14px
      lineHeight: 1.5,
      letterSpacing: "0"
    }
  },
  subtitle: {
    subtitle1: {
      fontFamily: '"Arial", sans-serif',
      fontWeight: 500,
      fontSize: "1rem",
      // 16px
      lineHeight: 1.5,
      letterSpacing: "0.009em"
    },
    subtitle2: {
      fontFamily: '"Arial", sans-serif',
      fontWeight: 500,
      fontSize: "0.875rem",
      // 14px
      lineHeight: 1.5,
      letterSpacing: "0.007em"
    }
  },
  caption: {
    fontFamily: '"Arial", sans-serif',
    fontWeight: 400,
    fontSize: "0.75rem",
    // 12px
    lineHeight: 1.5,
    letterSpacing: "0"
  },
  overline: {
    fontFamily: '"Arial", sans-serif',
    fontWeight: 500,
    fontSize: "0.75rem",
    // 12px
    lineHeight: 1.5,
    letterSpacing: "0.1em",
    textTransform: "uppercase"
  },
  display: {
    display1: {
      fontFamily: '"Arial", sans-serif',
      fontWeight: 300,
      fontSize: "2rem",
      // 32px
      lineHeight: 1.15,
      letterSpacing: "-0.006em"
    },
    display2: {
      fontFamily: '"Arial", sans-serif',
      fontWeight: 300,
      fontSize: "1.75rem",
      // 28px
      lineHeight: 1.1,
      letterSpacing: "-0.003em"
    }
  }
}, P = {
  ...b,
  colors: {
    background: "#ffffff",
    border: "#dddddd",
    text: "#333333",
    icon: "#666666",
    overlay: "rgba(0, 0, 0, 0.5)",
    interactive: "#007bff"
  }
}, T = {
  risquePro: e.color.brick.base,
  // Border
  border: e.color.blue.base,
  borderVariant: e.color.grey.lighten40,
  borderBright: e.color.white.base,
  borderDim: e.color.white.alpha40,
  // Disabled
  disabled: e.color.grey.lighten80,
  onDisabled: e.color.grey.lighten40,
  inverseSurface: e.color.grey.base,
  onDisabledVariant: e.color.white.alpha40,
  // Primary
  primary: e.color.blue.base,
  onPrimary: e.color.white.base,
  primaryVariant: e.color.blue.darken40,
  onPrimaryVariant: e.color.white.base,
  // Secondary
  secondary: e.color.cyan.darken40,
  onSecondary: e.color.white.base,
  secondaryVariant: e.color.cyan.darken60,
  onSecondaryVariant: e.color.white.base,
  // Overlay
  overlay: e.color.grey.alpha40,
  // Surface
  surface: e.color.white.base,
  surfaceBright: e.color.blue.lighten97,
  surfaceDim: e.color.blue.lighten90,
  onSurface: e.color.grey.darken60,
  onSurfaceVariant: e.color.grey.base,
  // Background
  background: e.color.blue.lighten90,
  onBackground: e.color.grey.darken60,
  backgroundVariant: e.color.white.base,
  onBackgroundVariant: e.color.grey.lighten40,
  // Feedback
  info: e.color.blue.base,
  infoVariant: e.color.blue.lighten80,
  onInfo: e.color.white.base,
  onInfoVariant: e.color.blue.darken20,
  error: e.color.orange.darken20,
  onError: e.color.white.base,
  errorVariant: e.color.orange.lighten80,
  onErrorVariant: e.color.orange.darken60,
  success: e.color.green.base,
  successVariant: e.color.green.lighten80,
  onSuccess: e.color.grey.darken60,
  onSuccessVariant: e.color.grey.darken60,
  warning: e.color.yellow.base,
  onWarning: e.color.grey.darken60,
  warningVariant: e.color.yellow.lighten80,
  onWarningVariant: e.color.yellow.darken60,
  // Interaction
  interactionLightenEnabled: e.color.none,
  interactionLightenHover: e.color.white.alpha20,
  interactionLightenSelected: e.color.white.alpha20,
  interactionLightenPressed: e.color.white.alpha38,
  interactionDarkEnabled: e.color.transparentBlue.alpha00,
  interactionDarkHover: e.color.transparentBlue.alpha08,
  interactionDarkPressed: e.color.transparentBlue.alpha18,
  interactionDarkenEnabled: e.color.transparentBlack.alpha00,
  interactionDarkenHover: e.color.transparentBlack.alpha20,
  interactionDarkenPressed: e.color.transparentBlack.alpha40
}, D = {
  backgroundSurface: e.color.parma.darken60
}, d = {
  ...b,
  colors: {
    background: "#ffffff",
    border: "#dddddd",
    text: "#333333",
    icon: "#666666",
    overlay: "rgba(0, 0, 0, 0.5)",
    interactive: "#007bff"
  },
  ap: {
    // Typography
    fontWeightRegular: "400",
    fontWeightBold: "700",
    fontSizeXxs: "0.75rem",
    fontSizeXs: "0.875rem",
    fontSizeSm: "1rem",
    fontSizeMd: "1.125rem",
    fontSizeLg: "1.25rem",
    fontSizeXl: "1.375rem",
    fontSizeXxl: "1.5rem",
    // Button
    btnRadius: "0.75rem",
    btnPaddingX: "1rem",
    btnPaddingY: "0.5rem",
    btnMinHeight: "2.5rem",
    // Card
    cardRadius: "0.75rem",
    cardPaddingDesktop: "1rem",
    cardPaddingTablet: "1rem",
    cardPaddingMobile: "0.75rem",
    // Dialog
    dialogPadding: "1.5rem",
    // Input / Form
    inputRadius: "0.5rem",
    inputMinHeight: "2.625rem",
    labelFontWeight: "700",
    // Filter pills
    filterRadius: "0.75rem",
    filterPaddingX: "2rem",
    filterPaddingY: "0.75rem",
    filterFontWeight: "700",
    // Tabs pills
    tabsPillRadius: "0.75rem",
    tabsPillPaddingX: "2rem",
    tabsPillPaddingY: "0.5rem",
    tabsPillFontWeight: "700",
    // Multiple folding card button
    multiFoldingBtnRadius: "0.75rem",
    multiFoldingBtnPaddingX: "2rem",
    multiFoldingBtnPaddingY: "0.5rem",
    multiFoldingBtnFontWeight: "700",
    // Switch
    switchTrackHeight: "2rem",
    switchTrackWidth: "3.5rem",
    switchTrackTop: "0",
    switchThumbHeight: "1.5rem",
    switchThumbWidth: "1.5rem",
    switchThumbTop: "0.25rem",
    switchThumbElevation: "0",
    switchWidth: "3.5rem",
    switchTrackOpacity: "1"
  },
  radius: {
    rounded0: "0",
    rounded: "12px",
    roundedLg: "24px",
    roundedPill: "64px"
  }
}, B = {
  risquePro: e.color.red.base,
  // Border
  border: e.color.cyan.darken20,
  borderVariant: e.color.grey.lighten40,
  borderBright: e.color.white.base,
  borderDim: e.color.white.alpha40,
  // Disabled
  disabled: e.color.grey.lighten80,
  inverseSurface: e.color.grey.base,
  onDisabled: e.color.grey.lighten40,
  onDisabledVariant: e.color.white.alpha40,
  // Primary
  primary: e.color.cyan.darken20,
  onPrimary: e.color.white.base,
  primaryVariant: e.color.cyan.darken40,
  onPrimaryVariant: e.color.white.base,
  // Secondary
  secondary: e.color.cyan.darken60,
  onSecondary: e.color.white.base,
  secondaryVariant: e.color.cyan.darken80,
  onSecondaryVariant: e.color.white.base,
  // Overlay
  overlay: e.color.grey.alpha40,
  // Surface
  surface: e.color.white.base,
  surfaceBright: e.color.cyan.lighten97,
  surfaceDim: e.color.cyan.lighten80,
  onSurface: e.color.grey.darken60,
  onSurfaceVariant: e.color.grey.base,
  // Background
  background: e.color.cyan.lighten97,
  backgroundVariant: e.color.white.base,
  onBackground: e.color.grey.darken60,
  onBackgroundVariant: e.color.grey.lighten40,
  // Feedback
  info: e.color.parma.darken40,
  infoVariant: e.color.parma.lighten80,
  onInfo: e.color.white.base,
  onInfoVariant: e.color.parma.darken60,
  error: e.color.red.darken20,
  onError: e.color.white.base,
  errorVariant: e.color.red.lighten90,
  onErrorVariant: e.color.red.darken60,
  success: e.color.forestGreen.base,
  onSuccess: e.color.white.base,
  successVariant: e.color.forestGreen.lighten90,
  onSuccessVariant: e.color.forestGreen.darken60,
  warning: e.color.yellow.base,
  onWarning: e.color.grey.darken60,
  warningVariant: e.color.yellow.lighten80,
  onWarningVariant: e.color.yellow.darken60,
  // Interaction
  interactionLightenEnabled: e.color.none,
  interactionLightenHover: e.color.white.alpha20,
  interactionLightenSelected: e.color.white.alpha20,
  interactionLightenPressed: e.color.white.alpha38,
  interactionDarkEnabled: e.color.transparentCyan.alpha00,
  interactionDarkHover: e.color.transparentCyan.alpha08,
  interactionDarkPressed: e.color.transparentCyan.alpha18,
  interactionDarkenEnabled: e.color.transparentBlack.alpha00,
  interactionDarkenHover: e.color.transparentBlack.alpha20,
  interactionDarkenPressed: e.color.transparentBlack.alpha40
}, p = {
  backgroundSurface: e.color.parma.darken60
}, v = (n) => typeof n == "object" && n !== null, c = (n) => {
  const t = {}, r = (i, a = "") => {
    for (const [o, s] of Object.entries(i)) {
      const l = a ? `${a}-${o}` : o;
      if (s === void 0)
        throw new Error(`Missing theme value for key "${l}"`);
      v(s) ? r(s, l) : t[l] = s;
    }
  };
  return r(n), t;
};
function y(n) {
  const t = {};
  if (n.family && n.family.primary && (t["font-family"] = n.family.primary), n.heading && Object.entries(n.heading).forEach(([r, i]) => {
    var a, o;
    t[`typography-${r}-font-size`] = i.fontSize || "", t[`typography-${r}-font-weight`] = ((a = i.fontWeight) == null ? void 0 : a.toString()) || "", t[`typography-${r}-line-height`] = ((o = i.lineHeight) == null ? void 0 : o.toString()) || "", t[`typography-${r}-letter-spacing`] = i.letterSpacing || "normal";
  }), n.body && Object.entries(n.body).forEach(([r, i]) => {
    var a, o;
    t[`typography-${r}-font-size`] = i.fontSize || "", t[`typography-${r}-font-weight`] = ((a = i.fontWeight) == null ? void 0 : a.toString()) || "", t[`typography-${r}-line-height`] = ((o = i.lineHeight) == null ? void 0 : o.toString()) || "", t[`typography-${r}-letter-spacing`] = i.letterSpacing || "normal";
  }), n.subtitle && Object.entries(n.subtitle).forEach(([r, i]) => {
    var a, o;
    t[`typography-${r}-font-size`] = i.fontSize || "", t[`typography-${r}-font-weight`] = ((a = i.fontWeight) == null ? void 0 : a.toString()) || "", t[`typography-${r}-line-height`] = ((o = i.lineHeight) == null ? void 0 : o.toString()) || "", t[`typography-${r}-letter-spacing`] = i.letterSpacing || "normal";
  }), ["caption", "overline"].forEach((r) => {
    var i, a, o, s;
    if (n[r]) {
      const l = n[r];
      if (l && typeof l == "object" && !Array.isArray(l))
        if ("fontSize" in l)
          t[`typography-${r}-font-size`] = l.fontSize || "", t[`typography-${r}-font-weight`] = ((i = l.fontWeight) == null ? void 0 : i.toString()) || "", t[`typography-${r}-line-height`] = ((a = l.lineHeight) == null ? void 0 : a.toString()) || "", t[`typography-${r}-letter-spacing`] = l.letterSpacing || "normal", l.textTransform && (t[`typography-${r}-text-transform`] = l.textTransform || "");
        else {
          const g = l[r];
          g && (t[`typography-${r}-font-size`] = g.fontSize || "", t[`typography-${r}-font-weight`] = ((o = g.fontWeight) == null ? void 0 : o.toString()) || "", t[`typography-${r}-line-height`] = ((s = g.lineHeight) == null ? void 0 : s.toString()) || "", t[`typography-${r}-letter-spacing`] = g.letterSpacing || "normal", g.textTransform && (t[`typography-${r}-text-transform`] = g.textTransform || ""));
        }
    }
  }), n.display) {
    const r = n.display;
    ["display1", "display2"].forEach((i) => {
      var o, s;
      const a = r[i];
      a && (t[`typography-${i}-font-size`] = a.fontSize || "", t[`typography-${i}-font-weight`] = ((o = a.fontWeight) == null ? void 0 : o.toString()) || "", t[`typography-${i}-line-height`] = ((s = a.lineHeight) == null ? void 0 : s.toString()) || "", t[`typography-${i}-letter-spacing`] = a.letterSpacing || "normal", a.textTransform && (t[`typography-${i}-text-transform`] = a.textTransform || ""));
    });
  }
  return t;
}
const R = () => x({
  components: W,
  directives: H,
  locale: {
    locale: "fr",
    messages: { fr: A }
  },
  theme: {
    defaultTheme: "cnam",
    themes: {
      cnam: {
        dark: !1,
        colors: {
          ...u,
          ...$,
          ...c(h)
        },
        variables: {
          "border-color": h.grey.base,
          "font-family": f.family.primary,
          ...y(f),
          ...c(z)
        }
      },
      pa: {
        dark: !1,
        colors: {
          ...T,
          ...D,
          ...c(h)
        },
        variables: {
          "border-color": h.grey.base,
          "font-family": m.family.primary,
          ...y(m),
          ...c(P)
        }
      },
      ap2026: {
        dark: !1,
        colors: {
          ...S,
          ...p,
          ...c(k)
        },
        variables: {
          "font-family": '"Arial", sans-serif',
          ...c(d)
        }
      },
      ap: {
        dark: !1,
        colors: {
          ...B,
          ...p,
          ...c(w)
        },
        variables: {
          "font-family": '"Arial", sans-serif',
          ...c(d)
        }
      }
    }
  },
  icons: {
    defaultSet: "mdi",
    aliases: V,
    sets: {
      mdi: F
    }
  }
});
export {
  R as createVuetifyInstance
};
