@frollo/frollo-web-ui 2.0.0 → 3.0.1

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.
Files changed (84) hide show
  1. package/cjs/index.js +17802 -1708
  2. package/esm/add-to-unscopables-2400f45b.js +25 -0
  3. package/esm/array-iteration-107f927f.js +92 -0
  4. package/esm/array-method-has-species-support-3d413468.js +23 -0
  5. package/esm/array-method-is-strict-055b1830.js +14 -0
  6. package/esm/array-species-create-a5f5503b.js +97 -0
  7. package/esm/{classof-088c9833.js → classof-39c30bd5.js} +1 -2
  8. package/esm/create-property-534611fd.js +14 -0
  9. package/esm/delete-property-or-throw-8032646c.js +31 -0
  10. package/esm/does-not-exceed-safe-integer-31d08811.js +11 -0
  11. package/esm/es.array.concat-987938be.js +69 -0
  12. package/esm/{es.array.find-54b8f84b.js → es.array.find-dfa1f42f.js} +5 -6
  13. package/esm/{es.array.includes-9a6e4066.js → es.array.includes-91be7771.js} +3 -4
  14. package/esm/{es.function.name-2fa3a718.js → es.function.name-557cb1f9.js} +1 -1
  15. package/esm/{es.number.constructor-b7faae1f.js → es.number.constructor-1249bd78.js} +2 -3
  16. package/esm/es.string.iterator-284b31d4.js +470 -0
  17. package/esm/{object-keys-3c73c404.js → export-a37ba078.js} +2 -13
  18. package/esm/function-apply-ce251590.js +14 -0
  19. package/esm/fw-accordion.js +2 -8
  20. package/esm/fw-animations.js +6 -20
  21. package/esm/fw-bar-chart.js +19 -0
  22. package/esm/{fw-button-765b9d52.js → fw-button-1486e2d9.js} +6 -24
  23. package/esm/fw-button.js +9 -8
  24. package/esm/fw-card-1b6a67fe.js +90 -0
  25. package/esm/fw-card.js +2 -95
  26. package/esm/fw-checkbox.js +27 -17
  27. package/esm/fw-dropdown.js +17 -33
  28. package/esm/fw-image-4727ac61.js +289 -0
  29. package/esm/fw-image.js +22 -847
  30. package/esm/fw-input.js +24 -25
  31. package/esm/fw-loading-bar-f5ca605c.js +22 -0
  32. package/esm/{fw-loading-spinner-01b9a040.js → fw-loading-spinner-df1627c0.js} +1 -2
  33. package/esm/fw-loading.js +6 -9
  34. package/esm/fw-modal.js +218 -11
  35. package/esm/fw-navigation-menu.js +11 -19
  36. package/esm/fw-progress-bar.js +4 -11
  37. package/esm/fw-table.js +12 -56
  38. package/esm/fw-tabs.js +60 -20
  39. package/esm/fw-tag.js +8 -8
  40. package/esm/fw-toast.js +276 -0
  41. package/esm/fw-transactions-card.js +115 -0
  42. package/esm/index-1a41e7bf.js +15838 -0
  43. package/esm/{index-7833cf39.js → index-4605e00e.js} +114 -86
  44. package/esm/index.js +87 -73
  45. package/esm/is-forced-752b5893.js +927 -0
  46. package/esm/{add-to-unscopables-a5032b1d.js → object-create-f6f3a673.js} +3 -25
  47. package/esm/object-keys-4f5bf4e7.js +13 -0
  48. package/esm/{to-string-c2bd1f4d.js → to-string-12728fd2.js} +2 -2
  49. package/esm/uniqueId-fe08534a.js +279 -0
  50. package/esm/web.timers-0f117224.js +72 -0
  51. package/frollo-web-ui.esm.js +18020 -1824
  52. package/icons/index.ts +5 -1
  53. package/icons/solid-check.svg +3 -0
  54. package/icons/solid-xmark.svg +3 -0
  55. package/index.d.ts +344 -22
  56. package/package.json +5 -1
  57. package/styles/web-components.scss +8 -0
  58. package/types/components/fw-bar-chart/fw-bar-chart.vue.d.ts +83 -0
  59. package/types/components/fw-bar-chart/index.d.ts +2 -0
  60. package/types/components/fw-bar-chart/index.types.d.ts +11 -0
  61. package/types/components/fw-checkbox/fw-checkbox.vue.d.ts +3 -1
  62. package/types/components/fw-input/fw-input.vue.d.ts +1 -0
  63. package/types/components/fw-modal/fw-modal.vue.d.ts +16 -0
  64. package/types/components/fw-modal/index.types.d.ts +1 -0
  65. package/types/components/fw-toast/fw-toast.vue.d.ts +121 -0
  66. package/types/components/fw-toast/index.d.ts +2 -0
  67. package/types/components/fw-toast/index.types.d.ts +13 -0
  68. package/types/components/fw-transactions-card/fw-transactions-card.vue.d.ts +58 -0
  69. package/types/components/fw-transactions-card/index.d.ts +2 -0
  70. package/types/components/fw-transactions-card/index.types.d.ts +6 -0
  71. package/types/components/index.d.ts +3 -0
  72. package/types/components/index.types.d.ts +3 -0
  73. package/types/icons/index.d.ts +3 -1
  74. package/types/index.browser-umd.d.ts +1 -0
  75. package/types/services/index.d.ts +1 -0
  76. package/types/services/modal.d.ts +1 -1
  77. package/types/services/toast.d.ts +9 -0
  78. package/web-components/index.js +36612 -0
  79. package/esm/array-iteration-4f83e223.js +0 -186
  80. package/esm/create-property-da6d232b.js +0 -26
  81. package/esm/function-name-c49146fc.js +0 -492
  82. package/esm/fw-loading-bar-da7d53fb.js +0 -22
  83. package/esm/index-06f4e5f1.js +0 -482
  84. package/esm/is-forced-fd46b5f2.js +0 -438
