@teselagen/ove 0.3.57 → 0.3.59
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/index.cjs.js +233 -1595
- package/index.es.js +233 -1595
- package/index.umd.js +122 -1441
- package/package.json +2 -3
- package/src/LinearView/SequenceName.js +1 -1
- package/src/LinearView/style.css +4 -1
- package/src/redux/panelsShown.js +10 -8
- package/style.css +6 -3
package/index.cjs.js
CHANGED
|
@@ -110,12 +110,12 @@ var beforeRead = "beforeRead";
|
|
|
110
110
|
var read = "read";
|
|
111
111
|
var afterRead = "afterRead";
|
|
112
112
|
var beforeMain = "beforeMain";
|
|
113
|
-
var main$
|
|
113
|
+
var main$1 = "main";
|
|
114
114
|
var afterMain = "afterMain";
|
|
115
115
|
var beforeWrite = "beforeWrite";
|
|
116
116
|
var write = "write";
|
|
117
117
|
var afterWrite = "afterWrite";
|
|
118
|
-
var modifierPhases = [beforeRead, read, afterRead, beforeMain, main$
|
|
118
|
+
var modifierPhases = [beforeRead, read, afterRead, beforeMain, main$1, afterMain, beforeWrite, write, afterWrite];
|
|
119
119
|
function getNodeName(element2) {
|
|
120
120
|
return element2 ? (element2.nodeName || "").toLowerCase() : null;
|
|
121
121
|
}
|
|
@@ -2839,7 +2839,7 @@ var followCursor = {
|
|
|
2839
2839
|
}
|
|
2840
2840
|
}
|
|
2841
2841
|
__name(onMouseMove, "onMouseMove");
|
|
2842
|
-
function
|
|
2842
|
+
function create6() {
|
|
2843
2843
|
if (instance.props.followCursor) {
|
|
2844
2844
|
activeInstances.push({
|
|
2845
2845
|
instance,
|
|
@@ -2848,7 +2848,7 @@ var followCursor = {
|
|
|
2848
2848
|
addMouseCoordsListener(doc);
|
|
2849
2849
|
}
|
|
2850
2850
|
}
|
|
2851
|
-
__name(
|
|
2851
|
+
__name(create6, "create");
|
|
2852
2852
|
function destroy2() {
|
|
2853
2853
|
activeInstances = activeInstances.filter(function(data) {
|
|
2854
2854
|
return data.instance !== instance;
|
|
@@ -2861,7 +2861,7 @@ var followCursor = {
|
|
|
2861
2861
|
}
|
|
2862
2862
|
__name(destroy2, "destroy");
|
|
2863
2863
|
return {
|
|
2864
|
-
onCreate:
|
|
2864
|
+
onCreate: create6,
|
|
2865
2865
|
onDestroy: destroy2,
|
|
2866
2866
|
onBeforeUpdate: /* @__PURE__ */ __name(function onBeforeUpdate2() {
|
|
2867
2867
|
prevProps = instance.props;
|
|
@@ -2874,7 +2874,7 @@ var followCursor = {
|
|
|
2874
2874
|
if (followCursor2 !== void 0 && prevProps.followCursor !== followCursor2) {
|
|
2875
2875
|
destroy2();
|
|
2876
2876
|
if (followCursor2) {
|
|
2877
|
-
|
|
2877
|
+
create6();
|
|
2878
2878
|
if (instance.state.isMounted && !wasFocusEvent && !getIsInitialBehavior()) {
|
|
2879
2879
|
addListener();
|
|
2880
2880
|
}
|
|
@@ -3105,1322 +3105,6 @@ function getAugmentedNamespace(n2) {
|
|
|
3105
3105
|
return a2;
|
|
3106
3106
|
}
|
|
3107
3107
|
__name(getAugmentedNamespace, "getAugmentedNamespace");
|
|
3108
|
-
var axios$3 = { exports: {} };
|
|
3109
|
-
var bind$5 = /* @__PURE__ */ __name(function bind(fn4, thisArg) {
|
|
3110
|
-
return /* @__PURE__ */ __name(function wrap2() {
|
|
3111
|
-
var args = new Array(arguments.length);
|
|
3112
|
-
for (var i = 0; i < args.length; i++) {
|
|
3113
|
-
args[i] = arguments[i];
|
|
3114
|
-
}
|
|
3115
|
-
return fn4.apply(thisArg, args);
|
|
3116
|
-
}, "wrap");
|
|
3117
|
-
}, "bind");
|
|
3118
|
-
var bind$4 = bind$5;
|
|
3119
|
-
var toString$8 = Object.prototype.toString;
|
|
3120
|
-
function isArray$r(val2) {
|
|
3121
|
-
return toString$8.call(val2) === "[object Array]";
|
|
3122
|
-
}
|
|
3123
|
-
__name(isArray$r, "isArray$r");
|
|
3124
|
-
function isUndefined$1(val2) {
|
|
3125
|
-
return typeof val2 === "undefined";
|
|
3126
|
-
}
|
|
3127
|
-
__name(isUndefined$1, "isUndefined$1");
|
|
3128
|
-
function isBuffer$a(val2) {
|
|
3129
|
-
return val2 !== null && !isUndefined$1(val2) && val2.constructor !== null && !isUndefined$1(val2.constructor) && typeof val2.constructor.isBuffer === "function" && val2.constructor.isBuffer(val2);
|
|
3130
|
-
}
|
|
3131
|
-
__name(isBuffer$a, "isBuffer$a");
|
|
3132
|
-
function isArrayBuffer(val2) {
|
|
3133
|
-
return toString$8.call(val2) === "[object ArrayBuffer]";
|
|
3134
|
-
}
|
|
3135
|
-
__name(isArrayBuffer, "isArrayBuffer");
|
|
3136
|
-
function isFormData(val2) {
|
|
3137
|
-
return typeof FormData !== "undefined" && val2 instanceof FormData;
|
|
3138
|
-
}
|
|
3139
|
-
__name(isFormData, "isFormData");
|
|
3140
|
-
function isArrayBufferView(val2) {
|
|
3141
|
-
var result;
|
|
3142
|
-
if (typeof ArrayBuffer !== "undefined" && ArrayBuffer.isView) {
|
|
3143
|
-
result = ArrayBuffer.isView(val2);
|
|
3144
|
-
} else {
|
|
3145
|
-
result = val2 && val2.buffer && val2.buffer instanceof ArrayBuffer;
|
|
3146
|
-
}
|
|
3147
|
-
return result;
|
|
3148
|
-
}
|
|
3149
|
-
__name(isArrayBufferView, "isArrayBufferView");
|
|
3150
|
-
function isString$3(val2) {
|
|
3151
|
-
return typeof val2 === "string";
|
|
3152
|
-
}
|
|
3153
|
-
__name(isString$3, "isString$3");
|
|
3154
|
-
function isNumber$6(val2) {
|
|
3155
|
-
return typeof val2 === "number";
|
|
3156
|
-
}
|
|
3157
|
-
__name(isNumber$6, "isNumber$6");
|
|
3158
|
-
function isObject$h(val2) {
|
|
3159
|
-
return val2 !== null && typeof val2 === "object";
|
|
3160
|
-
}
|
|
3161
|
-
__name(isObject$h, "isObject$h");
|
|
3162
|
-
function isPlainObject$6(val2) {
|
|
3163
|
-
if (toString$8.call(val2) !== "[object Object]") {
|
|
3164
|
-
return false;
|
|
3165
|
-
}
|
|
3166
|
-
var prototype = Object.getPrototypeOf(val2);
|
|
3167
|
-
return prototype === null || prototype === Object.prototype;
|
|
3168
|
-
}
|
|
3169
|
-
__name(isPlainObject$6, "isPlainObject$6");
|
|
3170
|
-
function isDate$2(val2) {
|
|
3171
|
-
return toString$8.call(val2) === "[object Date]";
|
|
3172
|
-
}
|
|
3173
|
-
__name(isDate$2, "isDate$2");
|
|
3174
|
-
function isFile(val2) {
|
|
3175
|
-
return toString$8.call(val2) === "[object File]";
|
|
3176
|
-
}
|
|
3177
|
-
__name(isFile, "isFile");
|
|
3178
|
-
function isBlob(val2) {
|
|
3179
|
-
return toString$8.call(val2) === "[object Blob]";
|
|
3180
|
-
}
|
|
3181
|
-
__name(isBlob, "isBlob");
|
|
3182
|
-
function isFunction$8(val2) {
|
|
3183
|
-
return toString$8.call(val2) === "[object Function]";
|
|
3184
|
-
}
|
|
3185
|
-
__name(isFunction$8, "isFunction$8");
|
|
3186
|
-
function isStream(val2) {
|
|
3187
|
-
return isObject$h(val2) && isFunction$8(val2.pipe);
|
|
3188
|
-
}
|
|
3189
|
-
__name(isStream, "isStream");
|
|
3190
|
-
function isURLSearchParams(val2) {
|
|
3191
|
-
return typeof URLSearchParams !== "undefined" && val2 instanceof URLSearchParams;
|
|
3192
|
-
}
|
|
3193
|
-
__name(isURLSearchParams, "isURLSearchParams");
|
|
3194
|
-
function trim$1(str) {
|
|
3195
|
-
return str.trim ? str.trim() : str.replace(/^\s+|\s+$/g, "");
|
|
3196
|
-
}
|
|
3197
|
-
__name(trim$1, "trim$1");
|
|
3198
|
-
function isStandardBrowserEnv() {
|
|
3199
|
-
if (typeof navigator !== "undefined" && (navigator.product === "ReactNative" || navigator.product === "NativeScript" || navigator.product === "NS")) {
|
|
3200
|
-
return false;
|
|
3201
|
-
}
|
|
3202
|
-
return typeof window !== "undefined" && typeof document !== "undefined";
|
|
3203
|
-
}
|
|
3204
|
-
__name(isStandardBrowserEnv, "isStandardBrowserEnv");
|
|
3205
|
-
function forEach$5(obj, fn4) {
|
|
3206
|
-
if (obj === null || typeof obj === "undefined") {
|
|
3207
|
-
return;
|
|
3208
|
-
}
|
|
3209
|
-
if (typeof obj !== "object") {
|
|
3210
|
-
obj = [obj];
|
|
3211
|
-
}
|
|
3212
|
-
if (isArray$r(obj)) {
|
|
3213
|
-
for (var i = 0, l2 = obj.length; i < l2; i++) {
|
|
3214
|
-
fn4.call(null, obj[i], i, obj);
|
|
3215
|
-
}
|
|
3216
|
-
} else {
|
|
3217
|
-
for (var key in obj) {
|
|
3218
|
-
if (Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
3219
|
-
fn4.call(null, obj[key], key, obj);
|
|
3220
|
-
}
|
|
3221
|
-
}
|
|
3222
|
-
}
|
|
3223
|
-
}
|
|
3224
|
-
__name(forEach$5, "forEach$5");
|
|
3225
|
-
function merge$4() {
|
|
3226
|
-
var result = {};
|
|
3227
|
-
function assignValue2(val2, key) {
|
|
3228
|
-
if (isPlainObject$6(result[key]) && isPlainObject$6(val2)) {
|
|
3229
|
-
result[key] = merge$4(result[key], val2);
|
|
3230
|
-
} else if (isPlainObject$6(val2)) {
|
|
3231
|
-
result[key] = merge$4({}, val2);
|
|
3232
|
-
} else if (isArray$r(val2)) {
|
|
3233
|
-
result[key] = val2.slice();
|
|
3234
|
-
} else {
|
|
3235
|
-
result[key] = val2;
|
|
3236
|
-
}
|
|
3237
|
-
}
|
|
3238
|
-
__name(assignValue2, "assignValue");
|
|
3239
|
-
for (var i = 0, l2 = arguments.length; i < l2; i++) {
|
|
3240
|
-
forEach$5(arguments[i], assignValue2);
|
|
3241
|
-
}
|
|
3242
|
-
return result;
|
|
3243
|
-
}
|
|
3244
|
-
__name(merge$4, "merge$4");
|
|
3245
|
-
function extend$2(a2, b3, thisArg) {
|
|
3246
|
-
forEach$5(b3, /* @__PURE__ */ __name(function assignValue2(val2, key) {
|
|
3247
|
-
if (thisArg && typeof val2 === "function") {
|
|
3248
|
-
a2[key] = bind$4(val2, thisArg);
|
|
3249
|
-
} else {
|
|
3250
|
-
a2[key] = val2;
|
|
3251
|
-
}
|
|
3252
|
-
}, "assignValue"));
|
|
3253
|
-
return a2;
|
|
3254
|
-
}
|
|
3255
|
-
__name(extend$2, "extend$2");
|
|
3256
|
-
function stripBOM(content2) {
|
|
3257
|
-
if (content2.charCodeAt(0) === 65279) {
|
|
3258
|
-
content2 = content2.slice(1);
|
|
3259
|
-
}
|
|
3260
|
-
return content2;
|
|
3261
|
-
}
|
|
3262
|
-
__name(stripBOM, "stripBOM");
|
|
3263
|
-
var utils$g = {
|
|
3264
|
-
isArray: isArray$r,
|
|
3265
|
-
isArrayBuffer,
|
|
3266
|
-
isBuffer: isBuffer$a,
|
|
3267
|
-
isFormData,
|
|
3268
|
-
isArrayBufferView,
|
|
3269
|
-
isString: isString$3,
|
|
3270
|
-
isNumber: isNumber$6,
|
|
3271
|
-
isObject: isObject$h,
|
|
3272
|
-
isPlainObject: isPlainObject$6,
|
|
3273
|
-
isUndefined: isUndefined$1,
|
|
3274
|
-
isDate: isDate$2,
|
|
3275
|
-
isFile,
|
|
3276
|
-
isBlob,
|
|
3277
|
-
isFunction: isFunction$8,
|
|
3278
|
-
isStream,
|
|
3279
|
-
isURLSearchParams,
|
|
3280
|
-
isStandardBrowserEnv,
|
|
3281
|
-
forEach: forEach$5,
|
|
3282
|
-
merge: merge$4,
|
|
3283
|
-
extend: extend$2,
|
|
3284
|
-
trim: trim$1,
|
|
3285
|
-
stripBOM
|
|
3286
|
-
};
|
|
3287
|
-
var utils$f = utils$g;
|
|
3288
|
-
function encode$1(val2) {
|
|
3289
|
-
return encodeURIComponent(val2).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
3290
|
-
}
|
|
3291
|
-
__name(encode$1, "encode$1");
|
|
3292
|
-
var buildURL$1 = /* @__PURE__ */ __name(function buildURL(url, params, paramsSerializer) {
|
|
3293
|
-
if (!params) {
|
|
3294
|
-
return url;
|
|
3295
|
-
}
|
|
3296
|
-
var serializedParams;
|
|
3297
|
-
if (paramsSerializer) {
|
|
3298
|
-
serializedParams = paramsSerializer(params);
|
|
3299
|
-
} else if (utils$f.isURLSearchParams(params)) {
|
|
3300
|
-
serializedParams = params.toString();
|
|
3301
|
-
} else {
|
|
3302
|
-
var parts2 = [];
|
|
3303
|
-
utils$f.forEach(params, /* @__PURE__ */ __name(function serialize2(val2, key) {
|
|
3304
|
-
if (val2 === null || typeof val2 === "undefined") {
|
|
3305
|
-
return;
|
|
3306
|
-
}
|
|
3307
|
-
if (utils$f.isArray(val2)) {
|
|
3308
|
-
key = key + "[]";
|
|
3309
|
-
} else {
|
|
3310
|
-
val2 = [val2];
|
|
3311
|
-
}
|
|
3312
|
-
utils$f.forEach(val2, /* @__PURE__ */ __name(function parseValue2(v2) {
|
|
3313
|
-
if (utils$f.isDate(v2)) {
|
|
3314
|
-
v2 = v2.toISOString();
|
|
3315
|
-
} else if (utils$f.isObject(v2)) {
|
|
3316
|
-
v2 = JSON.stringify(v2);
|
|
3317
|
-
}
|
|
3318
|
-
parts2.push(encode$1(key) + "=" + encode$1(v2));
|
|
3319
|
-
}, "parseValue"));
|
|
3320
|
-
}, "serialize"));
|
|
3321
|
-
serializedParams = parts2.join("&");
|
|
3322
|
-
}
|
|
3323
|
-
if (serializedParams) {
|
|
3324
|
-
var hashmarkIndex = url.indexOf("#");
|
|
3325
|
-
if (hashmarkIndex !== -1) {
|
|
3326
|
-
url = url.slice(0, hashmarkIndex);
|
|
3327
|
-
}
|
|
3328
|
-
url += (url.indexOf("?") === -1 ? "?" : "&") + serializedParams;
|
|
3329
|
-
}
|
|
3330
|
-
return url;
|
|
3331
|
-
}, "buildURL");
|
|
3332
|
-
var utils$e = utils$g;
|
|
3333
|
-
function InterceptorManager$1() {
|
|
3334
|
-
this.handlers = [];
|
|
3335
|
-
}
|
|
3336
|
-
__name(InterceptorManager$1, "InterceptorManager$1");
|
|
3337
|
-
InterceptorManager$1.prototype.use = /* @__PURE__ */ __name(function use(fulfilled, rejected, options) {
|
|
3338
|
-
this.handlers.push({
|
|
3339
|
-
fulfilled,
|
|
3340
|
-
rejected,
|
|
3341
|
-
synchronous: options ? options.synchronous : false,
|
|
3342
|
-
runWhen: options ? options.runWhen : null
|
|
3343
|
-
});
|
|
3344
|
-
return this.handlers.length - 1;
|
|
3345
|
-
}, "use");
|
|
3346
|
-
InterceptorManager$1.prototype.eject = /* @__PURE__ */ __name(function eject(id2) {
|
|
3347
|
-
if (this.handlers[id2]) {
|
|
3348
|
-
this.handlers[id2] = null;
|
|
3349
|
-
}
|
|
3350
|
-
}, "eject");
|
|
3351
|
-
InterceptorManager$1.prototype.forEach = /* @__PURE__ */ __name(function forEach(fn4) {
|
|
3352
|
-
utils$e.forEach(this.handlers, /* @__PURE__ */ __name(function forEachHandler(h2) {
|
|
3353
|
-
if (h2 !== null) {
|
|
3354
|
-
fn4(h2);
|
|
3355
|
-
}
|
|
3356
|
-
}, "forEachHandler"));
|
|
3357
|
-
}, "forEach");
|
|
3358
|
-
var InterceptorManager_1 = InterceptorManager$1;
|
|
3359
|
-
var utils$d = utils$g;
|
|
3360
|
-
var normalizeHeaderName$1 = /* @__PURE__ */ __name(function normalizeHeaderName(headers, normalizedName) {
|
|
3361
|
-
utils$d.forEach(headers, /* @__PURE__ */ __name(function processHeader(value, name2) {
|
|
3362
|
-
if (name2 !== normalizedName && name2.toUpperCase() === normalizedName.toUpperCase()) {
|
|
3363
|
-
headers[normalizedName] = value;
|
|
3364
|
-
delete headers[name2];
|
|
3365
|
-
}
|
|
3366
|
-
}, "processHeader"));
|
|
3367
|
-
}, "normalizeHeaderName");
|
|
3368
|
-
var enhanceError$1 = /* @__PURE__ */ __name(function enhanceError(error, config, code2, request2, response) {
|
|
3369
|
-
error.config = config;
|
|
3370
|
-
if (code2) {
|
|
3371
|
-
error.code = code2;
|
|
3372
|
-
}
|
|
3373
|
-
error.request = request2;
|
|
3374
|
-
error.response = response;
|
|
3375
|
-
error.isAxiosError = true;
|
|
3376
|
-
error.toJSON = /* @__PURE__ */ __name(function toJSON2() {
|
|
3377
|
-
return {
|
|
3378
|
-
// Standard
|
|
3379
|
-
message: this.message,
|
|
3380
|
-
name: this.name,
|
|
3381
|
-
// Microsoft
|
|
3382
|
-
description: this.description,
|
|
3383
|
-
number: this.number,
|
|
3384
|
-
// Mozilla
|
|
3385
|
-
fileName: this.fileName,
|
|
3386
|
-
lineNumber: this.lineNumber,
|
|
3387
|
-
columnNumber: this.columnNumber,
|
|
3388
|
-
stack: this.stack,
|
|
3389
|
-
// Axios
|
|
3390
|
-
config: this.config,
|
|
3391
|
-
code: this.code
|
|
3392
|
-
};
|
|
3393
|
-
}, "toJSON");
|
|
3394
|
-
return error;
|
|
3395
|
-
}, "enhanceError");
|
|
3396
|
-
var createError;
|
|
3397
|
-
var hasRequiredCreateError;
|
|
3398
|
-
function requireCreateError() {
|
|
3399
|
-
if (hasRequiredCreateError)
|
|
3400
|
-
return createError;
|
|
3401
|
-
hasRequiredCreateError = 1;
|
|
3402
|
-
var enhanceError3 = enhanceError$1;
|
|
3403
|
-
createError = /* @__PURE__ */ __name(function createError2(message, config, code2, request2, response) {
|
|
3404
|
-
var error = new Error(message);
|
|
3405
|
-
return enhanceError3(error, config, code2, request2, response);
|
|
3406
|
-
}, "createError");
|
|
3407
|
-
return createError;
|
|
3408
|
-
}
|
|
3409
|
-
__name(requireCreateError, "requireCreateError");
|
|
3410
|
-
var settle;
|
|
3411
|
-
var hasRequiredSettle;
|
|
3412
|
-
function requireSettle() {
|
|
3413
|
-
if (hasRequiredSettle)
|
|
3414
|
-
return settle;
|
|
3415
|
-
hasRequiredSettle = 1;
|
|
3416
|
-
var createError2 = requireCreateError();
|
|
3417
|
-
settle = /* @__PURE__ */ __name(function settle2(resolve, reject, response) {
|
|
3418
|
-
var validateStatus2 = response.config.validateStatus;
|
|
3419
|
-
if (!response.status || !validateStatus2 || validateStatus2(response.status)) {
|
|
3420
|
-
resolve(response);
|
|
3421
|
-
} else {
|
|
3422
|
-
reject(createError2(
|
|
3423
|
-
"Request failed with status code " + response.status,
|
|
3424
|
-
response.config,
|
|
3425
|
-
null,
|
|
3426
|
-
response.request,
|
|
3427
|
-
response
|
|
3428
|
-
));
|
|
3429
|
-
}
|
|
3430
|
-
}, "settle");
|
|
3431
|
-
return settle;
|
|
3432
|
-
}
|
|
3433
|
-
__name(requireSettle, "requireSettle");
|
|
3434
|
-
var cookies;
|
|
3435
|
-
var hasRequiredCookies;
|
|
3436
|
-
function requireCookies() {
|
|
3437
|
-
if (hasRequiredCookies)
|
|
3438
|
-
return cookies;
|
|
3439
|
-
hasRequiredCookies = 1;
|
|
3440
|
-
var utils2 = utils$g;
|
|
3441
|
-
cookies = utils2.isStandardBrowserEnv() ? (
|
|
3442
|
-
// Standard browser envs support document.cookie
|
|
3443
|
-
(/* @__PURE__ */ __name(function standardBrowserEnv() {
|
|
3444
|
-
return {
|
|
3445
|
-
write: /* @__PURE__ */ __name(function write2(name2, value, expires, path2, domain2, secure) {
|
|
3446
|
-
var cookie = [];
|
|
3447
|
-
cookie.push(name2 + "=" + encodeURIComponent(value));
|
|
3448
|
-
if (utils2.isNumber(expires)) {
|
|
3449
|
-
cookie.push("expires=" + new Date(expires).toGMTString());
|
|
3450
|
-
}
|
|
3451
|
-
if (utils2.isString(path2)) {
|
|
3452
|
-
cookie.push("path=" + path2);
|
|
3453
|
-
}
|
|
3454
|
-
if (utils2.isString(domain2)) {
|
|
3455
|
-
cookie.push("domain=" + domain2);
|
|
3456
|
-
}
|
|
3457
|
-
if (secure === true) {
|
|
3458
|
-
cookie.push("secure");
|
|
3459
|
-
}
|
|
3460
|
-
document.cookie = cookie.join("; ");
|
|
3461
|
-
}, "write"),
|
|
3462
|
-
read: /* @__PURE__ */ __name(function read2(name2) {
|
|
3463
|
-
var match2 = document.cookie.match(new RegExp("(^|;\\s*)(" + name2 + ")=([^;]*)"));
|
|
3464
|
-
return match2 ? decodeURIComponent(match2[3]) : null;
|
|
3465
|
-
}, "read"),
|
|
3466
|
-
remove: /* @__PURE__ */ __name(function remove3(name2) {
|
|
3467
|
-
this.write(name2, "", Date.now() - 864e5);
|
|
3468
|
-
}, "remove")
|
|
3469
|
-
};
|
|
3470
|
-
}, "standardBrowserEnv"))()
|
|
3471
|
-
) : (
|
|
3472
|
-
// Non standard browser env (web workers, react-native) lack needed support.
|
|
3473
|
-
(/* @__PURE__ */ __name(function nonStandardBrowserEnv() {
|
|
3474
|
-
return {
|
|
3475
|
-
write: /* @__PURE__ */ __name(function write2() {
|
|
3476
|
-
}, "write"),
|
|
3477
|
-
read: /* @__PURE__ */ __name(function read2() {
|
|
3478
|
-
return null;
|
|
3479
|
-
}, "read"),
|
|
3480
|
-
remove: /* @__PURE__ */ __name(function remove3() {
|
|
3481
|
-
}, "remove")
|
|
3482
|
-
};
|
|
3483
|
-
}, "nonStandardBrowserEnv"))()
|
|
3484
|
-
);
|
|
3485
|
-
return cookies;
|
|
3486
|
-
}
|
|
3487
|
-
__name(requireCookies, "requireCookies");
|
|
3488
|
-
var isAbsoluteURL;
|
|
3489
|
-
var hasRequiredIsAbsoluteURL;
|
|
3490
|
-
function requireIsAbsoluteURL() {
|
|
3491
|
-
if (hasRequiredIsAbsoluteURL)
|
|
3492
|
-
return isAbsoluteURL;
|
|
3493
|
-
hasRequiredIsAbsoluteURL = 1;
|
|
3494
|
-
isAbsoluteURL = /* @__PURE__ */ __name(function isAbsoluteURL2(url) {
|
|
3495
|
-
return /^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(url);
|
|
3496
|
-
}, "isAbsoluteURL");
|
|
3497
|
-
return isAbsoluteURL;
|
|
3498
|
-
}
|
|
3499
|
-
__name(requireIsAbsoluteURL, "requireIsAbsoluteURL");
|
|
3500
|
-
var combineURLs;
|
|
3501
|
-
var hasRequiredCombineURLs;
|
|
3502
|
-
function requireCombineURLs() {
|
|
3503
|
-
if (hasRequiredCombineURLs)
|
|
3504
|
-
return combineURLs;
|
|
3505
|
-
hasRequiredCombineURLs = 1;
|
|
3506
|
-
combineURLs = /* @__PURE__ */ __name(function combineURLs2(baseURL, relativeURL) {
|
|
3507
|
-
return relativeURL ? baseURL.replace(/\/+$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
|
|
3508
|
-
}, "combineURLs");
|
|
3509
|
-
return combineURLs;
|
|
3510
|
-
}
|
|
3511
|
-
__name(requireCombineURLs, "requireCombineURLs");
|
|
3512
|
-
var buildFullPath;
|
|
3513
|
-
var hasRequiredBuildFullPath;
|
|
3514
|
-
function requireBuildFullPath() {
|
|
3515
|
-
if (hasRequiredBuildFullPath)
|
|
3516
|
-
return buildFullPath;
|
|
3517
|
-
hasRequiredBuildFullPath = 1;
|
|
3518
|
-
var isAbsoluteURL2 = requireIsAbsoluteURL();
|
|
3519
|
-
var combineURLs2 = requireCombineURLs();
|
|
3520
|
-
buildFullPath = /* @__PURE__ */ __name(function buildFullPath2(baseURL, requestedURL) {
|
|
3521
|
-
if (baseURL && !isAbsoluteURL2(requestedURL)) {
|
|
3522
|
-
return combineURLs2(baseURL, requestedURL);
|
|
3523
|
-
}
|
|
3524
|
-
return requestedURL;
|
|
3525
|
-
}, "buildFullPath");
|
|
3526
|
-
return buildFullPath;
|
|
3527
|
-
}
|
|
3528
|
-
__name(requireBuildFullPath, "requireBuildFullPath");
|
|
3529
|
-
var parseHeaders;
|
|
3530
|
-
var hasRequiredParseHeaders;
|
|
3531
|
-
function requireParseHeaders() {
|
|
3532
|
-
if (hasRequiredParseHeaders)
|
|
3533
|
-
return parseHeaders;
|
|
3534
|
-
hasRequiredParseHeaders = 1;
|
|
3535
|
-
var utils2 = utils$g;
|
|
3536
|
-
var ignoreDuplicateOf = [
|
|
3537
|
-
"age",
|
|
3538
|
-
"authorization",
|
|
3539
|
-
"content-length",
|
|
3540
|
-
"content-type",
|
|
3541
|
-
"etag",
|
|
3542
|
-
"expires",
|
|
3543
|
-
"from",
|
|
3544
|
-
"host",
|
|
3545
|
-
"if-modified-since",
|
|
3546
|
-
"if-unmodified-since",
|
|
3547
|
-
"last-modified",
|
|
3548
|
-
"location",
|
|
3549
|
-
"max-forwards",
|
|
3550
|
-
"proxy-authorization",
|
|
3551
|
-
"referer",
|
|
3552
|
-
"retry-after",
|
|
3553
|
-
"user-agent"
|
|
3554
|
-
];
|
|
3555
|
-
parseHeaders = /* @__PURE__ */ __name(function parseHeaders2(headers) {
|
|
3556
|
-
var parsed = {};
|
|
3557
|
-
var key;
|
|
3558
|
-
var val2;
|
|
3559
|
-
var i;
|
|
3560
|
-
if (!headers) {
|
|
3561
|
-
return parsed;
|
|
3562
|
-
}
|
|
3563
|
-
utils2.forEach(headers.split("\n"), /* @__PURE__ */ __name(function parser(line) {
|
|
3564
|
-
i = line.indexOf(":");
|
|
3565
|
-
key = utils2.trim(line.substr(0, i)).toLowerCase();
|
|
3566
|
-
val2 = utils2.trim(line.substr(i + 1));
|
|
3567
|
-
if (key) {
|
|
3568
|
-
if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {
|
|
3569
|
-
return;
|
|
3570
|
-
}
|
|
3571
|
-
if (key === "set-cookie") {
|
|
3572
|
-
parsed[key] = (parsed[key] ? parsed[key] : []).concat([val2]);
|
|
3573
|
-
} else {
|
|
3574
|
-
parsed[key] = parsed[key] ? parsed[key] + ", " + val2 : val2;
|
|
3575
|
-
}
|
|
3576
|
-
}
|
|
3577
|
-
}, "parser"));
|
|
3578
|
-
return parsed;
|
|
3579
|
-
}, "parseHeaders");
|
|
3580
|
-
return parseHeaders;
|
|
3581
|
-
}
|
|
3582
|
-
__name(requireParseHeaders, "requireParseHeaders");
|
|
3583
|
-
var isURLSameOrigin;
|
|
3584
|
-
var hasRequiredIsURLSameOrigin;
|
|
3585
|
-
function requireIsURLSameOrigin() {
|
|
3586
|
-
if (hasRequiredIsURLSameOrigin)
|
|
3587
|
-
return isURLSameOrigin;
|
|
3588
|
-
hasRequiredIsURLSameOrigin = 1;
|
|
3589
|
-
var utils2 = utils$g;
|
|
3590
|
-
isURLSameOrigin = utils2.isStandardBrowserEnv() ? (
|
|
3591
|
-
// Standard browser envs have full support of the APIs needed to test
|
|
3592
|
-
// whether the request URL is of the same origin as current location.
|
|
3593
|
-
(/* @__PURE__ */ __name(function standardBrowserEnv() {
|
|
3594
|
-
var msie = /(msie|trident)/i.test(navigator.userAgent);
|
|
3595
|
-
var urlParsingNode = document.createElement("a");
|
|
3596
|
-
var originURL;
|
|
3597
|
-
function resolveURL(url) {
|
|
3598
|
-
var href = url;
|
|
3599
|
-
if (msie) {
|
|
3600
|
-
urlParsingNode.setAttribute("href", href);
|
|
3601
|
-
href = urlParsingNode.href;
|
|
3602
|
-
}
|
|
3603
|
-
urlParsingNode.setAttribute("href", href);
|
|
3604
|
-
return {
|
|
3605
|
-
href: urlParsingNode.href,
|
|
3606
|
-
protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, "") : "",
|
|
3607
|
-
host: urlParsingNode.host,
|
|
3608
|
-
search: urlParsingNode.search ? urlParsingNode.search.replace(/^\?/, "") : "",
|
|
3609
|
-
hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, "") : "",
|
|
3610
|
-
hostname: urlParsingNode.hostname,
|
|
3611
|
-
port: urlParsingNode.port,
|
|
3612
|
-
pathname: urlParsingNode.pathname.charAt(0) === "/" ? urlParsingNode.pathname : "/" + urlParsingNode.pathname
|
|
3613
|
-
};
|
|
3614
|
-
}
|
|
3615
|
-
__name(resolveURL, "resolveURL");
|
|
3616
|
-
originURL = resolveURL(window.location.href);
|
|
3617
|
-
return /* @__PURE__ */ __name(function isURLSameOrigin2(requestURL) {
|
|
3618
|
-
var parsed = utils2.isString(requestURL) ? resolveURL(requestURL) : requestURL;
|
|
3619
|
-
return parsed.protocol === originURL.protocol && parsed.host === originURL.host;
|
|
3620
|
-
}, "isURLSameOrigin");
|
|
3621
|
-
}, "standardBrowserEnv"))()
|
|
3622
|
-
) : (
|
|
3623
|
-
// Non standard browser envs (web workers, react-native) lack needed support.
|
|
3624
|
-
(/* @__PURE__ */ __name(function nonStandardBrowserEnv() {
|
|
3625
|
-
return /* @__PURE__ */ __name(function isURLSameOrigin2() {
|
|
3626
|
-
return true;
|
|
3627
|
-
}, "isURLSameOrigin");
|
|
3628
|
-
}, "nonStandardBrowserEnv"))()
|
|
3629
|
-
);
|
|
3630
|
-
return isURLSameOrigin;
|
|
3631
|
-
}
|
|
3632
|
-
__name(requireIsURLSameOrigin, "requireIsURLSameOrigin");
|
|
3633
|
-
var xhr;
|
|
3634
|
-
var hasRequiredXhr;
|
|
3635
|
-
function requireXhr() {
|
|
3636
|
-
if (hasRequiredXhr)
|
|
3637
|
-
return xhr;
|
|
3638
|
-
hasRequiredXhr = 1;
|
|
3639
|
-
var utils2 = utils$g;
|
|
3640
|
-
var settle2 = requireSettle();
|
|
3641
|
-
var cookies2 = requireCookies();
|
|
3642
|
-
var buildURL3 = buildURL$1;
|
|
3643
|
-
var buildFullPath2 = requireBuildFullPath();
|
|
3644
|
-
var parseHeaders2 = requireParseHeaders();
|
|
3645
|
-
var isURLSameOrigin2 = requireIsURLSameOrigin();
|
|
3646
|
-
var createError2 = requireCreateError();
|
|
3647
|
-
xhr = /* @__PURE__ */ __name(function xhrAdapter(config) {
|
|
3648
|
-
return new Promise(/* @__PURE__ */ __name(function dispatchXhrRequest(resolve, reject) {
|
|
3649
|
-
var requestData = config.data;
|
|
3650
|
-
var requestHeaders = config.headers;
|
|
3651
|
-
var responseType = config.responseType;
|
|
3652
|
-
if (utils2.isFormData(requestData)) {
|
|
3653
|
-
delete requestHeaders["Content-Type"];
|
|
3654
|
-
}
|
|
3655
|
-
var request2 = new XMLHttpRequest();
|
|
3656
|
-
if (config.auth) {
|
|
3657
|
-
var username = config.auth.username || "";
|
|
3658
|
-
var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : "";
|
|
3659
|
-
requestHeaders.Authorization = "Basic " + btoa(username + ":" + password);
|
|
3660
|
-
}
|
|
3661
|
-
var fullPath = buildFullPath2(config.baseURL, config.url);
|
|
3662
|
-
request2.open(config.method.toUpperCase(), buildURL3(fullPath, config.params, config.paramsSerializer), true);
|
|
3663
|
-
request2.timeout = config.timeout;
|
|
3664
|
-
function onloadend() {
|
|
3665
|
-
if (!request2) {
|
|
3666
|
-
return;
|
|
3667
|
-
}
|
|
3668
|
-
var responseHeaders = "getAllResponseHeaders" in request2 ? parseHeaders2(request2.getAllResponseHeaders()) : null;
|
|
3669
|
-
var responseData = !responseType || responseType === "text" || responseType === "json" ? request2.responseText : request2.response;
|
|
3670
|
-
var response = {
|
|
3671
|
-
data: responseData,
|
|
3672
|
-
status: request2.status,
|
|
3673
|
-
statusText: request2.statusText,
|
|
3674
|
-
headers: responseHeaders,
|
|
3675
|
-
config,
|
|
3676
|
-
request: request2
|
|
3677
|
-
};
|
|
3678
|
-
settle2(resolve, reject, response);
|
|
3679
|
-
request2 = null;
|
|
3680
|
-
}
|
|
3681
|
-
__name(onloadend, "onloadend");
|
|
3682
|
-
if ("onloadend" in request2) {
|
|
3683
|
-
request2.onloadend = onloadend;
|
|
3684
|
-
} else {
|
|
3685
|
-
request2.onreadystatechange = /* @__PURE__ */ __name(function handleLoad() {
|
|
3686
|
-
if (!request2 || request2.readyState !== 4) {
|
|
3687
|
-
return;
|
|
3688
|
-
}
|
|
3689
|
-
if (request2.status === 0 && !(request2.responseURL && request2.responseURL.indexOf("file:") === 0)) {
|
|
3690
|
-
return;
|
|
3691
|
-
}
|
|
3692
|
-
setTimeout(onloadend);
|
|
3693
|
-
}, "handleLoad");
|
|
3694
|
-
}
|
|
3695
|
-
request2.onabort = /* @__PURE__ */ __name(function handleAbort() {
|
|
3696
|
-
if (!request2) {
|
|
3697
|
-
return;
|
|
3698
|
-
}
|
|
3699
|
-
reject(createError2("Request aborted", config, "ECONNABORTED", request2));
|
|
3700
|
-
request2 = null;
|
|
3701
|
-
}, "handleAbort");
|
|
3702
|
-
request2.onerror = /* @__PURE__ */ __name(function handleError() {
|
|
3703
|
-
reject(createError2("Network Error", config, null, request2));
|
|
3704
|
-
request2 = null;
|
|
3705
|
-
}, "handleError");
|
|
3706
|
-
request2.ontimeout = /* @__PURE__ */ __name(function handleTimeout() {
|
|
3707
|
-
var timeoutErrorMessage = "timeout of " + config.timeout + "ms exceeded";
|
|
3708
|
-
if (config.timeoutErrorMessage) {
|
|
3709
|
-
timeoutErrorMessage = config.timeoutErrorMessage;
|
|
3710
|
-
}
|
|
3711
|
-
reject(createError2(
|
|
3712
|
-
timeoutErrorMessage,
|
|
3713
|
-
config,
|
|
3714
|
-
config.transitional && config.transitional.clarifyTimeoutError ? "ETIMEDOUT" : "ECONNABORTED",
|
|
3715
|
-
request2
|
|
3716
|
-
));
|
|
3717
|
-
request2 = null;
|
|
3718
|
-
}, "handleTimeout");
|
|
3719
|
-
if (utils2.isStandardBrowserEnv()) {
|
|
3720
|
-
var xsrfValue = (config.withCredentials || isURLSameOrigin2(fullPath)) && config.xsrfCookieName ? cookies2.read(config.xsrfCookieName) : void 0;
|
|
3721
|
-
if (xsrfValue) {
|
|
3722
|
-
requestHeaders[config.xsrfHeaderName] = xsrfValue;
|
|
3723
|
-
}
|
|
3724
|
-
}
|
|
3725
|
-
if ("setRequestHeader" in request2) {
|
|
3726
|
-
utils2.forEach(requestHeaders, /* @__PURE__ */ __name(function setRequestHeader(val2, key) {
|
|
3727
|
-
if (typeof requestData === "undefined" && key.toLowerCase() === "content-type") {
|
|
3728
|
-
delete requestHeaders[key];
|
|
3729
|
-
} else {
|
|
3730
|
-
request2.setRequestHeader(key, val2);
|
|
3731
|
-
}
|
|
3732
|
-
}, "setRequestHeader"));
|
|
3733
|
-
}
|
|
3734
|
-
if (!utils2.isUndefined(config.withCredentials)) {
|
|
3735
|
-
request2.withCredentials = !!config.withCredentials;
|
|
3736
|
-
}
|
|
3737
|
-
if (responseType && responseType !== "json") {
|
|
3738
|
-
request2.responseType = config.responseType;
|
|
3739
|
-
}
|
|
3740
|
-
if (typeof config.onDownloadProgress === "function") {
|
|
3741
|
-
request2.addEventListener("progress", config.onDownloadProgress);
|
|
3742
|
-
}
|
|
3743
|
-
if (typeof config.onUploadProgress === "function" && request2.upload) {
|
|
3744
|
-
request2.upload.addEventListener("progress", config.onUploadProgress);
|
|
3745
|
-
}
|
|
3746
|
-
if (config.cancelToken) {
|
|
3747
|
-
config.cancelToken.promise.then(/* @__PURE__ */ __name(function onCanceled(cancel) {
|
|
3748
|
-
if (!request2) {
|
|
3749
|
-
return;
|
|
3750
|
-
}
|
|
3751
|
-
request2.abort();
|
|
3752
|
-
reject(cancel);
|
|
3753
|
-
request2 = null;
|
|
3754
|
-
}, "onCanceled"));
|
|
3755
|
-
}
|
|
3756
|
-
if (!requestData) {
|
|
3757
|
-
requestData = null;
|
|
3758
|
-
}
|
|
3759
|
-
request2.send(requestData);
|
|
3760
|
-
}, "dispatchXhrRequest"));
|
|
3761
|
-
}, "xhrAdapter");
|
|
3762
|
-
return xhr;
|
|
3763
|
-
}
|
|
3764
|
-
__name(requireXhr, "requireXhr");
|
|
3765
|
-
var utils$c = utils$g;
|
|
3766
|
-
var normalizeHeaderName2 = normalizeHeaderName$1;
|
|
3767
|
-
var enhanceError2 = enhanceError$1;
|
|
3768
|
-
var DEFAULT_CONTENT_TYPE = {
|
|
3769
|
-
"Content-Type": "application/x-www-form-urlencoded"
|
|
3770
|
-
};
|
|
3771
|
-
function setContentTypeIfUnset(headers, value) {
|
|
3772
|
-
if (!utils$c.isUndefined(headers) && utils$c.isUndefined(headers["Content-Type"])) {
|
|
3773
|
-
headers["Content-Type"] = value;
|
|
3774
|
-
}
|
|
3775
|
-
}
|
|
3776
|
-
__name(setContentTypeIfUnset, "setContentTypeIfUnset");
|
|
3777
|
-
function getDefaultAdapter() {
|
|
3778
|
-
var adapter;
|
|
3779
|
-
if (typeof XMLHttpRequest !== "undefined") {
|
|
3780
|
-
adapter = requireXhr();
|
|
3781
|
-
} else if (typeof process !== "undefined" && Object.prototype.toString.call(process) === "[object process]") {
|
|
3782
|
-
adapter = requireXhr();
|
|
3783
|
-
}
|
|
3784
|
-
return adapter;
|
|
3785
|
-
}
|
|
3786
|
-
__name(getDefaultAdapter, "getDefaultAdapter");
|
|
3787
|
-
function stringifySafely(rawValue, parser, encoder) {
|
|
3788
|
-
if (utils$c.isString(rawValue)) {
|
|
3789
|
-
try {
|
|
3790
|
-
(parser || JSON.parse)(rawValue);
|
|
3791
|
-
return utils$c.trim(rawValue);
|
|
3792
|
-
} catch (e2) {
|
|
3793
|
-
if (e2.name !== "SyntaxError") {
|
|
3794
|
-
throw e2;
|
|
3795
|
-
}
|
|
3796
|
-
}
|
|
3797
|
-
}
|
|
3798
|
-
return (encoder || JSON.stringify)(rawValue);
|
|
3799
|
-
}
|
|
3800
|
-
__name(stringifySafely, "stringifySafely");
|
|
3801
|
-
var defaults$6 = {
|
|
3802
|
-
transitional: {
|
|
3803
|
-
silentJSONParsing: true,
|
|
3804
|
-
forcedJSONParsing: true,
|
|
3805
|
-
clarifyTimeoutError: false
|
|
3806
|
-
},
|
|
3807
|
-
adapter: getDefaultAdapter(),
|
|
3808
|
-
transformRequest: [/* @__PURE__ */ __name(function transformRequest(data, headers) {
|
|
3809
|
-
normalizeHeaderName2(headers, "Accept");
|
|
3810
|
-
normalizeHeaderName2(headers, "Content-Type");
|
|
3811
|
-
if (utils$c.isFormData(data) || utils$c.isArrayBuffer(data) || utils$c.isBuffer(data) || utils$c.isStream(data) || utils$c.isFile(data) || utils$c.isBlob(data)) {
|
|
3812
|
-
return data;
|
|
3813
|
-
}
|
|
3814
|
-
if (utils$c.isArrayBufferView(data)) {
|
|
3815
|
-
return data.buffer;
|
|
3816
|
-
}
|
|
3817
|
-
if (utils$c.isURLSearchParams(data)) {
|
|
3818
|
-
setContentTypeIfUnset(headers, "application/x-www-form-urlencoded;charset=utf-8");
|
|
3819
|
-
return data.toString();
|
|
3820
|
-
}
|
|
3821
|
-
if (utils$c.isObject(data) || headers && headers["Content-Type"] === "application/json") {
|
|
3822
|
-
setContentTypeIfUnset(headers, "application/json");
|
|
3823
|
-
return stringifySafely(data);
|
|
3824
|
-
}
|
|
3825
|
-
return data;
|
|
3826
|
-
}, "transformRequest")],
|
|
3827
|
-
transformResponse: [/* @__PURE__ */ __name(function transformResponse(data) {
|
|
3828
|
-
var transitional2 = this.transitional;
|
|
3829
|
-
var silentJSONParsing = transitional2 && transitional2.silentJSONParsing;
|
|
3830
|
-
var forcedJSONParsing = transitional2 && transitional2.forcedJSONParsing;
|
|
3831
|
-
var strictJSONParsing = !silentJSONParsing && this.responseType === "json";
|
|
3832
|
-
if (strictJSONParsing || forcedJSONParsing && utils$c.isString(data) && data.length) {
|
|
3833
|
-
try {
|
|
3834
|
-
return JSON.parse(data);
|
|
3835
|
-
} catch (e2) {
|
|
3836
|
-
if (strictJSONParsing) {
|
|
3837
|
-
if (e2.name === "SyntaxError") {
|
|
3838
|
-
throw enhanceError2(e2, this, "E_JSON_PARSE");
|
|
3839
|
-
}
|
|
3840
|
-
throw e2;
|
|
3841
|
-
}
|
|
3842
|
-
}
|
|
3843
|
-
}
|
|
3844
|
-
return data;
|
|
3845
|
-
}, "transformResponse")],
|
|
3846
|
-
/**
|
|
3847
|
-
* A timeout in milliseconds to abort a request. If set to 0 (default) a
|
|
3848
|
-
* timeout is not created.
|
|
3849
|
-
*/
|
|
3850
|
-
timeout: 0,
|
|
3851
|
-
xsrfCookieName: "XSRF-TOKEN",
|
|
3852
|
-
xsrfHeaderName: "X-XSRF-TOKEN",
|
|
3853
|
-
maxContentLength: -1,
|
|
3854
|
-
maxBodyLength: -1,
|
|
3855
|
-
validateStatus: /* @__PURE__ */ __name(function validateStatus(status) {
|
|
3856
|
-
return status >= 200 && status < 300;
|
|
3857
|
-
}, "validateStatus")
|
|
3858
|
-
};
|
|
3859
|
-
defaults$6.headers = {
|
|
3860
|
-
common: {
|
|
3861
|
-
"Accept": "application/json, text/plain, */*"
|
|
3862
|
-
}
|
|
3863
|
-
};
|
|
3864
|
-
utils$c.forEach(["delete", "get", "head"], /* @__PURE__ */ __name(function forEachMethodNoData(method) {
|
|
3865
|
-
defaults$6.headers[method] = {};
|
|
3866
|
-
}, "forEachMethodNoData"));
|
|
3867
|
-
utils$c.forEach(["post", "put", "patch"], /* @__PURE__ */ __name(function forEachMethodWithData(method) {
|
|
3868
|
-
defaults$6.headers[method] = utils$c.merge(DEFAULT_CONTENT_TYPE);
|
|
3869
|
-
}, "forEachMethodWithData"));
|
|
3870
|
-
var defaults_1 = defaults$6;
|
|
3871
|
-
var utils$b = utils$g;
|
|
3872
|
-
var defaults$5 = defaults_1;
|
|
3873
|
-
var transformData$1 = /* @__PURE__ */ __name(function transformData(data, headers, fns) {
|
|
3874
|
-
var context = this || defaults$5;
|
|
3875
|
-
utils$b.forEach(fns, /* @__PURE__ */ __name(function transform2(fn4) {
|
|
3876
|
-
data = fn4.call(context, data, headers);
|
|
3877
|
-
}, "transform"));
|
|
3878
|
-
return data;
|
|
3879
|
-
}, "transformData");
|
|
3880
|
-
var isCancel$1;
|
|
3881
|
-
var hasRequiredIsCancel;
|
|
3882
|
-
function requireIsCancel() {
|
|
3883
|
-
if (hasRequiredIsCancel)
|
|
3884
|
-
return isCancel$1;
|
|
3885
|
-
hasRequiredIsCancel = 1;
|
|
3886
|
-
isCancel$1 = /* @__PURE__ */ __name(function isCancel2(value) {
|
|
3887
|
-
return !!(value && value.__CANCEL__);
|
|
3888
|
-
}, "isCancel");
|
|
3889
|
-
return isCancel$1;
|
|
3890
|
-
}
|
|
3891
|
-
__name(requireIsCancel, "requireIsCancel");
|
|
3892
|
-
var utils$a = utils$g;
|
|
3893
|
-
var transformData2 = transformData$1;
|
|
3894
|
-
var isCancel = requireIsCancel();
|
|
3895
|
-
var defaults$4 = defaults_1;
|
|
3896
|
-
function throwIfCancellationRequested(config) {
|
|
3897
|
-
if (config.cancelToken) {
|
|
3898
|
-
config.cancelToken.throwIfRequested();
|
|
3899
|
-
}
|
|
3900
|
-
}
|
|
3901
|
-
__name(throwIfCancellationRequested, "throwIfCancellationRequested");
|
|
3902
|
-
var dispatchRequest$1 = /* @__PURE__ */ __name(function dispatchRequest(config) {
|
|
3903
|
-
throwIfCancellationRequested(config);
|
|
3904
|
-
config.headers = config.headers || {};
|
|
3905
|
-
config.data = transformData2.call(
|
|
3906
|
-
config,
|
|
3907
|
-
config.data,
|
|
3908
|
-
config.headers,
|
|
3909
|
-
config.transformRequest
|
|
3910
|
-
);
|
|
3911
|
-
config.headers = utils$a.merge(
|
|
3912
|
-
config.headers.common || {},
|
|
3913
|
-
config.headers[config.method] || {},
|
|
3914
|
-
config.headers
|
|
3915
|
-
);
|
|
3916
|
-
utils$a.forEach(
|
|
3917
|
-
["delete", "get", "head", "post", "put", "patch", "common"],
|
|
3918
|
-
/* @__PURE__ */ __name(function cleanHeaderConfig(method) {
|
|
3919
|
-
delete config.headers[method];
|
|
3920
|
-
}, "cleanHeaderConfig")
|
|
3921
|
-
);
|
|
3922
|
-
var adapter = config.adapter || defaults$4.adapter;
|
|
3923
|
-
return adapter(config).then(/* @__PURE__ */ __name(function onAdapterResolution(response) {
|
|
3924
|
-
throwIfCancellationRequested(config);
|
|
3925
|
-
response.data = transformData2.call(
|
|
3926
|
-
config,
|
|
3927
|
-
response.data,
|
|
3928
|
-
response.headers,
|
|
3929
|
-
config.transformResponse
|
|
3930
|
-
);
|
|
3931
|
-
return response;
|
|
3932
|
-
}, "onAdapterResolution"), /* @__PURE__ */ __name(function onAdapterRejection(reason) {
|
|
3933
|
-
if (!isCancel(reason)) {
|
|
3934
|
-
throwIfCancellationRequested(config);
|
|
3935
|
-
if (reason && reason.response) {
|
|
3936
|
-
reason.response.data = transformData2.call(
|
|
3937
|
-
config,
|
|
3938
|
-
reason.response.data,
|
|
3939
|
-
reason.response.headers,
|
|
3940
|
-
config.transformResponse
|
|
3941
|
-
);
|
|
3942
|
-
}
|
|
3943
|
-
}
|
|
3944
|
-
return Promise.reject(reason);
|
|
3945
|
-
}, "onAdapterRejection"));
|
|
3946
|
-
}, "dispatchRequest");
|
|
3947
|
-
var utils$9 = utils$g;
|
|
3948
|
-
var mergeConfig$2 = /* @__PURE__ */ __name(function mergeConfig(config1, config2) {
|
|
3949
|
-
config2 = config2 || {};
|
|
3950
|
-
var config = {};
|
|
3951
|
-
var valueFromConfig2Keys = ["url", "method", "data"];
|
|
3952
|
-
var mergeDeepPropertiesKeys = ["headers", "auth", "proxy", "params"];
|
|
3953
|
-
var defaultToConfig2Keys = [
|
|
3954
|
-
"baseURL",
|
|
3955
|
-
"transformRequest",
|
|
3956
|
-
"transformResponse",
|
|
3957
|
-
"paramsSerializer",
|
|
3958
|
-
"timeout",
|
|
3959
|
-
"timeoutMessage",
|
|
3960
|
-
"withCredentials",
|
|
3961
|
-
"adapter",
|
|
3962
|
-
"responseType",
|
|
3963
|
-
"xsrfCookieName",
|
|
3964
|
-
"xsrfHeaderName",
|
|
3965
|
-
"onUploadProgress",
|
|
3966
|
-
"onDownloadProgress",
|
|
3967
|
-
"decompress",
|
|
3968
|
-
"maxContentLength",
|
|
3969
|
-
"maxBodyLength",
|
|
3970
|
-
"maxRedirects",
|
|
3971
|
-
"transport",
|
|
3972
|
-
"httpAgent",
|
|
3973
|
-
"httpsAgent",
|
|
3974
|
-
"cancelToken",
|
|
3975
|
-
"socketPath",
|
|
3976
|
-
"responseEncoding"
|
|
3977
|
-
];
|
|
3978
|
-
var directMergeKeys = ["validateStatus"];
|
|
3979
|
-
function getMergedValue(target, source) {
|
|
3980
|
-
if (utils$9.isPlainObject(target) && utils$9.isPlainObject(source)) {
|
|
3981
|
-
return utils$9.merge(target, source);
|
|
3982
|
-
} else if (utils$9.isPlainObject(source)) {
|
|
3983
|
-
return utils$9.merge({}, source);
|
|
3984
|
-
} else if (utils$9.isArray(source)) {
|
|
3985
|
-
return source.slice();
|
|
3986
|
-
}
|
|
3987
|
-
return source;
|
|
3988
|
-
}
|
|
3989
|
-
__name(getMergedValue, "getMergedValue");
|
|
3990
|
-
function mergeDeepProperties(prop2) {
|
|
3991
|
-
if (!utils$9.isUndefined(config2[prop2])) {
|
|
3992
|
-
config[prop2] = getMergedValue(config1[prop2], config2[prop2]);
|
|
3993
|
-
} else if (!utils$9.isUndefined(config1[prop2])) {
|
|
3994
|
-
config[prop2] = getMergedValue(void 0, config1[prop2]);
|
|
3995
|
-
}
|
|
3996
|
-
}
|
|
3997
|
-
__name(mergeDeepProperties, "mergeDeepProperties");
|
|
3998
|
-
utils$9.forEach(valueFromConfig2Keys, /* @__PURE__ */ __name(function valueFromConfig2(prop2) {
|
|
3999
|
-
if (!utils$9.isUndefined(config2[prop2])) {
|
|
4000
|
-
config[prop2] = getMergedValue(void 0, config2[prop2]);
|
|
4001
|
-
}
|
|
4002
|
-
}, "valueFromConfig2"));
|
|
4003
|
-
utils$9.forEach(mergeDeepPropertiesKeys, mergeDeepProperties);
|
|
4004
|
-
utils$9.forEach(defaultToConfig2Keys, /* @__PURE__ */ __name(function defaultToConfig2(prop2) {
|
|
4005
|
-
if (!utils$9.isUndefined(config2[prop2])) {
|
|
4006
|
-
config[prop2] = getMergedValue(void 0, config2[prop2]);
|
|
4007
|
-
} else if (!utils$9.isUndefined(config1[prop2])) {
|
|
4008
|
-
config[prop2] = getMergedValue(void 0, config1[prop2]);
|
|
4009
|
-
}
|
|
4010
|
-
}, "defaultToConfig2"));
|
|
4011
|
-
utils$9.forEach(directMergeKeys, /* @__PURE__ */ __name(function merge3(prop2) {
|
|
4012
|
-
if (prop2 in config2) {
|
|
4013
|
-
config[prop2] = getMergedValue(config1[prop2], config2[prop2]);
|
|
4014
|
-
} else if (prop2 in config1) {
|
|
4015
|
-
config[prop2] = getMergedValue(void 0, config1[prop2]);
|
|
4016
|
-
}
|
|
4017
|
-
}, "merge"));
|
|
4018
|
-
var axiosKeys = valueFromConfig2Keys.concat(mergeDeepPropertiesKeys).concat(defaultToConfig2Keys).concat(directMergeKeys);
|
|
4019
|
-
var otherKeys = Object.keys(config1).concat(Object.keys(config2)).filter(/* @__PURE__ */ __name(function filterAxiosKeys(key) {
|
|
4020
|
-
return axiosKeys.indexOf(key) === -1;
|
|
4021
|
-
}, "filterAxiosKeys"));
|
|
4022
|
-
utils$9.forEach(otherKeys, mergeDeepProperties);
|
|
4023
|
-
return config;
|
|
4024
|
-
}, "mergeConfig");
|
|
4025
|
-
const name$3 = "axios";
|
|
4026
|
-
const version$2 = "0.21.4";
|
|
4027
|
-
const description$1 = "Promise based HTTP client for the browser and node.js";
|
|
4028
|
-
const main$1 = "index.js";
|
|
4029
|
-
const scripts = {
|
|
4030
|
-
test: "grunt test",
|
|
4031
|
-
start: "node ./sandbox/server.js",
|
|
4032
|
-
build: "NODE_ENV=production grunt build",
|
|
4033
|
-
preversion: "npm test",
|
|
4034
|
-
version: "npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json",
|
|
4035
|
-
postversion: "git push && git push --tags",
|
|
4036
|
-
examples: "node ./examples/server.js",
|
|
4037
|
-
coveralls: "cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
|
|
4038
|
-
fix: "eslint --fix lib/**/*.js"
|
|
4039
|
-
};
|
|
4040
|
-
const repository = {
|
|
4041
|
-
type: "git",
|
|
4042
|
-
url: "https://github.com/axios/axios.git"
|
|
4043
|
-
};
|
|
4044
|
-
const keywords = [
|
|
4045
|
-
"xhr",
|
|
4046
|
-
"http",
|
|
4047
|
-
"ajax",
|
|
4048
|
-
"promise",
|
|
4049
|
-
"node"
|
|
4050
|
-
];
|
|
4051
|
-
const author = "Matt Zabriskie";
|
|
4052
|
-
const license = "MIT";
|
|
4053
|
-
const bugs = {
|
|
4054
|
-
url: "https://github.com/axios/axios/issues"
|
|
4055
|
-
};
|
|
4056
|
-
const homepage = "https://axios-http.com";
|
|
4057
|
-
const devDependencies = {
|
|
4058
|
-
coveralls: "^3.0.0",
|
|
4059
|
-
"es6-promise": "^4.2.4",
|
|
4060
|
-
grunt: "^1.3.0",
|
|
4061
|
-
"grunt-banner": "^0.6.0",
|
|
4062
|
-
"grunt-cli": "^1.2.0",
|
|
4063
|
-
"grunt-contrib-clean": "^1.1.0",
|
|
4064
|
-
"grunt-contrib-watch": "^1.0.0",
|
|
4065
|
-
"grunt-eslint": "^23.0.0",
|
|
4066
|
-
"grunt-karma": "^4.0.0",
|
|
4067
|
-
"grunt-mocha-test": "^0.13.3",
|
|
4068
|
-
"grunt-ts": "^6.0.0-beta.19",
|
|
4069
|
-
"grunt-webpack": "^4.0.2",
|
|
4070
|
-
"istanbul-instrumenter-loader": "^1.0.0",
|
|
4071
|
-
"jasmine-core": "^2.4.1",
|
|
4072
|
-
karma: "^6.3.2",
|
|
4073
|
-
"karma-chrome-launcher": "^3.1.0",
|
|
4074
|
-
"karma-firefox-launcher": "^2.1.0",
|
|
4075
|
-
"karma-jasmine": "^1.1.1",
|
|
4076
|
-
"karma-jasmine-ajax": "^0.1.13",
|
|
4077
|
-
"karma-safari-launcher": "^1.0.0",
|
|
4078
|
-
"karma-sauce-launcher": "^4.3.6",
|
|
4079
|
-
"karma-sinon": "^1.0.5",
|
|
4080
|
-
"karma-sourcemap-loader": "^0.3.8",
|
|
4081
|
-
"karma-webpack": "^4.0.2",
|
|
4082
|
-
"load-grunt-tasks": "^3.5.2",
|
|
4083
|
-
minimist: "^1.2.0",
|
|
4084
|
-
mocha: "^8.2.1",
|
|
4085
|
-
sinon: "^4.5.0",
|
|
4086
|
-
"terser-webpack-plugin": "^4.2.3",
|
|
4087
|
-
typescript: "^4.0.5",
|
|
4088
|
-
"url-search-params": "^0.10.0",
|
|
4089
|
-
webpack: "^4.44.2",
|
|
4090
|
-
"webpack-dev-server": "^3.11.0"
|
|
4091
|
-
};
|
|
4092
|
-
const browser$2 = {
|
|
4093
|
-
"./lib/adapters/http.js": "./lib/adapters/xhr.js"
|
|
4094
|
-
};
|
|
4095
|
-
const jsdelivr = "dist/axios.min.js";
|
|
4096
|
-
const unpkg = "dist/axios.min.js";
|
|
4097
|
-
const typings = "./index.d.ts";
|
|
4098
|
-
const dependencies = {
|
|
4099
|
-
"follow-redirects": "^1.14.0"
|
|
4100
|
-
};
|
|
4101
|
-
const bundlesize = [
|
|
4102
|
-
{
|
|
4103
|
-
path: "./dist/axios.min.js",
|
|
4104
|
-
threshold: "5kB"
|
|
4105
|
-
}
|
|
4106
|
-
];
|
|
4107
|
-
const require$$0$1 = {
|
|
4108
|
-
name: name$3,
|
|
4109
|
-
version: version$2,
|
|
4110
|
-
description: description$1,
|
|
4111
|
-
main: main$1,
|
|
4112
|
-
scripts,
|
|
4113
|
-
repository,
|
|
4114
|
-
keywords,
|
|
4115
|
-
author,
|
|
4116
|
-
license,
|
|
4117
|
-
bugs,
|
|
4118
|
-
homepage,
|
|
4119
|
-
devDependencies,
|
|
4120
|
-
browser: browser$2,
|
|
4121
|
-
jsdelivr,
|
|
4122
|
-
unpkg,
|
|
4123
|
-
typings,
|
|
4124
|
-
dependencies,
|
|
4125
|
-
bundlesize
|
|
4126
|
-
};
|
|
4127
|
-
var pkg = require$$0$1;
|
|
4128
|
-
var validators$1 = {};
|
|
4129
|
-
["object", "boolean", "number", "function", "string", "symbol"].forEach(function(type, i) {
|
|
4130
|
-
validators$1[type] = /* @__PURE__ */ __name(function validator2(thing) {
|
|
4131
|
-
return typeof thing === type || "a" + (i < 1 ? "n " : " ") + type;
|
|
4132
|
-
}, "validator");
|
|
4133
|
-
});
|
|
4134
|
-
var deprecatedWarnings = {};
|
|
4135
|
-
var currentVerArr = pkg.version.split(".");
|
|
4136
|
-
function isOlderVersion(version2, thanVersion) {
|
|
4137
|
-
var pkgVersionArr = thanVersion ? thanVersion.split(".") : currentVerArr;
|
|
4138
|
-
var destVer = version2.split(".");
|
|
4139
|
-
for (var i = 0; i < 3; i++) {
|
|
4140
|
-
if (pkgVersionArr[i] > destVer[i]) {
|
|
4141
|
-
return true;
|
|
4142
|
-
} else if (pkgVersionArr[i] < destVer[i]) {
|
|
4143
|
-
return false;
|
|
4144
|
-
}
|
|
4145
|
-
}
|
|
4146
|
-
return false;
|
|
4147
|
-
}
|
|
4148
|
-
__name(isOlderVersion, "isOlderVersion");
|
|
4149
|
-
validators$1.transitional = /* @__PURE__ */ __name(function transitional(validator2, version2, message) {
|
|
4150
|
-
var isDeprecated = version2 && isOlderVersion(version2);
|
|
4151
|
-
function formatMessage(opt, desc) {
|
|
4152
|
-
return "[Axios v" + pkg.version + "] Transitional option '" + opt + "'" + desc + (message ? ". " + message : "");
|
|
4153
|
-
}
|
|
4154
|
-
__name(formatMessage, "formatMessage");
|
|
4155
|
-
return function(value, opt, opts2) {
|
|
4156
|
-
if (validator2 === false) {
|
|
4157
|
-
throw new Error(formatMessage(opt, " has been removed in " + version2));
|
|
4158
|
-
}
|
|
4159
|
-
if (isDeprecated && !deprecatedWarnings[opt]) {
|
|
4160
|
-
deprecatedWarnings[opt] = true;
|
|
4161
|
-
console.warn(
|
|
4162
|
-
formatMessage(
|
|
4163
|
-
opt,
|
|
4164
|
-
" has been deprecated since v" + version2 + " and will be removed in the near future"
|
|
4165
|
-
)
|
|
4166
|
-
);
|
|
4167
|
-
}
|
|
4168
|
-
return validator2 ? validator2(value, opt, opts2) : true;
|
|
4169
|
-
};
|
|
4170
|
-
}, "transitional");
|
|
4171
|
-
function assertOptions(options, schema2, allowUnknown) {
|
|
4172
|
-
if (typeof options !== "object") {
|
|
4173
|
-
throw new TypeError("options must be an object");
|
|
4174
|
-
}
|
|
4175
|
-
var keys5 = Object.keys(options);
|
|
4176
|
-
var i = keys5.length;
|
|
4177
|
-
while (i-- > 0) {
|
|
4178
|
-
var opt = keys5[i];
|
|
4179
|
-
var validator2 = schema2[opt];
|
|
4180
|
-
if (validator2) {
|
|
4181
|
-
var value = options[opt];
|
|
4182
|
-
var result = value === void 0 || validator2(value, opt, options);
|
|
4183
|
-
if (result !== true) {
|
|
4184
|
-
throw new TypeError("option " + opt + " must be " + result);
|
|
4185
|
-
}
|
|
4186
|
-
continue;
|
|
4187
|
-
}
|
|
4188
|
-
if (allowUnknown !== true) {
|
|
4189
|
-
throw Error("Unknown option " + opt);
|
|
4190
|
-
}
|
|
4191
|
-
}
|
|
4192
|
-
}
|
|
4193
|
-
__name(assertOptions, "assertOptions");
|
|
4194
|
-
var validator$4 = {
|
|
4195
|
-
isOlderVersion,
|
|
4196
|
-
assertOptions,
|
|
4197
|
-
validators: validators$1
|
|
4198
|
-
};
|
|
4199
|
-
var utils$8 = utils$g;
|
|
4200
|
-
var buildURL2 = buildURL$1;
|
|
4201
|
-
var InterceptorManager = InterceptorManager_1;
|
|
4202
|
-
var dispatchRequest2 = dispatchRequest$1;
|
|
4203
|
-
var mergeConfig$1 = mergeConfig$2;
|
|
4204
|
-
var validator$3 = validator$4;
|
|
4205
|
-
var validators = validator$3.validators;
|
|
4206
|
-
function Axios$1(instanceConfig) {
|
|
4207
|
-
this.defaults = instanceConfig;
|
|
4208
|
-
this.interceptors = {
|
|
4209
|
-
request: new InterceptorManager(),
|
|
4210
|
-
response: new InterceptorManager()
|
|
4211
|
-
};
|
|
4212
|
-
}
|
|
4213
|
-
__name(Axios$1, "Axios$1");
|
|
4214
|
-
Axios$1.prototype.request = /* @__PURE__ */ __name(function request(config) {
|
|
4215
|
-
if (typeof config === "string") {
|
|
4216
|
-
config = arguments[1] || {};
|
|
4217
|
-
config.url = arguments[0];
|
|
4218
|
-
} else {
|
|
4219
|
-
config = config || {};
|
|
4220
|
-
}
|
|
4221
|
-
config = mergeConfig$1(this.defaults, config);
|
|
4222
|
-
if (config.method) {
|
|
4223
|
-
config.method = config.method.toLowerCase();
|
|
4224
|
-
} else if (this.defaults.method) {
|
|
4225
|
-
config.method = this.defaults.method.toLowerCase();
|
|
4226
|
-
} else {
|
|
4227
|
-
config.method = "get";
|
|
4228
|
-
}
|
|
4229
|
-
var transitional2 = config.transitional;
|
|
4230
|
-
if (transitional2 !== void 0) {
|
|
4231
|
-
validator$3.assertOptions(transitional2, {
|
|
4232
|
-
silentJSONParsing: validators.transitional(validators.boolean, "1.0.0"),
|
|
4233
|
-
forcedJSONParsing: validators.transitional(validators.boolean, "1.0.0"),
|
|
4234
|
-
clarifyTimeoutError: validators.transitional(validators.boolean, "1.0.0")
|
|
4235
|
-
}, false);
|
|
4236
|
-
}
|
|
4237
|
-
var requestInterceptorChain = [];
|
|
4238
|
-
var synchronousRequestInterceptors = true;
|
|
4239
|
-
this.interceptors.request.forEach(/* @__PURE__ */ __name(function unshiftRequestInterceptors(interceptor) {
|
|
4240
|
-
if (typeof interceptor.runWhen === "function" && interceptor.runWhen(config) === false) {
|
|
4241
|
-
return;
|
|
4242
|
-
}
|
|
4243
|
-
synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;
|
|
4244
|
-
requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
|
|
4245
|
-
}, "unshiftRequestInterceptors"));
|
|
4246
|
-
var responseInterceptorChain = [];
|
|
4247
|
-
this.interceptors.response.forEach(/* @__PURE__ */ __name(function pushResponseInterceptors(interceptor) {
|
|
4248
|
-
responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
|
|
4249
|
-
}, "pushResponseInterceptors"));
|
|
4250
|
-
var promise;
|
|
4251
|
-
if (!synchronousRequestInterceptors) {
|
|
4252
|
-
var chain2 = [dispatchRequest2, void 0];
|
|
4253
|
-
Array.prototype.unshift.apply(chain2, requestInterceptorChain);
|
|
4254
|
-
chain2 = chain2.concat(responseInterceptorChain);
|
|
4255
|
-
promise = Promise.resolve(config);
|
|
4256
|
-
while (chain2.length) {
|
|
4257
|
-
promise = promise.then(chain2.shift(), chain2.shift());
|
|
4258
|
-
}
|
|
4259
|
-
return promise;
|
|
4260
|
-
}
|
|
4261
|
-
var newConfig = config;
|
|
4262
|
-
while (requestInterceptorChain.length) {
|
|
4263
|
-
var onFulfilled = requestInterceptorChain.shift();
|
|
4264
|
-
var onRejected = requestInterceptorChain.shift();
|
|
4265
|
-
try {
|
|
4266
|
-
newConfig = onFulfilled(newConfig);
|
|
4267
|
-
} catch (error) {
|
|
4268
|
-
onRejected(error);
|
|
4269
|
-
break;
|
|
4270
|
-
}
|
|
4271
|
-
}
|
|
4272
|
-
try {
|
|
4273
|
-
promise = dispatchRequest2(newConfig);
|
|
4274
|
-
} catch (error) {
|
|
4275
|
-
return Promise.reject(error);
|
|
4276
|
-
}
|
|
4277
|
-
while (responseInterceptorChain.length) {
|
|
4278
|
-
promise = promise.then(responseInterceptorChain.shift(), responseInterceptorChain.shift());
|
|
4279
|
-
}
|
|
4280
|
-
return promise;
|
|
4281
|
-
}, "request");
|
|
4282
|
-
Axios$1.prototype.getUri = /* @__PURE__ */ __name(function getUri(config) {
|
|
4283
|
-
config = mergeConfig$1(this.defaults, config);
|
|
4284
|
-
return buildURL2(config.url, config.params, config.paramsSerializer).replace(/^\?/, "");
|
|
4285
|
-
}, "getUri");
|
|
4286
|
-
utils$8.forEach(["delete", "get", "head", "options"], /* @__PURE__ */ __name(function forEachMethodNoData2(method) {
|
|
4287
|
-
Axios$1.prototype[method] = function(url, config) {
|
|
4288
|
-
return this.request(mergeConfig$1(config || {}, {
|
|
4289
|
-
method,
|
|
4290
|
-
url,
|
|
4291
|
-
data: (config || {}).data
|
|
4292
|
-
}));
|
|
4293
|
-
};
|
|
4294
|
-
}, "forEachMethodNoData"));
|
|
4295
|
-
utils$8.forEach(["post", "put", "patch"], /* @__PURE__ */ __name(function forEachMethodWithData2(method) {
|
|
4296
|
-
Axios$1.prototype[method] = function(url, data, config) {
|
|
4297
|
-
return this.request(mergeConfig$1(config || {}, {
|
|
4298
|
-
method,
|
|
4299
|
-
url,
|
|
4300
|
-
data
|
|
4301
|
-
}));
|
|
4302
|
-
};
|
|
4303
|
-
}, "forEachMethodWithData"));
|
|
4304
|
-
var Axios_1 = Axios$1;
|
|
4305
|
-
var Cancel_1;
|
|
4306
|
-
var hasRequiredCancel;
|
|
4307
|
-
function requireCancel() {
|
|
4308
|
-
if (hasRequiredCancel)
|
|
4309
|
-
return Cancel_1;
|
|
4310
|
-
hasRequiredCancel = 1;
|
|
4311
|
-
function Cancel(message) {
|
|
4312
|
-
this.message = message;
|
|
4313
|
-
}
|
|
4314
|
-
__name(Cancel, "Cancel");
|
|
4315
|
-
Cancel.prototype.toString = /* @__PURE__ */ __name(function toString4() {
|
|
4316
|
-
return "Cancel" + (this.message ? ": " + this.message : "");
|
|
4317
|
-
}, "toString");
|
|
4318
|
-
Cancel.prototype.__CANCEL__ = true;
|
|
4319
|
-
Cancel_1 = Cancel;
|
|
4320
|
-
return Cancel_1;
|
|
4321
|
-
}
|
|
4322
|
-
__name(requireCancel, "requireCancel");
|
|
4323
|
-
var CancelToken_1;
|
|
4324
|
-
var hasRequiredCancelToken;
|
|
4325
|
-
function requireCancelToken() {
|
|
4326
|
-
if (hasRequiredCancelToken)
|
|
4327
|
-
return CancelToken_1;
|
|
4328
|
-
hasRequiredCancelToken = 1;
|
|
4329
|
-
var Cancel = requireCancel();
|
|
4330
|
-
function CancelToken(executor) {
|
|
4331
|
-
if (typeof executor !== "function") {
|
|
4332
|
-
throw new TypeError("executor must be a function.");
|
|
4333
|
-
}
|
|
4334
|
-
var resolvePromise;
|
|
4335
|
-
this.promise = new Promise(/* @__PURE__ */ __name(function promiseExecutor(resolve) {
|
|
4336
|
-
resolvePromise = resolve;
|
|
4337
|
-
}, "promiseExecutor"));
|
|
4338
|
-
var token = this;
|
|
4339
|
-
executor(/* @__PURE__ */ __name(function cancel(message) {
|
|
4340
|
-
if (token.reason) {
|
|
4341
|
-
return;
|
|
4342
|
-
}
|
|
4343
|
-
token.reason = new Cancel(message);
|
|
4344
|
-
resolvePromise(token.reason);
|
|
4345
|
-
}, "cancel"));
|
|
4346
|
-
}
|
|
4347
|
-
__name(CancelToken, "CancelToken");
|
|
4348
|
-
CancelToken.prototype.throwIfRequested = /* @__PURE__ */ __name(function throwIfRequested() {
|
|
4349
|
-
if (this.reason) {
|
|
4350
|
-
throw this.reason;
|
|
4351
|
-
}
|
|
4352
|
-
}, "throwIfRequested");
|
|
4353
|
-
CancelToken.source = /* @__PURE__ */ __name(function source() {
|
|
4354
|
-
var cancel;
|
|
4355
|
-
var token = new CancelToken(/* @__PURE__ */ __name(function executor(c2) {
|
|
4356
|
-
cancel = c2;
|
|
4357
|
-
}, "executor"));
|
|
4358
|
-
return {
|
|
4359
|
-
token,
|
|
4360
|
-
cancel
|
|
4361
|
-
};
|
|
4362
|
-
}, "source");
|
|
4363
|
-
CancelToken_1 = CancelToken;
|
|
4364
|
-
return CancelToken_1;
|
|
4365
|
-
}
|
|
4366
|
-
__name(requireCancelToken, "requireCancelToken");
|
|
4367
|
-
var spread;
|
|
4368
|
-
var hasRequiredSpread;
|
|
4369
|
-
function requireSpread() {
|
|
4370
|
-
if (hasRequiredSpread)
|
|
4371
|
-
return spread;
|
|
4372
|
-
hasRequiredSpread = 1;
|
|
4373
|
-
spread = /* @__PURE__ */ __name(function spread2(callback2) {
|
|
4374
|
-
return /* @__PURE__ */ __name(function wrap2(arr) {
|
|
4375
|
-
return callback2.apply(null, arr);
|
|
4376
|
-
}, "wrap");
|
|
4377
|
-
}, "spread");
|
|
4378
|
-
return spread;
|
|
4379
|
-
}
|
|
4380
|
-
__name(requireSpread, "requireSpread");
|
|
4381
|
-
var isAxiosError;
|
|
4382
|
-
var hasRequiredIsAxiosError;
|
|
4383
|
-
function requireIsAxiosError() {
|
|
4384
|
-
if (hasRequiredIsAxiosError)
|
|
4385
|
-
return isAxiosError;
|
|
4386
|
-
hasRequiredIsAxiosError = 1;
|
|
4387
|
-
isAxiosError = /* @__PURE__ */ __name(function isAxiosError2(payload) {
|
|
4388
|
-
return typeof payload === "object" && payload.isAxiosError === true;
|
|
4389
|
-
}, "isAxiosError");
|
|
4390
|
-
return isAxiosError;
|
|
4391
|
-
}
|
|
4392
|
-
__name(requireIsAxiosError, "requireIsAxiosError");
|
|
4393
|
-
var utils$7 = utils$g;
|
|
4394
|
-
var bind$3 = bind$5;
|
|
4395
|
-
var Axios = Axios_1;
|
|
4396
|
-
var mergeConfig2 = mergeConfig$2;
|
|
4397
|
-
var defaults$3 = defaults_1;
|
|
4398
|
-
function createInstance(defaultConfig2) {
|
|
4399
|
-
var context = new Axios(defaultConfig2);
|
|
4400
|
-
var instance = bind$3(Axios.prototype.request, context);
|
|
4401
|
-
utils$7.extend(instance, Axios.prototype, context);
|
|
4402
|
-
utils$7.extend(instance, context);
|
|
4403
|
-
return instance;
|
|
4404
|
-
}
|
|
4405
|
-
__name(createInstance, "createInstance");
|
|
4406
|
-
var axios$2 = createInstance(defaults$3);
|
|
4407
|
-
axios$2.Axios = Axios;
|
|
4408
|
-
axios$2.create = /* @__PURE__ */ __name(function create(instanceConfig) {
|
|
4409
|
-
return createInstance(mergeConfig2(axios$2.defaults, instanceConfig));
|
|
4410
|
-
}, "create");
|
|
4411
|
-
axios$2.Cancel = requireCancel();
|
|
4412
|
-
axios$2.CancelToken = requireCancelToken();
|
|
4413
|
-
axios$2.isCancel = requireIsCancel();
|
|
4414
|
-
axios$2.all = /* @__PURE__ */ __name(function all(promises) {
|
|
4415
|
-
return Promise.all(promises);
|
|
4416
|
-
}, "all");
|
|
4417
|
-
axios$2.spread = requireSpread();
|
|
4418
|
-
axios$2.isAxiosError = requireIsAxiosError();
|
|
4419
|
-
axios$3.exports = axios$2;
|
|
4420
|
-
axios$3.exports.default = axios$2;
|
|
4421
|
-
var axiosExports = axios$3.exports;
|
|
4422
|
-
var axios = axiosExports;
|
|
4423
|
-
const axios$1 = /* @__PURE__ */ getDefaultExportFromCjs(axios);
|
|
4424
3108
|
var propTypes$1 = { exports: {} };
|
|
4425
3109
|
var ReactPropTypesSecret$1 = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
4426
3110
|
var ReactPropTypesSecret_1 = ReactPropTypesSecret$1;
|
|
@@ -6831,10 +5515,10 @@ var ownKeys$7 = typeof Reflect !== "undefined" && Reflect.ownKeys ? Reflect.ownK
|
|
|
6831
5515
|
/* istanbul ignore next */
|
|
6832
5516
|
Object.getOwnPropertyNames
|
|
6833
5517
|
);
|
|
6834
|
-
function toPrimitive$
|
|
5518
|
+
function toPrimitive$3(value) {
|
|
6835
5519
|
return value === null ? null : typeof value === "object" ? "" + value : value;
|
|
6836
5520
|
}
|
|
6837
|
-
__name(toPrimitive$
|
|
5521
|
+
__name(toPrimitive$3, "toPrimitive$3");
|
|
6838
5522
|
function hasProp(target, prop2) {
|
|
6839
5523
|
return objectPrototype$1.hasOwnProperty.call(target, prop2);
|
|
6840
5524
|
}
|
|
@@ -7731,7 +6415,7 @@ var ObservableValue = /* @__PURE__ */ function(_Atom) {
|
|
|
7731
6415
|
return this.name_ + "[" + this.value_ + "]";
|
|
7732
6416
|
}, "toString");
|
|
7733
6417
|
_proto.valueOf = /* @__PURE__ */ __name(function valueOf() {
|
|
7734
|
-
return toPrimitive$
|
|
6418
|
+
return toPrimitive$3(this.get());
|
|
7735
6419
|
}, "valueOf");
|
|
7736
6420
|
_proto[_Symbol$toPrimitive] = function() {
|
|
7737
6421
|
return this.valueOf();
|
|
@@ -7916,7 +6600,7 @@ var ComputedValue = /* @__PURE__ */ function() {
|
|
|
7916
6600
|
return this.name_ + "[" + this.derivation.toString() + "]";
|
|
7917
6601
|
}, "toString");
|
|
7918
6602
|
_proto.valueOf = /* @__PURE__ */ __name(function valueOf() {
|
|
7919
|
-
return toPrimitive$
|
|
6603
|
+
return toPrimitive$3(this.get());
|
|
7920
6604
|
}, "valueOf");
|
|
7921
6605
|
_proto[_Symbol$toPrimitive$1] = function() {
|
|
7922
6606
|
return this.valueOf();
|
|
@@ -9552,7 +8236,7 @@ var ObservableMap = /* @__PURE__ */ function() {
|
|
|
9552
8236
|
_proto[_Symbol$iterator] = function() {
|
|
9553
8237
|
return this.entries();
|
|
9554
8238
|
};
|
|
9555
|
-
_proto.forEach = /* @__PURE__ */ __name(function
|
|
8239
|
+
_proto.forEach = /* @__PURE__ */ __name(function forEach3(callback2, thisArg) {
|
|
9556
8240
|
for (var _iterator3 = _createForOfIteratorHelperLoose$5(this), _step; !(_step = _iterator3()).done; ) {
|
|
9557
8241
|
var _step$value = _step.value, key = _step$value[0], value = _step$value[1];
|
|
9558
8242
|
callback2.call(thisArg, value, key, this);
|
|
@@ -9746,7 +8430,7 @@ var ObservableSet = /* @__PURE__ */ function() {
|
|
|
9746
8430
|
});
|
|
9747
8431
|
});
|
|
9748
8432
|
}, "clear");
|
|
9749
|
-
_proto.forEach = /* @__PURE__ */ __name(function
|
|
8433
|
+
_proto.forEach = /* @__PURE__ */ __name(function forEach3(callbackFn, thisArg) {
|
|
9750
8434
|
for (var _iterator22 = _createForOfIteratorHelperLoose$5(this), _step2; !(_step2 = _iterator22()).done; ) {
|
|
9751
8435
|
var value = _step2.value;
|
|
9752
8436
|
callbackFn.call(thisArg, value, value, this);
|
|
@@ -12550,7 +11234,7 @@ lodash.exports;
|
|
|
12550
11234
|
"^" + funcToString2.call(hasOwnProperty2).replace(reRegExpChar2, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
12551
11235
|
);
|
|
12552
11236
|
var Buffer2 = moduleExports2 ? context.Buffer : undefined$12, Symbol2 = context.Symbol, Uint8Array2 = context.Uint8Array, allocUnsafe2 = Buffer2 ? Buffer2.allocUnsafe : undefined$12, getPrototype2 = overArg2(Object2.getPrototypeOf, Object2), objectCreate2 = Object2.create, propertyIsEnumerable3 = objectProto2.propertyIsEnumerable, splice3 = arrayProto2.splice, spreadableSymbol2 = Symbol2 ? Symbol2.isConcatSpreadable : undefined$12, symIterator = Symbol2 ? Symbol2.iterator : undefined$12, symToStringTag2 = Symbol2 ? Symbol2.toStringTag : undefined$12;
|
|
12553
|
-
var
|
|
11237
|
+
var defineProperty6 = function() {
|
|
12554
11238
|
try {
|
|
12555
11239
|
var func = getNative2(Object2, "defineProperty");
|
|
12556
11240
|
func({}, "", {});
|
|
@@ -12990,8 +11674,8 @@ lodash.exports;
|
|
|
12990
11674
|
}
|
|
12991
11675
|
__name(baseAssignIn2, "baseAssignIn");
|
|
12992
11676
|
function baseAssignValue2(object3, key, value) {
|
|
12993
|
-
if (key == "__proto__" &&
|
|
12994
|
-
|
|
11677
|
+
if (key == "__proto__" && defineProperty6) {
|
|
11678
|
+
defineProperty6(object3, key, {
|
|
12995
11679
|
"configurable": true,
|
|
12996
11680
|
"enumerable": true,
|
|
12997
11681
|
"value": value,
|
|
@@ -13724,8 +12408,8 @@ lodash.exports;
|
|
|
13724
12408
|
metaMap.set(func, data);
|
|
13725
12409
|
return func;
|
|
13726
12410
|
};
|
|
13727
|
-
var baseSetToString2 = !
|
|
13728
|
-
return
|
|
12411
|
+
var baseSetToString2 = !defineProperty6 ? identity4 : function(func, string2) {
|
|
12412
|
+
return defineProperty6(func, "toString", {
|
|
13729
12413
|
"configurable": true,
|
|
13730
12414
|
"enumerable": false,
|
|
13731
12415
|
"value": constant2(string2),
|
|
@@ -15755,11 +14439,11 @@ lodash.exports;
|
|
|
15755
14439
|
return baseFlatten2(map3(collection, iteratee2), depth);
|
|
15756
14440
|
}
|
|
15757
14441
|
__name(flatMapDepth, "flatMapDepth");
|
|
15758
|
-
function
|
|
14442
|
+
function forEach3(collection, iteratee2) {
|
|
15759
14443
|
var func = isArray4(collection) ? arrayEach2 : baseEach2;
|
|
15760
14444
|
return func(collection, getIteratee(iteratee2, 3));
|
|
15761
14445
|
}
|
|
15762
|
-
__name(
|
|
14446
|
+
__name(forEach3, "forEach");
|
|
15763
14447
|
function forEachRight(collection, iteratee2) {
|
|
15764
14448
|
var func = isArray4(collection) ? arrayEachRight : baseEachRight;
|
|
15765
14449
|
return func(collection, getIteratee(iteratee2, 3));
|
|
@@ -15923,10 +14607,10 @@ lodash.exports;
|
|
|
15923
14607
|
};
|
|
15924
14608
|
}
|
|
15925
14609
|
__name(before, "before");
|
|
15926
|
-
var
|
|
14610
|
+
var bind3 = baseRest2(function(func, thisArg, partials) {
|
|
15927
14611
|
var bitmask = WRAP_BIND_FLAG;
|
|
15928
14612
|
if (partials.length) {
|
|
15929
|
-
var holders = replaceHolders(partials, getHolder(
|
|
14613
|
+
var holders = replaceHolders(partials, getHolder(bind3));
|
|
15930
14614
|
bitmask |= WRAP_PARTIAL_FLAG;
|
|
15931
14615
|
}
|
|
15932
14616
|
return createWrap(func, bitmask, thisArg, partials, holders);
|
|
@@ -16126,7 +14810,7 @@ lodash.exports;
|
|
|
16126
14810
|
return baseRest2(func, start2);
|
|
16127
14811
|
}
|
|
16128
14812
|
__name(rest, "rest");
|
|
16129
|
-
function
|
|
14813
|
+
function spread(func, start2) {
|
|
16130
14814
|
if (typeof func != "function") {
|
|
16131
14815
|
throw new TypeError2(FUNC_ERROR_TEXT2);
|
|
16132
14816
|
}
|
|
@@ -16139,7 +14823,7 @@ lodash.exports;
|
|
|
16139
14823
|
return apply2(func, this, otherArgs);
|
|
16140
14824
|
});
|
|
16141
14825
|
}
|
|
16142
|
-
__name(
|
|
14826
|
+
__name(spread, "spread");
|
|
16143
14827
|
function throttle2(func, wait, options) {
|
|
16144
14828
|
var leading = true, trailing = true;
|
|
16145
14829
|
if (typeof func != "function") {
|
|
@@ -16208,7 +14892,7 @@ lodash.exports;
|
|
|
16208
14892
|
return isObjectLike2(value) && hasOwnProperty2.call(value, "callee") && !propertyIsEnumerable3.call(value, "callee");
|
|
16209
14893
|
};
|
|
16210
14894
|
var isArray4 = Array2.isArray;
|
|
16211
|
-
var
|
|
14895
|
+
var isArrayBuffer = nodeIsArrayBuffer ? baseUnary2(nodeIsArrayBuffer) : baseIsArrayBuffer;
|
|
16212
14896
|
function isArrayLike2(value) {
|
|
16213
14897
|
return value != null && isLength2(value.length) && !isFunction2(value);
|
|
16214
14898
|
}
|
|
@@ -16459,11 +15143,11 @@ lodash.exports;
|
|
|
16459
15143
|
copyObject2(source, keys5(source), object3, customizer);
|
|
16460
15144
|
});
|
|
16461
15145
|
var at = flatRest2(baseAt);
|
|
16462
|
-
function
|
|
15146
|
+
function create6(prototype, properties) {
|
|
16463
15147
|
var result2 = baseCreate2(prototype);
|
|
16464
15148
|
return properties == null ? result2 : baseAssign2(result2, properties);
|
|
16465
15149
|
}
|
|
16466
|
-
__name(
|
|
15150
|
+
__name(create6, "create");
|
|
16467
15151
|
var defaults2 = baseRest2(function(object3, sources) {
|
|
16468
15152
|
object3 = Object2(object3);
|
|
16469
15153
|
var index2 = -1;
|
|
@@ -17049,7 +15733,7 @@ lodash.exports;
|
|
|
17049
15733
|
var bindAll = flatRest2(function(object3, methodNames) {
|
|
17050
15734
|
arrayEach2(methodNames, function(key) {
|
|
17051
15735
|
key = toKey2(key);
|
|
17052
|
-
baseAssignValue2(object3, key,
|
|
15736
|
+
baseAssignValue2(object3, key, bind3(object3[key], object3));
|
|
17053
15737
|
});
|
|
17054
15738
|
return object3;
|
|
17055
15739
|
});
|
|
@@ -17276,7 +15960,7 @@ lodash.exports;
|
|
|
17276
15960
|
lodash2.assignWith = assignWith;
|
|
17277
15961
|
lodash2.at = at;
|
|
17278
15962
|
lodash2.before = before;
|
|
17279
|
-
lodash2.bind =
|
|
15963
|
+
lodash2.bind = bind3;
|
|
17280
15964
|
lodash2.bindAll = bindAll;
|
|
17281
15965
|
lodash2.bindKey = bindKey;
|
|
17282
15966
|
lodash2.castArray = castArray;
|
|
@@ -17288,7 +15972,7 @@ lodash.exports;
|
|
|
17288
15972
|
lodash2.conforms = conforms;
|
|
17289
15973
|
lodash2.constant = constant2;
|
|
17290
15974
|
lodash2.countBy = countBy;
|
|
17291
|
-
lodash2.create =
|
|
15975
|
+
lodash2.create = create6;
|
|
17292
15976
|
lodash2.curry = curry;
|
|
17293
15977
|
lodash2.curryRight = curryRight;
|
|
17294
15978
|
lodash2.debounce = debounce2;
|
|
@@ -17378,7 +16062,7 @@ lodash.exports;
|
|
|
17378
16062
|
lodash2.sortedUniq = sortedUniq;
|
|
17379
16063
|
lodash2.sortedUniqBy = sortedUniqBy;
|
|
17380
16064
|
lodash2.split = split;
|
|
17381
|
-
lodash2.spread =
|
|
16065
|
+
lodash2.spread = spread;
|
|
17382
16066
|
lodash2.tail = tail;
|
|
17383
16067
|
lodash2.take = take;
|
|
17384
16068
|
lodash2.takeRight = takeRight2;
|
|
@@ -17448,7 +16132,7 @@ lodash.exports;
|
|
|
17448
16132
|
lodash2.findLastIndex = findLastIndex;
|
|
17449
16133
|
lodash2.findLastKey = findLastKey;
|
|
17450
16134
|
lodash2.floor = floor2;
|
|
17451
|
-
lodash2.forEach =
|
|
16135
|
+
lodash2.forEach = forEach3;
|
|
17452
16136
|
lodash2.forEachRight = forEachRight;
|
|
17453
16137
|
lodash2.forIn = forIn;
|
|
17454
16138
|
lodash2.forInRight = forInRight;
|
|
@@ -17467,7 +16151,7 @@ lodash.exports;
|
|
|
17467
16151
|
lodash2.invoke = invoke;
|
|
17468
16152
|
lodash2.isArguments = isArguments5;
|
|
17469
16153
|
lodash2.isArray = isArray4;
|
|
17470
|
-
lodash2.isArrayBuffer =
|
|
16154
|
+
lodash2.isArrayBuffer = isArrayBuffer;
|
|
17471
16155
|
lodash2.isArrayLike = isArrayLike2;
|
|
17472
16156
|
lodash2.isArrayLikeObject = isArrayLikeObject2;
|
|
17473
16157
|
lodash2.isBoolean = isBoolean2;
|
|
@@ -17571,7 +16255,7 @@ lodash.exports;
|
|
|
17571
16255
|
lodash2.uniqueId = uniqueId;
|
|
17572
16256
|
lodash2.upperCase = upperCase;
|
|
17573
16257
|
lodash2.upperFirst = upperFirst;
|
|
17574
|
-
lodash2.each =
|
|
16258
|
+
lodash2.each = forEach3;
|
|
17575
16259
|
lodash2.eachRight = forEachRight;
|
|
17576
16260
|
lodash2.first = head;
|
|
17577
16261
|
mixin(lodash2, function() {
|
|
@@ -18249,20 +16933,11 @@ var _fails = /* @__PURE__ */ __name(function(exec) {
|
|
|
18249
16933
|
return true;
|
|
18250
16934
|
}
|
|
18251
16935
|
}, "_fails");
|
|
18252
|
-
var _descriptors
|
|
18253
|
-
|
|
18254
|
-
|
|
18255
|
-
|
|
18256
|
-
|
|
18257
|
-
hasRequired_descriptors = 1;
|
|
18258
|
-
_descriptors = !_fails(function() {
|
|
18259
|
-
return Object.defineProperty({}, "a", { get: function() {
|
|
18260
|
-
return 7;
|
|
18261
|
-
} }).a != 7;
|
|
18262
|
-
});
|
|
18263
|
-
return _descriptors;
|
|
18264
|
-
}
|
|
18265
|
-
__name(require_descriptors, "require_descriptors");
|
|
16936
|
+
var _descriptors = !_fails(function() {
|
|
16937
|
+
return Object.defineProperty({}, "a", { get: function() {
|
|
16938
|
+
return 7;
|
|
16939
|
+
} }).a != 7;
|
|
16940
|
+
});
|
|
18266
16941
|
var _domCreate;
|
|
18267
16942
|
var hasRequired_domCreate;
|
|
18268
16943
|
function require_domCreate() {
|
|
@@ -18278,20 +16953,11 @@ function require_domCreate() {
|
|
|
18278
16953
|
return _domCreate;
|
|
18279
16954
|
}
|
|
18280
16955
|
__name(require_domCreate, "require_domCreate");
|
|
18281
|
-
var _ie8DomDefine
|
|
18282
|
-
|
|
18283
|
-
|
|
18284
|
-
|
|
18285
|
-
|
|
18286
|
-
hasRequired_ie8DomDefine = 1;
|
|
18287
|
-
_ie8DomDefine = !require_descriptors() && !_fails(function() {
|
|
18288
|
-
return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
|
|
18289
|
-
return 7;
|
|
18290
|
-
} }).a != 7;
|
|
18291
|
-
});
|
|
18292
|
-
return _ie8DomDefine;
|
|
18293
|
-
}
|
|
18294
|
-
__name(require_ie8DomDefine, "require_ie8DomDefine");
|
|
16956
|
+
var _ie8DomDefine = !_descriptors && !_fails(function() {
|
|
16957
|
+
return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
|
|
16958
|
+
return 7;
|
|
16959
|
+
} }).a != 7;
|
|
16960
|
+
});
|
|
18295
16961
|
var isObject$d = _isObject;
|
|
18296
16962
|
var _toPrimitive$1 = /* @__PURE__ */ __name(function(it, S2) {
|
|
18297
16963
|
if (!isObject$d(it))
|
|
@@ -18305,33 +16971,25 @@ var _toPrimitive$1 = /* @__PURE__ */ __name(function(it, S2) {
|
|
|
18305
16971
|
return val2;
|
|
18306
16972
|
throw TypeError("Can't convert object to primitive value");
|
|
18307
16973
|
}, "_toPrimitive$1");
|
|
18308
|
-
var
|
|
18309
|
-
|
|
18310
|
-
|
|
18311
|
-
|
|
18312
|
-
|
|
18313
|
-
|
|
18314
|
-
|
|
18315
|
-
|
|
18316
|
-
|
|
18317
|
-
|
|
18318
|
-
|
|
18319
|
-
|
|
18320
|
-
|
|
18321
|
-
|
|
18322
|
-
|
|
18323
|
-
|
|
18324
|
-
|
|
18325
|
-
|
|
18326
|
-
|
|
18327
|
-
throw TypeError("Accessors not supported!");
|
|
18328
|
-
if ("value" in Attributes)
|
|
18329
|
-
O2[P2] = Attributes.value;
|
|
18330
|
-
return O2;
|
|
18331
|
-
}, "defineProperty");
|
|
18332
|
-
return _objectDp;
|
|
18333
|
-
}
|
|
18334
|
-
__name(require_objectDp, "require_objectDp");
|
|
16974
|
+
var anObject$5 = _anObject;
|
|
16975
|
+
var IE8_DOM_DEFINE$1 = _ie8DomDefine;
|
|
16976
|
+
var toPrimitive$2 = _toPrimitive$1;
|
|
16977
|
+
var dP$3 = Object.defineProperty;
|
|
16978
|
+
_objectDp.f = _descriptors ? Object.defineProperty : /* @__PURE__ */ __name(function defineProperty2(O2, P2, Attributes) {
|
|
16979
|
+
anObject$5(O2);
|
|
16980
|
+
P2 = toPrimitive$2(P2, true);
|
|
16981
|
+
anObject$5(Attributes);
|
|
16982
|
+
if (IE8_DOM_DEFINE$1)
|
|
16983
|
+
try {
|
|
16984
|
+
return dP$3(O2, P2, Attributes);
|
|
16985
|
+
} catch (e2) {
|
|
16986
|
+
}
|
|
16987
|
+
if ("get" in Attributes || "set" in Attributes)
|
|
16988
|
+
throw TypeError("Accessors not supported!");
|
|
16989
|
+
if ("value" in Attributes)
|
|
16990
|
+
O2[P2] = Attributes.value;
|
|
16991
|
+
return O2;
|
|
16992
|
+
}, "defineProperty");
|
|
18335
16993
|
var _propertyDesc = /* @__PURE__ */ __name(function(bitmap, value) {
|
|
18336
16994
|
return {
|
|
18337
16995
|
enumerable: !(bitmap & 1),
|
|
@@ -18340,9 +16998,9 @@ var _propertyDesc = /* @__PURE__ */ __name(function(bitmap, value) {
|
|
|
18340
16998
|
value
|
|
18341
16999
|
};
|
|
18342
17000
|
}, "_propertyDesc");
|
|
18343
|
-
var dP$2 =
|
|
17001
|
+
var dP$2 = _objectDp;
|
|
18344
17002
|
var createDesc$3 = _propertyDesc;
|
|
18345
|
-
var _hide =
|
|
17003
|
+
var _hide = _descriptors ? function(object3, key, value) {
|
|
18346
17004
|
return dP$2.f(object3, key, createDesc$3(1, value));
|
|
18347
17005
|
} : function(object3, key, value) {
|
|
18348
17006
|
object3[key] = value;
|
|
@@ -18414,25 +17072,16 @@ var toString$6 = {}.toString;
|
|
|
18414
17072
|
var _cof = /* @__PURE__ */ __name(function(it) {
|
|
18415
17073
|
return toString$6.call(it).slice(8, -1);
|
|
18416
17074
|
}, "_cof");
|
|
18417
|
-
var
|
|
18418
|
-
var
|
|
18419
|
-
|
|
18420
|
-
|
|
18421
|
-
return _iobject;
|
|
18422
|
-
hasRequired_iobject = 1;
|
|
18423
|
-
var cof2 = _cof;
|
|
18424
|
-
_iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
|
|
18425
|
-
return cof2(it) == "String" ? it.split("") : Object(it);
|
|
18426
|
-
};
|
|
18427
|
-
return _iobject;
|
|
18428
|
-
}
|
|
18429
|
-
__name(require_iobject, "require_iobject");
|
|
17075
|
+
var cof$2 = _cof;
|
|
17076
|
+
var _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
|
|
17077
|
+
return cof$2(it) == "String" ? it.split("") : Object(it);
|
|
17078
|
+
};
|
|
18430
17079
|
var _defined = /* @__PURE__ */ __name(function(it) {
|
|
18431
17080
|
if (it == void 0)
|
|
18432
17081
|
throw TypeError("Can't call method on " + it);
|
|
18433
17082
|
return it;
|
|
18434
17083
|
}, "_defined");
|
|
18435
|
-
var IObject =
|
|
17084
|
+
var IObject = _iobject;
|
|
18436
17085
|
var defined$2 = _defined;
|
|
18437
17086
|
var _toIobject = /* @__PURE__ */ __name(function(it) {
|
|
18438
17087
|
return IObject(defined$2(it));
|
|
@@ -18529,15 +17178,7 @@ var _objectKeys = Object.keys || /* @__PURE__ */ __name(function keys(O2) {
|
|
|
18529
17178
|
var _objectGops = {};
|
|
18530
17179
|
_objectGops.f = Object.getOwnPropertySymbols;
|
|
18531
17180
|
var _objectPie = {};
|
|
18532
|
-
|
|
18533
|
-
function require_objectPie() {
|
|
18534
|
-
if (hasRequired_objectPie)
|
|
18535
|
-
return _objectPie;
|
|
18536
|
-
hasRequired_objectPie = 1;
|
|
18537
|
-
_objectPie.f = {}.propertyIsEnumerable;
|
|
18538
|
-
return _objectPie;
|
|
18539
|
-
}
|
|
18540
|
-
__name(require_objectPie, "require_objectPie");
|
|
17181
|
+
_objectPie.f = {}.propertyIsEnumerable;
|
|
18541
17182
|
var defined$1 = _defined;
|
|
18542
17183
|
var _toObject = /* @__PURE__ */ __name(function(it) {
|
|
18543
17184
|
return Object(defined$1(it));
|
|
@@ -18548,12 +17189,12 @@ function require_objectAssign() {
|
|
|
18548
17189
|
if (hasRequired_objectAssign)
|
|
18549
17190
|
return _objectAssign;
|
|
18550
17191
|
hasRequired_objectAssign = 1;
|
|
18551
|
-
var DESCRIPTORS2 =
|
|
17192
|
+
var DESCRIPTORS2 = _descriptors;
|
|
18552
17193
|
var getKeys2 = _objectKeys;
|
|
18553
17194
|
var gOPS2 = _objectGops;
|
|
18554
|
-
var pIE2 =
|
|
17195
|
+
var pIE2 = _objectPie;
|
|
18555
17196
|
var toObject2 = _toObject;
|
|
18556
|
-
var IObject2 =
|
|
17197
|
+
var IObject2 = _iobject;
|
|
18557
17198
|
var $assign = Object.assign;
|
|
18558
17199
|
_objectAssign = !$assign || _fails(function() {
|
|
18559
17200
|
var A2 = {};
|
|
@@ -18614,10 +17255,10 @@ var _iterStep = /* @__PURE__ */ __name(function(done, value) {
|
|
|
18614
17255
|
}, "_iterStep");
|
|
18615
17256
|
var _iterators = {};
|
|
18616
17257
|
var _redefine = _hide;
|
|
18617
|
-
var dP$1 =
|
|
17258
|
+
var dP$1 = _objectDp;
|
|
18618
17259
|
var anObject$4 = _anObject;
|
|
18619
17260
|
var getKeys$1 = _objectKeys;
|
|
18620
|
-
var _objectDps =
|
|
17261
|
+
var _objectDps = _descriptors ? Object.defineProperties : /* @__PURE__ */ __name(function defineProperties(O2, Properties2) {
|
|
18621
17262
|
anObject$4(O2);
|
|
18622
17263
|
var keys5 = getKeys$1(Properties2);
|
|
18623
17264
|
var length = keys5.length;
|
|
@@ -18663,7 +17304,7 @@ var createDict = /* @__PURE__ */ __name(function() {
|
|
|
18663
17304
|
delete createDict[PROTOTYPE$1][enumBugKeys[i]];
|
|
18664
17305
|
return createDict();
|
|
18665
17306
|
}, "createDict");
|
|
18666
|
-
var _objectCreate = Object.create || /* @__PURE__ */ __name(function
|
|
17307
|
+
var _objectCreate = Object.create || /* @__PURE__ */ __name(function create(O2, Properties2) {
|
|
18667
17308
|
var result;
|
|
18668
17309
|
if (O2 !== null) {
|
|
18669
17310
|
Empty[PROTOTYPE$1] = anObject$3(O2);
|
|
@@ -18684,7 +17325,7 @@ var $exports = _wks.exports = function(name2) {
|
|
|
18684
17325
|
};
|
|
18685
17326
|
$exports.store = store$2;
|
|
18686
17327
|
var _wksExports = _wks.exports;
|
|
18687
|
-
var def =
|
|
17328
|
+
var def = _objectDp.f;
|
|
18688
17329
|
var has$c = _has;
|
|
18689
17330
|
var TAG$1 = _wksExports("toStringTag");
|
|
18690
17331
|
var _setToStringTag = /* @__PURE__ */ __name(function(it, tag, stat) {
|
|
@@ -18957,7 +17598,7 @@ var ArrayProto = Array.prototype;
|
|
|
18957
17598
|
var _isArrayIter = /* @__PURE__ */ __name(function(it) {
|
|
18958
17599
|
return it !== void 0 && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
|
|
18959
17600
|
}, "_isArrayIter");
|
|
18960
|
-
var $defineProperty$2 =
|
|
17601
|
+
var $defineProperty$2 = _objectDp;
|
|
18961
17602
|
var createDesc$2 = _propertyDesc;
|
|
18962
17603
|
var _createProperty = /* @__PURE__ */ __name(function(object3, index2, value) {
|
|
18963
17604
|
if (index2 in object3)
|
|
@@ -19086,9 +17727,9 @@ var _default$8 = /* @__PURE__ */ __name(function(instance, Constructor) {
|
|
|
19086
17727
|
}
|
|
19087
17728
|
}, "_default$8");
|
|
19088
17729
|
var $export$3 = _export;
|
|
19089
|
-
$export$3($export$3.S + $export$3.F * !
|
|
17730
|
+
$export$3($export$3.S + $export$3.F * !_descriptors, "Object", { defineProperty: _objectDp.f });
|
|
19090
17731
|
var $Object$2 = _coreExports.Object;
|
|
19091
|
-
var defineProperty$c = /* @__PURE__ */ __name(function
|
|
17732
|
+
var defineProperty$c = /* @__PURE__ */ __name(function defineProperty3(it, key, desc) {
|
|
19092
17733
|
return $Object$2.defineProperty(it, key, desc);
|
|
19093
17734
|
}, "defineProperty");
|
|
19094
17735
|
var defineProperty$b = { "default": defineProperty$c, __esModule: true };
|
|
@@ -19127,7 +17768,7 @@ var _meta = { exports: {} };
|
|
|
19127
17768
|
var META$1 = _uid("meta");
|
|
19128
17769
|
var isObject$c = _isObject;
|
|
19129
17770
|
var has$a = _has;
|
|
19130
|
-
var setDesc =
|
|
17771
|
+
var setDesc = _objectDp.f;
|
|
19131
17772
|
var id$1 = 0;
|
|
19132
17773
|
var isExtensible = Object.isExtensible || function() {
|
|
19133
17774
|
return true;
|
|
@@ -19143,23 +17784,23 @@ var setMeta = /* @__PURE__ */ __name(function(it) {
|
|
|
19143
17784
|
// weak collections IDs
|
|
19144
17785
|
} });
|
|
19145
17786
|
}, "setMeta");
|
|
19146
|
-
var fastKey = /* @__PURE__ */ __name(function(it,
|
|
17787
|
+
var fastKey = /* @__PURE__ */ __name(function(it, create6) {
|
|
19147
17788
|
if (!isObject$c(it))
|
|
19148
17789
|
return typeof it == "symbol" ? it : (typeof it == "string" ? "S" : "P") + it;
|
|
19149
17790
|
if (!has$a(it, META$1)) {
|
|
19150
17791
|
if (!isExtensible(it))
|
|
19151
17792
|
return "F";
|
|
19152
|
-
if (!
|
|
17793
|
+
if (!create6)
|
|
19153
17794
|
return "E";
|
|
19154
17795
|
setMeta(it);
|
|
19155
17796
|
}
|
|
19156
17797
|
return it[META$1].i;
|
|
19157
17798
|
}, "fastKey");
|
|
19158
|
-
var getWeak = /* @__PURE__ */ __name(function(it,
|
|
17799
|
+
var getWeak = /* @__PURE__ */ __name(function(it, create6) {
|
|
19159
17800
|
if (!has$a(it, META$1)) {
|
|
19160
17801
|
if (!isExtensible(it))
|
|
19161
17802
|
return true;
|
|
19162
|
-
if (!
|
|
17803
|
+
if (!create6)
|
|
19163
17804
|
return false;
|
|
19164
17805
|
setMeta(it);
|
|
19165
17806
|
}
|
|
@@ -19180,7 +17821,7 @@ var meta = _meta.exports = {
|
|
|
19180
17821
|
var _metaExports = _meta.exports;
|
|
19181
17822
|
var core = _coreExports;
|
|
19182
17823
|
var wksExt$1 = _wksExt;
|
|
19183
|
-
var defineProperty$a =
|
|
17824
|
+
var defineProperty$a = _objectDp.f;
|
|
19184
17825
|
var _wksDefine = /* @__PURE__ */ __name(function(name2) {
|
|
19185
17826
|
var $Symbol2 = core.Symbol || (core.Symbol = {});
|
|
19186
17827
|
if (name2.charAt(0) != "_" && !(name2 in $Symbol2))
|
|
@@ -19188,7 +17829,7 @@ var _wksDefine = /* @__PURE__ */ __name(function(name2) {
|
|
|
19188
17829
|
}, "_wksDefine");
|
|
19189
17830
|
var getKeys = _objectKeys;
|
|
19190
17831
|
var gOPS$1 = _objectGops;
|
|
19191
|
-
var pIE$1 =
|
|
17832
|
+
var pIE$1 = _objectPie;
|
|
19192
17833
|
var _enumKeys = /* @__PURE__ */ __name(function(it) {
|
|
19193
17834
|
var result = getKeys(it);
|
|
19194
17835
|
var getSymbols2 = gOPS$1.f;
|
|
@@ -19229,14 +17870,14 @@ _objectGopnExt.f = /* @__PURE__ */ __name(function getOwnPropertyNames2(it) {
|
|
|
19229
17870
|
return windowNames && toString$5.call(it) == "[object Window]" ? getWindowNames(it) : gOPN$1(toIObject$2(it));
|
|
19230
17871
|
}, "getOwnPropertyNames");
|
|
19231
17872
|
var _objectGopd = {};
|
|
19232
|
-
var pIE =
|
|
17873
|
+
var pIE = _objectPie;
|
|
19233
17874
|
var createDesc$1 = _propertyDesc;
|
|
19234
17875
|
var toIObject$1 = _toIobject;
|
|
19235
17876
|
var toPrimitive$1 = _toPrimitive$1;
|
|
19236
17877
|
var has$9 = _has;
|
|
19237
|
-
var IE8_DOM_DEFINE =
|
|
17878
|
+
var IE8_DOM_DEFINE = _ie8DomDefine;
|
|
19238
17879
|
var gOPD$5 = Object.getOwnPropertyDescriptor;
|
|
19239
|
-
_objectGopd.f =
|
|
17880
|
+
_objectGopd.f = _descriptors ? gOPD$5 : /* @__PURE__ */ __name(function getOwnPropertyDescriptor(O2, P2) {
|
|
19240
17881
|
O2 = toIObject$1(O2);
|
|
19241
17882
|
P2 = toPrimitive$1(P2, true);
|
|
19242
17883
|
if (IE8_DOM_DEFINE)
|
|
@@ -19249,7 +17890,7 @@ _objectGopd.f = require_descriptors() ? gOPD$5 : /* @__PURE__ */ __name(function
|
|
|
19249
17890
|
}, "getOwnPropertyDescriptor");
|
|
19250
17891
|
var global$2 = _globalExports;
|
|
19251
17892
|
var has$8 = _has;
|
|
19252
|
-
var DESCRIPTORS =
|
|
17893
|
+
var DESCRIPTORS = _descriptors;
|
|
19253
17894
|
var $export$2 = _export;
|
|
19254
17895
|
var redefine = _redefine;
|
|
19255
17896
|
var META = _metaExports.KEY;
|
|
@@ -19272,7 +17913,7 @@ var _create$1 = _objectCreate;
|
|
|
19272
17913
|
var gOPNExt = _objectGopnExt;
|
|
19273
17914
|
var $GOPD = _objectGopd;
|
|
19274
17915
|
var $GOPS = _objectGops;
|
|
19275
|
-
var $DP =
|
|
17916
|
+
var $DP = _objectDp;
|
|
19276
17917
|
var $keys$1 = _objectKeys;
|
|
19277
17918
|
var gOPD$4 = $GOPD.f;
|
|
19278
17919
|
var dP = $DP.f;
|
|
@@ -19315,7 +17956,7 @@ var isSymbol$8 = USE_NATIVE && typeof $Symbol.iterator == "symbol" ? function(it
|
|
|
19315
17956
|
} : function(it) {
|
|
19316
17957
|
return it instanceof $Symbol;
|
|
19317
17958
|
};
|
|
19318
|
-
var $defineProperty$1 = /* @__PURE__ */ __name(function
|
|
17959
|
+
var $defineProperty$1 = /* @__PURE__ */ __name(function defineProperty4(it, key, D2) {
|
|
19319
17960
|
if (it === ObjectProto)
|
|
19320
17961
|
$defineProperty$1(OPSymbols, key, D2);
|
|
19321
17962
|
anObject(it);
|
|
@@ -19345,7 +17986,7 @@ var $defineProperties = /* @__PURE__ */ __name(function defineProperties2(it, P2
|
|
|
19345
17986
|
$defineProperty$1(it, key = keys5[i++], P2[key]);
|
|
19346
17987
|
return it;
|
|
19347
17988
|
}, "defineProperties");
|
|
19348
|
-
var $create = /* @__PURE__ */ __name(function
|
|
17989
|
+
var $create = /* @__PURE__ */ __name(function create2(it, P2) {
|
|
19349
17990
|
return P2 === void 0 ? _create$1(it) : $defineProperties(_create$1(it), P2);
|
|
19350
17991
|
}, "create");
|
|
19351
17992
|
var $propertyIsEnumerable = /* @__PURE__ */ __name(function propertyIsEnumerable(key) {
|
|
@@ -19409,7 +18050,7 @@ if (!USE_NATIVE) {
|
|
|
19409
18050
|
$GOPD.f = $getOwnPropertyDescriptor;
|
|
19410
18051
|
$DP.f = $defineProperty$1;
|
|
19411
18052
|
_objectGopn.f = gOPNExt.f = $getOwnPropertyNames;
|
|
19412
|
-
|
|
18053
|
+
_objectPie.f = $propertyIsEnumerable;
|
|
19413
18054
|
$GOPS.f = $getOwnPropertySymbols;
|
|
19414
18055
|
if (DESCRIPTORS && !_library) {
|
|
19415
18056
|
redefine(ObjectProto, "propertyIsEnumerable", $propertyIsEnumerable);
|
|
@@ -19577,7 +18218,7 @@ var setPrototypeOf = { "default": setPrototypeOf$1, __esModule: true };
|
|
|
19577
18218
|
var $export = _export;
|
|
19578
18219
|
$export($export.S, "Object", { create: _objectCreate });
|
|
19579
18220
|
var $Object$1 = _coreExports.Object;
|
|
19580
|
-
var create$3 = /* @__PURE__ */ __name(function
|
|
18221
|
+
var create$3 = /* @__PURE__ */ __name(function create3(P2, D2) {
|
|
19581
18222
|
return $Object$1.create(P2, D2);
|
|
19582
18223
|
}, "create");
|
|
19583
18224
|
var create$2 = { "default": create$3, __esModule: true };
|
|
@@ -27015,7 +25656,7 @@ function isPlainObject$3(value) {
|
|
|
27015
25656
|
__name(isPlainObject$3, "isPlainObject$3");
|
|
27016
25657
|
function trough() {
|
|
27017
25658
|
const fns = [];
|
|
27018
|
-
const pipeline = { run: run3, use
|
|
25659
|
+
const pipeline = { run: run3, use };
|
|
27019
25660
|
return pipeline;
|
|
27020
25661
|
function run3(...values2) {
|
|
27021
25662
|
let middlewareIndex = -1;
|
|
@@ -27046,7 +25687,7 @@ function trough() {
|
|
|
27046
25687
|
__name(next, "next");
|
|
27047
25688
|
}
|
|
27048
25689
|
__name(run3, "run");
|
|
27049
|
-
function
|
|
25690
|
+
function use(middelware) {
|
|
27050
25691
|
if (typeof middelware !== "function") {
|
|
27051
25692
|
throw new TypeError(
|
|
27052
25693
|
"Expected `middelware` to be a function, not " + middelware
|
|
@@ -27055,7 +25696,7 @@ function trough() {
|
|
|
27055
25696
|
fns.push(middelware);
|
|
27056
25697
|
return pipeline;
|
|
27057
25698
|
}
|
|
27058
|
-
__name(
|
|
25699
|
+
__name(use, "use");
|
|
27059
25700
|
}
|
|
27060
25701
|
__name(trough, "trough");
|
|
27061
25702
|
function wrap$1(middleware, callback2) {
|
|
@@ -27116,7 +25757,7 @@ function base() {
|
|
|
27116
25757
|
processor.Compiler = void 0;
|
|
27117
25758
|
processor.freeze = freeze;
|
|
27118
25759
|
processor.attachers = attachers;
|
|
27119
|
-
processor.use =
|
|
25760
|
+
processor.use = use;
|
|
27120
25761
|
processor.parse = parse3;
|
|
27121
25762
|
processor.stringify = stringify4;
|
|
27122
25763
|
processor.run = run3;
|
|
@@ -27173,7 +25814,7 @@ function base() {
|
|
|
27173
25814
|
return processor;
|
|
27174
25815
|
}
|
|
27175
25816
|
__name(freeze, "freeze");
|
|
27176
|
-
function
|
|
25817
|
+
function use(value, ...options) {
|
|
27177
25818
|
let settings;
|
|
27178
25819
|
assertUnfrozen("use", frozen);
|
|
27179
25820
|
if (value === null || value === void 0)
|
|
@@ -27249,7 +25890,7 @@ function base() {
|
|
|
27249
25890
|
}
|
|
27250
25891
|
__name(addPlugin, "addPlugin");
|
|
27251
25892
|
}
|
|
27252
|
-
__name(
|
|
25893
|
+
__name(use, "use");
|
|
27253
25894
|
function parse3(doc) {
|
|
27254
25895
|
processor.freeze();
|
|
27255
25896
|
const file = vfile(doc);
|
|
@@ -27516,19 +26157,19 @@ function push$1(list2, items) {
|
|
|
27516
26157
|
__name(push$1, "push$1");
|
|
27517
26158
|
const hasOwnProperty$j = {}.hasOwnProperty;
|
|
27518
26159
|
function combineExtensions(extensions) {
|
|
27519
|
-
const
|
|
26160
|
+
const all2 = {};
|
|
27520
26161
|
let index2 = -1;
|
|
27521
26162
|
while (++index2 < extensions.length) {
|
|
27522
|
-
syntaxExtension(
|
|
26163
|
+
syntaxExtension(all2, extensions[index2]);
|
|
27523
26164
|
}
|
|
27524
|
-
return
|
|
26165
|
+
return all2;
|
|
27525
26166
|
}
|
|
27526
26167
|
__name(combineExtensions, "combineExtensions");
|
|
27527
|
-
function syntaxExtension(
|
|
26168
|
+
function syntaxExtension(all2, extension2) {
|
|
27528
26169
|
let hook;
|
|
27529
26170
|
for (hook in extension2) {
|
|
27530
|
-
const maybe = hasOwnProperty$j.call(
|
|
27531
|
-
const left2 = maybe || (
|
|
26171
|
+
const maybe = hasOwnProperty$j.call(all2, hook) ? all2[hook] : void 0;
|
|
26172
|
+
const left2 = maybe || (all2[hook] = {});
|
|
27532
26173
|
const right2 = extension2[hook];
|
|
27533
26174
|
let code2;
|
|
27534
26175
|
if (right2) {
|
|
@@ -27929,7 +26570,7 @@ function resolveAllAttention(events2, context) {
|
|
|
27929
26570
|
let text2;
|
|
27930
26571
|
let openingSequence;
|
|
27931
26572
|
let closingSequence;
|
|
27932
|
-
let
|
|
26573
|
+
let use;
|
|
27933
26574
|
let nextEvents;
|
|
27934
26575
|
let offset4;
|
|
27935
26576
|
while (++index2 < events2.length) {
|
|
@@ -27941,28 +26582,28 @@ function resolveAllAttention(events2, context) {
|
|
|
27941
26582
|
if ((events2[open2][1]._close || events2[index2][1]._open) && (events2[index2][1].end.offset - events2[index2][1].start.offset) % 3 && !((events2[open2][1].end.offset - events2[open2][1].start.offset + events2[index2][1].end.offset - events2[index2][1].start.offset) % 3)) {
|
|
27942
26583
|
continue;
|
|
27943
26584
|
}
|
|
27944
|
-
|
|
26585
|
+
use = events2[open2][1].end.offset - events2[open2][1].start.offset > 1 && events2[index2][1].end.offset - events2[index2][1].start.offset > 1 ? 2 : 1;
|
|
27945
26586
|
const start2 = Object.assign({}, events2[open2][1].end);
|
|
27946
26587
|
const end2 = Object.assign({}, events2[index2][1].start);
|
|
27947
|
-
movePoint(start2, -
|
|
27948
|
-
movePoint(end2,
|
|
26588
|
+
movePoint(start2, -use);
|
|
26589
|
+
movePoint(end2, use);
|
|
27949
26590
|
openingSequence = {
|
|
27950
|
-
type:
|
|
26591
|
+
type: use > 1 ? "strongSequence" : "emphasisSequence",
|
|
27951
26592
|
start: start2,
|
|
27952
26593
|
end: Object.assign({}, events2[open2][1].end)
|
|
27953
26594
|
};
|
|
27954
26595
|
closingSequence = {
|
|
27955
|
-
type:
|
|
26596
|
+
type: use > 1 ? "strongSequence" : "emphasisSequence",
|
|
27956
26597
|
start: Object.assign({}, events2[index2][1].start),
|
|
27957
26598
|
end: end2
|
|
27958
26599
|
};
|
|
27959
26600
|
text2 = {
|
|
27960
|
-
type:
|
|
26601
|
+
type: use > 1 ? "strongText" : "emphasisText",
|
|
27961
26602
|
start: Object.assign({}, events2[open2][1].end),
|
|
27962
26603
|
end: Object.assign({}, events2[index2][1].start)
|
|
27963
26604
|
};
|
|
27964
26605
|
group = {
|
|
27965
|
-
type:
|
|
26606
|
+
type: use > 1 ? "strong" : "emphasis",
|
|
27966
26607
|
start: Object.assign({}, openingSequence.start),
|
|
27967
26608
|
end: Object.assign({}, closingSequence.end)
|
|
27968
26609
|
};
|
|
@@ -31312,12 +29953,12 @@ function createTokenizer(parser, initialize, from3) {
|
|
|
31312
29953
|
return start2;
|
|
31313
29954
|
function start2(code2) {
|
|
31314
29955
|
const def2 = code2 !== null && map3[code2];
|
|
31315
|
-
const
|
|
29956
|
+
const all2 = code2 !== null && map3.null;
|
|
31316
29957
|
const list2 = [
|
|
31317
29958
|
// To do: add more extension tests.
|
|
31318
29959
|
/* c8 ignore next 2 */
|
|
31319
29960
|
...Array.isArray(def2) ? def2 : def2 ? [def2] : [],
|
|
31320
|
-
...Array.isArray(
|
|
29961
|
+
...Array.isArray(all2) ? all2 : all2 ? [all2] : []
|
|
31321
29962
|
];
|
|
31322
29963
|
return handleListOfConstructs(list2)(code2);
|
|
31323
29964
|
}
|
|
@@ -31572,21 +30213,21 @@ function parse$7(options) {
|
|
|
31572
30213
|
defined: [],
|
|
31573
30214
|
lazy: {},
|
|
31574
30215
|
constructs: constructs2,
|
|
31575
|
-
content:
|
|
31576
|
-
document:
|
|
31577
|
-
flow:
|
|
31578
|
-
string:
|
|
31579
|
-
text:
|
|
30216
|
+
content: create6(content$1),
|
|
30217
|
+
document: create6(document$2),
|
|
30218
|
+
flow: create6(flow$1),
|
|
30219
|
+
string: create6(string$1),
|
|
30220
|
+
text: create6(text$3)
|
|
31580
30221
|
};
|
|
31581
30222
|
return parser;
|
|
31582
|
-
function
|
|
30223
|
+
function create6(initial) {
|
|
31583
30224
|
return creator;
|
|
31584
30225
|
function creator(from3) {
|
|
31585
30226
|
return createTokenizer(parser, initial, from3);
|
|
31586
30227
|
}
|
|
31587
30228
|
__name(creator, "creator");
|
|
31588
30229
|
}
|
|
31589
|
-
__name(
|
|
30230
|
+
__name(create6, "create");
|
|
31590
30231
|
}
|
|
31591
30232
|
__name(parse$7, "parse$7");
|
|
31592
30233
|
const search$1 = /[\0\t\n\r]/g;
|
|
@@ -31997,10 +30638,10 @@ function compiler(options) {
|
|
|
31997
30638
|
return data[key];
|
|
31998
30639
|
}
|
|
31999
30640
|
__name(getData, "getData");
|
|
32000
|
-
function opener(
|
|
30641
|
+
function opener(create6, and) {
|
|
32001
30642
|
return open2;
|
|
32002
30643
|
function open2(token) {
|
|
32003
|
-
enter2.call(this,
|
|
30644
|
+
enter2.call(this, create6(token), token);
|
|
32004
30645
|
if (and)
|
|
32005
30646
|
and.call(this, token);
|
|
32006
30647
|
}
|
|
@@ -32865,8 +31506,8 @@ function listLoose(node2) {
|
|
|
32865
31506
|
}
|
|
32866
31507
|
__name(listLoose, "listLoose");
|
|
32867
31508
|
function listItemLoose(node2) {
|
|
32868
|
-
const
|
|
32869
|
-
return
|
|
31509
|
+
const spread = node2.spread;
|
|
31510
|
+
return spread === void 0 || spread === null ? node2.children.length > 1 : spread;
|
|
32870
31511
|
}
|
|
32871
31512
|
__name(listItemLoose, "listItemLoose");
|
|
32872
31513
|
function list(state2, node2) {
|
|
@@ -33162,8 +31803,8 @@ function anyFactory(tests) {
|
|
|
33162
31803
|
}
|
|
33163
31804
|
__name(anyFactory, "anyFactory");
|
|
33164
31805
|
function propsFactory(check2) {
|
|
33165
|
-
return castFactory(
|
|
33166
|
-
function
|
|
31806
|
+
return castFactory(all2);
|
|
31807
|
+
function all2(node2) {
|
|
33167
31808
|
let key;
|
|
33168
31809
|
for (key in check2) {
|
|
33169
31810
|
if (node2[key] !== check2[key])
|
|
@@ -33171,7 +31812,7 @@ function propsFactory(check2) {
|
|
|
33171
31812
|
}
|
|
33172
31813
|
return true;
|
|
33173
31814
|
}
|
|
33174
|
-
__name(
|
|
31815
|
+
__name(all2, "all");
|
|
33175
31816
|
}
|
|
33176
31817
|
__name(propsFactory, "propsFactory");
|
|
33177
31818
|
function typeFactory(check2) {
|
|
@@ -33422,7 +32063,7 @@ function createState(tree, options) {
|
|
|
33422
32063
|
}
|
|
33423
32064
|
__name(oneBound, "oneBound");
|
|
33424
32065
|
function allBound(parent2) {
|
|
33425
|
-
return
|
|
32066
|
+
return all(state2, parent2);
|
|
33426
32067
|
}
|
|
33427
32068
|
__name(allBound, "allBound");
|
|
33428
32069
|
}
|
|
@@ -33469,7 +32110,7 @@ function one(state2, node2, parent2) {
|
|
|
33469
32110
|
return state2.handlers[type](state2, node2, parent2);
|
|
33470
32111
|
}
|
|
33471
32112
|
if (state2.passThrough && state2.passThrough.includes(type)) {
|
|
33472
|
-
return "children" in node2 ? __spreadProps(__spreadValues({}, node2), { children:
|
|
32113
|
+
return "children" in node2 ? __spreadProps(__spreadValues({}, node2), { children: all(state2, node2) }) : node2;
|
|
33473
32114
|
}
|
|
33474
32115
|
if (state2.unknownHandler) {
|
|
33475
32116
|
return state2.unknownHandler(state2, node2, parent2);
|
|
@@ -33477,7 +32118,7 @@ function one(state2, node2, parent2) {
|
|
|
33477
32118
|
return defaultUnknownHandler(state2, node2);
|
|
33478
32119
|
}
|
|
33479
32120
|
__name(one, "one");
|
|
33480
|
-
function
|
|
32121
|
+
function all(state2, parent2) {
|
|
33481
32122
|
const values2 = [];
|
|
33482
32123
|
if ("children" in parent2) {
|
|
33483
32124
|
const nodes = parent2.children;
|
|
@@ -33506,14 +32147,14 @@ function all2(state2, parent2) {
|
|
|
33506
32147
|
}
|
|
33507
32148
|
return values2;
|
|
33508
32149
|
}
|
|
33509
|
-
__name(
|
|
32150
|
+
__name(all, "all");
|
|
33510
32151
|
function defaultUnknownHandler(state2, node2) {
|
|
33511
32152
|
const data = node2.data || {};
|
|
33512
32153
|
const result = "value" in node2 && !(own$4.call(data, "hProperties") || own$4.call(data, "hChildren")) ? { type: "text", value: node2.value } : {
|
|
33513
32154
|
type: "element",
|
|
33514
32155
|
tagName: "div",
|
|
33515
32156
|
properties: {},
|
|
33516
|
-
children:
|
|
32157
|
+
children: all(state2, node2)
|
|
33517
32158
|
};
|
|
33518
32159
|
state2.patch(node2, result);
|
|
33519
32160
|
return state2.applyData(node2, result);
|
|
@@ -40878,7 +39519,7 @@ var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
|
40878
39519
|
var slice$1 = Array.prototype.slice;
|
|
40879
39520
|
var toStr$4 = Object.prototype.toString;
|
|
40880
39521
|
var funcType = "[object Function]";
|
|
40881
|
-
var implementation$8 = /* @__PURE__ */ __name(function
|
|
39522
|
+
var implementation$8 = /* @__PURE__ */ __name(function bind(that) {
|
|
40882
39523
|
var target = this;
|
|
40883
39524
|
if (typeof target !== "function" || toStr$4.call(target) !== funcType) {
|
|
40884
39525
|
throw new TypeError(ERROR_MESSAGE + target);
|
|
@@ -41222,11 +39863,11 @@ var getIntrinsic = /* @__PURE__ */ __name(function GetIntrinsic(name2, allowMiss
|
|
|
41222
39863
|
}, "GetIntrinsic");
|
|
41223
39864
|
var callBind$3 = { exports: {} };
|
|
41224
39865
|
(function(module2) {
|
|
41225
|
-
var
|
|
39866
|
+
var bind3 = functionBind;
|
|
41226
39867
|
var GetIntrinsic3 = getIntrinsic;
|
|
41227
39868
|
var $apply = GetIntrinsic3("%Function.prototype.apply%");
|
|
41228
39869
|
var $call = GetIntrinsic3("%Function.prototype.call%");
|
|
41229
|
-
var $reflectApply = GetIntrinsic3("%Reflect.apply%", true) ||
|
|
39870
|
+
var $reflectApply = GetIntrinsic3("%Reflect.apply%", true) || bind3.call($call, $apply);
|
|
41230
39871
|
var $gOPD2 = GetIntrinsic3("%Object.getOwnPropertyDescriptor%", true);
|
|
41231
39872
|
var $defineProperty2 = GetIntrinsic3("%Object.defineProperty%", true);
|
|
41232
39873
|
var $max = GetIntrinsic3("%Math.max%");
|
|
@@ -41238,7 +39879,7 @@ var callBind$3 = { exports: {} };
|
|
|
41238
39879
|
}
|
|
41239
39880
|
}
|
|
41240
39881
|
module2.exports = /* @__PURE__ */ __name(function callBind2(originalFunction) {
|
|
41241
|
-
var func = $reflectApply(
|
|
39882
|
+
var func = $reflectApply(bind3, $call, arguments);
|
|
41242
39883
|
if ($gOPD2 && $defineProperty2) {
|
|
41243
39884
|
var desc = $gOPD2(func, "length");
|
|
41244
39885
|
if (desc.configurable) {
|
|
@@ -41252,7 +39893,7 @@ var callBind$3 = { exports: {} };
|
|
|
41252
39893
|
return func;
|
|
41253
39894
|
}, "callBind");
|
|
41254
39895
|
var applyBind = /* @__PURE__ */ __name(function applyBind2() {
|
|
41255
|
-
return $reflectApply(
|
|
39896
|
+
return $reflectApply(bind3, $apply, arguments);
|
|
41256
39897
|
}, "applyBind");
|
|
41257
39898
|
if ($defineProperty2) {
|
|
41258
39899
|
$defineProperty2(module2.exports, "apply", { value: applyBind });
|
|
@@ -52938,8 +51579,8 @@ function useDeepCompareMemoize(value) {
|
|
|
52938
51579
|
}, [signalRef.current]);
|
|
52939
51580
|
}
|
|
52940
51581
|
__name(useDeepCompareMemoize, "useDeepCompareMemoize");
|
|
52941
|
-
function useDeepCompareEffect(callback2,
|
|
52942
|
-
return React__namespace.useEffect(callback2, useDeepCompareMemoize(
|
|
51582
|
+
function useDeepCompareEffect(callback2, dependencies) {
|
|
51583
|
+
return React__namespace.useEffect(callback2, useDeepCompareMemoize(dependencies));
|
|
52943
51584
|
}
|
|
52944
51585
|
__name(useDeepCompareEffect, "useDeepCompareEffect");
|
|
52945
51586
|
const _TgSuggest = class _TgSuggest extends React$2.Component {
|
|
@@ -71717,8 +70358,6 @@ function UploaderInner({
|
|
|
71717
70358
|
fileLimit,
|
|
71718
70359
|
readBeforeUpload,
|
|
71719
70360
|
//read the file using the browser's FileReader before passing it to onChange and/or uploading it
|
|
71720
|
-
uploadInBulk,
|
|
71721
|
-
//tnr: not yet implemented
|
|
71722
70361
|
showUploadList = true,
|
|
71723
70362
|
beforeUpload,
|
|
71724
70363
|
fileList,
|
|
@@ -71742,8 +70381,7 @@ function UploaderInner({
|
|
|
71742
70381
|
initializeForm,
|
|
71743
70382
|
showFilesCount,
|
|
71744
70383
|
threeDotMenuItems,
|
|
71745
|
-
onPreviewClick
|
|
71746
|
-
axiosInstance = window.api || axios$1
|
|
70384
|
+
onPreviewClick
|
|
71747
70385
|
}) {
|
|
71748
70386
|
var _a2, _b2, _c, _d, _e, _f;
|
|
71749
70387
|
const validateAgainstSchemaStore = React$2.useRef(new ValidateAgainstSchema());
|
|
@@ -71947,45 +70585,45 @@ function UploaderInner({
|
|
|
71947
70585
|
if (!keepGoing)
|
|
71948
70586
|
return;
|
|
71949
70587
|
if (action2) {
|
|
71950
|
-
|
|
71951
|
-
|
|
71952
|
-
|
|
71953
|
-
|
|
71954
|
-
|
|
71955
|
-
|
|
71956
|
-
const
|
|
71957
|
-
|
|
71958
|
-
|
|
71959
|
-
|
|
71960
|
-
|
|
71961
|
-
|
|
71962
|
-
const fileToReturn = __spreadValues(__spreadValues({}, file), res.data[0]);
|
|
71963
|
-
if (fileToReturn.id === fileToUpload.id) {
|
|
71964
|
-
fileToReturn.loading = false;
|
|
71965
|
-
}
|
|
71966
|
-
return fileToReturn;
|
|
71967
|
-
});
|
|
71968
|
-
onChange(cleanedFileList);
|
|
71969
|
-
});
|
|
71970
|
-
}).catch(function(err2) {
|
|
71971
|
-
console.error("Error uploading file:", err2);
|
|
71972
|
-
responses.push(__spreadProps(__spreadValues({}, fileToUpload), {
|
|
71973
|
-
error: err2 && err2.msg ? err2.msg : err2
|
|
71974
|
-
}));
|
|
70588
|
+
const responses = [];
|
|
70589
|
+
yield Promise.all(
|
|
70590
|
+
acceptedFiles.map((fileToUpload) => __async(this, null, function* () {
|
|
70591
|
+
const data = new FormData();
|
|
70592
|
+
data.append("file", fileToUpload);
|
|
70593
|
+
try {
|
|
70594
|
+
const res = yield window.api ? window.api.post(action2, data) : fetch(action2, {
|
|
70595
|
+
method: "POST",
|
|
70596
|
+
body: data
|
|
70597
|
+
});
|
|
70598
|
+
responses.push(res.data && res.data[0]);
|
|
70599
|
+
onFileSuccess(res.data[0]).then(() => {
|
|
71975
70600
|
cleanedFileList = cleanedFileList.map((file) => {
|
|
71976
|
-
const fileToReturn = __spreadValues({}, file);
|
|
70601
|
+
const fileToReturn = __spreadValues(__spreadValues({}, file), res.data[0]);
|
|
71977
70602
|
if (fileToReturn.id === fileToUpload.id) {
|
|
71978
70603
|
fileToReturn.loading = false;
|
|
71979
|
-
fileToReturn.error = true;
|
|
71980
70604
|
}
|
|
71981
70605
|
return fileToReturn;
|
|
71982
70606
|
});
|
|
71983
70607
|
onChange(cleanedFileList);
|
|
71984
70608
|
});
|
|
71985
|
-
})
|
|
71986
|
-
|
|
71987
|
-
|
|
71988
|
-
|
|
70609
|
+
} catch (err2) {
|
|
70610
|
+
console.error("Error uploading file:", err2);
|
|
70611
|
+
responses.push(__spreadProps(__spreadValues({}, fileToUpload), {
|
|
70612
|
+
error: err2 && err2.msg ? err2.msg : err2
|
|
70613
|
+
}));
|
|
70614
|
+
cleanedFileList = cleanedFileList.map((file) => {
|
|
70615
|
+
const fileToReturn = __spreadValues({}, file);
|
|
70616
|
+
if (fileToReturn.id === fileToUpload.id) {
|
|
70617
|
+
fileToReturn.loading = false;
|
|
70618
|
+
fileToReturn.error = true;
|
|
70619
|
+
}
|
|
70620
|
+
return fileToReturn;
|
|
70621
|
+
});
|
|
70622
|
+
onChange(cleanedFileList);
|
|
70623
|
+
}
|
|
70624
|
+
}))
|
|
70625
|
+
);
|
|
70626
|
+
onFieldSubmit(responses);
|
|
71989
70627
|
} else {
|
|
71990
70628
|
onChange(
|
|
71991
70629
|
cleanedFileList.map(function(file) {
|
|
@@ -74725,7 +73363,7 @@ ObjectWithoutPrototypeCache.prototype.set = function(key, value) {
|
|
|
74725
73363
|
this.cache[key] = value;
|
|
74726
73364
|
};
|
|
74727
73365
|
var cacheDefault = {
|
|
74728
|
-
create: /* @__PURE__ */ __name(function
|
|
73366
|
+
create: /* @__PURE__ */ __name(function create4() {
|
|
74729
73367
|
return new ObjectWithoutPrototypeCache();
|
|
74730
73368
|
}, "create")
|
|
74731
73369
|
};
|
|
@@ -83663,10 +82301,10 @@ __name(requireEmpty, "requireEmpty");
|
|
|
83663
82301
|
return value;
|
|
83664
82302
|
}
|
|
83665
82303
|
__name(dateReviver, "dateReviver");
|
|
83666
|
-
function
|
|
82304
|
+
function create6(options) {
|
|
83667
82305
|
return new DiffPatcher(options);
|
|
83668
82306
|
}
|
|
83669
|
-
__name(
|
|
82307
|
+
__name(create6, "create");
|
|
83670
82308
|
var defaultInstance$4 = void 0;
|
|
83671
82309
|
function diff() {
|
|
83672
82310
|
if (!defaultInstance$4) {
|
|
@@ -83706,7 +82344,7 @@ __name(requireEmpty, "requireEmpty");
|
|
|
83706
82344
|
exports3.DiffPatcher = DiffPatcher;
|
|
83707
82345
|
exports3.formatters = index2;
|
|
83708
82346
|
exports3.console = console$1;
|
|
83709
|
-
exports3.create =
|
|
82347
|
+
exports3.create = create6;
|
|
83710
82348
|
exports3.dateReviver = dateReviver;
|
|
83711
82349
|
exports3.diff = diff;
|
|
83712
82350
|
exports3.patch = patch2;
|
|
@@ -107301,7 +105939,7 @@ const reducer$1 = createReducer(
|
|
|
107301
105939
|
const newPanels = removeItem(group, indexToClose);
|
|
107302
105940
|
let mostRecentIndex = 0;
|
|
107303
105941
|
newPanels.forEach((p2) => {
|
|
107304
|
-
if (p2.lastActive > newPanels[mostRecentIndex].lastActive) {
|
|
105942
|
+
if ((p2.lastActive || 0) > (newPanels[mostRecentIndex].lastActive || 0)) {
|
|
107305
105943
|
mostRecentIndex = newPanels.indexOf(p2);
|
|
107306
105944
|
}
|
|
107307
105945
|
});
|
|
@@ -107408,7 +106046,7 @@ const panelsShown = /* @__PURE__ */ __name((state2, action2) => {
|
|
|
107408
106046
|
nextState.forEach((pg) => {
|
|
107409
106047
|
pg.forEach((p2) => {
|
|
107410
106048
|
if (p2.active) {
|
|
107411
|
-
p2.lastActive = Date.now()
|
|
106049
|
+
p2.lastActive = Date.now();
|
|
107412
106050
|
}
|
|
107413
106051
|
});
|
|
107414
106052
|
});
|
|
@@ -109166,16 +107804,16 @@ function defaultMemoize(func, equalityCheckOrOptions) {
|
|
|
109166
107804
|
}
|
|
109167
107805
|
__name(defaultMemoize, "defaultMemoize");
|
|
109168
107806
|
function getDependencies(funcs) {
|
|
109169
|
-
var
|
|
109170
|
-
if (!
|
|
107807
|
+
var dependencies = Array.isArray(funcs[0]) ? funcs[0] : funcs;
|
|
107808
|
+
if (!dependencies.every(function(dep) {
|
|
109171
107809
|
return typeof dep === "function";
|
|
109172
107810
|
})) {
|
|
109173
|
-
var dependencyTypes =
|
|
107811
|
+
var dependencyTypes = dependencies.map(function(dep) {
|
|
109174
107812
|
return typeof dep === "function" ? "function " + (dep.name || "unnamed") + "()" : typeof dep;
|
|
109175
107813
|
}).join(", ");
|
|
109176
107814
|
throw new Error("createSelector expects all input-selectors to be functions, but received the following types: [" + dependencyTypes + "]");
|
|
109177
107815
|
}
|
|
109178
|
-
return
|
|
107816
|
+
return dependencies;
|
|
109179
107817
|
}
|
|
109180
107818
|
__name(getDependencies, "getDependencies");
|
|
109181
107819
|
function createSelectorCreator(memoize2) {
|
|
@@ -109201,16 +107839,16 @@ function createSelectorCreator(memoize2) {
|
|
|
109201
107839
|
}
|
|
109202
107840
|
var _directlyPassedOption = directlyPassedOptions, _directlyPassedOption2 = _directlyPassedOption.memoizeOptions, memoizeOptions = _directlyPassedOption2 === void 0 ? memoizeOptionsFromArgs : _directlyPassedOption2;
|
|
109203
107841
|
var finalMemoizeOptions = Array.isArray(memoizeOptions) ? memoizeOptions : [memoizeOptions];
|
|
109204
|
-
var
|
|
107842
|
+
var dependencies = getDependencies(funcs);
|
|
109205
107843
|
var memoizedResultFunc = memoize2.apply(void 0, [/* @__PURE__ */ __name(function recomputationWrapper() {
|
|
109206
107844
|
_recomputations++;
|
|
109207
107845
|
return resultFunc.apply(null, arguments);
|
|
109208
107846
|
}, "recomputationWrapper")].concat(finalMemoizeOptions));
|
|
109209
107847
|
var selector = memoize2(/* @__PURE__ */ __name(function dependenciesChecker() {
|
|
109210
107848
|
var params = [];
|
|
109211
|
-
var length =
|
|
107849
|
+
var length = dependencies.length;
|
|
109212
107850
|
for (var i = 0; i < length; i++) {
|
|
109213
|
-
params.push(
|
|
107851
|
+
params.push(dependencies[i].apply(null, arguments));
|
|
109214
107852
|
}
|
|
109215
107853
|
_lastResult = memoizedResultFunc.apply(null, params);
|
|
109216
107854
|
return _lastResult;
|
|
@@ -109218,7 +107856,7 @@ function createSelectorCreator(memoize2) {
|
|
|
109218
107856
|
Object.assign(selector, {
|
|
109219
107857
|
resultFunc,
|
|
109220
107858
|
memoizedResultFunc,
|
|
109221
|
-
dependencies
|
|
107859
|
+
dependencies,
|
|
109222
107860
|
lastResult: /* @__PURE__ */ __name(function lastResult() {
|
|
109223
107861
|
return _lastResult;
|
|
109224
107862
|
}, "lastResult"),
|
|
@@ -110403,13 +109041,13 @@ var domToImage = { exports: {} };
|
|
|
110403
109041
|
url += (/\?/.test(url) ? "&" : "?") + (/* @__PURE__ */ new Date()).getTime();
|
|
110404
109042
|
}
|
|
110405
109043
|
return new Promise(function(resolve) {
|
|
110406
|
-
var
|
|
110407
|
-
|
|
110408
|
-
|
|
110409
|
-
|
|
110410
|
-
|
|
110411
|
-
|
|
110412
|
-
|
|
109044
|
+
var request = new XMLHttpRequest();
|
|
109045
|
+
request.onreadystatechange = done;
|
|
109046
|
+
request.ontimeout = timeout;
|
|
109047
|
+
request.responseType = "blob";
|
|
109048
|
+
request.timeout = TIMEOUT;
|
|
109049
|
+
request.open("GET", url, true);
|
|
109050
|
+
request.send();
|
|
110413
109051
|
var placeholder;
|
|
110414
109052
|
if (domtoimage2.impl.options.imagePlaceholder) {
|
|
110415
109053
|
var split = domtoimage2.impl.options.imagePlaceholder.split(/,/);
|
|
@@ -110418,13 +109056,13 @@ var domToImage = { exports: {} };
|
|
|
110418
109056
|
}
|
|
110419
109057
|
}
|
|
110420
109058
|
function done() {
|
|
110421
|
-
if (
|
|
109059
|
+
if (request.readyState !== 4)
|
|
110422
109060
|
return;
|
|
110423
|
-
if (
|
|
109061
|
+
if (request.status !== 200) {
|
|
110424
109062
|
if (placeholder) {
|
|
110425
109063
|
resolve(placeholder);
|
|
110426
109064
|
} else {
|
|
110427
|
-
fail("cannot fetch resource: " + url + ", status: " +
|
|
109065
|
+
fail("cannot fetch resource: " + url + ", status: " + request.status);
|
|
110428
109066
|
}
|
|
110429
109067
|
return;
|
|
110430
109068
|
}
|
|
@@ -110433,7 +109071,7 @@ var domToImage = { exports: {} };
|
|
|
110433
109071
|
var content2 = encoder.result.split(/,/)[1];
|
|
110434
109072
|
resolve(content2);
|
|
110435
109073
|
};
|
|
110436
|
-
encoder.readAsDataURL(
|
|
109074
|
+
encoder.readAsDataURL(request.response);
|
|
110437
109075
|
}
|
|
110438
109076
|
__name(done, "done");
|
|
110439
109077
|
function timeout() {
|
|
@@ -112581,8 +111219,8 @@ var moveToNextCombine = /* @__PURE__ */ __name((_ref) => {
|
|
|
112581
111219
|
});
|
|
112582
111220
|
}
|
|
112583
111221
|
__name(getImpact, "getImpact");
|
|
112584
|
-
const
|
|
112585
|
-
const closestId =
|
|
111222
|
+
const all2 = previousImpact.displaced.all;
|
|
111223
|
+
const closestId = all2.length ? all2[0] : null;
|
|
112586
111224
|
if (isMovingForward) {
|
|
112587
111225
|
return closestId ? getImpact(closestId) : null;
|
|
112588
111226
|
}
|
|
@@ -114718,7 +113356,7 @@ var lift = /* @__PURE__ */ __name((marshal) => (_ref) => {
|
|
|
114718
113356
|
const scrollOptions = {
|
|
114719
113357
|
shouldPublishImmediately: movementMode === "SNAP"
|
|
114720
113358
|
};
|
|
114721
|
-
const
|
|
113359
|
+
const request = {
|
|
114722
113360
|
draggableId: id2,
|
|
114723
113361
|
scrollOptions
|
|
114724
113362
|
};
|
|
@@ -114726,7 +113364,7 @@ var lift = /* @__PURE__ */ __name((marshal) => (_ref) => {
|
|
|
114726
113364
|
critical,
|
|
114727
113365
|
dimensions,
|
|
114728
113366
|
viewport: viewport2
|
|
114729
|
-
} = marshal.startPublishing(
|
|
113367
|
+
} = marshal.startPublishing(request);
|
|
114730
113368
|
dispatch(initialPublish({
|
|
114731
113369
|
critical,
|
|
114732
113370
|
dimensions,
|
|
@@ -115670,9 +114308,9 @@ var createDimensionMarshal = /* @__PURE__ */ __name((registry, callbacks) => {
|
|
|
115670
114308
|
}
|
|
115671
114309
|
}
|
|
115672
114310
|
}, "subscriber");
|
|
115673
|
-
const startPublishing = /* @__PURE__ */ __name((
|
|
114311
|
+
const startPublishing = /* @__PURE__ */ __name((request) => {
|
|
115674
114312
|
!!collection ? invariant$1(false) : void 0;
|
|
115675
|
-
const entry = registry.draggable.getById(
|
|
114313
|
+
const entry = registry.draggable.getById(request.draggableId);
|
|
115676
114314
|
const home2 = registry.droppable.getById(entry.descriptor.droppableId);
|
|
115677
114315
|
const critical = {
|
|
115678
114316
|
draggable: entry.descriptor,
|
|
@@ -115686,7 +114324,7 @@ var createDimensionMarshal = /* @__PURE__ */ __name((registry, callbacks) => {
|
|
|
115686
114324
|
return getInitialPublish({
|
|
115687
114325
|
critical,
|
|
115688
114326
|
registry,
|
|
115689
|
-
scrollOptions:
|
|
114327
|
+
scrollOptions: request.scrollOptions
|
|
115690
114328
|
});
|
|
115691
114329
|
}, "startPublishing");
|
|
115692
114330
|
const marshal = {
|
|
@@ -116239,13 +114877,13 @@ var createJumpScroller = /* @__PURE__ */ __name((_ref) => {
|
|
|
116239
114877
|
return remainder;
|
|
116240
114878
|
}, "scrollWindowAsMuchAsItCan");
|
|
116241
114879
|
const jumpScroller = /* @__PURE__ */ __name((state2) => {
|
|
116242
|
-
const
|
|
116243
|
-
if (!
|
|
114880
|
+
const request = state2.scrollJumpRequest;
|
|
114881
|
+
if (!request) {
|
|
116244
114882
|
return;
|
|
116245
114883
|
}
|
|
116246
114884
|
const destination = whatIsDraggedOver(state2.impact);
|
|
116247
114885
|
!destination ? invariant$1(false) : void 0;
|
|
116248
|
-
const droppableRemainder = scrollDroppableAsMuchAsItCan(state2.dimensions.droppables[destination],
|
|
114886
|
+
const droppableRemainder = scrollDroppableAsMuchAsItCan(state2.dimensions.droppables[destination], request);
|
|
116249
114887
|
if (!droppableRemainder) {
|
|
116250
114888
|
return;
|
|
116251
114889
|
}
|
|
@@ -116826,7 +115464,7 @@ function usePrevious(current) {
|
|
|
116826
115464
|
return ref;
|
|
116827
115465
|
}
|
|
116828
115466
|
__name(usePrevious, "usePrevious");
|
|
116829
|
-
function
|
|
115467
|
+
function create5() {
|
|
116830
115468
|
let lock = null;
|
|
116831
115469
|
function isClaimed() {
|
|
116832
115470
|
return Boolean(lock);
|
|
@@ -116865,7 +115503,7 @@ function create6() {
|
|
|
116865
115503
|
tryAbandon
|
|
116866
115504
|
};
|
|
116867
115505
|
}
|
|
116868
|
-
__name(
|
|
115506
|
+
__name(create5, "create");
|
|
116869
115507
|
function isDragging(state2) {
|
|
116870
115508
|
if (state2.phase === "IDLE" || state2.phase === "DROP_ANIMATING") {
|
|
116871
115509
|
return false;
|
|
@@ -117908,7 +116546,7 @@ function useSensorMarshal(_ref4) {
|
|
|
117908
116546
|
enableDefaultSensors
|
|
117909
116547
|
} = _ref4;
|
|
117910
116548
|
const useSensors = [...enableDefaultSensors ? defaultSensors : [], ...customSensors || []];
|
|
117911
|
-
const lockAPI = React$2.useState(() =>
|
|
116549
|
+
const lockAPI = React$2.useState(() => create5())[0];
|
|
117912
116550
|
const tryAbandonLock = useCallback(/* @__PURE__ */ __name(function tryAbandonLock2(previous2, current) {
|
|
117913
116551
|
if (isDragging(previous2) && !isDragging(current)) {
|
|
117914
116552
|
lockAPI.tryAbandon();
|
|
@@ -120384,7 +119022,7 @@ var instrumentations = {
|
|
|
120384
119022
|
}
|
|
120385
119023
|
return result;
|
|
120386
119024
|
}, "clear"),
|
|
120387
|
-
forEach: /* @__PURE__ */ __name(function
|
|
119025
|
+
forEach: /* @__PURE__ */ __name(function forEach(cb) {
|
|
120388
119026
|
var args = [], len = arguments.length - 1;
|
|
120389
119027
|
while (len-- > 0)
|
|
120390
119028
|
args[len] = arguments[len + 1];
|
|
@@ -125413,7 +124051,7 @@ function getGapsDefault() {
|
|
|
125413
124051
|
}
|
|
125414
124052
|
__name(getGapsDefault, "getGapsDefault");
|
|
125415
124053
|
var Combokeys$1 = { exports: {} };
|
|
125416
|
-
var
|
|
124054
|
+
var bind2 = /* @__PURE__ */ __name(function(keys5, callback2, action2) {
|
|
125417
124055
|
var self2 = this;
|
|
125418
124056
|
keys5 = keys5 instanceof Array ? keys5 : [keys5];
|
|
125419
124057
|
self2.bindMultiple(keys5, callback2, action2);
|
|
@@ -126014,7 +124652,7 @@ Combokeys$1.exports;
|
|
|
126014
124652
|
}
|
|
126015
124653
|
return self2;
|
|
126016
124654
|
};
|
|
126017
|
-
module2.exports.prototype.bind =
|
|
124655
|
+
module2.exports.prototype.bind = bind2;
|
|
126018
124656
|
module2.exports.prototype.bindMultiple = bindMultiple;
|
|
126019
124657
|
module2.exports.prototype.unbind = unbind;
|
|
126020
124658
|
module2.exports.prototype.trigger = trigger;
|
|
@@ -126078,7 +124716,7 @@ function showFileDialog({ multiple = false, onSelect }) {
|
|
|
126078
124716
|
}
|
|
126079
124717
|
__name(showFileDialog, "showFileDialog");
|
|
126080
124718
|
const name = "@teselagen/ove";
|
|
126081
|
-
const version = "0.3.
|
|
124719
|
+
const version = "0.3.58";
|
|
126082
124720
|
const main = "./src/index.js";
|
|
126083
124721
|
const exports$1 = {
|
|
126084
124722
|
".": {
|
|
@@ -128405,7 +127043,7 @@ var createClass = function() {
|
|
|
128405
127043
|
return Constructor;
|
|
128406
127044
|
};
|
|
128407
127045
|
}();
|
|
128408
|
-
var
|
|
127046
|
+
var defineProperty5 = /* @__PURE__ */ __name(function(obj, key, value) {
|
|
128409
127047
|
if (key in obj) {
|
|
128410
127048
|
Object.defineProperty(obj, key, {
|
|
128411
127049
|
value,
|
|
@@ -129016,7 +127654,7 @@ function arrow(data, options) {
|
|
|
129016
127654
|
var sideValue = center - data.offsets.popper[side] - popperMarginSide - popperBorderSide;
|
|
129017
127655
|
sideValue = Math.max(Math.min(popper2[len] - arrowElementSize, sideValue), 0);
|
|
129018
127656
|
data.arrowElement = arrowElement;
|
|
129019
|
-
data.offsets.arrow = (_data$offsets$arrow = {},
|
|
127657
|
+
data.offsets.arrow = (_data$offsets$arrow = {}, defineProperty5(_data$offsets$arrow, side, Math.round(sideValue)), defineProperty5(_data$offsets$arrow, altSide, ""), _data$offsets$arrow);
|
|
129020
127658
|
return data;
|
|
129021
127659
|
}
|
|
129022
127660
|
__name(arrow, "arrow");
|
|
@@ -129247,7 +127885,7 @@ function preventOverflow(data, options) {
|
|
|
129247
127885
|
if (popper2[placement] < boundaries[placement] && !options.escapeWithReference) {
|
|
129248
127886
|
value = Math.max(popper2[placement], boundaries[placement]);
|
|
129249
127887
|
}
|
|
129250
|
-
return
|
|
127888
|
+
return defineProperty5({}, placement, value);
|
|
129251
127889
|
}, "primary"),
|
|
129252
127890
|
secondary: /* @__PURE__ */ __name(function secondary(placement) {
|
|
129253
127891
|
var mainSide = placement === "right" ? "left" : "top";
|
|
@@ -129255,7 +127893,7 @@ function preventOverflow(data, options) {
|
|
|
129255
127893
|
if (popper2[placement] > boundaries[placement] && !options.escapeWithReference) {
|
|
129256
127894
|
value = Math.min(popper2[mainSide], boundaries[placement] - (placement === "right" ? popper2.width : popper2.height));
|
|
129257
127895
|
}
|
|
129258
|
-
return
|
|
127896
|
+
return defineProperty5({}, mainSide, value);
|
|
129259
127897
|
}, "secondary")
|
|
129260
127898
|
};
|
|
129261
127899
|
order2.forEach(function(placement) {
|
|
@@ -129276,8 +127914,8 @@ function shift3(data) {
|
|
|
129276
127914
|
var side = isVertical ? "left" : "top";
|
|
129277
127915
|
var measurement = isVertical ? "width" : "height";
|
|
129278
127916
|
var shiftOffsets = {
|
|
129279
|
-
start:
|
|
129280
|
-
end:
|
|
127917
|
+
start: defineProperty5({}, side, reference2[side]),
|
|
127918
|
+
end: defineProperty5({}, side, reference2[side] + reference2[measurement] - popper2[measurement])
|
|
129281
127919
|
};
|
|
129282
127920
|
data.offsets.popper = _extends$1({}, popper2, shiftOffsets[shiftvariation]);
|
|
129283
127921
|
}
|
|
@@ -131764,7 +130402,7 @@ function getEditDeleteHandlers(type, annotation) {
|
|
|
131764
130402
|
__name(getEditDeleteHandlers, "getEditDeleteHandlers");
|
|
131765
130403
|
const style$h = "";
|
|
131766
130404
|
function SequenceName({ sequenceName, sequenceLength, isProtein: isProtein2 }) {
|
|
131767
|
-
return /* @__PURE__ */ React$2.createElement("div", { key: "
|
|
130405
|
+
return /* @__PURE__ */ React$2.createElement("div", { key: "sequenceNameText", className: "sequenceNameText" }, /* @__PURE__ */ React$2.createElement("span", null, sequenceName, " "), /* @__PURE__ */ React$2.createElement("br", null), /* @__PURE__ */ React$2.createElement("span", null, isProtein2 ? `${Math.floor(sequenceLength / 3)} AAs` : `${sequenceLength} bps`));
|
|
131768
130406
|
}
|
|
131769
130407
|
__name(SequenceName, "SequenceName");
|
|
131770
130408
|
function massageTickSpacing(spacing) {
|
|
@@ -150782,10 +149420,10 @@ detector.isIE = function(version2) {
|
|
|
150782
149420
|
return true;
|
|
150783
149421
|
}
|
|
150784
149422
|
var ieVersion = function() {
|
|
150785
|
-
var undef, v2 = 3, div2 = document.createElement("div"),
|
|
149423
|
+
var undef, v2 = 3, div2 = document.createElement("div"), all2 = div2.getElementsByTagName("i");
|
|
150786
149424
|
do {
|
|
150787
149425
|
div2.innerHTML = "<!--[if gt IE " + ++v2 + "]><i></i><![endif]-->";
|
|
150788
|
-
} while (
|
|
149426
|
+
} while (all2[0]);
|
|
150789
149427
|
return v2 > 4 ? v2 : undef;
|
|
150790
149428
|
}();
|
|
150791
149429
|
return version2 === ieVersion;
|
|
@@ -151629,7 +150267,7 @@ var scroll = /* @__PURE__ */ __name(function(options) {
|
|
|
151629
150267
|
initDocument
|
|
151630
150268
|
};
|
|
151631
150269
|
}, "scroll");
|
|
151632
|
-
var
|
|
150270
|
+
var forEach2 = collectionUtilsExports.forEach;
|
|
151633
150271
|
var elementUtilsMaker = elementUtils;
|
|
151634
150272
|
var listenerHandlerMaker = listenerHandler;
|
|
151635
150273
|
var idGeneratorMaker = idGenerator;
|
|
@@ -151647,7 +150285,7 @@ __name(isCollection, "isCollection");
|
|
|
151647
150285
|
function toArray(collection) {
|
|
151648
150286
|
if (!Array.isArray(collection)) {
|
|
151649
150287
|
var array2 = [];
|
|
151650
|
-
|
|
150288
|
+
forEach2(collection, function(obj) {
|
|
151651
150289
|
array2.push(obj);
|
|
151652
150290
|
});
|
|
151653
150291
|
return array2;
|
|
@@ -151721,7 +150359,7 @@ var elementResizeDetector = /* @__PURE__ */ __name(function(options) {
|
|
|
151721
150359
|
function listenTo(options2, elements, listener) {
|
|
151722
150360
|
function onResizeCallback(element2) {
|
|
151723
150361
|
var listeners = eventListenerHandler.get(element2);
|
|
151724
|
-
|
|
150362
|
+
forEach2(listeners, /* @__PURE__ */ __name(function callListenerProxy(listener2) {
|
|
151725
150363
|
listener2(element2);
|
|
151726
150364
|
}, "callListenerProxy"));
|
|
151727
150365
|
}
|
|
@@ -151756,7 +150394,7 @@ var elementResizeDetector = /* @__PURE__ */ __name(function(options) {
|
|
|
151756
150394
|
var onReadyCallback = getOption(options2, "onReady", /* @__PURE__ */ __name(function noop3() {
|
|
151757
150395
|
}, "noop"));
|
|
151758
150396
|
var debug = getOption(options2, "debug", globalOptions.debug);
|
|
151759
|
-
|
|
150397
|
+
forEach2(elements, /* @__PURE__ */ __name(function attachListenerToElement(element2) {
|
|
151760
150398
|
if (!stateHandler.getState(element2)) {
|
|
151761
150399
|
stateHandler.initState(element2);
|
|
151762
150400
|
idHandler2.set(element2);
|
|
@@ -151795,7 +150433,7 @@ var elementResizeDetector = /* @__PURE__ */ __name(function(options) {
|
|
|
151795
150433
|
}
|
|
151796
150434
|
}
|
|
151797
150435
|
if (onReadyCallbacks[id2]) {
|
|
151798
|
-
|
|
150436
|
+
forEach2(onReadyCallbacks[id2], function(callback2) {
|
|
151799
150437
|
callback2();
|
|
151800
150438
|
});
|
|
151801
150439
|
}
|
|
@@ -151829,7 +150467,7 @@ var elementResizeDetector = /* @__PURE__ */ __name(function(options) {
|
|
|
151829
150467
|
} else {
|
|
151830
150468
|
return reporter2.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");
|
|
151831
150469
|
}
|
|
151832
|
-
|
|
150470
|
+
forEach2(elements, function(element2) {
|
|
151833
150471
|
eventListenerHandler.removeAllListeners(element2);
|
|
151834
150472
|
detectionStrategy.uninstall(element2);
|
|
151835
150473
|
stateHandler.cleanState(element2);
|