@94ai/nf-variable-select 3.3.37 → 3.3.38

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,7 +1,1026 @@
1
1
  import { defineComponent, ref, computed, watch } from "vue-demi";
2
2
  import { generateUUID } from "@94ai/common-utils";
3
3
  import { normalizeComponent } from "@94ai/vue2-runtime-helpers";
4
- const __sfc_main = defineComponent({
4
+ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
5
+ function getDefaultExportFromCjs(x) {
6
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
7
+ }
8
+ var fails$a = function(exec2) {
9
+ try {
10
+ return !!exec2();
11
+ } catch (error) {
12
+ return true;
13
+ }
14
+ };
15
+ var fails$9 = fails$a;
16
+ var functionBindNative = !fails$9(function() {
17
+ var test2 = (function() {
18
+ }).bind();
19
+ return typeof test2 != "function" || test2.hasOwnProperty("prototype");
20
+ });
21
+ var NATIVE_BIND$3 = functionBindNative;
22
+ var FunctionPrototype$1 = Function.prototype;
23
+ var call$5 = FunctionPrototype$1.call;
24
+ var uncurryThisWithBind = NATIVE_BIND$3 && FunctionPrototype$1.bind.bind(call$5, call$5);
25
+ var functionUncurryThis = NATIVE_BIND$3 ? uncurryThisWithBind : function(fn) {
26
+ return function() {
27
+ return call$5.apply(fn, arguments);
28
+ };
29
+ };
30
+ var uncurryThis$c = functionUncurryThis;
31
+ var objectIsPrototypeOf = uncurryThis$c({}.isPrototypeOf);
32
+ var check = function(it) {
33
+ return it && it.Math === Math && it;
34
+ };
35
+ var global$d = (
36
+ // eslint-disable-next-line es/no-global-this -- safe
37
+ check(typeof globalThis == "object" && globalThis) || check(typeof window == "object" && window) || // eslint-disable-next-line no-restricted-globals -- safe
38
+ check(typeof self == "object" && self) || check(typeof commonjsGlobal == "object" && commonjsGlobal) || // eslint-disable-next-line no-new-func -- fallback
39
+ function() {
40
+ return this;
41
+ }() || commonjsGlobal || Function("return this")()
42
+ );
43
+ var NATIVE_BIND$2 = functionBindNative;
44
+ var FunctionPrototype = Function.prototype;
45
+ var apply$2 = FunctionPrototype.apply;
46
+ var call$4 = FunctionPrototype.call;
47
+ var functionApply = typeof Reflect == "object" && Reflect.apply || (NATIVE_BIND$2 ? call$4.bind(apply$2) : function() {
48
+ return call$4.apply(apply$2, arguments);
49
+ });
50
+ var uncurryThis$b = functionUncurryThis;
51
+ var toString$3 = uncurryThis$b({}.toString);
52
+ var stringSlice = uncurryThis$b("".slice);
53
+ var classofRaw$2 = function(it) {
54
+ return stringSlice(toString$3(it), 8, -1);
55
+ };
56
+ var classofRaw$1 = classofRaw$2;
57
+ var uncurryThis$a = functionUncurryThis;
58
+ var functionUncurryThisClause = function(fn) {
59
+ if (classofRaw$1(fn) === "Function")
60
+ return uncurryThis$a(fn);
61
+ };
62
+ var documentAll$2 = typeof document == "object" && document.all;
63
+ var IS_HTMLDDA = typeof documentAll$2 == "undefined" && documentAll$2 !== void 0;
64
+ var documentAll_1 = {
65
+ all: documentAll$2,
66
+ IS_HTMLDDA
67
+ };
68
+ var $documentAll$1 = documentAll_1;
69
+ var documentAll$1 = $documentAll$1.all;
70
+ var isCallable$b = $documentAll$1.IS_HTMLDDA ? function(argument) {
71
+ return typeof argument == "function" || argument === documentAll$1;
72
+ } : function(argument) {
73
+ return typeof argument == "function";
74
+ };
75
+ var objectGetOwnPropertyDescriptor = {};
76
+ var fails$8 = fails$a;
77
+ var descriptors = !fails$8(function() {
78
+ return Object.defineProperty({}, 1, {
79
+ get: function() {
80
+ return 7;
81
+ }
82
+ })[1] !== 7;
83
+ });
84
+ var NATIVE_BIND$1 = functionBindNative;
85
+ var call$3 = Function.prototype.call;
86
+ var functionCall = NATIVE_BIND$1 ? call$3.bind(call$3) : function() {
87
+ return call$3.apply(call$3, arguments);
88
+ };
89
+ var objectPropertyIsEnumerable = {};
90
+ var $propertyIsEnumerable = {}.propertyIsEnumerable;
91
+ var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
92
+ var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({
93
+ 1: 2
94
+ }, 1);
95
+ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
96
+ var descriptor = getOwnPropertyDescriptor$1(this, V);
97
+ return !!descriptor && descriptor.enumerable;
98
+ } : $propertyIsEnumerable;
99
+ var createPropertyDescriptor$2 = function(bitmap, value) {
100
+ return {
101
+ enumerable: !(bitmap & 1),
102
+ configurable: !(bitmap & 2),
103
+ writable: !(bitmap & 4),
104
+ value
105
+ };
106
+ };
107
+ var uncurryThis$9 = functionUncurryThis;
108
+ var fails$7 = fails$a;
109
+ var classof$5 = classofRaw$2;
110
+ var $Object$3 = Object;
111
+ var split = uncurryThis$9("".split);
112
+ var indexedObject = fails$7(function() {
113
+ return !$Object$3("z").propertyIsEnumerable(0);
114
+ }) ? function(it) {
115
+ return classof$5(it) === "String" ? split(it, "") : $Object$3(it);
116
+ } : $Object$3;
117
+ var isNullOrUndefined$2 = function(it) {
118
+ return it === null || it === void 0;
119
+ };
120
+ var isNullOrUndefined$1 = isNullOrUndefined$2;
121
+ var $TypeError$7 = TypeError;
122
+ var requireObjectCoercible$3 = function(it) {
123
+ if (isNullOrUndefined$1(it))
124
+ throw new $TypeError$7("Can't call method on " + it);
125
+ return it;
126
+ };
127
+ var IndexedObject$1 = indexedObject;
128
+ var requireObjectCoercible$2 = requireObjectCoercible$3;
129
+ var toIndexedObject$2 = function(it) {
130
+ return IndexedObject$1(requireObjectCoercible$2(it));
131
+ };
132
+ var isCallable$a = isCallable$b;
133
+ var $documentAll = documentAll_1;
134
+ var documentAll = $documentAll.all;
135
+ var isObject$6 = $documentAll.IS_HTMLDDA ? function(it) {
136
+ return typeof it == "object" ? it !== null : isCallable$a(it) || it === documentAll;
137
+ } : function(it) {
138
+ return typeof it == "object" ? it !== null : isCallable$a(it);
139
+ };
140
+ var path$4 = {};
141
+ var path$3 = path$4;
142
+ var global$c = global$d;
143
+ var isCallable$9 = isCallable$b;
144
+ var aFunction = function(variable) {
145
+ return isCallable$9(variable) ? variable : void 0;
146
+ };
147
+ var getBuiltIn$2 = function(namespace, method2) {
148
+ return arguments.length < 2 ? aFunction(path$3[namespace]) || aFunction(global$c[namespace]) : path$3[namespace] && path$3[namespace][method2] || global$c[namespace] && global$c[namespace][method2];
149
+ };
150
+ var engineUserAgent = typeof navigator != "undefined" && String(navigator.userAgent) || "";
151
+ var global$b = global$d;
152
+ var userAgent = engineUserAgent;
153
+ var process = global$b.process;
154
+ var Deno = global$b.Deno;
155
+ var versions = process && process.versions || Deno && Deno.version;
156
+ var v8 = versions && versions.v8;
157
+ var match, version;
158
+ if (v8) {
159
+ match = v8.split(".");
160
+ version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
161
+ }
162
+ if (!version && userAgent) {
163
+ match = userAgent.match(/Edge\/(\d+)/);
164
+ if (!match || match[1] >= 74) {
165
+ match = userAgent.match(/Chrome\/(\d+)/);
166
+ if (match)
167
+ version = +match[1];
168
+ }
169
+ }
170
+ var engineV8Version = version;
171
+ var V8_VERSION$1 = engineV8Version;
172
+ var fails$6 = fails$a;
173
+ var global$a = global$d;
174
+ var $String$3 = global$a.String;
175
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$6(function() {
176
+ var symbol = Symbol("symbol detection");
177
+ return !$String$3(symbol) || !(Object(symbol) instanceof Symbol) || // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
178
+ !Symbol.sham && V8_VERSION$1 && V8_VERSION$1 < 41;
179
+ });
180
+ var NATIVE_SYMBOL$1 = symbolConstructorDetection;
181
+ var useSymbolAsUid = NATIVE_SYMBOL$1 && !Symbol.sham && typeof Symbol.iterator == "symbol";
182
+ var getBuiltIn$1 = getBuiltIn$2;
183
+ var isCallable$8 = isCallable$b;
184
+ var isPrototypeOf$3 = objectIsPrototypeOf;
185
+ var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
186
+ var $Object$2 = Object;
187
+ var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function(it) {
188
+ return typeof it == "symbol";
189
+ } : function(it) {
190
+ var $Symbol = getBuiltIn$1("Symbol");
191
+ return isCallable$8($Symbol) && isPrototypeOf$3($Symbol.prototype, $Object$2(it));
192
+ };
193
+ var $String$2 = String;
194
+ var tryToString$1 = function(argument) {
195
+ try {
196
+ return $String$2(argument);
197
+ } catch (error) {
198
+ return "Object";
199
+ }
200
+ };
201
+ var isCallable$7 = isCallable$b;
202
+ var tryToString = tryToString$1;
203
+ var $TypeError$6 = TypeError;
204
+ var aCallable$2 = function(argument) {
205
+ if (isCallable$7(argument))
206
+ return argument;
207
+ throw new $TypeError$6(tryToString(argument) + " is not a function");
208
+ };
209
+ var aCallable$1 = aCallable$2;
210
+ var isNullOrUndefined = isNullOrUndefined$2;
211
+ var getMethod$1 = function(V, P) {
212
+ var func = V[P];
213
+ return isNullOrUndefined(func) ? void 0 : aCallable$1(func);
214
+ };
215
+ var call$2 = functionCall;
216
+ var isCallable$6 = isCallable$b;
217
+ var isObject$5 = isObject$6;
218
+ var $TypeError$5 = TypeError;
219
+ var ordinaryToPrimitive$1 = function(input, pref) {
220
+ var fn, val;
221
+ if (pref === "string" && isCallable$6(fn = input.toString) && !isObject$5(val = call$2(fn, input)))
222
+ return val;
223
+ if (isCallable$6(fn = input.valueOf) && !isObject$5(val = call$2(fn, input)))
224
+ return val;
225
+ if (pref !== "string" && isCallable$6(fn = input.toString) && !isObject$5(val = call$2(fn, input)))
226
+ return val;
227
+ throw new $TypeError$5("Can't convert object to primitive value");
228
+ };
229
+ var shared$1 = { exports: {} };
230
+ var global$9 = global$d;
231
+ var defineProperty = Object.defineProperty;
232
+ var defineGlobalProperty$1 = function(key, value) {
233
+ try {
234
+ defineProperty(global$9, key, {
235
+ value,
236
+ configurable: true,
237
+ writable: true
238
+ });
239
+ } catch (error) {
240
+ global$9[key] = value;
241
+ }
242
+ return value;
243
+ };
244
+ var global$8 = global$d;
245
+ var defineGlobalProperty = defineGlobalProperty$1;
246
+ var SHARED = "__core-js_shared__";
247
+ var store$2 = global$8[SHARED] || defineGlobalProperty(SHARED, {});
248
+ var sharedStore = store$2;
249
+ var store$1 = sharedStore;
250
+ (shared$1.exports = function(key, value) {
251
+ return store$1[key] || (store$1[key] = value !== void 0 ? value : {});
252
+ })("versions", []).push({
253
+ version: "3.33.2",
254
+ mode: "pure",
255
+ copyright: "© 2014-2023 Denis Pushkarev (zloirock.ru)",
256
+ license: "https://github.com/zloirock/core-js/blob/v3.33.2/LICENSE",
257
+ source: "https://github.com/zloirock/core-js"
258
+ });
259
+ var sharedExports = shared$1.exports;
260
+ var requireObjectCoercible$1 = requireObjectCoercible$3;
261
+ var $Object$1 = Object;
262
+ var toObject$2 = function(argument) {
263
+ return $Object$1(requireObjectCoercible$1(argument));
264
+ };
265
+ var uncurryThis$8 = functionUncurryThis;
266
+ var toObject$1 = toObject$2;
267
+ var hasOwnProperty = uncurryThis$8({}.hasOwnProperty);
268
+ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
269
+ return hasOwnProperty(toObject$1(it), key);
270
+ };
271
+ var uncurryThis$7 = functionUncurryThis;
272
+ var id = 0;
273
+ var postfix = Math.random();
274
+ var toString$2 = uncurryThis$7(1 .toString);
275
+ var uid$1 = function(key) {
276
+ return "Symbol(" + (key === void 0 ? "" : key) + ")_" + toString$2(++id + postfix, 36);
277
+ };
278
+ var global$7 = global$d;
279
+ var shared = sharedExports;
280
+ var hasOwn$2 = hasOwnProperty_1;
281
+ var uid = uid$1;
282
+ var NATIVE_SYMBOL = symbolConstructorDetection;
283
+ var USE_SYMBOL_AS_UID = useSymbolAsUid;
284
+ var Symbol$1 = global$7.Symbol;
285
+ var WellKnownSymbolsStore = shared("wks");
286
+ var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1["for"] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
287
+ var wellKnownSymbol$7 = function(name) {
288
+ if (!hasOwn$2(WellKnownSymbolsStore, name)) {
289
+ WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$2(Symbol$1, name) ? Symbol$1[name] : createWellKnownSymbol("Symbol." + name);
290
+ }
291
+ return WellKnownSymbolsStore[name];
292
+ };
293
+ var call$1 = functionCall;
294
+ var isObject$4 = isObject$6;
295
+ var isSymbol$1 = isSymbol$2;
296
+ var getMethod = getMethod$1;
297
+ var ordinaryToPrimitive = ordinaryToPrimitive$1;
298
+ var wellKnownSymbol$6 = wellKnownSymbol$7;
299
+ var $TypeError$4 = TypeError;
300
+ var TO_PRIMITIVE = wellKnownSymbol$6("toPrimitive");
301
+ var toPrimitive$1 = function(input, pref) {
302
+ if (!isObject$4(input) || isSymbol$1(input))
303
+ return input;
304
+ var exoticToPrim = getMethod(input, TO_PRIMITIVE);
305
+ var result;
306
+ if (exoticToPrim) {
307
+ if (pref === void 0)
308
+ pref = "default";
309
+ result = call$1(exoticToPrim, input, pref);
310
+ if (!isObject$4(result) || isSymbol$1(result))
311
+ return result;
312
+ throw new $TypeError$4("Can't convert object to primitive value");
313
+ }
314
+ if (pref === void 0)
315
+ pref = "number";
316
+ return ordinaryToPrimitive(input, pref);
317
+ };
318
+ var toPrimitive = toPrimitive$1;
319
+ var isSymbol = isSymbol$2;
320
+ var toPropertyKey$2 = function(argument) {
321
+ var key = toPrimitive(argument, "string");
322
+ return isSymbol(key) ? key : key + "";
323
+ };
324
+ var global$6 = global$d;
325
+ var isObject$3 = isObject$6;
326
+ var document$1 = global$6.document;
327
+ var EXISTS = isObject$3(document$1) && isObject$3(document$1.createElement);
328
+ var documentCreateElement = function(it) {
329
+ return EXISTS ? document$1.createElement(it) : {};
330
+ };
331
+ var DESCRIPTORS$4 = descriptors;
332
+ var fails$5 = fails$a;
333
+ var createElement = documentCreateElement;
334
+ var ie8DomDefine = !DESCRIPTORS$4 && !fails$5(function() {
335
+ return Object.defineProperty(createElement("div"), "a", {
336
+ get: function() {
337
+ return 7;
338
+ }
339
+ }).a !== 7;
340
+ });
341
+ var DESCRIPTORS$3 = descriptors;
342
+ var call = functionCall;
343
+ var propertyIsEnumerableModule = objectPropertyIsEnumerable;
344
+ var createPropertyDescriptor$1 = createPropertyDescriptor$2;
345
+ var toIndexedObject$1 = toIndexedObject$2;
346
+ var toPropertyKey$1 = toPropertyKey$2;
347
+ var hasOwn$1 = hasOwnProperty_1;
348
+ var IE8_DOM_DEFINE$1 = ie8DomDefine;
349
+ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
350
+ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$3 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
351
+ O = toIndexedObject$1(O);
352
+ P = toPropertyKey$1(P);
353
+ if (IE8_DOM_DEFINE$1)
354
+ try {
355
+ return $getOwnPropertyDescriptor$1(O, P);
356
+ } catch (error) {
357
+ }
358
+ if (hasOwn$1(O, P))
359
+ return createPropertyDescriptor$1(!call(propertyIsEnumerableModule.f, O, P), O[P]);
360
+ };
361
+ var fails$4 = fails$a;
362
+ var isCallable$5 = isCallable$b;
363
+ var replacement = /#|\.prototype\./;
364
+ var isForced$1 = function(feature, detection) {
365
+ var value = data[normalize(feature)];
366
+ return value === POLYFILL ? true : value === NATIVE ? false : isCallable$5(detection) ? fails$4(detection) : !!detection;
367
+ };
368
+ var normalize = isForced$1.normalize = function(string) {
369
+ return String(string).replace(replacement, ".").toLowerCase();
370
+ };
371
+ var data = isForced$1.data = {};
372
+ var NATIVE = isForced$1.NATIVE = "N";
373
+ var POLYFILL = isForced$1.POLYFILL = "P";
374
+ var isForced_1 = isForced$1;
375
+ var uncurryThis$6 = functionUncurryThisClause;
376
+ var aCallable = aCallable$2;
377
+ var NATIVE_BIND = functionBindNative;
378
+ var bind$2 = uncurryThis$6(uncurryThis$6.bind);
379
+ var functionBindContext = function(fn, that) {
380
+ aCallable(fn);
381
+ return that === void 0 ? fn : NATIVE_BIND ? bind$2(fn, that) : function() {
382
+ return fn.apply(that, arguments);
383
+ };
384
+ };
385
+ var objectDefineProperty = {};
386
+ var DESCRIPTORS$2 = descriptors;
387
+ var fails$3 = fails$a;
388
+ var v8PrototypeDefineBug = DESCRIPTORS$2 && fails$3(function() {
389
+ return Object.defineProperty(function() {
390
+ }, "prototype", {
391
+ value: 42,
392
+ writable: false
393
+ }).prototype !== 42;
394
+ });
395
+ var isObject$2 = isObject$6;
396
+ var $String$1 = String;
397
+ var $TypeError$3 = TypeError;
398
+ var anObject$1 = function(argument) {
399
+ if (isObject$2(argument))
400
+ return argument;
401
+ throw new $TypeError$3($String$1(argument) + " is not an object");
402
+ };
403
+ var DESCRIPTORS$1 = descriptors;
404
+ var IE8_DOM_DEFINE = ie8DomDefine;
405
+ var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
406
+ var anObject = anObject$1;
407
+ var toPropertyKey = toPropertyKey$2;
408
+ var $TypeError$2 = TypeError;
409
+ var $defineProperty = Object.defineProperty;
410
+ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
411
+ var ENUMERABLE = "enumerable";
412
+ var CONFIGURABLE = "configurable";
413
+ var WRITABLE = "writable";
414
+ objectDefineProperty.f = DESCRIPTORS$1 ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty2(O, P, Attributes) {
415
+ anObject(O);
416
+ P = toPropertyKey(P);
417
+ anObject(Attributes);
418
+ if (typeof O === "function" && P === "prototype" && "value" in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
419
+ var current = $getOwnPropertyDescriptor(O, P);
420
+ if (current && current[WRITABLE]) {
421
+ O[P] = Attributes.value;
422
+ Attributes = {
423
+ configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
424
+ enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
425
+ writable: false
426
+ };
427
+ }
428
+ }
429
+ return $defineProperty(O, P, Attributes);
430
+ } : $defineProperty : function defineProperty3(O, P, Attributes) {
431
+ anObject(O);
432
+ P = toPropertyKey(P);
433
+ anObject(Attributes);
434
+ if (IE8_DOM_DEFINE)
435
+ try {
436
+ return $defineProperty(O, P, Attributes);
437
+ } catch (error) {
438
+ }
439
+ if ("get" in Attributes || "set" in Attributes)
440
+ throw new $TypeError$2("Accessors not supported");
441
+ if ("value" in Attributes)
442
+ O[P] = Attributes.value;
443
+ return O;
444
+ };
445
+ var DESCRIPTORS = descriptors;
446
+ var definePropertyModule = objectDefineProperty;
447
+ var createPropertyDescriptor = createPropertyDescriptor$2;
448
+ var createNonEnumerableProperty$1 = DESCRIPTORS ? function(object, key, value) {
449
+ return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
450
+ } : function(object, key, value) {
451
+ object[key] = value;
452
+ return object;
453
+ };
454
+ var global$5 = global$d;
455
+ var apply$1 = functionApply;
456
+ var uncurryThis$5 = functionUncurryThisClause;
457
+ var isCallable$4 = isCallable$b;
458
+ var getOwnPropertyDescriptor2 = objectGetOwnPropertyDescriptor.f;
459
+ var isForced = isForced_1;
460
+ var path$2 = path$4;
461
+ var bind$1 = functionBindContext;
462
+ var createNonEnumerableProperty = createNonEnumerableProperty$1;
463
+ var hasOwn2 = hasOwnProperty_1;
464
+ var wrapConstructor = function(NativeConstructor) {
465
+ var Wrapper = function(a, b, c) {
466
+ if (this instanceof Wrapper) {
467
+ switch (arguments.length) {
468
+ case 0:
469
+ return new NativeConstructor();
470
+ case 1:
471
+ return new NativeConstructor(a);
472
+ case 2:
473
+ return new NativeConstructor(a, b);
474
+ }
475
+ return new NativeConstructor(a, b, c);
476
+ }
477
+ return apply$1(NativeConstructor, this, arguments);
478
+ };
479
+ Wrapper.prototype = NativeConstructor.prototype;
480
+ return Wrapper;
481
+ };
482
+ var _export = function(options, source) {
483
+ var TARGET = options.target;
484
+ var GLOBAL = options.global;
485
+ var STATIC = options.stat;
486
+ var PROTO = options.proto;
487
+ var nativeSource = GLOBAL ? global$5 : STATIC ? global$5[TARGET] : (global$5[TARGET] || {}).prototype;
488
+ var target = GLOBAL ? path$2 : path$2[TARGET] || createNonEnumerableProperty(path$2, TARGET, {})[TARGET];
489
+ var targetPrototype = target.prototype;
490
+ var FORCED, USE_NATIVE, VIRTUAL_PROTOTYPE;
491
+ var key, sourceProperty, targetProperty, nativeProperty, resultProperty, descriptor;
492
+ for (key in source) {
493
+ FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? "." : "#") + key, options.forced);
494
+ USE_NATIVE = !FORCED && nativeSource && hasOwn2(nativeSource, key);
495
+ targetProperty = target[key];
496
+ if (USE_NATIVE)
497
+ if (options.dontCallGetSet) {
498
+ descriptor = getOwnPropertyDescriptor2(nativeSource, key);
499
+ nativeProperty = descriptor && descriptor.value;
500
+ } else
501
+ nativeProperty = nativeSource[key];
502
+ sourceProperty = USE_NATIVE && nativeProperty ? nativeProperty : source[key];
503
+ if (USE_NATIVE && typeof targetProperty == typeof sourceProperty)
504
+ continue;
505
+ if (options.bind && USE_NATIVE)
506
+ resultProperty = bind$1(sourceProperty, global$5);
507
+ else if (options.wrap && USE_NATIVE)
508
+ resultProperty = wrapConstructor(sourceProperty);
509
+ else if (PROTO && isCallable$4(sourceProperty))
510
+ resultProperty = uncurryThis$5(sourceProperty);
511
+ else
512
+ resultProperty = sourceProperty;
513
+ if (options.sham || sourceProperty && sourceProperty.sham || targetProperty && targetProperty.sham) {
514
+ createNonEnumerableProperty(resultProperty, "sham", true);
515
+ }
516
+ createNonEnumerableProperty(target, key, resultProperty);
517
+ if (PROTO) {
518
+ VIRTUAL_PROTOTYPE = TARGET + "Prototype";
519
+ if (!hasOwn2(path$2, VIRTUAL_PROTOTYPE)) {
520
+ createNonEnumerableProperty(path$2, VIRTUAL_PROTOTYPE, {});
521
+ }
522
+ createNonEnumerableProperty(path$2[VIRTUAL_PROTOTYPE], key, sourceProperty);
523
+ if (options.real && targetPrototype && (FORCED || !targetPrototype[key])) {
524
+ createNonEnumerableProperty(targetPrototype, key, sourceProperty);
525
+ }
526
+ }
527
+ }
528
+ };
529
+ var ceil = Math.ceil;
530
+ var floor = Math.floor;
531
+ var mathTrunc = Math.trunc || function trunc(x) {
532
+ var n = +x;
533
+ return (n > 0 ? floor : ceil)(n);
534
+ };
535
+ var trunc2 = mathTrunc;
536
+ var toIntegerOrInfinity$2 = function(argument) {
537
+ var number = +argument;
538
+ return number !== number || number === 0 ? 0 : trunc2(number);
539
+ };
540
+ var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
541
+ var min$1 = Math.min;
542
+ var toLength$1 = function(argument) {
543
+ return argument > 0 ? min$1(toIntegerOrInfinity$1(argument), 9007199254740991) : 0;
544
+ };
545
+ var toLength = toLength$1;
546
+ var lengthOfArrayLike$2 = function(obj) {
547
+ return toLength(obj.length);
548
+ };
549
+ var classof$4 = classofRaw$2;
550
+ var isArray$1 = Array.isArray || function isArray(argument) {
551
+ return classof$4(argument) === "Array";
552
+ };
553
+ var wellKnownSymbol$5 = wellKnownSymbol$7;
554
+ var TO_STRING_TAG$1 = wellKnownSymbol$5("toStringTag");
555
+ var test = {};
556
+ test[TO_STRING_TAG$1] = "z";
557
+ var toStringTagSupport = String(test) === "[object z]";
558
+ var TO_STRING_TAG_SUPPORT = toStringTagSupport;
559
+ var isCallable$3 = isCallable$b;
560
+ var classofRaw = classofRaw$2;
561
+ var wellKnownSymbol$4 = wellKnownSymbol$7;
562
+ var TO_STRING_TAG = wellKnownSymbol$4("toStringTag");
563
+ var $Object = Object;
564
+ var CORRECT_ARGUMENTS = classofRaw(function() {
565
+ return arguments;
566
+ }()) === "Arguments";
567
+ var tryGet = function(it, key) {
568
+ try {
569
+ return it[key];
570
+ } catch (error) {
571
+ }
572
+ };
573
+ var classof$3 = TO_STRING_TAG_SUPPORT ? classofRaw : function(it) {
574
+ var O, tag, result;
575
+ return it === void 0 ? "Undefined" : it === null ? "Null" : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == "string" ? tag : CORRECT_ARGUMENTS ? classofRaw(O) : (result = classofRaw(O)) === "Object" && isCallable$3(O.callee) ? "Arguments" : result;
576
+ };
577
+ var uncurryThis$4 = functionUncurryThis;
578
+ var isCallable$2 = isCallable$b;
579
+ var store = sharedStore;
580
+ var functionToString = uncurryThis$4(Function.toString);
581
+ if (!isCallable$2(store.inspectSource)) {
582
+ store.inspectSource = function(it) {
583
+ return functionToString(it);
584
+ };
585
+ }
586
+ var inspectSource$1 = store.inspectSource;
587
+ var uncurryThis$3 = functionUncurryThis;
588
+ var fails$2 = fails$a;
589
+ var isCallable$1 = isCallable$b;
590
+ var classof$2 = classof$3;
591
+ var getBuiltIn = getBuiltIn$2;
592
+ var inspectSource = inspectSource$1;
593
+ var noop = function() {
594
+ };
595
+ var empty = [];
596
+ var construct = getBuiltIn("Reflect", "construct");
597
+ var constructorRegExp = /^\s*(?:class|function)\b/;
598
+ var exec = uncurryThis$3(constructorRegExp.exec);
599
+ var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
600
+ var isConstructorModern = function isConstructor(argument) {
601
+ if (!isCallable$1(argument))
602
+ return false;
603
+ try {
604
+ construct(noop, empty, argument);
605
+ return true;
606
+ } catch (error) {
607
+ return false;
608
+ }
609
+ };
610
+ var isConstructorLegacy = function isConstructor2(argument) {
611
+ if (!isCallable$1(argument))
612
+ return false;
613
+ switch (classof$2(argument)) {
614
+ case "AsyncFunction":
615
+ case "GeneratorFunction":
616
+ case "AsyncGeneratorFunction":
617
+ return false;
618
+ }
619
+ try {
620
+ return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
621
+ } catch (error) {
622
+ return true;
623
+ }
624
+ };
625
+ isConstructorLegacy.sham = true;
626
+ var isConstructor$1 = !construct || fails$2(function() {
627
+ var called;
628
+ return isConstructorModern(isConstructorModern.call) || !isConstructorModern(Object) || !isConstructorModern(function() {
629
+ called = true;
630
+ }) || called;
631
+ }) ? isConstructorLegacy : isConstructorModern;
632
+ var isArray2 = isArray$1;
633
+ var isConstructor3 = isConstructor$1;
634
+ var isObject$1 = isObject$6;
635
+ var wellKnownSymbol$3 = wellKnownSymbol$7;
636
+ var SPECIES$1 = wellKnownSymbol$3("species");
637
+ var $Array = Array;
638
+ var arraySpeciesConstructor$1 = function(originalArray) {
639
+ var C;
640
+ if (isArray2(originalArray)) {
641
+ C = originalArray.constructor;
642
+ if (isConstructor3(C) && (C === $Array || isArray2(C.prototype)))
643
+ C = void 0;
644
+ else if (isObject$1(C)) {
645
+ C = C[SPECIES$1];
646
+ if (C === null)
647
+ C = void 0;
648
+ }
649
+ }
650
+ return C === void 0 ? $Array : C;
651
+ };
652
+ var arraySpeciesConstructor = arraySpeciesConstructor$1;
653
+ var arraySpeciesCreate$1 = function(originalArray, length) {
654
+ return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
655
+ };
656
+ var bind = functionBindContext;
657
+ var uncurryThis$2 = functionUncurryThis;
658
+ var IndexedObject = indexedObject;
659
+ var toObject = toObject$2;
660
+ var lengthOfArrayLike$1 = lengthOfArrayLike$2;
661
+ var arraySpeciesCreate = arraySpeciesCreate$1;
662
+ var push = uncurryThis$2([].push);
663
+ var createMethod$1 = function(TYPE) {
664
+ var IS_MAP = TYPE === 1;
665
+ var IS_FILTER = TYPE === 2;
666
+ var IS_SOME = TYPE === 3;
667
+ var IS_EVERY = TYPE === 4;
668
+ var IS_FIND_INDEX = TYPE === 6;
669
+ var IS_FILTER_REJECT = TYPE === 7;
670
+ var NO_HOLES = TYPE === 5 || IS_FIND_INDEX;
671
+ return function($this, callbackfn, that, specificCreate) {
672
+ var O = toObject($this);
673
+ var self2 = IndexedObject(O);
674
+ var boundFunction = bind(callbackfn, that);
675
+ var length = lengthOfArrayLike$1(self2);
676
+ var index = 0;
677
+ var create = specificCreate || arraySpeciesCreate;
678
+ var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : void 0;
679
+ var value, result;
680
+ for (; length > index; index++)
681
+ if (NO_HOLES || index in self2) {
682
+ value = self2[index];
683
+ result = boundFunction(value, index, O);
684
+ if (TYPE) {
685
+ if (IS_MAP)
686
+ target[index] = result;
687
+ else if (result)
688
+ switch (TYPE) {
689
+ case 3:
690
+ return true;
691
+ case 5:
692
+ return value;
693
+ case 6:
694
+ return index;
695
+ case 2:
696
+ push(target, value);
697
+ }
698
+ else
699
+ switch (TYPE) {
700
+ case 4:
701
+ return false;
702
+ case 7:
703
+ push(target, value);
704
+ }
705
+ }
706
+ }
707
+ return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
708
+ };
709
+ };
710
+ var arrayIteration = {
711
+ // `Array.prototype.forEach` method
712
+ // https://tc39.es/ecma262/#sec-array.prototype.foreach
713
+ forEach: createMethod$1(0),
714
+ // `Array.prototype.map` method
715
+ // https://tc39.es/ecma262/#sec-array.prototype.map
716
+ map: createMethod$1(1),
717
+ // `Array.prototype.filter` method
718
+ // https://tc39.es/ecma262/#sec-array.prototype.filter
719
+ filter: createMethod$1(2),
720
+ // `Array.prototype.some` method
721
+ // https://tc39.es/ecma262/#sec-array.prototype.some
722
+ some: createMethod$1(3),
723
+ // `Array.prototype.every` method
724
+ // https://tc39.es/ecma262/#sec-array.prototype.every
725
+ every: createMethod$1(4),
726
+ // `Array.prototype.find` method
727
+ // https://tc39.es/ecma262/#sec-array.prototype.find
728
+ find: createMethod$1(5),
729
+ // `Array.prototype.findIndex` method
730
+ // https://tc39.es/ecma262/#sec-array.prototype.findIndex
731
+ findIndex: createMethod$1(6),
732
+ // `Array.prototype.filterReject` method
733
+ // https://github.com/tc39/proposal-array-filtering
734
+ filterReject: createMethod$1(7)
735
+ };
736
+ var fails$1 = fails$a;
737
+ var wellKnownSymbol$2 = wellKnownSymbol$7;
738
+ var V8_VERSION = engineV8Version;
739
+ var SPECIES = wellKnownSymbol$2("species");
740
+ var arrayMethodHasSpeciesSupport$2 = function(METHOD_NAME) {
741
+ return V8_VERSION >= 51 || !fails$1(function() {
742
+ var array = [];
743
+ var constructor = array.constructor = {};
744
+ constructor[SPECIES] = function() {
745
+ return {
746
+ foo: 1
747
+ };
748
+ };
749
+ return array[METHOD_NAME](Boolean).foo !== 1;
750
+ });
751
+ };
752
+ var $$5 = _export;
753
+ var $map = arrayIteration.map;
754
+ var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$2;
755
+ var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport$1("map");
756
+ $$5({
757
+ target: "Array",
758
+ proto: true,
759
+ forced: !HAS_SPECIES_SUPPORT$1
760
+ }, {
761
+ map: function map(callbackfn) {
762
+ return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0);
763
+ }
764
+ });
765
+ var global$4 = global$d;
766
+ var path$1 = path$4;
767
+ var getBuiltInPrototypeMethod$4 = function(CONSTRUCTOR, METHOD) {
768
+ var Namespace = path$1[CONSTRUCTOR + "Prototype"];
769
+ var pureMethod = Namespace && Namespace[METHOD];
770
+ if (pureMethod)
771
+ return pureMethod;
772
+ var NativeConstructor = global$4[CONSTRUCTOR];
773
+ var NativePrototype = NativeConstructor && NativeConstructor.prototype;
774
+ return NativePrototype && NativePrototype[METHOD];
775
+ };
776
+ var getBuiltInPrototypeMethod$3 = getBuiltInPrototypeMethod$4;
777
+ var map$6 = getBuiltInPrototypeMethod$3("Array", "map");
778
+ var isPrototypeOf$2 = objectIsPrototypeOf;
779
+ var method$1 = map$6;
780
+ var ArrayPrototype$2 = Array.prototype;
781
+ var map$5 = function(it) {
782
+ var own = it.map;
783
+ return it === ArrayPrototype$2 || isPrototypeOf$2(ArrayPrototype$2, it) && own === ArrayPrototype$2.map ? method$1 : own;
784
+ };
785
+ var parent$a = map$5;
786
+ var map$4 = parent$a;
787
+ var parent$9 = map$4;
788
+ var map$3 = parent$9;
789
+ var parent$8 = map$3;
790
+ var map$2 = parent$8;
791
+ var map$1 = map$2;
792
+ var map2 = map$1;
793
+ const _mapInstanceProperty = /* @__PURE__ */ getDefaultExportFromCjs(map2);
794
+ var $$4 = _export;
795
+ var $filter = arrayIteration.filter;
796
+ var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$2;
797
+ var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport("filter");
798
+ $$4({
799
+ target: "Array",
800
+ proto: true,
801
+ forced: !HAS_SPECIES_SUPPORT
802
+ }, {
803
+ filter: function filter(callbackfn) {
804
+ return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0);
805
+ }
806
+ });
807
+ var getBuiltInPrototypeMethod$2 = getBuiltInPrototypeMethod$4;
808
+ var filter$6 = getBuiltInPrototypeMethod$2("Array", "filter");
809
+ var isPrototypeOf$1 = objectIsPrototypeOf;
810
+ var method = filter$6;
811
+ var ArrayPrototype$1 = Array.prototype;
812
+ var filter$5 = function(it) {
813
+ var own = it.filter;
814
+ return it === ArrayPrototype$1 || isPrototypeOf$1(ArrayPrototype$1, it) && own === ArrayPrototype$1.filter ? method : own;
815
+ };
816
+ var parent$7 = filter$5;
817
+ var filter$4 = parent$7;
818
+ var parent$6 = filter$4;
819
+ var filter$3 = parent$6;
820
+ var parent$5 = filter$3;
821
+ var filter$2 = parent$5;
822
+ var filter$1 = filter$2;
823
+ var filter2 = filter$1;
824
+ const _filterInstanceProperty = /* @__PURE__ */ getDefaultExportFromCjs(filter2);
825
+ var toIntegerOrInfinity = toIntegerOrInfinity$2;
826
+ var max = Math.max;
827
+ var min = Math.min;
828
+ var toAbsoluteIndex$1 = function(index, length) {
829
+ var integer = toIntegerOrInfinity(index);
830
+ return integer < 0 ? max(integer + length, 0) : min(integer, length);
831
+ };
832
+ var toIndexedObject = toIndexedObject$2;
833
+ var toAbsoluteIndex = toAbsoluteIndex$1;
834
+ var lengthOfArrayLike = lengthOfArrayLike$2;
835
+ var createMethod = function(IS_INCLUDES) {
836
+ return function($this, el, fromIndex) {
837
+ var O = toIndexedObject($this);
838
+ var length = lengthOfArrayLike(O);
839
+ var index = toAbsoluteIndex(fromIndex, length);
840
+ var value;
841
+ if (IS_INCLUDES && el !== el)
842
+ while (length > index) {
843
+ value = O[index++];
844
+ if (value !== value)
845
+ return true;
846
+ }
847
+ else
848
+ for (; length > index; index++) {
849
+ if ((IS_INCLUDES || index in O) && O[index] === el)
850
+ return IS_INCLUDES || index || 0;
851
+ }
852
+ return !IS_INCLUDES && -1;
853
+ };
854
+ };
855
+ var arrayIncludes = {
856
+ // `Array.prototype.includes` method
857
+ // https://tc39.es/ecma262/#sec-array.prototype.includes
858
+ includes: createMethod(true),
859
+ // `Array.prototype.indexOf` method
860
+ // https://tc39.es/ecma262/#sec-array.prototype.indexof
861
+ indexOf: createMethod(false)
862
+ };
863
+ var $$3 = _export;
864
+ var $includes = arrayIncludes.includes;
865
+ var fails = fails$a;
866
+ var BROKEN_ON_SPARSE = fails(function() {
867
+ return !Array(1).includes();
868
+ });
869
+ $$3({
870
+ target: "Array",
871
+ proto: true,
872
+ forced: BROKEN_ON_SPARSE
873
+ }, {
874
+ includes: function includes(el) {
875
+ return $includes(this, el, arguments.length > 1 ? arguments[1] : void 0);
876
+ }
877
+ });
878
+ var getBuiltInPrototypeMethod$1 = getBuiltInPrototypeMethod$4;
879
+ var includes$7 = getBuiltInPrototypeMethod$1("Array", "includes");
880
+ var isObject = isObject$6;
881
+ var classof$1 = classofRaw$2;
882
+ var wellKnownSymbol$1 = wellKnownSymbol$7;
883
+ var MATCH$1 = wellKnownSymbol$1("match");
884
+ var isRegexp = function(it) {
885
+ var isRegExp2;
886
+ return isObject(it) && ((isRegExp2 = it[MATCH$1]) !== void 0 ? !!isRegExp2 : classof$1(it) === "RegExp");
887
+ };
888
+ var isRegExp = isRegexp;
889
+ var $TypeError$1 = TypeError;
890
+ var notARegexp = function(it) {
891
+ if (isRegExp(it)) {
892
+ throw new $TypeError$1("The method doesn't accept regular expressions");
893
+ }
894
+ return it;
895
+ };
896
+ var classof = classof$3;
897
+ var $String = String;
898
+ var toString$1 = function(argument) {
899
+ if (classof(argument) === "Symbol")
900
+ throw new TypeError("Cannot convert a Symbol value to a string");
901
+ return $String(argument);
902
+ };
903
+ var wellKnownSymbol = wellKnownSymbol$7;
904
+ var MATCH = wellKnownSymbol("match");
905
+ var correctIsRegexpLogic = function(METHOD_NAME) {
906
+ var regexp = /./;
907
+ try {
908
+ "/./"[METHOD_NAME](regexp);
909
+ } catch (error1) {
910
+ try {
911
+ regexp[MATCH] = false;
912
+ return "/./"[METHOD_NAME](regexp);
913
+ } catch (error2) {
914
+ }
915
+ }
916
+ return false;
917
+ };
918
+ var $$2 = _export;
919
+ var uncurryThis$1 = functionUncurryThis;
920
+ var notARegExp = notARegexp;
921
+ var requireObjectCoercible = requireObjectCoercible$3;
922
+ var toString = toString$1;
923
+ var correctIsRegExpLogic = correctIsRegexpLogic;
924
+ var stringIndexOf = uncurryThis$1("".indexOf);
925
+ $$2({
926
+ target: "String",
927
+ proto: true,
928
+ forced: !correctIsRegExpLogic("includes")
929
+ }, {
930
+ includes: function includes2(searchString) {
931
+ return !!~stringIndexOf(toString(requireObjectCoercible(this)), toString(notARegExp(searchString)), arguments.length > 1 ? arguments[1] : void 0);
932
+ }
933
+ });
934
+ var getBuiltInPrototypeMethod = getBuiltInPrototypeMethod$4;
935
+ var includes$6 = getBuiltInPrototypeMethod("String", "includes");
936
+ var isPrototypeOf = objectIsPrototypeOf;
937
+ var arrayMethod = includes$7;
938
+ var stringMethod = includes$6;
939
+ var ArrayPrototype = Array.prototype;
940
+ var StringPrototype = String.prototype;
941
+ var includes$5 = function(it) {
942
+ var own = it.includes;
943
+ if (it === ArrayPrototype || isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.includes)
944
+ return arrayMethod;
945
+ if (typeof it == "string" || it === StringPrototype || isPrototypeOf(StringPrototype, it) && own === StringPrototype.includes) {
946
+ return stringMethod;
947
+ }
948
+ return own;
949
+ };
950
+ var parent$4 = includes$5;
951
+ var includes$4 = parent$4;
952
+ var parent$3 = includes$4;
953
+ var includes$3 = parent$3;
954
+ var parent$2 = includes$3;
955
+ var includes$2 = parent$2;
956
+ var includes$1 = includes$2;
957
+ var includes3 = includes$1;
958
+ const _includesInstanceProperty = /* @__PURE__ */ getDefaultExportFromCjs(includes3);
959
+ var engineIsBun = typeof Bun == "function" && Bun && typeof Bun.version == "string";
960
+ var uncurryThis = functionUncurryThis;
961
+ var arraySlice$1 = uncurryThis([].slice);
962
+ var $TypeError = TypeError;
963
+ var validateArgumentsLength$1 = function(passed, required) {
964
+ if (passed < required)
965
+ throw new $TypeError("Not enough arguments");
966
+ return passed;
967
+ };
968
+ var global$3 = global$d;
969
+ var apply = functionApply;
970
+ var isCallable = isCallable$b;
971
+ var ENGINE_IS_BUN = engineIsBun;
972
+ var USER_AGENT = engineUserAgent;
973
+ var arraySlice = arraySlice$1;
974
+ var validateArgumentsLength = validateArgumentsLength$1;
975
+ var Function$1 = global$3.Function;
976
+ var WRAP = /MSIE .\./.test(USER_AGENT) || ENGINE_IS_BUN && function() {
977
+ var version2 = global$3.Bun.version.split(".");
978
+ return version2.length < 3 || version2[0] === "0" && (version2[1] < 3 || version2[1] === "3" && version2[2] === "0");
979
+ }();
980
+ var schedulersFix$2 = function(scheduler, hasTimeArg) {
981
+ var firstParamIndex = hasTimeArg ? 2 : 1;
982
+ return WRAP ? function(handler, timeout) {
983
+ var boundArgs = validateArgumentsLength(arguments.length, 1) > firstParamIndex;
984
+ var fn = isCallable(handler) ? handler : Function$1(handler);
985
+ var params = boundArgs ? arraySlice(arguments, firstParamIndex) : [];
986
+ var callback = boundArgs ? function() {
987
+ apply(fn, this, params);
988
+ } : fn;
989
+ return hasTimeArg ? scheduler(callback, timeout) : scheduler(callback);
990
+ } : scheduler;
991
+ };
992
+ var $$1 = _export;
993
+ var global$2 = global$d;
994
+ var schedulersFix$1 = schedulersFix$2;
995
+ var setInterval = schedulersFix$1(global$2.setInterval, true);
996
+ $$1({
997
+ global: true,
998
+ bind: true,
999
+ forced: global$2.setInterval !== setInterval
1000
+ }, {
1001
+ setInterval
1002
+ });
1003
+ var $ = _export;
1004
+ var global$1 = global$d;
1005
+ var schedulersFix = schedulersFix$2;
1006
+ var setTimeout$5 = schedulersFix(global$1.setTimeout, true);
1007
+ $({
1008
+ global: true,
1009
+ bind: true,
1010
+ forced: global$1.setTimeout !== setTimeout$5
1011
+ }, {
1012
+ setTimeout: setTimeout$5
1013
+ });
1014
+ var path = path$4;
1015
+ var setTimeout$4 = path.setTimeout;
1016
+ var parent$1 = setTimeout$4;
1017
+ var setTimeout$3 = parent$1;
1018
+ var parent = setTimeout$3;
1019
+ var setTimeout$2 = parent;
1020
+ var setTimeout$1 = setTimeout$2;
1021
+ var setTimeout = setTimeout$1;
1022
+ const _setTimeout = /* @__PURE__ */ getDefaultExportFromCjs(setTimeout);
1023
+ var __sfc_main = defineComponent({
5
1024
  name: "nf-variable-select"
6
1025
  });
