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

1 line
39 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","buildLocalizeFn","args","value","options","context","String","valuesArray","formattingValues","defaultWidth","defaultFormattingWidth","width","values","index","argumentCallback","dateOrdinalNumber","number","localeNumber","numberToLocale","enNumber","toString","replace","match","numberValues","locale","eraValues","narrow","abbreviated","wide","quarterValues","monthValues","dayValues","short","dayPeriodValues","am","pm","midnight","noon","morning","afternoon","evening","night","formattingDayPeriodValues","ordinalNumber","dirtyNumber","Number","unit","rem10","localize","era","quarter","month","day","dayPeriod","formatDistanceLocale","lessThanXSeconds","one","other","xSeconds","halfAMinute","lessThanXMinutes","xMinutes","aboutXHours","xHours","xDays","aboutXWeeks","xWeeks","aboutXMonths","xMonths","aboutXYears","xYears","overXYears","almostXYears","formatDistance","token","count","result","tokenValue","addSuffix","comparison","buildFormatLongFn","arguments","length","undefined","format","formats","dateFormats","full","long","medium","timeFormats","dateTimeFormats","formatLong","date","time","dateTime","formatRelativeLocale","lastWeek","yesterday","today","tomorrow","nextWeek","formatRelative","_date","_baseDate","_options","buildMatchFn","string","matchPattern","matchPatterns","defaultMatchWidth","matchResult","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","matchQuarterPatterns","parseQuarterPatterns","any","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","parseInt","bn","code","weekStartsOn","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/_lib/buildLocalizeFn.mjs\nfunction buildLocalizeFn(args) {\n return (value, options) => {\n const context = options?.context ? String(options.context) : \"standalone\";\n let valuesArray;\n if (context === \"formatting\" && args.formattingValues) {\n const defaultWidth = args.defaultFormattingWidth || args.defaultWidth;\n const width = options?.width ? String(options.width) : defaultWidth;\n valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];\n } else {\n const defaultWidth = args.defaultWidth;\n const width = options?.width ? String(options.width) : args.defaultWidth;\n valuesArray = args.values[width] || args.values[defaultWidth];\n }\n const index = args.argumentCallback ? args.argumentCallback(value) : value;\n return valuesArray[index];\n };\n}\n\n// lib/locale/bn/_lib/localize.mjs\nvar dateOrdinalNumber = function(number, localeNumber) {\n if (number > 18 && number <= 31) {\n return localeNumber + \"\\u09B6\\u09C7\";\n } else {\n switch (number) {\n case 1:\n return localeNumber + \"\\u09B2\\u09BE\";\n case 2:\n case 3:\n return localeNumber + \"\\u09B0\\u09BE\";\n case 4:\n return localeNumber + \"\\u09A0\\u09BE\";\n default:\n return localeNumber + \"\\u0987\";\n }\n }\n};\nfunction numberToLocale(enNumber) {\n return enNumber.toString().replace(/\\d/g, function(match) {\n return numberValues.locale[match];\n });\n}\nvar numberValues = {\n locale: {\n 1: \"\\u09E7\",\n 2: \"\\u09E8\",\n 3: \"\\u09E9\",\n 4: \"\\u09E