Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
77 lines
3.5 KiB
JavaScript
77 lines
3.5 KiB
JavaScript
// Module ID: 3783
|
|
// Function ID: 3784
|
|
// Dependencies: [2036, 2037]
|
|
|
|
// Module 3783
|
|
import module_2036 from "module_2036" /* 2036 */;
|
|
import module_2037 from "module_2037" /* 2037 */;
|
|
|
|
if (!module_2036) {
|
|
const obj2 = { default: module_2036 };
|
|
let obj = obj2;
|
|
} else {
|
|
obj = module_2036;
|
|
}
|
|
if (!module_2037) {
|
|
const obj4 = { default: module_2037 };
|
|
let obj3 = obj4;
|
|
} else {
|
|
obj3 = module_2037;
|
|
}
|
|
const date = {
|
|
ordinalNumber: obj3.default({
|
|
matchPattern: /^(\d+)\./i,
|
|
parsePattern: /\d+/i,
|
|
valueCallback(match) {
|
|
return parseInt(match, 10);
|
|
}
|
|
}),
|
|
era: null,
|
|
quarter: null,
|
|
month: null,
|
|
day: null,
|
|
dayPeriod: null
|
|
};
|
|
const obj6 = { matchPatterns: { narrow: /^(pr\.n\.e\.|AD)/i, abbreviated: /^(pr\.\s?Kr\.|po\.\s?Kr\.)/i, wide: /^(Prije Krista|prije nove ere|Poslije Krista|nova era)/i }, defaultMatchWidth: "wide", parsePatterns: null, defaultParseWidth: "any" };
|
|
const obj7 = { any: null };
|
|
const items = [/^pr/i, /^(po|nova)/i];
|
|
obj7.any = items;
|
|
obj6.parsePatterns = obj7;
|
|
date.era = obj.default(obj6);
|
|
const obj8 = {
|
|
matchPatterns: { narrow: /^[1234]/i, abbreviated: /^[1234]\.\s?kv\.?/i, wide: /^[1234]\. kvartal/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: /^(10|11|12|[123456789])\./i, abbreviated: /^(sij|velj|(ožu|ozu)|tra|svi|lip|srp|kol|ruj|lis|stu|pro)/i, wide: /^((siječanj|siječnja|sijecanj|sijecnja)|(veljača|veljače|veljaca|veljace)|(ožujak|ožujka|ozujak|ozujka)|(travanj|travnja)|(svibanj|svibnja)|(lipanj|lipnja)|(srpanj|srpnja)|(kolovoz|kolovoza)|(rujan|rujna)|(listopad|listopada)|(studeni|studenog)|(prosinac|prosinca))/i }, defaultMatchWidth: "wide", parsePatterns: null, defaultParseWidth: "wide" };
|
|
const obj11 = { narrow: null, abbreviated: null, wide: null };
|
|
const items2 = [/1/i, /2/i, /3/i, /4/i, /5/i, /6/i, /7/i, /8/i, /9/i, /10/i, /11/i, /12/i];
|
|
obj11.narrow = items2;
|
|
const items3 = [/^sij/i, /^velj/i, /^(ožu|ozu)/i, /^tra/i, /^svi/i, /^lip/i, /^srp/i, /^kol/i, /^ruj/i, /^lis/i, /^stu/i, /^pro/i];
|
|
obj11.abbreviated = items3;
|
|
const items4 = [/^sij/i, /^velj/i, /^(ožu|ozu)/i, /^tra/i, /^svi/i, /^lip/i, /^srp/i, /^kol/i, /^ruj/i, /^lis/i, /^stu/i, /^pro/i];
|
|
obj11.wide = items4;
|
|
obj10.parsePatterns = obj11;
|
|
date.month = obj.default(obj10);
|
|
const obj12 = { matchPatterns: { narrow: /^[npusčc]/i, short: /^(ned|pon|uto|sri|(čet|cet)|pet|sub)/i, abbreviated: /^(ned|pon|uto|sri|(čet|cet)|pet|sub)/i, wide: /^(nedjelja|ponedjeljak|utorak|srijeda|(četvrtak|cetvrtak)|petak|subota)/i }, defaultMatchWidth: "wide", parsePatterns: null, defaultParseWidth: "any" };
|
|
const obj13 = { narrow: null, any: null };
|
|
const items5 = [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i];
|
|
obj13.narrow = items5;
|
|
const items6 = [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i];
|
|
obj13.any = items6;
|
|
obj12.parsePatterns = obj13;
|
|
date.day = obj.default(obj12);
|
|
const obj14 = { matchPatterns: { any: /^(am|pm|ponoc|ponoć|(po)?podne|navecer|navečer|noću|poslije podne|ujutro)/i }, defaultMatchWidth: "any", parsePatterns: { any: { am: /^a/i, pm: /^p/i, midnight: /^pono/i, noon: /^pod/i, morning: /jutro/i, afternoon: /(poslije\s|po)+podne/i, evening: /(navece|naveče)/i, night: /(nocu|noću)/i } }, defaultParseWidth: "any" };
|
|
date.dayPeriod = obj.default(obj14);
|
|
|
|
export default date;
|
|
export default exports.default;
|