title-switcher 2.2.1 → 2.2.2
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/browser/titleSwitcher.js +48 -1338
- package/browser/titleSwitcher.min.js +1 -1
- package/dist/main.js +15 -9
- package/dist/main.min.js +1 -1
- package/package.json +2 -5
package/browser/titleSwitcher.js
CHANGED
|
@@ -23,1300 +23,10 @@ var titleSwitcher = (() => {
|
|
|
23
23
|
}
|
|
24
24
|
});
|
|
25
25
|
|
|
26
|
-
// node_modules/core-js/internals/global-this.js
|
|
27
|
-
var require_global_this = __commonJS({
|
|
28
|
-
"node_modules/core-js/internals/global-this.js"(exports, module) {
|
|
29
|
-
"use strict";
|
|
30
|
-
init_process();
|
|
31
|
-
var check = function(it) {
|
|
32
|
-
return it && it.Math === Math && it;
|
|
33
|
-
};
|
|
34
|
-
module.exports = // eslint-disable-next-line es/no-global-this -- safe
|
|
35
|
-
check(typeof globalThis == "object" && globalThis) || check(typeof window == "object" && window) || // eslint-disable-next-line no-restricted-globals -- safe
|
|
36
|
-
check(typeof self == "object" && self) || check(typeof globalThis == "object" && globalThis) || check(typeof exports == "object" && exports) || // eslint-disable-next-line no-new-func -- fallback
|
|
37
|
-
/* @__PURE__ */ (function() {
|
|
38
|
-
return this;
|
|
39
|
-
})() || Function("return this")();
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
|
|
43
|
-
// node_modules/core-js/internals/fails.js
|
|
44
|
-
var require_fails = __commonJS({
|
|
45
|
-
"node_modules/core-js/internals/fails.js"(exports, module) {
|
|
46
|
-
"use strict";
|
|
47
|
-
init_process();
|
|
48
|
-
module.exports = function(exec) {
|
|
49
|
-
try {
|
|
50
|
-
return !!exec();
|
|
51
|
-
} catch (error) {
|
|
52
|
-
return true;
|
|
53
|
-
}
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
|
|
58
|
-
// node_modules/core-js/internals/descriptors.js
|
|
59
|
-
var require_descriptors = __commonJS({
|
|
60
|
-
"node_modules/core-js/internals/descriptors.js"(exports, module) {
|
|
61
|
-
"use strict";
|
|
62
|
-
init_process();
|
|
63
|
-
var fails = require_fails();
|
|
64
|
-
module.exports = !fails(function() {
|
|
65
|
-
return Object.defineProperty({}, 1, { get: function() {
|
|
66
|
-
return 7;
|
|
67
|
-
} })[1] !== 7;
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
|
|
72
|
-
// node_modules/core-js/internals/function-bind-native.js
|
|
73
|
-
var require_function_bind_native = __commonJS({
|
|
74
|
-
"node_modules/core-js/internals/function-bind-native.js"(exports, module) {
|
|
75
|
-
"use strict";
|
|
76
|
-
init_process();
|
|
77
|
-
var fails = require_fails();
|
|
78
|
-
module.exports = !fails(function() {
|
|
79
|
-
var test = function() {
|
|
80
|
-
}.bind();
|
|
81
|
-
return typeof test != "function" || test.hasOwnProperty("prototype");
|
|
82
|
-
});
|
|
83
|
-
}
|
|
84
|
-
});
|
|
85
|
-
|
|
86
|
-
// node_modules/core-js/internals/function-call.js
|
|
87
|
-
var require_function_call = __commonJS({
|
|
88
|
-
"node_modules/core-js/internals/function-call.js"(exports, module) {
|
|
89
|
-
"use strict";
|
|
90
|
-
init_process();
|
|
91
|
-
var NATIVE_BIND = require_function_bind_native();
|
|
92
|
-
var call = Function.prototype.call;
|
|
93
|
-
module.exports = NATIVE_BIND ? call.bind(call) : function() {
|
|
94
|
-
return call.apply(call, arguments);
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
});
|
|
98
|
-
|
|
99
|
-
// node_modules/core-js/internals/object-property-is-enumerable.js
|
|
100
|
-
var require_object_property_is_enumerable = __commonJS({
|
|
101
|
-
"node_modules/core-js/internals/object-property-is-enumerable.js"(exports) {
|
|
102
|
-
"use strict";
|
|
103
|
-
init_process();
|
|
104
|
-
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
105
|
-
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
106
|
-
var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);
|
|
107
|
-
exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
108
|
-
var descriptor = getOwnPropertyDescriptor(this, V);
|
|
109
|
-
return !!descriptor && descriptor.enumerable;
|
|
110
|
-
} : $propertyIsEnumerable;
|
|
111
|
-
}
|
|
112
|
-
});
|
|
113
|
-
|
|
114
|
-
// node_modules/core-js/internals/create-property-descriptor.js
|
|
115
|
-
var require_create_property_descriptor = __commonJS({
|
|
116
|
-
"node_modules/core-js/internals/create-property-descriptor.js"(exports, module) {
|
|
117
|
-
"use strict";
|
|
118
|
-
init_process();
|
|
119
|
-
module.exports = function(bitmap, value) {
|
|
120
|
-
return {
|
|
121
|
-
enumerable: !(bitmap & 1),
|
|
122
|
-
configurable: !(bitmap & 2),
|
|
123
|
-
writable: !(bitmap & 4),
|
|
124
|
-
value
|
|
125
|
-
};
|
|
126
|
-
};
|
|
127
|
-
}
|
|
128
|
-
});
|
|
129
|
-
|
|
130
|
-
// node_modules/core-js/internals/function-uncurry-this.js
|
|
131
|
-
var require_function_uncurry_this = __commonJS({
|
|
132
|
-
"node_modules/core-js/internals/function-uncurry-this.js"(exports, module) {
|
|
133
|
-
"use strict";
|
|
134
|
-
init_process();
|
|
135
|
-
var NATIVE_BIND = require_function_bind_native();
|
|
136
|
-
var FunctionPrototype = Function.prototype;
|
|
137
|
-
var call = FunctionPrototype.call;
|
|
138
|
-
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
|
|
139
|
-
module.exports = NATIVE_BIND ? uncurryThisWithBind : function(fn) {
|
|
140
|
-
return function() {
|
|
141
|
-
return call.apply(fn, arguments);
|
|
142
|
-
};
|
|
143
|
-
};
|
|
144
|
-
}
|
|
145
|
-
});
|
|
146
|
-
|
|
147
|
-
// node_modules/core-js/internals/classof-raw.js
|
|
148
|
-
var require_classof_raw = __commonJS({
|
|
149
|
-
"node_modules/core-js/internals/classof-raw.js"(exports, module) {
|
|
150
|
-
"use strict";
|
|
151
|
-
init_process();
|
|
152
|
-
var uncurryThis = require_function_uncurry_this();
|
|
153
|
-
var toString = uncurryThis({}.toString);
|
|
154
|
-
var stringSlice = uncurryThis("".slice);
|
|
155
|
-
module.exports = function(it) {
|
|
156
|
-
return stringSlice(toString(it), 8, -1);
|
|
157
|
-
};
|
|
158
|
-
}
|
|
159
|
-
});
|
|
160
|
-
|
|
161
|
-
// node_modules/core-js/internals/indexed-object.js
|
|
162
|
-
var require_indexed_object = __commonJS({
|
|
163
|
-
"node_modules/core-js/internals/indexed-object.js"(exports, module) {
|
|
164
|
-
"use strict";
|
|
165
|
-
init_process();
|
|
166
|
-
var uncurryThis = require_function_uncurry_this();
|
|
167
|
-
var fails = require_fails();
|
|
168
|
-
var classof = require_classof_raw();
|
|
169
|
-
var $Object = Object;
|
|
170
|
-
var split = uncurryThis("".split);
|
|
171
|
-
module.exports = fails(function() {
|
|
172
|
-
return !$Object("z").propertyIsEnumerable(0);
|
|
173
|
-
}) ? function(it) {
|
|
174
|
-
return classof(it) === "String" ? split(it, "") : $Object(it);
|
|
175
|
-
} : $Object;
|
|
176
|
-
}
|
|
177
|
-
});
|
|
178
|
-
|
|
179
|
-
// node_modules/core-js/internals/is-null-or-undefined.js
|
|
180
|
-
var require_is_null_or_undefined = __commonJS({
|
|
181
|
-
"node_modules/core-js/internals/is-null-or-undefined.js"(exports, module) {
|
|
182
|
-
"use strict";
|
|
183
|
-
init_process();
|
|
184
|
-
module.exports = function(it) {
|
|
185
|
-
return it === null || it === void 0;
|
|
186
|
-
};
|
|
187
|
-
}
|
|
188
|
-
});
|
|
189
|
-
|
|
190
|
-
// node_modules/core-js/internals/require-object-coercible.js
|
|
191
|
-
var require_require_object_coercible = __commonJS({
|
|
192
|
-
"node_modules/core-js/internals/require-object-coercible.js"(exports, module) {
|
|
193
|
-
"use strict";
|
|
194
|
-
init_process();
|
|
195
|
-
var isNullOrUndefined = require_is_null_or_undefined();
|
|
196
|
-
var $TypeError = TypeError;
|
|
197
|
-
module.exports = function(it) {
|
|
198
|
-
if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it);
|
|
199
|
-
return it;
|
|
200
|
-
};
|
|
201
|
-
}
|
|
202
|
-
});
|
|
203
|
-
|
|
204
|
-
// node_modules/core-js/internals/to-indexed-object.js
|
|
205
|
-
var require_to_indexed_object = __commonJS({
|
|
206
|
-
"node_modules/core-js/internals/to-indexed-object.js"(exports, module) {
|
|
207
|
-
"use strict";
|
|
208
|
-
init_process();
|
|
209
|
-
var IndexedObject = require_indexed_object();
|
|
210
|
-
var requireObjectCoercible = require_require_object_coercible();
|
|
211
|
-
module.exports = function(it) {
|
|
212
|
-
return IndexedObject(requireObjectCoercible(it));
|
|
213
|
-
};
|
|
214
|
-
}
|
|
215
|
-
});
|
|
216
|
-
|
|
217
|
-
// node_modules/core-js/internals/is-callable.js
|
|
218
|
-
var require_is_callable = __commonJS({
|
|
219
|
-
"node_modules/core-js/internals/is-callable.js"(exports, module) {
|
|
220
|
-
"use strict";
|
|
221
|
-
init_process();
|
|
222
|
-
var documentAll = typeof document == "object" && document.all;
|
|
223
|
-
module.exports = typeof documentAll == "undefined" && documentAll !== void 0 ? function(argument) {
|
|
224
|
-
return typeof argument == "function" || argument === documentAll;
|
|
225
|
-
} : function(argument) {
|
|
226
|
-
return typeof argument == "function";
|
|
227
|
-
};
|
|
228
|
-
}
|
|
229
|
-
});
|
|
230
|
-
|
|
231
|
-
// node_modules/core-js/internals/is-object.js
|
|
232
|
-
var require_is_object = __commonJS({
|
|
233
|
-
"node_modules/core-js/internals/is-object.js"(exports, module) {
|
|
234
|
-
"use strict";
|
|
235
|
-
init_process();
|
|
236
|
-
var isCallable = require_is_callable();
|
|
237
|
-
module.exports = function(it) {
|
|
238
|
-
return typeof it == "object" ? it !== null : isCallable(it);
|
|
239
|
-
};
|
|
240
|
-
}
|
|
241
|
-
});
|
|
242
|
-
|
|
243
|
-
// node_modules/core-js/internals/get-built-in.js
|
|
244
|
-
var require_get_built_in = __commonJS({
|
|
245
|
-
"node_modules/core-js/internals/get-built-in.js"(exports, module) {
|
|
246
|
-
"use strict";
|
|
247
|
-
init_process();
|
|
248
|
-
var globalThis2 = require_global_this();
|
|
249
|
-
var isCallable = require_is_callable();
|
|
250
|
-
var aFunction = function(argument) {
|
|
251
|
-
return isCallable(argument) ? argument : void 0;
|
|
252
|
-
};
|
|
253
|
-
module.exports = function(namespace, method) {
|
|
254
|
-
return arguments.length < 2 ? aFunction(globalThis2[namespace]) : globalThis2[namespace] && globalThis2[namespace][method];
|
|
255
|
-
};
|
|
256
|
-
}
|
|
257
|
-
});
|
|
258
|
-
|
|
259
|
-
// node_modules/core-js/internals/object-is-prototype-of.js
|
|
260
|
-
var require_object_is_prototype_of = __commonJS({
|
|
261
|
-
"node_modules/core-js/internals/object-is-prototype-of.js"(exports, module) {
|
|
262
|
-
"use strict";
|
|
263
|
-
init_process();
|
|
264
|
-
var uncurryThis = require_function_uncurry_this();
|
|
265
|
-
module.exports = uncurryThis({}.isPrototypeOf);
|
|
266
|
-
}
|
|
267
|
-
});
|
|
268
|
-
|
|
269
|
-
// node_modules/core-js/internals/environment-user-agent.js
|
|
270
|
-
var require_environment_user_agent = __commonJS({
|
|
271
|
-
"node_modules/core-js/internals/environment-user-agent.js"(exports, module) {
|
|
272
|
-
"use strict";
|
|
273
|
-
init_process();
|
|
274
|
-
var globalThis2 = require_global_this();
|
|
275
|
-
var navigator = globalThis2.navigator;
|
|
276
|
-
var userAgent = navigator && navigator.userAgent;
|
|
277
|
-
module.exports = userAgent ? String(userAgent) : "";
|
|
278
|
-
}
|
|
279
|
-
});
|
|
280
|
-
|
|
281
|
-
// node_modules/core-js/internals/environment-v8-version.js
|
|
282
|
-
var require_environment_v8_version = __commonJS({
|
|
283
|
-
"node_modules/core-js/internals/environment-v8-version.js"(exports, module) {
|
|
284
|
-
"use strict";
|
|
285
|
-
init_process();
|
|
286
|
-
var globalThis2 = require_global_this();
|
|
287
|
-
var userAgent = require_environment_user_agent();
|
|
288
|
-
var process = globalThis2.process;
|
|
289
|
-
var Deno = globalThis2.Deno;
|
|
290
|
-
var versions = process && process.versions || Deno && Deno.version;
|
|
291
|
-
var v8 = versions && versions.v8;
|
|
292
|
-
var match;
|
|
293
|
-
var version;
|
|
294
|
-
if (v8) {
|
|
295
|
-
match = v8.split(".");
|
|
296
|
-
version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
|
|
297
|
-
}
|
|
298
|
-
if (!version && userAgent) {
|
|
299
|
-
match = userAgent.match(/Edge\/(\d+)/);
|
|
300
|
-
if (!match || match[1] >= 74) {
|
|
301
|
-
match = userAgent.match(/Chrome\/(\d+)/);
|
|
302
|
-
if (match) version = +match[1];
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
module.exports = version;
|
|
306
|
-
}
|
|
307
|
-
});
|
|
308
|
-
|
|
309
|
-
// node_modules/core-js/internals/symbol-constructor-detection.js
|
|
310
|
-
var require_symbol_constructor_detection = __commonJS({
|
|
311
|
-
"node_modules/core-js/internals/symbol-constructor-detection.js"(exports, module) {
|
|
312
|
-
"use strict";
|
|
313
|
-
init_process();
|
|
314
|
-
var V8_VERSION = require_environment_v8_version();
|
|
315
|
-
var fails = require_fails();
|
|
316
|
-
var globalThis2 = require_global_this();
|
|
317
|
-
var $String = globalThis2.String;
|
|
318
|
-
module.exports = !!Object.getOwnPropertySymbols && !fails(function() {
|
|
319
|
-
var symbol = /* @__PURE__ */ Symbol("symbol detection");
|
|
320
|
-
return !$String(symbol) || !(Object(symbol) instanceof Symbol) || // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
321
|
-
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
322
|
-
});
|
|
323
|
-
}
|
|
324
|
-
});
|
|
325
|
-
|
|
326
|
-
// node_modules/core-js/internals/use-symbol-as-uid.js
|
|
327
|
-
var require_use_symbol_as_uid = __commonJS({
|
|
328
|
-
"node_modules/core-js/internals/use-symbol-as-uid.js"(exports, module) {
|
|
329
|
-
"use strict";
|
|
330
|
-
init_process();
|
|
331
|
-
var NATIVE_SYMBOL = require_symbol_constructor_detection();
|
|
332
|
-
module.exports = NATIVE_SYMBOL && !Symbol.sham && typeof Symbol.iterator == "symbol";
|
|
333
|
-
}
|
|
334
|
-
});
|
|
335
|
-
|
|
336
|
-
// node_modules/core-js/internals/is-symbol.js
|
|
337
|
-
var require_is_symbol = __commonJS({
|
|
338
|
-
"node_modules/core-js/internals/is-symbol.js"(exports, module) {
|
|
339
|
-
"use strict";
|
|
340
|
-
init_process();
|
|
341
|
-
var getBuiltIn = require_get_built_in();
|
|
342
|
-
var isCallable = require_is_callable();
|
|
343
|
-
var isPrototypeOf = require_object_is_prototype_of();
|
|
344
|
-
var USE_SYMBOL_AS_UID = require_use_symbol_as_uid();
|
|
345
|
-
var $Object = Object;
|
|
346
|
-
module.exports = USE_SYMBOL_AS_UID ? function(it) {
|
|
347
|
-
return typeof it == "symbol";
|
|
348
|
-
} : function(it) {
|
|
349
|
-
var $Symbol = getBuiltIn("Symbol");
|
|
350
|
-
return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
|
|
351
|
-
};
|
|
352
|
-
}
|
|
353
|
-
});
|
|
354
|
-
|
|
355
|
-
// node_modules/core-js/internals/try-to-string.js
|
|
356
|
-
var require_try_to_string = __commonJS({
|
|
357
|
-
"node_modules/core-js/internals/try-to-string.js"(exports, module) {
|
|
358
|
-
"use strict";
|
|
359
|
-
init_process();
|
|
360
|
-
var $String = String;
|
|
361
|
-
module.exports = function(argument) {
|
|
362
|
-
try {
|
|
363
|
-
return $String(argument);
|
|
364
|
-
} catch (error) {
|
|
365
|
-
return "Object";
|
|
366
|
-
}
|
|
367
|
-
};
|
|
368
|
-
}
|
|
369
|
-
});
|
|
370
|
-
|
|
371
|
-
// node_modules/core-js/internals/a-callable.js
|
|
372
|
-
var require_a_callable = __commonJS({
|
|
373
|
-
"node_modules/core-js/internals/a-callable.js"(exports, module) {
|
|
374
|
-
"use strict";
|
|
375
|
-
init_process();
|
|
376
|
-
var isCallable = require_is_callable();
|
|
377
|
-
var tryToString = require_try_to_string();
|
|
378
|
-
var $TypeError = TypeError;
|
|
379
|
-
module.exports = function(argument) {
|
|
380
|
-
if (isCallable(argument)) return argument;
|
|
381
|
-
throw new $TypeError(tryToString(argument) + " is not a function");
|
|
382
|
-
};
|
|
383
|
-
}
|
|
384
|
-
});
|
|
385
|
-
|
|
386
|
-
// node_modules/core-js/internals/get-method.js
|
|
387
|
-
var require_get_method = __commonJS({
|
|
388
|
-
"node_modules/core-js/internals/get-method.js"(exports, module) {
|
|
389
|
-
"use strict";
|
|
390
|
-
init_process();
|
|
391
|
-
var aCallable = require_a_callable();
|
|
392
|
-
var isNullOrUndefined = require_is_null_or_undefined();
|
|
393
|
-
module.exports = function(V, P) {
|
|
394
|
-
var func = V[P];
|
|
395
|
-
return isNullOrUndefined(func) ? void 0 : aCallable(func);
|
|
396
|
-
};
|
|
397
|
-
}
|
|
398
|
-
});
|
|
399
|
-
|
|
400
|
-
// node_modules/core-js/internals/ordinary-to-primitive.js
|
|
401
|
-
var require_ordinary_to_primitive = __commonJS({
|
|
402
|
-
"node_modules/core-js/internals/ordinary-to-primitive.js"(exports, module) {
|
|
403
|
-
"use strict";
|
|
404
|
-
init_process();
|
|
405
|
-
var call = require_function_call();
|
|
406
|
-
var isCallable = require_is_callable();
|
|
407
|
-
var isObject = require_is_object();
|
|
408
|
-
var $TypeError = TypeError;
|
|
409
|
-
module.exports = function(input, pref) {
|
|
410
|
-
var fn, val;
|
|
411
|
-
if (pref === "string" && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
|
|
412
|
-
if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;
|
|
413
|
-
if (pref !== "string" && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
|
|
414
|
-
throw new $TypeError("Can't convert object to primitive value");
|
|
415
|
-
};
|
|
416
|
-
}
|
|
417
|
-
});
|
|
418
|
-
|
|
419
|
-
// node_modules/core-js/internals/is-pure.js
|
|
420
|
-
var require_is_pure = __commonJS({
|
|
421
|
-
"node_modules/core-js/internals/is-pure.js"(exports, module) {
|
|
422
|
-
"use strict";
|
|
423
|
-
init_process();
|
|
424
|
-
module.exports = false;
|
|
425
|
-
}
|
|
426
|
-
});
|
|
427
|
-
|
|
428
|
-
// node_modules/core-js/internals/define-global-property.js
|
|
429
|
-
var require_define_global_property = __commonJS({
|
|
430
|
-
"node_modules/core-js/internals/define-global-property.js"(exports, module) {
|
|
431
|
-
"use strict";
|
|
432
|
-
init_process();
|
|
433
|
-
var globalThis2 = require_global_this();
|
|
434
|
-
var defineProperty = Object.defineProperty;
|
|
435
|
-
module.exports = function(key, value) {
|
|
436
|
-
try {
|
|
437
|
-
defineProperty(globalThis2, key, { value, configurable: true, writable: true });
|
|
438
|
-
} catch (error) {
|
|
439
|
-
globalThis2[key] = value;
|
|
440
|
-
}
|
|
441
|
-
return value;
|
|
442
|
-
};
|
|
443
|
-
}
|
|
444
|
-
});
|
|
445
|
-
|
|
446
|
-
// node_modules/core-js/internals/shared-store.js
|
|
447
|
-
var require_shared_store = __commonJS({
|
|
448
|
-
"node_modules/core-js/internals/shared-store.js"(exports, module) {
|
|
449
|
-
"use strict";
|
|
450
|
-
init_process();
|
|
451
|
-
var IS_PURE = require_is_pure();
|
|
452
|
-
var globalThis2 = require_global_this();
|
|
453
|
-
var defineGlobalProperty = require_define_global_property();
|
|
454
|
-
var SHARED = "__core-js_shared__";
|
|
455
|
-
var store = module.exports = globalThis2[SHARED] || defineGlobalProperty(SHARED, {});
|
|
456
|
-
(store.versions || (store.versions = [])).push({
|
|
457
|
-
version: "3.51.0",
|
|
458
|
-
mode: IS_PURE ? "pure" : "global",
|
|
459
|
-
copyright: "\xA9 2013\u20132025 Denis Pushkarev (zloirock.ru), 2025\u20132026 CoreJS Company (core-js.io). All rights reserved.",
|
|
460
|
-
license: "https://github.com/zloirock/core-js/blob/v3.51.0/LICENSE",
|
|
461
|
-
source: "https://github.com/zloirock/core-js"
|
|
462
|
-
});
|
|
463
|
-
}
|
|
464
|
-
});
|
|
465
|
-
|
|
466
|
-
// node_modules/core-js/internals/shared.js
|
|
467
|
-
var require_shared = __commonJS({
|
|
468
|
-
"node_modules/core-js/internals/shared.js"(exports, module) {
|
|
469
|
-
"use strict";
|
|
470
|
-
init_process();
|
|
471
|
-
var store = require_shared_store();
|
|
472
|
-
var create = Object.create || Object;
|
|
473
|
-
module.exports = function(key, value) {
|
|
474
|
-
return store[key] || (store[key] = value || create(null));
|
|
475
|
-
};
|
|
476
|
-
}
|
|
477
|
-
});
|
|
478
|
-
|
|
479
|
-
// node_modules/core-js/internals/to-object.js
|
|
480
|
-
var require_to_object = __commonJS({
|
|
481
|
-
"node_modules/core-js/internals/to-object.js"(exports, module) {
|
|
482
|
-
"use strict";
|
|
483
|
-
init_process();
|
|
484
|
-
var requireObjectCoercible = require_require_object_coercible();
|
|
485
|
-
var $Object = Object;
|
|
486
|
-
module.exports = function(argument) {
|
|
487
|
-
return $Object(requireObjectCoercible(argument));
|
|
488
|
-
};
|
|
489
|
-
}
|
|
490
|
-
});
|
|
491
|
-
|
|
492
|
-
// node_modules/core-js/internals/has-own-property.js
|
|
493
|
-
var require_has_own_property = __commonJS({
|
|
494
|
-
"node_modules/core-js/internals/has-own-property.js"(exports, module) {
|
|
495
|
-
"use strict";
|
|
496
|
-
init_process();
|
|
497
|
-
var uncurryThis = require_function_uncurry_this();
|
|
498
|
-
var toObject = require_to_object();
|
|
499
|
-
var hasOwnProperty = uncurryThis({}.hasOwnProperty);
|
|
500
|
-
module.exports = Object.hasOwn || function hasOwn(it, key) {
|
|
501
|
-
return hasOwnProperty(toObject(it), key);
|
|
502
|
-
};
|
|
503
|
-
}
|
|
504
|
-
});
|
|
505
|
-
|
|
506
|
-
// node_modules/core-js/internals/uid.js
|
|
507
|
-
var require_uid = __commonJS({
|
|
508
|
-
"node_modules/core-js/internals/uid.js"(exports, module) {
|
|
509
|
-
"use strict";
|
|
510
|
-
init_process();
|
|
511
|
-
var uncurryThis = require_function_uncurry_this();
|
|
512
|
-
var id = 0;
|
|
513
|
-
var postfix = Math.random();
|
|
514
|
-
var toString = uncurryThis(1.1.toString);
|
|
515
|
-
module.exports = function(key) {
|
|
516
|
-
return "Symbol(" + (key === void 0 ? "" : key) + ")_" + toString(++id + postfix, 36);
|
|
517
|
-
};
|
|
518
|
-
}
|
|
519
|
-
});
|
|
520
|
-
|
|
521
|
-
// node_modules/core-js/internals/well-known-symbol.js
|
|
522
|
-
var require_well_known_symbol = __commonJS({
|
|
523
|
-
"node_modules/core-js/internals/well-known-symbol.js"(exports, module) {
|
|
524
|
-
"use strict";
|
|
525
|
-
init_process();
|
|
526
|
-
var globalThis2 = require_global_this();
|
|
527
|
-
var shared = require_shared();
|
|
528
|
-
var hasOwn = require_has_own_property();
|
|
529
|
-
var uid = require_uid();
|
|
530
|
-
var NATIVE_SYMBOL = require_symbol_constructor_detection();
|
|
531
|
-
var USE_SYMBOL_AS_UID = require_use_symbol_as_uid();
|
|
532
|
-
var Symbol2 = globalThis2.Symbol;
|
|
533
|
-
var WellKnownSymbolsStore = shared("wks");
|
|
534
|
-
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol2["for"] || Symbol2 : Symbol2 && Symbol2.withoutSetter || uid;
|
|
535
|
-
module.exports = function(name) {
|
|
536
|
-
if (!hasOwn(WellKnownSymbolsStore, name)) {
|
|
537
|
-
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol2, name) ? Symbol2[name] : createWellKnownSymbol("Symbol." + name);
|
|
538
|
-
}
|
|
539
|
-
return WellKnownSymbolsStore[name];
|
|
540
|
-
};
|
|
541
|
-
}
|
|
542
|
-
});
|
|
543
|
-
|
|
544
|
-
// node_modules/core-js/internals/to-primitive.js
|
|
545
|
-
var require_to_primitive = __commonJS({
|
|
546
|
-
"node_modules/core-js/internals/to-primitive.js"(exports, module) {
|
|
547
|
-
"use strict";
|
|
548
|
-
init_process();
|
|
549
|
-
var call = require_function_call();
|
|
550
|
-
var isObject = require_is_object();
|
|
551
|
-
var isSymbol = require_is_symbol();
|
|
552
|
-
var getMethod = require_get_method();
|
|
553
|
-
var ordinaryToPrimitive = require_ordinary_to_primitive();
|
|
554
|
-
var wellKnownSymbol = require_well_known_symbol();
|
|
555
|
-
var $TypeError = TypeError;
|
|
556
|
-
var TO_PRIMITIVE = wellKnownSymbol("toPrimitive");
|
|
557
|
-
module.exports = function(input, pref) {
|
|
558
|
-
if (!isObject(input) || isSymbol(input)) return input;
|
|
559
|
-
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
|
560
|
-
var result;
|
|
561
|
-
if (exoticToPrim) {
|
|
562
|
-
if (pref === void 0) pref = "default";
|
|
563
|
-
result = call(exoticToPrim, input, pref);
|
|
564
|
-
if (!isObject(result) || isSymbol(result)) return result;
|
|
565
|
-
throw new $TypeError("Can't convert object to primitive value");
|
|
566
|
-
}
|
|
567
|
-
if (pref === void 0) pref = "number";
|
|
568
|
-
return ordinaryToPrimitive(input, pref);
|
|
569
|
-
};
|
|
570
|
-
}
|
|
571
|
-
});
|
|
572
|
-
|
|
573
|
-
// node_modules/core-js/internals/to-property-key.js
|
|
574
|
-
var require_to_property_key = __commonJS({
|
|
575
|
-
"node_modules/core-js/internals/to-property-key.js"(exports, module) {
|
|
576
|
-
"use strict";
|
|
577
|
-
init_process();
|
|
578
|
-
var toPrimitive = require_to_primitive();
|
|
579
|
-
var isSymbol = require_is_symbol();
|
|
580
|
-
module.exports = function(argument) {
|
|
581
|
-
var key = toPrimitive(argument, "string");
|
|
582
|
-
return isSymbol(key) ? key : key + "";
|
|
583
|
-
};
|
|
584
|
-
}
|
|
585
|
-
});
|
|
586
|
-
|
|
587
|
-
// node_modules/core-js/internals/document-create-element.js
|
|
588
|
-
var require_document_create_element = __commonJS({
|
|
589
|
-
"node_modules/core-js/internals/document-create-element.js"(exports, module) {
|
|
590
|
-
"use strict";
|
|
591
|
-
init_process();
|
|
592
|
-
var globalThis2 = require_global_this();
|
|
593
|
-
var isObject = require_is_object();
|
|
594
|
-
var document2 = globalThis2.document;
|
|
595
|
-
var EXISTS = isObject(document2) && isObject(document2.createElement);
|
|
596
|
-
module.exports = function(it) {
|
|
597
|
-
return EXISTS ? document2.createElement(it) : {};
|
|
598
|
-
};
|
|
599
|
-
}
|
|
600
|
-
});
|
|
601
|
-
|
|
602
|
-
// node_modules/core-js/internals/ie8-dom-define.js
|
|
603
|
-
var require_ie8_dom_define = __commonJS({
|
|
604
|
-
"node_modules/core-js/internals/ie8-dom-define.js"(exports, module) {
|
|
605
|
-
"use strict";
|
|
606
|
-
init_process();
|
|
607
|
-
var DESCRIPTORS = require_descriptors();
|
|
608
|
-
var fails = require_fails();
|
|
609
|
-
var createElement = require_document_create_element();
|
|
610
|
-
module.exports = !DESCRIPTORS && !fails(function() {
|
|
611
|
-
return Object.defineProperty(createElement("div"), "a", {
|
|
612
|
-
get: function() {
|
|
613
|
-
return 7;
|
|
614
|
-
}
|
|
615
|
-
}).a !== 7;
|
|
616
|
-
});
|
|
617
|
-
}
|
|
618
|
-
});
|
|
619
|
-
|
|
620
|
-
// node_modules/core-js/internals/object-get-own-property-descriptor.js
|
|
621
|
-
var require_object_get_own_property_descriptor = __commonJS({
|
|
622
|
-
"node_modules/core-js/internals/object-get-own-property-descriptor.js"(exports) {
|
|
623
|
-
"use strict";
|
|
624
|
-
init_process();
|
|
625
|
-
var DESCRIPTORS = require_descriptors();
|
|
626
|
-
var call = require_function_call();
|
|
627
|
-
var propertyIsEnumerableModule = require_object_property_is_enumerable();
|
|
628
|
-
var createPropertyDescriptor = require_create_property_descriptor();
|
|
629
|
-
var toIndexedObject = require_to_indexed_object();
|
|
630
|
-
var toPropertyKey = require_to_property_key();
|
|
631
|
-
var hasOwn = require_has_own_property();
|
|
632
|
-
var IE8_DOM_DEFINE = require_ie8_dom_define();
|
|
633
|
-
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
634
|
-
exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
|
|
635
|
-
O = toIndexedObject(O);
|
|
636
|
-
P = toPropertyKey(P);
|
|
637
|
-
if (IE8_DOM_DEFINE) try {
|
|
638
|
-
return $getOwnPropertyDescriptor(O, P);
|
|
639
|
-
} catch (error) {
|
|
640
|
-
}
|
|
641
|
-
if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);
|
|
642
|
-
};
|
|
643
|
-
}
|
|
644
|
-
});
|
|
645
|
-
|
|
646
|
-
// node_modules/core-js/internals/v8-prototype-define-bug.js
|
|
647
|
-
var require_v8_prototype_define_bug = __commonJS({
|
|
648
|
-
"node_modules/core-js/internals/v8-prototype-define-bug.js"(exports, module) {
|
|
649
|
-
"use strict";
|
|
650
|
-
init_process();
|
|
651
|
-
var DESCRIPTORS = require_descriptors();
|
|
652
|
-
var fails = require_fails();
|
|
653
|
-
module.exports = DESCRIPTORS && fails(function() {
|
|
654
|
-
return Object.defineProperty(function() {
|
|
655
|
-
}, "prototype", {
|
|
656
|
-
value: 42,
|
|
657
|
-
writable: false
|
|
658
|
-
}).prototype !== 42;
|
|
659
|
-
});
|
|
660
|
-
}
|
|
661
|
-
});
|
|
662
|
-
|
|
663
|
-
// node_modules/core-js/internals/an-object.js
|
|
664
|
-
var require_an_object = __commonJS({
|
|
665
|
-
"node_modules/core-js/internals/an-object.js"(exports, module) {
|
|
666
|
-
"use strict";
|
|
667
|
-
init_process();
|
|
668
|
-
var isObject = require_is_object();
|
|
669
|
-
var $String = String;
|
|
670
|
-
var $TypeError = TypeError;
|
|
671
|
-
module.exports = function(argument) {
|
|
672
|
-
if (isObject(argument)) return argument;
|
|
673
|
-
throw new $TypeError($String(argument) + " is not an object");
|
|
674
|
-
};
|
|
675
|
-
}
|
|
676
|
-
});
|
|
677
|
-
|
|
678
|
-
// node_modules/core-js/internals/object-define-property.js
|
|
679
|
-
var require_object_define_property = __commonJS({
|
|
680
|
-
"node_modules/core-js/internals/object-define-property.js"(exports) {
|
|
681
|
-
"use strict";
|
|
682
|
-
init_process();
|
|
683
|
-
var DESCRIPTORS = require_descriptors();
|
|
684
|
-
var IE8_DOM_DEFINE = require_ie8_dom_define();
|
|
685
|
-
var V8_PROTOTYPE_DEFINE_BUG = require_v8_prototype_define_bug();
|
|
686
|
-
var anObject = require_an_object();
|
|
687
|
-
var toPropertyKey = require_to_property_key();
|
|
688
|
-
var $TypeError = TypeError;
|
|
689
|
-
var $defineProperty = Object.defineProperty;
|
|
690
|
-
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
691
|
-
var ENUMERABLE = "enumerable";
|
|
692
|
-
var CONFIGURABLE = "configurable";
|
|
693
|
-
var WRITABLE = "writable";
|
|
694
|
-
exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
|
|
695
|
-
anObject(O);
|
|
696
|
-
P = toPropertyKey(P);
|
|
697
|
-
anObject(Attributes);
|
|
698
|
-
if (typeof O === "function" && P === "prototype" && "value" in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
699
|
-
var current = $getOwnPropertyDescriptor(O, P);
|
|
700
|
-
if (current && current[WRITABLE]) {
|
|
701
|
-
O[P] = Attributes.value;
|
|
702
|
-
Attributes = {
|
|
703
|
-
configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
|
|
704
|
-
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
|
|
705
|
-
writable: false
|
|
706
|
-
};
|
|
707
|
-
}
|
|
708
|
-
}
|
|
709
|
-
return $defineProperty(O, P, Attributes);
|
|
710
|
-
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
711
|
-
anObject(O);
|
|
712
|
-
P = toPropertyKey(P);
|
|
713
|
-
anObject(Attributes);
|
|
714
|
-
if (IE8_DOM_DEFINE) try {
|
|
715
|
-
return $defineProperty(O, P, Attributes);
|
|
716
|
-
} catch (error) {
|
|
717
|
-
}
|
|
718
|
-
if ("get" in Attributes || "set" in Attributes) throw new $TypeError("Accessors not supported");
|
|
719
|
-
if ("value" in Attributes) O[P] = Attributes.value;
|
|
720
|
-
return O;
|
|
721
|
-
};
|
|
722
|
-
}
|
|
723
|
-
});
|
|
724
|
-
|
|
725
|
-
// node_modules/core-js/internals/create-non-enumerable-property.js
|
|
726
|
-
var require_create_non_enumerable_property = __commonJS({
|
|
727
|
-
"node_modules/core-js/internals/create-non-enumerable-property.js"(exports, module) {
|
|
728
|
-
"use strict";
|
|
729
|
-
init_process();
|
|
730
|
-
var DESCRIPTORS = require_descriptors();
|
|
731
|
-
var definePropertyModule = require_object_define_property();
|
|
732
|
-
var createPropertyDescriptor = require_create_property_descriptor();
|
|
733
|
-
module.exports = DESCRIPTORS ? function(object, key, value) {
|
|
734
|
-
return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
|
|
735
|
-
} : function(object, key, value) {
|
|
736
|
-
object[key] = value;
|
|
737
|
-
return object;
|
|
738
|
-
};
|
|
739
|
-
}
|
|
740
|
-
});
|
|
741
|
-
|
|
742
|
-
// node_modules/core-js/internals/function-name.js
|
|
743
|
-
var require_function_name = __commonJS({
|
|
744
|
-
"node_modules/core-js/internals/function-name.js"(exports, module) {
|
|
745
|
-
"use strict";
|
|
746
|
-
init_process();
|
|
747
|
-
var DESCRIPTORS = require_descriptors();
|
|
748
|
-
var hasOwn = require_has_own_property();
|
|
749
|
-
var FunctionPrototype = Function.prototype;
|
|
750
|
-
var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
|
|
751
|
-
var EXISTS = hasOwn(FunctionPrototype, "name");
|
|
752
|
-
var PROPER = EXISTS && function something() {
|
|
753
|
-
}.name === "something";
|
|
754
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS || DESCRIPTORS && getDescriptor(FunctionPrototype, "name").configurable);
|
|
755
|
-
module.exports = {
|
|
756
|
-
EXISTS,
|
|
757
|
-
PROPER,
|
|
758
|
-
CONFIGURABLE
|
|
759
|
-
};
|
|
760
|
-
}
|
|
761
|
-
});
|
|
762
|
-
|
|
763
|
-
// node_modules/core-js/internals/inspect-source.js
|
|
764
|
-
var require_inspect_source = __commonJS({
|
|
765
|
-
"node_modules/core-js/internals/inspect-source.js"(exports, module) {
|
|
766
|
-
"use strict";
|
|
767
|
-
init_process();
|
|
768
|
-
var uncurryThis = require_function_uncurry_this();
|
|
769
|
-
var isCallable = require_is_callable();
|
|
770
|
-
var store = require_shared_store();
|
|
771
|
-
var functionToString = uncurryThis(Function.toString);
|
|
772
|
-
if (!isCallable(store.inspectSource)) {
|
|
773
|
-
store.inspectSource = function(it) {
|
|
774
|
-
return functionToString(it);
|
|
775
|
-
};
|
|
776
|
-
}
|
|
777
|
-
module.exports = store.inspectSource;
|
|
778
|
-
}
|
|
779
|
-
});
|
|
780
|
-
|
|
781
|
-
// node_modules/core-js/internals/weak-map-basic-detection.js
|
|
782
|
-
var require_weak_map_basic_detection = __commonJS({
|
|
783
|
-
"node_modules/core-js/internals/weak-map-basic-detection.js"(exports, module) {
|
|
784
|
-
"use strict";
|
|
785
|
-
init_process();
|
|
786
|
-
var globalThis2 = require_global_this();
|
|
787
|
-
var isCallable = require_is_callable();
|
|
788
|
-
var WeakMap2 = globalThis2.WeakMap;
|
|
789
|
-
module.exports = isCallable(WeakMap2) && /native code/.test(String(WeakMap2));
|
|
790
|
-
}
|
|
791
|
-
});
|
|
792
|
-
|
|
793
|
-
// node_modules/core-js/internals/shared-key.js
|
|
794
|
-
var require_shared_key = __commonJS({
|
|
795
|
-
"node_modules/core-js/internals/shared-key.js"(exports, module) {
|
|
796
|
-
"use strict";
|
|
797
|
-
init_process();
|
|
798
|
-
var shared = require_shared();
|
|
799
|
-
var uid = require_uid();
|
|
800
|
-
var keys = shared("keys");
|
|
801
|
-
module.exports = function(key) {
|
|
802
|
-
return keys[key] || (keys[key] = uid(key));
|
|
803
|
-
};
|
|
804
|
-
}
|
|
805
|
-
});
|
|
806
|
-
|
|
807
|
-
// node_modules/core-js/internals/hidden-keys.js
|
|
808
|
-
var require_hidden_keys = __commonJS({
|
|
809
|
-
"node_modules/core-js/internals/hidden-keys.js"(exports, module) {
|
|
810
|
-
"use strict";
|
|
811
|
-
init_process();
|
|
812
|
-
module.exports = {};
|
|
813
|
-
}
|
|
814
|
-
});
|
|
815
|
-
|
|
816
|
-
// node_modules/core-js/internals/internal-state.js
|
|
817
|
-
var require_internal_state = __commonJS({
|
|
818
|
-
"node_modules/core-js/internals/internal-state.js"(exports, module) {
|
|
819
|
-
"use strict";
|
|
820
|
-
init_process();
|
|
821
|
-
var NATIVE_WEAK_MAP = require_weak_map_basic_detection();
|
|
822
|
-
var globalThis2 = require_global_this();
|
|
823
|
-
var isObject = require_is_object();
|
|
824
|
-
var createNonEnumerableProperty = require_create_non_enumerable_property();
|
|
825
|
-
var hasOwn = require_has_own_property();
|
|
826
|
-
var shared = require_shared_store();
|
|
827
|
-
var sharedKey = require_shared_key();
|
|
828
|
-
var hiddenKeys = require_hidden_keys();
|
|
829
|
-
var OBJECT_ALREADY_INITIALIZED = "Object already initialized";
|
|
830
|
-
var TypeError2 = globalThis2.TypeError;
|
|
831
|
-
var WeakMap2 = globalThis2.WeakMap;
|
|
832
|
-
var set;
|
|
833
|
-
var get;
|
|
834
|
-
var has;
|
|
835
|
-
var enforce = function(it) {
|
|
836
|
-
return has(it) ? get(it) : set(it, {});
|
|
837
|
-
};
|
|
838
|
-
var getterFor = function(TYPE) {
|
|
839
|
-
return function(it) {
|
|
840
|
-
var state;
|
|
841
|
-
if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
|
842
|
-
throw new TypeError2("Incompatible receiver, " + TYPE + " required");
|
|
843
|
-
}
|
|
844
|
-
return state;
|
|
845
|
-
};
|
|
846
|
-
};
|
|
847
|
-
if (NATIVE_WEAK_MAP || shared.state) {
|
|
848
|
-
store = shared.state || (shared.state = new WeakMap2());
|
|
849
|
-
store.get = store.get;
|
|
850
|
-
store.has = store.has;
|
|
851
|
-
store.set = store.set;
|
|
852
|
-
set = function(it, metadata) {
|
|
853
|
-
if (store.has(it)) throw new TypeError2(OBJECT_ALREADY_INITIALIZED);
|
|
854
|
-
metadata.facade = it;
|
|
855
|
-
store.set(it, metadata);
|
|
856
|
-
return metadata;
|
|
857
|
-
};
|
|
858
|
-
get = function(it) {
|
|
859
|
-
return store.get(it) || {};
|
|
860
|
-
};
|
|
861
|
-
has = function(it) {
|
|
862
|
-
return store.has(it);
|
|
863
|
-
};
|
|
864
|
-
} else {
|
|
865
|
-
STATE = sharedKey("state");
|
|
866
|
-
hiddenKeys[STATE] = true;
|
|
867
|
-
set = function(it, metadata) {
|
|
868
|
-
if (hasOwn(it, STATE)) throw new TypeError2(OBJECT_ALREADY_INITIALIZED);
|
|
869
|
-
metadata.facade = it;
|
|
870
|
-
createNonEnumerableProperty(it, STATE, metadata);
|
|
871
|
-
return metadata;
|
|
872
|
-
};
|
|
873
|
-
get = function(it) {
|
|
874
|
-
return hasOwn(it, STATE) ? it[STATE] : {};
|
|
875
|
-
};
|
|
876
|
-
has = function(it) {
|
|
877
|
-
return hasOwn(it, STATE);
|
|
878
|
-
};
|
|
879
|
-
}
|
|
880
|
-
var store;
|
|
881
|
-
var STATE;
|
|
882
|
-
module.exports = {
|
|
883
|
-
set,
|
|
884
|
-
get,
|
|
885
|
-
has,
|
|
886
|
-
enforce,
|
|
887
|
-
getterFor
|
|
888
|
-
};
|
|
889
|
-
}
|
|
890
|
-
});
|
|
891
|
-
|
|
892
|
-
// node_modules/core-js/internals/make-built-in.js
|
|
893
|
-
var require_make_built_in = __commonJS({
|
|
894
|
-
"node_modules/core-js/internals/make-built-in.js"(exports, module) {
|
|
895
|
-
"use strict";
|
|
896
|
-
init_process();
|
|
897
|
-
var uncurryThis = require_function_uncurry_this();
|
|
898
|
-
var fails = require_fails();
|
|
899
|
-
var isCallable = require_is_callable();
|
|
900
|
-
var hasOwn = require_has_own_property();
|
|
901
|
-
var DESCRIPTORS = require_descriptors();
|
|
902
|
-
var CONFIGURABLE_FUNCTION_NAME = require_function_name().CONFIGURABLE;
|
|
903
|
-
var inspectSource = require_inspect_source();
|
|
904
|
-
var InternalStateModule = require_internal_state();
|
|
905
|
-
var enforceInternalState = InternalStateModule.enforce;
|
|
906
|
-
var getInternalState = InternalStateModule.get;
|
|
907
|
-
var $String = String;
|
|
908
|
-
var defineProperty = Object.defineProperty;
|
|
909
|
-
var stringSlice = uncurryThis("".slice);
|
|
910
|
-
var replace = uncurryThis("".replace);
|
|
911
|
-
var join = uncurryThis([].join);
|
|
912
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function() {
|
|
913
|
-
return defineProperty(function() {
|
|
914
|
-
}, "length", { value: 8 }).length !== 8;
|
|
915
|
-
});
|
|
916
|
-
var TEMPLATE = String(String).split("String");
|
|
917
|
-
var makeBuiltIn = module.exports = function(value, name, options) {
|
|
918
|
-
if (stringSlice($String(name), 0, 7) === "Symbol(") {
|
|
919
|
-
name = "[" + replace($String(name), /^Symbol\(([^)]*)\).*$/, "$1") + "]";
|
|
920
|
-
}
|
|
921
|
-
if (options && options.getter) name = "get " + name;
|
|
922
|
-
if (options && options.setter) name = "set " + name;
|
|
923
|
-
if (!hasOwn(value, "name") || CONFIGURABLE_FUNCTION_NAME && value.name !== name) {
|
|
924
|
-
if (DESCRIPTORS) defineProperty(value, "name", { value: name, configurable: true });
|
|
925
|
-
else value.name = name;
|
|
926
|
-
}
|
|
927
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn(options, "arity") && value.length !== options.arity) {
|
|
928
|
-
defineProperty(value, "length", { value: options.arity });
|
|
929
|
-
}
|
|
930
|
-
try {
|
|
931
|
-
if (options && hasOwn(options, "constructor") && options.constructor) {
|
|
932
|
-
if (DESCRIPTORS) defineProperty(value, "prototype", { writable: false });
|
|
933
|
-
} else if (value.prototype) value.prototype = void 0;
|
|
934
|
-
} catch (error) {
|
|
935
|
-
}
|
|
936
|
-
var state = enforceInternalState(value);
|
|
937
|
-
if (!hasOwn(state, "source")) {
|
|
938
|
-
state.source = join(TEMPLATE, typeof name == "string" ? name : "");
|
|
939
|
-
}
|
|
940
|
-
return value;
|
|
941
|
-
};
|
|
942
|
-
Function.prototype.toString = makeBuiltIn(function toString() {
|
|
943
|
-
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
|
944
|
-
}, "toString");
|
|
945
|
-
}
|
|
946
|
-
});
|
|
947
|
-
|
|
948
|
-
// node_modules/core-js/internals/define-built-in.js
|
|
949
|
-
var require_define_built_in = __commonJS({
|
|
950
|
-
"node_modules/core-js/internals/define-built-in.js"(exports, module) {
|
|
951
|
-
"use strict";
|
|
952
|
-
init_process();
|
|
953
|
-
var isCallable = require_is_callable();
|
|
954
|
-
var definePropertyModule = require_object_define_property();
|
|
955
|
-
var makeBuiltIn = require_make_built_in();
|
|
956
|
-
var defineGlobalProperty = require_define_global_property();
|
|
957
|
-
module.exports = function(O, key, value, options) {
|
|
958
|
-
if (!options) options = {};
|
|
959
|
-
var simple = options.enumerable;
|
|
960
|
-
var name = options.name !== void 0 ? options.name : key;
|
|
961
|
-
if (isCallable(value)) makeBuiltIn(value, name, options);
|
|
962
|
-
if (options.global) {
|
|
963
|
-
if (simple) O[key] = value;
|
|
964
|
-
else defineGlobalProperty(key, value);
|
|
965
|
-
} else {
|
|
966
|
-
try {
|
|
967
|
-
if (!options.unsafe) delete O[key];
|
|
968
|
-
else if (O[key]) simple = true;
|
|
969
|
-
} catch (error) {
|
|
970
|
-
}
|
|
971
|
-
if (simple) O[key] = value;
|
|
972
|
-
else definePropertyModule.f(O, key, {
|
|
973
|
-
value,
|
|
974
|
-
enumerable: false,
|
|
975
|
-
configurable: !options.nonConfigurable,
|
|
976
|
-
writable: !options.nonWritable
|
|
977
|
-
});
|
|
978
|
-
}
|
|
979
|
-
return O;
|
|
980
|
-
};
|
|
981
|
-
}
|
|
982
|
-
});
|
|
983
|
-
|
|
984
|
-
// node_modules/core-js/internals/math-trunc.js
|
|
985
|
-
var require_math_trunc = __commonJS({
|
|
986
|
-
"node_modules/core-js/internals/math-trunc.js"(exports, module) {
|
|
987
|
-
"use strict";
|
|
988
|
-
init_process();
|
|
989
|
-
var ceil = Math.ceil;
|
|
990
|
-
var floor = Math.floor;
|
|
991
|
-
module.exports = Math.trunc || function trunc(x) {
|
|
992
|
-
var n = +x;
|
|
993
|
-
return (n > 0 ? floor : ceil)(n);
|
|
994
|
-
};
|
|
995
|
-
}
|
|
996
|
-
});
|
|
997
|
-
|
|
998
|
-
// node_modules/core-js/internals/to-integer-or-infinity.js
|
|
999
|
-
var require_to_integer_or_infinity = __commonJS({
|
|
1000
|
-
"node_modules/core-js/internals/to-integer-or-infinity.js"(exports, module) {
|
|
1001
|
-
"use strict";
|
|
1002
|
-
init_process();
|
|
1003
|
-
var trunc = require_math_trunc();
|
|
1004
|
-
module.exports = function(argument) {
|
|
1005
|
-
var number = +argument;
|
|
1006
|
-
return number !== number || number === 0 ? 0 : trunc(number);
|
|
1007
|
-
};
|
|
1008
|
-
}
|
|
1009
|
-
});
|
|
1010
|
-
|
|
1011
|
-
// node_modules/core-js/internals/to-absolute-index.js
|
|
1012
|
-
var require_to_absolute_index = __commonJS({
|
|
1013
|
-
"node_modules/core-js/internals/to-absolute-index.js"(exports, module) {
|
|
1014
|
-
"use strict";
|
|
1015
|
-
init_process();
|
|
1016
|
-
var toIntegerOrInfinity = require_to_integer_or_infinity();
|
|
1017
|
-
var max = Math.max;
|
|
1018
|
-
var min = Math.min;
|
|
1019
|
-
module.exports = function(index, length) {
|
|
1020
|
-
var integer = toIntegerOrInfinity(index);
|
|
1021
|
-
return integer < 0 ? max(integer + length, 0) : min(integer, length);
|
|
1022
|
-
};
|
|
1023
|
-
}
|
|
1024
|
-
});
|
|
1025
|
-
|
|
1026
|
-
// node_modules/core-js/internals/to-length.js
|
|
1027
|
-
var require_to_length = __commonJS({
|
|
1028
|
-
"node_modules/core-js/internals/to-length.js"(exports, module) {
|
|
1029
|
-
"use strict";
|
|
1030
|
-
init_process();
|
|
1031
|
-
var toIntegerOrInfinity = require_to_integer_or_infinity();
|
|
1032
|
-
var min = Math.min;
|
|
1033
|
-
module.exports = function(argument) {
|
|
1034
|
-
var len = toIntegerOrInfinity(argument);
|
|
1035
|
-
return len > 0 ? min(len, 9007199254740991) : 0;
|
|
1036
|
-
};
|
|
1037
|
-
}
|
|
1038
|
-
});
|
|
1039
|
-
|
|
1040
|
-
// node_modules/core-js/internals/length-of-array-like.js
|
|
1041
|
-
var require_length_of_array_like = __commonJS({
|
|
1042
|
-
"node_modules/core-js/internals/length-of-array-like.js"(exports, module) {
|
|
1043
|
-
"use strict";
|
|
1044
|
-
init_process();
|
|
1045
|
-
var toLength = require_to_length();
|
|
1046
|
-
module.exports = function(obj) {
|
|
1047
|
-
return toLength(obj.length);
|
|
1048
|
-
};
|
|
1049
|
-
}
|
|
1050
|
-
});
|
|
1051
|
-
|
|
1052
|
-
// node_modules/core-js/internals/array-includes.js
|
|
1053
|
-
var require_array_includes = __commonJS({
|
|
1054
|
-
"node_modules/core-js/internals/array-includes.js"(exports, module) {
|
|
1055
|
-
"use strict";
|
|
1056
|
-
init_process();
|
|
1057
|
-
var toIndexedObject = require_to_indexed_object();
|
|
1058
|
-
var toAbsoluteIndex = require_to_absolute_index();
|
|
1059
|
-
var lengthOfArrayLike = require_length_of_array_like();
|
|
1060
|
-
var createMethod = function(IS_INCLUDES) {
|
|
1061
|
-
return function($this, el, fromIndex) {
|
|
1062
|
-
var O = toIndexedObject($this);
|
|
1063
|
-
var length = lengthOfArrayLike(O);
|
|
1064
|
-
if (length === 0) return !IS_INCLUDES && -1;
|
|
1065
|
-
var index = toAbsoluteIndex(fromIndex, length);
|
|
1066
|
-
var value;
|
|
1067
|
-
if (IS_INCLUDES && el !== el) while (length > index) {
|
|
1068
|
-
value = O[index++];
|
|
1069
|
-
if (value !== value) return true;
|
|
1070
|
-
}
|
|
1071
|
-
else for (; length > index; index++) {
|
|
1072
|
-
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
|
1073
|
-
}
|
|
1074
|
-
return !IS_INCLUDES && -1;
|
|
1075
|
-
};
|
|
1076
|
-
};
|
|
1077
|
-
module.exports = {
|
|
1078
|
-
// `Array.prototype.includes` method
|
|
1079
|
-
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
1080
|
-
includes: createMethod(true),
|
|
1081
|
-
// `Array.prototype.indexOf` method
|
|
1082
|
-
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
1083
|
-
indexOf: createMethod(false)
|
|
1084
|
-
};
|
|
1085
|
-
}
|
|
1086
|
-
});
|
|
1087
|
-
|
|
1088
|
-
// node_modules/core-js/internals/object-keys-internal.js
|
|
1089
|
-
var require_object_keys_internal = __commonJS({
|
|
1090
|
-
"node_modules/core-js/internals/object-keys-internal.js"(exports, module) {
|
|
1091
|
-
"use strict";
|
|
1092
|
-
init_process();
|
|
1093
|
-
var uncurryThis = require_function_uncurry_this();
|
|
1094
|
-
var hasOwn = require_has_own_property();
|
|
1095
|
-
var toIndexedObject = require_to_indexed_object();
|
|
1096
|
-
var indexOf = require_array_includes().indexOf;
|
|
1097
|
-
var hiddenKeys = require_hidden_keys();
|
|
1098
|
-
var push = uncurryThis([].push);
|
|
1099
|
-
module.exports = function(object, names) {
|
|
1100
|
-
var O = toIndexedObject(object);
|
|
1101
|
-
var i = 0;
|
|
1102
|
-
var result = [];
|
|
1103
|
-
var key;
|
|
1104
|
-
for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);
|
|
1105
|
-
while (names.length > i) if (hasOwn(O, key = names[i++])) {
|
|
1106
|
-
~indexOf(result, key) || push(result, key);
|
|
1107
|
-
}
|
|
1108
|
-
return result;
|
|
1109
|
-
};
|
|
1110
|
-
}
|
|
1111
|
-
});
|
|
1112
|
-
|
|
1113
|
-
// node_modules/core-js/internals/enum-bug-keys.js
|
|
1114
|
-
var require_enum_bug_keys = __commonJS({
|
|
1115
|
-
"node_modules/core-js/internals/enum-bug-keys.js"(exports, module) {
|
|
1116
|
-
"use strict";
|
|
1117
|
-
init_process();
|
|
1118
|
-
module.exports = [
|
|
1119
|
-
"constructor",
|
|
1120
|
-
"hasOwnProperty",
|
|
1121
|
-
"isPrototypeOf",
|
|
1122
|
-
"propertyIsEnumerable",
|
|
1123
|
-
"toLocaleString",
|
|
1124
|
-
"toString",
|
|
1125
|
-
"valueOf"
|
|
1126
|
-
];
|
|
1127
|
-
}
|
|
1128
|
-
});
|
|
1129
|
-
|
|
1130
|
-
// node_modules/core-js/internals/object-get-own-property-names.js
|
|
1131
|
-
var require_object_get_own_property_names = __commonJS({
|
|
1132
|
-
"node_modules/core-js/internals/object-get-own-property-names.js"(exports) {
|
|
1133
|
-
"use strict";
|
|
1134
|
-
init_process();
|
|
1135
|
-
var internalObjectKeys = require_object_keys_internal();
|
|
1136
|
-
var enumBugKeys = require_enum_bug_keys();
|
|
1137
|
-
var hiddenKeys = enumBugKeys.concat("length", "prototype");
|
|
1138
|
-
exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
1139
|
-
return internalObjectKeys(O, hiddenKeys);
|
|
1140
|
-
};
|
|
1141
|
-
}
|
|
1142
|
-
});
|
|
1143
|
-
|
|
1144
|
-
// node_modules/core-js/internals/object-get-own-property-symbols.js
|
|
1145
|
-
var require_object_get_own_property_symbols = __commonJS({
|
|
1146
|
-
"node_modules/core-js/internals/object-get-own-property-symbols.js"(exports) {
|
|
1147
|
-
"use strict";
|
|
1148
|
-
init_process();
|
|
1149
|
-
exports.f = Object.getOwnPropertySymbols;
|
|
1150
|
-
}
|
|
1151
|
-
});
|
|
1152
|
-
|
|
1153
|
-
// node_modules/core-js/internals/own-keys.js
|
|
1154
|
-
var require_own_keys = __commonJS({
|
|
1155
|
-
"node_modules/core-js/internals/own-keys.js"(exports, module) {
|
|
1156
|
-
"use strict";
|
|
1157
|
-
init_process();
|
|
1158
|
-
var getBuiltIn = require_get_built_in();
|
|
1159
|
-
var uncurryThis = require_function_uncurry_this();
|
|
1160
|
-
var getOwnPropertyNamesModule = require_object_get_own_property_names();
|
|
1161
|
-
var getOwnPropertySymbolsModule = require_object_get_own_property_symbols();
|
|
1162
|
-
var anObject = require_an_object();
|
|
1163
|
-
var concat = uncurryThis([].concat);
|
|
1164
|
-
module.exports = getBuiltIn("Reflect", "ownKeys") || function ownKeys(it) {
|
|
1165
|
-
var keys = getOwnPropertyNamesModule.f(anObject(it));
|
|
1166
|
-
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
1167
|
-
return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
|
|
1168
|
-
};
|
|
1169
|
-
}
|
|
1170
|
-
});
|
|
1171
|
-
|
|
1172
|
-
// node_modules/core-js/internals/copy-constructor-properties.js
|
|
1173
|
-
var require_copy_constructor_properties = __commonJS({
|
|
1174
|
-
"node_modules/core-js/internals/copy-constructor-properties.js"(exports, module) {
|
|
1175
|
-
"use strict";
|
|
1176
|
-
init_process();
|
|
1177
|
-
var hasOwn = require_has_own_property();
|
|
1178
|
-
var ownKeys = require_own_keys();
|
|
1179
|
-
var getOwnPropertyDescriptorModule = require_object_get_own_property_descriptor();
|
|
1180
|
-
var definePropertyModule = require_object_define_property();
|
|
1181
|
-
module.exports = function(target, source, exceptions) {
|
|
1182
|
-
var keys = ownKeys(source);
|
|
1183
|
-
var defineProperty = definePropertyModule.f;
|
|
1184
|
-
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
1185
|
-
for (var i = 0; i < keys.length; i++) {
|
|
1186
|
-
var key = keys[i];
|
|
1187
|
-
if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
|
|
1188
|
-
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
1189
|
-
}
|
|
1190
|
-
}
|
|
1191
|
-
};
|
|
1192
|
-
}
|
|
1193
|
-
});
|
|
1194
|
-
|
|
1195
|
-
// node_modules/core-js/internals/is-forced.js
|
|
1196
|
-
var require_is_forced = __commonJS({
|
|
1197
|
-
"node_modules/core-js/internals/is-forced.js"(exports, module) {
|
|
1198
|
-
"use strict";
|
|
1199
|
-
init_process();
|
|
1200
|
-
var fails = require_fails();
|
|
1201
|
-
var isCallable = require_is_callable();
|
|
1202
|
-
var replacement = /#|\.prototype\./;
|
|
1203
|
-
var isForced = function(feature, detection) {
|
|
1204
|
-
var value = data[normalize(feature)];
|
|
1205
|
-
return value === POLYFILL ? true : value === NATIVE ? false : isCallable(detection) ? fails(detection) : !!detection;
|
|
1206
|
-
};
|
|
1207
|
-
var normalize = isForced.normalize = function(string) {
|
|
1208
|
-
return String(string).replace(replacement, ".").toLowerCase();
|
|
1209
|
-
};
|
|
1210
|
-
var data = isForced.data = {};
|
|
1211
|
-
var NATIVE = isForced.NATIVE = "N";
|
|
1212
|
-
var POLYFILL = isForced.POLYFILL = "P";
|
|
1213
|
-
module.exports = isForced;
|
|
1214
|
-
}
|
|
1215
|
-
});
|
|
1216
|
-
|
|
1217
|
-
// node_modules/core-js/internals/export.js
|
|
1218
|
-
var require_export = __commonJS({
|
|
1219
|
-
"node_modules/core-js/internals/export.js"(exports, module) {
|
|
1220
|
-
"use strict";
|
|
1221
|
-
init_process();
|
|
1222
|
-
var globalThis2 = require_global_this();
|
|
1223
|
-
var getOwnPropertyDescriptor = require_object_get_own_property_descriptor().f;
|
|
1224
|
-
var createNonEnumerableProperty = require_create_non_enumerable_property();
|
|
1225
|
-
var defineBuiltIn = require_define_built_in();
|
|
1226
|
-
var defineGlobalProperty = require_define_global_property();
|
|
1227
|
-
var copyConstructorProperties = require_copy_constructor_properties();
|
|
1228
|
-
var isForced = require_is_forced();
|
|
1229
|
-
module.exports = function(options, source) {
|
|
1230
|
-
var TARGET = options.target;
|
|
1231
|
-
var GLOBAL = options.global;
|
|
1232
|
-
var STATIC = options.stat;
|
|
1233
|
-
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
1234
|
-
if (GLOBAL) {
|
|
1235
|
-
target = globalThis2;
|
|
1236
|
-
} else if (STATIC) {
|
|
1237
|
-
target = globalThis2[TARGET] || defineGlobalProperty(TARGET, {});
|
|
1238
|
-
} else {
|
|
1239
|
-
target = globalThis2[TARGET] && globalThis2[TARGET].prototype;
|
|
1240
|
-
}
|
|
1241
|
-
if (target) for (key in source) {
|
|
1242
|
-
sourceProperty = source[key];
|
|
1243
|
-
if (options.dontCallGetSet) {
|
|
1244
|
-
descriptor = getOwnPropertyDescriptor(target, key);
|
|
1245
|
-
targetProperty = descriptor && descriptor.value;
|
|
1246
|
-
} else targetProperty = target[key];
|
|
1247
|
-
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? "." : "#") + key, options.forced);
|
|
1248
|
-
if (!FORCED && targetProperty !== void 0) {
|
|
1249
|
-
if (typeof sourceProperty == typeof targetProperty) continue;
|
|
1250
|
-
copyConstructorProperties(sourceProperty, targetProperty);
|
|
1251
|
-
}
|
|
1252
|
-
if (options.sham || targetProperty && targetProperty.sham) {
|
|
1253
|
-
createNonEnumerableProperty(sourceProperty, "sham", true);
|
|
1254
|
-
}
|
|
1255
|
-
defineBuiltIn(target, key, sourceProperty, options);
|
|
1256
|
-
}
|
|
1257
|
-
};
|
|
1258
|
-
}
|
|
1259
|
-
});
|
|
1260
|
-
|
|
1261
|
-
// node_modules/core-js/internals/weak-map-helpers.js
|
|
1262
|
-
var require_weak_map_helpers = __commonJS({
|
|
1263
|
-
"node_modules/core-js/internals/weak-map-helpers.js"(exports, module) {
|
|
1264
|
-
"use strict";
|
|
1265
|
-
init_process();
|
|
1266
|
-
var uncurryThis = require_function_uncurry_this();
|
|
1267
|
-
var WeakMapPrototype = WeakMap.prototype;
|
|
1268
|
-
module.exports = {
|
|
1269
|
-
// eslint-disable-next-line es/no-weak-map -- safe
|
|
1270
|
-
WeakMap,
|
|
1271
|
-
set: uncurryThis(WeakMapPrototype.set),
|
|
1272
|
-
get: uncurryThis(WeakMapPrototype.get),
|
|
1273
|
-
has: uncurryThis(WeakMapPrototype.has),
|
|
1274
|
-
remove: uncurryThis(WeakMapPrototype["delete"])
|
|
1275
|
-
};
|
|
1276
|
-
}
|
|
1277
|
-
});
|
|
1278
|
-
|
|
1279
|
-
// node_modules/core-js/internals/a-weak-map.js
|
|
1280
|
-
var require_a_weak_map = __commonJS({
|
|
1281
|
-
"node_modules/core-js/internals/a-weak-map.js"(exports, module) {
|
|
1282
|
-
"use strict";
|
|
1283
|
-
init_process();
|
|
1284
|
-
var has = require_weak_map_helpers().has;
|
|
1285
|
-
module.exports = function(it) {
|
|
1286
|
-
has(it);
|
|
1287
|
-
return it;
|
|
1288
|
-
};
|
|
1289
|
-
}
|
|
1290
|
-
});
|
|
1291
|
-
|
|
1292
|
-
// node_modules/core-js/modules/esnext.weak-map.delete-all.js
|
|
1293
|
-
var require_esnext_weak_map_delete_all = __commonJS({
|
|
1294
|
-
"node_modules/core-js/modules/esnext.weak-map.delete-all.js"() {
|
|
1295
|
-
"use strict";
|
|
1296
|
-
init_process();
|
|
1297
|
-
var $ = require_export();
|
|
1298
|
-
var aWeakMap = require_a_weak_map();
|
|
1299
|
-
var remove = require_weak_map_helpers().remove;
|
|
1300
|
-
$({ target: "WeakMap", proto: true, real: true, forced: true }, {
|
|
1301
|
-
deleteAll: function deleteAll() {
|
|
1302
|
-
var collection = aWeakMap(this);
|
|
1303
|
-
var allDeleted = true;
|
|
1304
|
-
var wasDeleted;
|
|
1305
|
-
for (var k = 0, len = arguments.length; k < len; k++) {
|
|
1306
|
-
wasDeleted = remove(collection, arguments[k]);
|
|
1307
|
-
allDeleted = allDeleted && wasDeleted;
|
|
1308
|
-
}
|
|
1309
|
-
return !!allDeleted;
|
|
1310
|
-
}
|
|
1311
|
-
});
|
|
1312
|
-
}
|
|
1313
|
-
});
|
|
1314
|
-
|
|
1315
26
|
// dist/main.js
|
|
1316
27
|
var require_main = __commonJS({
|
|
1317
28
|
"dist/main.js"(exports) {
|
|
1318
29
|
init_process();
|
|
1319
|
-
require_esnext_weak_map_delete_all();
|
|
1320
30
|
var __classPrivateFieldSet = function(receiver, state, value, kind, f) {
|
|
1321
31
|
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
1322
32
|
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
@@ -1496,62 +206,62 @@ var titleSwitcher = (() => {
|
|
|
1496
206
|
* @param self
|
|
1497
207
|
* @param runOnce
|
|
1498
208
|
*/
|
|
1499
|
-
switchTitle(currentTitle, callBackFunction,
|
|
1500
|
-
|
|
209
|
+
switchTitle(currentTitle, callBackFunction, self, runOnce = false) {
|
|
210
|
+
self = self || this;
|
|
1501
211
|
let currentIndex = 1;
|
|
1502
|
-
const size = __classPrivateFieldGet(
|
|
212
|
+
const size = __classPrivateFieldGet(self, _TitleSwitcher_titles, "f").length;
|
|
1503
213
|
for (let i = 1; i < size; ++i) {
|
|
1504
|
-
if (__classPrivateFieldGet(
|
|
214
|
+
if (__classPrivateFieldGet(self, _TitleSwitcher_titles, "f")[i] === currentTitle) {
|
|
1505
215
|
currentIndex = i;
|
|
1506
216
|
break;
|
|
1507
217
|
}
|
|
1508
218
|
}
|
|
1509
|
-
if (!__classPrivateFieldGet(
|
|
1510
|
-
__classPrivateFieldSet(
|
|
1511
|
-
return
|
|
219
|
+
if (!__classPrivateFieldGet(self, _TitleSwitcher_active, "f")) {
|
|
220
|
+
__classPrivateFieldSet(self, _TitleSwitcher_currentIndex, currentIndex, "f");
|
|
221
|
+
return self;
|
|
1512
222
|
}
|
|
1513
|
-
const maxIndex = __classPrivateFieldGet(
|
|
223
|
+
const maxIndex = __classPrivateFieldGet(self, _TitleSwitcher_titles, "f").length - 1;
|
|
1514
224
|
let nextIndex = 1;
|
|
1515
225
|
if (maxIndex === 1) {
|
|
1516
|
-
return callBackFunction(currentTitle, runOnce ? () =>
|
|
226
|
+
return callBackFunction(currentTitle, runOnce ? () => self : self.switchTitle, self, runOnce);
|
|
1517
227
|
}
|
|
1518
|
-
if (__classPrivateFieldGet(
|
|
1519
|
-
if (!
|
|
228
|
+
if (__classPrivateFieldGet(self, _TitleSwitcher_isRandom, "f")) {
|
|
229
|
+
if (!self.typeSurface.textContent.trim()) {
|
|
1520
230
|
currentIndex = -1;
|
|
1521
231
|
}
|
|
1522
232
|
do {
|
|
1523
233
|
nextIndex = Math.round(Math.random() * (maxIndex - 1)) + 1;
|
|
1524
234
|
} while (nextIndex === currentIndex);
|
|
1525
235
|
} else {
|
|
1526
|
-
if (!
|
|
236
|
+
if (!self.typeSurface.textContent.trim()) {
|
|
1527
237
|
currentIndex = maxIndex;
|
|
1528
238
|
}
|
|
1529
239
|
nextIndex = currentIndex < maxIndex ? currentIndex + 1 : 1;
|
|
1530
240
|
}
|
|
1531
|
-
const nextTitle = __classPrivateFieldGet(
|
|
241
|
+
const nextTitle = __classPrivateFieldGet(self, _TitleSwitcher_titles, "f")[nextIndex];
|
|
1532
242
|
if (currentTitle.classList) {
|
|
1533
|
-
currentTitle.classList.remove(
|
|
243
|
+
currentTitle.classList.remove(self.currentClass);
|
|
1534
244
|
} else {
|
|
1535
245
|
currentTitle.className = currentTitle.className.replace(new RegExp("(^|\\b)" + currentTitle.className.split(" ").join("|") + "(\\b|$)", "gi"), " ");
|
|
1536
246
|
}
|
|
1537
247
|
if (nextTitle.classList) {
|
|
1538
|
-
nextTitle.classList.add(
|
|
248
|
+
nextTitle.classList.add(self.currentClass);
|
|
1539
249
|
} else {
|
|
1540
|
-
nextTitle.className += " " +
|
|
250
|
+
nextTitle.className += " " + self.currentClass;
|
|
1541
251
|
}
|
|
1542
|
-
return callBackFunction(nextTitle, runOnce ? () =>
|
|
252
|
+
return callBackFunction(nextTitle, runOnce ? () => self : self.switchTitle, self, runOnce);
|
|
1543
253
|
}
|
|
1544
254
|
};
|
|
1545
255
|
_TitleSwitcher_active = /* @__PURE__ */ new WeakMap(), _TitleSwitcher_currentClass = /* @__PURE__ */ new WeakMap(), _TitleSwitcher_currentIndex = /* @__PURE__ */ new WeakMap(), _TitleSwitcher_delayEffect = /* @__PURE__ */ new WeakMap(), _TitleSwitcher_delaySwitch = /* @__PURE__ */ new WeakMap(), _TitleSwitcher_isRandom = /* @__PURE__ */ new WeakMap(), _TitleSwitcher_titles = /* @__PURE__ */ new WeakMap(), _TitleSwitcher_titlesContainer = /* @__PURE__ */ new WeakMap(), _TitleSwitcher_switchStyle = /* @__PURE__ */ new WeakMap(), _TitleSwitcher_typeSurface = /* @__PURE__ */ new WeakMap();
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
256
|
+
var cursorHtml = (visible) => `<span data-cursor style="display: inline-block; font-weight: normal; color: inherit; text-decoration: none">${visible ? "|" : " "}</span>`;
|
|
257
|
+
TitleSwitcher.prototype.cursorBlink = (blinkOn, self) => {
|
|
258
|
+
self = self || void 0;
|
|
259
|
+
const cursors = self.typeSurface.querySelectorAll("[data-cursor]");
|
|
260
|
+
Array.prototype.forEach.call(cursors, (cursor) => cursor.parentNode && cursor.parentNode.removeChild(cursor));
|
|
261
|
+
if (blinkOn || cursors.length) {
|
|
262
|
+
self.typeSurface.insertAdjacentHTML("beforeend", cursorHtml(blinkOn));
|
|
1553
263
|
}
|
|
1554
|
-
return
|
|
264
|
+
return self;
|
|
1555
265
|
};
|
|
1556
266
|
var typedLength = (domObject) => {
|
|
1557
267
|
let length = 0;
|
|
@@ -1613,56 +323,56 @@ var titleSwitcher = (() => {
|
|
|
1613
323
|
remaining
|
|
1614
324
|
};
|
|
1615
325
|
};
|
|
1616
|
-
TitleSwitcher.prototype.typingEffect = (domObject, callBackFunction,
|
|
1617
|
-
|
|
1618
|
-
const size =
|
|
326
|
+
TitleSwitcher.prototype.typingEffect = (domObject, callBackFunction, self, runOnce = false) => {
|
|
327
|
+
self = self || void 0;
|
|
328
|
+
const size = self.titles.length;
|
|
1619
329
|
let currentIndex = 0;
|
|
1620
330
|
for (let i = 1; i < size; ++i) {
|
|
1621
|
-
if (
|
|
331
|
+
if (self.titles[i] === domObject) {
|
|
1622
332
|
currentIndex = i;
|
|
1623
333
|
break;
|
|
1624
334
|
}
|
|
1625
335
|
}
|
|
1626
|
-
domObject = domObject ||
|
|
336
|
+
domObject = domObject || self.titles[currentIndex + 1];
|
|
1627
337
|
let blinkOn = true;
|
|
1628
338
|
const numBlinks = 4;
|
|
1629
|
-
if (
|
|
1630
|
-
|
|
339
|
+
if (self.typeSurface.hasAttribute("style")) {
|
|
340
|
+
self.typeSurface.removeAttribute("style");
|
|
1631
341
|
}
|
|
1632
342
|
if (domObject.hasAttribute("style")) {
|
|
1633
|
-
|
|
343
|
+
self.typeSurface.setAttribute("style", domObject.getAttribute("style"));
|
|
1634
344
|
}
|
|
1635
|
-
|
|
1636
|
-
|
|
345
|
+
self.typeSurface.innerHTML = "";
|
|
346
|
+
self.typeSurface.style.display = "block";
|
|
1637
347
|
for (let i = 0; i < numBlinks; ++i) {
|
|
1638
348
|
setTimeout(() => {
|
|
1639
|
-
|
|
349
|
+
self.cursorBlink(blinkOn, self);
|
|
1640
350
|
blinkOn = !blinkOn;
|
|
1641
|
-
}, i *
|
|
351
|
+
}, i * self.delaySwitch);
|
|
1642
352
|
}
|
|
1643
353
|
setTimeout(() => {
|
|
1644
|
-
|
|
1645
|
-
|
|
354
|
+
self.typeSurface.innerHTML = "";
|
|
355
|
+
self.cursorBlink(true, self);
|
|
1646
356
|
const totalLength = typedLength(domObject);
|
|
1647
357
|
for (let i = 0; i < totalLength; ++i) {
|
|
1648
358
|
setTimeout(() => {
|
|
1649
|
-
|
|
1650
|
-
if (domObject.textContent + "|" ===
|
|
1651
|
-
|
|
359
|
+
self.typeSurface.innerHTML = typedPartialHtml(domObject, i + 1).html + cursorHtml(true);
|
|
360
|
+
if (domObject.textContent + "|" === self.typeSurface.textContent) {
|
|
361
|
+
self.typeSurface.innerHTML = domObject.innerHTML + cursorHtml(true);
|
|
1652
362
|
for (let j = 0; j < numBlinks * 2; ++j) {
|
|
1653
363
|
setTimeout(() => {
|
|
1654
364
|
--j;
|
|
1655
|
-
|
|
365
|
+
self.cursorBlink(blinkOn, self);
|
|
1656
366
|
if (j === 0) {
|
|
1657
|
-
callBackFunction(domObject, runOnce ? () =>
|
|
367
|
+
callBackFunction(domObject, runOnce ? () => self : self.switchStyle, self, runOnce);
|
|
1658
368
|
}
|
|
1659
|
-
}, j *
|
|
369
|
+
}, j * self.delaySwitch);
|
|
1660
370
|
}
|
|
1661
371
|
}
|
|
1662
|
-
}, i *
|
|
372
|
+
}, i * self.delayEffect);
|
|
1663
373
|
}
|
|
1664
|
-
}, numBlinks *
|
|
1665
|
-
return
|
|
374
|
+
}, numBlinks * self.delaySwitch);
|
|
375
|
+
return self;
|
|
1666
376
|
};
|
|
1667
377
|
exports.default = TitleSwitcher;
|
|
1668
378
|
if (void 0) {
|