@rpcbase/client 0.415.0 → 0.417.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,606 +0,0 @@
1
- //#region \0rolldown/runtime.js
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
11
- key = keys[i];
12
- if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
13
- get: ((k) => from[k]).bind(null, key),
14
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
- });
16
- }
17
- return to;
18
- };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
20
- value: mod,
21
- enumerable: true
22
- }) : target, mod));
23
- //#endregion
24
- //#region ../../node_modules/lodash/_freeGlobal.js
25
- var require__freeGlobal = /* @__PURE__ */ __commonJSMin(((exports, module) => {
26
- module.exports = typeof global == "object" && global && global.Object === Object && global;
27
- }));
28
- //#endregion
29
- //#region ../../node_modules/lodash/_root.js
30
- var require__root = /* @__PURE__ */ __commonJSMin(((exports, module) => {
31
- var freeGlobal = require__freeGlobal();
32
- /** Detect free variable `self`. */
33
- var freeSelf = typeof self == "object" && self && self.Object === Object && self;
34
- module.exports = freeGlobal || freeSelf || Function("return this")();
35
- }));
36
- //#endregion
37
- //#region ../../node_modules/lodash/_Symbol.js
38
- var require__Symbol = /* @__PURE__ */ __commonJSMin(((exports, module) => {
39
- module.exports = require__root().Symbol;
40
- }));
41
- //#endregion
42
- //#region ../../node_modules/lodash/_arrayMap.js
43
- var require__arrayMap = /* @__PURE__ */ __commonJSMin(((exports, module) => {
44
- /**
45
- * A specialized version of `_.map` for arrays without support for iteratee
46
- * shorthands.
47
- *
48
- * @private
49
- * @param {Array} [array] The array to iterate over.
50
- * @param {Function} iteratee The function invoked per iteration.
51
- * @returns {Array} Returns the new mapped array.
52
- */
53
- function arrayMap(array, iteratee) {
54
- var index = -1, length = array == null ? 0 : array.length, result = Array(length);
55
- while (++index < length) result[index] = iteratee(array[index], index, array);
56
- return result;
57
- }
58
- module.exports = arrayMap;
59
- }));
60
- //#endregion
61
- //#region ../../node_modules/lodash/isArray.js
62
- var require_isArray = /* @__PURE__ */ __commonJSMin(((exports, module) => {
63
- module.exports = Array.isArray;
64
- }));
65
- //#endregion
66
- //#region ../../node_modules/lodash/_getRawTag.js
67
- var require__getRawTag = /* @__PURE__ */ __commonJSMin(((exports, module) => {
68
- var Symbol = require__Symbol();
69
- /** Used for built-in method references. */
70
- var objectProto = Object.prototype;
71
- /** Used to check objects for own properties. */
72
- var hasOwnProperty = objectProto.hasOwnProperty;
73
- /**
74
- * Used to resolve the
75
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
76
- * of values.
77
- */
78
- var nativeObjectToString = objectProto.toString;
79
- /** Built-in value references. */
80
- var symToStringTag = Symbol ? Symbol.toStringTag : void 0;
81
- /**
82
- * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
83
- *
84
- * @private
85
- * @param {*} value The value to query.
86
- * @returns {string} Returns the raw `toStringTag`.
87
- */
88
- function getRawTag(value) {
89
- var isOwn = hasOwnProperty.call(value, symToStringTag), tag = value[symToStringTag];
90
- try {
91
- value[symToStringTag] = void 0;
92
- var unmasked = true;
93
- } catch (e) {}
94
- var result = nativeObjectToString.call(value);
95
- if (unmasked) if (isOwn) value[symToStringTag] = tag;
96
- else delete value[symToStringTag];
97
- return result;
98
- }
99
- module.exports = getRawTag;
100
- }));
101
- //#endregion
102
- //#region ../../node_modules/lodash/_objectToString.js
103
- var require__objectToString = /* @__PURE__ */ __commonJSMin(((exports, module) => {
104
- /**
105
- * Used to resolve the
106
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
107
- * of values.
108
- */
109
- var nativeObjectToString = Object.prototype.toString;
110
- /**
111
- * Converts `value` to a string using `Object.prototype.toString`.
112
- *
113
- * @private
114
- * @param {*} value The value to convert.
115
- * @returns {string} Returns the converted string.
116
- */
117
- function objectToString(value) {
118
- return nativeObjectToString.call(value);
119
- }
120
- module.exports = objectToString;
121
- }));
122
- //#endregion
123
- //#region ../../node_modules/lodash/_baseGetTag.js
124
- var require__baseGetTag = /* @__PURE__ */ __commonJSMin(((exports, module) => {
125
- var Symbol = require__Symbol(), getRawTag = require__getRawTag(), objectToString = require__objectToString();
126
- /** `Object#toString` result references. */
127
- var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
128
- /** Built-in value references. */
129
- var symToStringTag = Symbol ? Symbol.toStringTag : void 0;
130
- /**
131
- * The base implementation of `getTag` without fallbacks for buggy environments.
132
- *
133
- * @private
134
- * @param {*} value The value to query.
135
- * @returns {string} Returns the `toStringTag`.
136
- */
137
- function baseGetTag(value) {
138
- if (value == null) return value === void 0 ? undefinedTag : nullTag;
139
- return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
140
- }
141
- module.exports = baseGetTag;
142
- }));
143
- //#endregion
144
- //#region ../../node_modules/lodash/isObjectLike.js
145
- var require_isObjectLike = /* @__PURE__ */ __commonJSMin(((exports, module) => {
146
- /**
147
- * Checks if `value` is object-like. A value is object-like if it's not `null`
148
- * and has a `typeof` result of "object".
149
- *
150
- * @static
151
- * @memberOf _
152
- * @since 4.0.0
153
- * @category Lang
154
- * @param {*} value The value to check.
155
- * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
156
- * @example
157
- *
158
- * _.isObjectLike({});
159
- * // => true
160
- *
161
- * _.isObjectLike([1, 2, 3]);
162
- * // => true
163
- *
164
- * _.isObjectLike(_.noop);
165
- * // => false
166
- *
167
- * _.isObjectLike(null);
168
- * // => false
169
- */
170
- function isObjectLike(value) {
171
- return value != null && typeof value == "object";
172
- }
173
- module.exports = isObjectLike;
174
- }));
175
- //#endregion
176
- //#region ../../node_modules/lodash/isSymbol.js
177
- var require_isSymbol = /* @__PURE__ */ __commonJSMin(((exports, module) => {
178
- var baseGetTag = require__baseGetTag(), isObjectLike = require_isObjectLike();
179
- /** `Object#toString` result references. */
180
- var symbolTag = "[object Symbol]";
181
- /**
182
- * Checks if `value` is classified as a `Symbol` primitive or object.
183
- *
184
- * @static
185
- * @memberOf _
186
- * @since 4.0.0
187
- * @category Lang
188
- * @param {*} value The value to check.
189
- * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
190
- * @example
191
- *
192
- * _.isSymbol(Symbol.iterator);
193
- * // => true
194
- *
195
- * _.isSymbol('abc');
196
- * // => false
197
- */
198
- function isSymbol(value) {
199
- return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag;
200
- }
201
- module.exports = isSymbol;
202
- }));
203
- //#endregion
204
- //#region ../../node_modules/lodash/_baseToString.js
205
- var require__baseToString = /* @__PURE__ */ __commonJSMin(((exports, module) => {
206
- var Symbol = require__Symbol(), arrayMap = require__arrayMap(), isArray = require_isArray(), isSymbol = require_isSymbol();
207
- /** Used as references for various `Number` constants. */
208
- var INFINITY = Infinity;
209
- /** Used to convert symbols to primitives and strings. */
210
- var symbolProto = Symbol ? Symbol.prototype : void 0, symbolToString = symbolProto ? symbolProto.toString : void 0;
211
- /**
212
- * The base implementation of `_.toString` which doesn't convert nullish
213
- * values to empty strings.
214
- *
215
- * @private
216
- * @param {*} value The value to process.
217
- * @returns {string} Returns the string.
218
- */
219
- function baseToString(value) {
220
- if (typeof value == "string") return value;
221
- if (isArray(value)) return arrayMap(value, baseToString) + "";
222
- if (isSymbol(value)) return symbolToString ? symbolToString.call(value) : "";
223
- var result = value + "";
224
- return result == "0" && 1 / value == -INFINITY ? "-0" : result;
225
- }
226
- module.exports = baseToString;
227
- }));
228
- //#endregion
229
- //#region ../../node_modules/lodash/toString.js
230
- var require_toString = /* @__PURE__ */ __commonJSMin(((exports, module) => {
231
- var baseToString = require__baseToString();
232
- /**
233
- * Converts `value` to a string. An empty string is returned for `null`
234
- * and `undefined` values. The sign of `-0` is preserved.
235
- *
236
- * @static
237
- * @memberOf _
238
- * @since 4.0.0
239
- * @category Lang
240
- * @param {*} value The value to convert.
241
- * @returns {string} Returns the converted string.
242
- * @example
243
- *
244
- * _.toString(null);
245
- * // => ''
246
- *
247
- * _.toString(-0);
248
- * // => '-0'
249
- *
250
- * _.toString([1, 2, 3]);
251
- * // => '1,2,3'
252
- */
253
- function toString(value) {
254
- return value == null ? "" : baseToString(value);
255
- }
256
- module.exports = toString;
257
- }));
258
- //#endregion
259
- //#region ../../node_modules/lodash/isObject.js
260
- var require_isObject = /* @__PURE__ */ __commonJSMin(((exports, module) => {
261
- /**
262
- * Checks if `value` is the
263
- * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
264
- * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
265
- *
266
- * @static
267
- * @memberOf _
268
- * @since 0.1.0
269
- * @category Lang
270
- * @param {*} value The value to check.
271
- * @returns {boolean} Returns `true` if `value` is an object, else `false`.
272
- * @example
273
- *
274
- * _.isObject({});
275
- * // => true
276
- *
277
- * _.isObject([1, 2, 3]);
278
- * // => true
279
- *
280
- * _.isObject(_.noop);
281
- * // => true
282
- *
283
- * _.isObject(null);
284
- * // => false
285
- */
286
- function isObject(value) {
287
- var type = typeof value;
288
- return value != null && (type == "object" || type == "function");
289
- }
290
- module.exports = isObject;
291
- }));
292
- //#endregion
293
- //#region ../../node_modules/lodash/now.js
294
- var require_now = /* @__PURE__ */ __commonJSMin(((exports, module) => {
295
- var root = require__root();
296
- /**
297
- * Gets the timestamp of the number of milliseconds that have elapsed since
298
- * the Unix epoch (1 January 1970 00:00:00 UTC).
299
- *
300
- * @static
301
- * @memberOf _
302
- * @since 2.4.0
303
- * @category Date
304
- * @returns {number} Returns the timestamp.
305
- * @example
306
- *
307
- * _.defer(function(stamp) {
308
- * console.log(_.now() - stamp);
309
- * }, _.now());
310
- * // => Logs the number of milliseconds it took for the deferred invocation.
311
- */
312
- var now = function() {
313
- return root.Date.now();
314
- };
315
- module.exports = now;
316
- }));
317
- //#endregion
318
- //#region ../../node_modules/lodash/_trimmedEndIndex.js
319
- var require__trimmedEndIndex = /* @__PURE__ */ __commonJSMin(((exports, module) => {
320
- /** Used to match a single whitespace character. */
321
- var reWhitespace = /\s/;
322
- /**
323
- * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace
324
- * character of `string`.
325
- *
326
- * @private
327
- * @param {string} string The string to inspect.
328
- * @returns {number} Returns the index of the last non-whitespace character.
329
- */
330
- function trimmedEndIndex(string) {
331
- var index = string.length;
332
- while (index-- && reWhitespace.test(string.charAt(index)));
333
- return index;
334
- }
335
- module.exports = trimmedEndIndex;
336
- }));
337
- //#endregion
338
- //#region ../../node_modules/lodash/_baseTrim.js
339
- var require__baseTrim = /* @__PURE__ */ __commonJSMin(((exports, module) => {
340
- var trimmedEndIndex = require__trimmedEndIndex();
341
- /** Used to match leading whitespace. */
342
- var reTrimStart = /^\s+/;
343
- /**
344
- * The base implementation of `_.trim`.
345
- *
346
- * @private
347
- * @param {string} string The string to trim.
348
- * @returns {string} Returns the trimmed string.
349
- */
350
- function baseTrim(string) {
351
- return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, "") : string;
352
- }
353
- module.exports = baseTrim;
354
- }));
355
- //#endregion
356
- //#region ../../node_modules/lodash/toNumber.js
357
- var require_toNumber = /* @__PURE__ */ __commonJSMin(((exports, module) => {
358
- var baseTrim = require__baseTrim(), isObject = require_isObject(), isSymbol = require_isSymbol();
359
- /** Used as references for various `Number` constants. */
360
- var NAN = NaN;
361
- /** Used to detect bad signed hexadecimal string values. */
362
- var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
363
- /** Used to detect binary string values. */
364
- var reIsBinary = /^0b[01]+$/i;
365
- /** Used to detect octal string values. */
366
- var reIsOctal = /^0o[0-7]+$/i;
367
- /** Built-in method references without a dependency on `root`. */
368
- var freeParseInt = parseInt;
369
- /**
370
- * Converts `value` to a number.
371
- *
372
- * @static
373
- * @memberOf _
374
- * @since 4.0.0
375
- * @category Lang
376
- * @param {*} value The value to process.
377
- * @returns {number} Returns the number.
378
- * @example
379
- *
380
- * _.toNumber(3.2);
381
- * // => 3.2
382
- *
383
- * _.toNumber(Number.MIN_VALUE);
384
- * // => 5e-324
385
- *
386
- * _.toNumber(Infinity);
387
- * // => Infinity
388
- *
389
- * _.toNumber('3.2');
390
- * // => 3.2
391
- */
392
- function toNumber(value) {
393
- if (typeof value == "number") return value;
394
- if (isSymbol(value)) return NAN;
395
- if (isObject(value)) {
396
- var other = typeof value.valueOf == "function" ? value.valueOf() : value;
397
- value = isObject(other) ? other + "" : other;
398
- }
399
- if (typeof value != "string") return value === 0 ? value : +value;
400
- value = baseTrim(value);
401
- var isBinary = reIsBinary.test(value);
402
- return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;
403
- }
404
- module.exports = toNumber;
405
- }));
406
- //#endregion
407
- //#region ../../node_modules/lodash/debounce.js
408
- var require_debounce = /* @__PURE__ */ __commonJSMin(((exports, module) => {
409
- var isObject = require_isObject(), now = require_now(), toNumber = require_toNumber();
410
- /** Error message constants. */
411
- var FUNC_ERROR_TEXT = "Expected a function";
412
- var nativeMax = Math.max, nativeMin = Math.min;
413
- /**
414
- * Creates a debounced function that delays invoking `func` until after `wait`
415
- * milliseconds have elapsed since the last time the debounced function was
416
- * invoked. The debounced function comes with a `cancel` method to cancel
417
- * delayed `func` invocations and a `flush` method to immediately invoke them.
418
- * Provide `options` to indicate whether `func` should be invoked on the
419
- * leading and/or trailing edge of the `wait` timeout. The `func` is invoked
420
- * with the last arguments provided to the debounced function. Subsequent
421
- * calls to the debounced function return the result of the last `func`
422
- * invocation.
423
- *
424
- * **Note:** If `leading` and `trailing` options are `true`, `func` is
425
- * invoked on the trailing edge of the timeout only if the debounced function
426
- * is invoked more than once during the `wait` timeout.
427
- *
428
- * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
429
- * until to the next tick, similar to `setTimeout` with a timeout of `0`.
430
- *
431
- * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
432
- * for details over the differences between `_.debounce` and `_.throttle`.
433
- *
434
- * @static
435
- * @memberOf _
436
- * @since 0.1.0
437
- * @category Function
438
- * @param {Function} func The function to debounce.
439
- * @param {number} [wait=0] The number of milliseconds to delay.
440
- * @param {Object} [options={}] The options object.
441
- * @param {boolean} [options.leading=false]
442
- * Specify invoking on the leading edge of the timeout.
443
- * @param {number} [options.maxWait]
444
- * The maximum time `func` is allowed to be delayed before it's invoked.
445
- * @param {boolean} [options.trailing=true]
446
- * Specify invoking on the trailing edge of the timeout.
447
- * @returns {Function} Returns the new debounced function.
448
- * @example
449
- *
450
- * // Avoid costly calculations while the window size is in flux.
451
- * jQuery(window).on('resize', _.debounce(calculateLayout, 150));
452
- *
453
- * // Invoke `sendMail` when clicked, debouncing subsequent calls.
454
- * jQuery(element).on('click', _.debounce(sendMail, 300, {
455
- * 'leading': true,
456
- * 'trailing': false
457
- * }));
458
- *
459
- * // Ensure `batchLog` is invoked once after 1 second of debounced calls.
460
- * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
461
- * var source = new EventSource('/stream');
462
- * jQuery(source).on('message', debounced);
463
- *
464
- * // Cancel the trailing debounced invocation.
465
- * jQuery(window).on('popstate', debounced.cancel);
466
- */
467
- function debounce(func, wait, options) {
468
- var lastArgs, lastThis, maxWait, result, timerId, lastCallTime, lastInvokeTime = 0, leading = false, maxing = false, trailing = true;
469
- if (typeof func != "function") throw new TypeError(FUNC_ERROR_TEXT);
470
- wait = toNumber(wait) || 0;
471
- if (isObject(options)) {
472
- leading = !!options.leading;
473
- maxing = "maxWait" in options;
474
- maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
475
- trailing = "trailing" in options ? !!options.trailing : trailing;
476
- }
477
- function invokeFunc(time) {
478
- var args = lastArgs, thisArg = lastThis;
479
- lastArgs = lastThis = void 0;
480
- lastInvokeTime = time;
481
- result = func.apply(thisArg, args);
482
- return result;
483
- }
484
- function leadingEdge(time) {
485
- lastInvokeTime = time;
486
- timerId = setTimeout(timerExpired, wait);
487
- return leading ? invokeFunc(time) : result;
488
- }
489
- function remainingWait(time) {
490
- var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime, timeWaiting = wait - timeSinceLastCall;
491
- return maxing ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke) : timeWaiting;
492
- }
493
- function shouldInvoke(time) {
494
- var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime;
495
- return lastCallTime === void 0 || timeSinceLastCall >= wait || timeSinceLastCall < 0 || maxing && timeSinceLastInvoke >= maxWait;
496
- }
497
- function timerExpired() {
498
- var time = now();
499
- if (shouldInvoke(time)) return trailingEdge(time);
500
- timerId = setTimeout(timerExpired, remainingWait(time));
501
- }
502
- function trailingEdge(time) {
503
- timerId = void 0;
504
- if (trailing && lastArgs) return invokeFunc(time);
505
- lastArgs = lastThis = void 0;
506
- return result;
507
- }
508
- function cancel() {
509
- if (timerId !== void 0) clearTimeout(timerId);
510
- lastInvokeTime = 0;
511
- lastArgs = lastCallTime = lastThis = timerId = void 0;
512
- }
513
- function flush() {
514
- return timerId === void 0 ? result : trailingEdge(now());
515
- }
516
- function debounced() {
517
- var time = now(), isInvoking = shouldInvoke(time);
518
- lastArgs = arguments;
519
- lastThis = this;
520
- lastCallTime = time;
521
- if (isInvoking) {
522
- if (timerId === void 0) return leadingEdge(lastCallTime);
523
- if (maxing) {
524
- clearTimeout(timerId);
525
- timerId = setTimeout(timerExpired, wait);
526
- return invokeFunc(lastCallTime);
527
- }
528
- }
529
- if (timerId === void 0) timerId = setTimeout(timerExpired, wait);
530
- return result;
531
- }
532
- debounced.cancel = cancel;
533
- debounced.flush = flush;
534
- return debounced;
535
- }
536
- module.exports = debounce;
537
- }));
538
- //#endregion
539
- //#region ../../node_modules/lodash/throttle.js
540
- var require_throttle = /* @__PURE__ */ __commonJSMin(((exports, module) => {
541
- var debounce = require_debounce(), isObject = require_isObject();
542
- /** Error message constants. */
543
- var FUNC_ERROR_TEXT = "Expected a function";
544
- /**
545
- * Creates a throttled function that only invokes `func` at most once per
546
- * every `wait` milliseconds. The throttled function comes with a `cancel`
547
- * method to cancel delayed `func` invocations and a `flush` method to
548
- * immediately invoke them. Provide `options` to indicate whether `func`
549
- * should be invoked on the leading and/or trailing edge of the `wait`
550
- * timeout. The `func` is invoked with the last arguments provided to the
551
- * throttled function. Subsequent calls to the throttled function return the
552
- * result of the last `func` invocation.
553
- *
554
- * **Note:** If `leading` and `trailing` options are `true`, `func` is
555
- * invoked on the trailing edge of the timeout only if the throttled function
556
- * is invoked more than once during the `wait` timeout.
557
- *
558
- * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
559
- * until to the next tick, similar to `setTimeout` with a timeout of `0`.
560
- *
561
- * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
562
- * for details over the differences between `_.throttle` and `_.debounce`.
563
- *
564
- * @static
565
- * @memberOf _
566
- * @since 0.1.0
567
- * @category Function
568
- * @param {Function} func The function to throttle.
569
- * @param {number} [wait=0] The number of milliseconds to throttle invocations to.
570
- * @param {Object} [options={}] The options object.
571
- * @param {boolean} [options.leading=true]
572
- * Specify invoking on the leading edge of the timeout.
573
- * @param {boolean} [options.trailing=true]
574
- * Specify invoking on the trailing edge of the timeout.
575
- * @returns {Function} Returns the new throttled function.
576
- * @example
577
- *
578
- * // Avoid excessively updating the position while scrolling.
579
- * jQuery(window).on('scroll', _.throttle(updatePosition, 100));
580
- *
581
- * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.
582
- * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });
583
- * jQuery(element).on('click', throttled);
584
- *
585
- * // Cancel the trailing throttled invocation.
586
- * jQuery(window).on('popstate', throttled.cancel);
587
- */
588
- function throttle(func, wait, options) {
589
- var leading = true, trailing = true;
590
- if (typeof func != "function") throw new TypeError(FUNC_ERROR_TEXT);
591
- if (isObject(options)) {
592
- leading = "leading" in options ? !!options.leading : leading;
593
- trailing = "trailing" in options ? !!options.trailing : trailing;
594
- }
595
- return debounce(func, wait, {
596
- "leading": leading,
597
- "maxWait": wait,
598
- "trailing": trailing
599
- });
600
- }
601
- module.exports = throttle;
602
- }));
603
- //#endregion
604
- export { require_isSymbol as a, require_isArray as c, require__root as d, require__freeGlobal as f, require_toString as i, require__arrayMap as l, __toESM as m, require_debounce as n, require_isObjectLike as o, __commonJSMin as p, require_isObject as r, require__baseGetTag as s, require_throttle as t, require__Symbol as u };
605
-
606
- //# sourceMappingURL=throttle-Clti0UeB.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"throttle-Clti0UeB.js","names":[],"sources":["../../../node_modules/lodash/_freeGlobal.js","../../../node_modules/lodash/_root.js","../../../node_modules/lodash/_Symbol.js","../../../node_modules/lodash/_arrayMap.js","../../../node_modules/lodash/isArray.js","../../../node_modules/lodash/_getRawTag.js","../../../node_modules/lodash/_objectToString.js","../../../node_modules/lodash/_baseGetTag.js","../../../node_modules/lodash/isObjectLike.js","../../../node_modules/lodash/isSymbol.js","../../../node_modules/lodash/_baseToString.js","../../../node_modules/lodash/toString.js","../../../node_modules/lodash/isObject.js","../../../node_modules/lodash/now.js","../../../node_modules/lodash/_trimmedEndIndex.js","../../../node_modules/lodash/_baseTrim.js","../../../node_modules/lodash/toNumber.js","../../../node_modules/lodash/debounce.js","../../../node_modules/lodash/throttle.js"],"sourcesContent":["/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","/**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n}\n\nmodule.exports = arrayMap;\n","/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n","var Symbol = require('./_Symbol'),\n arrayMap = require('./_arrayMap'),\n isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = baseToString;\n","var baseToString = require('./_baseToString');\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\nmodule.exports = toString;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n","var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n","var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n","var debounce = require('./debounce'),\n isObject = require('./isObject');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\nfunction throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n}\n\nmodule.exports = throttle;\n"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAGA,QAAO,UAFU,OAAO,UAAU,YAAY,UAAU,OAAO,WAAW,UAAU;;;;;CCDpF,IAAI,aAAA,qBAAA;;CAGJ,IAAI,WAAW,OAAO,QAAQ,YAAY,QAAQ,KAAK,WAAW,UAAU;AAK5E,QAAO,UAFI,cAAc,YAAY,SAAS,cAAc,EAAE;;;;;ACD9D,QAAO,UAFH,eAAA,CAAc;;;;;;;;;;;;;;CCMlB,SAAS,SAAS,OAAO,UAAU;EACjC,IAAI,QAAQ,IACR,SAAS,SAAS,OAAO,IAAI,MAAM,QACnC,SAAS,MAAM,OAAO;AAE1B,SAAO,EAAE,QAAQ,OACf,QAAO,SAAS,SAAS,MAAM,QAAQ,OAAO,MAAM;AAEtD,SAAO;;AAGT,QAAO,UAAU;;;;;ACKjB,QAAO,UAFO,MAAM;;;;;CCvBpB,IAAI,SAAA,iBAAA;;CAGJ,IAAI,cAAc,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