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

1 line
42 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","buildLocalizeTokenFn","schema","count","options","addSuffix","one","replace","rem","other","String","formatDistanceLocale","lessThanXSeconds","xSeconds","halfAMinute","_count","lessThanXMinutes","xMinutes","aboutXHours","xHours","xDays","aboutXWeeks","xWeeks","aboutXMonths","xMonths","aboutXYears","xYears","overXYears","almostXYears","formatDistance","token","result","comparison","buildFormatLongFn","args","arguments","length","undefined","width","defaultWidth","format","formats","dateFormats","full","long","medium","short","timeFormats","dateTimeFormats","formatLong","date","time","dateTime","toDate","argument","argStr","prototype","toString","call","Date","_typeof","constructor","NaN","getDefaultOptions","defaultOptions","setDefaultOptions","newOptions","startOfWeek","_ref","_ref2","_ref3","_options$weekStartsOn","_options$locale","_defaultOptions3$loca","defaultOptions3","weekStartsOn","locale","_date","day","getDay","diff","setDate","getDate","setHours","isSameWeek","dateLeft","dateRight","dateLeftStartOfWeek","dateRightStartOfWeek","weekdays","formatRelativeLocale","lastWeek","baseDate","weekday","yesterday","today","tomorrow","nextWeek","formatRelative","buildLocalizeFn","value","context","valuesArray","formattingValues","defaultFormattingWidth","values","index","argumentCallback","eraValues","narrow","abbreviated","wide","quarterValues","formattingQuarterValues","monthValues","formattingMonthValues","dayValues","formattingDayValues","dayPeriodValues","am","pm","midnight","noon","morning","afternoon","evening","night","formattingDayPeriodValues","ordinalNumber","dirtyNumber","_options","number","Number","localize","era","quarter","month","dayPeriod","buildMatchFn","string","matchPattern","matchPatterns","defaultMatchWidth","matchResult","match","matchedString","parsePatterns","defaultParseWidth","key","Array","isArray","findIndex","pattern","test","findKey","valueCallback","rest","slice","object","predicate","hasOwnProperty","array","buildMatchPatternFn","parseResult","parsePattern","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","any","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","parseInt","lv","code","firstWeekContainsDate","window","dateFns","_objectSpread"],"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/lv/_lib/formatDistance.mjs\nvar buildLocalizeTokenFn = function(schema) {\n return (count, options) => {\n if (count === 1) {\n if (options?.addSuffix) {\n return schema.one[0].replace(\"{{time}}\", schema.one[2]);\n } else {\n return schema.one[0].replace(\"{{time}}\", schema.one[1]);\n }\n } else {\n const rem = count % 10 === 1 && count % 100 !== 11;\n if (options?.addSuffix) {\n return schema.other[0].replace(\"{{time}}\", rem ? schema.other[3] : schema.other[4]).replace(\"{{count}}\", String(count));\n } else {\n return schema.other[0].replace(\"{{time}}\", rem ? schema.other[1] : schema.other[2]).replace(\"{{count}}\", String(count));\n }\n }\n };\n};\nvar formatDistanceLocale = {\n lessThanXSeconds: buildLocalizeTokenFn({\n one: [\"maz\\u0101k par {{time}}\", \"sekundi\", \"sekundi\"],\n other: [\n \"maz\\u0101k nek\\u0101 {{count}} {{time}}\",\n \"sekunde\",\n \"sekundes\",\n \"sekundes\",\n \"sekund\\u0113m\"\n ]\n }),\n xSeconds: buildLocalizeTokenFn({\n one: [\"1 {{time}}\", \"sekunde\", \"sekundes\"],\n other: [\n \"{{count}} {{time}}\",\n \