Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
75 lines
3.2 KiB
JavaScript
75 lines
3.2 KiB
JavaScript
// Module ID: 3776
|
|
// Function ID: 3777
|
|
// Dependencies: [2035, 2036]
|
|
|
|
// Module 3776
|
|
import module_2035 from "module_2035" /* 2035 */;
|
|
import module_2036 from "module_2036" /* 2036 */;
|
|
|
|
if (!module_2035) {
|
|
const obj2 = { default: module_2035 };
|
|
let obj = obj2;
|
|
} else {
|
|
obj = module_2035;
|
|
}
|
|
if (!module_2036) {
|
|
const obj4 = { default: module_2036 };
|
|
let obj3 = obj4;
|
|
} else {
|
|
obj3 = module_2036;
|
|
}
|
|
const date = {
|
|
ordinalNumber: obj3.default({
|
|
matchPattern: /^(\d+)(ième|ère|ème|er|e)?/i,
|
|
parsePattern: /\d+/i,
|
|
valueCallback(match) {
|
|
return parseInt(match);
|
|
}
|
|
}),
|
|
era: null,
|
|
quarter: null,
|
|
month: null,
|
|
day: null,
|
|
dayPeriod: null
|
|
};
|
|
const obj6 = { matchPatterns: { narrow: /^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i, abbreviated: /^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i, wide: /^(avant Jésus-Christ|après Jésus-Christ)/i }, defaultMatchWidth: "wide", parsePatterns: null, defaultParseWidth: "any" };
|
|
const obj7 = { any: null };
|
|
const items = [/^av/i, /^ap/i];
|
|
obj7.any = items;
|
|
obj6.parsePatterns = obj7;
|
|
date.era = obj.default(obj6);
|
|
const obj8 = {
|
|
matchPatterns: { narrow: /^T?[1234]/i, abbreviated: /^[1234](er|ème|e)? trim\.?/i, wide: /^[1234](er|ème|e)? trimestre/i },
|
|
defaultMatchWidth: "wide",
|
|
parsePatterns: null,
|
|
defaultParseWidth: "any",
|
|
valueCallback(arg0) {
|
|
return arg0 + 1;
|
|
}
|
|
};
|
|
const obj9 = { any: null };
|
|
const items1 = [/1/i, /2/i, /3/i, /4/i];
|
|
obj9.any = items1;
|
|
obj8.parsePatterns = obj9;
|
|
date.quarter = obj.default(obj8);
|
|
const obj10 = { matchPatterns: { narrow: /^[jfmasond]/i, abbreviated: /^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i, wide: /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i }, defaultMatchWidth: "wide", parsePatterns: null, defaultParseWidth: "any" };
|
|
const obj11 = { narrow: null, any: null };
|
|
const items2 = [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i];
|
|
obj11.narrow = items2;
|
|
const items3 = [/^ja/i, /^f/i, /^mar/i, /^av/i, /^ma/i, /^juin/i, /^juil/i, /^ao/i, /^s/i, /^o/i, /^n/i, /^d/i];
|
|
obj11.any = items3;
|
|
obj10.parsePatterns = obj11;
|
|
date.month = obj.default(obj10);
|
|
const obj12 = { matchPatterns: { narrow: /^[lmjvsd]/i, short: /^(di|lu|ma|me|je|ve|sa)/i, abbreviated: /^(dim|lun|mar|mer|jeu|ven|sam)\.?/i, wide: /^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i }, defaultMatchWidth: "wide", parsePatterns: null, defaultParseWidth: "any" };
|
|
const obj13 = { narrow: null, any: null };
|
|
const items4 = [/^d/i, /^l/i, /^m/i, /^m/i, /^j/i, /^v/i, /^s/i];
|
|
obj13.narrow = items4;
|
|
const items5 = [/^di/i, /^lu/i, /^ma/i, /^me/i, /^je/i, /^ve/i, /^sa/i];
|
|
obj13.any = items5;
|
|
obj12.parsePatterns = obj13;
|
|
date.day = obj.default(obj12);
|
|
const obj14 = { matchPatterns: { narrow: /^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i, any: /^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i }, defaultMatchWidth: "any", parsePatterns: { any: { am: /^a/i, pm: /^p/i, midnight: /^min/i, noon: /^mid/i, morning: /mat/i, afternoon: /ap/i, evening: /soir/i, night: /nuit/i } }, defaultParseWidth: "any" };
|
|
date.dayPeriod = obj.default(obj14);
|
|
|
|
export default date;
|
|
export default exports.default;
|