// (C) 2026 GoodData Corporation
/**
 * Returns the default PDF page size based on the format locale.
 *
 * @param formatLocale - The format locale to use.
 * @returns The default PDF page size.
 */
export function getDefaultPdfPageSize(formatLocale) {
    const normalizedLocale = formatLocale?.replace("_", "-");
    const region = normalizedLocale?.split("-")[1]?.toUpperCase();
    return region === "US" || region === "CA" ? "LETTER" : "A4";
}
//# sourceMappingURL=pdfPageSize.js.map