UEA-PRODEM

This commit is contained in:
2026-06-10 12:14:46 -03:00
parent f54126b9d8
commit 9947565694
5319 changed files with 148520 additions and 129332 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
import type { FormatDistanceFn } from "../../types.js";
import type { FormatDistanceFn } from "../../types.ts";
export declare const formatDistance: FormatDistanceFn;
+1 -1
View File
@@ -1,2 +1,2 @@
import type { FormatDistanceFn } from "../../types.js";
import type { FormatDistanceFn } from "../../types.ts";
export declare const formatDistance: FormatDistanceFn;
+1 -1
View File
@@ -1,2 +1,2 @@
import type { FormatLong } from "../../types.js";
import type { FormatLong } from "../../types.ts";
export declare const formatLong: FormatLong;
+1 -1
View File
@@ -1,2 +1,2 @@
import type { FormatLong } from "../../types.js";
import type { FormatLong } from "../../types.ts";
export declare const formatLong: FormatLong;
+1 -1
View File
@@ -1,2 +1,2 @@
import type { FormatRelativeFn } from "../../types.js";
import type { FormatRelativeFn } from "../../types.ts";
export declare const formatRelative: FormatRelativeFn;
+1 -1
View File
@@ -1,2 +1,2 @@
import type { FormatRelativeFn } from "../../types.js";
import type { FormatRelativeFn } from "../../types.ts";
export declare const formatRelative: FormatRelativeFn;
+1 -1
View File
@@ -1,2 +1,2 @@
import type { Localize } from "../../types.js";
import type { Localize } from "../../types.ts";
export declare const localize: Localize;
+1 -1
View File
@@ -1,2 +1,2 @@
import type { Localize } from "../../types.js";
import type { Localize } from "../../types.ts";
export declare const localize: Localize;
+1 -1
View File
@@ -1,2 +1,2 @@
import type { Match } from "../../types.js";
import type { Match } from "../../types.ts";
export declare const match: Match;
+1 -1
View File
@@ -1,2 +1,2 @@
import type { Match } from "../../types.js";
import type { Match } from "../../types.ts";
export declare const match: Match;
+380 -325
View File
@@ -1,154 +1,159 @@
(() => {
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/gu/_lib/formatDistance.js
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(e, r, t) {return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e;}function _toPropertyKey(t) {var i = _toPrimitive(t, "string");return "symbol" == _typeof(i) ? i : 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);} //#region dist/date-fns/locale/gu/_lib/formatDistance.js
var formatDistanceLocale = {
lessThanXSeconds: {
one: "\u0AB9\u0AAE\u0AA3\u0ABE\u0A82",
other: "\u200B\u0A86\u0AB6\u0AB0\u0AC7 {{count}} \u0AB8\u0AC7\u0A95\u0A82\u0AA1"
one: "હમણાં",
other: "​આશરે {{count}} સેકંડ"
},
xSeconds: {
one: "1 \u0AB8\u0AC7\u0A95\u0A82\u0AA1",
other: "{{count}} \u0AB8\u0AC7\u0A95\u0A82\u0AA1"
one: "1 સેકંડ",
other: "{{count}} સેકંડ"
},
halfAMinute: "\u0A85\u0AA1\u0AA7\u0AC0 \u0AAE\u0ABF\u0AA8\u0ABF\u0A9F",
halfAMinute: "અડધી મિનિટ",
lessThanXMinutes: {
one: "\u0A86 \u0AAE\u0ABF\u0AA8\u0ABF\u0A9F",
other: "\u200B\u0A86\u0AB6\u0AB0\u0AC7 {{count}} \u0AAE\u0ABF\u0AA8\u0ABF\u0A9F"
one: "આ મિનિટ",
other: "​આશરે {{count}} મિનિટ"
},
xMinutes: {
one: "1 \u0AAE\u0ABF\u0AA8\u0ABF\u0A9F",
other: "{{count}} \u0AAE\u0ABF\u0AA8\u0ABF\u0A9F"
one: "1 મિનિટ",
other: "{{count}} મિનિટ"
},
aboutXHours: {
one: "\u200B\u0A86\u0AB6\u0AB0\u0AC7 1 \u0A95\u0AB2\u0ABE\u0A95",
other: "\u200B\u0A86\u0AB6\u0AB0\u0AC7 {{count}} \u0A95\u0AB2\u0ABE\u0A95"
one: "​આશરે 1 કલાક",
other: "​આશરે {{count}} કલાક"
},
xHours: {
one: "1 \u0A95\u0AB2\u0ABE\u0A95",
other: "{{count}} \u0A95\u0AB2\u0ABE\u0A95"
one: "1 કલાક",
other: "{{count}} કલાક"
},
xDays: {
one: "1 \u0AA6\u0ABF\u0AB5\u0AB8",
other: "{{count}} \u0AA6\u0ABF\u0AB5\u0AB8"
one: "1 દિવસ",
other: "{{count}} દિવસ"
},
aboutXWeeks: {
one: "\u0A86\u0AB6\u0AB0\u0AC7 1 \u0A85\u0AA0\u0AB5\u0ABE\u0AA1\u0ABF\u0AAF\u0AC1\u0A82",
other: "\u0A86\u0AB6\u0AB0\u0AC7 {{count}} \u0A85\u0AA0\u0AB5\u0ABE\u0AA1\u0ABF\u0AAF\u0ABE"
one: "આશરે 1 અઠવાડિયું",
other: "આશરે {{count}} અઠવાડિયા"
},
xWeeks: {
one: "1 \u0A85\u0AA0\u0AB5\u0ABE\u0AA1\u0ABF\u0AAF\u0AC1\u0A82",
other: "{{count}} \u0A85\u0AA0\u0AB5\u0ABE\u0AA1\u0ABF\u0AAF\u0ABE"
one: "1 અઠવાડિયું",
other: "{{count}} અઠવાડિયા"
},
aboutXMonths: {
one: "\u0A86\u0AB6\u0AB0\u0AC7 1 \u0AAE\u0AB9\u0ABF\u0AA8\u0ACB",
other: "\u0A86\u0AB6\u0AB0\u0AC7 {{count}} \u0AAE\u0AB9\u0ABF\u0AA8\u0ABE"
one: "આશરે 1 મહિનો",
other: "આશરે {{count}} મહિના"
},
xMonths: {
one: "1 \u0AAE\u0AB9\u0ABF\u0AA8\u0ACB",
other: "{{count}} \u0AAE\u0AB9\u0ABF\u0AA8\u0ABE"
one: "1 મહિનો",
other: "{{count}} મહિના"
},
aboutXYears: {
one: "\u0A86\u0AB6\u0AB0\u0AC7 1 \u0AB5\u0AB0\u0ACD\u0AB7",
other: "\u0A86\u0AB6\u0AB0\u0AC7 {{count}} \u0AB5\u0AB0\u0ACD\u0AB7"
one: "આશરે 1 વર્ષ",
other: "આશરે {{count}} વર્ષ"
},
xYears: {
one: "1 \u0AB5\u0AB0\u0ACD\u0AB7",
other: "{{count}} \u0AB5\u0AB0\u0ACD\u0AB7"
one: "1 વર્ષ",
other: "{{count}} વર્ષ"
},
overXYears: {
one: "1 \u0AB5\u0AB0\u0ACD\u0AB7\u0AA5\u0AC0 \u0AB5\u0AA7\u0AC1",
other: "{{count}} \u0AB5\u0AB0\u0ACD\u0AB7\u0AA5\u0AC0 \u0AB5\u0AA7\u0AC1"
one: "1 વર્ષથી વધુ",
other: "{{count}} વર્ષથી વધુ"
},
almostXYears: {
one: "\u0AB2\u0A97\u0AAD\u0A97 1 \u0AB5\u0AB0\u0ACD\u0AB7",
other: "\u0AB2\u0A97\u0AAD\u0A97 {{count}} \u0AB5\u0AB0\u0ACD\u0AB7"
one: "લગભગ 1 વર્ષ",
other: "લગભગ {{count}} વર્ષ"
}
};
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 + "\u0AAE\u0ABE\u0A82";
} else {
return result + " \u0AAA\u0AB9\u0AC7\u0AB2\u0ABE\u0A82";
}
}
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 + " પહેલાં";
return result;
};
// lib/locale/_lib/buildFormatLongFn.js
//#endregion
//#region dist/date-fns/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;
return args.formats[width] || args.formats[args.defaultWidth];
};
}
// lib/locale/gu/_lib/formatLong.js
var dateFormats = {
full: "EEEE, d MMMM, y",
long: "d MMMM, y",
medium: "d MMM, y",
short: "d/M/yy"
};
var timeFormats = {
full: "hh:mm:ss a zzzz",
long: "hh:mm:ss a z",
medium: "hh:mm:ss a",
short: "hh:mm a"
};
var dateTimeFormats = {
full: "{{date}} {{time}}",
long: "{{date}} {{time}}",
medium: "{{date}} {{time}}",
short: "{{date}} {{time}}"
};
var formatLong = {
date: buildFormatLongFn({
formats: dateFormats,
formats: {
full: "EEEE, d MMMM, y",
long: "d MMMM, y",
medium: "d MMM, y",
short: "d/M/yy"
},
defaultWidth: "full"
}),
time: buildFormatLongFn({
formats: timeFormats,
formats: {
full: "hh:mm:ss a zzzz",
long: "hh:mm:ss a z",
medium: "hh:mm:ss a",
short: "hh:mm a"
},
defaultWidth: "full"
}),
dateTime: buildFormatLongFn({
formats: dateTimeFormats,
formats: {
full: "{{date}} {{time}}",
long: "{{date}} {{time}}",
medium: "{{date}} {{time}}",
short: "{{date}} {{time}}"
},
defaultWidth: "full"
})
};
// lib/locale/gu/_lib/formatRelative.js
//#endregion
//#region dist/date-fns/locale/gu/_lib/formatRelative.js
var formatRelativeLocale = {
lastWeek: "'\u0AAA\u0ABE\u0A9B\u0AB2\u0ABE' eeee p",
yesterday: "'\u0A97\u0A88\u0A95\u0ABE\u0AB2\u0AC7' p",
today: "'\u0A86\u0A9C\u0AC7' p",
tomorrow: "'\u0A86\u0AB5\u0AA4\u0AC0\u0A95\u0ABE\u0AB2\u0AC7' p",
lastWeek: "'પાછલા' eeee p",
yesterday: "'ગઈકાલે' p",
today: "'આજે' p",
tomorrow: "'આવતીકાલે' p",
nextWeek: "eeee p",
other: "P"
};
var formatRelative = function formatRelative(token, _date, _baseDate, _options) {return formatRelativeLocale[token];};
// lib/locale/_lib/buildLocalizeFn.js
//#endregion
//#region dist/date-fns/locale/_lib/buildLocalizeFn.js
/**
* The localize function argument callback which allows to convert raw value to
* the actual type.
*
* @param value - The value to convert
*
* @returns The converted value
*/
/**
* The map of localized values for each width.
*/
/**
* The index type of the locale unit value. It types conversion of units of
* values that don't start at 0 (i.e. quarters).
*/
/**
* Converts the unit value to the tuple of values.
*/
/**
* The tuple of localized era values. The first element represents BC,
* the second element represents AD.
*/
/**
* The tuple of localized quarter values. The first element represents Q1.
*/
/**
* The tuple of localized day values. The first element represents Sunday.
*/
/**
* The tuple of localized month values. The first element represents January.
*/
function buildLocalizeFn(args) {
return function (value, options) {
var context = options !== null && options !== void 0 && options.context ? String(options.context) : "standalone";
@@ -166,125 +171,177 @@ function buildLocalizeFn(args) {
return valuesArray[index];
};
}
// lib/locale/gu/_lib/localize.js
//#endregion
//#region dist/date-fns/locale/gu/_lib/localize.js
var eraValues = {
narrow: ["\u0A88\u0AB8\u0AAA\u0AC2", "\u0A88\u0AB8"],
abbreviated: ["\u0A88.\u0AB8.\u0AAA\u0AC2\u0AB0\u0ACD\u0AB5\u0AC7", "\u0A88.\u0AB8."],
wide: ["\u0A88\u0AB8\u0AB5\u0AC0\u0AB8\u0AA8 \u0AAA\u0AC2\u0AB0\u0ACD\u0AB5\u0AC7", "\u0A88\u0AB8\u0AB5\u0AC0\u0AB8\u0AA8"]
narrow: ["ઈસપૂ", "ઈસ"],
abbreviated: ["ઈ.સ.પૂર્વે", "ઈ.સ."],
wide: ["ઈસવીસન પૂર્વે", "ઈસવીસન"]
};
var quarterValues = {
narrow: ["1", "2", "3", "4"],
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
wide: ["1\u0AB2\u0ACB \u0AA4\u0ACD\u0AB0\u0ABF\u0AAE\u0ABE\u0AB8", "2\u0A9C\u0ACB \u0AA4\u0ACD\u0AB0\u0ABF\u0AAE\u0ABE\u0AB8", "3\u0A9C\u0ACB \u0AA4\u0ACD\u0AB0\u0ABF\u0AAE\u0ABE\u0AB8", "4\u0AA5\u0ACB \u0AA4\u0ACD\u0AB0\u0ABF\u0AAE\u0ABE\u0AB8"]
};
var monthValues = {
narrow: ["\u0A9C\u0ABE", "\u0AAB\u0AC7", "\u0AAE\u0ABE", "\u0A8F", "\u0AAE\u0AC7", "\u0A9C\u0AC2", "\u0A9C\u0AC1", "\u0A93", "\u0AB8", "\u0A93", "\u0AA8", "\u0AA1\u0ABF"],
narrow: [
"1",
"2",
"3",
"4"],
abbreviated: [
"\u0A9C\u0ABE\u0AA8\u0ACD\u0AAF\u0AC1",
"\u0AAB\u0AC7\u0AAC\u0ACD\u0AB0\u0AC1",
"\u0AAE\u0ABE\u0AB0\u0ACD\u0A9A",
"\u0A8F\u0AAA\u0ACD\u0AB0\u0ABF\u0AB2",
"\u0AAE\u0AC7",
"\u0A9C\u0AC2\u0AA8",
"\u0A9C\u0AC1\u0AB2\u0ABE\u0A88",
"\u0A91\u0A97\u0AB8\u0ACD\u0A9F",
"\u0AB8\u0AAA\u0ACD\u0A9F\u0AC7",
"\u0A93\u0A95\u0ACD\u0A9F\u0ACB",
"\u0AA8\u0AB5\u0AC7",
"\u0AA1\u0ABF\u0AB8\u0AC7"],
"Q1",
"Q2",
"Q3",
"Q4"],
wide: [
"\u0A9C\u0ABE\u0AA8\u0ACD\u0AAF\u0AC1\u0A86\u0AB0\u0AC0",
"\u0AAB\u0AC7\u0AAC\u0ACD\u0AB0\u0AC1\u0A86\u0AB0\u0AC0",
"\u0AAE\u0ABE\u0AB0\u0ACD\u0A9A",
"\u0A8F\u0AAA\u0ACD\u0AB0\u0ABF\u0AB2",
"\u0AAE\u0AC7",
"\u0A9C\u0AC2\u0AA8",
"\u0A9C\u0AC1\u0AB2\u0ABE\u0A87",
"\u0A93\u0A97\u0AB8\u0ACD\u0A9F",
"\u0AB8\u0AAA\u0ACD\u0A9F\u0AC7\u0AAE\u0ACD\u0AAC\u0AB0",
"\u0A93\u0A95\u0ACD\u0A9F\u0ACB\u0AAC\u0AB0",
"\u0AA8\u0AB5\u0AC7\u0AAE\u0ACD\u0AAC\u0AB0",
"\u0AA1\u0ABF\u0AB8\u0AC7\u0AAE\u0ACD\u0AAC\u0AB0"]
"1લો ત્રિમાસ",
"2જો ત્રિમાસ",
"3જો ત્રિમાસ",
"4થો ત્રિમાસ"]
};
var monthValues = {
narrow: [
"જા",
"ફે",
"મા",
"",
"મે",
"જૂ",
"જુ",
"ઓ",
"સ",
"ઓ",
"ન",
"ડિ"],
abbreviated: [
"જાન્યુ",
"ફેબ્રુ",
"માર્ચ",
"એપ્રિલ",
"મે",
"જૂન",
"જુલાઈ",
"ઑગસ્ટ",
"સપ્ટે",
"ઓક્ટો",
"નવે",
"ડિસે"],
wide: [
"જાન્યુઆરી",
"ફેબ્રુઆરી",
"માર્ચ",
"એપ્રિલ",
"મે",
"જૂન",
"જુલાઇ",
"ઓગસ્ટ",
"સપ્ટેમ્બર",
"ઓક્ટોબર",
"નવેમ્બર",
"ડિસેમ્બર"]
};
var dayValues = {
narrow: ["\u0AB0", "\u0AB8\u0ACB", "\u0AAE\u0A82", "\u0AAC\u0AC1", "\u0A97\u0AC1", "\u0AB6\u0AC1", "\u0AB6"],
short: ["\u0AB0", "\u0AB8\u0ACB", "\u0AAE\u0A82", "\u0AAC\u0AC1", "\u0A97\u0AC1", "\u0AB6\u0AC1", "\u0AB6"],
abbreviated: ["\u0AB0\u0AB5\u0ABF", "\u0AB8\u0ACB\u0AAE", "\u0AAE\u0A82\u0A97\u0AB3", "\u0AAC\u0AC1\u0AA7", "\u0A97\u0AC1\u0AB0\u0AC1", "\u0AB6\u0AC1\u0A95\u0ACD\u0AB0", "\u0AB6\u0AA8\u0ABF"],
narrow: [
"ર",
"સો",
"મં",
"બુ",
"ગુ",
"શુ",
"શ"],
short: [
"ર",
"સો",
"મં",
"બુ",
"ગુ",
"શુ",
"શ"],
abbreviated: [
"રવિ",
"સોમ",
"મંગળ",
"બુધ",
"ગુરુ",
"શુક્ર",
"શનિ"],
wide: [
"\u0AB0\u0AB5\u0ABF\u0AB5\u0ABE\u0AB0",
"\u0AB8\u0ACB\u0AAE\u0AB5\u0ABE\u0AB0",
"\u0AAE\u0A82\u0A97\u0AB3\u0AB5\u0ABE\u0AB0",
"\u0AAC\u0AC1\u0AA7\u0AB5\u0ABE\u0AB0",
"\u0A97\u0AC1\u0AB0\u0AC1\u0AB5\u0ABE\u0AB0",
"\u0AB6\u0AC1\u0A95\u0ACD\u0AB0\u0AB5\u0ABE\u0AB0",
"\u0AB6\u0AA8\u0ABF\u0AB5\u0ABE\u0AB0"]
"રવિવાર",
"સોમવાર",
"મંગળવાર",
"બુધવાર",
"ગુરુવાર",
"શુક્રવાર",
"શનિવાર"]
};
var dayPeriodValues = {
narrow: {
am: "AM",
pm: "PM",
midnight: "\u0AAE.\u0AB0\u0ABE\u0AA4\u0ACD\u0AB0\u0ABF",
noon: "\u0AAC.",
morning: "\u0AB8\u0AB5\u0ABE\u0AB0\u0AC7",
afternoon: "\u0AAC\u0AAA\u0ACB\u0AB0\u0AC7",
evening: "\u0AB8\u0ABE\u0A82\u0A9C\u0AC7",
night: "\u0AB0\u0ABE\u0AA4\u0ACD\u0AB0\u0AC7"
midnight: "મ.રાત્રિ",
noon: ".",
morning: "સવારે",
afternoon: "બપોરે",
evening: "સાંજે",
night: "રાત્રે"
},
abbreviated: {
am: "AM",
pm: "PM",
midnight: "\u200B\u0AAE\u0AA7\u0ACD\u0AAF\u0AB0\u0ABE\u0AA4\u0ACD\u0AB0\u0ABF",
noon: "\u0AAC\u0AAA\u0ACB\u0AB0\u0AC7",
morning: "\u0AB8\u0AB5\u0ABE\u0AB0\u0AC7",
afternoon: "\u0AAC\u0AAA\u0ACB\u0AB0\u0AC7",
evening: "\u0AB8\u0ABE\u0A82\u0A9C\u0AC7",
night: "\u0AB0\u0ABE\u0AA4\u0ACD\u0AB0\u0AC7"
midnight: "​મધ્યરાત્રિ",
noon: "બપોરે",
morning: "સવારે",
afternoon: "બપોરે",
evening: "સાંજે",
night: "રાત્રે"
},
wide: {
am: "AM",
pm: "PM",
midnight: "\u200B\u0AAE\u0AA7\u0ACD\u0AAF\u0AB0\u0ABE\u0AA4\u0ACD\u0AB0\u0ABF",
noon: "\u0AAC\u0AAA\u0ACB\u0AB0\u0AC7",
morning: "\u0AB8\u0AB5\u0ABE\u0AB0\u0AC7",
afternoon: "\u0AAC\u0AAA\u0ACB\u0AB0\u0AC7",
evening: "\u0AB8\u0ABE\u0A82\u0A9C\u0AC7",
night: "\u0AB0\u0ABE\u0AA4\u0ACD\u0AB0\u0AC7"
midnight: "​મધ્યરાત્રિ",
noon: "બપોરે",
morning: "સવારે",
afternoon: "બપોરે",
evening: "સાંજે",
night: "રાત્રે"
}
};
var formattingDayPeriodValues = {
narrow: {
am: "AM",
pm: "PM",
midnight: "\u0AAE.\u0AB0\u0ABE\u0AA4\u0ACD\u0AB0\u0ABF",
noon: "\u0AAC\u0AAA\u0ACB\u0AB0\u0AC7",
morning: "\u0AB8\u0AB5\u0ABE\u0AB0\u0AC7",
afternoon: "\u0AAC\u0AAA\u0ACB\u0AB0\u0AC7",
evening: "\u0AB8\u0ABE\u0A82\u0A9C\u0AC7",
night: "\u0AB0\u0ABE\u0AA4\u0ACD\u0AB0\u0AC7"
midnight: "મ.રાત્રિ",
noon: "બપોરે",
morning: "સવારે",
afternoon: "બપોરે",
evening: "સાંજે",
night: "રાત્રે"
},
abbreviated: {
am: "AM",
pm: "PM",
midnight: "\u0AAE\u0AA7\u0ACD\u0AAF\u0AB0\u0ABE\u0AA4\u0ACD\u0AB0\u0ABF",
noon: "\u0AAC\u0AAA\u0ACB\u0AB0\u0AC7",
morning: "\u0AB8\u0AB5\u0ABE\u0AB0\u0AC7",
afternoon: "\u0AAC\u0AAA\u0ACB\u0AB0\u0AC7",
evening: "\u0AB8\u0ABE\u0A82\u0A9C\u0AC7",
night: "\u0AB0\u0ABE\u0AA4\u0ACD\u0AB0\u0AC7"
midnight: "મધ્યરાત્રિ",
noon: "બપોરે",
morning: "સવારે",
afternoon: "બપોરે",
evening: "સાંજે",
night: "રાત્રે"
},
wide: {
am: "AM",
pm: "PM",
midnight: "\u200B\u0AAE\u0AA7\u0ACD\u0AAF\u0AB0\u0ABE\u0AA4\u0ACD\u0AB0\u0ABF",
noon: "\u0AAC\u0AAA\u0ACB\u0AB0\u0AC7",
morning: "\u0AB8\u0AB5\u0ABE\u0AB0\u0AC7",
afternoon: "\u0AAC\u0AAA\u0ACB\u0AB0\u0AC7",
evening: "\u0AB8\u0ABE\u0A82\u0A9C\u0AC7",
night: "\u0AB0\u0ABE\u0AA4\u0ACD\u0AB0\u0AC7"
midnight: "​મધ્યરાત્રિ",
noon: "બપોરે",
morning: "સવારે",
afternoon: "બપોરે",
evening: "સાંજે",
night: "રાત્રે"
}
};
var ordinalNumber = function ordinalNumber(dirtyNumber, _options) {
@@ -316,16 +373,14 @@ var localize = {
defaultFormattingWidth: "wide"
})
};
// lib/locale/_lib/buildMatchFn.js
//#endregion
//#region dist/date-fns/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;
}
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);});
@@ -333,177 +388,178 @@ function buildMatchFn(args) {
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 };
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;
for (var key in object) if (Object.prototype.hasOwnProperty.call(object, key) && predicate(object[key])) return key;
}
function findIndex(array, predicate) {
for (var key = 0; key < array.length; key++) {
if (predicate(array[key])) {
return key;
}
}
return;
for (var key = 0; key < array.length; key++) if (predicate(array[key])) return key;
}
// lib/locale/_lib/buildMatchPatternFn.js
//#endregion
//#region dist/date-fns/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;
if (!matchResult) return null;
var matchedString = matchResult[0];
var parseResult = string.match(args.parsePattern);
if (!parseResult)
return null;
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 };
return {
value: value,
rest: rest
};
};
}
// lib/locale/gu/_lib/match.js
var matchOrdinalNumberPattern = /^(\d+)(લ|જ|થ|ઠ્ઠ|મ)?/i;
var parseOrdinalNumberPattern = /\d+/i;
var matchEraPatterns = {
narrow: /^(ઈસપૂ|ઈસ)/i,
abbreviated: /^(ઈ\.સ\.પૂર્વે|ઈ\.સ\.)/i,
wide: /^(ઈસવીસન\sપૂર્વે|ઈસવીસન)/i
};
var parseEraPatterns = {
any: [/^ઈસપૂ/i, /^ઈસ/i]
};
var matchQuarterPatterns = {
narrow: /^[1234]/i,
abbreviated: /^q[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: /^(a|p|મ\.?|સ|બ|સાં|રા)/i,
any: /^(a|p|મ\.?|સ|બ|સાં|રા)/i
};
var parseDayPeriodPatterns = {
any: {
am: /^a/i,
pm: /^p/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/gu.js
//#endregion
//#region dist/date-fns/locale/gu.js
/**
* @category Locales
* @summary Gujarati locale (India).
* @language Gujarati
* @iso-639-2 guj
* @author Manaday Mavani [@ManadayM](https://github.com/manadaym)
*/
var gu = {
code: "gu",
formatDistance: formatDistance,
formatLong: formatLong,
formatRelative: formatRelative,
localize: localize,
match: match,
match: {
ordinalNumber: buildMatchPatternFn({
matchPattern: /^(\d+)(લ|જ|થ|ઠ્ઠ|મ)?/i,
parsePattern: /\d+/i,
valueCallback: function valueCallback(value) {return parseInt(value, 10);}
}),
era: buildMatchFn({
matchPatterns: {
narrow: /^(ઈસપૂ|ઈસ)/i,
abbreviated: /^(ઈ\.સ\.પૂર્વે|ઈ\.સ\.)/i,
wide: /^(ઈસવીસન\sપૂર્વે|ઈસવીસન)/i
},
defaultMatchWidth: "wide",
parsePatterns: { any: [/^ઈસપૂ/i, /^ઈસ/i] },
defaultParseWidth: "any"
}),
quarter: buildMatchFn({
matchPatterns: {
narrow: /^[1234]/i,
abbreviated: /^q[1234]/i,
wide: /^[1234](લો|જો|થો)? ત્રિમાસ/i
},
defaultMatchWidth: "wide",
parsePatterns: { any: [
/1/i,
/2/i,
/3/i,
/4/i]
},
defaultParseWidth: "any",
valueCallback: function valueCallback(index) {return index + 1;}
}),
month: buildMatchFn({
matchPatterns: {
narrow: /^[જાફેમાએમેજૂજુઓસઓનડિ]/i,
abbreviated: /^(જાન્યુ|ફેબ્રુ|માર્ચ|એપ્રિલ|મે|જૂન|જુલાઈ|ઑગસ્ટ|સપ્ટે|ઓક્ટો|નવે|ડિસે)/i,
wide: /^(જાન્યુઆરી|ફેબ્રુઆરી|માર્ચ|એપ્રિલ|મે|જૂન|જુલાઇ|ઓગસ્ટ|સપ્ટેમ્બર|ઓક્ટોબર|નવેમ્બર|ડિસેમ્બર)/i
},
defaultMatchWidth: "wide",
parsePatterns: {
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]
},
defaultParseWidth: "any"
}),
day: buildMatchFn({
matchPatterns: {
narrow: /^(ર|સો|મં|બુ|ગુ|શુ|શ)/i,
short: /^(ર|સો|મં|બુ|ગુ|શુ|શ)/i,
abbreviated: /^(રવિ|સોમ|મંગળ|બુધ|ગુરુ|શુક્ર|શનિ)/i,
wide: /^(રવિવાર|સોમવાર|મંગળવાર|બુધવાર|ગુરુવાર|શુક્રવાર|શનિવાર)/i
},
defaultMatchWidth: "wide",
parsePatterns: {
narrow: [
/^ર/i,
/^સો/i,
/^મં/i,
/^બુ/i,
/^ગુ/i,
/^શુ/i,
/^શ/i],
any: [
/^ર/i,
/^સો/i,
/^મં/i,
/^બુ/i,
/^ગુ/i,
/^શુ/i,
/^શ/i]
},
defaultParseWidth: "any"
}),
dayPeriod: buildMatchFn({
matchPatterns: {
narrow: /^(a|p|મ\.?|સ|બ|સાં|રા)/i,
any: /^(a|p|મ\.?|સ|બ|સાં|રા)/i
},
defaultMatchWidth: "any",
parsePatterns: { any: {
am: /^a/i,
pm: /^p/i,
midnight: /^મ\.?/i,
noon: /^બ/i,
morning: /સ/i,
afternoon: /બ/i,
evening: /સાં/i,
night: /રા/i
} },
defaultParseWidth: "any"
})
},
options: {
weekStartsOn: 1,
firstWeekContainsDate: 4
}
};
// lib/locale/gu/cdn.js
//#endregion
//#region dist/date-fns/_entries/locale/gu/cdn.js
window.dateFns = _objectSpread(_objectSpread({},
window.dateFns), {}, {
locale: _objectSpread(_objectSpread({}, (_window$dateFns =
@@ -511,8 +567,7 @@ window.dateFns), {}, {
gu: gu }) });
//#endregion
//# debugId=2F4D0D626181F30264756E2164756E21
//# sourceMappingURL=cdn.js.map
console.log("date-fns CDN files have moved to @date-fns/cdn. Please update your URLs. See: https://date-fns.org/docs/CDN");
})();
-1
View File
File diff suppressed because one or more lines are too long
+1 -3
View File
File diff suppressed because one or more lines are too long
-10
View File
File diff suppressed because one or more lines are too long