Rocky_Mountain_Vending/.pnpm-store/v10/files/a9/a1a7e1f347bafaba4afc45b9c98518f8e2b510a4c48170924e76015748da1733ff2d69c47e451445c90fab1fd9f0ebb23311abdf9cb002b3decbfc3a82eaae
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

208 lines
3.8 KiB
Text
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"use strict";
exports.localize = void 0;
var _index = require("../../_lib/buildLocalizeFn.cjs");
const eraValues = {
narrow: ["e.ə", "b.e"],
abbreviated: ["e.ə", "b.e"],
wide: ["eramızdan əvvəl", "bizim era"],
};
const quarterValues = {
narrow: ["1", "2", "3", "4"],
abbreviated: ["K1", "K2", "K3", "K4"],
wide: ["1ci kvartal", "2ci kvartal", "3cü kvartal", "4cü kvartal"],
};
const monthValues = {
narrow: ["Y", "F", "M", "A", "M", "İ", "İ", "A", "S", "O", "N", "D"],
abbreviated: [
"Yan",
"Fev",
"Mar",
"Apr",
"May",
"İyun",
"İyul",
"Avq",
"Sen",
"Okt",
"Noy",
"Dek",
],
wide: [
"Yanvar",
"Fevral",
"Mart",
"Aprel",
"May",
"İyun",
"İyul",
"Avqust",
"Sentyabr",
"Oktyabr",
"Noyabr",
"Dekabr",
],
};
const dayValues = {
narrow: ["B.", "B.e", "Ç.a", "Ç.", "C.a", "C.", "Ş."],
short: ["B.", "B.e", "Ç.a", "Ç.", "C.a", "C.", "Ş."],
abbreviated: ["Baz", "Baz.e", "Çər.a", "Çər", "Cüm.a", "Cüm", "Şə"],
wide: [
"Bazar",
"Bazar ertəsi",
"Çərşənbə axşamı",
"Çərşənbə",
"Cümə axşamı",
"Cümə",
"Şənbə",
],
};
const dayPeriodValues = {
narrow: {
am: "am",
pm: "pm",
midnight: "gecəyarı",
noon: "gün",
morning: "səhər",
afternoon: "gündüz",
evening: "axşam",
night: "gecə",
},
abbreviated: {
am: "AM",
pm: "PM",
midnight: "gecəyarı",
noon: "gün",
morning: "səhər",
afternoon: "gündüz",
evening: "axşam",
night: "gecə",
},
wide: {
am: "a.m.",
pm: "p.m.",
midnight: "gecəyarı",
noon: "gün",
morning: "səhər",
afternoon: "gündüz",
evening: "axşam",
night: "gecə",
},
};
const formattingDayPeriodValues = {
narrow: {
am: "a",
pm: "p",
midnight: "gecəyarı",
noon: "gün",
morning: "səhər",
afternoon: "gündüz",
evening: "axşam",
night: "gecə",
},
abbreviated: {
am: "AM",
pm: "PM",
midnight: "gecəyarı",
noon: "gün",
morning: "səhər",
afternoon: "gündüz",
evening: "axşam",
night: "gecə",
},
wide: {
am: "a.m.",
pm: "p.m.",
midnight: "gecəyarı",
noon: "gün",
morning: "səhər",
afternoon: "gündüz",
evening: "axşam",
night: "gecə",
},
};
const suffixes = {
1: "-inci",
5: "-inci",
8: "-inci",
70: "-inci",
80: "-inci",
2: "-nci",
7: "-nci",
20: "-nci",
50: "-nci",
3: "-üncü",
4: "-üncü",
100: "-üncü",
6: "-ncı",
9: "-uncu",
10: "-uncu",
30: "-uncu",
60: "-ıncı",
90: "-ıncı",
};
const getSuffix = (number) => {
if (number === 0) {
// special case for zero
return number + "-ıncı";
}
const a = number % 10;
const b = (number % 100) - a;
const c = number >= 100 ? 100 : null;
if (suffixes[a]) {
return suffixes[a];
} else if (suffixes[b]) {
return suffixes[b];
} else if (c !== null) {
return suffixes[c];
}
return "";
};
const ordinalNumber = (dirtyNumber, _options) => {
const number = Number(dirtyNumber);
const suffix = getSuffix(number);
return number + suffix;
};
const localize = (exports.localize = {
ordinalNumber,
era: (0, _index.buildLocalizeFn)({
values: eraValues,
defaultWidth: "wide",
}),
quarter: (0, _index.buildLocalizeFn)({
values: quarterValues,
defaultWidth: "wide",
argumentCallback: (quarter) => quarter - 1,
}),
month: (0, _index.buildLocalizeFn)({
values: monthValues,
defaultWidth: "wide",
}),
day: (0, _index.buildLocalizeFn)({
values: dayValues,
defaultWidth: "wide",
}),
dayPeriod: (0, _index.buildLocalizeFn)({
values: dayPeriodValues,
defaultWidth: "wide",
formattingValues: formattingDayPeriodValues,
defaultFormattingWidth: "wide",
}),
});