7
1026
  __sfc_main.props = {
@@ -9,122 +1028,128 @@ __sfc_main.props = {
9
1028
  key: "noMatchDesc",
10
1029
  required: false,
11
1030
  type: String,
12
- default: "无匹配数据"
1031
+ "default": "无匹配数据"
13
1032
  },
14
1033
  placeholder: {
15
1034
  key: "placeholder",
16
1035
  required: false,
17
1036
  type: String,
18
- default: "输入变量名搜索"
1037
+ "default": "输入变量名搜索"
19
1038
  },
20
1039
  keyAlias: {
21
1040
  key: "keyAlias",
22
1041
  required: false,
23
1042
  type: String,
24
- default: "paramId"
1043
+ "default": "paramId"
25
1044
  },
26
1045
  valueAlias: {
27
1046
  key: "valueAlias",
28
1047
  required: false,
29
1048
  type: String,
30
- default: "name"
1049
+ "default": "name"
31
1050
  },
32
1051
  data: {
33
1052
  key: "data",
34
1053
  required: false,
35
1054
  type: Array,
36
- default: () => []
1055
+ "default": function _default() {
1056
+ return [];
1057
+ }
37
1058
  },
38
1059
  placement: {
39
1060
  key: "placement",
40
1061
  required: false,
41
1062
  type: String,
42
- default: "bottom"
1063
+ "default": "bottom"
43
1064
  },
44
1065
  width: {
45
1066
  key: "width",
46
1067
  required: false,
47
1068
  type: [String, Number],
48
- default: "160"
1069
+ "default": "160"
49
1070
  },
50
1071
  trigger: {
51
1072
  key: "trigger",
52
1073
  required: false,
53
1074
  type: String,
54
- default: "click"
1075
+ "default": "click"
55
1076
  },
56
1077
  popperClass: {
57
1078
  key: "popperClass",
58
1079
  required: false,
59
1080
  type: String,
60
- default: ""
1081
+ "default": ""
61
1082
  },
62
1083
  disabled: {
63
1084
  key: "disabled",
64
1085
  required: false,
65
1086
  type: Boolean,
66
- default: false
1087
+ "default": false
67
1088
  },
68
1089
  offset: {
69
1090
  key: "offset",
70
1091
  required: false,
71
1092
  type: Number,
72
- default: 0
1093
+ "default": 0
73
1094
  },
74
1095
  transition: {
75
1096
  key: "transition",
76
1097
  required: false,
77
1098
  type: String,
78
- default: "fade-in-linear"
1099
+ "default": "fade-in-linear"
79
1100
  },
80
1101
  visibleArrow: {
81
1102
  key: "visibleArrow",
82
1103
  required: false,
83
1104
  type: Boolean,
84
- default: true
1105
+ "default": true
85
1106
  },
86
1107
  popperOptions: {
87
1108
  key: "popperOptions",
88
1109
  required: false,
89
1110
  type: Object,
90
- default: () => ({
91
- boundariesElement: "body",
92
- gpuAcceleration: false
93
- })
1111
+ "default": function _default2() {
1112
+ return {
1113
+ boundariesElement: "body",
1114
+ gpuAcceleration: false
1115
+ };
1116
+ }
94
1117
  },
95
1118
  openDelay: {
96
1119
  key: "openDelay",
97
1120
  required: false,
98
1121
  type: Number,
99
- default: void 0
1122
+ "default": void 0
100
1123
  },
101
1124
  closeDelay: {
102
1125
  key: "closeDelay",
103
1126
  required: false,
104
1127
  type: Number,
105
- default: 200
1128
+ "default": 200
106
1129
  },
107
1130
  tabindex: {
108
1131
  key: "tabindex",
109
1132
  required: false,
110
1133
  type: Number,
111
- default: 0
1134
+ "default": 0
112
1135
  },
113
1136
  size: {
114
1137
  key: "size",
115
1138
  required: false,
116
1139
  type: String,
117
- default: "mini"
1140
+ "default": "mini"
118
1141
  }
119
1142
  };
