diff --git a/main.js b/main.js index 5abe141..9f4c0bf 100644 --- a/main.js +++ b/main.js @@ -1,7 +1,7 @@ /******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ -/***/ 6870: +/***/ 4018: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -181,15 +181,15 @@ function regex(str) { /***/ }), -/***/ 5477: +/***/ 8182: /***/ ((module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const formats_1 = __webpack_require__(6870); -const limit_1 = __webpack_require__(7963); -const codegen_1 = __webpack_require__(3487); +const formats_1 = __webpack_require__(4018); +const limit_1 = __webpack_require__(6461); +const codegen_1 = __webpack_require__(9029); const fullName = new codegen_1.Name("fullFormats"); const fastName = new codegen_1.Name("fastFormats"); const formatsPlugin = (ajv, opts = { keywords: true }) => { @@ -225,15 +225,15 @@ exports["default"] = formatsPlugin; /***/ }), -/***/ 7963: +/***/ 6461: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.formatLimitDefinition = void 0; -const ajv_1 = __webpack_require__(1581); -const codegen_1 = __webpack_require__(3487); +const ajv_1 = __webpack_require__(3282); +const codegen_1 = __webpack_require__(9029); const ops = codegen_1.operators; const KWDs = { formatMaximum: { okStr: "<=", ok: ops.LTE, fail: ops.GT }, @@ -301,17 +301,17 @@ exports["default"] = formatLimitPlugin; /***/ }), -/***/ 1581: +/***/ 3282: /***/ ((module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0; -const core_1 = __webpack_require__(7159); -const draft7_1 = __webpack_require__(3924); -const discriminator_1 = __webpack_require__(1240); -const draft7MetaSchema = __webpack_require__(98); +const core_1 = __webpack_require__(4042); +const draft7_1 = __webpack_require__(6144); +const discriminator_1 = __webpack_require__(6653); +const draft7MetaSchema = __webpack_require__(2079); const META_SUPPORT_DATA = ["/properties"]; const META_SCHEMA_ID = "http://json-schema.org/draft-07/schema"; class Ajv extends core_1.default { @@ -339,24 +339,24 @@ class Ajv extends core_1.default { module.exports = exports = Ajv; Object.defineProperty(exports, "__esModule", ({ value: true })); exports["default"] = Ajv; -var validate_1 = __webpack_require__(4815); +var validate_1 = __webpack_require__(2586); Object.defineProperty(exports, "KeywordCxt", ({ enumerable: true, get: function () { return validate_1.KeywordCxt; } })); -var codegen_1 = __webpack_require__(3487); +var codegen_1 = __webpack_require__(9029); Object.defineProperty(exports, "_", ({ enumerable: true, get: function () { return codegen_1._; } })); Object.defineProperty(exports, "str", ({ enumerable: true, get: function () { return codegen_1.str; } })); Object.defineProperty(exports, "stringify", ({ enumerable: true, get: function () { return codegen_1.stringify; } })); Object.defineProperty(exports, "nil", ({ enumerable: true, get: function () { return codegen_1.nil; } })); Object.defineProperty(exports, "Name", ({ enumerable: true, get: function () { return codegen_1.Name; } })); Object.defineProperty(exports, "CodeGen", ({ enumerable: true, get: function () { return codegen_1.CodeGen; } })); -var validation_error_1 = __webpack_require__(7426); +var validation_error_1 = __webpack_require__(3558); Object.defineProperty(exports, "ValidationError", ({ enumerable: true, get: function () { return validation_error_1.default; } })); -var ref_error_1 = __webpack_require__(6646); +var ref_error_1 = __webpack_require__(4551); Object.defineProperty(exports, "MissingRefError", ({ enumerable: true, get: function () { return ref_error_1.default; } })); //# sourceMappingURL=ajv.js.map /***/ }), -/***/ 7023: +/***/ 1520: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -518,16 +518,16 @@ exports.regexpCode = regexpCode; /***/ }), -/***/ 3487: +/***/ 9029: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.or = exports.and = exports.not = exports.CodeGen = exports.operators = exports.varKinds = exports.ValueScopeName = exports.ValueScope = exports.Scope = exports.Name = exports.regexpCode = exports.stringify = exports.getProperty = exports.nil = exports.strConcat = exports.str = exports._ = void 0; -const code_1 = __webpack_require__(7023); -const scope_1 = __webpack_require__(8490); -var code_2 = __webpack_require__(7023); +const code_1 = __webpack_require__(1520); +const scope_1 = __webpack_require__(7845); +var code_2 = __webpack_require__(1520); Object.defineProperty(exports, "_", ({ enumerable: true, get: function () { return code_2._; } })); Object.defineProperty(exports, "str", ({ enumerable: true, get: function () { return code_2.str; } })); Object.defineProperty(exports, "strConcat", ({ enumerable: true, get: function () { return code_2.strConcat; } })); @@ -536,7 +536,7 @@ Object.defineProperty(exports, "getProperty", ({ enumerable: true, get: function Object.defineProperty(exports, "stringify", ({ enumerable: true, get: function () { return code_2.stringify; } })); Object.defineProperty(exports, "regexpCode", ({ enumerable: true, get: function () { return code_2.regexpCode; } })); Object.defineProperty(exports, "Name", ({ enumerable: true, get: function () { return code_2.Name; } })); -var scope_2 = __webpack_require__(8490); +var scope_2 = __webpack_require__(7845); Object.defineProperty(exports, "Scope", ({ enumerable: true, get: function () { return scope_2.Scope; } })); Object.defineProperty(exports, "ValueScope", ({ enumerable: true, get: function () { return scope_2.ValueScope; } })); Object.defineProperty(exports, "ValueScopeName", ({ enumerable: true, get: function () { return scope_2.ValueScopeName; } })); @@ -1222,14 +1222,14 @@ function par(x) { /***/ }), -/***/ 8490: +/***/ 7845: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.ValueScope = exports.ValueScopeName = exports.Scope = exports.varKinds = exports.UsedValueState = void 0; -const code_1 = __webpack_require__(7023); +const code_1 = __webpack_require__(1520); class ValueError extends Error { constructor(name) { super(`CodeGen: "code" for ${name} not defined`); @@ -1372,16 +1372,16 @@ exports.ValueScope = ValueScope; /***/ }), -/***/ 4181: +/***/ 8708: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.extendErrors = exports.resetErrorsCount = exports.reportExtraError = exports.reportError = exports.keyword$DataError = exports.keywordError = void 0; -const codegen_1 = __webpack_require__(3487); -const util_1 = __webpack_require__(6776); -const names_1 = __webpack_require__(2141); +const codegen_1 = __webpack_require__(9029); +const util_1 = __webpack_require__(4227); +const names_1 = __webpack_require__(2023); exports.keywordError = { message: ({ keyword }) => (0, codegen_1.str) `must pass "${keyword}" keyword validation`, }; @@ -1502,19 +1502,19 @@ function extraErrorProps(cxt, { params, message }, keyValues) { /***/ }), -/***/ 5173: +/***/ 3835: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.resolveSchema = exports.getCompilingSchema = exports.resolveRef = exports.compileSchema = exports.SchemaEnv = void 0; -const codegen_1 = __webpack_require__(3487); -const validation_error_1 = __webpack_require__(7426); -const names_1 = __webpack_require__(2141); -const resolve_1 = __webpack_require__(2531); -const util_1 = __webpack_require__(6776); -const validate_1 = __webpack_require__(4815); +const codegen_1 = __webpack_require__(9029); +const validation_error_1 = __webpack_require__(3558); +const names_1 = __webpack_require__(2023); +const resolve_1 = __webpack_require__(6939); +const util_1 = __webpack_require__(4227); +const validate_1 = __webpack_require__(2586); class SchemaEnv { constructor(env) { var _a; @@ -1751,13 +1751,13 @@ function getJsonPointer(parsedRef, { baseId, schema, root }) { /***/ }), -/***/ 2141: +/***/ 2023: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const codegen_1 = __webpack_require__(3487); +const codegen_1 = __webpack_require__(9029); const names = { // validation function arguments data: new codegen_1.Name("data"), @@ -1786,13 +1786,13 @@ exports["default"] = names; /***/ }), -/***/ 6646: +/***/ 4551: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const resolve_1 = __webpack_require__(2531); +const resolve_1 = __webpack_require__(6939); class MissingRefError extends Error { constructor(resolver, baseId, ref, msg) { super(msg || `can't resolve reference ${ref} from id ${baseId}`); @@ -1805,16 +1805,16 @@ exports["default"] = MissingRefError; /***/ }), -/***/ 2531: +/***/ 6939: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.getSchemaRefs = exports.resolveUrl = exports.normalizeId = exports._getFullPath = exports.getFullPath = exports.inlineRef = void 0; -const util_1 = __webpack_require__(6776); -const equal = __webpack_require__(4063); -const traverse = __webpack_require__(9461); +const util_1 = __webpack_require__(4227); +const equal = __webpack_require__(2017); +const traverse = __webpack_require__(7106); // TODO refactor to use keyword definitions const SIMPLE_INLINED = new Set([ "type", @@ -1967,7 +1967,7 @@ exports.getSchemaRefs = getSchemaRefs; /***/ }), -/***/ 3141: +/***/ 396: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -2000,15 +2000,15 @@ exports.getRules = getRules; /***/ }), -/***/ 6776: +/***/ 4227: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.checkStrictMode = exports.getErrorPath = exports.Type = exports.useFunc = exports.setEvaluated = exports.evaluatedPropsToName = exports.mergeEvaluated = exports.eachItem = exports.unescapeJsonPointer = exports.escapeJsonPointer = exports.escapeFragment = exports.unescapeFragment = exports.schemaRefOrVal = exports.schemaHasRulesButRef = exports.schemaHasRules = exports.checkUnknownRules = exports.alwaysValidSchema = exports.toHash = void 0; -const codegen_1 = __webpack_require__(3487); -const code_1 = __webpack_require__(7023); +const codegen_1 = __webpack_require__(9029); +const code_1 = __webpack_require__(1520); // TODO refactor to use Set function toHash(arr) { const hash = {}; @@ -2185,7 +2185,7 @@ exports.checkStrictMode = checkStrictMode; /***/ }), -/***/ 8876: +/***/ 7887: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -2211,16 +2211,16 @@ exports.shouldUseRule = shouldUseRule; /***/ }), -/***/ 5667: +/***/ 8727: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.boolOrEmptySchema = exports.topBoolOrEmptySchema = void 0; -const errors_1 = __webpack_require__(4181); -const codegen_1 = __webpack_require__(3487); -const names_1 = __webpack_require__(2141); +const errors_1 = __webpack_require__(8708); +const codegen_1 = __webpack_require__(9029); +const names_1 = __webpack_require__(2023); const boolError = { message: "boolean schema is false", }; @@ -2268,18 +2268,18 @@ function falseSchemaError(it, overrideAllErrors) { /***/ }), -/***/ 453: +/***/ 208: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.reportTypeError = exports.checkDataTypes = exports.checkDataType = exports.coerceAndCheckDataType = exports.getJSONTypes = exports.getSchemaTypes = exports.DataType = void 0; -const rules_1 = __webpack_require__(3141); -const applicability_1 = __webpack_require__(8876); -const errors_1 = __webpack_require__(4181); -const codegen_1 = __webpack_require__(3487); -const util_1 = __webpack_require__(6776); +const rules_1 = __webpack_require__(396); +const applicability_1 = __webpack_require__(7887); +const errors_1 = __webpack_require__(8708); +const codegen_1 = __webpack_require__(9029); +const util_1 = __webpack_require__(4227); var DataType; (function (DataType) { DataType[DataType["Correct"] = 0] = "Correct"; @@ -2477,15 +2477,15 @@ function getTypeErrorContext(it) { /***/ }), -/***/ 313: +/***/ 7870: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.assignDefaults = void 0; -const codegen_1 = __webpack_require__(3487); -const util_1 = __webpack_require__(6776); +const codegen_1 = __webpack_require__(9029); +const util_1 = __webpack_require__(4227); function assignDefaults(it, ty) { const { properties, items } = it.schema; if (ty === "object" && properties) { @@ -2519,25 +2519,25 @@ function assignDefault(it, prop, defaultValue) { /***/ }), -/***/ 4815: +/***/ 2586: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.getData = exports.KeywordCxt = exports.validateFunctionCode = void 0; -const boolSchema_1 = __webpack_require__(5667); -const dataType_1 = __webpack_require__(453); -const applicability_1 = __webpack_require__(8876); -const dataType_2 = __webpack_require__(453); -const defaults_1 = __webpack_require__(313); -const keyword_1 = __webpack_require__(5005); -const subschema_1 = __webpack_require__(3099); -const codegen_1 = __webpack_require__(3487); -const names_1 = __webpack_require__(2141); -const resolve_1 = __webpack_require__(2531); -const util_1 = __webpack_require__(6776); -const errors_1 = __webpack_require__(4181); +const boolSchema_1 = __webpack_require__(8727); +const dataType_1 = __webpack_require__(208); +const applicability_1 = __webpack_require__(7887); +const dataType_2 = __webpack_require__(208); +const defaults_1 = __webpack_require__(7870); +const keyword_1 = __webpack_require__(3673); +const subschema_1 = __webpack_require__(4495); +const codegen_1 = __webpack_require__(9029); +const names_1 = __webpack_require__(2023); +const resolve_1 = __webpack_require__(6939); +const util_1 = __webpack_require__(4227); +const errors_1 = __webpack_require__(8708); // schema compilation - generates validation function, subschemaCode (below) is used for subschemas function validateFunctionCode(it) { if (isSchemaObj(it)) { @@ -3046,17 +3046,17 @@ exports.getData = getData; /***/ }), -/***/ 5005: +/***/ 3673: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.validateKeywordUsage = exports.validSchemaType = exports.funcKeywordCode = exports.macroKeywordCode = void 0; -const codegen_1 = __webpack_require__(3487); -const names_1 = __webpack_require__(2141); -const code_1 = __webpack_require__(412); -const errors_1 = __webpack_require__(4181); +const codegen_1 = __webpack_require__(9029); +const names_1 = __webpack_require__(2023); +const code_1 = __webpack_require__(5765); +const errors_1 = __webpack_require__(8708); function macroKeywordCode(cxt, def) { const { gen, keyword, schema, parentSchema, it } = cxt; const macroSchema = def.macro.call(it.self, schema, parentSchema, it); @@ -3177,15 +3177,15 @@ exports.validateKeywordUsage = validateKeywordUsage; /***/ }), -/***/ 3099: +/***/ 4495: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.extendSubschemaMode = exports.extendSubschemaData = exports.getSubschema = void 0; -const codegen_1 = __webpack_require__(3487); -const util_1 = __webpack_require__(6776); +const codegen_1 = __webpack_require__(9029); +const util_1 = __webpack_require__(4227); function getSubschema(it, { keyword, schemaProp, schema, schemaPath, errSchemaPath, topSchemaRef }) { if (keyword !== undefined && schema !== undefined) { throw new Error('both "keyword" and "schema" passed, only one allowed'); @@ -3265,32 +3265,32 @@ exports.extendSubschemaMode = extendSubschemaMode; /***/ }), -/***/ 7159: +/***/ 4042: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0; -var validate_1 = __webpack_require__(4815); +var validate_1 = __webpack_require__(2586); Object.defineProperty(exports, "KeywordCxt", ({ enumerable: true, get: function () { return validate_1.KeywordCxt; } })); -var codegen_1 = __webpack_require__(3487); +var codegen_1 = __webpack_require__(9029); Object.defineProperty(exports, "_", ({ enumerable: true, get: function () { return codegen_1._; } })); Object.defineProperty(exports, "str", ({ enumerable: true, get: function () { return codegen_1.str; } })); Object.defineProperty(exports, "stringify", ({ enumerable: true, get: function () { return codegen_1.stringify; } })); Object.defineProperty(exports, "nil", ({ enumerable: true, get: function () { return codegen_1.nil; } })); Object.defineProperty(exports, "Name", ({ enumerable: true, get: function () { return codegen_1.Name; } })); Object.defineProperty(exports, "CodeGen", ({ enumerable: true, get: function () { return codegen_1.CodeGen; } })); -const validation_error_1 = __webpack_require__(7426); -const ref_error_1 = __webpack_require__(6646); -const rules_1 = __webpack_require__(3141); -const compile_1 = __webpack_require__(5173); -const codegen_2 = __webpack_require__(3487); -const resolve_1 = __webpack_require__(2531); -const dataType_1 = __webpack_require__(453); -const util_1 = __webpack_require__(6776); -const $dataRefSchema = __webpack_require__(4775); -const uri_1 = __webpack_require__(3589); +const validation_error_1 = __webpack_require__(3558); +const ref_error_1 = __webpack_require__(4551); +const rules_1 = __webpack_require__(396); +const compile_1 = __webpack_require__(3835); +const codegen_2 = __webpack_require__(9029); +const resolve_1 = __webpack_require__(6939); +const dataType_1 = __webpack_require__(208); +const util_1 = __webpack_require__(4227); +const $dataRefSchema = __webpack_require__(3837); +const uri_1 = __webpack_require__(5944); const defaultRegExp = (str, flags) => new RegExp(str, flags); defaultRegExp.code = "new RegExp"; const META_IGNORE_OPTIONS = ["removeAdditional", "useDefaults", "coerceTypes"]; @@ -3889,21 +3889,21 @@ function schemaOrData(schema) { /***/ }), -/***/ 3510: +/***/ 6250: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); // https://github.com/ajv-validator/ajv/issues/889 -const equal = __webpack_require__(4063); +const equal = __webpack_require__(2017); equal.code = 'require("ajv/dist/runtime/equal").default'; exports["default"] = equal; //# sourceMappingURL=equal.js.map /***/ }), -/***/ 4499: +/***/ 3853: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -3934,20 +3934,20 @@ ucs2length.code = 'require("ajv/dist/runtime/ucs2length").default'; /***/ }), -/***/ 3589: +/***/ 5944: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const uri = __webpack_require__(540); +const uri = __webpack_require__(6579); uri.code = 'require("ajv/dist/runtime/uri").default'; exports["default"] = uri; //# sourceMappingURL=uri.js.map /***/ }), -/***/ 7426: +/***/ 3558: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -3965,15 +3965,15 @@ exports["default"] = ValidationError; /***/ }), -/***/ 4783: +/***/ 5457: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.validateAdditionalItems = void 0; -const codegen_1 = __webpack_require__(3487); -const util_1 = __webpack_require__(6776); +const codegen_1 = __webpack_require__(9029); +const util_1 = __webpack_require__(4227); const error = { message: ({ params: { len } }) => (0, codegen_1.str) `must NOT have more than ${len} items`, params: ({ params: { len } }) => (0, codegen_1._) `{limit: ${len}}`, @@ -4021,16 +4021,16 @@ exports["default"] = def; /***/ }), -/***/ 9351: +/***/ 8660: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const code_1 = __webpack_require__(412); -const codegen_1 = __webpack_require__(3487); -const names_1 = __webpack_require__(2141); -const util_1 = __webpack_require__(6776); +const code_1 = __webpack_require__(5765); +const codegen_1 = __webpack_require__(9029); +const names_1 = __webpack_require__(2023); +const util_1 = __webpack_require__(4227); const error = { message: "must NOT have additional properties", params: ({ params }) => (0, codegen_1._) `{additionalProperty: ${params.additionalProperty}}`, @@ -4134,13 +4134,13 @@ exports["default"] = def; /***/ }), -/***/ 1125: +/***/ 5844: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const util_1 = __webpack_require__(6776); +const util_1 = __webpack_require__(4227); const def = { keyword: "allOf", schemaType: "array", @@ -4164,13 +4164,13 @@ exports["default"] = def; /***/ }), -/***/ 19: +/***/ 6505: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const code_1 = __webpack_require__(412); +const code_1 = __webpack_require__(5765); const def = { keyword: "anyOf", schemaType: "array", @@ -4183,14 +4183,14 @@ exports["default"] = def; /***/ }), -/***/ 9864: +/***/ 2661: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const codegen_1 = __webpack_require__(3487); -const util_1 = __webpack_require__(6776); +const codegen_1 = __webpack_require__(9029); +const util_1 = __webpack_require__(4227); const error = { message: ({ params: { min, max } }) => max === undefined ? (0, codegen_1.str) `must contain at least ${min} valid item(s)` @@ -4285,16 +4285,16 @@ exports["default"] = def; /***/ }), -/***/ 3566: +/***/ 3025: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.validateSchemaDeps = exports.validatePropertyDeps = exports.error = void 0; -const codegen_1 = __webpack_require__(3487); -const util_1 = __webpack_require__(6776); -const code_1 = __webpack_require__(412); +const codegen_1 = __webpack_require__(9029); +const util_1 = __webpack_require__(4227); +const code_1 = __webpack_require__(5765); exports.error = { message: ({ params: { property, depsCount, deps } }) => { const property_ies = depsCount === 1 ? "property" : "properties"; @@ -4377,14 +4377,14 @@ exports["default"] = def; /***/ }), -/***/ 9434: +/***/ 1239: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const codegen_1 = __webpack_require__(3487); -const util_1 = __webpack_require__(6776); +const codegen_1 = __webpack_require__(9029); +const util_1 = __webpack_require__(4227); const error = { message: ({ params }) => (0, codegen_1.str) `must match "${params.ifClause}" schema`, params: ({ params }) => (0, codegen_1._) `{failingKeyword: ${params.ifClause}}`, @@ -4450,28 +4450,28 @@ exports["default"] = def; /***/ }), -/***/ 8200: +/***/ 6378: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const additionalItems_1 = __webpack_require__(4783); -const prefixItems_1 = __webpack_require__(2924); -const items_1 = __webpack_require__(4665); -const items2020_1 = __webpack_require__(1119); -const contains_1 = __webpack_require__(9864); -const dependencies_1 = __webpack_require__(3566); -const propertyNames_1 = __webpack_require__(3708); -const additionalProperties_1 = __webpack_require__(9351); -const properties_1 = __webpack_require__(6239); -const patternProperties_1 = __webpack_require__(2296); -const not_1 = __webpack_require__(5697); -const anyOf_1 = __webpack_require__(19); -const oneOf_1 = __webpack_require__(4200); -const allOf_1 = __webpack_require__(1125); -const if_1 = __webpack_require__(9434); -const thenElse_1 = __webpack_require__(6552); +const additionalItems_1 = __webpack_require__(5457); +const prefixItems_1 = __webpack_require__(5354); +const items_1 = __webpack_require__(494); +const items2020_1 = __webpack_require__(3966); +const contains_1 = __webpack_require__(2661); +const dependencies_1 = __webpack_require__(3025); +const propertyNames_1 = __webpack_require__(9713); +const additionalProperties_1 = __webpack_require__(8660); +const properties_1 = __webpack_require__(117); +const patternProperties_1 = __webpack_require__(5333); +const not_1 = __webpack_require__(7923); +const anyOf_1 = __webpack_require__(6505); +const oneOf_1 = __webpack_require__(6163); +const allOf_1 = __webpack_require__(5844); +const if_1 = __webpack_require__(1239); +const thenElse_1 = __webpack_require__(4426); function getApplicator(draft2020 = false) { const applicator = [ // any @@ -4501,16 +4501,16 @@ exports["default"] = getApplicator; /***/ }), -/***/ 4665: +/***/ 494: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.validateTuple = void 0; -const codegen_1 = __webpack_require__(3487); -const util_1 = __webpack_require__(6776); -const code_1 = __webpack_require__(412); +const codegen_1 = __webpack_require__(9029); +const util_1 = __webpack_require__(4227); +const code_1 = __webpack_require__(5765); const def = { keyword: "items", type: "array", @@ -4560,16 +4560,16 @@ exports["default"] = def; /***/ }), -/***/ 1119: +/***/ 3966: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const codegen_1 = __webpack_require__(3487); -const util_1 = __webpack_require__(6776); -const code_1 = __webpack_require__(412); -const additionalItems_1 = __webpack_require__(4783); +const codegen_1 = __webpack_require__(9029); +const util_1 = __webpack_require__(4227); +const code_1 = __webpack_require__(5765); +const additionalItems_1 = __webpack_require__(5457); const error = { message: ({ params: { len } }) => (0, codegen_1.str) `must NOT have more than ${len} items`, params: ({ params: { len } }) => (0, codegen_1._) `{limit: ${len}}`, @@ -4597,13 +4597,13 @@ exports["default"] = def; /***/ }), -/***/ 5697: +/***/ 7923: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const util_1 = __webpack_require__(6776); +const util_1 = __webpack_require__(4227); const def = { keyword: "not", schemaType: ["object", "boolean"], @@ -4630,14 +4630,14 @@ exports["default"] = def; /***/ }), -/***/ 4200: +/***/ 6163: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const codegen_1 = __webpack_require__(3487); -const util_1 = __webpack_require__(6776); +const codegen_1 = __webpack_require__(9029); +const util_1 = __webpack_require__(4227); const error = { message: "must match exactly one schema in oneOf", params: ({ params }) => (0, codegen_1._) `{passingSchemas: ${params.passing}}`, @@ -4697,16 +4697,16 @@ exports["default"] = def; /***/ }), -/***/ 2296: +/***/ 5333: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const code_1 = __webpack_require__(412); -const codegen_1 = __webpack_require__(3487); -const util_1 = __webpack_require__(6776); -const util_2 = __webpack_require__(6776); +const code_1 = __webpack_require__(5765); +const codegen_1 = __webpack_require__(9029); +const util_1 = __webpack_require__(4227); +const util_2 = __webpack_require__(4227); const def = { keyword: "patternProperties", type: "object", @@ -4779,13 +4779,13 @@ exports["default"] = def; /***/ }), -/***/ 2924: +/***/ 5354: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const items_1 = __webpack_require__(4665); +const items_1 = __webpack_require__(494); const def = { keyword: "prefixItems", type: "array", @@ -4798,16 +4798,16 @@ exports["default"] = def; /***/ }), -/***/ 6239: +/***/ 117: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const validate_1 = __webpack_require__(4815); -const code_1 = __webpack_require__(412); -const util_1 = __webpack_require__(6776); -const additionalProperties_1 = __webpack_require__(9351); +const validate_1 = __webpack_require__(2586); +const code_1 = __webpack_require__(5765); +const util_1 = __webpack_require__(4227); +const additionalProperties_1 = __webpack_require__(8660); const def = { keyword: "properties", type: "object", @@ -4859,14 +4859,14 @@ exports["default"] = def; /***/ }), -/***/ 3708: +/***/ 9713: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const codegen_1 = __webpack_require__(3487); -const util_1 = __webpack_require__(6776); +const codegen_1 = __webpack_require__(9029); +const util_1 = __webpack_require__(4227); const error = { message: "property name must be valid", params: ({ params }) => (0, codegen_1._) `{propertyName: ${params.propertyName}}`, @@ -4904,13 +4904,13 @@ exports["default"] = def; /***/ }), -/***/ 6552: +/***/ 4426: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const util_1 = __webpack_require__(6776); +const util_1 = __webpack_require__(4227); const def = { keyword: ["then", "else"], schemaType: ["object", "boolean"], @@ -4924,17 +4924,17 @@ exports["default"] = def; /***/ }), -/***/ 412: +/***/ 5765: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.validateUnion = exports.validateArray = exports.usePattern = exports.callValidateCode = exports.schemaProperties = exports.allSchemaProperties = exports.noPropertyInData = exports.propertyInData = exports.isOwnProperty = exports.hasPropFunc = exports.reportMissingProp = exports.checkMissingProp = exports.checkReportMissingProp = void 0; -const codegen_1 = __webpack_require__(3487); -const util_1 = __webpack_require__(6776); -const names_1 = __webpack_require__(2141); -const util_2 = __webpack_require__(6776); +const codegen_1 = __webpack_require__(9029); +const util_1 = __webpack_require__(4227); +const names_1 = __webpack_require__(2023); +const util_2 = __webpack_require__(4227); function checkReportMissingProp(cxt, prop) { const { gen, data, it } = cxt; gen.if(noPropertyInData(gen, data, prop, it.opts.ownProperties), () => { @@ -5062,7 +5062,7 @@ exports.validateUnion = validateUnion; /***/ }), -/***/ 8386: +/***/ 3463: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -5079,14 +5079,14 @@ exports["default"] = def; /***/ }), -/***/ 5684: +/***/ 2128: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const id_1 = __webpack_require__(8386); -const ref_1 = __webpack_require__(8280); +const id_1 = __webpack_require__(3463); +const ref_1 = __webpack_require__(3693); const core = [ "$schema", "$id", @@ -5102,19 +5102,19 @@ exports["default"] = core; /***/ }), -/***/ 8280: +/***/ 3693: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.callRef = exports.getValidate = void 0; -const ref_error_1 = __webpack_require__(6646); -const code_1 = __webpack_require__(412); -const codegen_1 = __webpack_require__(3487); -const names_1 = __webpack_require__(2141); -const compile_1 = __webpack_require__(5173); -const util_1 = __webpack_require__(6776); +const ref_error_1 = __webpack_require__(4551); +const code_1 = __webpack_require__(5765); +const codegen_1 = __webpack_require__(9029); +const names_1 = __webpack_require__(2023); +const compile_1 = __webpack_require__(3835); +const util_1 = __webpack_require__(4227); const def = { keyword: "$ref", schemaType: "string", @@ -5231,16 +5231,16 @@ exports["default"] = def; /***/ }), -/***/ 1240: +/***/ 6653: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const codegen_1 = __webpack_require__(3487); -const types_1 = __webpack_require__(9306); -const compile_1 = __webpack_require__(5173); -const util_1 = __webpack_require__(6776); +const codegen_1 = __webpack_require__(9029); +const types_1 = __webpack_require__(7652); +const compile_1 = __webpack_require__(3835); +const util_1 = __webpack_require__(4227); const error = { message: ({ params: { discrError, tagName } }) => discrError === types_1.DiscrError.Tag ? `tag "${tagName}" must be string` @@ -5338,7 +5338,7 @@ exports["default"] = def; /***/ }), -/***/ 9306: +/***/ 7652: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -5354,17 +5354,17 @@ var DiscrError; /***/ }), -/***/ 3924: +/***/ 6144: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const core_1 = __webpack_require__(5684); -const validation_1 = __webpack_require__(2649); -const applicator_1 = __webpack_require__(8200); -const format_1 = __webpack_require__(9502); -const metadata_1 = __webpack_require__(6167); +const core_1 = __webpack_require__(2128); +const validation_1 = __webpack_require__(7060); +const applicator_1 = __webpack_require__(6378); +const format_1 = __webpack_require__(7532); +const metadata_1 = __webpack_require__(9857); const draft7Vocabularies = [ core_1.default, validation_1.default, @@ -5378,13 +5378,13 @@ exports["default"] = draft7Vocabularies; /***/ }), -/***/ 9651: +/***/ 4737: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const codegen_1 = __webpack_require__(3487); +const codegen_1 = __webpack_require__(9029); const error = { message: ({ schemaCode }) => (0, codegen_1.str) `must match format "${schemaCode}"`, params: ({ schemaCode }) => (0, codegen_1._) `{format: ${schemaCode}}`, @@ -5477,20 +5477,20 @@ exports["default"] = def; /***/ }), -/***/ 9502: +/***/ 7532: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const format_1 = __webpack_require__(9651); +const format_1 = __webpack_require__(4737); const format = [format_1.default]; exports["default"] = format; //# sourceMappingURL=index.js.map /***/ }), -/***/ 6167: +/***/ 9857: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -5515,15 +5515,15 @@ exports.contentVocabulary = [ /***/ }), -/***/ 4693: +/***/ 7935: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const codegen_1 = __webpack_require__(3487); -const util_1 = __webpack_require__(6776); -const equal_1 = __webpack_require__(3510); +const codegen_1 = __webpack_require__(9029); +const util_1 = __webpack_require__(4227); +const equal_1 = __webpack_require__(6250); const error = { message: "must be equal to constant", params: ({ schemaCode }) => (0, codegen_1._) `{allowedValue: ${schemaCode}}`, @@ -5547,15 +5547,15 @@ exports["default"] = def; /***/ }), -/***/ 966: +/***/ 8643: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const codegen_1 = __webpack_require__(3487); -const util_1 = __webpack_require__(6776); -const equal_1 = __webpack_require__(3510); +const codegen_1 = __webpack_require__(9029); +const util_1 = __webpack_require__(4227); +const equal_1 = __webpack_require__(6250); const error = { message: "must be equal to one of the allowed values", params: ({ schemaCode }) => (0, codegen_1._) `{allowedValues: ${schemaCode}}`, @@ -5602,22 +5602,22 @@ exports["default"] = def; /***/ }), -/***/ 2649: +/***/ 7060: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const limitNumber_1 = __webpack_require__(3983); -const multipleOf_1 = __webpack_require__(430); -const limitLength_1 = __webpack_require__(3229); -const pattern_1 = __webpack_require__(4336); -const limitProperties_1 = __webpack_require__(498); -const required_1 = __webpack_require__(3301); -const limitItems_1 = __webpack_require__(1687); -const uniqueItems_1 = __webpack_require__(2958); -const const_1 = __webpack_require__(4693); -const enum_1 = __webpack_require__(966); +const limitNumber_1 = __webpack_require__(5882); +const multipleOf_1 = __webpack_require__(3439); +const limitLength_1 = __webpack_require__(7307); +const pattern_1 = __webpack_require__(422); +const limitProperties_1 = __webpack_require__(4486); +const required_1 = __webpack_require__(4003); +const limitItems_1 = __webpack_require__(1163); +const uniqueItems_1 = __webpack_require__(617); +const const_1 = __webpack_require__(7935); +const enum_1 = __webpack_require__(8643); const validation = [ // number limitNumber_1.default, @@ -5642,13 +5642,13 @@ exports["default"] = validation; /***/ }), -/***/ 1687: +/***/ 1163: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const codegen_1 = __webpack_require__(3487); +const codegen_1 = __webpack_require__(9029); const error = { message({ keyword, schemaCode }) { const comp = keyword === "maxItems" ? "more" : "fewer"; @@ -5673,15 +5673,15 @@ exports["default"] = def; /***/ }), -/***/ 3229: +/***/ 7307: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const codegen_1 = __webpack_require__(3487); -const util_1 = __webpack_require__(6776); -const ucs2length_1 = __webpack_require__(4499); +const codegen_1 = __webpack_require__(9029); +const util_1 = __webpack_require__(4227); +const ucs2length_1 = __webpack_require__(3853); const error = { message({ keyword, schemaCode }) { const comp = keyword === "maxLength" ? "more" : "fewer"; @@ -5707,13 +5707,13 @@ exports["default"] = def; /***/ }), -/***/ 3983: +/***/ 5882: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const codegen_1 = __webpack_require__(3487); +const codegen_1 = __webpack_require__(9029); const ops = codegen_1.operators; const KWDs = { maximum: { okStr: "<=", ok: ops.LTE, fail: ops.GT }, @@ -5741,13 +5741,13 @@ exports["default"] = def; /***/ }), -/***/ 498: +/***/ 4486: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const codegen_1 = __webpack_require__(3487); +const codegen_1 = __webpack_require__(9029); const error = { message({ keyword, schemaCode }) { const comp = keyword === "maxProperties" ? "more" : "fewer"; @@ -5772,13 +5772,13 @@ exports["default"] = def; /***/ }), -/***/ 430: +/***/ 3439: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const codegen_1 = __webpack_require__(3487); +const codegen_1 = __webpack_require__(9029); const error = { message: ({ schemaCode }) => (0, codegen_1.str) `must be multiple of ${schemaCode}`, params: ({ schemaCode }) => (0, codegen_1._) `{multipleOf: ${schemaCode}}`, @@ -5805,14 +5805,14 @@ exports["default"] = def; /***/ }), -/***/ 4336: +/***/ 422: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const code_1 = __webpack_require__(412); -const codegen_1 = __webpack_require__(3487); +const code_1 = __webpack_require__(5765); +const codegen_1 = __webpack_require__(9029); const error = { message: ({ schemaCode }) => (0, codegen_1.str) `must match pattern "${schemaCode}"`, params: ({ schemaCode }) => (0, codegen_1._) `{pattern: ${schemaCode}}`, @@ -5836,15 +5836,15 @@ exports["default"] = def; /***/ }), -/***/ 3301: +/***/ 4003: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const code_1 = __webpack_require__(412); -const codegen_1 = __webpack_require__(3487); -const util_1 = __webpack_require__(6776); +const code_1 = __webpack_require__(5765); +const codegen_1 = __webpack_require__(9029); +const util_1 = __webpack_require__(4227); const error = { message: ({ params: { missingProperty } }) => (0, codegen_1.str) `must have required property '${missingProperty}'`, params: ({ params: { missingProperty } }) => (0, codegen_1._) `{missingProperty: ${missingProperty}}`, @@ -5922,16 +5922,16 @@ exports["default"] = def; /***/ }), -/***/ 2958: +/***/ 617: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const dataType_1 = __webpack_require__(453); -const codegen_1 = __webpack_require__(3487); -const util_1 = __webpack_require__(6776); -const equal_1 = __webpack_require__(3510); +const dataType_1 = __webpack_require__(208); +const codegen_1 = __webpack_require__(9029); +const util_1 = __webpack_require__(4227); +const equal_1 = __webpack_require__(6250); const error = { message: ({ params: { i, j } }) => (0, codegen_1.str) `must NOT have duplicate items (items ## ${j} and ${i} are identical)`, params: ({ params: { i, j } }) => (0, codegen_1._) `{i: ${i}, j: ${j}}`, @@ -5993,7 +5993,7 @@ exports["default"] = def; /***/ }), -/***/ 4063: +/***/ 2017: /***/ ((module) => { "use strict"; @@ -6047,7 +6047,7 @@ module.exports = function equal(a, b) { /***/ }), -/***/ 9461: +/***/ 7106: /***/ ((module) => { "use strict"; @@ -6148,7 +6148,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 2786: +/***/ 5177: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -6156,7 +6156,7 @@ function escapeJsonPtr(str) { //! author : Werner Mollentze : https://github.com/wernerm ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -6235,7 +6235,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 4130: +/***/ 1488: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -6247,7 +6247,7 @@ function escapeJsonPtr(str) { //! author : Noureddine LOUAHEDJ : https://github.com/noureddinem ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -6257,14 +6257,14 @@ function escapeJsonPtr(str) { return n === 0 ? 0 : n === 1 - ? 1 - : n === 2 - ? 2 - : n % 100 >= 3 && n % 100 <= 10 - ? 3 - : n % 100 >= 11 - ? 4 - : 5; + ? 1 + : n === 2 + ? 2 + : n % 100 >= 3 && n % 100 <= 10 + ? 3 + : n % 100 >= 11 + ? 4 + : 5; }, plurals = { s: [ @@ -6407,7 +6407,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 6135: +/***/ 8676: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -6415,7 +6415,7 @@ function escapeJsonPtr(str) { //! author : Nusret Parlak: https://github.com/nusretparlak ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -6478,7 +6478,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 6440: +/***/ 2353: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -6486,7 +6486,7 @@ function escapeJsonPtr(str) { //! author : Ali Hmer: https://github.com/kikoanis ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -6508,14 +6508,14 @@ function escapeJsonPtr(str) { return n === 0 ? 0 : n === 1 - ? 1 - : n === 2 - ? 2 - : n % 100 >= 3 && n % 100 <= 10 - ? 3 - : n % 100 >= 11 - ? 4 - : 5; + ? 1 + : n === 2 + ? 2 + : n % 100 >= 3 && n % 100 <= 10 + ? 3 + : n % 100 >= 11 + ? 4 + : 5; }, plurals = { s: [ @@ -6665,7 +6665,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 7702: +/***/ 4496: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -6674,7 +6674,7 @@ function escapeJsonPtr(str) { //! author : Abdel Said : https://github.com/abdelsaid ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -6737,7 +6737,135 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 6040: +/***/ 6947: +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +//! moment.js locale configuration +//! locale : Arabic (Palestine) [ar-ps] +//! author : Majd Al-Shihabi : https://github.com/majdal + +;(function (global, factory) { + true ? factory(__webpack_require__(5093)) : + 0 +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var symbolMap = { + 1: '١', + 2: '٢', + 3: '٣', + 4: '٤', + 5: '٥', + 6: '٦', + 7: '٧', + 8: '٨', + 9: '٩', + 0: '٠', + }, + numberMap = { + '١': '1', + '٢': '2', + '٣': '3', + '٤': '4', + '٥': '5', + '٦': '6', + '٧': '7', + '٨': '8', + '٩': '9', + '٠': '0', + }; + + var arPs = moment.defineLocale('ar-ps', { + months: 'كانون الثاني_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_تشري الأوّل_تشرين الثاني_كانون الأوّل'.split( + '_' + ), + monthsShort: + 'ك٢_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_ت١_ت٢_ك١'.split('_'), + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + meridiemParse: /ص|م/, + isPM: function (input) { + return 'م' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ص'; + } else { + return 'م'; + } + }, + calendar: { + sameDay: '[اليوم على الساعة] LT', + nextDay: '[غدا على الساعة] LT', + nextWeek: 'dddd [على الساعة] LT', + lastDay: '[أمس على الساعة] LT', + lastWeek: 'dddd [على الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + ss: '%d ثانية', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات', + }, + preparse: function (string) { + return string + .replace(/[٣٤٥٦٧٨٩٠]/g, function (match) { + return numberMap[match]; + }) + .split('') // reversed since negative lookbehind not supported everywhere + .reverse() + .join('') + .replace(/[١٢](?![\u062a\u0643])/g, function (match) { + return numberMap[match]; + }) + .split('') + .reverse() + .join('') + .replace(/،/g, ','); + }, + postformat: function (string) { + return string + .replace(/\d/g, function (match) { + return symbolMap[match]; + }) + .replace(/,/g, '،'); + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + return arPs; + +}))); + + +/***/ }), + +/***/ 2682: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -6745,7 +6873,7 @@ function escapeJsonPtr(str) { //! author : Suhail Alkowaileet : https://github.com/xsoh ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -6858,7 +6986,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 7100: +/***/ 9756: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -6866,7 +6994,7 @@ function escapeJsonPtr(str) { //! author : Nader Toukabri : https://github.com/naderio ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -6929,7 +7057,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 867: +/***/ 1509: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -6939,7 +7067,7 @@ function escapeJsonPtr(str) { //! author : forabi https://github.com/forabi ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -6973,14 +7101,14 @@ function escapeJsonPtr(str) { return n === 0 ? 0 : n === 1 - ? 1 - : n === 2 - ? 2 - : n % 100 >= 3 && n % 100 <= 10 - ? 3 - : n % 100 >= 11 - ? 4 - : 5; + ? 1 + : n === 2 + ? 2 + : n % 100 >= 3 && n % 100 <= 10 + ? 3 + : n % 100 >= 11 + ? 4 + : 5; }, plurals = { s: [ @@ -7134,7 +7262,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 1083: +/***/ 5533: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -7142,7 +7270,7 @@ function escapeJsonPtr(str) { //! author : topchiyev : https://github.com/topchiyev ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -7252,7 +7380,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 9808: +/***/ 8959: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -7262,7 +7390,7 @@ function escapeJsonPtr(str) { //! Author : Menelion Elensúle : https://github.com/Oire ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -7273,8 +7401,8 @@ function escapeJsonPtr(str) { return num % 10 === 1 && num % 100 !== 11 ? forms[0] : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) - ? forms[1] - : forms[2]; + ? forms[1] + : forms[2]; } function relativeTimeWithPlural(number, withoutSuffix, key) { var format = { @@ -7410,7 +7538,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 8338: +/***/ 7777: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -7418,7 +7546,7 @@ function escapeJsonPtr(str) { //! author : Krasen Borisov : https://github.com/kraz ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -7513,7 +7641,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 7438: +/***/ 4903: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -7521,7 +7649,7 @@ function escapeJsonPtr(str) { //! author : Estelle Comment : https://github.com/estellecomment ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -7580,7 +7708,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 6225: +/***/ 7357: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -7588,7 +7716,7 @@ function escapeJsonPtr(str) { //! author : Asraf Hossain Patoary : https://github.com/ashwoolford ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -7725,7 +7853,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 8905: +/***/ 1290: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -7733,7 +7861,7 @@ function escapeJsonPtr(str) { //! author : Kaushik Gandhi : https://github.com/kaushikgandhi ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -7860,7 +7988,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 1560: +/***/ 1545: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -7868,7 +7996,7 @@ function escapeJsonPtr(str) { //! author : Thupten N. Chakrishar : https://github.com/vajradog ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -8000,7 +8128,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 1278: +/***/ 1470: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -8008,7 +8136,7 @@ function escapeJsonPtr(str) { //! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -8184,21 +8312,33 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 622: +/***/ 4429: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration //! locale : Bosnian [bs] //! author : Nedim Cholich : https://github.com/frontyard +//! author : Rasid Redzic : https://github.com/rasidre //! based on (hr) translation by Bojan Marković ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; //! moment.js locale configuration + function processRelativeTime(number, withoutSuffix, key, isFuture) { + switch (key) { + case 'm': + return withoutSuffix + ? 'jedna minuta' + : isFuture + ? 'jednu minutu' + : 'jedne minute'; + } + } + function translate(number, withoutSuffix, key) { var result = number + ' '; switch (key) { @@ -8211,8 +8351,6 @@ function escapeJsonPtr(str) { result += 'sekundi'; } return result; - case 'm': - return withoutSuffix ? 'jedna minuta' : 'jedne minute'; case 'mm': if (number === 1) { result += 'minuta'; @@ -8223,7 +8361,7 @@ function escapeJsonPtr(str) { } return result; case 'h': - return withoutSuffix ? 'jedan sat' : 'jednog sata'; + return withoutSuffix ? 'jedan sat' : 'jedan sat'; case 'hh': if (number === 1) { result += 'sat'; @@ -8324,7 +8462,7 @@ function escapeJsonPtr(str) { past: 'prije %s', s: 'par sekundi', ss: translate, - m: translate, + m: processRelativeTime, mm: translate, h: translate, hh: translate, @@ -8350,7 +8488,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 2468: +/***/ 7306: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -8358,7 +8496,7 @@ function escapeJsonPtr(str) { //! author : Juan G. Hurtado : https://github.com/juanghurtado ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -8442,12 +8580,12 @@ function escapeJsonPtr(str) { number === 1 ? 'r' : number === 2 - ? 'n' - : number === 3 - ? 'r' - : number === 4 - ? 't' - : 'è'; + ? 'n' + : number === 3 + ? 'r' + : number === 4 + ? 't' + : 'è'; if (period === 'w' || period === 'W') { output = 'a'; } @@ -8466,7 +8604,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 5822: +/***/ 6464: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -8474,20 +8612,21 @@ function escapeJsonPtr(str) { //! author : petrbela : https://github.com/petrbela ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; //! moment.js locale configuration var months = { - format: 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split( - '_' - ), standalone: - 'ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince'.split( + 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split( '_' ), + format: 'ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince'.split( + '_' + ), + isFormat: /DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/, }, monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_'), monthsParse = [ @@ -8662,7 +8801,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 877: +/***/ 3635: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -8670,7 +8809,7 @@ function escapeJsonPtr(str) { //! author : Anatoly Mironov : https://github.com/mirontoli ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -8708,8 +8847,8 @@ function escapeJsonPtr(str) { var affix = /сехет$/i.exec(output) ? 'рен' : /ҫул$/i.exec(output) - ? 'тан' - : 'ран'; + ? 'тан' + : 'ран'; return output + affix; }, past: '%s каялла', @@ -8741,7 +8880,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 7373: +/***/ 4226: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -8750,7 +8889,7 @@ function escapeJsonPtr(str) { //! author : https://github.com/ryangreaves ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -8855,7 +8994,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 4780: +/***/ 3601: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -8863,7 +9002,7 @@ function escapeJsonPtr(str) { //! author : Ulrik Nielsen : https://github.com/mrbase ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -8924,7 +9063,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 217: +/***/ 6111: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -8935,7 +9074,7 @@ function escapeJsonPtr(str) { //! author : Mikolaj Dadela : https://github.com/mik01aj ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -9019,7 +9158,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 894: +/***/ 4697: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -9027,7 +9166,7 @@ function escapeJsonPtr(str) { //! author : sschueller : https://github.com/sschueller ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -9111,7 +9250,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 9740: +/***/ 7853: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -9121,7 +9260,7 @@ function escapeJsonPtr(str) { //! author : Mikolaj Dadela : https://github.com/mik01aj ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -9205,7 +9344,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 5300: +/***/ 708: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -9213,7 +9352,7 @@ function escapeJsonPtr(str) { //! author : Jawish Hameed : https://github.com/jawish ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -9311,7 +9450,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 837: +/***/ 4691: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -9319,7 +9458,7 @@ function escapeJsonPtr(str) { //! author : Aggelos Karalias : https://github.com/mehiel ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -9433,7 +9572,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 8348: +/***/ 3872: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -9441,7 +9580,7 @@ function escapeJsonPtr(str) { //! author : Jared Morse : https://github.com/jarcoal ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -9496,12 +9635,12 @@ function escapeJsonPtr(str) { ~~((number % 100) / 10) === 1 ? 'th' : b === 1 - ? 'st' - : b === 2 - ? 'nd' - : b === 3 - ? 'rd' - : 'th'; + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; return number + output; }, week: { @@ -9517,7 +9656,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 7925: +/***/ 8298: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -9525,7 +9664,7 @@ function escapeJsonPtr(str) { //! author : Jonathan Abourbih : https://github.com/jonbca ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -9580,12 +9719,12 @@ function escapeJsonPtr(str) { ~~((number % 100) / 10) === 1 ? 'th' : b === 1 - ? 'st' - : b === 2 - ? 'nd' - : b === 3 - ? 'rd' - : 'th'; + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; return number + output; }, }); @@ -9597,7 +9736,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 2243: +/***/ 6195: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -9605,7 +9744,7 @@ function escapeJsonPtr(str) { //! author : Chris Gedrim : https://github.com/chrisgedrim ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -9660,12 +9799,12 @@ function escapeJsonPtr(str) { ~~((number % 100) / 10) === 1 ? 'th' : b === 1 - ? 'st' - : b === 2 - ? 'nd' - : b === 3 - ? 'rd' - : 'th'; + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; return number + output; }, week: { @@ -9681,7 +9820,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 6436: +/***/ 6584: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -9689,7 +9828,7 @@ function escapeJsonPtr(str) { //! author : Chris Cartlidge : https://github.com/chriscartlidge ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -9744,12 +9883,12 @@ function escapeJsonPtr(str) { ~~((number % 100) / 10) === 1 ? 'th' : b === 1 - ? 'st' - : b === 2 - ? 'nd' - : b === 3 - ? 'rd' - : 'th'; + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; return number + output; }, week: { @@ -9765,7 +9904,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 7207: +/***/ 5543: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -9773,7 +9912,7 @@ function escapeJsonPtr(str) { //! author : Chris Gedrim : https://github.com/chrisgedrim ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -9828,12 +9967,12 @@ function escapeJsonPtr(str) { ~~((number % 100) / 10) === 1 ? 'th' : b === 1 - ? 'st' - : b === 2 - ? 'nd' - : b === 3 - ? 'rd' - : 'th'; + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; return number + output; }, }); @@ -9845,7 +9984,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 4175: +/***/ 9033: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -9853,7 +9992,7 @@ function escapeJsonPtr(str) { //! author : Jatin Agrawal : https://github.com/jatinag22 ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -9908,12 +10047,12 @@ function escapeJsonPtr(str) { ~~((number % 100) / 10) === 1 ? 'th' : b === 1 - ? 'st' - : b === 2 - ? 'nd' - : b === 3 - ? 'rd' - : 'th'; + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; return number + output; }, week: { @@ -9929,7 +10068,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 6319: +/***/ 9402: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -9937,7 +10076,7 @@ function escapeJsonPtr(str) { //! author : Luke McGregor : https://github.com/lukemcgregor ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -9992,12 +10131,12 @@ function escapeJsonPtr(str) { ~~((number % 100) / 10) === 1 ? 'th' : b === 1 - ? 'st' - : b === 2 - ? 'nd' - : b === 3 - ? 'rd' - : 'th'; + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; return number + output; }, week: { @@ -10013,7 +10152,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 1662: +/***/ 3004: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -10021,7 +10160,7 @@ function escapeJsonPtr(str) { //! author : Matthew Castrillon-Madrigal : https://github.com/techdimension ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -10076,12 +10215,12 @@ function escapeJsonPtr(str) { ~~((number % 100) / 10) === 1 ? 'th' : b === 1 - ? 'st' - : b === 2 - ? 'nd' - : b === 3 - ? 'rd' - : 'th'; + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; return number + output; }, week: { @@ -10097,7 +10236,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 2915: +/***/ 2934: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -10108,7 +10247,7 @@ function escapeJsonPtr(str) { //! comment : Vivakvo corrected the translation by colindean and miestasmia ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -10181,14 +10320,14 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 5251: +/***/ 838: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration //! locale : Spanish (Dominican Republic) [es-do] ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -10305,7 +10444,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 6112: +/***/ 7730: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -10313,7 +10452,7 @@ function escapeJsonPtr(str) { //! author : JC Franco : https://github.com/jcfranco ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -10431,7 +10570,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 1146: +/***/ 6575: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -10440,7 +10579,7 @@ function escapeJsonPtr(str) { //! author : chrisrodz : https://github.com/chrisrodz ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -10557,7 +10696,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 5655: +/***/ 7650: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -10565,7 +10704,7 @@ function escapeJsonPtr(str) { //! author : Julio Napurí : https://github.com/julionc ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -10683,7 +10822,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 5603: +/***/ 3035: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -10692,7 +10831,7 @@ function escapeJsonPtr(str) { //! improvements : Illimar Tambek : https://github.com/ragulka ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -10777,7 +10916,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 7763: +/***/ 3508: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -10785,7 +10924,7 @@ function escapeJsonPtr(str) { //! author : Eneko Illarramendi : https://github.com/eillarra ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -10858,7 +10997,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 6959: +/***/ 119: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -10866,7 +11005,7 @@ function escapeJsonPtr(str) { //! author : Ebrahim Byagowi : https://github.com/ebraminio ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -10987,7 +11126,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 1897: +/***/ 527: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -10995,7 +11134,7 @@ function escapeJsonPtr(str) { //! author : Tarmo Aidantausta : https://github.com/bleadof ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -11127,7 +11266,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 2549: +/***/ 5995: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -11136,7 +11275,7 @@ function escapeJsonPtr(str) { //! author : Matthew Co : https://github.com/matthewdeeco ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -11201,7 +11340,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 4694: +/***/ 2477: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -11210,7 +11349,7 @@ function escapeJsonPtr(str) { //! author : Kristian Sakarisson : https://github.com/sakarisson ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -11274,7 +11413,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 3049: +/***/ 6435: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -11282,7 +11421,7 @@ function escapeJsonPtr(str) { //! author : Jonathan Abourbih : https://github.com/jonbca ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -11360,7 +11499,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 2330: +/***/ 7892: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -11368,7 +11507,7 @@ function escapeJsonPtr(str) { //! author : Gaspard Bucher : https://github.com/gaspard ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -11450,7 +11589,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 4470: +/***/ 5498: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -11458,7 +11597,7 @@ function escapeJsonPtr(str) { //! author : John Fischer : https://github.com/jfroffice ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -11574,7 +11713,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 5044: +/***/ 7071: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -11582,7 +11721,7 @@ function escapeJsonPtr(str) { //! author : Robin van der Vliet : https://github.com/robin0van0der0v ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -11665,7 +11804,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 9295: +/***/ 1734: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -11673,7 +11812,7 @@ function escapeJsonPtr(str) { //! author : André Silva : https://github.com/askpt ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -11776,7 +11915,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 2101: +/***/ 217: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -11784,7 +11923,7 @@ function escapeJsonPtr(str) { //! author : Jon Ashdown : https://github.com/jonashdown ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -11887,7 +12026,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 8794: +/***/ 7329: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -11895,7 +12034,7 @@ function escapeJsonPtr(str) { //! author : Juan G. Hurtado : https://github.com/juanghurtado ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -11978,7 +12117,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 7884: +/***/ 2124: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -11986,7 +12125,7 @@ function escapeJsonPtr(str) { //! author : The Discoverer : https://github.com/WikiDiscoverer ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -12120,7 +12259,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 3168: +/***/ 3383: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -12128,7 +12267,7 @@ function escapeJsonPtr(str) { //! author : The Discoverer : https://github.com/WikiDiscoverer ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -12260,7 +12399,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 5349: +/***/ 5050: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -12268,7 +12407,7 @@ function escapeJsonPtr(str) { //! author : Kaushik Thanki : https://github.com/Kaushik1987 ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -12398,7 +12537,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 4206: +/***/ 1713: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -12408,7 +12547,7 @@ function escapeJsonPtr(str) { //! author : Tal Ater : https://github.com/TalAter ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -12508,7 +12647,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 94: +/***/ 3861: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -12516,7 +12655,7 @@ function escapeJsonPtr(str) { //! author : Mayank Singhal : https://github.com/mayanksinghal ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -12692,7 +12831,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 316: +/***/ 6308: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -12700,7 +12839,7 @@ function escapeJsonPtr(str) { //! author : Bojan Marković : https://github.com/bmarkovic ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -12864,7 +13003,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 2138: +/***/ 609: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -12873,7 +13012,7 @@ function escapeJsonPtr(str) { //! author : Peter Viszt : https://github.com/passatgt ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -12998,7 +13137,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 1423: +/***/ 7160: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -13006,7 +13145,7 @@ function escapeJsonPtr(str) { //! author : Armendarabyan : https://github.com/armendarabyan ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -13108,7 +13247,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 9218: +/***/ 4063: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -13117,7 +13256,7 @@ function escapeJsonPtr(str) { //! reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -13200,7 +13339,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 135: +/***/ 9374: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -13208,7 +13347,7 @@ function escapeJsonPtr(str) { //! author : Hinrik Örn Sigurðsson : https://github.com/hinrik ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -13356,7 +13495,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 150: +/***/ 1827: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -13364,7 +13503,7 @@ function escapeJsonPtr(str) { //! author : xfh : https://github.com/xfh ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -13436,7 +13575,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 626: +/***/ 8383: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -13446,7 +13585,7 @@ function escapeJsonPtr(str) { //! author: Marco : https://github.com/Manfre98 ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -13507,8 +13646,8 @@ function escapeJsonPtr(str) { (this.hours() > 1 ? 'lle ' : this.hours() === 0 - ? ' ' - : "ll'") + + ? ' ' + : "ll'") + ']LT' ); default: @@ -13517,8 +13656,8 @@ function escapeJsonPtr(str) { (this.hours() > 1 ? 'lle ' : this.hours() === 0 - ? ' ' - : "ll'") + + ? ' ' + : "ll'") + ']LT' ); } @@ -13558,7 +13697,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 9183: +/***/ 3827: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -13566,7 +13705,7 @@ function escapeJsonPtr(str) { //! author : LI Long : https://github.com/baryon ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -13722,7 +13861,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 4286: +/***/ 9722: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -13731,7 +13870,7 @@ function escapeJsonPtr(str) { //! reference: http://jv.wikipedia.org/wiki/Basa_Jawa ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -13814,7 +13953,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 2105: +/***/ 1794: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -13822,7 +13961,7 @@ function escapeJsonPtr(str) { //! author : Irakli Janiashvili : https://github.com/IrakliJani ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -13922,7 +14061,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 7772: +/***/ 7088: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -13930,7 +14069,7 @@ function escapeJsonPtr(str) { //! authors : Nurlan Rakhimzhanov : https://github.com/nurlan ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -14020,7 +14159,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 8758: +/***/ 6870: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -14028,7 +14167,7 @@ function escapeJsonPtr(str) { //! author : Kruy Vanna : https://github.com/kruyvanna ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -14139,7 +14278,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 9282: +/***/ 4451: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -14147,7 +14286,7 @@ function escapeJsonPtr(str) { //! author : Rajeev Naik : https://github.com/rajeevnaikte ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -14279,7 +14418,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 3730: +/***/ 3164: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -14288,7 +14427,7 @@ function escapeJsonPtr(str) { //! author : Jeeeyul Lee ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -14370,7 +14509,137 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 1408: +/***/ 6181: +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +//! moment.js locale configuration +//! locale : Northern Kurdish [ku-kmr] +//! authors : Mazlum Özdogan : https://github.com/mergehez + +;(function (global, factory) { + true ? factory(__webpack_require__(5093)) : + 0 +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + function processRelativeTime(num, withoutSuffix, key, isFuture) { + var format = { + s: ['çend sanîye', 'çend sanîyeyan'], + ss: [num + ' sanîye', num + ' sanîyeyan'], + m: ['deqîqeyek', 'deqîqeyekê'], + mm: [num + ' deqîqe', num + ' deqîqeyan'], + h: ['saetek', 'saetekê'], + hh: [num + ' saet', num + ' saetan'], + d: ['rojek', 'rojekê'], + dd: [num + ' roj', num + ' rojan'], + w: ['hefteyek', 'hefteyekê'], + ww: [num + ' hefte', num + ' hefteyan'], + M: ['mehek', 'mehekê'], + MM: [num + ' meh', num + ' mehan'], + y: ['salek', 'salekê'], + yy: [num + ' sal', num + ' salan'], + }; + return withoutSuffix ? format[key][0] : format[key][1]; + } + // function obliqueNumSuffix(num) { + // if(num.includes(':')) + // num = parseInt(num.split(':')[0]); + // else + // num = parseInt(num); + // return num == 0 || num % 10 == 1 ? 'ê' + // : (num > 10 && num % 10 == 0 ? 'î' : 'an'); + // } + function ezafeNumSuffix(num) { + num = '' + num; + var l = num.substring(num.length - 1), + ll = num.length > 1 ? num.substring(num.length - 2) : ''; + if ( + !(ll == 12 || ll == 13) && + (l == '2' || l == '3' || ll == '50' || l == '70' || l == '80') + ) + return 'yê'; + return 'ê'; + } + + var kuKmr = moment.defineLocale('ku-kmr', { + // According to the spelling rules defined by the work group of Weqfa Mezopotamyayê (Mesopotamia Foundation) + // this should be: 'Kanûna Paşîn_Sibat_Adar_Nîsan_Gulan_Hezîran_Tîrmeh_Tebax_Îlon_Çirîya Pêşîn_Çirîya Paşîn_Kanûna Pêşîn' + // But the names below are more well known and handy + months: 'Rêbendan_Sibat_Adar_Nîsan_Gulan_Hezîran_Tîrmeh_Tebax_Îlon_Cotmeh_Mijdar_Berfanbar'.split( + '_' + ), + monthsShort: 'Rêb_Sib_Ada_Nîs_Gul_Hez_Tîr_Teb_Îlo_Cot_Mij_Ber'.split('_'), + monthsParseExact: true, + weekdays: 'Yekşem_Duşem_Sêşem_Çarşem_Pêncşem_În_Şemî'.split('_'), + weekdaysShort: 'Yek_Du_Sê_Çar_Pên_În_Şem'.split('_'), + weekdaysMin: 'Ye_Du_Sê_Ça_Pê_În_Şe'.split('_'), + meridiem: function (hours, minutes, isLower) { + if (hours < 12) { + return isLower ? 'bn' : 'BN'; + } else { + return isLower ? 'pn' : 'PN'; + } + }, + meridiemParse: /bn|BN|pn|PN/, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'Do MMMM[a] YYYY[an]', + LLL: 'Do MMMM[a] YYYY[an] HH:mm', + LLLL: 'dddd, Do MMMM[a] YYYY[an] HH:mm', + ll: 'Do MMM[.] YYYY[an]', + lll: 'Do MMM[.] YYYY[an] HH:mm', + llll: 'ddd[.], Do MMM[.] YYYY[an] HH:mm', + }, + calendar: { + sameDay: '[Îro di saet] LT [de]', + nextDay: '[Sibê di saet] LT [de]', + nextWeek: 'dddd [di saet] LT [de]', + lastDay: '[Duh di saet] LT [de]', + lastWeek: 'dddd[a borî di saet] LT [de]', + sameElse: 'L', + }, + relativeTime: { + future: 'di %s de', + past: 'berî %s', + s: processRelativeTime, + ss: processRelativeTime, + m: processRelativeTime, + mm: processRelativeTime, + h: processRelativeTime, + hh: processRelativeTime, + d: processRelativeTime, + dd: processRelativeTime, + w: processRelativeTime, + ww: processRelativeTime, + M: processRelativeTime, + MM: processRelativeTime, + y: processRelativeTime, + yy: processRelativeTime, + }, + dayOfMonthOrdinalParse: /\d{1,2}(?:yê|ê|\.)/, + ordinal: function (num, period) { + var p = period.toLowerCase(); + if (p.includes('w') || p.includes('m')) return num + '.'; + + return num + ezafeNumSuffix(num); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return kuKmr; + +}))); + + +/***/ }), + +/***/ 8174: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -14378,7 +14647,7 @@ function escapeJsonPtr(str) { //! author : Shahram Mebashar : https://github.com/ShahramMebashar ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -14504,7 +14773,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 3291: +/***/ 8474: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -14512,7 +14781,7 @@ function escapeJsonPtr(str) { //! author : Chyngyz Arystan uulu : https://github.com/chyngyz ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -14604,7 +14873,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 6841: +/***/ 9680: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -14613,7 +14882,7 @@ function escapeJsonPtr(str) { //! author : David Raison : https://github.com/kwisatz ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -14757,7 +15026,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 5466: +/***/ 5867: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -14765,7 +15034,7 @@ function escapeJsonPtr(str) { //! author : Ryan Hart : https://github.com/ryanhart2 ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -14839,7 +15108,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 7010: +/***/ 5766: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -14847,7 +15116,7 @@ function escapeJsonPtr(str) { //! author : Mindaugas Mozūras : https://github.com/mmozuras ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -14877,8 +15146,8 @@ function escapeJsonPtr(str) { return withoutSuffix ? forms(key)[0] : isFuture - ? forms(key)[1] - : forms(key)[2]; + ? forms(key)[1] + : forms(key)[2]; } function special(number) { return number % 10 === 0 || (number > 10 && number < 20); @@ -14980,7 +15249,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 7595: +/***/ 9532: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -14989,7 +15258,7 @@ function escapeJsonPtr(str) { //! author : Jānis Elmeris : https://github.com/JanisE ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -15090,7 +15359,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 9861: +/***/ 8076: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -15098,7 +15367,7 @@ function escapeJsonPtr(str) { //! author : Miodrag Nikač : https://github.com/miodragnikac ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -15120,8 +15389,8 @@ function escapeJsonPtr(str) { return number === 1 ? wordKey[0] : number >= 2 && number <= 4 - ? wordKey[1] - : wordKey[2]; + ? wordKey[1] + : wordKey[2]; }, translate: function (number, withoutSuffix, key) { var wordKey = translator.words[key]; @@ -15223,7 +15492,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 5493: +/***/ 1848: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -15231,7 +15500,7 @@ function escapeJsonPtr(str) { //! author : John Corrigan : https://github.com/johnideal ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -15299,7 +15568,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 5966: +/***/ 306: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -15308,7 +15577,7 @@ function escapeJsonPtr(str) { //! author : Sashko Todorov : https://github.com/bkyceh ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -15401,7 +15670,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 7341: +/***/ 3739: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -15409,7 +15678,7 @@ function escapeJsonPtr(str) { //! author : Floyd Pink : https://github.com/floydpink ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -15499,7 +15768,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 5115: +/***/ 9053: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -15507,7 +15776,7 @@ function escapeJsonPtr(str) { //! author : Javkhlantugs Nyamdorj : https://github.com/javkhaanj7 ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -15615,7 +15884,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 370: +/***/ 6169: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -15624,7 +15893,7 @@ function escapeJsonPtr(str) { //! author : Vivek Athalye : https://github.com/vnathalye ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -15834,7 +16103,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 1237: +/***/ 2297: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -15843,7 +16112,7 @@ function escapeJsonPtr(str) { //! author : Weldan Jamili : https://github.com/weldan ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -15926,7 +16195,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 9847: +/***/ 3386: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -15934,7 +16203,7 @@ function escapeJsonPtr(str) { //! author : Weldan Jamili : https://github.com/weldan ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -16017,7 +16286,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 2126: +/***/ 7075: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -16025,7 +16294,7 @@ function escapeJsonPtr(str) { //! author : Alessandro Maruccia : https://github.com/alesma ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -16089,7 +16358,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 6165: +/***/ 2264: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -16099,7 +16368,7 @@ function escapeJsonPtr(str) { //! author : Tin Aung Lin : https://github.com/thanyawzinmin ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -16196,7 +16465,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 4924: +/***/ 2274: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -16206,7 +16475,7 @@ function escapeJsonPtr(str) { //! Stephen Ramthun : https://github.com/stephenramthun ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -16246,13 +16515,13 @@ function escapeJsonPtr(str) { ss: '%d sekunder', m: 'ett minutt', mm: '%d minutter', - h: 'en time', + h: 'én time', hh: '%d timer', - d: 'en dag', + d: 'én dag', dd: '%d dager', - w: 'en uke', + w: 'én uke', ww: '%d uker', - M: 'en måned', + M: 'én måned', MM: '%d måneder', y: 'ett år', yy: '%d år', @@ -16272,7 +16541,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 6744: +/***/ 8235: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -16280,7 +16549,7 @@ function escapeJsonPtr(str) { //! author : suvash : https://github.com/suvash ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -16409,7 +16678,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 9814: +/***/ 3784: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -16418,7 +16687,7 @@ function escapeJsonPtr(str) { //! author : Jacob Middag : https://github.com/middagj ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -16431,7 +16700,7 @@ function escapeJsonPtr(str) { monthsParse = [ /^jan/i, /^feb/i, - /^maart|mrt.?$/i, + /^(maart|mrt\.?)$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, @@ -16527,7 +16796,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 3901: +/***/ 2572: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -16536,7 +16805,7 @@ function escapeJsonPtr(str) { //! author : Jacob Middag : https://github.com/middagj ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -16549,7 +16818,7 @@ function escapeJsonPtr(str) { monthsParse = [ /^jan/i, /^feb/i, - /^maart|mrt.?$/i, + /^(maart|mrt\.?)$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, @@ -16647,7 +16916,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 3877: +/***/ 4566: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -16656,7 +16925,7 @@ function escapeJsonPtr(str) { //! Stephen Ramthun : https://github.com/stephenramthun ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -16722,7 +16991,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 2135: +/***/ 9330: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -16730,7 +16999,7 @@ function escapeJsonPtr(str) { //! author : Quentin PAGÈS : https://github.com/Quenty31 ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -16799,12 +17068,12 @@ function escapeJsonPtr(str) { number === 1 ? 'r' : number === 2 - ? 'n' - : number === 3 - ? 'r' - : number === 4 - ? 't' - : 'è'; + ? 'n' + : number === 3 + ? 'r' + : number === 4 + ? 't' + : 'è'; if (period === 'w' || period === 'W') { output = 'a'; } @@ -16823,7 +17092,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 5858: +/***/ 9849: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -16831,7 +17100,7 @@ function escapeJsonPtr(str) { //! author : Harpreet Singh : https://github.com/harpreetkhalsagtbit ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -16961,7 +17230,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 4495: +/***/ 4418: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -16969,7 +17238,7 @@ function escapeJsonPtr(str) { //! author : Rafal Hirsz : https://github.com/evoL ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -17117,7 +17386,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 7971: +/***/ 8303: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -17125,7 +17394,7 @@ function escapeJsonPtr(str) { //! author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -17191,7 +17460,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 9520: +/***/ 9834: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -17199,7 +17468,7 @@ function escapeJsonPtr(str) { //! author : Jefferson : https://github.com/jalex79 ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -17270,7 +17539,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 6459: +/***/ 4457: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -17280,7 +17549,7 @@ function escapeJsonPtr(str) { //! author : Emanuel Cepoi : https://github.com/cepem ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -17362,7 +17631,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 1793: +/***/ 2271: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -17372,7 +17641,7 @@ function escapeJsonPtr(str) { //! author : Коренберг Марк : https://github.com/socketpair ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -17383,8 +17652,8 @@ function escapeJsonPtr(str) { return num % 10 === 1 && num % 100 !== 11 ? forms[0] : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) - ? forms[1] - : forms[2]; + ? forms[1] + : forms[2]; } function relativeTimeWithPlural(number, withoutSuffix, key) { var format = { @@ -17591,7 +17860,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 950: +/***/ 1221: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -17599,7 +17868,7 @@ function escapeJsonPtr(str) { //! author : Narain Sagar : https://github.com/narainsagar ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -17688,7 +17957,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 490: +/***/ 3478: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -17696,7 +17965,7 @@ function escapeJsonPtr(str) { //! authors : Bård Rolstad Henriksen : https://github.com/karamell ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -17761,7 +18030,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 124: +/***/ 7538: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -17769,7 +18038,7 @@ function escapeJsonPtr(str) { //! author : Sampath Sitinamaluwa : https://github.com/sampathsris ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -17846,7 +18115,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 4249: +/***/ 5784: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -17855,7 +18124,7 @@ function escapeJsonPtr(str) { //! based on work of petrbela : https://github.com/petrbela ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -18007,7 +18276,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 4985: +/***/ 6637: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -18015,7 +18284,7 @@ function escapeJsonPtr(str) { //! author : Robert Sedovšek : https://github.com/sedovsek ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -18194,7 +18463,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 1104: +/***/ 6794: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -18204,7 +18473,7 @@ function escapeJsonPtr(str) { //! author : Oerd Cukalla : https://github.com/oerd ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -18275,7 +18544,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 9915: +/***/ 3322: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -18284,7 +18553,7 @@ function escapeJsonPtr(str) { //! author : Stefan Crnjaković : https://github.com/crnjakovic ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -18418,7 +18687,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 9131: +/***/ 5719: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -18427,7 +18696,7 @@ function escapeJsonPtr(str) { //! author : Stefan Crnjaković : https://github.com/crnjakovic ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -18563,7 +18832,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 5893: +/***/ 6000: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -18571,7 +18840,7 @@ function escapeJsonPtr(str) { //! author : Nicolai Davies : https://github.com/nicolaidavies ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -18663,7 +18932,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 8760: +/***/ 1011: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -18671,7 +18940,7 @@ function escapeJsonPtr(str) { //! author : Jens Alm : https://github.com/ulmus ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -18726,12 +18995,12 @@ function escapeJsonPtr(str) { ~~((number % 100) / 10) === 1 ? ':e' : b === 1 - ? ':a' - : b === 2 - ? ':a' - : b === 3 - ? ':e' - : ':e'; + ? ':a' + : b === 2 + ? ':a' + : b === 3 + ? ':e' + : ':e'; return number + output; }, week: { @@ -18747,7 +19016,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 1172: +/***/ 748: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -18755,7 +19024,7 @@ function escapeJsonPtr(str) { //! author : Fahad Kassim : https://github.com/fadsel ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -18818,7 +19087,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 7333: +/***/ 1025: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -18826,7 +19095,7 @@ function escapeJsonPtr(str) { //! author : Arjunkumar Krishnamoorthy : https://github.com/tk120404 ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -18965,7 +19234,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 3110: +/***/ 1885: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -18973,7 +19242,7 @@ function escapeJsonPtr(str) { //! author : Krishna Chaitanya Thota : https://github.com/kcthota ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -19069,7 +19338,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 2095: +/***/ 8861: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -19079,7 +19348,7 @@ function escapeJsonPtr(str) { //! author : Sonia Simoes : https://github.com/soniasimoes ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -19132,12 +19401,12 @@ function escapeJsonPtr(str) { ~~((number % 100) / 10) === 1 ? 'th' : b === 1 - ? 'st' - : b === 2 - ? 'nd' - : b === 3 - ? 'rd' - : 'th'; + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; return number + output; }, week: { @@ -19153,7 +19422,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 7321: +/***/ 6571: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -19161,7 +19430,7 @@ function escapeJsonPtr(str) { //! author : Orif N. Jr. : https://github.com/orif-jr ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -19286,7 +19555,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 9041: +/***/ 5802: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -19294,7 +19563,7 @@ function escapeJsonPtr(str) { //! author : Kridsada Thanabulpong : https://github.com/sirn ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -19367,7 +19636,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 9005: +/***/ 9527: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -19375,7 +19644,7 @@ function escapeJsonPtr(str) { //! author : Atamyrat Abdyrahmanov : https://github.com/atamyratabdy ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -19474,7 +19743,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 5768: +/***/ 9231: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -19482,7 +19751,7 @@ function escapeJsonPtr(str) { //! author : Dan Hagman : https://github.com/hagmandan ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -19547,7 +19816,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 9444: +/***/ 1052: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -19555,7 +19824,7 @@ function escapeJsonPtr(str) { //! author : Dominika Kruk : https://github.com/amaranthrose ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -19569,10 +19838,10 @@ function escapeJsonPtr(str) { output.indexOf('jaj') !== -1 ? time.slice(0, -3) + 'leS' : output.indexOf('jar') !== -1 - ? time.slice(0, -3) + 'waQ' - : output.indexOf('DIS') !== -1 - ? time.slice(0, -3) + 'nem' - : time + ' pIq'; + ? time.slice(0, -3) + 'waQ' + : output.indexOf('DIS') !== -1 + ? time.slice(0, -3) + 'nem' + : time + ' pIq'; return time; } @@ -19582,10 +19851,10 @@ function escapeJsonPtr(str) { output.indexOf('jaj') !== -1 ? time.slice(0, -3) + 'Hu’' : output.indexOf('jar') !== -1 - ? time.slice(0, -3) + 'wen' - : output.indexOf('DIS') !== -1 - ? time.slice(0, -3) + 'ben' - : time + ' ret'; + ? time.slice(0, -3) + 'wen' + : output.indexOf('DIS') !== -1 + ? time.slice(0, -3) + 'ben' + : time + ' ret'; return time; } @@ -19687,7 +19956,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 2397: +/***/ 5096: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -19696,7 +19965,7 @@ function escapeJsonPtr(str) { //! Burak Yiğit Kaya: https://github.com/BYK ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -19809,7 +20078,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 8254: +/***/ 9846: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -19818,7 +20087,7 @@ function escapeJsonPtr(str) { //! author : Iustì Canun ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -19903,8 +20172,8 @@ function escapeJsonPtr(str) { return isFuture ? format[key][0] : withoutSuffix - ? format[key][0] - : format[key][1]; + ? format[key][0] + : format[key][1]; } return tzl; @@ -19914,7 +20183,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 699: +/***/ 7711: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -19922,7 +20191,7 @@ function escapeJsonPtr(str) { //! author : Abdel Said : https://github.com/abdelsaid ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -19984,7 +20253,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 1106: +/***/ 1765: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -19992,7 +20261,7 @@ function escapeJsonPtr(str) { //! author : Abdel Said : https://github.com/abdelsaid ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -20054,7 +20323,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 9288: +/***/ 8414: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -20062,7 +20331,7 @@ function escapeJsonPtr(str) { //! author: boyaq : https://github.com/boyaq ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -20181,7 +20450,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 7691: +/***/ 6618: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -20190,7 +20459,7 @@ function escapeJsonPtr(str) { //! Author : Menelion Elensúle : https://github.com/Oire ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -20201,8 +20470,8 @@ function escapeJsonPtr(str) { return num % 10 === 1 && num % 100 !== 11 ? forms[0] : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) - ? forms[1] - : forms[2]; + ? forms[1] + : forms[2]; } function relativeTimeWithPlural(number, withoutSuffix, key) { var format = { @@ -20250,8 +20519,8 @@ function escapeJsonPtr(str) { nounCase = /(\[[ВвУу]\]) ?dddd/.test(format) ? 'accusative' : /\[?(?:минулої|наступної)? ?\] ?dddd/.test(format) - ? 'genitive' - : 'nominative'; + ? 'genitive' + : 'nominative'; return weekdays[nounCase][m.day()]; } function processHoursFunction(str) { @@ -20364,7 +20633,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 3795: +/***/ 158: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -20373,7 +20642,7 @@ function escapeJsonPtr(str) { //! author : Zack : https://github.com/ZackVision ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -20462,7 +20731,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 588: +/***/ 2475: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -20470,7 +20739,7 @@ function escapeJsonPtr(str) { //! author : Rasulbek Mirzayev : github.com/Rasulbeeek ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -20532,7 +20801,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 6791: +/***/ 7609: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -20540,7 +20809,7 @@ function escapeJsonPtr(str) { //! author : Sardor Muminov : https://github.com/muminoff ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -20599,7 +20868,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 5666: +/***/ 1135: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -20608,7 +20877,7 @@ function escapeJsonPtr(str) { //! author : Chien Kira : https://github.com/chienkira ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -20695,7 +20964,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 4378: +/***/ 4051: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -20703,7 +20972,7 @@ function escapeJsonPtr(str) { //! author : Andrew Hood : https://github.com/andrewhood125 ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -20763,12 +21032,12 @@ function escapeJsonPtr(str) { ~~((number % 100) / 10) === 1 ? 'th' : b === 1 - ? 'st' - : b === 2 - ? 'nd' - : b === 3 - ? 'rd' - : 'th'; + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; return number + output; }, week: { @@ -20784,7 +21053,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 5805: +/***/ 2218: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -20792,7 +21061,7 @@ function escapeJsonPtr(str) { //! author : Atolagbe Abisoye : https://github.com/andela-batolagbe ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -20853,7 +21122,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 3839: +/***/ 2648: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -20863,7 +21132,7 @@ function escapeJsonPtr(str) { //! author : uu109 : https://github.com/uu109 ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -20989,7 +21258,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 5726: +/***/ 1632: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -21000,7 +21269,7 @@ function escapeJsonPtr(str) { //! author : Anthony : https://github.com/anthonylau ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -21106,7 +21375,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 9807: +/***/ 1541: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -21116,7 +21385,7 @@ function escapeJsonPtr(str) { //! author : Tan Yuanhong : https://github.com/le0tan ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -21222,7 +21491,7 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 4152: +/***/ 304: /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { //! moment.js locale configuration @@ -21231,7 +21500,7 @@ function escapeJsonPtr(str) { //! author : Chris Lam : https://github.com/hehachris ;(function (global, factory) { - true ? factory(__webpack_require__(381)) : + true ? factory(__webpack_require__(5093)) : 0 }(this, (function (moment) { 'use strict'; @@ -21337,280 +21606,284 @@ function escapeJsonPtr(str) { /***/ }), -/***/ 6700: +/***/ 5358: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var map = { - "./af": 2786, - "./af.js": 2786, - "./ar": 867, - "./ar-dz": 4130, - "./ar-dz.js": 4130, - "./ar-kw": 6135, - "./ar-kw.js": 6135, - "./ar-ly": 6440, - "./ar-ly.js": 6440, - "./ar-ma": 7702, - "./ar-ma.js": 7702, - "./ar-sa": 6040, - "./ar-sa.js": 6040, - "./ar-tn": 7100, - "./ar-tn.js": 7100, - "./ar.js": 867, - "./az": 1083, - "./az.js": 1083, - "./be": 9808, - "./be.js": 9808, - "./bg": 8338, - "./bg.js": 8338, - "./bm": 7438, - "./bm.js": 7438, - "./bn": 8905, - "./bn-bd": 6225, - "./bn-bd.js": 6225, - "./bn.js": 8905, - "./bo": 1560, - "./bo.js": 1560, - "./br": 1278, - "./br.js": 1278, - "./bs": 622, - "./bs.js": 622, - "./ca": 2468, - "./ca.js": 2468, - "./cs": 5822, - "./cs.js": 5822, - "./cv": 877, - "./cv.js": 877, - "./cy": 7373, - "./cy.js": 7373, - "./da": 4780, - "./da.js": 4780, - "./de": 9740, - "./de-at": 217, - "./de-at.js": 217, - "./de-ch": 894, - "./de-ch.js": 894, - "./de.js": 9740, - "./dv": 5300, - "./dv.js": 5300, - "./el": 837, - "./el.js": 837, - "./en-au": 8348, - "./en-au.js": 8348, - "./en-ca": 7925, - "./en-ca.js": 7925, - "./en-gb": 2243, - "./en-gb.js": 2243, - "./en-ie": 6436, - "./en-ie.js": 6436, - "./en-il": 7207, - "./en-il.js": 7207, - "./en-in": 4175, - "./en-in.js": 4175, - "./en-nz": 6319, - "./en-nz.js": 6319, - "./en-sg": 1662, - "./en-sg.js": 1662, - "./eo": 2915, - "./eo.js": 2915, - "./es": 5655, - "./es-do": 5251, - "./es-do.js": 5251, - "./es-mx": 6112, - "./es-mx.js": 6112, - "./es-us": 1146, - "./es-us.js": 1146, - "./es.js": 5655, - "./et": 5603, - "./et.js": 5603, - "./eu": 7763, - "./eu.js": 7763, - "./fa": 6959, - "./fa.js": 6959, - "./fi": 1897, - "./fi.js": 1897, - "./fil": 2549, - "./fil.js": 2549, - "./fo": 4694, - "./fo.js": 4694, - "./fr": 4470, - "./fr-ca": 3049, - "./fr-ca.js": 3049, - "./fr-ch": 2330, - "./fr-ch.js": 2330, - "./fr.js": 4470, - "./fy": 5044, - "./fy.js": 5044, - "./ga": 9295, - "./ga.js": 9295, - "./gd": 2101, - "./gd.js": 2101, - "./gl": 8794, - "./gl.js": 8794, - "./gom-deva": 7884, - "./gom-deva.js": 7884, - "./gom-latn": 3168, - "./gom-latn.js": 3168, - "./gu": 5349, - "./gu.js": 5349, - "./he": 4206, - "./he.js": 4206, - "./hi": 94, - "./hi.js": 94, - "./hr": 316, - "./hr.js": 316, - "./hu": 2138, - "./hu.js": 2138, - "./hy-am": 1423, - "./hy-am.js": 1423, - "./id": 9218, - "./id.js": 9218, - "./is": 135, - "./is.js": 135, - "./it": 626, - "./it-ch": 150, - "./it-ch.js": 150, - "./it.js": 626, - "./ja": 9183, - "./ja.js": 9183, - "./jv": 4286, - "./jv.js": 4286, - "./ka": 2105, - "./ka.js": 2105, - "./kk": 7772, - "./kk.js": 7772, - "./km": 8758, - "./km.js": 8758, - "./kn": 9282, - "./kn.js": 9282, - "./ko": 3730, - "./ko.js": 3730, - "./ku": 1408, - "./ku.js": 1408, - "./ky": 3291, - "./ky.js": 3291, - "./lb": 6841, - "./lb.js": 6841, - "./lo": 5466, - "./lo.js": 5466, - "./lt": 7010, - "./lt.js": 7010, - "./lv": 7595, - "./lv.js": 7595, - "./me": 9861, - "./me.js": 9861, - "./mi": 5493, - "./mi.js": 5493, - "./mk": 5966, - "./mk.js": 5966, - "./ml": 7341, - "./ml.js": 7341, - "./mn": 5115, - "./mn.js": 5115, - "./mr": 370, - "./mr.js": 370, - "./ms": 9847, - "./ms-my": 1237, - "./ms-my.js": 1237, - "./ms.js": 9847, - "./mt": 2126, - "./mt.js": 2126, - "./my": 6165, - "./my.js": 6165, - "./nb": 4924, - "./nb.js": 4924, - "./ne": 6744, - "./ne.js": 6744, - "./nl": 3901, - "./nl-be": 9814, - "./nl-be.js": 9814, - "./nl.js": 3901, - "./nn": 3877, - "./nn.js": 3877, - "./oc-lnc": 2135, - "./oc-lnc.js": 2135, - "./pa-in": 5858, - "./pa-in.js": 5858, - "./pl": 4495, - "./pl.js": 4495, - "./pt": 9520, - "./pt-br": 7971, - "./pt-br.js": 7971, - "./pt.js": 9520, - "./ro": 6459, - "./ro.js": 6459, - "./ru": 1793, - "./ru.js": 1793, - "./sd": 950, - "./sd.js": 950, - "./se": 490, - "./se.js": 490, - "./si": 124, - "./si.js": 124, - "./sk": 4249, - "./sk.js": 4249, - "./sl": 4985, - "./sl.js": 4985, - "./sq": 1104, - "./sq.js": 1104, - "./sr": 9131, - "./sr-cyrl": 9915, - "./sr-cyrl.js": 9915, - "./sr.js": 9131, - "./ss": 5893, - "./ss.js": 5893, - "./sv": 8760, - "./sv.js": 8760, - "./sw": 1172, - "./sw.js": 1172, - "./ta": 7333, - "./ta.js": 7333, - "./te": 3110, - "./te.js": 3110, - "./tet": 2095, - "./tet.js": 2095, - "./tg": 7321, - "./tg.js": 7321, - "./th": 9041, - "./th.js": 9041, - "./tk": 9005, - "./tk.js": 9005, - "./tl-ph": 5768, - "./tl-ph.js": 5768, - "./tlh": 9444, - "./tlh.js": 9444, - "./tr": 2397, - "./tr.js": 2397, - "./tzl": 8254, - "./tzl.js": 8254, - "./tzm": 1106, - "./tzm-latn": 699, - "./tzm-latn.js": 699, - "./tzm.js": 1106, - "./ug-cn": 9288, - "./ug-cn.js": 9288, - "./uk": 7691, - "./uk.js": 7691, - "./ur": 3795, - "./ur.js": 3795, - "./uz": 6791, - "./uz-latn": 588, - "./uz-latn.js": 588, - "./uz.js": 6791, - "./vi": 5666, - "./vi.js": 5666, - "./x-pseudo": 4378, - "./x-pseudo.js": 4378, - "./yo": 5805, - "./yo.js": 5805, - "./zh-cn": 3839, - "./zh-cn.js": 3839, - "./zh-hk": 5726, - "./zh-hk.js": 5726, - "./zh-mo": 9807, - "./zh-mo.js": 9807, - "./zh-tw": 4152, - "./zh-tw.js": 4152 + "./af": 5177, + "./af.js": 5177, + "./ar": 1509, + "./ar-dz": 1488, + "./ar-dz.js": 1488, + "./ar-kw": 8676, + "./ar-kw.js": 8676, + "./ar-ly": 2353, + "./ar-ly.js": 2353, + "./ar-ma": 4496, + "./ar-ma.js": 4496, + "./ar-ps": 6947, + "./ar-ps.js": 6947, + "./ar-sa": 2682, + "./ar-sa.js": 2682, + "./ar-tn": 9756, + "./ar-tn.js": 9756, + "./ar.js": 1509, + "./az": 5533, + "./az.js": 5533, + "./be": 8959, + "./be.js": 8959, + "./bg": 7777, + "./bg.js": 7777, + "./bm": 4903, + "./bm.js": 4903, + "./bn": 1290, + "./bn-bd": 7357, + "./bn-bd.js": 7357, + "./bn.js": 1290, + "./bo": 1545, + "./bo.js": 1545, + "./br": 1470, + "./br.js": 1470, + "./bs": 4429, + "./bs.js": 4429, + "./ca": 7306, + "./ca.js": 7306, + "./cs": 6464, + "./cs.js": 6464, + "./cv": 3635, + "./cv.js": 3635, + "./cy": 4226, + "./cy.js": 4226, + "./da": 3601, + "./da.js": 3601, + "./de": 7853, + "./de-at": 6111, + "./de-at.js": 6111, + "./de-ch": 4697, + "./de-ch.js": 4697, + "./de.js": 7853, + "./dv": 708, + "./dv.js": 708, + "./el": 4691, + "./el.js": 4691, + "./en-au": 3872, + "./en-au.js": 3872, + "./en-ca": 8298, + "./en-ca.js": 8298, + "./en-gb": 6195, + "./en-gb.js": 6195, + "./en-ie": 6584, + "./en-ie.js": 6584, + "./en-il": 5543, + "./en-il.js": 5543, + "./en-in": 9033, + "./en-in.js": 9033, + "./en-nz": 9402, + "./en-nz.js": 9402, + "./en-sg": 3004, + "./en-sg.js": 3004, + "./eo": 2934, + "./eo.js": 2934, + "./es": 7650, + "./es-do": 838, + "./es-do.js": 838, + "./es-mx": 7730, + "./es-mx.js": 7730, + "./es-us": 6575, + "./es-us.js": 6575, + "./es.js": 7650, + "./et": 3035, + "./et.js": 3035, + "./eu": 3508, + "./eu.js": 3508, + "./fa": 119, + "./fa.js": 119, + "./fi": 527, + "./fi.js": 527, + "./fil": 5995, + "./fil.js": 5995, + "./fo": 2477, + "./fo.js": 2477, + "./fr": 5498, + "./fr-ca": 6435, + "./fr-ca.js": 6435, + "./fr-ch": 7892, + "./fr-ch.js": 7892, + "./fr.js": 5498, + "./fy": 7071, + "./fy.js": 7071, + "./ga": 1734, + "./ga.js": 1734, + "./gd": 217, + "./gd.js": 217, + "./gl": 7329, + "./gl.js": 7329, + "./gom-deva": 2124, + "./gom-deva.js": 2124, + "./gom-latn": 3383, + "./gom-latn.js": 3383, + "./gu": 5050, + "./gu.js": 5050, + "./he": 1713, + "./he.js": 1713, + "./hi": 3861, + "./hi.js": 3861, + "./hr": 6308, + "./hr.js": 6308, + "./hu": 609, + "./hu.js": 609, + "./hy-am": 7160, + "./hy-am.js": 7160, + "./id": 4063, + "./id.js": 4063, + "./is": 9374, + "./is.js": 9374, + "./it": 8383, + "./it-ch": 1827, + "./it-ch.js": 1827, + "./it.js": 8383, + "./ja": 3827, + "./ja.js": 3827, + "./jv": 9722, + "./jv.js": 9722, + "./ka": 1794, + "./ka.js": 1794, + "./kk": 7088, + "./kk.js": 7088, + "./km": 6870, + "./km.js": 6870, + "./kn": 4451, + "./kn.js": 4451, + "./ko": 3164, + "./ko.js": 3164, + "./ku": 8174, + "./ku-kmr": 6181, + "./ku-kmr.js": 6181, + "./ku.js": 8174, + "./ky": 8474, + "./ky.js": 8474, + "./lb": 9680, + "./lb.js": 9680, + "./lo": 5867, + "./lo.js": 5867, + "./lt": 5766, + "./lt.js": 5766, + "./lv": 9532, + "./lv.js": 9532, + "./me": 8076, + "./me.js": 8076, + "./mi": 1848, + "./mi.js": 1848, + "./mk": 306, + "./mk.js": 306, + "./ml": 3739, + "./ml.js": 3739, + "./mn": 9053, + "./mn.js": 9053, + "./mr": 6169, + "./mr.js": 6169, + "./ms": 3386, + "./ms-my": 2297, + "./ms-my.js": 2297, + "./ms.js": 3386, + "./mt": 7075, + "./mt.js": 7075, + "./my": 2264, + "./my.js": 2264, + "./nb": 2274, + "./nb.js": 2274, + "./ne": 8235, + "./ne.js": 8235, + "./nl": 2572, + "./nl-be": 3784, + "./nl-be.js": 3784, + "./nl.js": 2572, + "./nn": 4566, + "./nn.js": 4566, + "./oc-lnc": 9330, + "./oc-lnc.js": 9330, + "./pa-in": 9849, + "./pa-in.js": 9849, + "./pl": 4418, + "./pl.js": 4418, + "./pt": 9834, + "./pt-br": 8303, + "./pt-br.js": 8303, + "./pt.js": 9834, + "./ro": 4457, + "./ro.js": 4457, + "./ru": 2271, + "./ru.js": 2271, + "./sd": 1221, + "./sd.js": 1221, + "./se": 3478, + "./se.js": 3478, + "./si": 7538, + "./si.js": 7538, + "./sk": 5784, + "./sk.js": 5784, + "./sl": 6637, + "./sl.js": 6637, + "./sq": 6794, + "./sq.js": 6794, + "./sr": 5719, + "./sr-cyrl": 3322, + "./sr-cyrl.js": 3322, + "./sr.js": 5719, + "./ss": 6000, + "./ss.js": 6000, + "./sv": 1011, + "./sv.js": 1011, + "./sw": 748, + "./sw.js": 748, + "./ta": 1025, + "./ta.js": 1025, + "./te": 1885, + "./te.js": 1885, + "./tet": 8861, + "./tet.js": 8861, + "./tg": 6571, + "./tg.js": 6571, + "./th": 5802, + "./th.js": 5802, + "./tk": 9527, + "./tk.js": 9527, + "./tl-ph": 9231, + "./tl-ph.js": 9231, + "./tlh": 1052, + "./tlh.js": 1052, + "./tr": 5096, + "./tr.js": 5096, + "./tzl": 9846, + "./tzl.js": 9846, + "./tzm": 1765, + "./tzm-latn": 7711, + "./tzm-latn.js": 7711, + "./tzm.js": 1765, + "./ug-cn": 8414, + "./ug-cn.js": 8414, + "./uk": 6618, + "./uk.js": 6618, + "./ur": 158, + "./ur.js": 158, + "./uz": 7609, + "./uz-latn": 2475, + "./uz-latn.js": 2475, + "./uz.js": 7609, + "./vi": 1135, + "./vi.js": 1135, + "./x-pseudo": 4051, + "./x-pseudo.js": 4051, + "./yo": 2218, + "./yo.js": 2218, + "./zh-cn": 2648, + "./zh-cn.js": 2648, + "./zh-hk": 1632, + "./zh-hk.js": 1632, + "./zh-mo": 1541, + "./zh-mo.js": 1541, + "./zh-tw": 304, + "./zh-tw.js": 304 }; @@ -21631,16 +21904,16 @@ webpackContext.keys = function webpackContextKeys() { }; webpackContext.resolve = webpackContextResolve; module.exports = webpackContext; -webpackContext.id = 6700; +webpackContext.id = 5358; /***/ }), -/***/ 381: +/***/ 5093: /***/ (function(module, __unused_webpack_exports, __webpack_require__) { /* module decorator */ module = __webpack_require__.nmd(module); //! moment.js -//! version : 2.29.4 +//! version : 2.30.1 //! authors : Tim Wood, Iskren Chernev, Moment.js contributors //! license : MIT //! momentjs.com @@ -21795,24 +22068,25 @@ webpackContext.id = 6700; } function isValid(m) { - if (m._isValid == null) { - var flags = getParsingFlags(m), - parsedParts = some.call(flags.parsedDateParts, function (i) { - return i != null; - }), - isNowValid = - !isNaN(m._d.getTime()) && - flags.overflow < 0 && - !flags.empty && - !flags.invalidEra && - !flags.invalidMonth && - !flags.invalidWeekday && - !flags.weekdayMismatch && - !flags.nullInput && - !flags.invalidFormat && - !flags.userInvalidated && - (!flags.meridiem || (flags.meridiem && parsedParts)); - + var flags = null, + parsedParts = false, + isNowValid = m._d && !isNaN(m._d.getTime()); + if (isNowValid) { + flags = getParsingFlags(m); + parsedParts = some.call(flags.parsedDateParts, function (i) { + return i != null; + }); + isNowValid = + flags.overflow < 0 && + !flags.empty && + !flags.invalidEra && + !flags.invalidMonth && + !flags.invalidWeekday && + !flags.weekdayMismatch && + !flags.nullInput && + !flags.invalidFormat && + !flags.userInvalidated && + (!flags.meridiem || (flags.meridiem && parsedParts)); if (m._strict) { isNowValid = isNowValid && @@ -21820,12 +22094,11 @@ webpackContext.id = 6700; flags.unusedTokens.length === 0 && flags.bigHour === undefined; } - - if (Object.isFrozen == null || !Object.isFrozen(m)) { - m._isValid = isNowValid; - } else { - return isNowValid; - } + } + if (Object.isFrozen == null || !Object.isFrozen(m)) { + m._isValid = isNowValid; + } else { + return isNowValid; } return m._isValid; } @@ -22270,12 +22543,56 @@ webpackContext.id = 6700; return isFunction(format) ? format(output) : format.replace(/%s/i, output); } - var aliases = {}; - - function addUnitAlias(unit, shorthand) { - var lowerCase = unit.toLowerCase(); - aliases[lowerCase] = aliases[lowerCase + 's'] = aliases[shorthand] = unit; - } + var aliases = { + D: 'date', + dates: 'date', + date: 'date', + d: 'day', + days: 'day', + day: 'day', + e: 'weekday', + weekdays: 'weekday', + weekday: 'weekday', + E: 'isoWeekday', + isoweekdays: 'isoWeekday', + isoweekday: 'isoWeekday', + DDD: 'dayOfYear', + dayofyears: 'dayOfYear', + dayofyear: 'dayOfYear', + h: 'hour', + hours: 'hour', + hour: 'hour', + ms: 'millisecond', + milliseconds: 'millisecond', + millisecond: 'millisecond', + m: 'minute', + minutes: 'minute', + minute: 'minute', + M: 'month', + months: 'month', + month: 'month', + Q: 'quarter', + quarters: 'quarter', + quarter: 'quarter', + s: 'second', + seconds: 'second', + second: 'second', + gg: 'weekYear', + weekyears: 'weekYear', + weekyear: 'weekYear', + GG: 'isoWeekYear', + isoweekyears: 'isoWeekYear', + isoweekyear: 'isoWeekYear', + w: 'week', + weeks: 'week', + week: 'week', + W: 'isoWeek', + isoweeks: 'isoWeek', + isoweek: 'isoWeek', + y: 'year', + years: 'year', + year: 'year', + }; function normalizeUnits(units) { return typeof units === 'string' @@ -22300,11 +22617,24 @@ webpackContext.id = 6700; return normalizedInput; } - var priorities = {}; - - function addUnitPriority(unit, priority) { - priorities[unit] = priority; - } + var priorities = { + date: 9, + day: 11, + weekday: 11, + isoWeekday: 11, + dayOfYear: 4, + hour: 13, + millisecond: 16, + minute: 14, + month: 8, + quarter: 7, + second: 15, + weekYear: 1, + isoWeekYear: 1, + week: 5, + isoWeek: 5, + year: 1, + }; function getPrioritizedUnits(unitsObj) { var units = [], @@ -22320,8 +22650,64 @@ webpackContext.id = 6700; return units; } - function isLeapYear(year) { - return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0; + var match1 = /\d/, // 0 - 9 + match2 = /\d\d/, // 00 - 99 + match3 = /\d{3}/, // 000 - 999 + match4 = /\d{4}/, // 0000 - 9999 + match6 = /[+-]?\d{6}/, // -999999 - 999999 + match1to2 = /\d\d?/, // 0 - 99 + match3to4 = /\d\d\d\d?/, // 999 - 9999 + match5to6 = /\d\d\d\d\d\d?/, // 99999 - 999999 + match1to3 = /\d{1,3}/, // 0 - 999 + match1to4 = /\d{1,4}/, // 0 - 9999 + match1to6 = /[+-]?\d{1,6}/, // -999999 - 999999 + matchUnsigned = /\d+/, // 0 - inf + matchSigned = /[+-]?\d+/, // -inf - inf + matchOffset = /Z|[+-]\d\d:?\d\d/gi, // +00:00 -00:00 +0000 -0000 or Z + matchShortOffset = /Z|[+-]\d\d(?::?\d\d)?/gi, // +00 -00 +00:00 -00:00 +0000 -0000 or Z + matchTimestamp = /[+-]?\d+(\.\d{1,3})?/, // 123456789 123456789.123 + // any word (or two) characters or numbers including two/three word month in arabic. + // includes scottish gaelic two word and hyphenated months + matchWord = + /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, + match1to2NoLeadingZero = /^[1-9]\d?/, // 1-99 + match1to2HasZero = /^([1-9]\d|\d)/, // 0-99 + regexes; + + regexes = {}; + + function addRegexToken(token, regex, strictRegex) { + regexes[token] = isFunction(regex) + ? regex + : function (isStrict, localeData) { + return isStrict && strictRegex ? strictRegex : regex; + }; + } + + function getParseRegexForToken(token, config) { + if (!hasOwnProp(regexes, token)) { + return new RegExp(unescapeFormat(token)); + } + + return regexes[token](config._strict, config._locale); + } + + // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript + function unescapeFormat(s) { + return regexEscape( + s + .replace('\\', '') + .replace( + /\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, + function (matched, p1, p2, p3, p4) { + return p1 || p2 || p3 || p4; + } + ) + ); + } + + function regexEscape(s) { + return s.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'); } function absFloor(number) { @@ -22344,6 +22730,108 @@ webpackContext.id = 6700; return value; } + var tokens = {}; + + function addParseToken(token, callback) { + var i, + func = callback, + tokenLen; + if (typeof token === 'string') { + token = [token]; + } + if (isNumber(callback)) { + func = function (input, array) { + array[callback] = toInt(input); + }; + } + tokenLen = token.length; + for (i = 0; i < tokenLen; i++) { + tokens[token[i]] = func; + } + } + + function addWeekParseToken(token, callback) { + addParseToken(token, function (input, array, config, token) { + config._w = config._w || {}; + callback(input, config._w, config, token); + }); + } + + function addTimeToArrayFromToken(token, input, config) { + if (input != null && hasOwnProp(tokens, token)) { + tokens[token](input, config._a, config, token); + } + } + + function isLeapYear(year) { + return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0; + } + + var YEAR = 0, + MONTH = 1, + DATE = 2, + HOUR = 3, + MINUTE = 4, + SECOND = 5, + MILLISECOND = 6, + WEEK = 7, + WEEKDAY = 8; + + // FORMATTING + + addFormatToken('Y', 0, 0, function () { + var y = this.year(); + return y <= 9999 ? zeroFill(y, 4) : '+' + y; + }); + + addFormatToken(0, ['YY', 2], 0, function () { + return this.year() % 100; + }); + + addFormatToken(0, ['YYYY', 4], 0, 'year'); + addFormatToken(0, ['YYYYY', 5], 0, 'year'); + addFormatToken(0, ['YYYYYY', 6, true], 0, 'year'); + + // PARSING + + addRegexToken('Y', matchSigned); + addRegexToken('YY', match1to2, match2); + addRegexToken('YYYY', match1to4, match4); + addRegexToken('YYYYY', match1to6, match6); + addRegexToken('YYYYYY', match1to6, match6); + + addParseToken(['YYYYY', 'YYYYYY'], YEAR); + addParseToken('YYYY', function (input, array) { + array[YEAR] = + input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input); + }); + addParseToken('YY', function (input, array) { + array[YEAR] = hooks.parseTwoDigitYear(input); + }); + addParseToken('Y', function (input, array) { + array[YEAR] = parseInt(input, 10); + }); + + // HELPERS + + function daysInYear(year) { + return isLeapYear(year) ? 366 : 365; + } + + // HOOKS + + hooks.parseTwoDigitYear = function (input) { + return toInt(input) + (toInt(input) > 68 ? 1900 : 2000); + }; + + // MOMENTS + + var getSetYear = makeGetSet('FullYear', true); + + function getIsLeapYear() { + return isLeapYear(this.year()); + } + function makeGetSet(unit, keepTime) { return function (value) { if (value != null) { @@ -22357,29 +22845,75 @@ webpackContext.id = 6700; } function get(mom, unit) { - return mom.isValid() - ? mom._d['get' + (mom._isUTC ? 'UTC' : '') + unit]() - : NaN; + if (!mom.isValid()) { + return NaN; + } + + var d = mom._d, + isUTC = mom._isUTC; + + switch (unit) { + case 'Milliseconds': + return isUTC ? d.getUTCMilliseconds() : d.getMilliseconds(); + case 'Seconds': + return isUTC ? d.getUTCSeconds() : d.getSeconds(); + case 'Minutes': + return isUTC ? d.getUTCMinutes() : d.getMinutes(); + case 'Hours': + return isUTC ? d.getUTCHours() : d.getHours(); + case 'Date': + return isUTC ? d.getUTCDate() : d.getDate(); + case 'Day': + return isUTC ? d.getUTCDay() : d.getDay(); + case 'Month': + return isUTC ? d.getUTCMonth() : d.getMonth(); + case 'FullYear': + return isUTC ? d.getUTCFullYear() : d.getFullYear(); + default: + return NaN; // Just in case + } } function set$1(mom, unit, value) { - if (mom.isValid() && !isNaN(value)) { - if ( - unit === 'FullYear' && - isLeapYear(mom.year()) && - mom.month() === 1 && - mom.date() === 29 - ) { - value = toInt(value); - mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit]( - value, - mom.month(), - daysInMonth(value, mom.month()) - ); - } else { - mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value); - } + var d, isUTC, year, month, date; + + if (!mom.isValid() || isNaN(value)) { + return; + } + + d = mom._d; + isUTC = mom._isUTC; + + switch (unit) { + case 'Milliseconds': + return void (isUTC + ? d.setUTCMilliseconds(value) + : d.setMilliseconds(value)); + case 'Seconds': + return void (isUTC ? d.setUTCSeconds(value) : d.setSeconds(value)); + case 'Minutes': + return void (isUTC ? d.setUTCMinutes(value) : d.setMinutes(value)); + case 'Hours': + return void (isUTC ? d.setUTCHours(value) : d.setHours(value)); + case 'Date': + return void (isUTC ? d.setUTCDate(value) : d.setDate(value)); + // case 'Day': // Not real + // return void (isUTC ? d.setUTCDay(value) : d.setDay(value)); + // case 'Month': // Not used because we need to pass two variables + // return void (isUTC ? d.setUTCMonth(value) : d.setMonth(value)); + case 'FullYear': + break; // See below ... + default: + return; // Just in case } + + year = value; + month = mom.month(); + date = mom.date(); + date = date === 29 && month === 1 && !isLeapYear(year) ? 28 : date; + void (isUTC + ? d.setUTCFullYear(year, month, date) + : d.setFullYear(year, month, date)); } // MOMENTS @@ -22410,107 +22944,6 @@ webpackContext.id = 6700; return this; } - var match1 = /\d/, // 0 - 9 - match2 = /\d\d/, // 00 - 99 - match3 = /\d{3}/, // 000 - 999 - match4 = /\d{4}/, // 0000 - 9999 - match6 = /[+-]?\d{6}/, // -999999 - 999999 - match1to2 = /\d\d?/, // 0 - 99 - match3to4 = /\d\d\d\d?/, // 999 - 9999 - match5to6 = /\d\d\d\d\d\d?/, // 99999 - 999999 - match1to3 = /\d{1,3}/, // 0 - 999 - match1to4 = /\d{1,4}/, // 0 - 9999 - match1to6 = /[+-]?\d{1,6}/, // -999999 - 999999 - matchUnsigned = /\d+/, // 0 - inf - matchSigned = /[+-]?\d+/, // -inf - inf - matchOffset = /Z|[+-]\d\d:?\d\d/gi, // +00:00 -00:00 +0000 -0000 or Z - matchShortOffset = /Z|[+-]\d\d(?::?\d\d)?/gi, // +00 -00 +00:00 -00:00 +0000 -0000 or Z - matchTimestamp = /[+-]?\d+(\.\d{1,3})?/, // 123456789 123456789.123 - // any word (or two) characters or numbers including two/three word month in arabic. - // includes scottish gaelic two word and hyphenated months - matchWord = - /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, - regexes; - - regexes = {}; - - function addRegexToken(token, regex, strictRegex) { - regexes[token] = isFunction(regex) - ? regex - : function (isStrict, localeData) { - return isStrict && strictRegex ? strictRegex : regex; - }; - } - - function getParseRegexForToken(token, config) { - if (!hasOwnProp(regexes, token)) { - return new RegExp(unescapeFormat(token)); - } - - return regexes[token](config._strict, config._locale); - } - - // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript - function unescapeFormat(s) { - return regexEscape( - s - .replace('\\', '') - .replace( - /\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, - function (matched, p1, p2, p3, p4) { - return p1 || p2 || p3 || p4; - } - ) - ); - } - - function regexEscape(s) { - return s.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'); - } - - var tokens = {}; - - function addParseToken(token, callback) { - var i, - func = callback, - tokenLen; - if (typeof token === 'string') { - token = [token]; - } - if (isNumber(callback)) { - func = function (input, array) { - array[callback] = toInt(input); - }; - } - tokenLen = token.length; - for (i = 0; i < tokenLen; i++) { - tokens[token[i]] = func; - } - } - - function addWeekParseToken(token, callback) { - addParseToken(token, function (input, array, config, token) { - config._w = config._w || {}; - callback(input, config._w, config, token); - }); - } - - function addTimeToArrayFromToken(token, input, config) { - if (input != null && hasOwnProp(tokens, token)) { - tokens[token](input, config._a, config, token); - } - } - - var YEAR = 0, - MONTH = 1, - DATE = 2, - HOUR = 3, - MINUTE = 4, - SECOND = 5, - MILLISECOND = 6, - WEEK = 7, - WEEKDAY = 8; - function mod(n, x) { return ((n % x) + x) % x; } @@ -22559,17 +22992,9 @@ webpackContext.id = 6700; return this.localeData().months(this, format); }); - // ALIASES - - addUnitAlias('month', 'M'); - - // PRIORITY - - addUnitPriority('month', 8); - // PARSING - addRegexToken('M', match1to2); + addRegexToken('M', match1to2, match1to2NoLeadingZero); addRegexToken('MM', match1to2, match2); addRegexToken('MMM', function (isStrict, locale) { return locale.monthsShortRegex(isStrict); @@ -22735,8 +23160,6 @@ webpackContext.id = 6700; // MOMENTS function setMonth(mom, value) { - var dayOfMonth; - if (!mom.isValid()) { // No op return mom; @@ -22754,8 +23177,13 @@ webpackContext.id = 6700; } } - dayOfMonth = Math.min(mom.date(), daysInMonth(mom.year(), value)); - mom._d['set' + (mom._isUTC ? 'UTC' : '') + 'Month'](value, dayOfMonth); + var month = value, + date = mom.date(); + + date = date < 29 ? date : Math.min(date, daysInMonth(mom.year(), month)); + void (mom._isUTC + ? mom._d.setUTCMonth(month, date) + : mom._d.setMonth(month, date)); return mom; } @@ -22822,27 +23250,24 @@ webpackContext.id = 6700; longPieces = [], mixedPieces = [], i, - mom; + mom, + shortP, + longP; for (i = 0; i < 12; i++) { // make the regex if we don't have it already mom = createUTC([2000, i]); - shortPieces.push(this.monthsShort(mom, '')); - longPieces.push(this.months(mom, '')); - mixedPieces.push(this.months(mom, '')); - mixedPieces.push(this.monthsShort(mom, '')); + shortP = regexEscape(this.monthsShort(mom, '')); + longP = regexEscape(this.months(mom, '')); + shortPieces.push(shortP); + longPieces.push(longP); + mixedPieces.push(longP); + mixedPieces.push(shortP); } // Sorting makes sure if one month (or abbr) is a prefix of another it // will match the longer piece. shortPieces.sort(cmpLenRev); longPieces.sort(cmpLenRev); mixedPieces.sort(cmpLenRev); - for (i = 0; i < 12; i++) { - shortPieces[i] = regexEscape(shortPieces[i]); - longPieces[i] = regexEscape(longPieces[i]); - } - for (i = 0; i < 24; i++) { - mixedPieces[i] = regexEscape(mixedPieces[i]); - } this._monthsRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i'); this._monthsShortRegex = this._monthsRegex; @@ -22856,69 +23281,6 @@ webpackContext.id = 6700; ); } - // FORMATTING - - addFormatToken('Y', 0, 0, function () { - var y = this.year(); - return y <= 9999 ? zeroFill(y, 4) : '+' + y; - }); - - addFormatToken(0, ['YY', 2], 0, function () { - return this.year() % 100; - }); - - addFormatToken(0, ['YYYY', 4], 0, 'year'); - addFormatToken(0, ['YYYYY', 5], 0, 'year'); - addFormatToken(0, ['YYYYYY', 6, true], 0, 'year'); - - // ALIASES - - addUnitAlias('year', 'y'); - - // PRIORITIES - - addUnitPriority('year', 1); - - // PARSING - - addRegexToken('Y', matchSigned); - addRegexToken('YY', match1to2, match2); - addRegexToken('YYYY', match1to4, match4); - addRegexToken('YYYYY', match1to6, match6); - addRegexToken('YYYYYY', match1to6, match6); - - addParseToken(['YYYYY', 'YYYYYY'], YEAR); - addParseToken('YYYY', function (input, array) { - array[YEAR] = - input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input); - }); - addParseToken('YY', function (input, array) { - array[YEAR] = hooks.parseTwoDigitYear(input); - }); - addParseToken('Y', function (input, array) { - array[YEAR] = parseInt(input, 10); - }); - - // HELPERS - - function daysInYear(year) { - return isLeapYear(year) ? 366 : 365; - } - - // HOOKS - - hooks.parseTwoDigitYear = function (input) { - return toInt(input) + (toInt(input) > 68 ? 1900 : 2000); - }; - - // MOMENTS - - var getSetYear = makeGetSet('FullYear', true); - - function getIsLeapYear() { - return isLeapYear(this.year()); - } - function createDate(y, m, d, h, M, s, ms) { // can't just apply() to create a date: // https://stackoverflow.com/q/181348 @@ -23024,21 +23386,11 @@ webpackContext.id = 6700; addFormatToken('w', ['ww', 2], 'wo', 'week'); addFormatToken('W', ['WW', 2], 'Wo', 'isoWeek'); - // ALIASES - - addUnitAlias('week', 'w'); - addUnitAlias('isoWeek', 'W'); - - // PRIORITIES - - addUnitPriority('week', 5); - addUnitPriority('isoWeek', 5); - // PARSING - addRegexToken('w', match1to2); + addRegexToken('w', match1to2, match1to2NoLeadingZero); addRegexToken('ww', match1to2, match2); - addRegexToken('W', match1to2); + addRegexToken('W', match1to2, match1to2NoLeadingZero); addRegexToken('WW', match1to2, match2); addWeekParseToken( @@ -23100,17 +23452,6 @@ webpackContext.id = 6700; addFormatToken('e', 0, 0, 'weekday'); addFormatToken('E', 0, 0, 'isoWeekday'); - // ALIASES - - addUnitAlias('day', 'd'); - addUnitAlias('weekday', 'e'); - addUnitAlias('isoWeekday', 'E'); - - // PRIORITY - addUnitPriority('day', 11); - addUnitPriority('weekday', 11); - addUnitPriority('isoWeekday', 11); - // PARSING addRegexToken('d', match1to2); @@ -23190,24 +23531,24 @@ webpackContext.id = 6700; return m === true ? shiftWeekdays(weekdays, this._week.dow) : m - ? weekdays[m.day()] - : weekdays; + ? weekdays[m.day()] + : weekdays; } function localeWeekdaysShort(m) { return m === true ? shiftWeekdays(this._weekdaysShort, this._week.dow) : m - ? this._weekdaysShort[m.day()] - : this._weekdaysShort; + ? this._weekdaysShort[m.day()] + : this._weekdaysShort; } function localeWeekdaysMin(m) { return m === true ? shiftWeekdays(this._weekdaysMin, this._week.dow) : m - ? this._weekdaysMin[m.day()] - : this._weekdaysMin; + ? this._weekdaysMin[m.day()] + : this._weekdaysMin; } function handleStrictParse$1(weekdayName, format, strict) { @@ -23356,7 +23697,8 @@ webpackContext.id = 6700; if (!this.isValid()) { return input != null ? this : NaN; } - var day = this._isUTC ? this._d.getUTCDay() : this._d.getDay(); + + var day = get(this, 'Day'); if (input != null) { input = parseWeekday(input, this.localeData()); return this.add(input - day, 'd'); @@ -23555,13 +23897,6 @@ webpackContext.id = 6700; meridiem('a', true); meridiem('A', false); - // ALIASES - - addUnitAlias('hour', 'h'); - - // PRIORITY - addUnitPriority('hour', 13); - // PARSING function matchMeridiem(isStrict, locale) { @@ -23570,9 +23905,9 @@ webpackContext.id = 6700; addRegexToken('a', matchMeridiem); addRegexToken('A', matchMeridiem); - addRegexToken('H', match1to2); - addRegexToken('h', match1to2); - addRegexToken('k', match1to2); + addRegexToken('H', match1to2, match1to2HasZero); + addRegexToken('h', match1to2, match1to2NoLeadingZero); + addRegexToken('k', match1to2, match1to2NoLeadingZero); addRegexToken('HH', match1to2, match2); addRegexToken('hh', match1to2, match2); addRegexToken('kk', match1to2, match2); @@ -23722,7 +24057,8 @@ webpackContext.id = 6700; function isLocaleNameSane(name) { // Prevent names that look like filesystem paths, i.e contain '/' or '\' - return name.match('^[^/\\\\]*$') != null; + // Ensure name is available and function returns boolean + return !!(name && name.match('^[^/\\\\]*$')); } function loadLocale(name) { @@ -23739,7 +24075,7 @@ webpackContext.id = 6700; try { oldLocale = globalLocale._abbr; aliasedRequire = undefined; - __webpack_require__(6700)("./" + name); + __webpack_require__(5358)("./" + name); getSetGlobalLocale(oldLocale); } catch (e) { // mark as not found to avoid repeating expensive file require call causing high CPU @@ -23914,21 +24250,21 @@ webpackContext.id = 6700; a[MONTH] < 0 || a[MONTH] > 11 ? MONTH : a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH]) - ? DATE - : a[HOUR] < 0 || - a[HOUR] > 24 || - (a[HOUR] === 24 && - (a[MINUTE] !== 0 || - a[SECOND] !== 0 || - a[MILLISECOND] !== 0)) - ? HOUR - : a[MINUTE] < 0 || a[MINUTE] > 59 - ? MINUTE - : a[SECOND] < 0 || a[SECOND] > 59 - ? SECOND - : a[MILLISECOND] < 0 || a[MILLISECOND] > 999 - ? MILLISECOND - : -1; + ? DATE + : a[HOUR] < 0 || + a[HOUR] > 24 || + (a[HOUR] === 24 && + (a[MINUTE] !== 0 || + a[SECOND] !== 0 || + a[MILLISECOND] !== 0)) + ? HOUR + : a[MINUTE] < 0 || a[MINUTE] > 59 + ? MINUTE + : a[SECOND] < 0 || a[SECOND] > 59 + ? SECOND + : a[MILLISECOND] < 0 || a[MILLISECOND] > 999 + ? MILLISECOND + : -1; if ( getParsingFlags(m)._overflowDayOfYear && @@ -25369,16 +25705,16 @@ webpackContext.id = 6700; return diff < -6 ? 'sameElse' : diff < -1 - ? 'lastWeek' - : diff < 0 - ? 'lastDay' - : diff < 1 - ? 'sameDay' - : diff < 2 - ? 'nextDay' - : diff < 7 - ? 'nextWeek' - : 'sameElse'; + ? 'lastWeek' + : diff < 0 + ? 'lastDay' + : diff < 1 + ? 'sameDay' + : diff < 2 + ? 'nextDay' + : diff < 7 + ? 'nextWeek' + : 'sameElse'; } function calendar$1(time, formats) { @@ -26186,16 +26522,22 @@ webpackContext.id = 6700; mixedPieces = [], i, l, + erasName, + erasAbbr, + erasNarrow, eras = this.eras(); for (i = 0, l = eras.length; i < l; ++i) { - namePieces.push(regexEscape(eras[i].name)); - abbrPieces.push(regexEscape(eras[i].abbr)); - narrowPieces.push(regexEscape(eras[i].narrow)); + erasName = regexEscape(eras[i].name); + erasAbbr = regexEscape(eras[i].abbr); + erasNarrow = regexEscape(eras[i].narrow); - mixedPieces.push(regexEscape(eras[i].name)); - mixedPieces.push(regexEscape(eras[i].abbr)); - mixedPieces.push(regexEscape(eras[i].narrow)); + namePieces.push(erasName); + abbrPieces.push(erasAbbr); + narrowPieces.push(erasNarrow); + mixedPieces.push(erasName); + mixedPieces.push(erasAbbr); + mixedPieces.push(erasNarrow); } this._erasRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i'); @@ -26228,14 +26570,6 @@ webpackContext.id = 6700; // ALIASES - addUnitAlias('weekYear', 'gg'); - addUnitAlias('isoWeekYear', 'GG'); - - // PRIORITY - - addUnitPriority('weekYear', 1); - addUnitPriority('isoWeekYear', 1); - // PARSING addRegexToken('G', matchSigned); @@ -26265,7 +26599,7 @@ webpackContext.id = 6700; this, input, this.week(), - this.weekday(), + this.weekday() + this.localeData()._week.dow, this.localeData()._week.dow, this.localeData()._week.doy ); @@ -26327,14 +26661,6 @@ webpackContext.id = 6700; addFormatToken('Q', 0, 'Qo', 'quarter'); - // ALIASES - - addUnitAlias('quarter', 'Q'); - - // PRIORITY - - addUnitPriority('quarter', 7); - // PARSING addRegexToken('Q', match1); @@ -26354,16 +26680,9 @@ webpackContext.id = 6700; addFormatToken('D', ['DD', 2], 'Do', 'date'); - // ALIASES - - addUnitAlias('date', 'D'); - - // PRIORITY - addUnitPriority('date', 9); - // PARSING - addRegexToken('D', match1to2); + addRegexToken('D', match1to2, match1to2NoLeadingZero); addRegexToken('DD', match1to2, match2); addRegexToken('Do', function (isStrict, locale) { // TODO: Remove "ordinalParse" fallback in next major release. @@ -26385,13 +26704,6 @@ webpackContext.id = 6700; addFormatToken('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear'); - // ALIASES - - addUnitAlias('dayOfYear', 'DDD'); - - // PRIORITY - addUnitPriority('dayOfYear', 4); - // PARSING addRegexToken('DDD', match1to3); @@ -26416,17 +26728,9 @@ webpackContext.id = 6700; addFormatToken('m', ['mm', 2], 0, 'minute'); - // ALIASES - - addUnitAlias('minute', 'm'); - - // PRIORITY - - addUnitPriority('minute', 14); - // PARSING - addRegexToken('m', match1to2); + addRegexToken('m', match1to2, match1to2HasZero); addRegexToken('mm', match1to2, match2); addParseToken(['m', 'mm'], MINUTE); @@ -26438,17 +26742,9 @@ webpackContext.id = 6700; addFormatToken('s', ['ss', 2], 0, 'second'); - // ALIASES - - addUnitAlias('second', 's'); - - // PRIORITY - - addUnitPriority('second', 15); - // PARSING - addRegexToken('s', match1to2); + addRegexToken('s', match1to2, match1to2HasZero); addRegexToken('ss', match1to2, match2); addParseToken(['s', 'ss'], SECOND); @@ -26486,14 +26782,6 @@ webpackContext.id = 6700; return this.millisecond() * 1000000; }); - // ALIASES - - addUnitAlias('millisecond', 'ms'); - - // PRIORITY - - addUnitPriority('millisecond', 16); - // PARSING addRegexToken('S', match1to3, match1); @@ -26801,12 +27089,12 @@ webpackContext.id = 6700; toInt((number % 100) / 10) === 1 ? 'th' : b === 1 - ? 'st' - : b === 2 - ? 'nd' - : b === 3 - ? 'rd' - : 'th'; + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; return number + output; }, }); @@ -26979,19 +27267,6 @@ webpackContext.id = 6700; } } - // TODO: Use this.as('ms')? - function valueOf$1() { - if (!this.isValid()) { - return NaN; - } - return ( - this._milliseconds + - this._days * 864e5 + - (this._months % 12) * 2592e6 + - toInt(this._months / 12) * 31536e6 - ); - } - function makeAs(alias) { return function () { return this.as(alias); @@ -27006,7 +27281,8 @@ webpackContext.id = 6700; asWeeks = makeAs('w'), asMonths = makeAs('M'), asQuarters = makeAs('Q'), - asYears = makeAs('y'); + asYears = makeAs('y'), + valueOf$1 = asMilliseconds; function clone$1() { return createDuration(this); @@ -27275,7 +27551,7 @@ webpackContext.id = 6700; //! moment.js - hooks.version = '2.29.4'; + hooks.version = '2.30.1'; setHookCallback(createLocal); @@ -27327,7 +27603,7 @@ webpackContext.id = 6700; /***/ }), -/***/ 4411: +/***/ 1020: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; @@ -27340,26 +27616,26 @@ webpackContext.id = 6700; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var f=__webpack_require__(5359),k=Symbol.for("react.element"),l=Symbol.for("react.fragment"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0}; +var f=__webpack_require__(4898),k=Symbol.for("react.element"),l=Symbol.for("react.fragment"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0}; function q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=""+g);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q; /***/ }), -/***/ 8521: +/***/ 4848: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; if (true) { - module.exports = __webpack_require__(4411); + module.exports = __webpack_require__(1020); } else {} /***/ }), -/***/ 540: +/***/ 6579: /***/ (function(__unused_webpack_module, exports) { /** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */ @@ -28808,7 +29084,7 @@ Object.defineProperty(exports, '__esModule', { value: true }); /***/ }), -/***/ 1739: +/***/ 4915: /***/ ((module) => { /** @@ -28836,7 +29112,7 @@ module.exports = { /***/ }), -/***/ 5359: +/***/ 4898: /***/ ((module) => { "use strict"; @@ -28844,10 +29120,10 @@ module.exports = cgpv.react; /***/ }), -/***/ 7061: +/***/ 4633: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var _typeof = (__webpack_require__(8698)["default"]); +var _typeof = (__webpack_require__(3738)["default"]); function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ module.exports = _regeneratorRuntime = function _regeneratorRuntime() { @@ -28957,7 +29233,7 @@ function _regeneratorRuntime() { function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { - if (o === f) throw new Error("Generator is already running"); + if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { @@ -29099,7 +29375,7 @@ function _regeneratorRuntime() { } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { - if (!u) throw new Error("try statement without catch or finally"); + if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } @@ -29139,7 +29415,7 @@ function _regeneratorRuntime() { return o; } } - throw new Error("illegal catch attempt"); + throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { @@ -29154,7 +29430,7 @@ module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.e /***/ }), -/***/ 8698: +/***/ 3738: /***/ ((module) => { function _typeof(o) { @@ -29170,12 +29446,12 @@ module.exports = _typeof, module.exports.__esModule = true, module.exports["defa /***/ }), -/***/ 4687: +/***/ 4756: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { // TODO(Babel 8): Remove this file. -var runtime = __webpack_require__(7061)(); +var runtime = __webpack_require__(4633)(); module.exports = runtime; // Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736= @@ -29192,19 +29468,19 @@ try { /***/ }), -/***/ 4775: +/***/ 3837: /***/ ((module) => { "use strict"; -module.exports = JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON AnySchema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}'); +module.exports = /*#__PURE__*/JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON AnySchema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}'); /***/ }), -/***/ 98: +/***/ 2079: /***/ ((module) => { "use strict"; -module.exports = JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}'); +module.exports = /*#__PURE__*/JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}'); /***/ }) @@ -29371,7 +29647,7 @@ function toPrimitive(t, r) { function toPropertyKey(t) { var i = toPrimitive(t, "string"); - return "symbol" == _typeof(i) ? i : String(i); + return "symbol" == _typeof(i) ? i : i + ""; } ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js @@ -29442,12 +29718,12 @@ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } // EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js -var regenerator = __webpack_require__(4687); +var regenerator = __webpack_require__(4756); var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator); // EXTERNAL MODULE: external "cgpv.react" -var external_cgpv_react_ = __webpack_require__(5359); +var external_cgpv_react_ = __webpack_require__(4898); // EXTERNAL MODULE: ./node_modules/void-elements/index.js -var void_elements = __webpack_require__(1739); +var void_elements = __webpack_require__(4915); var void_elements_default = /*#__PURE__*/__webpack_require__.n(void_elements); ;// CONCATENATED MODULE: ./node_modules/html-parse-stringify/dist/html-parse-stringify.module.js var t=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function n(n){var r={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},i=n.match(/<\/?([^\s]+?)[/\s>]/);if(i&&(r.name=i[1],((void_elements_default())[i[1]]||"/"===n.charAt(n.length-2))&&(r.voidElement=!0),r.name.startsWith("!--"))){var s=n.indexOf("--\x3e");return{type:"comment",comment:-1!==s?n.slice(4,s):""}}for(var a=new RegExp(t),c=null;null!==(c=a.exec(n));)if(c[0].trim())if(c[1]){var o=c[1].trim(),l=[o,""];o.indexOf("=")>-1&&(l=o.split("=")),r.attrs[l[0]]=l[1],a.lastIndex--}else c[2]&&(r.attrs[c[2]]=c[3].trim().substring(1,c[3].length-1));return r}var r=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,i=/^\s*$/,s=Object.create(null);function a(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(e){var t=[];for(var n in e)t.push(n+'="'+e[n]+'"');return t.length?" "+t.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(a,"")+"";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}var c={parse:function(e,t){t||(t={}),t.components||(t.components=s);var a,c=[],o=[],l=-1,m=!1;if(0!==e.indexOf("<")){var u=e.indexOf("<");c.push({type:"text",content:-1===u?e:e.substring(0,u)})}return e.replace(r,function(r,s){if(m){if(r!=="")return;m=!1}var u,f="/"!==r.charAt(1),h=r.startsWith("\x3c!--"),p=s+r.length,d=e.charAt(p);if(h){var v=n(r);return l<0?(c.push(v),c):((u=o[l]).children.push(v),c)}if(f&&(l++,"tag"===(a=n(r)).type&&t.components[a.name]&&(a.type="component",m=!0),a.voidElement||m||!d||"<"===d||a.children.push({type:"text",content:e.slice(p,e.indexOf("<",p))}),0===l&&c.push(a),(u=o[l-1])&&u.children.push(a),o[l]=a),(!f||a.voidElement)&&(l>-1&&(a.voidElement||a.name===r.slice(2,-1))&&(l--,a=-1===l?c:o[l]),!m&&"<"!==d&&d)){u=-1===l?c:o[l].children;var x=e.indexOf("<",p),g=e.slice(p,-1===x?void 0:x);i.test(g)&&(g=" "),(x>-1&&l+u.length>=0||" "!==g)&&u.push({type:"text",content:g})}}),c},stringify:function(e){return e.reduce(function(e,t){return e+a("",t)},"")}};/* harmony default export */ const html_parse_stringify_module = ((/* unused pure expression or super */ null && (c))); @@ -30801,9 +31077,9 @@ function index_esm(input) { ;// CONCATENATED MODULE: ./node_modules/chart.js/dist/chunks/helpers.segment.js /*! - * Chart.js v4.4.1 + * Chart.js v4.4.2 * https://www.chartjs.org - * (c) 2023 Chart.js Contributors + * (c) 2024 Chart.js Contributors * Released under the MIT License */ @@ -33549,9 +33825,9 @@ function styleChanged(style, prevStyle) { ;// CONCATENATED MODULE: ./node_modules/chart.js/dist/chart.js /*! - * Chart.js v4.4.1 + * Chart.js v4.4.2 * https://www.chartjs.org - * (c) 2023 Chart.js Contributors + * (c) 2024 Chart.js Contributors * Released under the MIT License */ @@ -36801,10 +37077,14 @@ const eventListenerOptions = supportsEventListenerOptions ? { passive: true } : false; function addListener(node, type, listener) { - node.addEventListener(type, listener, eventListenerOptions); + if (node) { + node.addEventListener(type, listener, eventListenerOptions); + } } function removeListener(chart, type, listener) { - chart.canvas.removeEventListener(type, listener, eventListenerOptions); + if (chart && chart.canvas) { + chart.canvas.removeEventListener(type, listener, eventListenerOptions); + } } function fromNativeEvent(event, chart) { const type = EVENT_TYPES[event.type] || event.type; @@ -39056,7 +39336,7 @@ function needContext(proxy, names) { return false; } -var version = "4.4.1"; +var version = "4.4.2"; const KNOWN_POSITIONS = [ 'top', @@ -42437,20 +42717,23 @@ const positioners = { return false; } let i, len; - let x = 0; + let xSet = new Set(); let y = 0; let count = 0; for(i = 0, len = items.length; i < len; ++i){ const el = items[i].element; if (el && el.hasValue()) { const pos = el.tooltipPosition(); - x += pos.x; + xSet.add(pos.x); y += pos.y; ++count; } } + const xAverage = [ + ...xSet + ].reduce((a, b)=>a + b) / xSet.size; return { - x: x / count, + x: xAverage, y: y / count }; }, @@ -44381,7 +44664,7 @@ class RadialLinearScale extends LinearScaleBase { } if (grid.display) { this.ticks.forEach((tick, index)=>{ - if (index !== 0) { + if (index !== 0 || index === 0 && this.min < 0) { offset = this.getDistanceFromCenterForValue(tick.value); const context = this.getContext(index); const optsAtIndex = grid.setContext(context); @@ -44428,7 +44711,7 @@ class RadialLinearScale extends LinearScaleBase { ctx.textAlign = 'center'; ctx.textBaseline = 'middle'; this.ticks.forEach((tick, index)=>{ - if (index === 0 && !opts.reverse) { + if (index === 0 && this.min >= 0 && !opts.reverse) { return; } const optsAtIndex = tickOpts.setContext(this.getContext(index)); @@ -45185,7 +45468,7 @@ const Scatter = /* #__PURE__ */ (/* unused pure expression or super */ null && ( //# sourceMappingURL=index.js.map // EXTERNAL MODULE: ./node_modules/moment/moment.js -var moment = __webpack_require__(381); +var moment = __webpack_require__(5093); var moment_default = /*#__PURE__*/__webpack_require__.n(moment); ;// CONCATENATED MODULE: ./node_modules/chartjs-adapter-moment/dist/chartjs-adapter-moment.esm.js /*! @@ -45577,22 +45860,22 @@ function _classCallCheck(instance, Constructor) { } } // EXTERNAL MODULE: ./node_modules/ajv/dist/ajv.js -var ajv = __webpack_require__(1581); +var ajv = __webpack_require__(3282); var ajv_default = /*#__PURE__*/__webpack_require__.n(ajv); // EXTERNAL MODULE: ./node_modules/ajv-formats/dist/index.js -var dist = __webpack_require__(5477); +var dist = __webpack_require__(8182); var dist_default = /*#__PURE__*/__webpack_require__.n(dist); ;// CONCATENATED MODULE: ./schema-inputs.json -const schema_inputs_namespaceObject = JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","title":"GeoChart Inputs Schema","description":"This Schema validator validates the GeoChart Inputs.","type":"object","properties":{"chart":{"description":"Supported types of chart.","enum":["line","bar","pie","doughnut"],"default":"line"},"title":{"description":"Optionally provide the title of the chart","type":"string"},"query":{"description":"Groups information on how the data should be queried in the table source","type":"object","properties":{"type":{"description":"Indicates the kind of query to perform - supported values are: \'esriRegular\', \'ogcAPIFeatures\' and \'json\'","type":"string"},"url":{"description":"Indicates the url where to fetch the data to build the chart with - supported urls are Esri services, OGC API Features services or urls pointing to a .json file built on the GeoJson format","type":"string"},"queryOptions":{"description":"","type":"object","properties":{"whereClauses":{"description":"Indicates how to generate the where clause to fetch the correct data in the table source. This is an array to support filtering on more than 1 field. The and logic operator is implicit","type":"array","items":{"type":"object","properties":{"field":{"description":"Indicates the field name, in the table source, on which to filter","type":"string"},"prefix":{"description":"Indicates the prefix/suffix to use to build the query (useful to support single-quotes when the attribute to query is a string)","type":"string"},"valueIs":{"description":"Indicates the value as a literal information (not read from a property name from the datasource)","type":"string"},"valueFrom":{"description":"Indicates the property name, in the datasource.sourceItem(!), to use to query the table source (the url)","type":"string"},"suffix":{"description":"Indicates the prefix/suffix to use to build the query (useful to support single-quotes when the attribute to query is a string)","type":"string"}},"required":["field"]}},"orderByField":{"description":"Indicates the property on which to order the results of the data coming from the table source","type":"string"}}}},"required":["type","url"]},"geochart":{"description":"Groups information on how to build the chart","type":"object","properties":{"borderWidth":{"description":"Indicates the thickness of the borders (or lines in the line chart)","type":"number"},"useSteps":{"description":"Indicates if the line chart should use steps - supported values are: \'before\', \'middle\', \'after\', false","enum":["before","after","middle",false],"default":false},"tension":{"description":"Indicates if the line chart should use tension when drawing the line between the values","type":"number"},"xAxis":{"description":"Groups information on the x axis","type":"object","properties":{"property":{"description":"Indicates the property name on which to read the information from the table source","type":"string"},"type":{"description":"Indicates the type of axis - supported values are: \'linear\', \'time\', \'timeseries\', \'logarithmic\', \'category\'","type":"string","default":"linear"},"label":{"description":"Indicates the text in the user interface that should be shown for the axis","type":"string"},"usePalette":{"description":"Indicates if a pre-determined (GeoChart specific) color palette should be used","type":"boolean"},"paletteBackgrounds":{"description":"Indicates the array of rgba color values to use as the palette for background coloring","type":"array","items":{"description":"A rgba() color","type":"string"}},"paletteBorders":{"description":"Indicates the array of rgb color values to use as the palette for border coloring","type":"array","items":{"description":"A rgb() color","type":"string"}},"tooltipSuffix":{"description":"Indicates the suffix to use on for the values when displayed in the tooltip","type":"string"}},"required":["property"]},"yAxis":{"description":"Groups information on the y axis","type":"object","properties":{"property":{"description":"Indicates the property name on which to read the information from the table source","type":"string"},"type":{"description":"Indicates the type of axis - supported values are: \'linear\', \'time\', \'timeseries\', \'logarithmic\', \'category\'","type":"string"},"label":{"description":"Indicates the text in the user interface that should be shown for the axis","type":"string"},"usePalette":{"description":"Indicates if a pre-determined (GeoChart specific) color palette should be used","type":"boolean"},"paletteBackgrounds":{"description":"Indicates the array of rgba color values to use as the palette for background coloring","type":"array","items":{"description":"A rgba() color","type":"string"}},"paletteBorders":{"description":"Indicates the array of rgb color values to use as the palette for border coloring","type":"array","items":{"description":"A rgb() color","type":"string"}},"tooltipSuffix":{"description":"Indicates the suffix to use on for the values when displayed in the tooltip","type":"string"}},"required":["property"]}},"required":["xAxis","yAxis"]},"category":{"description":"Indicates how the data from the table source should be categorized (this creates the datasets aka the legend)","type":"object","properties":{"property":{"description":"Indicates the property name to use to categorize records","type":"string"},"usePalette":{"description":"Indicates if a pre-determined (GeoChart specific) color palette should be used","type":"boolean"},"paletteBackgrounds":{"description":"Indicates the array of rgba color values to use as the palette for background coloring","type":"array","items":{"description":"A rgba() color","type":"string"}},"paletteBorders":{"description":"Indicates the array of rgb color values to use as the palette for border coloring","type":"array","items":{"description":"A rgb() color","type":"string"}}},"required":["property"]},"datasources":{"description":"Groups information on the datasources to build the datasource drop down and the chart","type":"array","items":{"type":"object","properties":{"display":{"description":"Indicates the string to be displayed in the drop down","type":"string"},"sourceItem":{"description":"Indicates the source item(!) used as reference to query the data from. This property has an object with a property that should equal the property in query.queryOptions.whereClauses.valueFrom","type":"object"},"value":{"description":"Indicates the inner value used for the \'sourceItem\'","type":["number","string"]},"items":{"description":"Indicates the actual items (coming from the table source), associated with the datasources.sourceItem (coming from the origin source), used to build the chart with. When items is already specified/populated, the data isn\'t fetched via the query.url","type":"array","items":{"type":"object"}}},"required":["display"]}},"ui":{"description":"Indicates what ui elements to show with the chart","type":"object","properties":{"xSlider":{"description":"Groups information on the x slider","type":"object","properties":{"display":{"description":"Indicates if the slider should be displayed","type":"boolean"},"step":{"description":"Indicates the steps the slider should jump when sliding","type":"number"},"min":{"description":"Indicates the minimum value for the slider","type":"number"},"max":{"description":"Indicates the maximum value for the slider","type":"number"}},"required":["display"]},"ySlider":{"description":"Groups information on the y slider","type":"object","properties":{"display":{"description":"Indicates if the slider should be displayed","type":"boolean"},"step":{"description":"Indicates the steps the slider should jump when sliding","type":"number"},"min":{"description":"Indicates the minimum value for the slider","type":"number"},"max":{"description":"Indicates the maximum value for the slider","type":"number"}},"required":["display"]},"stepsSwitcher":{"description":"Indicates if the select drop down to switch the steps on-the-fly is displayed","type":"boolean"},"resetStates":{"description":"Indicates if the button to reset the states is displayed","type":"boolean"},"description":{"description":"Indicates the description text to show at the bottom of the chart","type":"string"},"download":{"description":"Indicates if a download button should be displayed","type":"boolean"}}},"chartjsOptions":{"description":"Iindicates further ChartJS specific options to open the door to further customization when natively supported by ChartJS: https://www.chartjs.org/docs/latest/general/options.html","type":"object"}},"required":["chart","geochart","datasources"]}'); +const schema_inputs_namespaceObject = /*#__PURE__*/JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","title":"GeoChart Inputs Schema","description":"This Schema validator validates the GeoChart Inputs.","type":"object","properties":{"chart":{"description":"Supported types of chart.","enum":["line","bar","pie","doughnut"],"default":"line"},"title":{"description":"Optionally provide the title of the chart","type":"string"},"query":{"description":"Groups information on how the data should be queried in the table source","type":"object","properties":{"type":{"description":"Indicates the kind of query to perform - supported values are: \'esriRegular\', \'ogcAPIFeatures\' and \'json\'","type":"string"},"url":{"description":"Indicates the url where to fetch the data to build the chart with - supported urls are Esri services, OGC API Features services or urls pointing to a .json file built on the GeoJson format","type":"string"},"queryOptions":{"description":"","type":"object","properties":{"whereClauses":{"description":"Indicates how to generate the where clause to fetch the correct data in the table source. This is an array to support filtering on more than 1 field. The and logic operator is implicit","type":"array","items":{"type":"object","properties":{"field":{"description":"Indicates the field name, in the table source, on which to filter","type":"string"},"prefix":{"description":"Indicates the prefix/suffix to use to build the query (useful to support single-quotes when the attribute to query is a string)","type":"string"},"valueIs":{"description":"Indicates the value as a literal information (not read from a property name from the datasource)","type":"string"},"valueFrom":{"description":"Indicates the property name, in the datasource.sourceItem(!), to use to query the table source (the url)","type":"string"},"suffix":{"description":"Indicates the prefix/suffix to use to build the query (useful to support single-quotes when the attribute to query is a string)","type":"string"}},"required":["field"]}},"orderByField":{"description":"Indicates the property on which to order the results of the data coming from the table source","type":"string"}}}},"required":["type","url"]},"geochart":{"description":"Groups information on how to build the chart","type":"object","properties":{"borderWidth":{"description":"Indicates the thickness of the borders (or lines in the line chart)","type":"number"},"useSteps":{"description":"Indicates if the line chart should use steps - supported values are: \'before\', \'middle\', \'after\', false","enum":["before","after","middle",false],"default":false},"tension":{"description":"Indicates if the line chart should use tension when drawing the line between the values","type":"number"},"xAxis":{"description":"Groups information on the x axis","type":"object","properties":{"property":{"description":"Indicates the property name on which to read the information from the table source","type":"string"},"type":{"description":"Indicates the type of axis - supported values are: \'linear\', \'time\', \'timeseries\', \'logarithmic\', \'category\'","type":"string","default":"linear"},"label":{"description":"Indicates the text in the user interface that should be shown for the axis","type":"string"},"usePalette":{"description":"Indicates if a pre-determined (GeoChart specific) color palette should be used","type":"boolean"},"paletteBackgrounds":{"description":"Indicates the array of rgba color values to use as the palette for background coloring","type":"array","items":{"description":"A rgba() color","type":"string"}},"paletteBorders":{"description":"Indicates the array of rgb color values to use as the palette for border coloring","type":"array","items":{"description":"A rgb() color","type":"string"}},"tooltipSuffix":{"description":"Indicates the suffix to use on for the values when displayed in the tooltip","type":"string"}},"required":["property"]},"yAxis":{"description":"Groups information on the y axis","type":"object","properties":{"property":{"description":"Indicates the property name on which to read the information from the table source","type":"string"},"type":{"description":"Indicates the type of axis - supported values are: \'linear\', \'time\', \'timeseries\', \'logarithmic\', \'category\'","type":"string"},"label":{"description":"Indicates the text in the user interface that should be shown for the axis","type":"string"},"usePalette":{"description":"Indicates if a pre-determined (GeoChart specific) color palette should be used","type":"boolean"},"paletteBackgrounds":{"description":"Indicates the array of rgba color values to use as the palette for background coloring","type":"array","items":{"description":"A rgba() color","type":"string"}},"paletteBorders":{"description":"Indicates the array of rgb color values to use as the palette for border coloring","type":"array","items":{"description":"A rgb() color","type":"string"}},"tooltipSuffix":{"description":"Indicates the suffix to use on for the values when displayed in the tooltip","type":"string"}},"required":["property"]}},"required":["xAxis","yAxis"]},"category":{"description":"Indicates how the data from the table source should be categorized (this creates the datasets aka the legend)","type":"object","properties":{"property":{"description":"Indicates the property name to use to categorize records","type":"string"},"usePalette":{"description":"Indicates if a pre-determined (GeoChart specific) color palette should be used","type":"boolean"},"paletteBackgrounds":{"description":"Indicates the array of rgba color values to use as the palette for background coloring","type":"array","items":{"description":"A rgba() color","type":"string"}},"paletteBorders":{"description":"Indicates the array of rgb color values to use as the palette for border coloring","type":"array","items":{"description":"A rgb() color","type":"string"}}},"required":["property"]},"datasources":{"description":"Groups information on the datasources to build the datasource drop down and the chart","type":"array","items":{"type":"object","properties":{"display":{"description":"Indicates the string to be displayed in the drop down","type":"string"},"sourceItem":{"description":"Indicates the source item(!) used as reference to query the data from. This property has an object with a property that should equal the property in query.queryOptions.whereClauses.valueFrom","type":"object"},"value":{"description":"Indicates the inner value used for the \'sourceItem\'","type":["number","string"]},"items":{"description":"Indicates the actual items (coming from the table source), associated with the datasources.sourceItem (coming from the origin source), used to build the chart with. When items is already specified/populated, the data isn\'t fetched via the query.url","type":"array","items":{"type":"object"}}},"required":["display"]}},"ui":{"description":"Indicates what ui elements to show with the chart","type":"object","properties":{"xSlider":{"description":"Groups information on the x slider","type":"object","properties":{"display":{"description":"Indicates if the slider should be displayed","type":"boolean"},"step":{"description":"Indicates the steps the slider should jump when sliding","type":"number"},"min":{"description":"Indicates the minimum value for the slider","type":"number"},"max":{"description":"Indicates the maximum value for the slider","type":"number"}},"required":["display"]},"ySlider":{"description":"Groups information on the y slider","type":"object","properties":{"display":{"description":"Indicates if the slider should be displayed","type":"boolean"},"step":{"description":"Indicates the steps the slider should jump when sliding","type":"number"},"min":{"description":"Indicates the minimum value for the slider","type":"number"},"max":{"description":"Indicates the maximum value for the slider","type":"number"}},"required":["display"]},"stepsSwitcher":{"description":"Indicates if the select drop down to switch the steps on-the-fly is displayed","type":"boolean"},"resetStates":{"description":"Indicates if the button to reset the states is displayed","type":"boolean"},"description":{"description":"Indicates the description text to show at the bottom of the chart","type":"string"},"download":{"description":"Indicates if a download button should be displayed","type":"boolean"}}},"chartjsOptions":{"description":"Iindicates further ChartJS specific options to open the door to further customization when natively supported by ChartJS: https://www.chartjs.org/docs/latest/general/options.html","type":"object"}},"required":["chart","geochart","datasources"]}'); ;// CONCATENATED MODULE: ./schema-chartjs-data.json -const schema_chartjs_data_namespaceObject = JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","title":"GeoChart Data Schema","description":"This Schema validator validates the ChartJS data. ABSOLUTELY UNFINISHED.","type":"object","properties":{"labels":{"description":"The labels to use for the X axis.","type":"array","items":{"type":"string"}},"datasets":{"description":"The mandatory datasets information to use to build the chart.","type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"data":{"oneOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"null"}]}},{"type":"array","items":{"type":"object","properties":{"x":{"oneOf":[{"type":"number"},{"type":"string"},{"type":"object"}]},"y":{"oneOf":[{"type":"number"},{"type":"string"}]}},"required":["x","y"]}},{"type":"object"}]},"backgroundColor":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"borderColor":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"borderWidth":{"type":"integer"},"stepped":{"anyOf":[{"type":"string","enum":["before","after","middle"]},{"type":"boolean"}],"default":false}},"required":["data"]}}}}'); +const schema_chartjs_data_namespaceObject = /*#__PURE__*/JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","title":"GeoChart Data Schema","description":"This Schema validator validates the ChartJS data. ABSOLUTELY UNFINISHED.","type":"object","properties":{"labels":{"description":"The labels to use for the X axis.","type":"array","items":{"type":"string"}},"datasets":{"description":"The mandatory datasets information to use to build the chart.","type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"data":{"oneOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"null"}]}},{"type":"array","items":{"type":"object","properties":{"x":{"oneOf":[{"type":"number"},{"type":"string"},{"type":"object"}]},"y":{"oneOf":[{"type":"number"},{"type":"string"}]}},"required":["x","y"]}},{"type":"object"}]},"backgroundColor":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"borderColor":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"borderWidth":{"type":"integer"},"stepped":{"anyOf":[{"type":"string","enum":["before","after","middle"]},{"type":"boolean"}],"default":false}},"required":["data"]}}}}'); ;// CONCATENATED MODULE: ./schema-chartjs-options.json -const schema_chartjs_options_namespaceObject = JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","title":"GeoChart Options Schema","description":"This Schema validator validates the ChartJS options.","type":"object","properties":{"responsive":{"type":"boolean"},"plugins":{"type":"object","properties":{"legend":{"type":"object","properties":{"display":{"type":"boolean"}}}}},"scales":{"type":"object"}},"required":["responsive","plugins"]}'); +const schema_chartjs_options_namespaceObject = /*#__PURE__*/JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","title":"GeoChart Options Schema","description":"This Schema validator validates the ChartJS options.","type":"object","properties":{"responsive":{"type":"boolean"},"plugins":{"type":"object","properties":{"legend":{"type":"object","properties":{"display":{"type":"boolean"}}}}},"scales":{"type":"object"}},"required":["responsive","plugins"]}'); ;// CONCATENATED MODULE: ./src/chart-schema-validator.ts -var _class; +var _SchemaValidator; @@ -45665,7 +45948,7 @@ function SchemaValidator() { this.ajv = new (ajv_default())(); dist_default()(this.ajv); }); -_class = SchemaValidator; +_SchemaValidator = SchemaValidator; /** * Returns a string representation of the errors of all ValidatorResult objects. * @param valRes ValidatorResult[] the list of validation results to read and put to string @@ -45675,7 +45958,7 @@ _defineProperty(SchemaValidator, "parseValidatorResultsMessages", function (valR var msg = ''; valRes.forEach(function (v) { // Redirect - msg += _class.parseValidatorResultMessage(v); + msg += _SchemaValidator.parseValidatorResultMessage(v); }); return msg.replace(/^\n+|\n+$/gm, ''); }); @@ -46431,7 +46714,7 @@ function createChartJSData(chartConfig, datasetsRegistry, datasRegistry, steps, // eslint-disable-next-line @typescript-eslint/explicit-function-return-type var getSxClasses = function getSxClasses(theme) { - var _theme$palette$geoVie, _theme$palette$geoVie2; + var _theme$palette$geoVie, _theme$palette$geoVie2, _theme$palette$geoVie3, _theme$palette$geoVie4, _theme$palette$geoVie5, _theme$palette$geoVie6, _theme$palette$geoVie7, _theme$palette$geoVie8, _theme$palette$geoVie9, _theme$palette$geoVie10, _theme$palette$geoVie11, _theme$palette$geoVie12, _theme$palette$geoVie13; return { mainContainer: { fontFamily: theme.typography.body1.fontFamily @@ -46440,7 +46723,7 @@ var getSxClasses = function getSxClasses(theme) { position: 'relative', padding: '20px', display: 'flex', - borderColor: theme.palette.geoViewColor.primary.main, + borderColor: (_theme$palette$geoVie = theme.palette.geoViewColor) === null || _theme$palette$geoVie === void 0 ? void 0 : _theme$palette$geoVie.primary.main, borderWidth: '2px', borderStyle: 'solid' }, @@ -46466,11 +46749,11 @@ var getSxClasses = function getSxClasses(theme) { '& button': { height: '40px', textTransform: 'capitalize', - backgroundColor: (_theme$palette$geoVie = theme.palette.geoViewColor) === null || _theme$palette$geoVie === void 0 ? void 0 : _theme$palette$geoVie.bgColor.dark[100], - color: theme.palette.geoViewColor.textColor.main, + backgroundColor: (_theme$palette$geoVie2 = theme.palette.geoViewColor) === null || _theme$palette$geoVie2 === void 0 ? void 0 : _theme$palette$geoVie2.bgColor.dark[100], + color: (_theme$palette$geoVie3 = theme.palette.geoViewColor) === null || _theme$palette$geoVie3 === void 0 ? void 0 : _theme$palette$geoVie3.textColor.main, '&:hover': { - backgroundColor: (_theme$palette$geoVie2 = theme.palette.geoViewColor) === null || _theme$palette$geoVie2 === void 0 ? void 0 : _theme$palette$geoVie2.bgColor.dark[50], - color: theme.palette.geoViewColor.textColor.main + backgroundColor: (_theme$palette$geoVie4 = theme.palette.geoViewColor) === null || _theme$palette$geoVie4 === void 0 ? void 0 : _theme$palette$geoVie4.bgColor.dark[50], + color: (_theme$palette$geoVie5 = theme.palette.geoViewColor) === null || _theme$palette$geoVie5 === void 0 ? void 0 : _theme$palette$geoVie5.textColor.main } } }, @@ -46489,14 +46772,14 @@ var getSxClasses = function getSxClasses(theme) { xAxisLabel: { fontFamily: theme.typography.body1.fontFamily, fontWeight: theme.typography.fontWeightBold, - fontSize: theme.palette.geoViewFontSize["default"], + fontSize: (_theme$palette$geoVie6 = theme.palette.geoViewFontSize) === null || _theme$palette$geoVie6 === void 0 ? void 0 : _theme$palette$geoVie6["default"], textAlign: 'center', margin: '10px 0px' }, yAxisLabel: { fontFamily: theme.typography.body1.fontFamily, fontWeight: theme.typography.fontWeightBold, - fontSize: theme.palette.geoViewFontSize["default"], + fontSize: (_theme$palette$geoVie7 = theme.palette.geoViewFontSize) === null || _theme$palette$geoVie7 === void 0 ? void 0 : _theme$palette$geoVie7["default"], position: 'absolute', top: '45%', margin: '0 auto', @@ -46518,7 +46801,7 @@ var getSxClasses = function getSxClasses(theme) { checkDatasetWrapper: { display: 'inline-block', '& .Mui-checked': { - color: "".concat(theme.palette.geoViewColor.primary.main, " !important") + color: "".concat((_theme$palette$geoVie8 = theme.palette.geoViewColor) === null || _theme$palette$geoVie8 === void 0 ? void 0 : _theme$palette$geoVie8.primary.main, " !important") } }, checkDatasetLabel: { @@ -46531,7 +46814,7 @@ var getSxClasses = function getSxClasses(theme) { }, xSliderWrapper: { '& .MuiSlider-root': { - color: theme.palette.geoViewColor.primary.main + color: (_theme$palette$geoVie9 = theme.palette.geoViewColor) === null || _theme$palette$geoVie9 === void 0 ? void 0 : _theme$palette$geoVie9.primary.main }, '& .MuiSlider-markLabel-overlap': { marginTop: '20px' @@ -46544,7 +46827,7 @@ var getSxClasses = function getSxClasses(theme) { }, '& .markLabel-first': { fontFamily: theme.typography.body1.fontFamily, - fontSize: theme.palette.geoViewFontSize.sm, + fontSize: (_theme$palette$geoVie10 = theme.palette.geoViewFontSize) === null || _theme$palette$geoVie10 === void 0 ? void 0 : _theme$palette$geoVie10.sm, "float": 'left', marginLeft: '-60px', color: '#000', @@ -46552,7 +46835,7 @@ var getSxClasses = function getSxClasses(theme) { }, '& .markLabel-last': { fontFamily: theme.typography.body1.fontFamily, - fontSize: theme.palette.geoViewFontSize.sm, + fontSize: (_theme$palette$geoVie11 = theme.palette.geoViewFontSize) === null || _theme$palette$geoVie11 === void 0 ? void 0 : _theme$palette$geoVie11.sm, "float": 'right', marginRight: '-60px', color: '#000', @@ -46565,11 +46848,11 @@ var getSxClasses = function getSxClasses(theme) { marginTop: '-20px', marginLeft: '20px', '& .MuiSlider-root': { - color: theme.palette.geoViewColor.primary.main + color: (_theme$palette$geoVie12 = theme.palette.geoViewColor) === null || _theme$palette$geoVie12 === void 0 ? void 0 : _theme$palette$geoVie12.primary.main }, '& .markLabel-top, & .markLabel-bottom': { fontFamily: theme.typography.body1.fontFamily, - fontSize: theme.palette.geoViewFontSize.sm, + fontSize: (_theme$palette$geoVie13 = theme.palette.geoViewFontSize) === null || _theme$palette$geoVie13 === void 0 ? void 0 : _theme$palette$geoVie13.sm, marginLeft: '-30px', color: '#000', opacity: 0.6 @@ -46586,7 +46869,7 @@ var getSxClasses = function getSxClasses(theme) { }; }; // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js -var jsx_runtime = __webpack_require__(8521); +var jsx_runtime = __webpack_require__(4848); ;// CONCATENATED MODULE: ./src/chart.tsx @@ -46605,7 +46888,6 @@ function chart_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va - /** * Main props for the Chart. * There are 2 main ways to create a chart: @@ -46613,8 +46895,6 @@ function chart_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va * (2) Using the 'chart'+'options'+'data' parameters which creates a basic GeoChart with essential ChartJS parameters. */ - - /** * Create a customized Chart UI * @@ -46650,7 +46930,7 @@ function GeoChart(props) { MenuItem = _cgpv$ui$elements.MenuItem, TypeMenuItemProps = _cgpv$ui$elements.TypeMenuItemProps, Typography = _cgpv$ui$elements.Typography, - Slider = _cgpv$ui$elements.SliderBase, + Slider = _cgpv$ui$elements.Slider, CircularProgress = _cgpv$ui$elements.CircularProgress, cgpvTheme = _cgpv$ui$elements.cgpvTheme; var elStyle = props.sx, @@ -47738,7 +48018,7 @@ function GeoChart(props) { * Handles when the X Slider changes * @param value number | number[] Indicates the slider value */ - var handleSliderXChange = function handleSliderXChange(event, newValue) { + var handleSliderXChange = function handleSliderXChange(newValue) { // Set the X State setXSliderValues(newValue); @@ -47750,7 +48030,7 @@ function GeoChart(props) { * Handles when the Y Slider changes * @param value number | number[] Indicates the slider value */ - var handleSliderYChange = function handleSliderYChange(event, newValue) { + var handleSliderYChange = function handleSliderYChange(newValue) { // Set the Y State setYSliderValues(newValue); @@ -47941,91 +48221,6 @@ function GeoChart(props) { } return sliderMarks; }, []); - var checkOverlap = function checkOverlap(prev, curr, next) { - var orientation = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'horizontal'; - var labelPadding = 10; - var prevDim = prev ? prev.getBoundingClientRect() : null; - var currDim = curr ? curr.getBoundingClientRect() : null; - var nextDim = next ? next.getBoundingClientRect() : null; - if (prevDim === null || currDim === null || nextDim === null) { - return false; - } - var hasPrevOverlap = false; - var hasNextOverlap = false; - if (prevDim) { - hasPrevOverlap = orientation === 'vertical' ? prevDim.bottom + labelPadding > currDim.top : prevDim.right + labelPadding > currDim.left; - } - if (nextDim) { - hasNextOverlap = orientation === 'vertical' ? currDim.bottom + labelPadding > nextDim.top : currDim.right + labelPadding > nextDim.left; - } - return hasPrevOverlap || hasNextOverlap; - }; - - // eslint-disable-next-line react-hooks/exhaustive-deps - var removeLabelOverlap = function removeLabelOverlap(containerId) { - var _document$getElementB; - // Log - logger.logTraceCore('UI.SLIDER - window resize event'); - - // get slider labels - var markers = containerId ? ((_document$getElementB = document.getElementById(containerId)) === null || _document$getElementB === void 0 ? void 0 : _document$getElementB.getElementsByClassName('MuiSlider-markLabel')) || [] : document.getElementsByClassName('MuiSlider-markLabel'); - for (var i = 0; i < markers.length; i++) { - markers[0].classList.add('MuiSlider-markLabel-first'); - markers[markers.length - 1].classList.add('MuiSlider-markLabel-last'); - markers[i].classList.remove('MuiSlider-markLabel-overlap'); - } - var middleIndices = markers.length % 2 === 0 ? [markers.length / 2, markers.length / 2 + 1] : [Math.floor(markers.length / 2)]; - var lastVisibleInFirstHalf = 0; - var firstVisibleInSecondHalf = markers.length - 1; - - // Check first half - for (var prevIdx = 0, currIdx = 1; currIdx < markers.length / 2; currIdx++) { - // if there is a collision, set classname and test with the next pips - if (checkOverlap(markers[prevIdx], markers[currIdx], null)) { - markers[currIdx].classList.add('MuiSlider-markLabel-overlap'); - } else { - // if there is no collision and reset the startIdx to be the one before the fwdIdx - prevIdx = currIdx - prevIdx !== 1 ? currIdx : prevIdx + 1; - lastVisibleInFirstHalf = currIdx; - } - } - - // Check second half - for (var nextIdx = markers.length - 1, _currIdx = markers.length - 2; _currIdx > markers.length / 2; _currIdx--) { - if (checkOverlap(null, markers[_currIdx], markers[nextIdx])) { - markers[_currIdx].classList.add('MuiSlider-markLabel-overlap'); - } else { - // if there is no collision and reset the curIndex to be the one before the testIndex - nextIdx = nextIdx - _currIdx !== 1 ? _currIdx : nextIdx - 1; - firstVisibleInSecondHalf = _currIdx; - } - } - middleIndices.push(lastVisibleInFirstHalf, firstVisibleInSecondHalf); - middleIndices = _toConsumableArray(new Set(middleIndices)).sort(function (a, b) { - return a - b; - }); - - // Check middle elements - for (var testIdx = 0, _currIdx2 = 1; _currIdx2 < middleIndices.length; _currIdx2++) { - if (checkOverlap(markers[middleIndices[testIdx]], markers[middleIndices[_currIdx2]], _currIdx2 === middleIndices.length - 1 ? null : markers[middleIndices[_currIdx2 + 1]])) { - markers[middleIndices[_currIdx2]].classList.add('MuiSlider-markLabel-overlap'); - } else { - testIdx = _currIdx2 - testIdx !== 1 ? _currIdx2 : testIdx + 1; - } - } - }; - (0,external_cgpv_react_.useLayoutEffect)(function () { - // remove overlaping labels - removeLabelOverlap('xAxisSlider'); - window.addEventListener('resize', function () { - return removeLabelOverlap; - }); - return function () { - return window.removeEventListener('resize', function () { - return removeLabelOverlap; - }); - }; - }, [removeLabelOverlap]); /** * Renders the X Chart Slider JSX.Element or an empty box @@ -48725,8 +48920,9 @@ class EventEmitter { } on(events, listener) { events.split(' ').forEach(event => { - this.observers[event] = this.observers[event] || []; - this.observers[event].push(listener); + if (!this.observers[event]) this.observers[event] = new Map(); + const numListeners = this.observers[event].get(listener) || 0; + this.observers[event].set(listener, numListeners + 1); }); return this; } @@ -48736,22 +48932,28 @@ class EventEmitter { delete this.observers[event]; return; } - this.observers[event] = this.observers[event].filter(l => l !== listener); + this.observers[event].delete(listener); } emit(event) { for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { args[_key - 1] = arguments[_key]; } if (this.observers[event]) { - const cloned = [].concat(this.observers[event]); - cloned.forEach(observer => { - observer(...args); + const cloned = Array.from(this.observers[event].entries()); + cloned.forEach(_ref => { + let [observer, numTimesAdded] = _ref; + for (let i = 0; i < numTimesAdded; i++) { + observer(...args); + } }); } if (this.observers['*']) { - const cloned = [].concat(this.observers['*']); - cloned.forEach(observer => { - observer.apply(observer, [event, ...args]); + const cloned = Array.from(this.observers['*'].entries()); + cloned.forEach(_ref2 => { + let [observer, numTimesAdded] = _ref2; + for (let i = 0; i < numTimesAdded; i++) { + observer.apply(observer, [event, ...args]); + } }); } } @@ -48777,28 +48979,31 @@ function copy(a, s, t) { if (s[m]) t[m] = s[m]; }); } +const lastOfPathSeparatorRegExp = /###/g; function getLastOfPath(object, path, Empty) { function cleanKey(key) { - return key && key.indexOf('###') > -1 ? key.replace(/###/g, '.') : key; + return key && key.indexOf('###') > -1 ? key.replace(lastOfPathSeparatorRegExp, '.') : key; } function canNotTraverseDeeper() { return !object || typeof object === 'string'; } - const stack = typeof path !== 'string' ? [].concat(path) : path.split('.'); - while (stack.length > 1) { + const stack = typeof path !== 'string' ? path : path.split('.'); + let stackIndex = 0; + while (stackIndex < stack.length - 1) { if (canNotTraverseDeeper()) return {}; - const key = cleanKey(stack.shift()); + const key = cleanKey(stack[stackIndex]); if (!object[key] && Empty) object[key] = new Empty(); if (Object.prototype.hasOwnProperty.call(object, key)) { object = object[key]; } else { object = {}; } + ++stackIndex; } if (canNotTraverseDeeper()) return {}; return { obj: object, - k: cleanKey(stack.shift()) + k: cleanKey(stack[stackIndex]) }; } function setPath(object, path, newValue) { @@ -48806,7 +49011,22 @@ function setPath(object, path, newValue) { obj, k } = getLastOfPath(object, path, Object); - obj[k] = newValue; + if (obj !== undefined || path.length === 1) { + obj[k] = newValue; + return; + } + let e = path[path.length - 1]; + let p = path.slice(0, path.length - 1); + let last = getLastOfPath(object, p, Object); + while (last.obj === undefined && p.length) { + e = `${p[p.length - 1]}.${e}`; + p = p.slice(0, p.length - 1); + last = getLastOfPath(object, p, Object); + if (last && last.obj && typeof last.obj[`${last.k}.${e}`] !== 'undefined') { + last.obj = undefined; + } + } + last.obj[`${last.k}.${e}`] = newValue; } function pushPath(object, path, newValue, concat) { const { @@ -48865,13 +49085,34 @@ function i18next_escape(data) { } return data; } +class RegExpCache { + constructor(capacity) { + this.capacity = capacity; + this.regExpMap = new Map(); + this.regExpQueue = []; + } + getRegExp(pattern) { + const regExpFromCache = this.regExpMap.get(pattern); + if (regExpFromCache !== undefined) { + return regExpFromCache; + } + const regExpNew = new RegExp(pattern); + if (this.regExpQueue.length === this.capacity) { + this.regExpMap.delete(this.regExpQueue.shift()); + } + this.regExpMap.set(pattern, regExpNew); + this.regExpQueue.push(pattern); + return regExpNew; + } +} const chars = [' ', ',', '?', '!', ';']; +const looksLikeObjectPathRegExpCache = new RegExpCache(20); function looksLikeObjectPath(key, nsSeparator, keySeparator) { nsSeparator = nsSeparator || ''; keySeparator = keySeparator || ''; const possibleChars = chars.filter(c => nsSeparator.indexOf(c) < 0 && keySeparator.indexOf(c) < 0); if (possibleChars.length === 0) return true; - const r = new RegExp(`(${possibleChars.map(c => c === '?' ? '\\?' : c).join('|')})`); + const r = looksLikeObjectPathRegExpCache.getRegExp(`(${possibleChars.map(c => c === '?' ? '\\?' : c).join('|')})`); let matched = !r.test(key); if (!matched) { const ki = key.indexOf(keySeparator); @@ -48885,33 +49126,29 @@ function deepFind(obj, path) { let keySeparator = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '.'; if (!obj) return undefined; if (obj[path]) return obj[path]; - const paths = path.split(keySeparator); + const tokens = path.split(keySeparator); let current = obj; - for (let i = 0; i < paths.length; ++i) { - if (!current) return undefined; - if (typeof current[paths[i]] === 'string' && i + 1 < paths.length) { + for (let i = 0; i < tokens.length;) { + if (!current || typeof current !== 'object') { return undefined; } - if (current[paths[i]] === undefined) { - let j = 2; - let p = paths.slice(i, i + j).join(keySeparator); - let mix = current[p]; - while (mix === undefined && paths.length > i + j) { - j++; - p = paths.slice(i, i + j).join(keySeparator); - mix = current[p]; + let next; + let nextPath = ''; + for (let j = i; j < tokens.length; ++j) { + if (j !== i) { + nextPath += keySeparator; } - if (mix === undefined) return undefined; - if (mix === null) return null; - if (path.endsWith(p)) { - if (typeof mix === 'string') return mix; - if (p && typeof mix[p] === 'string') return mix[p]; + nextPath += tokens[j]; + next = current[nextPath]; + if (next !== undefined) { + if (['string', 'number', 'boolean'].indexOf(typeof next) > -1 && j < tokens.length - 1) { + continue; + } + i += j - i + 1; + break; } - const joinedPath = paths.slice(i + j).join(keySeparator); - if (joinedPath) return deepFind(mix, joinedPath, keySeparator); - return undefined; } - current = current[paths[i]]; + current = next; } return current; } @@ -48951,13 +49188,27 @@ class ResourceStore extends EventEmitter { let options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}; const keySeparator = options.keySeparator !== undefined ? options.keySeparator : this.options.keySeparator; const ignoreJSONStructure = options.ignoreJSONStructure !== undefined ? options.ignoreJSONStructure : this.options.ignoreJSONStructure; - let path = [lng, ns]; - if (key && typeof key !== 'string') path = path.concat(key); - if (key && typeof key === 'string') path = path.concat(keySeparator ? key.split(keySeparator) : key); + let path; if (lng.indexOf('.') > -1) { path = lng.split('.'); + } else { + path = [lng, ns]; + if (key) { + if (Array.isArray(key)) { + path.push(...key); + } else if (typeof key === 'string' && keySeparator) { + path.push(...key.split(keySeparator)); + } else { + path.push(key); + } + } } const result = getPath(this.data, path); + if (!result && !ns && !key && lng.indexOf('.') > -1) { + lng = path[0]; + ns = path[1]; + key = path.slice(2).join('.'); + } if (result || !ignoreJSONStructure || typeof key !== 'string') return result; return deepFind(this.data && this.data[lng] && this.data[lng][ns], key, keySeparator); } @@ -48990,7 +49241,8 @@ class ResourceStore extends EventEmitter { } addResourceBundle(lng, ns, resources, deep, overwrite) { let options = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : { - silent: false + silent: false, + skipCopy: false }; let path = [lng, ns]; if (lng.indexOf('.') > -1) { @@ -49001,6 +49253,7 @@ class ResourceStore extends EventEmitter { } this.addNamespaces(ns); let pack = getPath(this.data, path) || {}; + if (!options.skipCopy) resources = JSON.parse(JSON.stringify(resources)); if (deep) { deepExtend(pack, resources, overwrite); } else { @@ -49208,7 +49461,8 @@ class Translator extends EventEmitter { const defaultValueSuffixOrdinalFallback = options.ordinal && needsPluralHandling ? this.pluralResolver.getSuffix(lng, options.count, { ordinal: false }) : ''; - const defaultValue = options[`defaultValue${defaultValueSuffix}`] || options[`defaultValue${defaultValueSuffixOrdinalFallback}`] || options.defaultValue; + const needsZeroSuffixLookup = needsPluralHandling && !options.ordinal && options.count === 0 && this.pluralResolver.shouldUseIntlApi(); + const defaultValue = needsZeroSuffixLookup && options[`defaultValue${this.options.pluralSeparator}zero`] || options[`defaultValue${defaultValueSuffix}`] || options[`defaultValue${defaultValueSuffixOrdinalFallback}`] || options.defaultValue; if (!this.isValidLookup(res) && hasDefaultValue) { usedDefault = true; res = defaultValue; @@ -49252,7 +49506,11 @@ class Translator extends EventEmitter { if (this.options.saveMissing) { if (this.options.saveMissingPlurals && needsPluralHandling) { lngs.forEach(language => { - this.pluralResolver.getSuffixes(language, options).forEach(suffix => { + const suffixes = this.pluralResolver.getSuffixes(language, options); + if (needsZeroSuffixLookup && options[`defaultValue${this.options.pluralSeparator}zero`] && suffixes.indexOf(`${this.options.pluralSeparator}zero`) < 0) { + suffixes.push(`${this.options.pluralSeparator}zero`); + } + suffixes.forEach(suffix => { send([language], key + suffix, options[`defaultValue${suffix}`] || defaultValue); }); }); @@ -49528,7 +49786,8 @@ class LanguageUtil { found = this.options.supportedLngs.find(supportedLng => { if (supportedLng === lngOnly) return supportedLng; if (supportedLng.indexOf('-') < 0 && lngOnly.indexOf('-') < 0) return; - if (supportedLng.indexOf(lngOnly) === 0) return supportedLng; + if (supportedLng.indexOf('-') > 0 && lngOnly.indexOf('-') < 0 && supportedLng.substring(0, supportedLng.indexOf('-')) === lngOnly) return supportedLng; + if (supportedLng.indexOf(lngOnly) === 0 && lngOnly.length > 1) return supportedLng; }); }); } @@ -49775,7 +50034,7 @@ class PluralResolver { let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; if (this.shouldUseIntlApi()) { try { - return new Intl.PluralRules(getCleanedCode(code), { + return new Intl.PluralRules(getCleanedCode(code === 'dev' ? 'en' : code), { type: options.ordinal ? 'ordinal' : 'cardinal' }); } catch (err) { @@ -49889,12 +50148,16 @@ class Interpolator { if (this.options) this.init(this.options); } resetRegExp() { - const regexpStr = `${this.prefix}(.+?)${this.suffix}`; - this.regexp = new RegExp(regexpStr, 'g'); - const regexpUnescapeStr = `${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`; - this.regexpUnescape = new RegExp(regexpUnescapeStr, 'g'); - const nestingRegexpStr = `${this.nestingPrefix}(.+?)${this.nestingSuffix}`; - this.nestingRegexp = new RegExp(nestingRegexpStr, 'g'); + const getOrResetRegExp = (existingRegExp, pattern) => { + if (existingRegExp && existingRegExp.source === pattern) { + existingRegExp.lastIndex = 0; + return existingRegExp; + } + return new RegExp(pattern, 'g'); + }; + this.regexp = getOrResetRegExp(this.regexp, `${this.prefix}(.+?)${this.suffix}`); + this.regexpUnescape = getOrResetRegExp(this.regexpUnescape, `${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`); + this.nestingRegexp = getOrResetRegExp(this.nestingRegexp, `${this.nestingPrefix}(.+?)${this.nestingSuffix}`); } interpolate(str, data, lng, options) { let match; @@ -50231,7 +50494,9 @@ class Connector extends EventEmitter { const ns = s[1]; if (err) this.emit('failedLoading', lng, ns, err); if (data) { - this.store.addResourceBundle(lng, ns, data); + this.store.addResourceBundle(lng, ns, data, undefined, undefined, { + skipCopy: true + }); } this.state[name] = err ? -1 : 2; const loaded = {}; @@ -50432,7 +50697,7 @@ function get() { }, interpolation: { escapeValue: true, - format: (value, format, lng, options) => value, + format: value => value, prefix: '{{', suffix: '}}', formatSeparator: ',', @@ -50490,6 +50755,7 @@ class I18n extends EventEmitter { var _this = this; let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; let callback = arguments.length > 1 ? arguments[1] : undefined; + this.isInitializing = true; if (typeof options === 'function') { callback = options; options = {}; @@ -50607,6 +50873,7 @@ class I18n extends EventEmitter { const deferred = defer(); const load = () => { const finish = (err, t) => { + this.isInitializing = false; if (this.isInitialized && !this.initializedStoreOnce) this.logger.warn('init: i18next is already initialized. You should call init just once!'); this.isInitialized = true; if (!this.options.isClone) this.logger.log('initialized', this.options); @@ -50953,9 +51220,9 @@ const i18next_loadLanguages = instance.loadLanguages; ;// CONCATENATED MODULE: ./locales/en/translation.json -const translation_namespaceObject = JSON.parse('{"geochart":{"feature":"Feature","steps":"Steps","category":"Category","parsingError":"There was an error parsing the Chart inputs.","viewConsoleDetails":"View console for details.","downloadFiltered":"Download visible","downloadAll":"Download all","resetStates":"Reset states"}}'); +const translation_namespaceObject = /*#__PURE__*/JSON.parse('{"geochart":{"feature":"Feature","steps":"Steps","category":"Category","parsingError":"There was an error parsing the Chart inputs.","viewConsoleDetails":"View console for details.","downloadFiltered":"Download visible","downloadAll":"Download all","resetStates":"Reset states"}}'); ;// CONCATENATED MODULE: ./locales/fr/translation.json -const fr_translation_namespaceObject = JSON.parse('{"geochart":{"feature":"Enregistrement","steps":"Marches","category":"Catégorie","parsingError":"Une erreur est survenue lors de la lecture des paramètres.","viewConsoleDetails":"Voir détails dans la console.","downloadFiltered":"Télécharger visuel","downloadAll":"Télécharger tout","resetStates":"Réinitialiser états"}}'); +const fr_translation_namespaceObject = /*#__PURE__*/JSON.parse('{"geochart":{"feature":"Enregistrement","steps":"Marches","category":"Catégorie","parsingError":"Une erreur est survenue lors de la lecture des paramètres.","viewConsoleDetails":"Voir détails dans la console.","downloadFiltered":"Télécharger visuel","downloadAll":"Télécharger tout","resetStates":"Réinitialiser états"}}'); ;// CONCATENATED MODULE: ./src/i18n.ts