1 line
26 KiB
Plaintext
1 line
26 KiB
Plaintext
|
{"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","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","nb","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/nb/_lib/formatDistance.mjs\nvar formatDistanceLocale = {\n lessThanXSeconds: {\n one: \"mindre enn ett sekund\",\n other: \"mindre enn {{count}} sekunder\"\n },\n xSeconds: {\n one: \"ett sekund\",\n other: \"{{count}} sekunder\"\n },\n halfAMinute: \"et halvt minutt\",\n lessThanXMinutes: {\n one: \"mindre enn ett minutt\",\n other: \"mindre enn {{count}} minutter\"\n },\n xMinutes: {\n one: \"ett minutt\",\n other: \"{{count}} minutter\"\n },\n aboutXHours: {\n one: \"omtrent en time\",\n other: \"omtrent {{count}} timer\"\n },\n xHours: {\n one: \"en time\",\n other: \"{{count}} timer\"\n },\n xDays: {\n one: \"en dag\",\n other: \"{{count}} dager\"\n },\n aboutXWeeks: {\n one: \"omtrent en uke\",\n other: \"omtrent {{count}} uker\"\n },\n xWeeks: {\n one: \"en uke\",\n other: \"{{count}} uker\"\n },\n aboutXMonths: {\n one: \"omtrent en m\\xE5ned\",\n other: \"omtrent {{count}} m\\xE5neder\"\n },\n xMonths: {\n one: \"en m\\xE5ned\",\n other: \"{{count}} m\\xE5neder\"\n },\n aboutXYears: {\n one: \"omtrent ett \\xE5r\",\n other: \"omtrent {{count}} \\xE5r\"\n },\n xYears: {\n one: \"ett \\xE5r\",\n other: \"{{count}} \\xE5r\"\n },\n overXYears: {\n one: \"over ett \\xE5r\",\n other: \"over {{count}} \\xE5r\"\n },\n almostXYears: {\n one: \"nesten ett \\xE5r\",\n other: \"nesten {{count}} \\xE5r\"\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
|