@@ -1,186 +0,0 @@
1
- import { f as functionUncurryThis, h as aCallable$1, p as functionBindNative, j as fails$1, l as isCallable$1, u as getBuiltIn$1, C as isObject$1, w as wellKnownSymbol$1, i as toObject$1 } from './function-name-c49146fc.js';
2
- import { m as classofRaw, p as inspectSource$1, q as indexedObject, l as lengthOfArrayLike$1 } from './is-forced-fd46b5f2.js';
3
- import { c as classof$2 } from './classof-088c9833.js';
4
-
5
- var uncurryThis$2 = functionUncurryThis;
6
- var aCallable = aCallable$1;
7
- var NATIVE_BIND = functionBindNative;
8
-
9
- var bind$1 = uncurryThis$2(uncurryThis$2.bind);
10
-
11
- // optional / simple context binding
12
- var functionBindContext = function (fn, that) {
13
- aCallable(fn);
14
- return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {
15
- return fn.apply(that, arguments);
16
- };
17
- };
18
-
19
- var classof$1 = classofRaw;
20
-
21
- // `IsArray` abstract operation
22
- // https://tc39.es/ecma262/#sec-isarray
23
- // eslint-disable-next-line es-x/no-array-isarray -- safe
24
- var isArray$1 = Array.isArray || function isArray(argument) {
25
- return classof$1(argument) == 'Array';
26
- };
27
-
28
- var uncurryThis$1 = functionUncurryThis;
29
- var fails = fails$1;
30
- var isCallable = isCallable$1;
31
- var classof = classof$2;
32
- var getBuiltIn = getBuiltIn$1;
33
- var inspectSource = inspectSource$1;
34
-
35
- var noop = function () { /* empty */ };
36
- var empty = [];
37
- var construct = getBuiltIn('Reflect', 'construct');
38
- var constructorRegExp = /^\s*(?:class|function)\b/;
39
- var exec = uncurryThis$1(constructorRegExp.exec);
40
- var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
41
-
42
- var isConstructorModern = function isConstructor(argument) {
43
- if (!isCallable(argument)) return false;
44
- try {
45
- construct(noop, empty, argument);
46
- return true;
47
- } catch (error) {
48
- return false;
49
- }
50
- };
51
-
52
- var isConstructorLegacy = function isConstructor(argument) {
53
- if (!isCallable(argument)) return false;
54
- switch (classof(argument)) {
55
- case 'AsyncFunction':
56
- case 'GeneratorFunction':
57
- case 'AsyncGeneratorFunction': return false;
58
- }
59
- try {
60
- // we can't check .prototype since constructors produced by .bind haven't it
61
- // `Function#toString` throws on some built-it function in some legacy engines
62
- // (for example, `DOMQuad` and similar in FF41-)
63
- return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
64
- } catch (error) {
65
- return true;
66
- }
67
- };
68
-
69
- isConstructorLegacy.sham = true;
70
-
71
- // `IsConstructor` abstract operation
72
- // https://tc39.es/ecma262/#sec-isconstructor
73
- var isConstructor$1 = !construct || fails(function () {
74
- var called;
75
- return isConstructorModern(isConstructorModern.call)
76
- || !isConstructorModern(Object)
77
- || !isConstructorModern(function () { called = true; })
78
- || called;
79
- }) ? isConstructorLegacy : isConstructorModern;
80
-
81
- var isArray = isArray$1;
82
- var isConstructor = isConstructor$1;
83
- var isObject = isObject$1;
84
- var wellKnownSymbol = wellKnownSymbol$1;
85
-
86
- var SPECIES = wellKnownSymbol('species');
87
- var $Array = Array;
88
-
89
- // a part of `ArraySpeciesCreate` abstract operation
90
- // https://tc39.es/ecma262/#sec-arrayspeciescreate
91
- var arraySpeciesConstructor$1 = function (originalArray) {
92
- var C;
93
- if (isArray(originalArray)) {
94
- C = originalArray.constructor;
95
- // cross-realm fallback
96
- if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined;
97
- else if (isObject(C)) {
98
- C = C[SPECIES];
99
- if (C === null) C = undefined;
100
- }
101
- } return C === undefined ? $Array : C;
102
- };
103
-
104
- var arraySpeciesConstructor = arraySpeciesConstructor$1;
105
-
106
- // `ArraySpeciesCreate` abstract operation
107
- // https://tc39.es/ecma262/#sec-arrayspeciescreate
108
- var arraySpeciesCreate$1 = function (originalArray, length) {
109
- return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
110
- };
111
-
112
- var bind = functionBindContext;
113
- var uncurryThis = functionUncurryThis;
114
- var IndexedObject = indexedObject;
115
- var toObject = toObject$1;
116
- var lengthOfArrayLike = lengthOfArrayLike$1;
117
- var arraySpeciesCreate = arraySpeciesCreate$1;
118
-
119
- var push = uncurryThis([].push);
120
-
121
- // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
122
- var createMethod = function (TYPE) {
123
- var IS_MAP = TYPE == 1;
124
- var IS_FILTER = TYPE == 2;
125
- var IS_SOME = TYPE == 3;
126
- var IS_EVERY = TYPE == 4;
127
- var IS_FIND_INDEX = TYPE == 6;
128
- var IS_FILTER_REJECT = TYPE == 7;
129
- var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
130
- return function ($this, callbackfn, that, specificCreate) {
131
- var O = toObject($this);
132
- var self = IndexedObject(O);
133
- var boundFunction = bind(callbackfn, that);
134
- var length = lengthOfArrayLike(self);
135
- var index = 0;
136
- var create = specificCreate || arraySpeciesCreate;
137
- var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
138
- var value, result;
139
- for (;length > index; index++) if (NO_HOLES || index in self) {
140
- value = self[index];
141
- result = boundFunction(value, index, O);
142
- if (TYPE) {
143
- if (IS_MAP) target[index] = result; // map
144
- else if (result) switch (TYPE) {
145
- case 3: return true; // some
146
- case 5: return value; // find
147
- case 6: return index; // findIndex
148
- case 2: push(target, value); // filter
149
- } else switch (TYPE) {
150
- case 4: return false; // every
151
- case 7: push(target, value); // filterReject
152
- }
153
- }
154
- }
155
- return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
156
- };
157
- };
158
-
159
- var arrayIteration = {
160
- // `Array.prototype.forEach` method
161
- // https://tc39.es/ecma262/#sec-array.prototype.foreach
162
- forEach: createMethod(0),
163
- // `Array.prototype.map` method
164
- // https://tc39.es/ecma262/#sec-array.prototype.map
165
- map: createMethod(1),
166
- // `Array.prototype.filter` method
167
- // https://tc39.es/ecma262/#sec-array.prototype.filter
168
- filter: createMethod(2),
169
- // `Array.prototype.some` method
170
- // https://tc39.es/ecma262/#sec-array.prototype.some
171
- some: createMethod(3),
172
- // `Array.prototype.every` method
173
- // https://tc39.es/ecma262/#sec-array.prototype.every
174
- every: createMethod(4),
175
- // `Array.prototype.find` method
176
- // https://tc39.es/ecma262/#sec-array.prototype.find
177
- find: createMethod(5),
178
- // `Array.prototype.findIndex` method
179
- // https://tc39.es/ecma262/#sec-array.prototype.findIndex
180
- findIndex: createMethod(6),
181
- // `Array.prototype.filterReject` method
182
- // https://github.com/tc39/proposal-array-filtering
183
- filterReject: createMethod(7)
184
- };
185
-
186
- export { arrayIteration as a, functionBindContext as f, isConstructor$1 as i };
@@ -1,26 +0,0 @@
1
- import { j as fails$1, x as toPropertyKey$1, o as objectDefineProperty } from './function-name-c49146fc.js';
2
- import { b as createPropertyDescriptor$1 } from './is-forced-fd46b5f2.js';
3
-
4
- 'use strict';
5
- var fails = fails$1;
6
-
7
- var arrayMethodIsStrict = function (METHOD_NAME, argument) {
8
- var method = [][METHOD_NAME];
9
- return !!method && fails(function () {
10
- // eslint-disable-next-line no-useless-call -- required for testing
11
- method.call(null, argument || function () { return 1; }, 1);
12
- });
13
- };
14
-
15
- 'use strict';
16
- var toPropertyKey = toPropertyKey$1;
17
- var definePropertyModule = objectDefineProperty;
18
- var createPropertyDescriptor = createPropertyDescriptor$1;
19
-
20
- var createProperty = function (object, key, value) {
21
- var propertyKey = toPropertyKey(key);
22
- if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));
23
- else object[propertyKey] = value;
24
- };
25
-
26
- export { arrayMethodIsStrict as a, createProperty as c };
@@ -1,492 +0,0 @@
1
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
2
-
3
- function getDefaultExportFromCjs (x) {
4
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
5
- }
6
-
7
- function getDefaultExportFromNamespaceIfPresent (n) {
8
- return n && Object.prototype.hasOwnProperty.call(n, 'default') ? n['default'] : n;
9
- }
10
-
11
- function getDefaultExportFromNamespaceIfNotNamed (n) {
12
- return n && Object.prototype.hasOwnProperty.call(n, 'default') && Object.keys(n).length === 1 ? n['default'] : n;
13
- }
14
-
15
- function getAugmentedNamespace(n) {
16
- if (n.__esModule) return n;
17
- var a = Object.defineProperty({}, '__esModule', {value: true});
18
- Object.keys(n).forEach(function (k) {
19
- var d = Object.getOwnPropertyDescriptor(n, k);
20
- Object.defineProperty(a, k, d.get ? d : {
21
- enumerable: true,
22
- get: function () {
23
- return n[k];
24
- }
25
- });
26
- });
27
- return a;
28
- }
29
-
30
- function commonjsRequire (path) {
31
- throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
32
- }
33
-
34
- var check = function (it) {
35
- return it && it.Math == Math && it;
36
- };
37
-
38
- // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
39
- var global$7 =
40
- // eslint-disable-next-line es-x/no-global-this -- safe
41
- check(typeof globalThis == 'object' && globalThis) ||
42
- check(typeof window == 'object' && window) ||
43
- // eslint-disable-next-line no-restricted-globals -- safe
44
- check(typeof self == 'object' && self) ||
45
- check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
46
- // eslint-disable-next-line no-new-func -- fallback
47
- (function () { return this; })() || Function('return this')();
48
-
49
- var fails$5 = function (exec) {
50
- try {
51
- return !!exec();
52
- } catch (error) {
53
- return true;
54
- }
55
- };
56
-
57
- var fails$4 = fails$5;
58
-
59
- // Detect IE8's incomplete defineProperty implementation
60
- var descriptors = !fails$4(function () {
61
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
62
- return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
63
- });
64
-
65
- var fails$3 = fails$5;
66
-
67
- var functionBindNative = !fails$3(function () {
68
- // eslint-disable-next-line es-x/no-function-prototype-bind -- safe
69
- var test = (function () { /* empty */ }).bind();
70
- // eslint-disable-next-line no-prototype-builtins -- safe
71
- return typeof test != 'function' || test.hasOwnProperty('prototype');
72
- });
73
-
74
- var NATIVE_BIND$1 = functionBindNative;
75
-
76
- var call$3 = Function.prototype.call;
77
-
78
- var functionCall = NATIVE_BIND$1 ? call$3.bind(call$3) : function () {
79
- return call$3.apply(call$3, arguments);
80
- };
81
-
82
- var NATIVE_BIND = functionBindNative;
83
-
84
- var FunctionPrototype$1 = Function.prototype;
85
- var bind = FunctionPrototype$1.bind;
86
- var call$2 = FunctionPrototype$1.call;
87
- var uncurryThis$3 = NATIVE_BIND && bind.bind(call$2, call$2);
88
-
89
- var functionUncurryThis = NATIVE_BIND ? function (fn) {
90
- return fn && uncurryThis$3(fn);
91
- } : function (fn) {
92
- return fn && function () {
93
- return call$2.apply(fn, arguments);
94
- };
95
- };
96
-
97
- var $TypeError$5 = TypeError;
98
-
99
- // `RequireObjectCoercible` abstract operation
100
- // https://tc39.es/ecma262/#sec-requireobjectcoercible
101
- var requireObjectCoercible$1 = function (it) {
102
- if (it == undefined) throw $TypeError$5("Can't call method on " + it);
103
- return it;
104
- };
105
-
106
- // `IsCallable` abstract operation
107
- // https://tc39.es/ecma262/#sec-iscallable
108
- var isCallable$5 = function (argument) {
109
- return typeof argument == 'function';
110
- };
111
-
112
- var isCallable$4 = isCallable$5;
113
-
114
- var isObject$4 = function (it) {
115
- return typeof it == 'object' ? it !== null : isCallable$4(it);
116
- };
117
-
118
- var global$6 = global$7;
119
- var isCallable$3 = isCallable$5;
120
-
121
- var aFunction = function (argument) {
122
- return isCallable$3(argument) ? argument : undefined;
123
- };
124
-
125
- var getBuiltIn$2 = function (namespace, method) {
126
- return arguments.length < 2 ? aFunction(global$6[namespace]) : global$6[namespace] && global$6[namespace][method];
127
- };
128
-
129
- var uncurryThis$2 = functionUncurryThis;
130
-
131
- var objectIsPrototypeOf = uncurryThis$2({}.isPrototypeOf);
132
-
133
- var getBuiltIn$1 = getBuiltIn$2;
134
-
135
- var engineUserAgent = getBuiltIn$1('navigator', 'userAgent') || '';
136
-
137
- var global$5 = global$7;
138
- var userAgent = engineUserAgent;
139
-
140
- var process = global$5.process;
141
- var Deno = global$5.Deno;
142
- var versions = process && process.versions || Deno && Deno.version;
143
- var v8 = versions && versions.v8;
144
- var match, version;
145
-
146
- if (v8) {
147
- match = v8.split('.');
148
- // in old Chrome, versions of V8 isn't V8 = Chrome / 10
149
- // but their correct versions are not interesting for us
150
- version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
151
- }
152
-
153
- // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
154
- // so check `userAgent` even if `.v8` exists, but 0
155
- if (!version && userAgent) {
156
- match = userAgent.match(/Edge\/(\d+)/);
157
- if (!match || match[1] >= 74) {
158
- match = userAgent.match(/Chrome\/(\d+)/);
159
- if (match) version = +match[1];
160
- }
161
- }
162
-
163
- var engineV8Version = version;
164
-
165
- /* eslint-disable es-x/no-symbol -- required for testing */
166
-
167
- var V8_VERSION = engineV8Version;
168
- var fails$2 = fails$5;
169
-
170
- // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
171
- var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$2(function () {
172
- var symbol = Symbol();
173
- // Chrome 38 Symbol has incorrect toString conversion
174
- // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
175
- return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
176
- // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
177
- !Symbol.sham && V8_VERSION && V8_VERSION < 41;
178
- });
179
-
180
- /* eslint-disable es-x/no-symbol -- required for testing */
181
-
182
- var NATIVE_SYMBOL$1 = nativeSymbol;
183
-
184
- var useSymbolAsUid = NATIVE_SYMBOL$1
185
- && !Symbol.sham
186
- && typeof Symbol.iterator == 'symbol';
187
-
188
- var getBuiltIn = getBuiltIn$2;
189
- var isCallable$2 = isCallable$5;
190
- var isPrototypeOf = objectIsPrototypeOf;
191
- var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
192
-
193
- var $Object$1 = Object;
194
-
195
- var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
196
- return typeof it == 'symbol';
197
- } : function (it) {
198
- var $Symbol = getBuiltIn('Symbol');
199
- return isCallable$2($Symbol) && isPrototypeOf($Symbol.prototype, $Object$1(it));
200
- };
201
-
202
- var $String$1 = String;
203
-
204
- var tryToString$1 = function (argument) {
205
- try {
206
- return $String$1(argument);
207
- } catch (error) {
208
- return 'Object';
209
- }
210
- };
211
-
212
- var isCallable$1 = isCallable$5;
213
- var tryToString = tryToString$1;
214
-
215
- var $TypeError$4 = TypeError;
216
-
217
- // `Assert: IsCallable(argument) is true`
218
- var aCallable$1 = function (argument) {
219
- if (isCallable$1(argument)) return argument;
220
- throw $TypeError$4(tryToString(argument) + ' is not a function');
221
- };
222
-
223
- var aCallable = aCallable$1;
224
-
225
- // `GetMethod` abstract operation
226
- // https://tc39.es/ecma262/#sec-getmethod
227
- var getMethod$1 = function (V, P) {
228
- var func = V[P];
229
- return func == null ? undefined : aCallable(func);
230
- };
231
-
232
- var call$1 = functionCall;
233
- var isCallable = isCallable$5;
234
- var isObject$3 = isObject$4;
235
-
236
- var $TypeError$3 = TypeError;
237
-
238
- // `OrdinaryToPrimitive` abstract operation
239
- // https://tc39.es/ecma262/#sec-ordinarytoprimitive
240
- var ordinaryToPrimitive$1 = function (input, pref) {
241
- var fn, val;
242
- if (pref === 'string' && isCallable(fn = input.toString) && !isObject$3(val = call$1(fn, input))) return val;
243
- if (isCallable(fn = input.valueOf) && !isObject$3(val = call$1(fn, input))) return val;
244
- if (pref !== 'string' && isCallable(fn = input.toString) && !isObject$3(val = call$1(fn, input))) return val;
245
- throw $TypeError$3("Can't convert object to primitive value");
246
- };
247
-
248
- var shared$2 = {exports: {}};
249
-
250
- var isPure = false;
251
-
252
- var global$4 = global$7;
253
-
254
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
255
- var defineProperty = Object.defineProperty;
256
-
257
- var defineGlobalProperty$1 = function (key, value) {
258
- try {
259
- defineProperty(global$4, key, { value: value, configurable: true, writable: true });
260
- } catch (error) {
261
- global$4[key] = value;
262
- } return value;
263
- };
264
-
265
- var global$3 = global$7;
266
- var defineGlobalProperty = defineGlobalProperty$1;
267
-
268
- var SHARED = '__core-js_shared__';
269
- var store$1 = global$3[SHARED] || defineGlobalProperty(SHARED, {});
270
-
271
- var sharedStore = store$1;
272
-
273
- var IS_PURE = isPure;
274
- var store = sharedStore;
275
-
276
- (shared$2.exports = function (key, value) {
277
- return store[key] || (store[key] = value !== undefined ? value : {});
278
- })('versions', []).push({
279
- version: '3.23.3',
280
- mode: IS_PURE ? 'pure' : 'global',
281
- copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
282
- license: 'https://github.com/zloirock/core-js/blob/v3.23.3/LICENSE',
283
- source: 'https://github.com/zloirock/core-js'
284
- });
285
-
286
- var shared$1 = shared$2.exports;
287
-
288
- var requireObjectCoercible = requireObjectCoercible$1;
289
-
290
- var $Object = Object;
291
-
292
- // `ToObject` abstract operation
293
- // https://tc39.es/ecma262/#sec-toobject
294
- var toObject$1 = function (argument) {
295
- return $Object(requireObjectCoercible(argument));
296
- };
297
-
298
- var uncurryThis$1 = functionUncurryThis;
299
- var toObject = toObject$1;
300
-
301
- var hasOwnProperty = uncurryThis$1({}.hasOwnProperty);
302
-
303
- // `HasOwnProperty` abstract operation
304
- // https://tc39.es/ecma262/#sec-hasownproperty
305
- // eslint-disable-next-line es-x/no-object-hasown -- safe
306
- var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
307
- return hasOwnProperty(toObject(it), key);
308
- };
309
-
310
- var uncurryThis = functionUncurryThis;
311
-
312
- var id = 0;
313
- var postfix = Math.random();
314
- var toString = uncurryThis(1.0.toString);
315
-
316
- var uid$1 = function (key) {
317
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
318
- };
319
-
320
- var global$2 = global$7;
321
- var shared = shared$2.exports;
322
- var hasOwn$1 = hasOwnProperty_1;
323
- var uid = uid$1;
324
- var NATIVE_SYMBOL = nativeSymbol;
325
- var USE_SYMBOL_AS_UID = useSymbolAsUid;
326
-
327
- var WellKnownSymbolsStore = shared('wks');
328
- var Symbol$1 = global$2.Symbol;
329
- var symbolFor = Symbol$1 && Symbol$1['for'];
330
- var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
331
-
332
- var wellKnownSymbol$1 = function (name) {
333
- if (!hasOwn$1(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
334
- var description = 'Symbol.' + name;
335
- if (NATIVE_SYMBOL && hasOwn$1(Symbol$1, name)) {
336
- WellKnownSymbolsStore[name] = Symbol$1[name];
337
- } else if (USE_SYMBOL_AS_UID && symbolFor) {
338
- WellKnownSymbolsStore[name] = symbolFor(description);
339
- } else {
340
- WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
341
- }
342
- } return WellKnownSymbolsStore[name];
343
- };
344
-
345
- var call = functionCall;
346
- var isObject$2 = isObject$4;
347
- var isSymbol$1 = isSymbol$2;
348
- var getMethod = getMethod$1;
349
- var ordinaryToPrimitive = ordinaryToPrimitive$1;
350
- var wellKnownSymbol = wellKnownSymbol$1;
351
-
352
- var $TypeError$2 = TypeError;
353
- var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
354
-
355
- // `ToPrimitive` abstract operation
356
- // https://tc39.es/ecma262/#sec-toprimitive
357
- var toPrimitive$1 = function (input, pref) {
358
- if (!isObject$2(input) || isSymbol$1(input)) return input;
359
- var exoticToPrim = getMethod(input, TO_PRIMITIVE);
360
- var result;
361
- if (exoticToPrim) {
362
- if (pref === undefined) pref = 'default';
363
- result = call(exoticToPrim, input, pref);
364
- if (!isObject$2(result) || isSymbol$1(result)) return result;
365
- throw $TypeError$2("Can't convert object to primitive value");
366
- }
367
- if (pref === undefined) pref = 'number';
368
- return ordinaryToPrimitive(input, pref);
369
- };
370
-
371
- var toPrimitive = toPrimitive$1;
372
- var isSymbol = isSymbol$2;
373
-
374
- // `ToPropertyKey` abstract operation
375
- // https://tc39.es/ecma262/#sec-topropertykey
376
- var toPropertyKey$1 = function (argument) {
377
- var key = toPrimitive(argument, 'string');
378
- return isSymbol(key) ? key : key + '';
379
- };
380
-
381
- var global$1 = global$7;
382
- var isObject$1 = isObject$4;
383
-
384
- var document = global$1.document;
385
- // typeof document.createElement is 'object' in old IE
386
- var EXISTS$1 = isObject$1(document) && isObject$1(document.createElement);
387
-
388
- var documentCreateElement = function (it) {
389
- return EXISTS$1 ? document.createElement(it) : {};
390
- };
391
-
392
- var DESCRIPTORS$3 = descriptors;
393
- var fails$1 = fails$5;
394
- var createElement = documentCreateElement;
395
-
396
- // Thanks to IE8 for its funny defineProperty
397
- var ie8DomDefine = !DESCRIPTORS$3 && !fails$1(function () {
398
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
399
- return Object.defineProperty(createElement('div'), 'a', {
400
- get: function () { return 7; }
401
- }).a != 7;
402
- });
403
-
404
- var objectDefineProperty = {};
405
-
406
- var DESCRIPTORS$2 = descriptors;
407
- var fails = fails$5;
408
-
409
- // V8 ~ Chrome 36-
410
- // https://bugs.chromium.org/p/v8/issues/detail?id=3334
411
- var v8PrototypeDefineBug = DESCRIPTORS$2 && fails(function () {
412
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
413
- return Object.defineProperty(function () { /* empty */ }, 'prototype', {
414
- value: 42,
415
- writable: false
416
- }).prototype != 42;
417
- });
418
-
419
- var isObject = isObject$4;
420
-
421
- var $String = String;
422
- var $TypeError$1 = TypeError;
423
-
424
- // `Assert: Type(argument) is Object`
425
- var anObject$1 = function (argument) {
426
- if (isObject(argument)) return argument;
427
- throw $TypeError$1($String(argument) + ' is not an object');
428
- };
429
-
430
- var DESCRIPTORS$1 = descriptors;
431
- var IE8_DOM_DEFINE = ie8DomDefine;
432
- var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
433
- var anObject = anObject$1;
434
- var toPropertyKey = toPropertyKey$1;
435
-
436
- var $TypeError = TypeError;
437
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
438
- var $defineProperty = Object.defineProperty;
439
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
440
- var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
441
- var ENUMERABLE = 'enumerable';
442
- var CONFIGURABLE$1 = 'configurable';
443
- var WRITABLE = 'writable';
444
-
445
- // `Object.defineProperty` method
446
- // https://tc39.es/ecma262/#sec-object.defineproperty
447
- var f = objectDefineProperty.f = DESCRIPTORS$1 ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
448
- anObject(O);
449
- P = toPropertyKey(P);
450
- anObject(Attributes);
451
- if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
452
- var current = $getOwnPropertyDescriptor(O, P);
453
- if (current && current[WRITABLE]) {
454
- O[P] = Attributes.value;
455
- Attributes = {
456
- configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
457
- enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
458
- writable: false
459
- };
460
- }
461
- } return $defineProperty(O, P, Attributes);
462
- } : $defineProperty : function defineProperty(O, P, Attributes) {
463
- anObject(O);
464
- P = toPropertyKey(P);
465
- anObject(Attributes);
466
- if (IE8_DOM_DEFINE) try {
467
- return $defineProperty(O, P, Attributes);
468
- } catch (error) { /* empty */ }
469
- if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');
470
- if ('value' in Attributes) O[P] = Attributes.value;
471
- return O;
472
- };
473
-
474
- var DESCRIPTORS = descriptors;
475
- var hasOwn = hasOwnProperty_1;
476
-
477
- var FunctionPrototype = Function.prototype;
478
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
479
- var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
480
-
481
- var EXISTS = hasOwn(FunctionPrototype, 'name');
482
- // additional protection from minified / mangled / dropped function names
483
- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
484
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
485
-
486
- var functionName = {
487
- EXISTS: EXISTS,
488
- PROPER: PROPER,
489
- CONFIGURABLE: CONFIGURABLE
490
- };
491
-
492
- export { shared$2 as A, uid$1 as B, isObject$4 as C, objectIsPrototypeOf as D, isSymbol$2 as E, toPrimitive$1 as F, v8PrototypeDefineBug as G, documentCreateElement as a, functionCall as b, anObject$1 as c, descriptors as d, getMethod$1 as e, functionUncurryThis as f, global$7 as g, aCallable$1 as h, toObject$1 as i, fails$5 as j, hasOwnProperty_1 as k, isCallable$5 as l, isPure as m, functionName as n, objectDefineProperty as o, functionBindNative as p, engineUserAgent as q, requireObjectCoercible$1 as r, engineV8Version as s, tryToString$1 as t, getBuiltIn$2 as u, defineGlobalProperty$1 as v, wellKnownSymbol$1 as w, toPropertyKey$1 as x, ie8DomDefine as y, sharedStore as z };