It appears that the repository has undergone several changes and renamings:

This commit is contained in:
2025-06-10 13:23:37 +02:00
parent a4a293a744
commit 7e4bfbd4d7
11470 changed files with 704 additions and 1206091 deletions

View File

@@ -1,105 +0,0 @@
"use strict";
exports.formatDistance = void 0;
const formatDistanceLocale = {
lessThanXSeconds: {
one: "بىر سىكۇنت ئىچىدە",
other: "سىكۇنت ئىچىدە {{count}}",
},
xSeconds: {
one: "بىر سىكۇنت",
other: "سىكۇنت {{count}}",
},
halfAMinute: "يىرىم مىنۇت",
lessThanXMinutes: {
one: "بىر مىنۇت ئىچىدە",
other: "مىنۇت ئىچىدە {{count}}",
},
xMinutes: {
one: "بىر مىنۇت",
other: "مىنۇت {{count}}",
},
aboutXHours: {
one: "تەخمىنەن بىر سائەت",
other: "سائەت {{count}} تەخمىنەن",
},
xHours: {
one: "بىر سائەت",
other: "سائەت {{count}}",
},
xDays: {
one: "بىر كۈن",
other: "كۈن {{count}}",
},
aboutXWeeks: {
one: "تەخمىنەن بىرھەپتە",
other: "ھەپتە {{count}} تەخمىنەن",
},
xWeeks: {
one: "بىرھەپتە",
other: "ھەپتە {{count}}",
},
aboutXMonths: {
one: "تەخمىنەن بىر ئاي",
other: "ئاي {{count}} تەخمىنەن",
},
xMonths: {
one: "بىر ئاي",
other: "ئاي {{count}}",
},
aboutXYears: {
one: "تەخمىنەن بىر يىل",
other: "يىل {{count}} تەخمىنەن",
},
xYears: {
one: "بىر يىل",
other: "يىل {{count}}",
},
overXYears: {
one: "بىر يىلدىن ئارتۇق",
other: "يىلدىن ئارتۇق {{count}}",
},
almostXYears: {
one: "ئاساسەن بىر يىل",
other: "يىل {{count}} ئاساسەن",
},
};
const formatDistance = (token, count, options) => {
let result;
const tokenValue = formatDistanceLocale[token];
if (typeof tokenValue === "string") {
result = tokenValue;
} else if (count === 1) {
result = tokenValue.one;
} else {
result = tokenValue.other.replace("{{count}}", String(count));
}
if (options?.addSuffix) {
if (options.comparison && options.comparison > 0) {
return result;
} else {
return result + " بولدى";
}
}
return result;
};
exports.formatDistance = formatDistance;

View File

@@ -1,2 +0,0 @@
import type { FormatDistanceFn } from "../../types.js";
export declare const formatDistance: FormatDistanceFn;

View File

@@ -1,2 +0,0 @@
import type { FormatDistanceFn } from "../../types.js";
export declare const formatDistance: FormatDistanceFn;

View File

@@ -1,101 +0,0 @@
const formatDistanceLocale = {
lessThanXSeconds: {
one: "بىر سىكۇنت ئىچىدە",
other: "سىكۇنت ئىچىدە {{count}}",
},
xSeconds: {
one: "بىر سىكۇنت",
other: "سىكۇنت {{count}}",
},
halfAMinute: "يىرىم مىنۇت",
lessThanXMinutes: {
one: "بىر مىنۇت ئىچىدە",
other: "مىنۇت ئىچىدە {{count}}",
},
xMinutes: {
one: "بىر مىنۇت",
other: "مىنۇت {{count}}",
},
aboutXHours: {
one: "تەخمىنەن بىر سائەت",
other: "سائەت {{count}} تەخمىنەن",
},
xHours: {
one: "بىر سائەت",
other: "سائەت {{count}}",
},
xDays: {
one: "بىر كۈن",
other: "كۈن {{count}}",
},
aboutXWeeks: {
one: "تەخمىنەن بىرھەپتە",
other: "ھەپتە {{count}} تەخمىنەن",
},
xWeeks: {
one: "بىرھەپتە",
other: "ھەپتە {{count}}",
},
aboutXMonths: {
one: "تەخمىنەن بىر ئاي",
other: "ئاي {{count}} تەخمىنەن",
},
xMonths: {
one: "بىر ئاي",
other: "ئاي {{count}}",
},
aboutXYears: {
one: "تەخمىنەن بىر يىل",
other: "يىل {{count}} تەخمىنەن",
},
xYears: {
one: "بىر يىل",
other: "يىل {{count}}",
},
overXYears: {
one: "بىر يىلدىن ئارتۇق",
other: "يىلدىن ئارتۇق {{count}}",
},
almostXYears: {
one: "ئاساسەن بىر يىل",
other: "يىل {{count}} ئاساسەن",
},
};
export const formatDistance = (token, count, options) => {
let result;
const tokenValue = formatDistanceLocale[token];
if (typeof tokenValue === "string") {
result = tokenValue;
} else if (count === 1) {
result = tokenValue.one;
} else {
result = tokenValue.other.replace("{{count}}", String(count));
}
if (options?.addSuffix) {
if (options.comparison && options.comparison > 0) {
return result;
} else {
return result + " بولدى";
}
}
return result;
};

View File

@@ -1,41 +0,0 @@
"use strict";
exports.formatLong = void 0;
var _index = require("../../_lib/buildFormatLongFn.cjs");
const dateFormats = {
full: "EEEE, MMMM do, y",
long: "MMMM do, y",
medium: "MMM d, y",
short: "MM/dd/yyyy",
};
const timeFormats = {
full: "h:mm:ss a zzzz",
long: "h:mm:ss a z",
medium: "h:mm:ss a",
short: "h:mm a",
};
const dateTimeFormats = {
full: "{{date}} 'دە' {{time}}",
long: "{{date}} 'دە' {{time}}",
medium: "{{date}}, {{time}}",
short: "{{date}}, {{time}}",
};
const formatLong = (exports.formatLong = {
date: (0, _index.buildFormatLongFn)({
formats: dateFormats,
defaultWidth: "full",
}),
time: (0, _index.buildFormatLongFn)({
formats: timeFormats,
defaultWidth: "full",
}),
dateTime: (0, _index.buildFormatLongFn)({
formats: dateTimeFormats,
defaultWidth: "full",
}),
});

View File

@@ -1,2 +0,0 @@
import type { FormatLong } from "../../types.js";
export declare const formatLong: FormatLong;

