Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
73 lines
3.2 KiB
JavaScript
73 lines
3.2 KiB
JavaScript
// Module ID: 3750
|
|
// Function ID: 3751
|
|
// Dependencies: [2035, 2036]
|
|
|
|
// Module 3750
|
|
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,
|
|
parsePattern: /\d+/i,
|
|
valueCallback(match) {
|
|
return parseInt(match);
|
|
}
|
|
}),
|
|
era: null,
|
|
quarter: null,
|
|
month: null,
|
|
day: null,
|
|
dayPeriod: null
|
|
};
|
|
const obj6 = { matchPatterns: { narrow: /^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i, abbreviated: /^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i, wide: /^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i }, defaultMatchWidth: "wide", parsePatterns: null, defaultParseWidth: "any" };
|
|
const obj7 = { any: null };
|
|
const items = [/^v/i, /^n/i];
|
|
obj7.any = items;
|
|
obj6.parsePatterns = obj7;
|
|
date.era = obj.default(obj6);
|
|
const obj8 = {
|
|
matchPatterns: { narrow: /^[1234]/i, abbreviated: /^q[1234]/i, wide: /^[1234](\.)? Quartal/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: /^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i, wide: /^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/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 = [/^j[aä]/i, /^f/i, /^mär/i, /^ap/i, /^mai/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i];
|
|
obj11.any = items3;
|
|
obj10.parsePatterns = obj11;
|
|
date.month = obj.default(obj10);
|
|
const obj12 = { matchPatterns: { narrow: /^[smdmf]/i, short: /^(so|mo|di|mi|do|fr|sa)/i, abbreviated: /^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i, wide: /^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i }, defaultMatchWidth: "wide", parsePatterns: null, defaultParseWidth: "any" };
|
|
const obj13 = { any: null };
|
|
const items4 = [/^so/i, /^mo/i, /^di/i, /^mi/i, /^do/i, /^f/i, /^sa/i];
|
|
obj13.any = items4;
|
|
obj12.parsePatterns = obj13;
|
|
date.day = obj.default(obj12);
|
|
const obj14 = { matchPatterns: { narrow: /^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i, abbreviated: /^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i, wide: /^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i }, defaultMatchWidth: "wide", parsePatterns: { any: { am: /^v/i, pm: /^n/i, midnight: /^Mitte/i, noon: /^Mitta/i, morning: /morgens/i, afternoon: /nachmittags/i, evening: /abends/i, night: /nachts/i } }, defaultParseWidth: "any" };
|
|
date.dayPeriod = obj.default(obj14);
|
|
|
|
export default date;
|
|
export default exports.default;
|