Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4907.js (118.4 MB)
152 lines
5.8 KiB
JavaScript
152 lines
5.8 KiB
JavaScript
// Module ID: 10842
|
|
// Function ID: 10843
|
|
// Dependencies: [10843, 10845, 10846, 10847, 10848, 10849, 10850, 10851, 10852, 10853, 10854, 10855, 10856, 10857, 10858, 10704, 10859, 10860, 10671, 10711]
|
|
// Exports: createCasualConfiguration, parse, parseDate
|
|
|
|
// Module 10842
|
|
import _mod10671 from "module_10671" /* 10671 */;
|
|
import _mod10704 from "module_10704" /* 10704 */;
|
|
import includeCommonConfiguration from "includeCommonConfiguration" /* 10711 */;
|
|
import _mod10843 from "module_10843" /* 10843 */;
|
|
import _mod10845 from "module_10845" /* 10845 */;
|
|
import _mod10846 from "module_10846" /* 10846 */;
|
|
import _mod10847 from "module_10847" /* 10847 */;
|
|
import _mod10848 from "module_10848" /* 10848 */;
|
|
import _mod10849 from "module_10849" /* 10849 */;
|
|
import _mod10850 from "module_10850" /* 10850 */;
|
|
import _mod10851 from "module_10851" /* 10851 */;
|
|
import _mod10852 from "module_10852" /* 10852 */;
|
|
import _mod10853 from "module_10853" /* 10853 */;
|
|
import _mod10854 from "module_10854" /* 10854 */;
|
|
import _mod10855 from "module_10855" /* 10855 */;
|
|
import _mod10856 from "module_10856" /* 10856 */;
|
|
import _mod10857 from "module_10857" /* 10857 */;
|
|
import _mod10858 from "module_10858" /* 10858 */;
|
|
import _mod10859 from "module_10859" /* 10859 */;
|
|
import _mod10860 from "module_10860" /* 10860 */;
|
|
|
|
function createConfiguration(flag, arg1) {
|
|
if (flag === undefined) {
|
|
flag = true;
|
|
}
|
|
let flag2 = arg1;
|
|
if (arg1 === undefined) {
|
|
flag2 = false;
|
|
}
|
|
const obj = { parsers: null, refiners: null };
|
|
const items = [new regExp.default(flag2), , , , , , , , , ];
|
|
const _default = new regExp.default(flag2);
|
|
items[1] = new _isNativeReflectConstruct.default();
|
|
const _default1 = new _isNativeReflectConstruct.default();
|
|
items[2] = new _isNativeReflectConstruct.default();
|
|
const _default2 = new _isNativeReflectConstruct.default();
|
|
items[3] = new _isNativeReflectConstruct.default();
|
|
const _default3 = new _isNativeReflectConstruct.default();
|
|
items[4] = new _isNativeReflectConstruct.default();
|
|
const _default4 = new _isNativeReflectConstruct.default();
|
|
items[5] = new _isNativeReflectConstruct.default();
|
|
const _default5 = new _isNativeReflectConstruct.default();
|
|
items[6] = new _isNativeReflectConstruct.default();
|
|
const _default6 = new _isNativeReflectConstruct.default();
|
|
items[7] = new _isNativeReflectConstruct.default(flag);
|
|
const _default7 = new _isNativeReflectConstruct.default(flag);
|
|
items[8] = new _isNativeReflectConstruct.default(flag);
|
|
const _default8 = new _isNativeReflectConstruct.default(flag);
|
|
items[9] = new _isNativeReflectConstruct.default(flag);
|
|
obj.parsers = items;
|
|
const _default9 = new _isNativeReflectConstruct.default(flag);
|
|
const items1 = [new _isNativeReflectConstruct.default(), , ];
|
|
const _default10 = new _isNativeReflectConstruct.default();
|
|
items1[1] = new _isNativeReflectConstruct.default();
|
|
const _default11 = new _isNativeReflectConstruct.default();
|
|
items1[2] = new _isNativeReflectConstruct.default();
|
|
obj.refiners = items1;
|
|
return includeCommonConfiguration.includeCommonConfiguration(obj, flag);
|
|
}
|
|
let fn = this;
|
|
if (this) {
|
|
fn = this.__importDefault;
|
|
}
|
|
if (!fn) {
|
|
fn = (__esModule) => {
|
|
if (!__esModule) {
|
|
const obj = { default: __esModule };
|
|
let tmp = obj;
|
|
} else {
|
|
tmp = __esModule;
|
|
}
|
|
return tmp;
|
|
};
|
|
}
|
|
function createCasualConfiguration() {
|
|
let flag = arg0;
|
|
if (arg0 === undefined) {
|
|
flag = false;
|
|
}
|
|
const tmp = createConfiguration(false, flag);
|
|
const parsers = tmp.parsers;
|
|
parsers.unshift(new _isNativeReflectConstruct.default());
|
|
const parsers1 = tmp.parsers;
|
|
const _default = new _isNativeReflectConstruct.default();
|
|
parsers1.unshift(new _isNativeReflectConstruct.default());
|
|
const parsers2 = tmp.parsers;
|
|
const _default1 = new _isNativeReflectConstruct.default();
|
|
parsers2.unshift(new _isNativeReflectConstruct.default());
|
|
const parsers3 = tmp.parsers;
|
|
const _default2 = new _isNativeReflectConstruct.default();
|
|
parsers3.unshift(new _isNativeReflectConstruct.default());
|
|
const parsers4 = tmp.parsers;
|
|
const _default3 = new _isNativeReflectConstruct.default();
|
|
parsers4.unshift(new _isNativeReflectConstruct.default());
|
|
return tmp;
|
|
}
|
|
fn(_mod10843);
|
|
fn(_mod10845);
|
|
fn(_mod10846);
|
|
fn(_mod10847);
|
|
fn(_mod10848);
|
|
fn(_mod10849);
|
|
fn(_mod10850);
|
|
fn(_mod10851);
|
|
fn(_mod10852);
|
|
fn(_mod10853);
|
|
fn(_mod10854);
|
|
fn(_mod10855);
|
|
fn(_mod10856);
|
|
fn(_mod10857);
|
|
fn(_mod10858);
|
|
const regExp = fn(_mod10704);
|
|
fn(_mod10859);
|
|
const _isNativeReflectConstruct = fn(_mod10860);
|
|
const configuration = createConfiguration(false, false);
|
|
let parsers = configuration.parsers;
|
|
parsers.unshift(new _isNativeReflectConstruct.default());
|
|
let parsers1 = configuration.parsers;
|
|
let _default = new _isNativeReflectConstruct.default();
|
|
parsers1.unshift(new _isNativeReflectConstruct.default());
|
|
let parsers2 = configuration.parsers;
|
|
let _default1 = new _isNativeReflectConstruct.default();
|
|
parsers2.unshift(new _isNativeReflectConstruct.default());
|
|
let parsers3 = configuration.parsers;
|
|
let _default2 = new _isNativeReflectConstruct.default();
|
|
parsers3.unshift(new _isNativeReflectConstruct.default());
|
|
let parsers4 = configuration.parsers;
|
|
let _default3 = new _isNativeReflectConstruct.default();
|
|
parsers4.unshift(new _isNativeReflectConstruct.default());
|
|
const chrono = new _mod10671.Chrono(configuration);
|
|
const chrono1 = new _mod10671.Chrono(createConfiguration(true, false));
|
|
const chrono2 = new _mod10671.Chrono(createConfiguration(false, true));
|
|
|
|
export const parse = function parse(arg0, arg1, arg2) {
|
|
const casual = exports.casual;
|
|
return casual.parse(arg0, arg1, arg2);
|
|
};
|
|
export const parseDate = function parseDate(arg0, arg1, arg2) {
|
|
const casual = exports.casual;
|
|
return casual.parseDate(arg0, arg1, arg2);
|
|
};
|
|
export { createCasualConfiguration };
|
|
export { createConfiguration };
|
|
export const casual = chrono;
|
|
export const strict = chrono1;
|
|
export const GB = chrono2;
|