View File

@@ -1,2 +0,0 @@
import type { FormatLong } from "../../types.js";
export declare const formatLong: FormatLong;

View File

@@ -1,39 +0,0 @@
import { buildFormatLongFn } from "../../_lib/buildFormatLongFn.js";
const dateFormats = {
full: "EEEE, MMMM do, y",
long: "MMMM do, y",
medium: "MMM d, y",
short: "MM/dd/yyyy",
};
const timeFormats = {
full: "h:mm:ss a zzzz",
long: "h:mm:ss a z",
medium: "h:mm:ss a",
short: "h:mm a",
};
const dateTimeFormats = {
full: "{{date}} 'دە' {{time}}",
long: "{{date}} 'دە' {{time}}",
medium: "{{date}}, {{time}}",
short: "{{date}}, {{time}}",
};
export const formatLong = {
date: buildFormatLongFn({
formats: dateFormats,
defaultWidth: "full",
}),
time: buildFormatLongFn({
formats: timeFormats,
defaultWidth: "full",
}),
dateTime: buildFormatLongFn({
formats: dateTimeFormats,
defaultWidth: "full",
}),
};

View File

@@ -1,15 +0,0 @@
"use strict";
exports.formatRelative = void 0;
const formatRelativeLocale = {
lastWeek: "'ئ‍ۆتكەن' eeee 'دە' p",
yesterday: "'تۈنۈگۈن دە' p",
today: "'بۈگۈن دە' p",
tomorrow: "'ئەتە دە' p",
nextWeek: "eeee 'دە' p",
other: "P",
};
const formatRelative = (token, _date, _baseDate, _options) =>
formatRelativeLocale[token];
exports.formatRelative = formatRelative;

View File

@@ -1,2 +0,0 @@
import type { FormatRelativeFn } from "../../types.js";
export declare const formatRelative: FormatRelativeFn;

View File

@@ -1,2 +0,0 @@
import type { FormatRelativeFn } from "../../types.js";
export declare const formatRelative: FormatRelativeFn;

View File

@@ -1,11 +0,0 @@
const formatRelativeLocale = {
lastWeek: "'ئ‍ۆتكەن' eeee 'دە' p",
yesterday: "'تۈنۈگۈن دە' p",
today: "'بۈگۈن دە' p",
tomorrow: "'ئەتە دە' p",
nextWeek: "eeee 'دە' p",
other: "P",
};
export const formatRelative = (token, _date, _baseDate, _options) =>
formatRelativeLocale[token];

View File

@@ -1,178 +0,0 @@
"use strict";
exports.localize = void 0;
var _index = require("../../_lib/buildLocalizeFn.cjs");
const eraValues = {
narrow: ["ب", "ك"],
abbreviated: ["ب", "ك"],
wide: ["مىيلادىدىن بۇرۇن", "مىيلادىدىن كىيىن"],
};
const quarterValues = {
narrow: ["1", "2", "3", "4"],
abbreviated: ["1", "2", "3", "4"],
wide: ["بىرىنجى چارەك", "ئىككىنجى چارەك", "ئۈچىنجى چارەك", "تۆتىنجى چارەك"],
};
// Note: in English, the names of days of the week and months are capitalized.
// If you are making a new locale based on this one, check if the same is true for the language you're working on.
// Generally, formatted dates should look like they are in the middle of a sentence,
// e.g. in Spanish language the weekdays and months should be in the lowercase.
const monthValues = {
narrow: ["ي", "ف", "م", "ا", "م", "ى", "ى", "ا", "س", "ۆ", "ن", "د"],
abbreviated: [
"يانۋار",
"فېۋىرال",
"مارت",
"ئاپرىل",
"ماي",
"ئىيۇن",
"ئىيول",
"ئاۋغۇست",
"سىنتەبىر",
"ئۆكتەبىر",
"نويابىر",
"دىكابىر",
],
wide: [
"يانۋار",
"فېۋىرال",
"مارت",
"ئاپرىل",
"ماي",
"ئىيۇن",
"ئىيول",
"ئاۋغۇست",
"سىنتەبىر",
"ئۆكتەبىر",
"نويابىر",
"دىكابىر",
],
};
const dayValues = {
narrow: ["ي", "د", "س", "چ", "پ", "ج", "ش"],
short: ["ي", "د", "س", "چ", "پ", "ج", "ش"],
abbreviated: [
"يەكشەنبە",
"دۈشەنبە",
"سەيشەنبە",
"چارشەنبە",
"پەيشەنبە",
"جۈمە",
"شەنبە",
],
wide: [
"يەكشەنبە",
"دۈشەنبە",
"سەيشەنبە",
"چارشەنبە",
"پەيشەنبە",
"جۈمە",
"شەنبە",
],
};
const dayPeriodValues = {
narrow: {
am: "ئە",
pm: "چ",
midnight: "ك",
noon: "چ",
morning: "ئەتىگەن",
afternoon: "چۈشتىن كىيىن",
evening: "ئاخشىم",
night: "كىچە",
},
abbreviated: {
am: "ئە",
pm: "چ",
midnight: "ك",
noon: "چ",
morning: "ئەتىگەن",
afternoon: "چۈشتىن كىيىن",
evening: "ئاخشىم",
night: "كىچە",
},
wide: {
am: "ئە",
pm: "چ",
midnight: "ك",
noon: "چ",
morning: "ئەتىگەن",
afternoon: "چۈشتىن كىيىن",
evening: "ئاخشىم",
night: "كىچە",
},
};
const formattingDayPeriodValues = {
narrow: {
am: "ئە",
pm: "چ",
midnight: "ك",
noon: "چ",
morning: "ئەتىگەندە",
afternoon: "چۈشتىن كىيىن",
evening: "ئاخشامدا",
night: "كىچىدە",
},
abbreviated: {
am: "ئە",
pm: "چ",
midnight: "ك",
noon: "چ",
morning: "ئەتىگەندە",
afternoon: "چۈشتىن كىيىن",
evening: "ئاخشامدا",
night: "كىچىدە",
},
wide: {
am: "ئە",
pm: "چ",
midnight: "ك",
noon: "چ",
morning: "ئەتىگەندە",
afternoon: "چۈشتىن كىيىن",
evening: "ئاخشامدا",
night: "كىچىدە",
},
};
const ordinalNumber = (dirtyNumber, _options) => {
return String(dirtyNumber);
};
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",
}),
});

View File

