timepiece/node_modules/date-fns/locale/ht/cdn.js.map

1 line
26 KiB
Plaintext
Raw Normal View History

2024-05-14 14:54:12 +00:00
{"version":3,"file":"cdn.js","names":["_window$dateFns","__defProp","Object","defineProperty","__export","target","all","name","get","enumerable","configurable","set","newValue","formatDistanceLocale","lessThanXSeconds","one","other","xSeconds","halfAMinute","lessThanXMinutes","xMinutes","aboutXHours","xHours","xDays","aboutXWeeks","xWeeks","aboutXMonths","xMonths","aboutXYears","xYears","overXYears","almostXYears","formatDistance","token","count","options","result","tokenValue","replace","String","addSuffix","comparison","buildFormatLongFn","args","arguments","length","undefined","width","defaultWidth","format","formats","dateFormats","full","long","medium","short","timeFormats","dateTimeFormats","formatLong","date","time","dateTime","formatRelativeLocale","lastWeek","yesterday","today","tomorrow","nextWeek","formatRelative","_date","_baseDate","_options","buildLocalizeFn","value","context","valuesArray","formattingValues","defaultFormattingWidth","values","index","argumentCallback","eraValues","narrow","abbreviated","wide","quarterValues","monthValues","dayValues","dayPeriodValues","am","pm","midnight","noon","morning","afternoon","evening","night","ordinalNumber","dirtyNumber","number","Number","suffix","localize","era","quarter","month","day","dayPeriod","buildMatchFn","string","matchPattern","matchPatterns","defaultMatchWidth","matchResult","match","matchedString","parsePatterns","defaultParseWidth","key","Array","isArray","findIndex","pattern","test","findKey","valueCallback","rest","slice","object","predicate","prototype","hasOwnProperty","call","array","buildMatchPatternFn","parseResult","parsePattern","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","any","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","parseInt","ht","code","weekStartsOn","firstWeekContainsDate","window","dateFns","_objectSpread","locale"],"sources":["cdn.js"],"sourcesContent":["(() => { var __defProp = Object.defineProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, {\n get: all[name],\n enumerable: true,\n configurable: true,\n set: (newValue) => all[name] = () => newValue\n });\n};\n\n// lib/locale/ht/_lib/formatDistance.mjs\nvar formatDistanceLocale = {\n lessThanXSeconds: {\n one: \"mwens pase yon segond\",\n other: \"mwens pase {{count}} segond\"\n },\n xSeconds: {\n one: \"1 segond\",\n other: \"{{count}} segond\"\n },\n halfAMinute: \"30 segond\",\n lessThanXMinutes: {\n one: \"mwens pase yon minit\",\n other: \"mwens pase {{count}} minit\"\n },\n xMinutes: {\n one: \"1 minit\",\n other: \"{{count}} minit\"\n },\n aboutXHours: {\n one: \"anviwon in\\xE8\",\n other: \"anviwon {{count}} \\xE8\"\n },\n xHours: {\n one: \"1 l\\xE8\",\n other: \"{{count}} l\\xE8\"\n },\n xDays: {\n one: \"1 jou\",\n other: \"{{count}} jou\"\n },\n aboutXWeeks: {\n one: \"anviwon 1 sem\\xE8n\",\n other: \"anviwon {{count}} sem\\xE8n\"\n },\n xWeeks: {\n one: \"1 sem\\xE8n\",\n other: \"{{count}} sem\\xE8n\"\n },\n aboutXMonths: {\n one: \"anviwon 1 mwa\",\n other: \"anviwon {{count}} mwa\"\n },\n xMonths: {\n one: \"1 mwa\",\n other: \"{{count}} mwa\"\n },\n aboutXYears: {\n one: \"anviwon 1 an\",\n other: \"anviwon {{count}} an\"\n },\n xYears: {\n one: \"1 an\",\n other: \"{{count}} an\"\n },\n overXYears: {\n one: \"plis pase 1 an\",\n other: \"plis pase {{count}} an\"\n },\n almostXYears: {\n one: \"pr\\xE8ske 1 an\",\n other: \"pr\\xE8ske {{count}} an\"\n }\n};\nvar formatDistance = (token, count, options) => {\n let result;\n const tokenValue = formatDistanceLocale[token];\n if (typeof tokenValue === \"string\") {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace(\"{{count}}\", String(count));\n }\n if (op