120
- __sfc_main.setup = (__props, __ctx) => {
121
- const props = __props;
122
- const emit = __ctx.emit;
123
- const keyword = ref();
124
- const allList = ref([]);
125
- const list = computed(() => {
1143
+ __sfc_main.setup = function(__props, __ctx) {
1144
+ var props = __props;
1145
+ var emit = __ctx.emit;
1146
+ var keyword = ref();
1147
+ var allList = ref([]);
1148
+ var list = computed(function() {
1149
+ var _context2, _context3;
126
1150
  if (!keyword.value) {
127
- return allList.value.map((item) => {
1151
+ var _context;
1152
+ return _mapInstanceProperty(_context = allList.value).call(_context, function(item) {
128
1153
  if (item[props.keyAlias]) {
129
1154
  return item;
130
1155
  }
@@ -132,9 +1157,10 @@ __sfc_main.setup = (__props, __ctx) => {
132
1157
  return item;
133
1158
  });
134
1159
  }
135
- return allList.value.filter((item) => {
136
- return item[props.valueAlias].includes(keyword.value);
137
- }).map((item) => {
1160
+ return _mapInstanceProperty(_context2 = _filterInstanceProperty(_context3 = allList.value).call(_context3, function(item) {
1161
+ var _context4;
1162
+ return _includesInstanceProperty(_context4 = item[props.valueAlias]).call(_context4, keyword.value);
1163
+ })).call(_context2, function(item) {
138
1164
  if (item[props.keyAlias]) {
139
1165
  return item;
140
1166
  }
@@ -142,19 +1168,19 @@ __sfc_main.setup = (__props, __ctx) => {
142
1168
  return item;
143
1169
  });
144
1170
  });
145
- watch(() => {
1171
+ watch(function() {
146
1172
  return props.data;
147
- }, () => {
1173
+ }, function() {
148
1174
  allList.value = props.data || [];
149
1175
  }, {
150
1176
  deep: true,
151
1177
  immediate: true
152
1178
  });
153
- const handleItem = (item) => {
1179
+ var handleItem = function handleItem2(item) {
154
1180
  emit("variate-click", item);
155
1181
  };
156
- const popHideHandle = () => {
157
- let timer = setTimeout(() => {
1182
+ var popHideHandle = function popHideHandle2() {
1183
+ var timer = _setTimeout(function() {
158
1184
  clearTimeout(timer);
159
1185
  timer = void 0;
160
1186
  keyword.value = "";
@@ -189,13 +1215,13 @@ var _sfc_render = function render() {
189
1215
  "tabindex": _vm.tabindex
190
1216
  },
191
1217
  on: {
192
- "after-enter": function($event) {
1218
+ "after-enter": function afterEnter($event) {
193
1219
  return _vm.$emit("after-enter");
194
1220
  },
195
- "after-leave": function($event) {
1221
+ "after-leave": function afterLeave($event) {
196
1222
  return _vm.$emit("after-leave");
197
1223
  },
198
- "show": function($event) {
1224
+ "show": function show($event) {
199
1225
  return _vm.$emit("show");
200
1226
  },
201
1227
  "hide": _vm.popHideHandle
@@ -217,7 +1243,7 @@ var _sfc_render = function render() {
217
1243
  },
218
1244
  model: {
219
1245
  value: _vm.keyword,
220
- callback: function($$v) {
1246
+ callback: function callback($$v) {
221
1247
  _vm.keyword = $$v;
222
1248
  },
223
1249
  expression: "keyword"
@@ -229,7 +1255,7 @@ var _sfc_render = function render() {
229
1255
  key: item[_vm.keyAlias],
230
1256
  staticClass: "nf-variable-select-variate-item",
231
1257
  on: {
232
- "click": function($event) {
1258
+ "click": function click($event) {
233
1259
  return _vm.handleItem(item);
234
1260
  }
235
1261
  }
@@ -241,7 +1267,7 @@ var _sfc_render = function render() {
241
1267
  var _sfc_staticRenderFns = [];
242
1268
  var __component__ = /* @__PURE__ */ normalizeComponent(__sfc_main, _sfc_render, _sfc_staticRenderFns, false, null, null, null, null);
243
1269
  const NfVariableSelect = __component__.exports;
244
- NfVariableSelect.install = (app) => {
1270
+ NfVariableSelect.install = function(app) {
245
1271
  app.component("nf-variable-select", NfVariableSelect);
246
1272
  };
247
1273
  export {