@@ -1,2 +0,0 @@
import type { Localize } from "../../types.js";
export declare const localize: Localize;

View File

@@ -1,2 +0,0 @@
import type { Localize } from "../../types.js";
export declare const localize: Localize;

View File

@@ -1,176 +0,0 @@
import { buildLocalizeFn } from "../../_lib/buildLocalizeFn.js";
const eraValues = {
narrow: ["ب", "ك"],
abbreviated: ["ب", "ك"],
wide: ["مىيلادىدىن بۇرۇن", "مىيلادىدىن كىيىن"],
};
const quarterValues = {
narrow: ["1", "2", "3", "4"],
abbreviated: ["1", "2", "3", "4"],
wide: ["بىرىنجى چارەك", "ئىككىنجى چارەك", "ئۈچىنجى چارەك", "تۆتىنجى چارەك"],
};
// Note: in English, the names of days of the week and months are capitalized.
// If you are making a new locale based on this one, check if the same is true for the language you're working on.
// Generally, formatted dates should look like they are in the middle of a sentence,
// e.g. in Spanish language the weekdays and months should be in the lowercase.
const monthValues = {
narrow: ["ي", "ف", "م", "ا", "م", "ى", "ى", "ا", "س", "ۆ", "ن", "د"],
abbreviated: [
"يانۋار",
"فېۋىرال",
"مارت",
"ئاپرىل",
"ماي",
"ئىيۇن",
"ئىيول",
"ئاۋغۇست",
"سىنتەبىر",
"ئۆكتەبىر",
"نويابىر",
"دىكابىر",
],
wide: [
"يانۋار",
"فېۋىرال",
"مارت",
"ئاپرىل",
"ماي",
"ئىيۇن",
"ئىيول",
"ئاۋغۇست",
"سىنتەبىر",
"ئۆكتەبىر",
"نويابىر",
"دىكابىر",
],
};
const dayValues = {
narrow: ["ي", "د", "س", "چ", "پ", "ج", "ش"],
short: ["ي", "د", "س", "چ", "پ", "ج", "ش"],
abbreviated: [
"يەكشەنبە",
"دۈشەنبە",
"سەيشەنبە",
"چارشەنبە",
"پەيشەنبە",
"جۈمە",
"شەنبە",
],
wide: [
"يەكشەنبە",
"دۈشەنبە",
"سەيشەنبە",
"چارشەنبە",
"پەيشەنبە",
"جۈمە",
"شەنبە",
],
};
const dayPeriodValues = {
narrow: {
am: "ئە",
pm: "چ",
midnight: "ك",
noon: "چ",
morning: "ئەتىگەن",
afternoon: "چۈشتىن كىيىن",
evening: "ئاخشىم",
night: "كىچە",
},
abbreviated: {
am: "ئە",
pm: "چ",
midnight: "ك",
noon: "چ",
morning: "ئەتىگەن",
afternoon: "چۈشتىن كىيىن",
evening: "ئاخشىم",
night: "كىچە",
},
wide: {
am: "ئە",
pm: "چ",
midnight: "ك",
noon: "چ",
morning: "ئەتىگەن",
afternoon: "چۈشتىن كىيىن",
evening: "ئاخشىم",
night: "كىچە",
},
};
const formattingDayPeriodValues = {
narrow: {
am: "ئە",
pm: "چ",
midnight: "ك",
noon: "چ",
morning: "ئەتىگەندە",
afternoon: "چۈشتىن كىيىن",
evening: "ئاخشامدا",
night: "كىچىدە",
},
abbreviated: {
am: "ئە",
pm: "چ",
midnight: "ك",
noon: "چ",
morning: "ئەتىگەندە",
afternoon: "چۈشتىن كىيىن",
evening: "ئاخشامدا",
night: "كىچىدە",
},
wide: {
am: "ئە",
pm: "چ",
midnight: "ك",
noon: "چ",
morning: "ئەتىگەندە",
afternoon: "چۈشتىن كىيىن",
evening: "ئاخشامدا",
night: "كىچىدە",
},
};
const ordinalNumber = (dirtyNumber, _options) => {
return String(dirtyNumber);
};
export const localize = {
ordinalNumber,
era: buildLocalizeFn({
values: eraValues,
defaultWidth: "wide",
}),
quarter: buildLocalizeFn({
values: quarterValues,
defaultWidth: "wide",
argumentCallback: (quarter) => quarter - 1,
}),
month: buildLocalizeFn({
values: monthValues,
defaultWidth: "wide",
}),
day: buildLocalizeFn({
values: dayValues,
defaultWidth: "wide",
}),
dayPeriod: buildLocalizeFn({
values: dayPeriodValues,
defaultWidth: "wide",
formattingValues: formattingDayPeriodValues,
defaultFormattingWidth: "wide",
}),
};

View File

