@strapi/plugin-users-permissions 5.4.1 → 5.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/{index-pmesAsoW.js → index-6xS_NVnz.js} +21 -14
- package/dist/_chunks/{index-pmesAsoW.js.map → index-6xS_NVnz.js.map} +1 -1
- package/dist/_chunks/{index-ZbIIl-VI.js → index-7urCw5UD.js} +3 -4
- package/dist/_chunks/{index-ZbIIl-VI.js.map → index-7urCw5UD.js.map} +1 -1
- package/dist/_chunks/{index-Cyk9nN3J.mjs → index-AVbfDpH6.mjs} +2 -2
- package/dist/_chunks/{index-Cyk9nN3J.mjs.map → index-AVbfDpH6.mjs.map} +1 -1
- package/dist/_chunks/{index-zaVC_4Mw.mjs → index-BLaxSWbC.mjs} +3 -3
- package/dist/_chunks/{index-zaVC_4Mw.mjs.map → index-BLaxSWbC.mjs.map} +1 -1
- package/dist/_chunks/{index-DNKYHd4J.mjs → index-BReXSOfU.mjs} +2 -2
- package/dist/_chunks/{index-DNKYHd4J.mjs.map → index-BReXSOfU.mjs.map} +1 -1
- package/dist/_chunks/{index-kMqoQ8VX.mjs → index-BYBVysRS.mjs} +3 -3
- package/dist/_chunks/{index-kMqoQ8VX.mjs.map → index-BYBVysRS.mjs.map} +1 -1
- package/dist/_chunks/{index-Cl7wdD8l.js → index-CCAQw4t9.js} +5 -6
- package/dist/_chunks/{index-Cl7wdD8l.js.map → index-CCAQw4t9.js.map} +1 -1
- package/dist/_chunks/{index-C5MSODBR.mjs → index-CvQ-xY7a.mjs} +21 -14
- package/dist/_chunks/{index-C5MSODBR.mjs.map → index-CvQ-xY7a.mjs.map} +1 -1
- package/dist/_chunks/{index-BtapqMRC.js → index-CzxZzlFc.js} +8 -9
- package/dist/_chunks/{index-BtapqMRC.js.map → index-CzxZzlFc.js.map} +1 -1
- package/dist/_chunks/{index-D_1N-X9K.js → index-Dz5Q1Yft.js} +3 -4
- package/dist/_chunks/{index-D_1N-X9K.js.map → index-Dz5Q1Yft.js.map} +1 -1
- package/dist/_chunks/{index-CQ0jOkIC-DAZ1lfuF.mjs → index-UBwCyQ_3-AADEvpEo.mjs} +235 -356
- package/dist/_chunks/index-UBwCyQ_3-AADEvpEo.mjs.map +1 -0
- package/dist/_chunks/{index-CQ0jOkIC-C4oUQUND.js → index-UBwCyQ_3-lG3F5mWr.js} +236 -358
- package/dist/_chunks/index-UBwCyQ_3-lG3F5mWr.js.map +1 -0
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/package.json +7 -7
- package/server/graphql/types/index.js +1 -0
- package/server/graphql/types/me.js +1 -0
- package/server/graphql/types/user-input.js +20 -0
- package/dist/_chunks/index-CQ0jOkIC-C4oUQUND.js.map +0 -1
- package/dist/_chunks/index-CQ0jOkIC-DAZ1lfuF.mjs.map +0 -1
|
@@ -29,8 +29,7 @@ require("formik");
|
|
|
29
29
|
require("lodash/throttle");
|
|
30
30
|
const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
|
|
31
31
|
function _interopNamespace(e) {
|
|
32
|
-
if (e && e.__esModule)
|
|
33
|
-
return e;
|
|
32
|
+
if (e && e.__esModule) return e;
|
|
34
33
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
35
34
|
if (e) {
|
|
36
35
|
for (const k in e) {
|
|
@@ -58,8 +57,7 @@ function getDefaultExportFromCjs(x) {
|
|
|
58
57
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
59
58
|
}
|
|
60
59
|
function getAugmentedNamespace(n) {
|
|
61
|
-
if (n.__esModule)
|
|
62
|
-
return n;
|
|
60
|
+
if (n.__esModule) return n;
|
|
63
61
|
var f2 = n.default;
|
|
64
62
|
if (typeof f2 == "function") {
|
|
65
63
|
var a2 = function a3() {
|
|
@@ -69,8 +67,7 @@ function getAugmentedNamespace(n) {
|
|
|
69
67
|
return f2.apply(this, arguments);
|
|
70
68
|
};
|
|
71
69
|
a2.prototype = f2.prototype;
|
|
72
|
-
} else
|
|
73
|
-
a2 = {};
|
|
70
|
+
} else a2 = {};
|
|
74
71
|
Object.defineProperty(a2, "__esModule", { value: true });
|
|
75
72
|
Object.keys(n).forEach(function(k) {
|
|
76
73
|
var d2 = Object.getOwnPropertyDescriptor(n, k);
|
|
@@ -153,11 +150,12 @@ var hasSymbols$1 = function hasNativeSymbols() {
|
|
|
153
150
|
return hasSymbolSham();
|
|
154
151
|
};
|
|
155
152
|
var test$1 = {
|
|
153
|
+
__proto__: null,
|
|
156
154
|
foo: {}
|
|
157
155
|
};
|
|
158
156
|
var $Object = Object;
|
|
159
157
|
var hasProto$1 = function hasProto() {
|
|
160
|
-
return { __proto__: test$1 }.foo === test$1.foo && !(
|
|
158
|
+
return { __proto__: test$1 }.foo === test$1.foo && !(test$1 instanceof $Object);
|
|
161
159
|
};
|
|
162
160
|
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
163
161
|
var toStr$1 = Object.prototype.toString;
|
|
@@ -544,8 +542,7 @@ var callBind$1 = { exports: {} };
|
|
|
544
542
|
var esDefineProperty;
|
|
545
543
|
var hasRequiredEsDefineProperty;
|
|
546
544
|
function requireEsDefineProperty() {
|
|
547
|
-
if (hasRequiredEsDefineProperty)
|
|
548
|
-
return esDefineProperty;
|
|
545
|
+
if (hasRequiredEsDefineProperty) return esDefineProperty;
|
|
549
546
|
hasRequiredEsDefineProperty = 1;
|
|
550
547
|
var GetIntrinsic3 = getIntrinsic;
|
|
551
548
|
var $defineProperty2 = GetIntrinsic3("%Object.defineProperty%", true) || false;
|
|
@@ -2014,8 +2011,7 @@ var ActionTypes = {
|
|
|
2014
2011
|
}
|
|
2015
2012
|
};
|
|
2016
2013
|
function isPlainObject$3(obj) {
|
|
2017
|
-
if (typeof obj !== "object" || obj === null)
|
|
2018
|
-
return false;
|
|
2014
|
+
if (typeof obj !== "object" || obj === null) return false;
|
|
2019
2015
|
var proto = obj;
|
|
2020
2016
|
while (Object.getPrototypeOf(proto) !== null) {
|
|
2021
2017
|
proto = Object.getPrototypeOf(proto);
|
|
@@ -2023,10 +2019,8 @@ function isPlainObject$3(obj) {
|
|
|
2023
2019
|
return Object.getPrototypeOf(obj) === proto;
|
|
2024
2020
|
}
|
|
2025
2021
|
function miniKindOf(val) {
|
|
2026
|
-
if (val === void 0)
|
|
2027
|
-
|
|
2028
|
-
if (val === null)
|
|
2029
|
-
return "null";
|
|
2022
|
+
if (val === void 0) return "undefined";
|
|
2023
|
+
if (val === null) return "null";
|
|
2030
2024
|
var type2 = typeof val;
|
|
2031
2025
|
switch (type2) {
|
|
2032
2026
|
case "boolean":
|
|
@@ -2037,12 +2031,9 @@ function miniKindOf(val) {
|
|
|
2037
2031
|
return type2;
|
|
2038
2032
|
}
|
|
2039
2033
|
}
|
|
2040
|
-
if (Array.isArray(val))
|
|
2041
|
-
|
|
2042
|
-
if (
|
|
2043
|
-
return "date";
|
|
2044
|
-
if (isError(val))
|
|
2045
|
-
return "error";
|
|
2034
|
+
if (Array.isArray(val)) return "array";
|
|
2035
|
+
if (isDate$1(val)) return "date";
|
|
2036
|
+
if (isError(val)) return "error";
|
|
2046
2037
|
var constructorName = ctorName(val);
|
|
2047
2038
|
switch (constructorName) {
|
|
2048
2039
|
case "Symbol":
|
|
@@ -2062,8 +2053,7 @@ function isError(val) {
|
|
|
2062
2053
|
return val instanceof Error || typeof val.message === "string" && val.constructor && typeof val.constructor.stackTraceLimit === "number";
|
|
2063
2054
|
}
|
|
2064
2055
|
function isDate$1(val) {
|
|
2065
|
-
if (val instanceof Date)
|
|
2066
|
-
return true;
|
|
2056
|
+
if (val instanceof Date) return true;
|
|
2067
2057
|
return typeof val.toDateString === "function" && typeof val.getDate === "function" && typeof val.setDate === "function";
|
|
2068
2058
|
}
|
|
2069
2059
|
function kindOf$1(val) {
|
|
@@ -2097,8 +2087,7 @@ function getUnexpectedStateShapeWarningMessage(inputState, reducers, action, une
|
|
|
2097
2087
|
unexpectedKeys.forEach(function(key) {
|
|
2098
2088
|
unexpectedKeyCache[key] = true;
|
|
2099
2089
|
});
|
|
2100
|
-
if (action && action.type === ActionTypes.REPLACE)
|
|
2101
|
-
return;
|
|
2090
|
+
if (action && action.type === ActionTypes.REPLACE) return;
|
|
2102
2091
|
if (unexpectedKeys.length > 0) {
|
|
2103
2092
|
return "Unexpected " + (unexpectedKeys.length > 1 ? "keys" : "key") + " " + ('"' + unexpectedKeys.join('", "') + '" found in ' + argumentName + ". ") + "Expected to find one of the known reducer keys instead: " + ('"' + reducerKeys.join('", "') + '". Unexpected keys will be ignored.');
|
|
2104
2093
|
}
|
|
@@ -2358,9 +2347,7 @@ var __extends = /* @__PURE__ */ function() {
|
|
|
2358
2347
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d3, b2) {
|
|
2359
2348
|
d3.__proto__ = b2;
|
|
2360
2349
|
} || function(d3, b2) {
|
|
2361
|
-
for (var p in b2)
|
|
2362
|
-
if (Object.prototype.hasOwnProperty.call(b2, p))
|
|
2363
|
-
d3[p] = b2[p];
|
|
2350
|
+
for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d3[p] = b2[p];
|
|
2364
2351
|
};
|
|
2365
2352
|
return extendStatics(d2, b);
|
|
2366
2353
|
};
|
|
@@ -2376,8 +2363,7 @@ var __extends = /* @__PURE__ */ function() {
|
|
|
2376
2363
|
}();
|
|
2377
2364
|
var __generator$1 = function(thisArg, body) {
|
|
2378
2365
|
var _ = { label: 0, sent: function() {
|
|
2379
|
-
if (t[0] & 1)
|
|
2380
|
-
throw t[1];
|
|
2366
|
+
if (t[0] & 1) throw t[1];
|
|
2381
2367
|
return t[1];
|
|
2382
2368
|
}, trys: [], ops: [] }, f2, y, t, g;
|
|
2383
2369
|
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
@@ -2389,64 +2375,58 @@ var __generator$1 = function(thisArg, body) {
|
|
|
2389
2375
|
};
|
|
2390
2376
|
}
|
|
2391
2377
|
function step(op) {
|
|
2392
|
-
if (f2)
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2378
|
+
if (f2) throw new TypeError("Generator is already executing.");
|
|
2379
|
+
while (_) try {
|
|
2380
|
+
if (f2 = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
2381
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
2382
|
+
switch (op[0]) {
|
|
2383
|
+
case 0:
|
|
2384
|
+
case 1:
|
|
2385
|
+
t = op;
|
|
2386
|
+
break;
|
|
2387
|
+
case 4:
|
|
2388
|
+
_.label++;
|
|
2389
|
+
return { value: op[1], done: false };
|
|
2390
|
+
case 5:
|
|
2391
|
+
_.label++;
|
|
2392
|
+
y = op[1];
|
|
2393
|
+
op = [0];
|
|
2394
|
+
continue;
|
|
2395
|
+
case 7:
|
|
2396
|
+
op = _.ops.pop();
|
|
2397
|
+
_.trys.pop();
|
|
2398
|
+
continue;
|
|
2399
|
+
default:
|
|
2400
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
2401
|
+
_ = 0;
|
|
2402
|
+
continue;
|
|
2403
|
+
}
|
|
2404
|
+
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
2405
|
+
_.label = op[1];
|
|
2406
|
+
break;
|
|
2407
|
+
}
|
|
2408
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
2409
|
+
_.label = t[1];
|
|
2403
2410
|
t = op;
|
|
2404
2411
|
break;
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
op = _.ops.pop();
|
|
2415
|
-
_.trys.pop();
|
|
2416
|
-
continue;
|
|
2417
|
-
default:
|
|
2418
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
2419
|
-
_ = 0;
|
|
2420
|
-
continue;
|
|
2421
|
-
}
|
|
2422
|
-
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
2423
|
-
_.label = op[1];
|
|
2424
|
-
break;
|
|
2425
|
-
}
|
|
2426
|
-
if (op[0] === 6 && _.label < t[1]) {
|
|
2427
|
-
_.label = t[1];
|
|
2428
|
-
t = op;
|
|
2429
|
-
break;
|
|
2430
|
-
}
|
|
2431
|
-
if (t && _.label < t[2]) {
|
|
2432
|
-
_.label = t[2];
|
|
2433
|
-
_.ops.push(op);
|
|
2434
|
-
break;
|
|
2435
|
-
}
|
|
2436
|
-
if (t[2])
|
|
2437
|
-
_.ops.pop();
|
|
2438
|
-
_.trys.pop();
|
|
2439
|
-
continue;
|
|
2440
|
-
}
|
|
2441
|
-
op = body.call(thisArg, _);
|
|
2442
|
-
} catch (e) {
|
|
2443
|
-
op = [6, e];
|
|
2444
|
-
y = 0;
|
|
2445
|
-
} finally {
|
|
2446
|
-
f2 = t = 0;
|
|
2412
|
+
}
|
|
2413
|
+
if (t && _.label < t[2]) {
|
|
2414
|
+
_.label = t[2];
|
|
2415
|
+
_.ops.push(op);
|
|
2416
|
+
break;
|
|
2417
|
+
}
|
|
2418
|
+
if (t[2]) _.ops.pop();
|
|
2419
|
+
_.trys.pop();
|
|
2420
|
+
continue;
|
|
2447
2421
|
}
|
|
2448
|
-
|
|
2449
|
-
|
|
2422
|
+
op = body.call(thisArg, _);
|
|
2423
|
+
} catch (e) {
|
|
2424
|
+
op = [6, e];
|
|
2425
|
+
y = 0;
|
|
2426
|
+
} finally {
|
|
2427
|
+
f2 = t = 0;
|
|
2428
|
+
}
|
|
2429
|
+
if (op[0] & 5) throw op[1];
|
|
2450
2430
|
return { value: op[0] ? op[1] : void 0, done: true };
|
|
2451
2431
|
}
|
|
2452
2432
|
};
|
|
@@ -2957,8 +2937,7 @@ var createAsyncThunk = function() {
|
|
|
2957
2937
|
case 0:
|
|
2958
2938
|
_c.trys.push([0, 4, , 5]);
|
|
2959
2939
|
conditionResult = (_a = options == null ? void 0 : options.condition) == null ? void 0 : _a.call(options, arg, { getState, extra });
|
|
2960
|
-
if (!isThenable$1(conditionResult))
|
|
2961
|
-
return [3, 2];
|
|
2940
|
+
if (!isThenable$1(conditionResult)) return [3, 2];
|
|
2962
2941
|
return [4, conditionResult];
|
|
2963
2942
|
case 1:
|
|
2964
2943
|
conditionResult = _c.sent();
|
|
@@ -3227,8 +3206,7 @@ typeof queueMicrotask === "function" ? queueMicrotask.bind(typeof window !== "un
|
|
|
3227
3206
|
createNextState2.enableES5();
|
|
3228
3207
|
var __generator = function(thisArg, body) {
|
|
3229
3208
|
var _ = { label: 0, sent: function() {
|
|
3230
|
-
if (t[0] & 1)
|
|
3231
|
-
throw t[1];
|
|
3209
|
+
if (t[0] & 1) throw t[1];
|
|
3232
3210
|
return t[1];
|
|
3233
3211
|
}, trys: [], ops: [] }, f2, y, t, g;
|
|
3234
3212
|
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
@@ -3240,64 +3218,58 @@ var __generator = function(thisArg, body) {
|
|
|
3240
3218
|
};
|
|
3241
3219
|
}
|
|
3242
3220
|
function step(op) {
|
|
3243
|
-
if (f2)
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3221
|
+
if (f2) throw new TypeError("Generator is already executing.");
|
|
3222
|
+
while (_) try {
|
|
3223
|
+
if (f2 = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
3224
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
3225
|
+
switch (op[0]) {
|
|
3226
|
+
case 0:
|
|
3227
|
+
case 1:
|
|
3228
|
+
t = op;
|
|
3229
|
+
break;
|
|
3230
|
+
case 4:
|
|
3231
|
+
_.label++;
|
|
3232
|
+
return { value: op[1], done: false };
|
|
3233
|
+
case 5:
|
|
3234
|
+
_.label++;
|
|
3235
|
+
y = op[1];
|
|
3236
|
+
op = [0];
|
|
3237
|
+
continue;
|
|
3238
|
+
case 7:
|
|
3239
|
+
op = _.ops.pop();
|
|
3240
|
+
_.trys.pop();
|
|
3241
|
+
continue;
|
|
3242
|
+
default:
|
|
3243
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
3244
|
+
_ = 0;
|
|
3245
|
+
continue;
|
|
3246
|
+
}
|
|
3247
|
+
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
3248
|
+
_.label = op[1];
|
|
3249
|
+
break;
|
|
3250
|
+
}
|
|
3251
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
3252
|
+
_.label = t[1];
|
|
3254
3253
|
t = op;
|
|
3255
3254
|
break;
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
op = _.ops.pop();
|
|
3266
|
-
_.trys.pop();
|
|
3267
|
-
continue;
|
|
3268
|
-
default:
|
|
3269
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
3270
|
-
_ = 0;
|
|
3271
|
-
continue;
|
|
3272
|
-
}
|
|
3273
|
-
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
3274
|
-
_.label = op[1];
|
|
3275
|
-
break;
|
|
3276
|
-
}
|
|
3277
|
-
if (op[0] === 6 && _.label < t[1]) {
|
|
3278
|
-
_.label = t[1];
|
|
3279
|
-
t = op;
|
|
3280
|
-
break;
|
|
3281
|
-
}
|
|
3282
|
-
if (t && _.label < t[2]) {
|
|
3283
|
-
_.label = t[2];
|
|
3284
|
-
_.ops.push(op);
|
|
3285
|
-
break;
|
|
3286
|
-
}
|
|
3287
|
-
if (t[2])
|
|
3288
|
-
_.ops.pop();
|
|
3289
|
-
_.trys.pop();
|
|
3290
|
-
continue;
|
|
3291
|
-
}
|
|
3292
|
-
op = body.call(thisArg, _);
|
|
3293
|
-
} catch (e) {
|
|
3294
|
-
op = [6, e];
|
|
3295
|
-
y = 0;
|
|
3296
|
-
} finally {
|
|
3297
|
-
f2 = t = 0;
|
|
3255
|
+
}
|
|
3256
|
+
if (t && _.label < t[2]) {
|
|
3257
|
+
_.label = t[2];
|
|
3258
|
+
_.ops.push(op);
|
|
3259
|
+
break;
|
|
3260
|
+
}
|
|
3261
|
+
if (t[2]) _.ops.pop();
|
|
3262
|
+
_.trys.pop();
|
|
3263
|
+
continue;
|
|
3298
3264
|
}
|
|
3299
|
-
|
|
3300
|
-
|
|
3265
|
+
op = body.call(thisArg, _);
|
|
3266
|
+
} catch (e) {
|
|
3267
|
+
op = [6, e];
|
|
3268
|
+
y = 0;
|
|
3269
|
+
} finally {
|
|
3270
|
+
f2 = t = 0;
|
|
3271
|
+
}
|
|
3272
|
+
if (op[0] & 5) throw op[1];
|
|
3301
3273
|
return { value: op[0] ? op[1] : void 0, done: true };
|
|
3302
3274
|
}
|
|
3303
3275
|
};
|
|
@@ -3763,13 +3735,11 @@ function buildThunks(_j) {
|
|
|
3763
3735
|
forced: arg.type === "query" ? isForcedQuery(arg, getState()) : void 0
|
|
3764
3736
|
};
|
|
3765
3737
|
forceQueryFn = arg.type === "query" ? arg[forceQueryFnSymbol] : void 0;
|
|
3766
|
-
if (!forceQueryFn)
|
|
3767
|
-
return [3, 2];
|
|
3738
|
+
if (!forceQueryFn) return [3, 2];
|
|
3768
3739
|
result = forceQueryFn();
|
|
3769
3740
|
return [3, 6];
|
|
3770
3741
|
case 2:
|
|
3771
|
-
if (!endpointDefinition.query)
|
|
3772
|
-
return [3, 4];
|
|
3742
|
+
if (!endpointDefinition.query) return [3, 4];
|
|
3773
3743
|
return [4, baseQuery(endpointDefinition.query(arg.originalArgs), baseQueryApi_1, endpointDefinition.extraOptions)];
|
|
3774
3744
|
case 3:
|
|
3775
3745
|
result = _r.sent();
|
|
@@ -3821,8 +3791,7 @@ function buildThunks(_j) {
|
|
|
3821
3791
|
case 8:
|
|
3822
3792
|
error_1 = _r.sent();
|
|
3823
3793
|
catchedError = error_1;
|
|
3824
|
-
if (!(catchedError instanceof HandledError))
|
|
3825
|
-
return [3, 12];
|
|
3794
|
+
if (!(catchedError instanceof HandledError)) return [3, 12];
|
|
3826
3795
|
transformErrorResponse = defaultTransformResponse;
|
|
3827
3796
|
if (endpointDefinition.query && endpointDefinition.transformErrorResponse) {
|
|
3828
3797
|
transformErrorResponse = endpointDefinition.transformErrorResponse;
|
|
@@ -4061,8 +4030,7 @@ function buildSlice(_j) {
|
|
|
4061
4030
|
}).addCase(queryThunk.rejected, function(draft, _j2) {
|
|
4062
4031
|
var _k2 = _j2.meta, condition = _k2.condition, arg = _k2.arg, requestId = _k2.requestId, error = _j2.error, payload = _j2.payload;
|
|
4063
4032
|
updateQuerySubstateIfExists(draft, arg.queryCacheKey, function(substate) {
|
|
4064
|
-
if (condition)
|
|
4065
|
-
;
|
|
4033
|
+
if (condition) ;
|
|
4066
4034
|
else {
|
|
4067
4035
|
if (substate.requestId !== requestId)
|
|
4068
4036
|
return;
|
|
@@ -5687,6 +5655,9 @@ const getFetchClient = (defaultOptions = {}) => {
|
|
|
5687
5655
|
};
|
|
5688
5656
|
const paramsSerializer = (params) => (url) => {
|
|
5689
5657
|
if (params) {
|
|
5658
|
+
if (typeof params === "string") {
|
|
5659
|
+
return `${url}?${params}`;
|
|
5660
|
+
}
|
|
5690
5661
|
const serializedParams = qs__default.stringify(params, { encode: false });
|
|
5691
5662
|
return `${url}?${serializedParams}`;
|
|
5692
5663
|
}
|
|
@@ -6006,8 +5977,7 @@ function findKey(obj, key) {
|
|
|
6006
5977
|
return null;
|
|
6007
5978
|
}
|
|
6008
5979
|
const _global = (() => {
|
|
6009
|
-
if (typeof globalThis !== "undefined")
|
|
6010
|
-
return globalThis;
|
|
5980
|
+
if (typeof globalThis !== "undefined") return globalThis;
|
|
6011
5981
|
return typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : global;
|
|
6012
5982
|
})();
|
|
6013
5983
|
const isContextDefined = (context) => !isUndefined(context) && context !== _global;
|
|
@@ -6061,8 +6031,7 @@ const toFlatObject = (sourceObj, destObj, filter2, propFilter) => {
|
|
|
6061
6031
|
let prop;
|
|
6062
6032
|
const merged = {};
|
|
6063
6033
|
destObj = destObj || {};
|
|
6064
|
-
if (sourceObj == null)
|
|
6065
|
-
return destObj;
|
|
6034
|
+
if (sourceObj == null) return destObj;
|
|
6066
6035
|
do {
|
|
6067
6036
|
props = Object.getOwnPropertyNames(sourceObj);
|
|
6068
6037
|
i = props.length;
|
|
@@ -6087,13 +6056,10 @@ const endsWith = (str, searchString, position) => {
|
|
|
6087
6056
|
return lastIndex !== -1 && lastIndex === position;
|
|
6088
6057
|
};
|
|
6089
6058
|
const toArray = (thing) => {
|
|
6090
|
-
if (!thing)
|
|
6091
|
-
|
|
6092
|
-
if (isArray(thing))
|
|
6093
|
-
return thing;
|
|
6059
|
+
if (!thing) return null;
|
|
6060
|
+
if (isArray(thing)) return thing;
|
|
6094
6061
|
let i = thing.length;
|
|
6095
|
-
if (!isNumber(i))
|
|
6096
|
-
return null;
|
|
6062
|
+
if (!isNumber(i)) return null;
|
|
6097
6063
|
const arr = new Array(i);
|
|
6098
6064
|
while (i-- > 0) {
|
|
6099
6065
|
arr[i] = thing[i];
|
|
@@ -6150,8 +6116,7 @@ const freezeMethods = (obj) => {
|
|
|
6150
6116
|
return false;
|
|
6151
6117
|
}
|
|
6152
6118
|
const value = obj[name];
|
|
6153
|
-
if (!isFunction(value))
|
|
6154
|
-
return;
|
|
6119
|
+
if (!isFunction(value)) return;
|
|
6155
6120
|
descriptor.enumerable = false;
|
|
6156
6121
|
if ("writable" in descriptor) {
|
|
6157
6122
|
descriptor.writable = false;
|
|
@@ -6378,8 +6343,7 @@ function removeBrackets(key) {
|
|
|
6378
6343
|
return utils$1.endsWith(key, "[]") ? key.slice(0, -2) : key;
|
|
6379
6344
|
}
|
|
6380
6345
|
function renderKey(path, key, dots) {
|
|
6381
|
-
if (!path)
|
|
6382
|
-
return key;
|
|
6346
|
+
if (!path) return key;
|
|
6383
6347
|
return path.concat(key).map(function each(token, i) {
|
|
6384
6348
|
token = removeBrackets(token);
|
|
6385
6349
|
return !dots && i ? "[" + token + "]" : token;
|
|
@@ -6413,8 +6377,7 @@ function toFormData(obj, formData, options) {
|
|
|
6413
6377
|
throw new TypeError("visitor must be a function");
|
|
6414
6378
|
}
|
|
6415
6379
|
function convertValue(value) {
|
|
6416
|
-
if (value === null)
|
|
6417
|
-
return "";
|
|
6380
|
+
if (value === null) return "";
|
|
6418
6381
|
if (utils$1.isDate(value)) {
|
|
6419
6382
|
return value.toISOString();
|
|
6420
6383
|
}
|
|
@@ -6457,8 +6420,7 @@ function toFormData(obj, formData, options) {
|
|
|
6457
6420
|
isVisitable
|
|
6458
6421
|
});
|
|
6459
6422
|
function build(value, path) {
|
|
6460
|
-
if (utils$1.isUndefined(value))
|
|
6461
|
-
return;
|
|
6423
|
+
if (utils$1.isUndefined(value)) return;
|
|
6462
6424
|
if (stack.indexOf(value) !== -1) {
|
|
6463
6425
|
throw Error("Circular reference detected in " + path.join("."));
|
|
6464
6426
|
}
|
|
@@ -6666,8 +6628,7 @@ function arrayToObject2(arr) {
|
|
|
6666
6628
|
function formDataToJSON(formData) {
|
|
6667
6629
|
function buildPath(path, value, target, index) {
|
|
6668
6630
|
let name = path[index++];
|
|
6669
|
-
if (name === "__proto__")
|
|
6670
|
-
return true;
|
|
6631
|
+
if (name === "__proto__") return true;
|
|
6671
6632
|
const isNumericKey = Number.isFinite(+name);
|
|
6672
6633
|
const isLast = index >= path.length;
|
|
6673
6634
|
name = !name && utils$1.isArray(target) ? target.length : name;
|
|
@@ -6708,7 +6669,7 @@ function stringifySafely(rawValue, parser, encoder) {
|
|
|
6708
6669
|
}
|
|
6709
6670
|
}
|
|
6710
6671
|
}
|
|
6711
|
-
return (
|
|
6672
|
+
return (0, JSON.stringify)(rawValue);
|
|
6712
6673
|
}
|
|
6713
6674
|
const defaults = {
|
|
6714
6675
|
transitional: transitionalDefaults,
|
|
@@ -6873,8 +6834,7 @@ function matchHeaderValue(context, value, header, filter2, isHeaderNameFilter) {
|
|
|
6873
6834
|
if (isHeaderNameFilter) {
|
|
6874
6835
|
value = header;
|
|
6875
6836
|
}
|
|
6876
|
-
if (!utils$1.isString(value))
|
|
6877
|
-
return;
|
|
6837
|
+
if (!utils$1.isString(value)) return;
|
|
6878
6838
|
if (utils$1.isString(filter2)) {
|
|
6879
6839
|
return value.indexOf(filter2) !== -1;
|
|
6880
6840
|
}
|
|
@@ -7552,7 +7512,7 @@ const composeSignals = (signals, timeout) => {
|
|
|
7552
7512
|
};
|
|
7553
7513
|
const streamChunk = function* (chunk, chunkSize) {
|
|
7554
7514
|
let len = chunk.byteLength;
|
|
7555
|
-
if (
|
|
7515
|
+
if (len < chunkSize) {
|
|
7556
7516
|
yield chunk;
|
|
7557
7517
|
return;
|
|
7558
7518
|
}
|
|
@@ -8091,8 +8051,7 @@ class CancelToken {
|
|
|
8091
8051
|
});
|
|
8092
8052
|
const token = this;
|
|
8093
8053
|
this.promise.then((cancel) => {
|
|
8094
|
-
if (!token._listeners)
|
|
8095
|
-
return;
|
|
8054
|
+
if (!token._listeners) return;
|
|
8096
8055
|
let i = token._listeners.length;
|
|
8097
8056
|
while (i-- > 0) {
|
|
8098
8057
|
token._listeners[i](cancel);
|
|
@@ -8286,41 +8245,32 @@ var scheduler_production_min = {};
|
|
|
8286
8245
|
*/
|
|
8287
8246
|
var hasRequiredScheduler_production_min;
|
|
8288
8247
|
function requireScheduler_production_min() {
|
|
8289
|
-
if (hasRequiredScheduler_production_min)
|
|
8290
|
-
return scheduler_production_min;
|
|
8248
|
+
if (hasRequiredScheduler_production_min) return scheduler_production_min;
|
|
8291
8249
|
hasRequiredScheduler_production_min = 1;
|
|
8292
8250
|
(function(exports2) {
|
|
8293
8251
|
function f2(a2, b) {
|
|
8294
8252
|
var c = a2.length;
|
|
8295
8253
|
a2.push(b);
|
|
8296
|
-
a:
|
|
8297
|
-
|
|
8298
|
-
|
|
8299
|
-
|
|
8300
|
-
|
|
8301
|
-
else
|
|
8302
|
-
break a;
|
|
8303
|
-
}
|
|
8254
|
+
a: for (; 0 < c; ) {
|
|
8255
|
+
var d2 = c - 1 >>> 1, e = a2[d2];
|
|
8256
|
+
if (0 < g(e, b)) a2[d2] = b, a2[c] = e, c = d2;
|
|
8257
|
+
else break a;
|
|
8258
|
+
}
|
|
8304
8259
|
}
|
|
8305
8260
|
function h2(a2) {
|
|
8306
8261
|
return 0 === a2.length ? null : a2[0];
|
|
8307
8262
|
}
|
|
8308
8263
|
function k(a2) {
|
|
8309
|
-
if (0 === a2.length)
|
|
8310
|
-
return null;
|
|
8264
|
+
if (0 === a2.length) return null;
|
|
8311
8265
|
var b = a2[0], c = a2.pop();
|
|
8312
8266
|
if (c !== b) {
|
|
8313
8267
|
a2[0] = c;
|
|
8314
|
-
a:
|
|
8315
|
-
|
|
8316
|
-
|
|
8317
|
-
|
|
8318
|
-
|
|
8319
|
-
|
|
8320
|
-
a2[d2] = x, a2[n] = c, d2 = n;
|
|
8321
|
-
else
|
|
8322
|
-
break a;
|
|
8323
|
-
}
|
|
8268
|
+
a: for (var d2 = 0, e = a2.length, w = e >>> 1; d2 < w; ) {
|
|
8269
|
+
var m = 2 * (d2 + 1) - 1, C = a2[m], n = m + 1, x = a2[n];
|
|
8270
|
+
if (0 > g(C, c)) n < e && 0 > g(x, C) ? (a2[d2] = x, a2[n] = c, d2 = n) : (a2[d2] = C, a2[m] = c, d2 = m);
|
|
8271
|
+
else if (n < e && 0 > g(x, c)) a2[d2] = x, a2[n] = c, d2 = n;
|
|
8272
|
+
else break a;
|
|
8273
|
+
}
|
|
8324
8274
|
}
|
|
8325
8275
|
return b;
|
|
8326
8276
|
}
|
|
@@ -8343,25 +8293,20 @@ function requireScheduler_production_min() {
|
|
|
8343
8293
|
"undefined" !== typeof navigator && void 0 !== navigator.scheduling && void 0 !== navigator.scheduling.isInputPending && navigator.scheduling.isInputPending.bind(navigator.scheduling);
|
|
8344
8294
|
function G(a2) {
|
|
8345
8295
|
for (var b = h2(t); null !== b; ) {
|
|
8346
|
-
if (null === b.callback)
|
|
8347
|
-
|
|
8348
|
-
else
|
|
8349
|
-
k(t), b.sortIndex = b.expirationTime, f2(r, b);
|
|
8350
|
-
else
|
|
8351
|
-
break;
|
|
8296
|
+
if (null === b.callback) k(t);
|
|
8297
|
+
else if (b.startTime <= a2) k(t), b.sortIndex = b.expirationTime, f2(r, b);
|
|
8298
|
+
else break;
|
|
8352
8299
|
b = h2(t);
|
|
8353
8300
|
}
|
|
8354
8301
|
}
|
|
8355
8302
|
function H(a2) {
|
|
8356
8303
|
B = false;
|
|
8357
8304
|
G(a2);
|
|
8358
|
-
if (!A)
|
|
8359
|
-
|
|
8360
|
-
|
|
8361
|
-
|
|
8362
|
-
|
|
8363
|
-
null !== b && K(H, b.startTime - a2);
|
|
8364
|
-
}
|
|
8305
|
+
if (!A) if (null !== h2(r)) A = true, I(J);
|
|
8306
|
+
else {
|
|
8307
|
+
var b = h2(t);
|
|
8308
|
+
null !== b && K(H, b.startTime - a2);
|
|
8309
|
+
}
|
|
8365
8310
|
}
|
|
8366
8311
|
function J(a2, b) {
|
|
8367
8312
|
A = false;
|
|
@@ -8379,12 +8324,10 @@ function requireScheduler_production_min() {
|
|
|
8379
8324
|
b = exports2.unstable_now();
|
|
8380
8325
|
"function" === typeof e ? v2.callback = e : v2 === h2(r) && k(r);
|
|
8381
8326
|
G(b);
|
|
8382
|
-
} else
|
|
8383
|
-
k(r);
|
|
8327
|
+
} else k(r);
|
|
8384
8328
|
v2 = h2(r);
|
|
8385
8329
|
}
|
|
8386
|
-
if (null !== v2)
|
|
8387
|
-
var w = true;
|
|
8330
|
+
if (null !== v2) var w = true;
|
|
8388
8331
|
else {
|
|
8389
8332
|
var m = h2(t);
|
|
8390
8333
|
null !== m && K(H, m.startTime - b);
|
|
@@ -8409,24 +8352,21 @@ function requireScheduler_production_min() {
|
|
|
8409
8352
|
} finally {
|
|
8410
8353
|
b ? S() : (N = false, O = null);
|
|
8411
8354
|
}
|
|
8412
|
-
} else
|
|
8413
|
-
N = false;
|
|
8355
|
+
} else N = false;
|
|
8414
8356
|
}
|
|
8415
8357
|
var S;
|
|
8416
|
-
if ("function" === typeof F)
|
|
8417
|
-
|
|
8418
|
-
|
|
8419
|
-
};
|
|
8358
|
+
if ("function" === typeof F) S = function() {
|
|
8359
|
+
F(R);
|
|
8360
|
+
};
|
|
8420
8361
|
else if ("undefined" !== typeof MessageChannel) {
|
|
8421
8362
|
var T = new MessageChannel(), U = T.port2;
|
|
8422
8363
|
T.port1.onmessage = R;
|
|
8423
8364
|
S = function() {
|
|
8424
8365
|
U.postMessage(null);
|
|
8425
8366
|
};
|
|
8426
|
-
} else
|
|
8427
|
-
|
|
8428
|
-
|
|
8429
|
-
};
|
|
8367
|
+
} else S = function() {
|
|
8368
|
+
D(R, 0);
|
|
8369
|
+
};
|
|
8430
8370
|
function I(a2) {
|
|
8431
8371
|
O = a2;
|
|
8432
8372
|
N || (N = true, S());
|
|
@@ -8550,8 +8490,7 @@ var scheduler_development = {};
|
|
|
8550
8490
|
*/
|
|
8551
8491
|
var hasRequiredScheduler_development;
|
|
8552
8492
|
function requireScheduler_development() {
|
|
8553
|
-
if (hasRequiredScheduler_development)
|
|
8554
|
-
return scheduler_development;
|
|
8493
|
+
if (hasRequiredScheduler_development) return scheduler_development;
|
|
8555
8494
|
hasRequiredScheduler_development = 1;
|
|
8556
8495
|
(function(exports2) {
|
|
8557
8496
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -8706,8 +8645,7 @@ function requireScheduler_development() {
|
|
|
8706
8645
|
var previousPriorityLevel = currentPriorityLevel;
|
|
8707
8646
|
try {
|
|
8708
8647
|
var currentTime;
|
|
8709
|
-
if (enableProfiling)
|
|
8710
|
-
;
|
|
8648
|
+
if (enableProfiling) ;
|
|
8711
8649
|
else {
|
|
8712
8650
|
return workLoop(hasTimeRemaining, initialTime2);
|
|
8713
8651
|
}
|
|
@@ -9030,19 +8968,14 @@ function E(r) {
|
|
|
9030
8968
|
}
|
|
9031
8969
|
function h(e, n) {
|
|
9032
8970
|
const o = React.useContext(e)[d];
|
|
9033
|
-
if ("object" == typeof process && "production" !== process.env.NODE_ENV && !o)
|
|
9034
|
-
throw new Error("useContextSelector requires special context");
|
|
8971
|
+
if ("object" == typeof process && "production" !== process.env.NODE_ENV && !o) throw new Error("useContextSelector requires special context");
|
|
9035
8972
|
const { v: { current: c }, n: { current: u }, l: s } = o, i = n(c), [p, l] = React.useReducer((e2, r) => {
|
|
9036
|
-
if (!r)
|
|
9037
|
-
|
|
9038
|
-
if (
|
|
9039
|
-
throw r.p;
|
|
9040
|
-
if (r.n === u)
|
|
9041
|
-
return Object.is(e2[1], i) ? e2 : [c, i];
|
|
8973
|
+
if (!r) return [c, i];
|
|
8974
|
+
if ("p" in r) throw r.p;
|
|
8975
|
+
if (r.n === u) return Object.is(e2[1], i) ? e2 : [c, i];
|
|
9042
8976
|
try {
|
|
9043
8977
|
if ("v" in r) {
|
|
9044
|
-
if (Object.is(e2[0], r.v))
|
|
9045
|
-
return e2;
|
|
8978
|
+
if (Object.is(e2[0], r.v)) return e2;
|
|
9046
8979
|
const t = n(r.v);
|
|
9047
8980
|
return Object.is(e2[1], t) ? e2 : [r.v, t];
|
|
9048
8981
|
}
|
|
@@ -9601,10 +9534,8 @@ function $3b62074eb05584b2$export$f297eb839006d339(era, year, month, day) {
|
|
|
9601
9534
|
year = $3b62074eb05584b2$export$c36e0ecb2d4fa69d(era, year);
|
|
9602
9535
|
let y1 = year - 1;
|
|
9603
9536
|
let monthOffset = -2;
|
|
9604
|
-
if (month <= 2)
|
|
9605
|
-
|
|
9606
|
-
else if ($3b62074eb05584b2$export$553d7fa8e3805fc0(year))
|
|
9607
|
-
monthOffset = -1;
|
|
9537
|
+
if (month <= 2) monthOffset = 0;
|
|
9538
|
+
else if ($3b62074eb05584b2$export$553d7fa8e3805fc0(year)) monthOffset = -1;
|
|
9608
9539
|
return $3b62074eb05584b2$var$EPOCH - 1 + 365 * y1 + Math.floor(y1 / 4) - Math.floor(y1 / 100) + Math.floor(y1 / 400) + Math.floor((367 * month - 362) / 12 + monthOffset + day);
|
|
9609
9540
|
}
|
|
9610
9541
|
function $3b62074eb05584b2$export$553d7fa8e3805fc0(year) {
|
|
@@ -9669,10 +9600,8 @@ class $3b62074eb05584b2$export$80ee6245ec4f29ec {
|
|
|
9669
9600
|
let [era, year] = $3b62074eb05584b2$export$4475b7e617eb123c(extendedYear);
|
|
9670
9601
|
let yearDay = jd0 - $3b62074eb05584b2$export$f297eb839006d339(era, year, 1, 1);
|
|
9671
9602
|
let leapAdj = 2;
|
|
9672
|
-
if (jd0 < $3b62074eb05584b2$export$f297eb839006d339(era, year, 3, 1))
|
|
9673
|
-
|
|
9674
|
-
else if ($3b62074eb05584b2$export$553d7fa8e3805fc0(year))
|
|
9675
|
-
leapAdj = 1;
|
|
9603
|
+
if (jd0 < $3b62074eb05584b2$export$f297eb839006d339(era, year, 3, 1)) leapAdj = 0;
|
|
9604
|
+
else if ($3b62074eb05584b2$export$553d7fa8e3805fc0(year)) leapAdj = 1;
|
|
9676
9605
|
let month = Math.floor(((yearDay + leapAdj) * 12 + 373) / 367);
|
|
9677
9606
|
let day = jd0 - $3b62074eb05584b2$export$f297eb839006d339(era, year, month, 1) + 1;
|
|
9678
9607
|
return new $35ea8db9cb2ccb90$export$99faa760c7908e4f(era, year, month, day);
|
|
@@ -9724,8 +9653,7 @@ function $14e0f24ef4ac5c92$var$timeToMs(a2) {
|
|
|
9724
9653
|
}
|
|
9725
9654
|
let $14e0f24ef4ac5c92$var$localTimeZone = null;
|
|
9726
9655
|
function $14e0f24ef4ac5c92$export$aa8b41735afcabd2() {
|
|
9727
|
-
if ($14e0f24ef4ac5c92$var$localTimeZone == null)
|
|
9728
|
-
$14e0f24ef4ac5c92$var$localTimeZone = new Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
9656
|
+
if ($14e0f24ef4ac5c92$var$localTimeZone == null) $14e0f24ef4ac5c92$var$localTimeZone = new Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
9729
9657
|
return $14e0f24ef4ac5c92$var$localTimeZone;
|
|
9730
9658
|
}
|
|
9731
9659
|
function $11d87f3f76e88657$export$bd4fb2bc8bb06fb(date) {
|
|
@@ -9740,10 +9668,8 @@ function $11d87f3f76e88657$var$epochFromParts(year, month, day, hour, minute, se
|
|
|
9740
9668
|
return date.getTime();
|
|
9741
9669
|
}
|
|
9742
9670
|
function $11d87f3f76e88657$export$59c99f3515d3493f(ms, timeZone) {
|
|
9743
|
-
if (timeZone === "UTC")
|
|
9744
|
-
|
|
9745
|
-
if (ms > 0 && timeZone === $14e0f24ef4ac5c92$export$aa8b41735afcabd2())
|
|
9746
|
-
return new Date(ms).getTimezoneOffset() * -6e4;
|
|
9671
|
+
if (timeZone === "UTC") return 0;
|
|
9672
|
+
if (ms > 0 && timeZone === $14e0f24ef4ac5c92$export$aa8b41735afcabd2()) return new Date(ms).getTimezoneOffset() * -6e4;
|
|
9747
9673
|
let { year, month, day, hour, minute, second } = $11d87f3f76e88657$var$getTimeZoneParts(ms, timeZone);
|
|
9748
9674
|
let utc = $11d87f3f76e88657$var$epochFromParts(year, month, day, hour, minute, second, 0);
|
|
9749
9675
|
return utc - Math.floor(ms / 1e3) * 1e3;
|
|
@@ -9767,9 +9693,7 @@ function $11d87f3f76e88657$var$getTimeZoneParts(ms, timeZone) {
|
|
|
9767
9693
|
}
|
|
9768
9694
|
let parts = formatter.formatToParts(new Date(ms));
|
|
9769
9695
|
let namedParts = {};
|
|
9770
|
-
for (let part of parts)
|
|
9771
|
-
if (part.type !== "literal")
|
|
9772
|
-
namedParts[part.type] = part.value;
|
|
9696
|
+
for (let part of parts) if (part.type !== "literal") namedParts[part.type] = part.value;
|
|
9773
9697
|
return {
|
|
9774
9698
|
// Firefox returns B instead of BC... https://bugzilla.mozilla.org/show_bug.cgi?id=1752253
|
|
9775
9699
|
year: namedParts.era === "BC" || namedParts.era === "B" ? -namedParts.year + 1 : +namedParts.year,
|
|
@@ -9796,8 +9720,7 @@ function $11d87f3f76e88657$var$isValidWallTime(date, timeZone, absolute) {
|
|
|
9796
9720
|
}
|
|
9797
9721
|
function $11d87f3f76e88657$export$5107c82f94518f5c(date, timeZone, disambiguation = "compatible") {
|
|
9798
9722
|
let dateTime = $11d87f3f76e88657$export$b21e0b124e224484(date);
|
|
9799
|
-
if (timeZone === "UTC")
|
|
9800
|
-
return $11d87f3f76e88657$export$bd4fb2bc8bb06fb(dateTime);
|
|
9723
|
+
if (timeZone === "UTC") return $11d87f3f76e88657$export$bd4fb2bc8bb06fb(dateTime);
|
|
9801
9724
|
if (timeZone === $14e0f24ef4ac5c92$export$aa8b41735afcabd2() && disambiguation === "compatible") {
|
|
9802
9725
|
dateTime = $11d87f3f76e88657$export$b4a036af3fc0b032(dateTime, new $3b62074eb05584b2$export$80ee6245ec4f29ec());
|
|
9803
9726
|
let date2 = /* @__PURE__ */ new Date();
|
|
@@ -9810,18 +9733,16 @@ function $11d87f3f76e88657$export$5107c82f94518f5c(date, timeZone, disambiguatio
|
|
|
9810
9733
|
let offsetBefore = $11d87f3f76e88657$export$59c99f3515d3493f(ms - $11d87f3f76e88657$var$DAYMILLIS, timeZone);
|
|
9811
9734
|
let offsetAfter = $11d87f3f76e88657$export$59c99f3515d3493f(ms + $11d87f3f76e88657$var$DAYMILLIS, timeZone);
|
|
9812
9735
|
let valid = $11d87f3f76e88657$var$getValidWallTimes(dateTime, timeZone, ms - offsetBefore, ms - offsetAfter);
|
|
9813
|
-
if (valid.length === 1)
|
|
9814
|
-
|
|
9815
|
-
|
|
9816
|
-
|
|
9817
|
-
|
|
9818
|
-
|
|
9819
|
-
|
|
9820
|
-
|
|
9821
|
-
|
|
9822
|
-
|
|
9823
|
-
throw new RangeError("Multiple possible absolute times found");
|
|
9824
|
-
}
|
|
9736
|
+
if (valid.length === 1) return valid[0];
|
|
9737
|
+
if (valid.length > 1) switch (disambiguation) {
|
|
9738
|
+
case "compatible":
|
|
9739
|
+
case "earlier":
|
|
9740
|
+
return valid[0];
|
|
9741
|
+
case "later":
|
|
9742
|
+
return valid[valid.length - 1];
|
|
9743
|
+
case "reject":
|
|
9744
|
+
throw new RangeError("Multiple possible absolute times found");
|
|
9745
|
+
}
|
|
9825
9746
|
switch (disambiguation) {
|
|
9826
9747
|
case "earlier":
|
|
9827
9748
|
return Math.min(ms - offsetBefore, ms - offsetAfter);
|
|
@@ -9852,17 +9773,13 @@ function $11d87f3f76e88657$export$93522d1a439f3617(dateTime) {
|
|
|
9852
9773
|
}
|
|
9853
9774
|
function $11d87f3f76e88657$export$b21e0b124e224484(date, time) {
|
|
9854
9775
|
let hour = 0, minute = 0, second = 0, millisecond = 0;
|
|
9855
|
-
if ("timeZone" in date)
|
|
9856
|
-
|
|
9857
|
-
|
|
9858
|
-
return date;
|
|
9859
|
-
if (time)
|
|
9860
|
-
({ hour, minute, second, millisecond } = time);
|
|
9776
|
+
if ("timeZone" in date) ({ hour, minute, second, millisecond } = date);
|
|
9777
|
+
else if ("hour" in date && !time) return date;
|
|
9778
|
+
if (time) ({ hour, minute, second, millisecond } = time);
|
|
9861
9779
|
return new $35ea8db9cb2ccb90$export$ca871e8dbb80966f(date.calendar, date.era, date.year, date.month, date.day, hour, minute, second, millisecond);
|
|
9862
9780
|
}
|
|
9863
9781
|
function $11d87f3f76e88657$export$b4a036af3fc0b032(date, calendar) {
|
|
9864
|
-
if (date.calendar.identifier === calendar.identifier)
|
|
9865
|
-
return date;
|
|
9782
|
+
if (date.calendar.identifier === calendar.identifier) return date;
|
|
9866
9783
|
let calendarDate = calendar.fromJulianDay(date.calendar.toJulianDay(date));
|
|
9867
9784
|
let copy = date.copy();
|
|
9868
9785
|
copy.calendar = calendar;
|
|
@@ -9875,8 +9792,7 @@ function $11d87f3f76e88657$export$b4a036af3fc0b032(date, calendar) {
|
|
|
9875
9792
|
}
|
|
9876
9793
|
function $11d87f3f76e88657$export$84c95a83c799e074(date, timeZone, disambiguation) {
|
|
9877
9794
|
if (date instanceof $35ea8db9cb2ccb90$export$d3b7288e7994edea) {
|
|
9878
|
-
if (date.timeZone === timeZone)
|
|
9879
|
-
return date;
|
|
9795
|
+
if (date.timeZone === timeZone) return date;
|
|
9880
9796
|
return $11d87f3f76e88657$export$538b00033cc11c75(date, timeZone);
|
|
9881
9797
|
}
|
|
9882
9798
|
let ms = $11d87f3f76e88657$export$5107c82f94518f5c(date, timeZone, disambiguation);
|
|
@@ -9895,8 +9811,7 @@ function $735220c2d4774dd3$export$e16d8520af44a096(date, duration) {
|
|
|
9895
9811
|
let mutableDate = date.copy();
|
|
9896
9812
|
let days = "hour" in mutableDate ? $735220c2d4774dd3$var$addTimeFields(mutableDate, duration) : 0;
|
|
9897
9813
|
$735220c2d4774dd3$var$addYears(mutableDate, duration.years || 0);
|
|
9898
|
-
if (mutableDate.calendar.balanceYearMonth)
|
|
9899
|
-
mutableDate.calendar.balanceYearMonth(mutableDate, date);
|
|
9814
|
+
if (mutableDate.calendar.balanceYearMonth) mutableDate.calendar.balanceYearMonth(mutableDate, date);
|
|
9900
9815
|
mutableDate.month += duration.months || 0;
|
|
9901
9816
|
$735220c2d4774dd3$var$balanceYearMonth(mutableDate);
|
|
9902
9817
|
$735220c2d4774dd3$var$constrainMonthDay(mutableDate);
|
|
@@ -9904,8 +9819,7 @@ function $735220c2d4774dd3$export$e16d8520af44a096(date, duration) {
|
|
|
9904
9819
|
mutableDate.day += duration.days || 0;
|
|
9905
9820
|
mutableDate.day += days;
|
|
9906
9821
|
$735220c2d4774dd3$var$balanceDay(mutableDate);
|
|
9907
|
-
if (mutableDate.calendar.balanceDate)
|
|
9908
|
-
mutableDate.calendar.balanceDate(mutableDate);
|
|
9822
|
+
if (mutableDate.calendar.balanceDate) mutableDate.calendar.balanceDate(mutableDate);
|
|
9909
9823
|
if (mutableDate.year < 1) {
|
|
9910
9824
|
mutableDate.year = 1;
|
|
9911
9825
|
mutableDate.month = 1;
|
|
@@ -9933,8 +9847,7 @@ function $735220c2d4774dd3$export$e16d8520af44a096(date, duration) {
|
|
|
9933
9847
|
}
|
|
9934
9848
|
function $735220c2d4774dd3$var$addYears(date, years) {
|
|
9935
9849
|
var _date_calendar_isInverseEra, _date_calendar;
|
|
9936
|
-
if ((_date_calendar_isInverseEra = (_date_calendar = date.calendar).isInverseEra) === null || _date_calendar_isInverseEra === void 0 ? void 0 : _date_calendar_isInverseEra.call(_date_calendar, date))
|
|
9937
|
-
years = -years;
|
|
9850
|
+
if ((_date_calendar_isInverseEra = (_date_calendar = date.calendar).isInverseEra) === null || _date_calendar_isInverseEra === void 0 ? void 0 : _date_calendar_isInverseEra.call(_date_calendar, date)) years = -years;
|
|
9938
9851
|
date.year += years;
|
|
9939
9852
|
}
|
|
9940
9853
|
function $735220c2d4774dd3$var$balanceYearMonth(date) {
|
|
@@ -9965,16 +9878,13 @@ function $735220c2d4774dd3$var$constrainMonthDay(date) {
|
|
|
9965
9878
|
date.day = Math.max(1, Math.min(date.calendar.getDaysInMonth(date), date.day));
|
|
9966
9879
|
}
|
|
9967
9880
|
function $735220c2d4774dd3$export$c4e2ecac49351ef2(date) {
|
|
9968
|
-
if (date.calendar.constrainDate)
|
|
9969
|
-
date.calendar.constrainDate(date);
|
|
9881
|
+
if (date.calendar.constrainDate) date.calendar.constrainDate(date);
|
|
9970
9882
|
date.year = Math.max(1, Math.min(date.calendar.getYearsInEra(date), date.year));
|
|
9971
9883
|
$735220c2d4774dd3$var$constrainMonthDay(date);
|
|
9972
9884
|
}
|
|
9973
9885
|
function $735220c2d4774dd3$export$3e2544e88a25bff8(duration) {
|
|
9974
9886
|
let inverseDuration = {};
|
|
9975
|
-
for (let key in duration)
|
|
9976
|
-
if (typeof duration[key] === "number")
|
|
9977
|
-
inverseDuration[key] = -duration[key];
|
|
9887
|
+
for (let key in duration) if (typeof duration[key] === "number") inverseDuration[key] = -duration[key];
|
|
9978
9888
|
return inverseDuration;
|
|
9979
9889
|
}
|
|
9980
9890
|
function $735220c2d4774dd3$export$4e2d2ead65e5f7e3(date, duration) {
|
|
@@ -9982,27 +9892,19 @@ function $735220c2d4774dd3$export$4e2d2ead65e5f7e3(date, duration) {
|
|
|
9982
9892
|
}
|
|
9983
9893
|
function $735220c2d4774dd3$export$adaa4cf7ef1b65be(date, fields) {
|
|
9984
9894
|
let mutableDate = date.copy();
|
|
9985
|
-
if (fields.era != null)
|
|
9986
|
-
|
|
9987
|
-
if (fields.
|
|
9988
|
-
|
|
9989
|
-
if (fields.month != null)
|
|
9990
|
-
mutableDate.month = fields.month;
|
|
9991
|
-
if (fields.day != null)
|
|
9992
|
-
mutableDate.day = fields.day;
|
|
9895
|
+
if (fields.era != null) mutableDate.era = fields.era;
|
|
9896
|
+
if (fields.year != null) mutableDate.year = fields.year;
|
|
9897
|
+
if (fields.month != null) mutableDate.month = fields.month;
|
|
9898
|
+
if (fields.day != null) mutableDate.day = fields.day;
|
|
9993
9899
|
$735220c2d4774dd3$export$c4e2ecac49351ef2(mutableDate);
|
|
9994
9900
|
return mutableDate;
|
|
9995
9901
|
}
|
|
9996
9902
|
function $735220c2d4774dd3$export$e5d5e1c1822b6e56(value, fields) {
|
|
9997
9903
|
let mutableValue = value.copy();
|
|
9998
|
-
if (fields.hour != null)
|
|
9999
|
-
|
|
10000
|
-
if (fields.
|
|
10001
|
-
|
|
10002
|
-
if (fields.second != null)
|
|
10003
|
-
mutableValue.second = fields.second;
|
|
10004
|
-
if (fields.millisecond != null)
|
|
10005
|
-
mutableValue.millisecond = fields.millisecond;
|
|
9904
|
+
if (fields.hour != null) mutableValue.hour = fields.hour;
|
|
9905
|
+
if (fields.minute != null) mutableValue.minute = fields.minute;
|
|
9906
|
+
if (fields.second != null) mutableValue.second = fields.second;
|
|
9907
|
+
if (fields.millisecond != null) mutableValue.millisecond = fields.millisecond;
|
|
10006
9908
|
$735220c2d4774dd3$export$7555de1e070510cb(mutableValue);
|
|
10007
9909
|
return mutableValue;
|
|
10008
9910
|
}
|
|
@@ -10025,8 +9927,7 @@ function $735220c2d4774dd3$export$7555de1e070510cb(time) {
|
|
|
10025
9927
|
}
|
|
10026
9928
|
function $735220c2d4774dd3$var$nonNegativeMod(a2, b) {
|
|
10027
9929
|
let result = a2 % b;
|
|
10028
|
-
if (result < 0)
|
|
10029
|
-
result += b;
|
|
9930
|
+
if (result < 0) result += b;
|
|
10030
9931
|
return result;
|
|
10031
9932
|
}
|
|
10032
9933
|
function $735220c2d4774dd3$var$addTimeFields(time, duration) {
|
|
@@ -10042,8 +9943,7 @@ function $735220c2d4774dd3$export$d52ced6badfb9a4c(value, field, amount, options
|
|
|
10042
9943
|
case "era": {
|
|
10043
9944
|
let eras = value.calendar.getEras();
|
|
10044
9945
|
let eraIndex = eras.indexOf(value.era);
|
|
10045
|
-
if (eraIndex < 0)
|
|
10046
|
-
throw new Error("Invalid era: " + value.era);
|
|
9946
|
+
if (eraIndex < 0) throw new Error("Invalid era: " + value.era);
|
|
10047
9947
|
eraIndex = $735220c2d4774dd3$var$cycleValue(eraIndex, amount, 0, eras.length - 1, options === null || options === void 0 ? void 0 : options.round);
|
|
10048
9948
|
mutable.era = eras[eraIndex];
|
|
10049
9949
|
$735220c2d4774dd3$export$c4e2ecac49351ef2(mutable);
|
|
@@ -10051,13 +9951,10 @@ function $735220c2d4774dd3$export$d52ced6badfb9a4c(value, field, amount, options
|
|
|
10051
9951
|
}
|
|
10052
9952
|
case "year":
|
|
10053
9953
|
var _mutable_calendar_isInverseEra, _mutable_calendar;
|
|
10054
|
-
if ((_mutable_calendar_isInverseEra = (_mutable_calendar = mutable.calendar).isInverseEra) === null || _mutable_calendar_isInverseEra === void 0 ? void 0 : _mutable_calendar_isInverseEra.call(_mutable_calendar, mutable))
|
|
10055
|
-
amount = -amount;
|
|
9954
|
+
if ((_mutable_calendar_isInverseEra = (_mutable_calendar = mutable.calendar).isInverseEra) === null || _mutable_calendar_isInverseEra === void 0 ? void 0 : _mutable_calendar_isInverseEra.call(_mutable_calendar, mutable)) amount = -amount;
|
|
10056
9955
|
mutable.year = $735220c2d4774dd3$var$cycleValue(value.year, amount, -Infinity, 9999, options === null || options === void 0 ? void 0 : options.round);
|
|
10057
|
-
if (mutable.year === -Infinity)
|
|
10058
|
-
|
|
10059
|
-
if (mutable.calendar.balanceYearMonth)
|
|
10060
|
-
mutable.calendar.balanceYearMonth(mutable, value);
|
|
9956
|
+
if (mutable.year === -Infinity) mutable.year = 1;
|
|
9957
|
+
if (mutable.calendar.balanceYearMonth) mutable.calendar.balanceYearMonth(mutable, value);
|
|
10061
9958
|
break;
|
|
10062
9959
|
case "month":
|
|
10063
9960
|
mutable.month = $735220c2d4774dd3$var$cycleValue(value.month, amount, 1, value.calendar.getMonthsInYear(value), options === null || options === void 0 ? void 0 : options.round);
|
|
@@ -10068,8 +9965,7 @@ function $735220c2d4774dd3$export$d52ced6badfb9a4c(value, field, amount, options
|
|
|
10068
9965
|
default:
|
|
10069
9966
|
throw new Error("Unsupported field " + field);
|
|
10070
9967
|
}
|
|
10071
|
-
if (value.calendar.balanceDate)
|
|
10072
|
-
value.calendar.balanceDate(mutable);
|
|
9968
|
+
if (value.calendar.balanceDate) value.calendar.balanceDate(mutable);
|
|
10073
9969
|
$735220c2d4774dd3$export$c4e2ecac49351ef2(mutable);
|
|
10074
9970
|
return mutable;
|
|
10075
9971
|
}
|
|
@@ -10105,21 +10001,15 @@ function $735220c2d4774dd3$export$dd02b3e0007dfe28(value, field, amount, options
|
|
|
10105
10001
|
function $735220c2d4774dd3$var$cycleValue(value, amount, min, max2, round = false) {
|
|
10106
10002
|
if (round) {
|
|
10107
10003
|
value += Math.sign(amount);
|
|
10108
|
-
if (value < min)
|
|
10109
|
-
value = max2;
|
|
10004
|
+
if (value < min) value = max2;
|
|
10110
10005
|
let div = Math.abs(amount);
|
|
10111
|
-
if (amount > 0)
|
|
10112
|
-
|
|
10113
|
-
|
|
10114
|
-
value = Math.floor(value / div) * div;
|
|
10115
|
-
if (value > max2)
|
|
10116
|
-
value = min;
|
|
10006
|
+
if (amount > 0) value = Math.ceil(value / div) * div;
|
|
10007
|
+
else value = Math.floor(value / div) * div;
|
|
10008
|
+
if (value > max2) value = min;
|
|
10117
10009
|
} else {
|
|
10118
10010
|
value += amount;
|
|
10119
|
-
if (value < min)
|
|
10120
|
-
|
|
10121
|
-
else if (value > max2)
|
|
10122
|
-
value = min + (value - max2 - 1);
|
|
10011
|
+
if (value < min) value = max2 - (min - value - 1);
|
|
10012
|
+
else if (value > max2) value = min + (value - max2 - 1);
|
|
10123
10013
|
}
|
|
10124
10014
|
return value;
|
|
10125
10015
|
}
|
|
@@ -10195,27 +10085,23 @@ function $735220c2d4774dd3$export$9a297d111fc86b79(dateTime, field, amount, opti
|
|
|
10195
10085
|
function $735220c2d4774dd3$export$31b5430eb18be4f8(dateTime, fields, disambiguation) {
|
|
10196
10086
|
let plainDateTime = $11d87f3f76e88657$export$b21e0b124e224484(dateTime);
|
|
10197
10087
|
let res = $735220c2d4774dd3$export$e5d5e1c1822b6e56($735220c2d4774dd3$export$adaa4cf7ef1b65be(plainDateTime, fields), fields);
|
|
10198
|
-
if (res.compare(plainDateTime) === 0)
|
|
10199
|
-
return dateTime;
|
|
10088
|
+
if (res.compare(plainDateTime) === 0) return dateTime;
|
|
10200
10089
|
let ms = $11d87f3f76e88657$export$5107c82f94518f5c(res, dateTime.timeZone, disambiguation);
|
|
10201
10090
|
return $11d87f3f76e88657$export$b4a036af3fc0b032($11d87f3f76e88657$export$1b96692a1ba042ac(ms, dateTime.timeZone), dateTime.calendar);
|
|
10202
10091
|
}
|
|
10203
10092
|
const $fae977aafc393c5c$var$ABSOLUTE_RE = /^(\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?(?:(?:([+-]\d{2})(?::?(\d{2}))?)|Z)$/;
|
|
10204
10093
|
function $fae977aafc393c5c$export$5adfdab05168c219(value, timeZone) {
|
|
10205
10094
|
let m = value.match($fae977aafc393c5c$var$ABSOLUTE_RE);
|
|
10206
|
-
if (!m)
|
|
10207
|
-
throw new Error("Invalid ISO 8601 date time string: " + value);
|
|
10095
|
+
if (!m) throw new Error("Invalid ISO 8601 date time string: " + value);
|
|
10208
10096
|
let date = new $35ea8db9cb2ccb90$export$d3b7288e7994edea($fae977aafc393c5c$var$parseNumber(m[1], 1, 9999), $fae977aafc393c5c$var$parseNumber(m[2], 1, 12), 1, timeZone, 0, m[4] ? $fae977aafc393c5c$var$parseNumber(m[4], 0, 23) : 0, m[5] ? $fae977aafc393c5c$var$parseNumber(m[5], 0, 59) : 0, m[6] ? $fae977aafc393c5c$var$parseNumber(m[6], 0, 59) : 0, m[7] ? $fae977aafc393c5c$var$parseNumber(m[7], 0, Infinity) * 1e3 : 0);
|
|
10209
10097
|
date.day = $fae977aafc393c5c$var$parseNumber(m[3], 0, date.calendar.getDaysInMonth(date));
|
|
10210
10098
|
var _m_;
|
|
10211
|
-
if (m[8])
|
|
10212
|
-
date.offset = $fae977aafc393c5c$var$parseNumber(m[8], -23, 23) * 36e5 + $fae977aafc393c5c$var$parseNumber((_m_ = m[9]) !== null && _m_ !== void 0 ? _m_ : "0", 0, 59) * 6e4;
|
|
10099
|
+
if (m[8]) date.offset = $fae977aafc393c5c$var$parseNumber(m[8], -23, 23) * 36e5 + $fae977aafc393c5c$var$parseNumber((_m_ = m[9]) !== null && _m_ !== void 0 ? _m_ : "0", 0, 59) * 6e4;
|
|
10213
10100
|
return $11d87f3f76e88657$export$538b00033cc11c75(date, timeZone);
|
|
10214
10101
|
}
|
|
10215
10102
|
function $fae977aafc393c5c$var$parseNumber(value, min, max2) {
|
|
10216
10103
|
let val = Number(value);
|
|
10217
|
-
if (val < min || val > max2)
|
|
10218
|
-
throw new RangeError(`Value out of range: ${min} <= ${val} <= ${max2}`);
|
|
10104
|
+
if (val < min || val > max2) throw new RangeError(`Value out of range: ${min} <= ${val} <= ${max2}`);
|
|
10219
10105
|
return val;
|
|
10220
10106
|
}
|
|
10221
10107
|
function $fae977aafc393c5c$export$f59dee82248f5ad4(time) {
|
|
@@ -10250,8 +10136,7 @@ function _class_private_field_init(obj, privateMap, value) {
|
|
|
10250
10136
|
function $35ea8db9cb2ccb90$var$shiftArgs(args) {
|
|
10251
10137
|
let calendar = typeof args[0] === "object" ? args.shift() : new $3b62074eb05584b2$export$80ee6245ec4f29ec();
|
|
10252
10138
|
let era;
|
|
10253
|
-
if (typeof args[0] === "string")
|
|
10254
|
-
era = args.shift();
|
|
10139
|
+
if (typeof args[0] === "string") era = args.shift();
|
|
10255
10140
|
else {
|
|
10256
10141
|
let eras = calendar.getEras();
|
|
10257
10142
|
era = eras[eras.length - 1];
|
|
@@ -10271,10 +10156,8 @@ var $35ea8db9cb2ccb90$var$_type = /* @__PURE__ */ new WeakMap();
|
|
|
10271
10156
|
class $35ea8db9cb2ccb90$export$99faa760c7908e4f {
|
|
10272
10157
|
/** Returns a copy of this date. */
|
|
10273
10158
|
copy() {
|
|
10274
|
-
if (this.era)
|
|
10275
|
-
|
|
10276
|
-
else
|
|
10277
|
-
return new $35ea8db9cb2ccb90$export$99faa760c7908e4f(this.calendar, this.year, this.month, this.day);
|
|
10159
|
+
if (this.era) return new $35ea8db9cb2ccb90$export$99faa760c7908e4f(this.calendar, this.era, this.year, this.month, this.day);
|
|
10160
|
+
else return new $35ea8db9cb2ccb90$export$99faa760c7908e4f(this.calendar, this.year, this.month, this.day);
|
|
10278
10161
|
}
|
|
10279
10162
|
/** Returns a new `CalendarDate` with the given duration added to it. */
|
|
10280
10163
|
add(duration) {
|
|
@@ -10325,10 +10208,8 @@ var $35ea8db9cb2ccb90$var$_type2 = /* @__PURE__ */ new WeakMap();
|
|
|
10325
10208
|
class $35ea8db9cb2ccb90$export$ca871e8dbb80966f {
|
|
10326
10209
|
/** Returns a copy of this date. */
|
|
10327
10210
|
copy() {
|
|
10328
|
-
if (this.era)
|
|
10329
|
-
|
|
10330
|
-
else
|
|
10331
|
-
return new $35ea8db9cb2ccb90$export$ca871e8dbb80966f(this.calendar, this.year, this.month, this.day, this.hour, this.minute, this.second, this.millisecond);
|
|
10211
|
+
if (this.era) return new $35ea8db9cb2ccb90$export$ca871e8dbb80966f(this.calendar, this.era, this.year, this.month, this.day, this.hour, this.minute, this.second, this.millisecond);
|
|
10212
|
+
else return new $35ea8db9cb2ccb90$export$ca871e8dbb80966f(this.calendar, this.year, this.month, this.day, this.hour, this.minute, this.second, this.millisecond);
|
|
10332
10213
|
}
|
|
10333
10214
|
/** Returns a new `CalendarDateTime` with the given duration added to it. */
|
|
10334
10215
|
add(duration) {
|
|
@@ -10368,8 +10249,7 @@ class $35ea8db9cb2ccb90$export$ca871e8dbb80966f {
|
|
|
10368
10249
|
/** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */
|
|
10369
10250
|
compare(b) {
|
|
10370
10251
|
let res = $14e0f24ef4ac5c92$export$68781ddf31c0090f(this, b);
|
|
10371
|
-
if (res === 0)
|
|
10372
|
-
return $14e0f24ef4ac5c92$export$c19a80a9721b80f6(this, $11d87f3f76e88657$export$b21e0b124e224484(b));
|
|
10252
|
+
if (res === 0) return $14e0f24ef4ac5c92$export$c19a80a9721b80f6(this, $11d87f3f76e88657$export$b21e0b124e224484(b));
|
|
10373
10253
|
return res;
|
|
10374
10254
|
}
|
|
10375
10255
|
constructor(...args) {
|
|
@@ -10394,10 +10274,8 @@ var $35ea8db9cb2ccb90$var$_type3 = /* @__PURE__ */ new WeakMap();
|
|
|
10394
10274
|
class $35ea8db9cb2ccb90$export$d3b7288e7994edea {
|
|
10395
10275
|
/** Returns a copy of this date. */
|
|
10396
10276
|
copy() {
|
|
10397
|
-
if (this.era)
|
|
10398
|
-
|
|
10399
|
-
else
|
|
10400
|
-
return new $35ea8db9cb2ccb90$export$d3b7288e7994edea(this.calendar, this.year, this.month, this.day, this.timeZone, this.offset, this.hour, this.minute, this.second, this.millisecond);
|
|
10277
|
+
if (this.era) return new $35ea8db9cb2ccb90$export$d3b7288e7994edea(this.calendar, this.era, this.year, this.month, this.day, this.timeZone, this.offset, this.hour, this.minute, this.second, this.millisecond);
|
|
10278
|
+
else return new $35ea8db9cb2ccb90$export$d3b7288e7994edea(this.calendar, this.year, this.month, this.day, this.timeZone, this.offset, this.hour, this.minute, this.second, this.millisecond);
|
|
10401
10279
|
}
|
|
10402
10280
|
/** Returns a new `ZonedDateTime` with the given duration added to it. */
|
|
10403
10281
|
add(duration) {
|
|
@@ -12023,4 +11901,4 @@ adminApi.enhanceEndpoints({
|
|
|
12023
11901
|
});
|
|
12024
11902
|
exports.Layouts = Layouts;
|
|
12025
11903
|
exports.useTracking = useTracking;
|
|
12026
|
-
//# sourceMappingURL=index-
|
|
11904
|
+
//# sourceMappingURL=index-UBwCyQ_3-lG3F5mWr.js.map
|