@@ -1,136 +0,0 @@
"use strict";
exports.match = void 0;
var _index = require("../../_lib/buildMatchFn.cjs");
var _index2 = require("../../_lib/buildMatchPatternFn.cjs");
const matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i;
const parseOrdinalNumberPattern = /\d+/i;
const matchEraPatterns = {
narrow: /^(ب|ك)/i,
wide: /^(مىيلادىدىن بۇرۇن|مىيلادىدىن كىيىن)/i,
};
const parseEraPatterns = {
any: [/^بۇرۇن/i, /^كىيىن/i],
};
const matchQuarterPatterns = {
narrow: /^[1234]/i,
abbreviated: /^چ[1234]/i,
wide: /^چارەك [1234]/i,
};
const parseQuarterPatterns = {
any: [/1/i, /2/i, /3/i, /4/i],
};
const matchMonthPatterns = {
// eslint-disable-next-line no-misleading-character-class
narrow: /^[يفمئامئ‍ئاسۆند]/i,
abbreviated:
/^(يانۋار|فېۋىرال|مارت|ئاپرىل|ماي|ئىيۇن|ئىيول|ئاۋغۇست|سىنتەبىر|ئۆكتەبىر|نويابىر|دىكابىر)/i,
wide: /^(يانۋار|فېۋىرال|مارت|ئاپرىل|ماي|ئىيۇن|ئىيول|ئاۋغۇست|سىنتەبىر|ئۆكتەبىر|نويابىر|دىكابىر)/i,
};
const parseMonthPatterns = {
narrow: [
/^ي/i,
/^ف/i,
/^م/i,
/^ا/i,
/^م/i,
/^ى‍/i,
/^ى‍/i,
/^ا/i,
/^س/i,
/^ۆ/i,
/^ن/i,
/^د/i,
],
any: [
/^يان/i,
/^فېۋ/i,
/^مار/i,
/^ئاپ/i,
/^ماي/i,
/^ئىيۇن/i,
/^ئىيول/i,
/^ئاۋ/i,
/^سىن/i,
/^ئۆك/i,
/^نوي/i,
/^دىك/i,
],
};
const matchDayPatterns = {
narrow: /^[دسچپجشي]/i,
short: /^(يە|دۈ|سە|چا|پە|جۈ|شە)/i,
abbreviated: /^(يە|دۈ|سە|چا|پە|جۈ|شە)/i,
wide: /^(يەكشەنبە|دۈشەنبە|سەيشەنبە|چارشەنبە|پەيشەنبە|جۈمە|شەنبە)/i,
};
const parseDayPatterns = {
narrow: [/^ي/i, /^د/i, /^س/i, /^چ/i, /^پ/i, /^ج/i, /^ش/i],
any: [/^ي/i, /^د/i, /^س/i, /^چ/i, /^پ/i, /^ج/i, /^ش/i],
};
const matchDayPeriodPatterns = {
narrow: /^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە‍|چۈشتىن كىيىن|ئاخشىم|كىچە))/i,
any: /^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە‍|چۈشتىن كىيىن|ئاخشىم|كىچە))/i,
};
const parseDayPeriodPatterns = {
any: {
am: /^ئە/i,
pm: /^چ/i,
midnight: /^ك/i,
noon: /^چ/i,
morning: /ئەتىگەن/i,
afternoon: /چۈشتىن كىيىن/i,
evening: /ئاخشىم/i,
night: /كىچە/i,
},
};
const match = (exports.match = {
ordinalNumber: (0, _index2.buildMatchPatternFn)({
matchPattern: matchOrdinalNumberPattern,
parsePattern: parseOrdinalNumberPattern,
valueCallback: (value) => parseInt(value, 10),
}),
era: (0, _index.buildMatchFn)({
matchPatterns: matchEraPatterns,
defaultMatchWidth: "wide",
parsePatterns: parseEraPatterns,
defaultParseWidth: "any",
}),
quarter: (0, _index.buildMatchFn)({
matchPatterns: matchQuarterPatterns,
defaultMatchWidth: "wide",
parsePatterns: parseQuarterPatterns,
defaultParseWidth: "any",
valueCallback: (index) => index + 1,
}),
month: (0, _index.buildMatchFn)({
matchPatterns: matchMonthPatterns,
defaultMatchWidth: "wide",
parsePatterns: parseMonthPatterns,
defaultParseWidth: "any",
}),
day: (0, _index.buildMatchFn)({
matchPatterns: matchDayPatterns,
defaultMatchWidth: "wide",
parsePatterns: parseDayPatterns,
defaultParseWidth: "any",
}),
dayPeriod: (0, _index.buildMatchFn)({
matchPatterns: matchDayPeriodPatterns,
defaultMatchWidth: "any",
parsePatterns: parseDayPeriodPatterns,
defaultParseWidth: "any",
}),
});

View File

@@ -1,2 +0,0 @@
import type { Match } from "../../types.js";
export declare const match: Match;

View File

@@ -1,2 +0,0 @@
import type { Match } from "../../types.js";
export declare const match: Match;

View File

@@ -1,133 +0,0 @@
import { buildMatchFn } from "../../_lib/buildMatchFn.js";
import { buildMatchPatternFn } from "../../_lib/buildMatchPatternFn.js";
const matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i;
const parseOrdinalNumberPattern = /\d+/i;
const matchEraPatterns = {
narrow: /^(ب|ك)/i,
wide: /^(مىيلادىدىن بۇرۇن|مىيلادىدىن كىيىن)/i,
};
const parseEraPatterns = {
any: [/^بۇرۇن/i, /^كىيىن/i],
};
const matchQuarterPatterns = {
narrow: /^[1234]/i,
abbreviated: /^چ[1234]/i,
wide: /^چارەك [1234]/i,
};
const parseQuarterPatterns = {
any: [/1/i, /2/i, /3/i, /4/i],
};
const matchMonthPatterns = {
// eslint-disable-next-line no-misleading-character-class
narrow: /^[يفمئامئ‍ئاسۆند]/i,
abbreviated:
/^(يانۋار|فېۋىرال|مارت|ئاپرىل|ماي|ئىيۇن|ئىيول|ئاۋغۇست|سىنتەبىر|ئۆكتەبىر|نويابىر|دىكابىر)/i,
wide: /^(يانۋار|فېۋىرال|مارت|ئاپرىل|ماي|ئىيۇن|ئىيول|ئاۋغۇست|سىنتەبىر|ئۆكتەبىر|نويابىر|دىكابىر)/i,
};
const parseMonthPatterns = {
narrow: [
/^ي/i,
/^ف/i,
/^م/i,
/^ا/i,
/^م/i,
/^ى‍/i,
/^ى‍/i,
/^ا/i,
/^س/i,
/^ۆ/i,
/^ن/i,
/^د/i,
],
any: [
/^يان/i,
/^فېۋ/i,
/^مار/i,
/^ئاپ/i,
/^ماي/i,
/^ئىيۇن/i,
/^ئىيول/i,
/^ئاۋ/i,
/^سىن/i,
/^ئۆك/i,
/^نوي/i,
/^دىك/i,
],
};
const matchDayPatterns = {
narrow: /^[دسچپجشي]/i,
short: /^(يە|دۈ|سە|چا|پە|جۈ|شە)/i,
abbreviated: /^(يە|دۈ|سە|چا|پە|جۈ|شە)/i,
wide: /^(يەكشەنبە|دۈشەنبە|سەيشەنبە|چارشەنبە|پەيشەنبە|جۈمە|شەنبە)/i,
};
const parseDayPatterns = {
narrow: [/^ي/i, /^د/i, /^س/i, /^چ/i, /^پ/i, /^ج/i, /^ش/i],
any: [/^ي/i, /^د/i, /^س/i, /^چ/i, /^پ/i, /^ج/i, /^ش/i],
};
const matchDayPeriodPatterns = {
narrow: /^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە‍|چۈشتىن كىيىن|ئاخشىم|كىچە))/i,
any: /^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە‍|چۈشتىن كىيىن|ئاخشىم|كىچە))/i,
};
const parseDayPeriodPatterns = {
any: {
am: /^ئە/i,
pm: /^چ/i,
midnight: /^ك/i,
noon: /^چ/i,
morning: /ئەتىگەن/i,
afternoon: /چۈشتىن كىيىن/i,
evening: /ئاخشىم/i,
night: /كىچە/i,
},
};
export const match = {
ordinalNumber: buildMatchPatternFn({
matchPattern: matchOrdinalNumberPattern,
parsePattern: parseOrdinalNumberPattern,
valueCallback: (value) => parseInt(value, 10),
}),
era: buildMatchFn({
matchPatterns: matchEraPatterns,
defaultMatchWidth: "wide",
parsePatterns: parseEraPatterns,
defaultParseWidth: "any",
}),
quarter: buildMatchFn({
matchPatterns: matchQuarterPatterns,
defaultMatchWidth: "wide",
parsePatterns: parseQuarterPatterns,
defaultParseWidth: "any",
valueCallback: (index) => index + 1,
}),
month: buildMatchFn({
matchPatterns: matchMonthPatterns,
defaultMatchWidth: "wide",
parsePatterns: parseMonthPatterns,
defaultParseWidth: "any",
}),
day: buildMatchFn({
matchPatterns: matchDayPatterns,
defaultMatchWidth: "wide",
parsePatterns: parseDayPatterns,
defaultParseWidth: "any",
}),
dayPeriod: buildMatchFn({
matchPatterns: matchDayPeriodPatterns,
defaultMatchWidth: "any",
parsePatterns: parseDayPeriodPatterns,
defaultParseWidth: "any",
}),
};

View File

@@ -1,525 +0,0 @@
(() => {
var _window$dateFns;function _typeof(o) {"@babel/helpers - typeof";return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {return typeof o;} : function (o) {return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;}, _typeof(o);}function ownKeys(e, r) {var t = Object.keys(e);if (Object.getOwnPropertySymbols) {var o = Object.getOwnPropertySymbols(e);r && (o = o.filter(function (r) {return Object.getOwnPropertyDescriptor(e, r).enumerable;})), t.push.apply(t, o);}return t;}function _objectSpread(e) {for (var r = 1; r < arguments.length; r++) {var t = null != arguments[r] ? arguments[r] : {};r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {_defineProperty(e, r, t[r]);}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));});}return e;}function _defineProperty(obj, key, value) {key = _toPropertyKey(key);if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}function _toPropertyKey(t) {var i = _toPrimitive(t, "string");return "symbol" == _typeof(i) ? i : String(i);}function _toPrimitive(t, r) {if ("object" != _typeof(t) || !t) return t;var e = t[Symbol.toPrimitive];if (void 0 !== e) {var i = e.call(t, r || "default");if ("object" != _typeof(i)) return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return ("string" === r ? String : Number)(t);}var __defProp = Object.defineProperty;
var __export = function __export(target, all) {
for (var name in all)
__defProp(target, name, {
get: all[name],
enumerable: true,
configurable: true,
set: function set(newValue) {return all[name] = function () {return newValue;};}
});
};
// lib/locale/ug/_lib/formatDistance.js
var formatDistanceLocale = {
lessThanXSeconds: {
one: "\u0628\u0649\u0631 \u0633\u0649\u0643\u06C7\u0646\u062A \u0626\u0649\u0686\u0649\u062F\u06D5",
other: "\u0633\u0649\u0643\u06C7\u0646\u062A \u0626\u0649\u0686\u0649\u062F\u06D5 {{count}}"
},
xSeconds: {
one: "\u0628\u0649\u0631 \u0633\u0649\u0643\u06C7\u0646\u062A",
other: "\u0633\u0649\u0643\u06C7\u0646\u062A {{count}}"
},
halfAMinute: "\u064A\u0649\u0631\u0649\u0645 \u0645\u0649\u0646\u06C7\u062A",
lessThanXMinutes: {
one: "\u0628\u0649\u0631 \u0645\u0649\u0646\u06C7\u062A \u0626\u0649\u0686\u0649\u062F\u06D5",
other: "\u0645\u0649\u0646\u06C7\u062A \u0626\u0649\u0686\u0649\u062F\u06D5 {{count}}"
},
xMinutes: {
one: "\u0628\u0649\u0631 \u0645\u0649\u0646\u06C7\u062A",
other: "\u0645\u0649\u0646\u06C7\u062A {{count}}"
},
aboutXHours: {
one: "\u062A\u06D5\u062E\u0645\u0649\u0646\u06D5\u0646 \u0628\u0649\u0631 \u0633\u0627\u0626\u06D5\u062A",
other: "\u0633\u0627\u0626\u06D5\u062A {{count}} \u062A\u06D5\u062E\u0645\u0649\u0646\u06D5\u0646"
},
xHours: {
one: "\u0628\u0649\u0631 \u0633\u0627\u0626\u06D5\u062A",
other: "\u0633\u0627\u0626\u06D5\u062A {{count}}"
},
xDays: {
one: "\u0628\u0649\u0631 \u0643\u06C8\u0646",
other: "\u0643\u06C8\u0646 {{count}}"
},
aboutXWeeks: {
one: "\u062A\u06D5\u062E\u0645\u0649\u0646\u06D5\u0646 \u0628\u0649\u0631\u06BE\u06D5\u067E\u062A\u06D5",
other: "\u06BE\u06D5\u067E\u062A\u06D5 {{count}} \u062A\u06D5\u062E\u0645\u0649\u0646\u06D5\u0646"
},
xWeeks: {
one: "\u0628\u0649\u0631\u06BE\u06D5\u067E\u062A\u06D5",
other: "\u06BE\u06D5\u067E\u062A\u06D5 {{count}}"
},
aboutXMonths: {
one: "\u062A\u06D5\u062E\u0645\u0649\u0646\u06D5\u0646 \u0628\u0649\u0631 \u0626\u0627\u064A",
other: "\u0626\u0627\u064A {{count}} \u062A\u06D5\u062E\u0645\u0649\u0646\u06D5\u0646"
},
xMonths: {
one: "\u0628\u0649\u0631 \u0626\u0627\u064A",
other: "\u0626\u0627\u064A {{count}}"
},
aboutXYears: {
one: "\u062A\u06D5\u062E\u0645\u0649\u0646\u06D5\u0646 \u0628\u0649\u0631 \u064A\u0649\u0644",
other: "\u064A\u0649\u0644 {{count}} \u062A\u06D5\u062E\u0645\u0649\u0646\u06D5\u0646"
},
xYears: {
one: "\u0628\u0649\u0631 \u064A\u0649\u0644",
other: "\u064A\u0649\u0644 {{count}}"
},
overXYears: {
one: "\u0628\u0649\u0631 \u064A\u0649\u0644\u062F\u0649\u0646 \u0626\u0627\u0631\u062A\u06C7\u0642",
other: "\u064A\u0649\u0644\u062F\u0649\u0646 \u0626\u0627\u0631\u062A\u06C7\u0642 {{count}}"
},
almostXYears: {
one: "\u0626\u0627\u0633\u0627\u0633\u06D5\u0646 \u0628\u0649\u0631 \u064A\u0649\u0644",
other: "\u064A\u0649\u0644 {{count}} \u0626\u0627\u0633\u0627\u0633\u06D5\u0646"
}
};
var formatDistance = function formatDistance(token, count, options) {
var result;
var tokenValue = formatDistanceLocale[token];
if (typeof tokenValue === "string") {
result = tokenValue;
} else if (count === 1) {
result = tokenValue.one;
} else {
result = tokenValue.other.replace("{{count}}", String(count));
}
if (options !== null && options !== void 0 && options.addSuffix) {
if (options.comparison && options.comparison > 0) {
return result;
} else {
return result + " \u0628\u0648\u0644\u062F\u0649";
}
}
return result;
};
// lib/locale/_lib/buildFormatLongFn.js
function buildFormatLongFn(args) {
return function () {var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
var width = options.width ? String(options.width) : args.defaultWidth;
var format = args.formats[width] || args.formats[args.defaultWidth];
return format;
};
}
// lib/locale/ug/_lib/formatLong.js
var dateFormats = {
full: "EEEE, MMMM do, y",
long: "MMMM do, y",
medium: "MMM d, y",
short: "MM/dd/yyyy"
};
var timeFormats = {
full: "h:mm:ss a zzzz",
long: "h:mm:ss a z",
medium: "h:mm:ss a",
short: "h:mm a"
};
var dateTimeFormats = {
full: "{{date}} '\u062F\u06D5' {{time}}",
long: "{{date}} '\u062F\u06D5' {{time}}",
medium: "{{date}}, {{time}}",
short: "{{date}}, {{time}}"
};
var formatLong = {
date: buildFormatLongFn({
formats: dateFormats,
defaultWidth: "full"
}),
time: buildFormatLongFn({
formats: timeFormats,
defaultWidth: "full"
}),
dateTime: buildFormatLongFn({
formats: dateTimeFormats,
defaultWidth: "full"
})
};
// lib/locale/ug/_lib/formatRelative.js
var formatRelativeLocale = {
lastWeek: "'\u0626\u200D\u06C6\u062A\u0643\u06D5\u0646' eeee '\u062F\u06D5' p",
yesterday: "'\u062A\u06C8\u0646\u06C8\u06AF\u06C8\u0646 \u062F\u06D5' p",
today: "'\u0628\u06C8\u06AF\u06C8\u0646 \u062F\u06D5' p",
tomorrow: "'\u0626\u06D5\u062A\u06D5 \u062F\u06D5' p",
nextWeek: "eeee '\u062F\u06D5' p",
other: "P"
};
var formatRelative = function formatRelative(token, _date, _baseDate, _options) {return formatRelativeLocale[token];};
// lib/locale/_lib/buildLocalizeFn.js
function buildLocalizeFn(args) {
return function (value, options) {
var context = options !== null && options !== void 0 && options.context ? String(options.context) : "standalone";
var valuesArray;
if (context === "formatting" && args.formattingValues) {
var defaultWidth = args.defaultFormattingWidth || args.defaultWidth;
var width = options !== null && options !== void 0 && options.width ? String(options.width) : defaultWidth;
valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];
} else {
var _defaultWidth = args.defaultWidth;
var _width = options !== null && options !== void 0 && options.width ? String(options.width) : args.defaultWidth;
valuesArray = args.values[_width] || args.values[_defaultWidth];
}
var index = args.argumentCallback ? args.argumentCallback(value) : value;
return valuesArray[index];
};
}
// lib/locale/ug/_lib/localize.js
var eraValues = {
narrow: ["\u0628", "\u0643"],
abbreviated: ["\u0628", "\u0643"],
wide: ["\u0645\u0649\u064A\u0644\u0627\u062F\u0649\u062F\u0649\u0646 \u0628\u06C7\u0631\u06C7\u0646", "\u0645\u0649\u064A\u0644\u0627\u062F\u0649\u062F\u0649\u0646 \u0643\u0649\u064A\u0649\u0646"]
};
var quarterValues = {
narrow: ["1", "2", "3", "4"],
abbreviated: ["1", "2", "3", "4"],
wide: ["\u0628\u0649\u0631\u0649\u0646\u062C\u0649 \u0686\u0627\u0631\u06D5\u0643", "\u0626\u0649\u0643\u0643\u0649\u0646\u062C\u0649 \u0686\u0627\u0631\u06D5\u0643", "\u0626\u06C8\u0686\u0649\u0646\u062C\u0649 \u0686\u0627\u0631\u06D5\u0643", "\u062A\u06C6\u062A\u0649\u0646\u062C\u0649 \u0686\u0627\u0631\u06D5\u0643"]
};
var monthValues = {
narrow: ["\u064A", "\u0641", "\u0645", "\u0627", "\u0645", "\u0649", "\u0649", "\u0627", "\u0633", "\u06C6", "\u0646", "\u062F"],
abbreviated: [
"\u064A\u0627\u0646\u06CB\u0627\u0631",
"\u0641\u06D0\u06CB\u0649\u0631\u0627\u0644",
"\u0645\u0627\u0631\u062A",
"\u0626\u0627\u067E\u0631\u0649\u0644",
"\u0645\u0627\u064A",
"\u0626\u0649\u064A\u06C7\u0646",
"\u0626\u0649\u064A\u0648\u0644",
"\u0626\u0627\u06CB\u063A\u06C7\u0633\u062A",
"\u0633\u0649\u0646\u062A\u06D5\u0628\u0649\u0631",
"\u0626\u06C6\u0643\u062A\u06D5\u0628\u0649\u0631",
"\u0646\u0648\u064A\u0627\u0628\u0649\u0631",
"\u062F\u0649\u0643\u0627\u0628\u0649\u0631"],
wide: [
"\u064A\u0627\u0646\u06CB\u0627\u0631",
"\u0641\u06D0\u06CB\u0649\u0631\u0627\u0644",
"\u0645\u0627\u0631\u062A",
"\u0626\u0627\u067E\u0631\u0649\u0644",
"\u0645\u0627\u064A",
"\u0626\u0649\u064A\u06C7\u0646",
"\u0626\u0649\u064A\u0648\u0644",
"\u0626\u0627\u06CB\u063A\u06C7\u0633\u062A",
"\u0633\u0649\u0646\u062A\u06D5\u0628\u0649\u0631",
"\u0626\u06C6\u0643\u062A\u06D5\u0628\u0649\u0631",
"\u0646\u0648\u064A\u0627\u0628\u0649\u0631",
"\u062F\u0649\u0643\u0627\u0628\u0649\u0631"]
};
var dayValues = {
narrow: ["\u064A", "\u062F", "\u0633", "\u0686", "\u067E", "\u062C", "\u0634"],
short: ["\u064A", "\u062F", "\u0633", "\u0686", "\u067E", "\u062C", "\u0634"],
abbreviated: [
"\u064A\u06D5\u0643\u0634\u06D5\u0646\u0628\u06D5",
"\u062F\u06C8\u0634\u06D5\u0646\u0628\u06D5",
"\u0633\u06D5\u064A\u0634\u06D5\u0646\u0628\u06D5",
"\u0686\u0627\u0631\u0634\u06D5\u0646\u0628\u06D5",
"\u067E\u06D5\u064A\u0634\u06D5\u0646\u0628\u06D5",
"\u062C\u06C8\u0645\u06D5",
"\u0634\u06D5\u0646\u0628\u06D5"],
wide: [
"\u064A\u06D5\u0643\u0634\u06D5\u0646\u0628\u06D5",
"\u062F\u06C8\u0634\u06D5\u0646\u0628\u06D5",
"\u0633\u06D5\u064A\u0634\u06D5\u0646\u0628\u06D5",
"\u0686\u0627\u0631\u0634\u06D5\u0646\u0628\u06D5",
"\u067E\u06D5\u064A\u0634\u06D5\u0646\u0628\u06D5",
"\u062C\u06C8\u0645\u06D5",
"\u0634\u06D5\u0646\u0628\u06D5"]
};
var dayPeriodValues = {
narrow: {
am: "\u0626\u06D5",
pm: "\u0686",
midnight: "\u0643",
noon: "\u0686",
morning: "\u0626\u06D5\u062A\u0649\u06AF\u06D5\u0646",
afternoon: "\u0686\u06C8\u0634\u062A\u0649\u0646 \u0643\u0649\u064A\u0649\u0646",
evening: "\u0626\u0627\u062E\u0634\u0649\u0645",
night: "\u0643\u0649\u0686\u06D5"
},
abbreviated: {
am: "\u0626\u06D5",
pm: "\u0686",
midnight: "\u0643",
noon: "\u0686",
morning: "\u0626\u06D5\u062A\u0649\u06AF\u06D5\u0646",
afternoon: "\u0686\u06C8\u0634\u062A\u0649\u0646 \u0643\u0649\u064A\u0649\u0646",
evening: "\u0626\u0627\u062E\u0634\u0649\u0645",
night: "\u0643\u0649\u0686\u06D5"
},
wide: {
am: "\u0626\u06D5",
pm: "\u0686",
midnight: "\u0643",
noon: "\u0686",
morning: "\u0626\u06D5\u062A\u0649\u06AF\u06D5\u0646",
afternoon: "\u0686\u06C8\u0634\u062A\u0649\u0646 \u0643\u0649\u064A\u0649\u0646",
evening: "\u0626\u0627\u062E\u0634\u0649\u0645",
night: "\u0643\u0649\u0686\u06D5"
}
};
var formattingDayPeriodValues = {
narrow: {
am: "\u0626\u06D5",
pm: "\u0686",
midnight: "\u0643",
noon: "\u0686",
morning: "\u0626\u06D5\u062A\u0649\u06AF\u06D5\u0646\u062F\u06D5",
afternoon: "\u0686\u06C8\u0634\u062A\u0649\u0646 \u0643\u0649\u064A\u0649\u0646",
evening: "\u0626\u0627\u062E\u0634\u0627\u0645\u062F\u0627",
night: "\u0643\u0649\u0686\u0649\u062F\u06D5"
},
abbreviated: {
am: "\u0626\u06D5",
pm: "\u0686",
midnight: "\u0643",
noon: "\u0686",
morning: "\u0626\u06D5\u062A\u0649\u06AF\u06D5\u0646\u062F\u06D5",
afternoon: "\u0686\u06C8\u0634\u062A\u0649\u0646 \u0643\u0649\u064A\u0649\u0646",
evening: "\u0626\u0627\u062E\u0634\u0627\u0645\u062F\u0627",
night: "\u0643\u0649\u0686\u0649\u062F\u06D5"
},
wide: {
am: "\u0626\u06D5",
pm: "\u0686",
midnight: "\u0643",
noon: "\u0686",
morning: "\u0626\u06D5\u062A\u0649\u06AF\u06D5\u0646\u062F\u06D5",
afternoon: "\u0686\u06C8\u0634\u062A\u0649\u0646 \u0643\u0649\u064A\u0649\u0646",
evening: "\u0626\u0627\u062E\u0634\u0627\u0645\u062F\u0627",
night: "\u0643\u0649\u0686\u0649\u062F\u06D5"
}
};
var ordinalNumber = function ordinalNumber(dirtyNumber, _options) {
return String(dirtyNumber);
};
var localize = {
ordinalNumber: ordinalNumber,
era: buildLocalizeFn({
values: eraValues,
defaultWidth: "wide"
}),
quarter: buildLocalizeFn({
values: quarterValues,
defaultWidth: "wide",
argumentCallback: function argumentCallback(quarter) {return quarter - 1;}
}),
month: buildLocalizeFn({
values: monthValues,
defaultWidth: "wide"
}),
day: buildLocalizeFn({
values: dayValues,
defaultWidth: "wide"
}),
dayPeriod: buildLocalizeFn({
values: dayPeriodValues,
defaultWidth: "wide",
formattingValues: formattingDayPeriodValues,
defaultFormattingWidth: "wide"
})
};
// lib/locale/_lib/buildMatchFn.js
function buildMatchFn(args) {
return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
var width = options.width;
var matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];
var matchResult = string.match(matchPattern);
if (!matchResult) {
return null;
}
var matchedString = matchResult[0];
var parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];
var key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, function (pattern) {return pattern.test(matchedString);}) : findKey(parsePatterns, function (pattern) {return pattern.test(matchedString);});
var value;
value = args.valueCallback ? args.valueCallback(key) : key;
value = options.valueCallback ? options.valueCallback(value) : value;
var rest = string.slice(matchedString.length);
return { value: value, rest: rest };
};
}
function findKey(object, predicate) {
for (var key in object) {
if (Object.prototype.hasOwnProperty.call(object, key) && predicate(object[key])) {
return key;
}
}
return;
}
function findIndex(array, predicate) {
for (var key = 0; key < array.length; key++) {
if (predicate(array[key])) {
return key;
}
}
return;
}
// lib/locale/_lib/buildMatchPatternFn.js
function buildMatchPatternFn(args) {
return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
var matchResult = string.match(args.matchPattern);
if (!matchResult)
return null;
var matchedString = matchResult[0];
var parseResult = string.match(args.parsePattern);
if (!parseResult)
return null;
var value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];
value = options.valueCallback ? options.valueCallback(value) : value;
var rest = string.slice(matchedString.length);
return { value: value, rest: rest };
};
}
// lib/locale/ug/_lib/match.js
var matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i;
var parseOrdinalNumberPattern = /\d+/i;
var matchEraPatterns = {
narrow: /^(ب|ك)/i,
wide: /^(مىيلادىدىن بۇرۇن|مىيلادىدىن كىيىن)/i
};
var parseEraPatterns = {
any: [/^بۇرۇن/i, /^كىيىن/i]
};
var matchQuarterPatterns = {
narrow: /^[1234]/i,
abbreviated: /^چ[1234]/i,
wide: /^چارەك [1234]/i
};
var parseQuarterPatterns = {
any: [/1/i, /2/i, /3/i, /4/i]
};
var matchMonthPatterns = {
narrow: /^[يفمئامئ‍ئاسۆند]/i,
abbreviated: /^(يانۋار|فېۋىرال|مارت|ئاپرىل|ماي|ئىيۇن|ئىيول|ئاۋغۇست|سىنتەبىر|ئۆكتەبىر|نويابىر|دىكابىر)/i,
wide: /^(يانۋار|فېۋىرال|مارت|ئاپرىل|ماي|ئىيۇن|ئىيول|ئاۋغۇست|سىنتەبىر|ئۆكتەبىر|نويابىر|دىكابىر)/i
};
var parseMonthPatterns = {
narrow: [
/^ي/i,
/^ف/i,
/^م/i,
/^ا/i,
/^م/i,
/^ى‍/i,
/^ى‍/i,
/^ا/i,
/^س/i,
/^ۆ/i,
/^ن/i,
/^د/i],
any: [
/^يان/i,
/^فېۋ/i,
/^مار/i,
/^ئاپ/i,
/^ماي/i,
/^ئىيۇن/i,
/^ئىيول/i,
/^ئاۋ/i,
/^سىن/i,
/^ئۆك/i,
/^نوي/i,
/^دىك/i]
};
var matchDayPatterns = {
narrow: /^[دسچپجشي]/i,
short: /^(يە|دۈ|سە|چا|پە|جۈ|شە)/i,
abbreviated: /^(يە|دۈ|سە|چا|پە|جۈ|شە)/i,
wide: /^(يەكشەنبە|دۈشەنبە|سەيشەنبە|چارشەنبە|پەيشەنبە|جۈمە|شەنبە)/i
};
var parseDayPatterns = {
narrow: [/^ي/i, /^د/i, /^س/i, /^چ/i, /^پ/i, /^ج/i, /^ش/i],
any: [/^ي/i, /^د/i, /^س/i, /^چ/i, /^پ/i, /^ج/i, /^ش/i]
};
var matchDayPeriodPatterns = {
narrow: /^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە‍|چۈشتىن كىيىن|ئاخشىم|كىچە))/i,
any: /^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە‍|چۈشتىن كىيىن|ئاخشىم|كىچە))/i
};
var parseDayPeriodPatterns = {
any: {
am: /^ئە/i,
pm: /^چ/i,
midnight: /^ك/i,
noon: /^چ/i,
morning: /ئەتىگەن/i,
afternoon: /چۈشتىن كىيىن/i,
evening: /ئاخشىم/i,
night: /كىچە/i
}
};
var match = {
ordinalNumber: buildMatchPatternFn({
matchPattern: matchOrdinalNumberPattern,
parsePattern: parseOrdinalNumberPattern,
valueCallback: function valueCallback(value) {return parseInt(value, 10);}
}),
era: buildMatchFn({
matchPatterns: matchEraPatterns,
defaultMatchWidth: "wide",
parsePatterns: parseEraPatterns,
defaultParseWidth: "any"
}),
quarter: buildMatchFn({
matchPatterns: matchQuarterPatterns,
defaultMatchWidth: "wide",
parsePatterns: parseQuarterPatterns,
defaultParseWidth: "any",
valueCallback: function valueCallback(index) {return index + 1;}
}),
month: buildMatchFn({
matchPatterns: matchMonthPatterns,
defaultMatchWidth: "wide",
parsePatterns: parseMonthPatterns,
defaultParseWidth: "any"
}),
day: buildMatchFn({
matchPatterns: matchDayPatterns,
defaultMatchWidth: "wide",
parsePatterns: parseDayPatterns,
defaultParseWidth: "any"
}),
dayPeriod: buildMatchFn({
matchPatterns: matchDayPeriodPatterns,
defaultMatchWidth: "any",
parsePatterns: parseDayPeriodPatterns,
defaultParseWidth: "any"
})
};
// lib/locale/ug.js
var ug = {
code: "ug",
formatDistance: formatDistance,
formatLong: formatLong,
formatRelative: formatRelative,
localize: localize,
match: match,
options: {
weekStartsOn: 0,
firstWeekContainsDate: 1
}
};
// lib/locale/ug/cdn.js
window.dateFns = _objectSpread(_objectSpread({},
window.dateFns), {}, {
locale: _objectSpread(_objectSpread({}, (_window$dateFns =
window.dateFns) === null || _window$dateFns === void 0 ? void 0 : _window$dateFns.locale), {}, {
ug: ug }) });
//# debugId=FE937C69651BE8AC64756E2164756E21
//# sourceMappingURL=cdn.js.map
})();

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long