@frollo/frollo-web-ui 0.0.21 → 0.1.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 (45) hide show
  1. package/cjs/index.js +1141 -476
  2. package/esm/{add-to-unscopables-874257d1.js → add-to-unscopables-81c17489.js} +139 -99
  3. package/esm/{es.array.includes-ef2f18f4.js → es.array.includes-debcb50f.js} +9 -3
  4. package/esm/{es.function.name-43e1ffbd.js → es.function.name-e746680f.js} +1 -1
  5. package/esm/{function-name-a620492a.js → function-name-f0c1223e.js} +52 -61
  6. package/esm/{fw-button-fee2541f.js → fw-button-bba6ac88.js} +14 -6
  7. package/esm/fw-button.js +4 -4
  8. package/esm/fw-card.js +7 -4
  9. package/esm/fw-checkbox.js +11 -6
  10. package/esm/fw-form.js +1 -1
  11. package/esm/fw-input.js +10 -8
  12. package/esm/fw-modal.js +7 -0
  13. package/esm/fw-navigation-menu.js +16 -15
  14. package/esm/fw-tabs.js +3 -3
  15. package/esm/{index-5430e7a3.js → index-0e14da44.js} +18 -22
  16. package/esm/index-1813012f.js +474 -0
  17. package/esm/index.js +185 -26
  18. package/esm/{vee-validate.esm-028c6424.js → vee-validate.esm-b64acab1.js} +62 -9
  19. package/frollo-web-ui.esm.js +1218 -488
  20. package/index.d.ts +217 -27
  21. package/package.json +22 -17
  22. package/styles/tailwind.scss +58 -0
  23. package/styles/transitions.scss +20 -0
  24. package/styles/typography.scss +38 -0
  25. package/tailwind.config.js +10 -10
  26. package/types/components/fw-button/fw-button.vue.d.ts +2 -21
  27. package/types/components/fw-button/index.types.d.ts +29 -0
  28. package/types/components/fw-card/fw-card.vue.d.ts +1 -0
  29. package/types/components/fw-card/index.types.d.ts +6 -0
  30. package/types/components/fw-checkbox/fw-checkbox.vue.d.ts +0 -6
  31. package/types/components/fw-checkbox/index.types.d.ts +6 -0
  32. package/types/components/fw-input/fw-input.vue.d.ts +5 -14
  33. package/types/components/fw-input/index.types.d.ts +14 -0
  34. package/types/components/fw-modal/fw-modal.vue.d.ts +145 -0
  35. package/types/components/fw-modal/index.d.ts +2 -0
  36. package/types/components/fw-modal/index.types.d.ts +12 -0
  37. package/types/components/fw-navigation-menu/fw-navigation-menu.vue.d.ts +2 -5
  38. package/types/components/fw-navigation-menu/index.types.d.ts +5 -0
  39. package/types/components/index.d.ts +1 -0
  40. package/types/components/index.types.d.ts +6 -0
  41. package/types/index-types.esm.d.ts +2 -7
  42. package/types/index.d.ts +1 -0
  43. package/types/index.esm.d.ts +1 -0
  44. package/types/services/index.d.ts +1 -0
  45. package/types/services/modal.d.ts +9 -0
package/cjs/index.js CHANGED
@@ -83,41 +83,42 @@ function commonjsRequire (path) {
83
83
  };
84
84
 
85
85
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
86
- var global$r =
87
- // eslint-disable-next-line es/no-global-this -- safe
86
+ var global$f =
87
+ // eslint-disable-next-line es-x/no-global-this -- safe
88
88
  check(typeof globalThis == 'object' && globalThis) ||
89
89
  check(typeof window == 'object' && window) ||
90
90
  // eslint-disable-next-line no-restricted-globals -- safe
91
91
  check(typeof self == 'object' && self) ||
92
92
  check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
93
93
  // eslint-disable-next-line no-new-func -- fallback
94
- (function () { return this; })() || Function('return this')();var objectGetOwnPropertyDescriptor = {};var fails$a = function (exec) {
94
+ (function () { return this; })() || Function('return this')();var objectGetOwnPropertyDescriptor = {};var fails$c = function (exec) {
95
95
  try {
96
96
  return !!exec();
97
97
  } catch (error) {
98
98
  return true;
99
99
  }
100
- };var fails$9 = fails$a;
100
+ };var fails$b = fails$c;
101
101
 
102
102
  // Detect IE8's incomplete defineProperty implementation
103
- var descriptors = !fails$9(function () {
104
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
103
+ var descriptors = !fails$b(function () {
104
+ // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
105
105
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
106
- });var fails$8 = fails$a;
106
+ });var fails$a = fails$c;
107
107
 
108
- var functionBindNative = !fails$8(function () {
108
+ var functionBindNative = !fails$a(function () {
109
+ // eslint-disable-next-line es-x/no-function-prototype-bind -- safe
109
110
  var test = (function () { /* empty */ }).bind();
110
111
  // eslint-disable-next-line no-prototype-builtins -- safe
111
112
  return typeof test != 'function' || test.hasOwnProperty('prototype');
112
- });var NATIVE_BIND$2 = functionBindNative;
113
+ });var NATIVE_BIND$3 = functionBindNative;
113
114
 
114
- var call$4 = Function.prototype.call;
115
+ var call$5 = Function.prototype.call;
115
116
 
116
- var functionCall = NATIVE_BIND$2 ? call$4.bind(call$4) : function () {
117
- return call$4.apply(call$4, arguments);
117
+ var functionCall = NATIVE_BIND$3 ? call$5.bind(call$5) : function () {
118
+ return call$5.apply(call$5, arguments);
118
119
  };var objectPropertyIsEnumerable = {};'use strict';
119
120
  var $propertyIsEnumerable$1 = {}.propertyIsEnumerable;
120
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
121
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
121
122
  var getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
122
123
 
123
124
  // Nashorn ~ JDK8 bug
@@ -135,49 +136,46 @@ var f$5 = objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumer
135
136
  writable: !(bitmap & 4),
136
137
  value: value
137
138
  };
138
- };var NATIVE_BIND$1 = functionBindNative;
139
+ };var NATIVE_BIND$2 = functionBindNative;
139
140
 
140
- var FunctionPrototype$2 = Function.prototype;
141
- var bind$2 = FunctionPrototype$2.bind;
142
- var call$3 = FunctionPrototype$2.call;
143
- var uncurryThis$i = NATIVE_BIND$1 && bind$2.bind(call$3, call$3);
141
+ var FunctionPrototype$3 = Function.prototype;
142
+ var bind$2 = FunctionPrototype$3.bind;
143
+ var call$4 = FunctionPrototype$3.call;
144
+ var uncurryThis$j = NATIVE_BIND$2 && bind$2.bind(call$4, call$4);
144
145
 
145
- var functionUncurryThis = NATIVE_BIND$1 ? function (fn) {
146
- return fn && uncurryThis$i(fn);
146
+ var functionUncurryThis = NATIVE_BIND$2 ? function (fn) {
147
+ return fn && uncurryThis$j(fn);
147
148
  } : function (fn) {
148
149
  return fn && function () {
149
- return call$3.apply(fn, arguments);
150
+ return call$4.apply(fn, arguments);
150
151
  };
151
- };var uncurryThis$h = functionUncurryThis;
152
+ };var uncurryThis$i = functionUncurryThis;
152
153
 
153
- var toString$4 = uncurryThis$h({}.toString);
154
- var stringSlice = uncurryThis$h(''.slice);
154
+ var toString$5 = uncurryThis$i({}.toString);
155
+ var stringSlice = uncurryThis$i(''.slice);
155
156
 
156
157
  var classofRaw$1 = function (it) {
157
- return stringSlice(toString$4(it), 8, -1);
158
- };var global$q = global$r;
159
- var uncurryThis$g = functionUncurryThis;
160
- var fails$7 = fails$a;
158
+ return stringSlice(toString$5(it), 8, -1);
159
+ };var uncurryThis$h = functionUncurryThis;
160
+ var fails$9 = fails$c;
161
161
  var classof$5 = classofRaw$1;
162
162
 
163
- var Object$4 = global$q.Object;
164
- var split = uncurryThis$g(''.split);
163
+ var $Object$3 = Object;
164
+ var split = uncurryThis$h(''.split);
165
165
 
166
166
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
167
- var indexedObject = fails$7(function () {
167
+ var indexedObject = fails$9(function () {
168
168
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
169
169
  // eslint-disable-next-line no-prototype-builtins -- safe
170
- return !Object$4('z').propertyIsEnumerable(0);
170
+ return !$Object$3('z').propertyIsEnumerable(0);
171
171
  }) ? function (it) {
172
- return classof$5(it) == 'String' ? split(it, '') : Object$4(it);
173
- } : Object$4;var global$p = global$r;
174
-
175
- var TypeError$9 = global$p.TypeError;
172
+ return classof$5(it) == 'String' ? split(it, '') : $Object$3(it);
173
+ } : $Object$3;var $TypeError$7 = TypeError;
176
174
 
177
175
  // `RequireObjectCoercible` abstract operation
178
176
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
179
177
  var requireObjectCoercible$3 = function (it) {
180
- if (it == undefined) throw TypeError$9("Can't call method on " + it);
178
+ if (it == undefined) throw $TypeError$7("Can't call method on " + it);
181
179
  return it;
182
180
  };// toObject with fallback for non-array-like ES3 strings
183
181
  var IndexedObject$1 = indexedObject;
@@ -187,30 +185,30 @@ var toIndexedObject$5 = function (it) {
187
185
  return IndexedObject$1(requireObjectCoercible$2(it));
188
186
  };// `IsCallable` abstract operation
189
187
  // https://tc39.es/ecma262/#sec-iscallable
190
- var isCallable$e = function (argument) {
188
+ var isCallable$g = function (argument) {
191
189
  return typeof argument == 'function';
192
- };var isCallable$d = isCallable$e;
190
+ };var isCallable$f = isCallable$g;
193
191
 
194
192
  var isObject$8 = function (it) {
195
- return typeof it == 'object' ? it !== null : isCallable$d(it);
196
- };var global$o = global$r;
197
- var isCallable$c = isCallable$e;
193
+ return typeof it == 'object' ? it !== null : isCallable$f(it);
194
+ };var global$e = global$f;
195
+ var isCallable$e = isCallable$g;
198
196
 
199
197
  var aFunction = function (argument) {
200
- return isCallable$c(argument) ? argument : undefined;
198
+ return isCallable$e(argument) ? argument : undefined;
201
199
  };
202
200
 
203
201
  var getBuiltIn$5 = function (namespace, method) {
204
- return arguments.length < 2 ? aFunction(global$o[namespace]) : global$o[namespace] && global$o[namespace][method];
205
- };var uncurryThis$f = functionUncurryThis;
202
+ return arguments.length < 2 ? aFunction(global$e[namespace]) : global$e[namespace] && global$e[namespace][method];
203
+ };var uncurryThis$g = functionUncurryThis;
206
204
 
207
- var objectIsPrototypeOf = uncurryThis$f({}.isPrototypeOf);var getBuiltIn$4 = getBuiltIn$5;
205
+ var objectIsPrototypeOf = uncurryThis$g({}.isPrototypeOf);var getBuiltIn$4 = getBuiltIn$5;
208
206
 
209
- var engineUserAgent = getBuiltIn$4('navigator', 'userAgent') || '';var global$n = global$r;
210
- var userAgent = engineUserAgent;
207
+ var engineUserAgent = getBuiltIn$4('navigator', 'userAgent') || '';var global$d = global$f;
208
+ var userAgent$1 = engineUserAgent;
211
209
 
212
- var process = global$n.process;
213
- var Deno = global$n.Deno;
210
+ var process = global$d.process;
211
+ var Deno = global$d.Deno;
214
212
  var versions = process && process.versions || Deno && Deno.version;
215
213
  var v8 = versions && versions.v8;
216
214
  var match, version;
@@ -224,66 +222,62 @@ if (v8) {
224
222
 
225
223
  // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
226
224
  // so check `userAgent` even if `.v8` exists, but 0
227
- if (!version && userAgent) {
228
- match = userAgent.match(/Edge\/(\d+)/);
225
+ if (!version && userAgent$1) {
226
+ match = userAgent$1.match(/Edge\/(\d+)/);
229
227
  if (!match || match[1] >= 74) {
230
- match = userAgent.match(/Chrome\/(\d+)/);
228
+ match = userAgent$1.match(/Chrome\/(\d+)/);
231
229
  if (match) version = +match[1];
232
230
  }
233
231
  }
234
232
 
235
- var engineV8Version = version;/* eslint-disable es/no-symbol -- required for testing */
233
+ var engineV8Version = version;/* eslint-disable es-x/no-symbol -- required for testing */
236
234
 
237
235
  var V8_VERSION = engineV8Version;
238
- var fails$6 = fails$a;
236
+ var fails$8 = fails$c;
239
237
 
240
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
241
- var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$6(function () {
238
+ // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
239
+ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$8(function () {
242
240
  var symbol = Symbol();
243
241
  // Chrome 38 Symbol has incorrect toString conversion
244
242
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
245
243
  return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
246
244
  // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
247
245
  !Symbol.sham && V8_VERSION && V8_VERSION < 41;
248
- });/* eslint-disable es/no-symbol -- required for testing */
246
+ });/* eslint-disable es-x/no-symbol -- required for testing */
249
247
 
250
248
  var NATIVE_SYMBOL$1 = nativeSymbol;
251
249
 
252
250
  var useSymbolAsUid = NATIVE_SYMBOL$1
253
251
  && !Symbol.sham
254
- && typeof Symbol.iterator == 'symbol';var global$m = global$r;
255
- var getBuiltIn$3 = getBuiltIn$5;
256
- var isCallable$b = isCallable$e;
252
+ && typeof Symbol.iterator == 'symbol';var getBuiltIn$3 = getBuiltIn$5;
253
+ var isCallable$d = isCallable$g;
257
254
  var isPrototypeOf$1 = objectIsPrototypeOf;
258
255
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
259
256
 
260
- var Object$3 = global$m.Object;
257
+ var $Object$2 = Object;
261
258
 
262
- var isSymbol$3 = USE_SYMBOL_AS_UID$1 ? function (it) {
259
+ var isSymbol$4 = USE_SYMBOL_AS_UID$1 ? function (it) {
263
260
  return typeof it == 'symbol';
264
261
  } : function (it) {
265
262
  var $Symbol = getBuiltIn$3('Symbol');
266
- return isCallable$b($Symbol) && isPrototypeOf$1($Symbol.prototype, Object$3(it));
267
- };var global$l = global$r;
268
-
269
- var String$4 = global$l.String;
263
+ return isCallable$d($Symbol) && isPrototypeOf$1($Symbol.prototype, $Object$2(it));
264
+ };var $String$3 = String;
270
265
 
271
266
  var tryToString$1 = function (argument) {
272
267
  try {
273
- return String$4(argument);
268
+ return $String$3(argument);
274
269
  } catch (error) {
275
270
  return 'Object';
276
271
  }
277
- };var global$k = global$r;
278
- var isCallable$a = isCallable$e;
272
+ };var isCallable$c = isCallable$g;
279
273
  var tryToString = tryToString$1;
280
274
 
281
- var TypeError$8 = global$k.TypeError;
275
+ var $TypeError$6 = TypeError;
282
276
 
283
277
  // `Assert: IsCallable(argument) is true`
284
278
  var aCallable$2 = function (argument) {
285
- if (isCallable$a(argument)) return argument;
286
- throw TypeError$8(tryToString(argument) + ' is not a function');
279
+ if (isCallable$c(argument)) return argument;
280
+ throw $TypeError$6(tryToString(argument) + ' is not a function');
287
281
  };var aCallable$1 = aCallable$2;
288
282
 
289
283
  // `GetMethod` abstract operation
@@ -291,37 +285,36 @@ var aCallable$2 = function (argument) {
291
285
  var getMethod$1 = function (V, P) {
292
286
  var func = V[P];
293
287
  return func == null ? undefined : aCallable$1(func);
294
- };var global$j = global$r;
295
- var call$2 = functionCall;
296
- var isCallable$9 = isCallable$e;
288
+ };var call$3 = functionCall;
289
+ var isCallable$b = isCallable$g;
297
290
  var isObject$7 = isObject$8;
298
291
 
299
- var TypeError$7 = global$j.TypeError;
292
+ var $TypeError$5 = TypeError;
300
293
 
301
294
  // `OrdinaryToPrimitive` abstract operation
302
295
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
303
296
  var ordinaryToPrimitive$1 = function (input, pref) {
304
297
  var fn, val;
305
- if (pref === 'string' && isCallable$9(fn = input.toString) && !isObject$7(val = call$2(fn, input))) return val;
306
- if (isCallable$9(fn = input.valueOf) && !isObject$7(val = call$2(fn, input))) return val;
307
- if (pref !== 'string' && isCallable$9(fn = input.toString) && !isObject$7(val = call$2(fn, input))) return val;
308
- throw TypeError$7("Can't convert object to primitive value");
309
- };var shared$4 = {exports: {}};var isPure = false;var global$i = global$r;
298
+ if (pref === 'string' && isCallable$b(fn = input.toString) && !isObject$7(val = call$3(fn, input))) return val;
299
+ if (isCallable$b(fn = input.valueOf) && !isObject$7(val = call$3(fn, input))) return val;
300
+ if (pref !== 'string' && isCallable$b(fn = input.toString) && !isObject$7(val = call$3(fn, input))) return val;
301
+ throw $TypeError$5("Can't convert object to primitive value");
302
+ };var shared$4 = {exports: {}};var isPure = false;var global$c = global$f;
310
303
 
311
- // eslint-disable-next-line es/no-object-defineproperty -- safe
312
- var defineProperty$2 = Object.defineProperty;
304
+ // eslint-disable-next-line es-x/no-object-defineproperty -- safe
305
+ var defineProperty$4 = Object.defineProperty;
313
306
 
314
- var setGlobal$3 = function (key, value) {
307
+ var defineGlobalProperty$3 = function (key, value) {
315
308
  try {
316
- defineProperty$2(global$i, key, { value: value, configurable: true, writable: true });
309
+ defineProperty$4(global$c, key, { value: value, configurable: true, writable: true });
317
310
  } catch (error) {
318
- global$i[key] = value;
311
+ global$c[key] = value;
319
312
  } return value;
320
- };var global$h = global$r;
321
- var setGlobal$2 = setGlobal$3;
313
+ };var global$b = global$f;
314
+ var defineGlobalProperty$2 = defineGlobalProperty$3;
322
315
 
323
316
  var SHARED = '__core-js_shared__';
324
- var store$3 = global$h[SHARED] || setGlobal$2(SHARED, {});
317
+ var store$3 = global$b[SHARED] || defineGlobalProperty$2(SHARED, {});
325
318
 
326
319
  var sharedStore = store$3;var IS_PURE = isPure;
327
320
  var store$2 = sharedStore;
@@ -329,40 +322,40 @@ var store$2 = sharedStore;
329
322
  (shared$4.exports = function (key, value) {
330
323
  return store$2[key] || (store$2[key] = value !== undefined ? value : {});
331
324
  })('versions', []).push({
332
- version: '3.21.1',
325
+ version: '3.23.3',
333
326
  mode: IS_PURE ? 'pure' : 'global',
334
327
  copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
335
- license: 'https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE',
328
+ license: 'https://github.com/zloirock/core-js/blob/v3.23.3/LICENSE',
336
329
  source: 'https://github.com/zloirock/core-js'
337
330
  });
338
331
 
339
- var shared$3 = shared$4.exports;var global$g = global$r;
340
- var requireObjectCoercible$1 = requireObjectCoercible$3;
332
+ var shared$3 = shared$4.exports;var requireObjectCoercible$1 = requireObjectCoercible$3;
341
333
 
342
- var Object$2 = global$g.Object;
334
+ var $Object$1 = Object;
343
335
 
344
336
  // `ToObject` abstract operation
345
337
  // https://tc39.es/ecma262/#sec-toobject
346
338
  var toObject$2 = function (argument) {
347
- return Object$2(requireObjectCoercible$1(argument));
348
- };var uncurryThis$e = functionUncurryThis;
339
+ return $Object$1(requireObjectCoercible$1(argument));
340
+ };var uncurryThis$f = functionUncurryThis;
349
341
  var toObject$1 = toObject$2;
350
342
 
351
- var hasOwnProperty = uncurryThis$e({}.hasOwnProperty);
343
+ var hasOwnProperty$1 = uncurryThis$f({}.hasOwnProperty);
352
344
 
353
345
  // `HasOwnProperty` abstract operation
354
346
  // https://tc39.es/ecma262/#sec-hasownproperty
347
+ // eslint-disable-next-line es-x/no-object-hasown -- safe
355
348
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
356
- return hasOwnProperty(toObject$1(it), key);
357
- };var uncurryThis$d = functionUncurryThis;
349
+ return hasOwnProperty$1(toObject$1(it), key);
350
+ };var uncurryThis$e = functionUncurryThis;
358
351
 
359
352
  var id = 0;
360
353
  var postfix = Math.random();
361
- var toString$3 = uncurryThis$d(1.0.toString);
354
+ var toString$4 = uncurryThis$e(1.0.toString);
362
355
 
363
356
  var uid$2 = function (key) {
364
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
365
- };var global$f = global$r;
357
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$4(++id + postfix, 36);
358
+ };var global$a = global$f;
366
359
  var shared$2 = shared$4.exports;
367
360
  var hasOwn$7 = hasOwnProperty_1;
368
361
  var uid$1 = uid$2;
@@ -370,75 +363,74 @@ var NATIVE_SYMBOL = nativeSymbol;
370
363
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
371
364
 
372
365
  var WellKnownSymbolsStore = shared$2('wks');
373
- var Symbol$1 = global$f.Symbol;
374
- var symbolFor = Symbol$1 && Symbol$1['for'];
375
- var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
366
+ var Symbol$2 = global$a.Symbol;
367
+ var symbolFor = Symbol$2 && Symbol$2['for'];
368
+ var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$2 : Symbol$2 && Symbol$2.withoutSetter || uid$1;
376
369
 
377
370
  var wellKnownSymbol$5 = function (name) {
378
371
  if (!hasOwn$7(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
379
372
  var description = 'Symbol.' + name;
380
- if (NATIVE_SYMBOL && hasOwn$7(Symbol$1, name)) {
381
- WellKnownSymbolsStore[name] = Symbol$1[name];
373
+ if (NATIVE_SYMBOL && hasOwn$7(Symbol$2, name)) {
374
+ WellKnownSymbolsStore[name] = Symbol$2[name];
382
375
  } else if (USE_SYMBOL_AS_UID && symbolFor) {
383
376
  WellKnownSymbolsStore[name] = symbolFor(description);
384
377
  } else {
385
378
  WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
386
379
  }
387
380
  } return WellKnownSymbolsStore[name];
388
- };var global$e = global$r;
389
- var call$1 = functionCall;
381
+ };var call$2 = functionCall;
390
382
  var isObject$6 = isObject$8;
391
- var isSymbol$2 = isSymbol$3;
383
+ var isSymbol$3 = isSymbol$4;
392
384
  var getMethod = getMethod$1;
393
385
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
394
386
  var wellKnownSymbol$4 = wellKnownSymbol$5;
395
387
 
396
- var TypeError$6 = global$e.TypeError;
388
+ var $TypeError$4 = TypeError;
397
389
  var TO_PRIMITIVE = wellKnownSymbol$4('toPrimitive');
398
390
 
399
391
  // `ToPrimitive` abstract operation
400
392
  // https://tc39.es/ecma262/#sec-toprimitive
401
393
  var toPrimitive$2 = function (input, pref) {
402
- if (!isObject$6(input) || isSymbol$2(input)) return input;
394
+ if (!isObject$6(input) || isSymbol$3(input)) return input;
403
395
  var exoticToPrim = getMethod(input, TO_PRIMITIVE);
404
396
  var result;
405
397
  if (exoticToPrim) {
406
398
  if (pref === undefined) pref = 'default';
407
- result = call$1(exoticToPrim, input, pref);
408
- if (!isObject$6(result) || isSymbol$2(result)) return result;
409
- throw TypeError$6("Can't convert object to primitive value");
399
+ result = call$2(exoticToPrim, input, pref);
400
+ if (!isObject$6(result) || isSymbol$3(result)) return result;
401
+ throw $TypeError$4("Can't convert object to primitive value");
410
402
  }
411
403
  if (pref === undefined) pref = 'number';
412
404
  return ordinaryToPrimitive(input, pref);
413
405
  };var toPrimitive$1 = toPrimitive$2;
414
- var isSymbol$1 = isSymbol$3;
406
+ var isSymbol$2 = isSymbol$4;
415
407
 
416
408
  // `ToPropertyKey` abstract operation
417
409
  // https://tc39.es/ecma262/#sec-topropertykey
418
410
  var toPropertyKey$2 = function (argument) {
419
411
  var key = toPrimitive$1(argument, 'string');
420
- return isSymbol$1(key) ? key : key + '';
421
- };var global$d = global$r;
412
+ return isSymbol$2(key) ? key : key + '';
413
+ };var global$9 = global$f;
422
414
  var isObject$5 = isObject$8;
423
415
 
424
- var document$1 = global$d.document;
416
+ var document$1 = global$9.document;
425
417
  // typeof document.createElement is 'object' in old IE
426
418
  var EXISTS$1 = isObject$5(document$1) && isObject$5(document$1.createElement);
427
419
 
428
420
  var documentCreateElement$2 = function (it) {
429
421
  return EXISTS$1 ? document$1.createElement(it) : {};
430
- };var DESCRIPTORS$9 = descriptors;
431
- var fails$5 = fails$a;
422
+ };var DESCRIPTORS$a = descriptors;
423
+ var fails$7 = fails$c;
432
424
  var createElement = documentCreateElement$2;
433
425
 
434
426
  // Thanks to IE8 for its funny defineProperty
435
- var ie8DomDefine = !DESCRIPTORS$9 && !fails$5(function () {
436
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
427
+ var ie8DomDefine = !DESCRIPTORS$a && !fails$7(function () {
428
+ // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
437
429
  return Object.defineProperty(createElement('div'), 'a', {
438
430
  get: function () { return 7; }
439
431
  }).a != 7;
440
- });var DESCRIPTORS$8 = descriptors;
441
- var call = functionCall;
432
+ });var DESCRIPTORS$9 = descriptors;
433
+ var call$1 = functionCall;
442
434
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
443
435
  var createPropertyDescriptor$1 = createPropertyDescriptor$2;
444
436
  var toIndexedObject$4 = toIndexedObject$5;
@@ -446,50 +438,48 @@ var toPropertyKey$1 = toPropertyKey$2;
446
438
  var hasOwn$6 = hasOwnProperty_1;
447
439
  var IE8_DOM_DEFINE$1 = ie8DomDefine;
448
440
 
449
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
441
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
450
442
  var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
451
443
 
452
444
  // `Object.getOwnPropertyDescriptor` method
453
445
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
454
- var f$4 = objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
446
+ var f$4 = objectGetOwnPropertyDescriptor.f = DESCRIPTORS$9 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
455
447
  O = toIndexedObject$4(O);
456
448
  P = toPropertyKey$1(P);
457
449
  if (IE8_DOM_DEFINE$1) try {
458
450
  return $getOwnPropertyDescriptor$1(O, P);
459
451
  } catch (error) { /* empty */ }
460
- if (hasOwn$6(O, P)) return createPropertyDescriptor$1(!call(propertyIsEnumerableModule.f, O, P), O[P]);
461
- };var objectDefineProperty = {};var DESCRIPTORS$7 = descriptors;
462
- var fails$4 = fails$a;
452
+ if (hasOwn$6(O, P)) return createPropertyDescriptor$1(!call$1(propertyIsEnumerableModule.f, O, P), O[P]);
453
+ };var objectDefineProperty = {};var DESCRIPTORS$8 = descriptors;
454
+ var fails$6 = fails$c;
463
455
 
464
456
  // V8 ~ Chrome 36-
465
457
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
466
- var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$4(function () {
467
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
458
+ var v8PrototypeDefineBug = DESCRIPTORS$8 && fails$6(function () {
459
+ // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
468
460
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
469
461
  value: 42,
470
462
  writable: false
471
463
  }).prototype != 42;
472
- });var global$c = global$r;
473
- var isObject$4 = isObject$8;
464
+ });var isObject$4 = isObject$8;
474
465
 
475
- var String$3 = global$c.String;
476
- var TypeError$5 = global$c.TypeError;
466
+ var $String$2 = String;
467
+ var $TypeError$3 = TypeError;
477
468
 
478
469
  // `Assert: Type(argument) is Object`
479
470
  var anObject$5 = function (argument) {
480
471
  if (isObject$4(argument)) return argument;
481
- throw TypeError$5(String$3(argument) + ' is not an object');
482
- };var global$b = global$r;
483
- var DESCRIPTORS$6 = descriptors;
472
+ throw $TypeError$3($String$2(argument) + ' is not an object');
473
+ };var DESCRIPTORS$7 = descriptors;
484
474
  var IE8_DOM_DEFINE = ie8DomDefine;
485
475
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
486
476
  var anObject$4 = anObject$5;
487
477
  var toPropertyKey = toPropertyKey$2;
488
478
 
489
- var TypeError$4 = global$b.TypeError;
490
- // eslint-disable-next-line es/no-object-defineproperty -- safe
479
+ var $TypeError$2 = TypeError;
480
+ // eslint-disable-next-line es-x/no-object-defineproperty -- safe
491
481
  var $defineProperty = Object.defineProperty;
492
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
482
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
493
483
  var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
494
484
  var ENUMERABLE = 'enumerable';
495
485
  var CONFIGURABLE$1 = 'configurable';
@@ -497,7 +487,7 @@ var WRITABLE = 'writable';
497
487
 
498
488
  // `Object.defineProperty` method
499
489
  // https://tc39.es/ecma262/#sec-object.defineproperty
500
- var f$3 = objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
490
+ var f$3 = objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
501
491
  anObject$4(O);
502
492
  P = toPropertyKey(P);
503
493
  anObject$4(Attributes);
@@ -519,38 +509,54 @@ var f$3 = objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? f
519
509
  if (IE8_DOM_DEFINE) try {
520
510
  return $defineProperty(O, P, Attributes);
521
511
  } catch (error) { /* empty */ }
522
- if ('get' in Attributes || 'set' in Attributes) throw TypeError$4('Accessors not supported');
512
+ if ('get' in Attributes || 'set' in Attributes) throw $TypeError$2('Accessors not supported');
523
513
  if ('value' in Attributes) O[P] = Attributes.value;
524
514
  return O;
525
- };var DESCRIPTORS$5 = descriptors;
515
+ };var DESCRIPTORS$6 = descriptors;
526
516
  var definePropertyModule$3 = objectDefineProperty;
527
517
  var createPropertyDescriptor = createPropertyDescriptor$2;
528
518
 
529
- var createNonEnumerableProperty$4 = DESCRIPTORS$5 ? function (object, key, value) {
519
+ var createNonEnumerableProperty$3 = DESCRIPTORS$6 ? function (object, key, value) {
530
520
  return definePropertyModule$3.f(object, key, createPropertyDescriptor(1, value));
531
521
  } : function (object, key, value) {
532
522
  object[key] = value;
533
523
  return object;
534
- };var redefine$4 = {exports: {}};var uncurryThis$c = functionUncurryThis;
535
- var isCallable$8 = isCallable$e;
524
+ };var makeBuiltIn$2 = {exports: {}};var DESCRIPTORS$5 = descriptors;
525
+ var hasOwn$5 = hasOwnProperty_1;
526
+
527
+ var FunctionPrototype$2 = Function.prototype;
528
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
529
+ var getDescriptor = DESCRIPTORS$5 && Object.getOwnPropertyDescriptor;
530
+
531
+ var EXISTS = hasOwn$5(FunctionPrototype$2, 'name');
532
+ // additional protection from minified / mangled / dropped function names
533
+ var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
534
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$5 || (DESCRIPTORS$5 && getDescriptor(FunctionPrototype$2, 'name').configurable));
535
+
536
+ var functionName = {
537
+ EXISTS: EXISTS,
538
+ PROPER: PROPER,
539
+ CONFIGURABLE: CONFIGURABLE
540
+ };var uncurryThis$d = functionUncurryThis;
541
+ var isCallable$a = isCallable$g;
536
542
  var store$1 = sharedStore;
537
543
 
538
- var functionToString$1 = uncurryThis$c(Function.toString);
544
+ var functionToString$1 = uncurryThis$d(Function.toString);
539
545
 
540
546
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
541
- if (!isCallable$8(store$1.inspectSource)) {
547
+ if (!isCallable$a(store$1.inspectSource)) {
542
548
  store$1.inspectSource = function (it) {
543
549
  return functionToString$1(it);
544
550
  };
545
551
  }
546
552
 
547
- var inspectSource$3 = store$1.inspectSource;var global$a = global$r;
548
- var isCallable$7 = isCallable$e;
553
+ var inspectSource$3 = store$1.inspectSource;var global$8 = global$f;
554
+ var isCallable$9 = isCallable$g;
549
555
  var inspectSource$2 = inspectSource$3;
550
556
 
551
- var WeakMap$1 = global$a.WeakMap;
557
+ var WeakMap$1 = global$8.WeakMap;
552
558
 
553
- var nativeWeakMap = isCallable$7(WeakMap$1) && /native code/.test(inspectSource$2(WeakMap$1));var shared$1 = shared$4.exports;
559
+ var nativeWeakMap = isCallable$9(WeakMap$1) && /native code/.test(inspectSource$2(WeakMap$1));var shared$1 = shared$4.exports;
554
560
  var uid = uid$2;
555
561
 
556
562
  var keys$1 = shared$1('keys');
@@ -558,18 +564,18 @@ var keys$1 = shared$1('keys');
558
564
  var sharedKey$2 = function (key) {
559
565
  return keys$1[key] || (keys$1[key] = uid(key));
560
566
  };var hiddenKeys$4 = {};var NATIVE_WEAK_MAP = nativeWeakMap;
561
- var global$9 = global$r;
562
- var uncurryThis$b = functionUncurryThis;
567
+ var global$7 = global$f;
568
+ var uncurryThis$c = functionUncurryThis;
563
569
  var isObject$3 = isObject$8;
564
- var createNonEnumerableProperty$3 = createNonEnumerableProperty$4;
565
- var hasOwn$5 = hasOwnProperty_1;
570
+ var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;
571
+ var hasOwn$4 = hasOwnProperty_1;
566
572
  var shared = sharedStore;
567
573
  var sharedKey$1 = sharedKey$2;
568
574
  var hiddenKeys$3 = hiddenKeys$4;
569
575
 
570
576
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
571
- var TypeError$3 = global$9.TypeError;
572
- var WeakMap = global$9.WeakMap;
577
+ var TypeError$2 = global$7.TypeError;
578
+ var WeakMap = global$7.WeakMap;
573
579
  var set$1, get, has;
574
580
 
575
581
  var enforce = function (it) {
@@ -580,18 +586,18 @@ var getterFor = function (TYPE) {
580
586
  return function (it) {
581
587
  var state;
582
588
  if (!isObject$3(it) || (state = get(it)).type !== TYPE) {
583
- throw TypeError$3('Incompatible receiver, ' + TYPE + ' required');
589
+ throw TypeError$2('Incompatible receiver, ' + TYPE + ' required');
584
590
  } return state;
585
591
  };
586
592
  };
587
593
 
588
594
  if (NATIVE_WEAK_MAP || shared.state) {
589
595
  var store = shared.state || (shared.state = new WeakMap());
590
- var wmget = uncurryThis$b(store.get);
591
- var wmhas = uncurryThis$b(store.has);
592
- var wmset = uncurryThis$b(store.set);
596
+ var wmget = uncurryThis$c(store.get);
597
+ var wmhas = uncurryThis$c(store.has);
598
+ var wmset = uncurryThis$c(store.set);
593
599
  set$1 = function (it, metadata) {
594
- if (wmhas(store, it)) throw new TypeError$3(OBJECT_ALREADY_INITIALIZED);
600
+ if (wmhas(store, it)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
595
601
  metadata.facade = it;
596
602
  wmset(store, it, metadata);
597
603
  return metadata;
@@ -606,16 +612,16 @@ if (NATIVE_WEAK_MAP || shared.state) {
606
612
  var STATE = sharedKey$1('state');
607
613
  hiddenKeys$3[STATE] = true;
608
614
  set$1 = function (it, metadata) {
609
- if (hasOwn$5(it, STATE)) throw new TypeError$3(OBJECT_ALREADY_INITIALIZED);
615
+ if (hasOwn$4(it, STATE)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
610
616
  metadata.facade = it;
611
- createNonEnumerableProperty$3(it, STATE, metadata);
617
+ createNonEnumerableProperty$2(it, STATE, metadata);
612
618
  return metadata;
613
619
  };
614
620
  get = function (it) {
615
- return hasOwn$5(it, STATE) ? it[STATE] : {};
621
+ return hasOwn$4(it, STATE) ? it[STATE] : {};
616
622
  };
617
623
  has = function (it) {
618
- return hasOwn$5(it, STATE);
624
+ return hasOwn$4(it, STATE);
619
625
  };
620
626
  }
621
627
 
@@ -625,78 +631,99 @@ var internalState = {
625
631
  has: has,
626
632
  enforce: enforce,
627
633
  getterFor: getterFor
628
- };var DESCRIPTORS$4 = descriptors;
629
- var hasOwn$4 = hasOwnProperty_1;
630
-
631
- var FunctionPrototype$1 = Function.prototype;
632
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
633
- var getDescriptor = DESCRIPTORS$4 && Object.getOwnPropertyDescriptor;
634
-
635
- var EXISTS = hasOwn$4(FunctionPrototype$1, 'name');
636
- // additional protection from minified / mangled / dropped function names
637
- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
638
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype$1, 'name').configurable));
639
-
640
- var functionName = {
641
- EXISTS: EXISTS,
642
- PROPER: PROPER,
643
- CONFIGURABLE: CONFIGURABLE
644
- };var global$8 = global$r;
645
- var isCallable$6 = isCallable$e;
634
+ };var fails$5 = fails$c;
635
+ var isCallable$8 = isCallable$g;
646
636
  var hasOwn$3 = hasOwnProperty_1;
647
- var createNonEnumerableProperty$2 = createNonEnumerableProperty$4;
648
- var setGlobal$1 = setGlobal$3;
637
+ var DESCRIPTORS$4 = descriptors;
638
+ var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
649
639
  var inspectSource$1 = inspectSource$3;
650
640
  var InternalStateModule = internalState;
651
- var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
652
641
 
653
- var getInternalState = InternalStateModule.get;
654
642
  var enforceInternalState = InternalStateModule.enforce;
643
+ var getInternalState = InternalStateModule.get;
644
+ // eslint-disable-next-line es-x/no-object-defineproperty -- safe
645
+ var defineProperty$3 = Object.defineProperty;
646
+
647
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$4 && !fails$5(function () {
648
+ return defineProperty$3(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
649
+ });
650
+
655
651
  var TEMPLATE = String(String).split('String');
656
652
 
657
- (redefine$4.exports = function (O, key, value, options) {
658
- var unsafe = options ? !!options.unsafe : false;
659
- var simple = options ? !!options.enumerable : false;
660
- var noTargetGet = options ? !!options.noTargetGet : false;
661
- var name = options && options.name !== undefined ? options.name : key;
662
- var state;
663
- if (isCallable$6(value)) {
664
- if (String(name).slice(0, 7) === 'Symbol(') {
665
- name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
666
- }
667
- if (!hasOwn$3(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
668
- createNonEnumerableProperty$2(value, 'name', name);
669
- }
670
- state = enforceInternalState(value);
671
- if (!state.source) {
672
- state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
673
- }
653
+ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
654
+ if (String(name).slice(0, 7) === 'Symbol(') {
655
+ name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
674
656
  }
675
- if (O === global$8) {
676
- if (simple) O[key] = value;
677
- else setGlobal$1(key, value);
678
- return;
679
- } else if (!unsafe) {
680
- delete O[key];
681
- } else if (!noTargetGet && O[key]) {
682
- simple = true;
657
+ if (options && options.getter) name = 'get ' + name;
658
+ if (options && options.setter) name = 'set ' + name;
659
+ if (!hasOwn$3(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
660
+ if (DESCRIPTORS$4) defineProperty$3(value, 'name', { value: name, configurable: true });
661
+ else value.name = name;
662
+ }
663
+ if (CONFIGURABLE_LENGTH && options && hasOwn$3(options, 'arity') && value.length !== options.arity) {
664
+ defineProperty$3(value, 'length', { value: options.arity });
683
665
  }
684
- if (simple) O[key] = value;
685
- else createNonEnumerableProperty$2(O, key, value);
666
+ try {
667
+ if (options && hasOwn$3(options, 'constructor') && options.constructor) {
668
+ if (DESCRIPTORS$4) defineProperty$3(value, 'prototype', { writable: false });
669
+ // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
670
+ } else if (value.prototype) value.prototype = undefined;
671
+ } catch (error) { /* empty */ }
672
+ var state = enforceInternalState(value);
673
+ if (!hasOwn$3(state, 'source')) {
674
+ state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
675
+ } return value;
676
+ };
677
+
686
678
  // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
687
- })(Function.prototype, 'toString', function toString() {
688
- return isCallable$6(this) && getInternalState(this).source || inspectSource$1(this);
689
- });
679
+ // eslint-disable-next-line no-extend-native -- required
680
+ Function.prototype.toString = makeBuiltIn$1(function toString() {
681
+ return isCallable$8(this) && getInternalState(this).source || inspectSource$1(this);
682
+ }, 'toString');
690
683
 
691
- var redefine$3 = redefine$4.exports;var objectGetOwnPropertyNames = {};var ceil = Math.ceil;
684
+ var makeBuiltIn_1 = makeBuiltIn$2.exports;var isCallable$7 = isCallable$g;
685
+ var definePropertyModule$2 = objectDefineProperty;
686
+ var makeBuiltIn = makeBuiltIn$2.exports;
687
+ var defineGlobalProperty$1 = defineGlobalProperty$3;
688
+
689
+ var defineBuiltIn$3 = function (O, key, value, options) {
690
+ if (!options) options = {};
691
+ var simple = options.enumerable;
692
+ var name = options.name !== undefined ? options.name : key;
693
+ if (isCallable$7(value)) makeBuiltIn(value, name, options);
694
+ if (options.global) {
695
+ if (simple) O[key] = value;
696
+ else defineGlobalProperty$1(key, value);
697
+ } else {
698
+ try {
699
+ if (!options.unsafe) delete O[key];
700
+ else if (O[key]) simple = true;
701
+ } catch (error) { /* empty */ }
702
+ if (simple) O[key] = value;
703
+ else definePropertyModule$2.f(O, key, {
704
+ value: value,
705
+ enumerable: false,
706
+ configurable: !options.nonConfigurable,
707
+ writable: !options.nonWritable
708
+ });
709
+ } return O;
710
+ };var objectGetOwnPropertyNames = {};var ceil = Math.ceil;
692
711
  var floor = Math.floor;
693
712
 
713
+ // `Math.trunc` method
714
+ // https://tc39.es/ecma262/#sec-math.trunc
715
+ // eslint-disable-next-line es-x/no-math-trunc -- safe
716
+ var mathTrunc = Math.trunc || function trunc(x) {
717
+ var n = +x;
718
+ return (n > 0 ? floor : ceil)(n);
719
+ };var trunc = mathTrunc;
720
+
694
721
  // `ToIntegerOrInfinity` abstract operation
695
722
  // https://tc39.es/ecma262/#sec-tointegerorinfinity
696
723
  var toIntegerOrInfinity$2 = function (argument) {
697
724
  var number = +argument;
698
- // eslint-disable-next-line no-self-compare -- safe
699
- return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);
725
+ // eslint-disable-next-line no-self-compare -- NaN check
726
+ return number !== number || number === 0 ? 0 : trunc(number);
700
727
  };var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
701
728
 
702
729
  var max = Math.max;
@@ -753,13 +780,13 @@ var arrayIncludes = {
753
780
  // `Array.prototype.indexOf` method
754
781
  // https://tc39.es/ecma262/#sec-array.prototype.indexof
755
782
  indexOf: createMethod$3(false)
756
- };var uncurryThis$a = functionUncurryThis;
783
+ };var uncurryThis$b = functionUncurryThis;
757
784
  var hasOwn$2 = hasOwnProperty_1;
758
785
  var toIndexedObject$2 = toIndexedObject$5;
759
786
  var indexOf = arrayIncludes.indexOf;
760
787
  var hiddenKeys$2 = hiddenKeys$4;
761
788
 
762
- var push$2 = uncurryThis$a([].push);
789
+ var push$2 = uncurryThis$b([].push);
763
790
 
764
791
  var objectKeysInternal = function (object, names) {
765
792
  var O = toIndexedObject$2(object);
@@ -788,31 +815,31 @@ var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');
788
815
 
789
816
  // `Object.getOwnPropertyNames` method
790
817
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
791
- // eslint-disable-next-line es/no-object-getownpropertynames -- safe
818
+ // eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
792
819
  var f$2 = objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
793
820
  return internalObjectKeys$1(O, hiddenKeys$1);
794
- };var objectGetOwnPropertySymbols = {};// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
821
+ };var objectGetOwnPropertySymbols = {};// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
795
822
  var f$1 = objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;var getBuiltIn$2 = getBuiltIn$5;
796
- var uncurryThis$9 = functionUncurryThis;
823
+ var uncurryThis$a = functionUncurryThis;
797
824
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
798
825
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
799
826
  var anObject$3 = anObject$5;
800
827
 
801
- var concat = uncurryThis$9([].concat);
828
+ var concat = uncurryThis$a([].concat);
802
829
 
803
830
  // all object keys, includes non-enumerable and symbols
804
- var ownKeys$1 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {
831
+ var ownKeys$2 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {
805
832
  var keys = getOwnPropertyNamesModule.f(anObject$3(it));
806
833
  var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
807
834
  return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
808
835
  };var hasOwn$1 = hasOwnProperty_1;
809
- var ownKeys = ownKeys$1;
836
+ var ownKeys$1 = ownKeys$2;
810
837
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
811
- var definePropertyModule$2 = objectDefineProperty;
838
+ var definePropertyModule$1 = objectDefineProperty;
812
839
 
813
840
  var copyConstructorProperties$1 = function (target, source, exceptions) {
814
- var keys = ownKeys(source);
815
- var defineProperty = definePropertyModule$2.f;
841
+ var keys = ownKeys$1(source);
842
+ var defineProperty = definePropertyModule$1.f;
816
843
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
817
844
  for (var i = 0; i < keys.length; i++) {
818
845
  var key = keys[i];
@@ -820,8 +847,8 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
820
847
  defineProperty(target, key, getOwnPropertyDescriptor(source, key));
821
848
  }
822
849
  }
823
- };var fails$3 = fails$a;
824
- var isCallable$5 = isCallable$e;
850
+ };var fails$4 = fails$c;
851
+ var isCallable$6 = isCallable$g;
825
852
 
826
853
  var replacement = /#|\.prototype\./;
827
854
 
@@ -829,7 +856,7 @@ var isForced$2 = function (feature, detection) {
829
856
  var value = data[normalize(feature)];
830
857
  return value == POLYFILL ? true
831
858
  : value == NATIVE ? false
832
- : isCallable$5(detection) ? fails$3(detection)
859
+ : isCallable$6(detection) ? fails$4(detection)
833
860
  : !!detection;
834
861
  };
835
862
 
@@ -841,28 +868,28 @@ var data = isForced$2.data = {};
841
868
  var NATIVE = isForced$2.NATIVE = 'N';
842
869
  var POLYFILL = isForced$2.POLYFILL = 'P';
843
870
 
844
- var isForced_1 = isForced$2;var global$7 = global$r;
871
+ var isForced_1 = isForced$2;var global$6 = global$f;
845
872
  var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
846
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$4;
847
- var redefine$2 = redefine$4.exports;
848
- var setGlobal = setGlobal$3;
873
+ var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
874
+ var defineBuiltIn$2 = defineBuiltIn$3;
875
+ var defineGlobalProperty = defineGlobalProperty$3;
849
876
  var copyConstructorProperties = copyConstructorProperties$1;
850
877
  var isForced$1 = isForced_1;
851
878
 
852
879
  /*
853
- options.target - name of the target object
854
- options.global - target is the global object
855
- options.stat - export as static methods of target
856
- options.proto - export as prototype methods of target
857
- options.real - real prototype method for the `pure` version
858
- options.forced - export even if the native feature is available
859
- options.bind - bind methods to the target, required for the `pure` version
860
- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
861
- options.unsafe - use the simple assignment of property instead of delete + defineProperty
862
- options.sham - add a flag to not completely full polyfills
863
- options.enumerable - export as enumerable property
864
- options.noTargetGet - prevent calling a getter on target
865
- options.name - the .name of the function if it does not match the key
880
+ options.target - name of the target object
881
+ options.global - target is the global object
882
+ options.stat - export as static methods of target
883
+ options.proto - export as prototype methods of target
884
+ options.real - real prototype method for the `pure` version
885
+ options.forced - export even if the native feature is available
886
+ options.bind - bind methods to the target, required for the `pure` version
887
+ options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
888
+ options.unsafe - use the simple assignment of property instead of delete + defineProperty
889
+ options.sham - add a flag to not completely full polyfills
890
+ options.enumerable - export as enumerable property
891
+ options.dontCallGetSet - prevent calling a getter on target
892
+ options.name - the .name of the function if it does not match the key
866
893
  */
867
894
  var _export = function (options, source) {
868
895
  var TARGET = options.target;
@@ -870,15 +897,15 @@ var _export = function (options, source) {
870
897
  var STATIC = options.stat;
871
898
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
872
899
  if (GLOBAL) {
873
- target = global$7;
900
+ target = global$6;
874
901
  } else if (STATIC) {
875
- target = global$7[TARGET] || setGlobal(TARGET, {});
902
+ target = global$6[TARGET] || defineGlobalProperty(TARGET, {});
876
903
  } else {
877
- target = (global$7[TARGET] || {}).prototype;
904
+ target = (global$6[TARGET] || {}).prototype;
878
905
  }
879
906
  if (target) for (key in source) {
880
907
  sourceProperty = source[key];
881
- if (options.noTargetGet) {
908
+ if (options.dontCallGetSet) {
882
909
  descriptor = getOwnPropertyDescriptor$1(target, key);
883
910
  targetProperty = descriptor && descriptor.value;
884
911
  } else targetProperty = target[key];
@@ -892,27 +919,26 @@ var _export = function (options, source) {
892
919
  if (options.sham || (targetProperty && targetProperty.sham)) {
893
920
  createNonEnumerableProperty$1(sourceProperty, 'sham', true);
894
921
  }
895
- // extend global
896
- redefine$2(target, key, sourceProperty, options);
922
+ defineBuiltIn$2(target, key, sourceProperty, options);
897
923
  }
898
- };var uncurryThis$8 = functionUncurryThis;
924
+ };var uncurryThis$9 = functionUncurryThis;
899
925
  var aCallable = aCallable$2;
900
- var NATIVE_BIND = functionBindNative;
926
+ var NATIVE_BIND$1 = functionBindNative;
901
927
 
902
- var bind$1 = uncurryThis$8(uncurryThis$8.bind);
928
+ var bind$1 = uncurryThis$9(uncurryThis$9.bind);
903
929
 
904
930
  // optional / simple context binding
905
931
  var functionBindContext = function (fn, that) {
906
932
  aCallable(fn);
907
- return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {
933
+ return that === undefined ? fn : NATIVE_BIND$1 ? bind$1(fn, that) : function (/* ...args */) {
908
934
  return fn.apply(that, arguments);
909
935
  };
910
936
  };var classof$4 = classofRaw$1;
911
937
 
912
938
  // `IsArray` abstract operation
913
939
  // https://tc39.es/ecma262/#sec-isarray
914
- // eslint-disable-next-line es/no-array-isarray -- safe
915
- var isArray$1 = Array.isArray || function isArray(argument) {
940
+ // eslint-disable-next-line es-x/no-array-isarray -- safe
941
+ var isArray$2 = Array.isArray || function isArray(argument) {
916
942
  return classof$4(argument) == 'Array';
917
943
  };var wellKnownSymbol$3 = wellKnownSymbol$5;
918
944
 
@@ -921,14 +947,13 @@ var test = {};
921
947
 
922
948
  test[TO_STRING_TAG$1] = 'z';
923
949
 
924
- var toStringTagSupport = String(test) === '[object z]';var global$6 = global$r;
925
- var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
926
- var isCallable$4 = isCallable$e;
950
+ var toStringTagSupport = String(test) === '[object z]';var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
951
+ var isCallable$5 = isCallable$g;
927
952
  var classofRaw = classofRaw$1;
928
953
  var wellKnownSymbol$2 = wellKnownSymbol$5;
929
954
 
930
955
  var TO_STRING_TAG = wellKnownSymbol$2('toStringTag');
931
- var Object$1 = global$6.Object;
956
+ var $Object = Object;
932
957
 
933
958
  // ES3 wrong here
934
959
  var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
@@ -945,14 +970,14 @@ var classof$3 = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) {
945
970
  var O, tag, result;
946
971
  return it === undefined ? 'Undefined' : it === null ? 'Null'
947
972
  // @@toStringTag case
948
- : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
973
+ : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
949
974
  // builtinTag case
950
975
  : CORRECT_ARGUMENTS ? classofRaw(O)
951
976
  // ES3 arguments fallback
952
- : (result = classofRaw(O)) == 'Object' && isCallable$4(O.callee) ? 'Arguments' : result;
953
- };var uncurryThis$7 = functionUncurryThis;
954
- var fails$2 = fails$a;
955
- var isCallable$3 = isCallable$e;
977
+ : (result = classofRaw(O)) == 'Object' && isCallable$5(O.callee) ? 'Arguments' : result;
978
+ };var uncurryThis$8 = functionUncurryThis;
979
+ var fails$3 = fails$c;
980
+ var isCallable$4 = isCallable$g;
956
981
  var classof$2 = classof$3;
957
982
  var getBuiltIn$1 = getBuiltIn$5;
958
983
  var inspectSource = inspectSource$3;
@@ -961,11 +986,11 @@ var noop = function () { /* empty */ };
961
986
  var empty = [];
962
987
  var construct = getBuiltIn$1('Reflect', 'construct');
963
988
  var constructorRegExp = /^\s*(?:class|function)\b/;
964
- var exec = uncurryThis$7(constructorRegExp.exec);
989
+ var exec = uncurryThis$8(constructorRegExp.exec);
965
990
  var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
966
991
 
967
992
  var isConstructorModern = function isConstructor(argument) {
968
- if (!isCallable$3(argument)) return false;
993
+ if (!isCallable$4(argument)) return false;
969
994
  try {
970
995
  construct(noop, empty, argument);
971
996
  return true;
@@ -975,7 +1000,7 @@ var isConstructorModern = function isConstructor(argument) {
975
1000
  };
976
1001
 
977
1002
  var isConstructorLegacy = function isConstructor(argument) {
978
- if (!isCallable$3(argument)) return false;
1003
+ if (!isCallable$4(argument)) return false;
979
1004
  switch (classof$2(argument)) {
980
1005
  case 'AsyncFunction':
981
1006
  case 'GeneratorFunction':
@@ -995,34 +1020,33 @@ isConstructorLegacy.sham = true;
995
1020
 
996
1021
  // `IsConstructor` abstract operation
997
1022
  // https://tc39.es/ecma262/#sec-isconstructor
998
- var isConstructor$1 = !construct || fails$2(function () {
1023
+ var isConstructor$1 = !construct || fails$3(function () {
999
1024
  var called;
1000
1025
  return isConstructorModern(isConstructorModern.call)
1001
1026
  || !isConstructorModern(Object)
1002
1027
  || !isConstructorModern(function () { called = true; })
1003
1028
  || called;
1004
- }) ? isConstructorLegacy : isConstructorModern;var global$5 = global$r;
1005
- var isArray = isArray$1;
1029
+ }) ? isConstructorLegacy : isConstructorModern;var isArray$1 = isArray$2;
1006
1030
  var isConstructor = isConstructor$1;
1007
1031
  var isObject$2 = isObject$8;
1008
1032
  var wellKnownSymbol$1 = wellKnownSymbol$5;
1009
1033
 
1010
1034
  var SPECIES = wellKnownSymbol$1('species');
1011
- var Array$1 = global$5.Array;
1035
+ var $Array = Array;
1012
1036
 
1013
1037
  // a part of `ArraySpeciesCreate` abstract operation
1014
1038
  // https://tc39.es/ecma262/#sec-arrayspeciescreate
1015
1039
  var arraySpeciesConstructor$1 = function (originalArray) {
1016
1040
  var C;
1017
- if (isArray(originalArray)) {
1041
+ if (isArray$1(originalArray)) {
1018
1042
  C = originalArray.constructor;
1019
1043
  // cross-realm fallback
1020
- if (isConstructor(C) && (C === Array$1 || isArray(C.prototype))) C = undefined;
1044
+ if (isConstructor(C) && (C === $Array || isArray$1(C.prototype))) C = undefined;
1021
1045
  else if (isObject$2(C)) {
1022
1046
  C = C[SPECIES];
1023
1047
  if (C === null) C = undefined;
1024
1048
  }
1025
- } return C === undefined ? Array$1 : C;
1049
+ } return C === undefined ? $Array : C;
1026
1050
  };var arraySpeciesConstructor = arraySpeciesConstructor$1;
1027
1051
 
1028
1052
  // `ArraySpeciesCreate` abstract operation
@@ -1030,13 +1054,13 @@ var arraySpeciesConstructor$1 = function (originalArray) {
1030
1054
  var arraySpeciesCreate$1 = function (originalArray, length) {
1031
1055
  return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
1032
1056
  };var bind = functionBindContext;
1033
- var uncurryThis$6 = functionUncurryThis;
1057
+ var uncurryThis$7 = functionUncurryThis;
1034
1058
  var IndexedObject = indexedObject;
1035
1059
  var toObject = toObject$2;
1036
1060
  var lengthOfArrayLike = lengthOfArrayLike$2;
1037
1061
  var arraySpeciesCreate = arraySpeciesCreate$1;
1038
1062
 
1039
- var push$1 = uncurryThis$6([].push);
1063
+ var push$1 = uncurryThis$7([].push);
1040
1064
 
1041
1065
  // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
1042
1066
  var createMethod$2 = function (TYPE) {
@@ -1102,11 +1126,11 @@ var arrayIteration = {
1102
1126
  // https://github.com/tc39/proposal-array-filtering
1103
1127
  filterReject: createMethod$2(7)
1104
1128
  };'use strict';
1105
- var fails$1 = fails$a;
1129
+ var fails$2 = fails$c;
1106
1130
 
1107
1131
  var arrayMethodIsStrict$1 = function (METHOD_NAME, argument) {
1108
1132
  var method = [][METHOD_NAME];
1109
- return !!method && fails$1(function () {
1133
+ return !!method && fails$2(function () {
1110
1134
  // eslint-disable-next-line no-useless-call -- required for testing
1111
1135
  method.call(null, argument || function () { return 1; }, 1);
1112
1136
  });
@@ -1120,15 +1144,15 @@ var STRICT_METHOD = arrayMethodIsStrict('forEach');
1120
1144
  // https://tc39.es/ecma262/#sec-array.prototype.foreach
1121
1145
  var arrayForEach = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {
1122
1146
  return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
1123
- // eslint-disable-next-line es/no-array-prototype-foreach -- safe
1147
+ // eslint-disable-next-line es-x/no-array-prototype-foreach -- safe
1124
1148
  } : [].forEach;'use strict';
1125
- var $$3 = _export;
1149
+ var $$5 = _export;
1126
1150
  var forEach$1 = arrayForEach;
1127
1151
 
1128
1152
  // `Array.prototype.forEach` method
1129
1153
  // https://tc39.es/ecma262/#sec-array.prototype.foreach
1130
- // eslint-disable-next-line es/no-array-prototype-foreach -- safe
1131
- $$3({ target: 'Array', proto: true, forced: [].forEach != forEach$1 }, {
1154
+ // eslint-disable-next-line es-x/no-array-prototype-foreach -- safe
1155
+ $$5({ target: 'Array', proto: true, forced: [].forEach != forEach$1 }, {
1132
1156
  forEach: forEach$1
1133
1157
  });var es_object_toString = {};'use strict';
1134
1158
  var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport;
@@ -1136,16 +1160,16 @@ var classof$1 = classof$3;
1136
1160
 
1137
1161
  // `Object.prototype.toString` method implementation
1138
1162
  // https://tc39.es/ecma262/#sec-object.prototype.tostring
1139
- var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {
1163
+ var objectToString$1 = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {
1140
1164
  return '[object ' + classof$1(this) + ']';
1141
1165
  };var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1142
- var redefine$1 = redefine$4.exports;
1143
- var toString$2 = objectToString;
1166
+ var defineBuiltIn$1 = defineBuiltIn$3;
1167
+ var toString$3 = objectToString$1;
1144
1168
 
1145
1169
  // `Object.prototype.toString` method
1146
1170
  // https://tc39.es/ecma262/#sec-object.prototype.tostring
1147
1171
  if (!TO_STRING_TAG_SUPPORT) {
1148
- redefine$1(Object.prototype, 'toString', toString$2, { unsafe: true });
1172
+ defineBuiltIn$1(Object.prototype, 'toString', toString$3, { unsafe: true });
1149
1173
  }var web_domCollections_forEach = {};// iterable DOM collections
1150
1174
  // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
1151
1175
  var domIterables = {
@@ -1186,11 +1210,11 @@ var documentCreateElement$1 = documentCreateElement$2;
1186
1210
  var classList = documentCreateElement$1('span').classList;
1187
1211
  var DOMTokenListPrototype$1 = classList && classList.constructor && classList.constructor.prototype;
1188
1212
 
1189
- var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;var global$4 = global$r;
1213
+ var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;var global$5 = global$f;
1190
1214
  var DOMIterables = domIterables;
1191
1215
  var DOMTokenListPrototype = domTokenListPrototype;
1192
1216
  var forEach = arrayForEach;
1193
- var createNonEnumerableProperty = createNonEnumerableProperty$4;
1217
+ var createNonEnumerableProperty = createNonEnumerableProperty$3;
1194
1218
 
1195
1219
  var handlePrototype = function (CollectionPrototype) {
1196
1220
  // some Chrome versions have non-configurable methods on DOMTokenList
@@ -1203,7 +1227,7 @@ var handlePrototype = function (CollectionPrototype) {
1203
1227
 
1204
1228
  for (var COLLECTION_NAME in DOMIterables) {
1205
1229
  if (DOMIterables[COLLECTION_NAME]) {
1206
- handlePrototype(global$4[COLLECTION_NAME] && global$4[COLLECTION_NAME].prototype);
1230
+ handlePrototype(global$5[COLLECTION_NAME] && global$5[COLLECTION_NAME].prototype);
1207
1231
  }
1208
1232
  }
1209
1233
 
@@ -1212,17 +1236,17 @@ var enumBugKeys$1 = enumBugKeys$3;
1212
1236
 
1213
1237
  // `Object.keys` method
1214
1238
  // https://tc39.es/ecma262/#sec-object.keys
1215
- // eslint-disable-next-line es/no-object-keys -- safe
1239
+ // eslint-disable-next-line es-x/no-object-keys -- safe
1216
1240
  var objectKeys$2 = Object.keys || function keys(O) {
1217
1241
  return internalObjectKeys(O, enumBugKeys$1);
1218
1242
  };var DESCRIPTORS$3 = descriptors;
1219
- var uncurryThis$5 = functionUncurryThis;
1243
+ var uncurryThis$6 = functionUncurryThis;
1220
1244
  var objectKeys$1 = objectKeys$2;
1221
1245
  var toIndexedObject$1 = toIndexedObject$5;
1222
1246
  var $propertyIsEnumerable = objectPropertyIsEnumerable.f;
1223
1247
 
1224
- var propertyIsEnumerable = uncurryThis$5($propertyIsEnumerable);
1225
- var push = uncurryThis$5([].push);
1248
+ var propertyIsEnumerable = uncurryThis$6($propertyIsEnumerable);
1249
+ var push = uncurryThis$6([].push);
1226
1250
 
1227
1251
  // `Object.{ entries, values }` methods implementation
1228
1252
  var createMethod$1 = function (TO_ENTRIES) {
@@ -1250,12 +1274,12 @@ var objectToArray = {
1250
1274
  // `Object.values` method
1251
1275
  // https://tc39.es/ecma262/#sec-object.values
1252
1276
  values: createMethod$1(false)
1253
- };var $$2 = _export;
1277
+ };var $$4 = _export;
1254
1278
  var $entries = objectToArray.entries;
1255
1279
 
1256
1280
  // `Object.entries` method
1257
1281
  // https://tc39.es/ecma262/#sec-object.entries
1258
- $$2({ target: 'Object', stat: true }, {
1282
+ $$4({ target: 'Object', stat: true }, {
1259
1283
  entries: function entries(O) {
1260
1284
  return $entries(O);
1261
1285
  }
@@ -1271,7 +1295,29 @@ function getTarget() {
1271
1295
  : {};
1272
1296
  }
1273
1297
  const isProxyAvailable = typeof Proxy === 'function';const HOOK_SETUP = 'devtools-plugin:setup';
1274
- const HOOK_PLUGIN_SETTINGS_SET = 'plugin:settings:set';class ApiProxy {
1298
+ const HOOK_PLUGIN_SETTINGS_SET = 'plugin:settings:set';let supported;
1299
+ let perf;
1300
+ function isPerformanceSupported() {
1301
+ var _a;
1302
+ if (supported !== undefined) {
1303
+ return supported;
1304
+ }
1305
+ if (typeof window !== 'undefined' && window.performance) {
1306
+ supported = true;
1307
+ perf = window.performance;
1308
+ }
1309
+ else if (typeof global !== 'undefined' && ((_a = global.perf_hooks) === null || _a === void 0 ? void 0 : _a.performance)) {
1310
+ supported = true;
1311
+ perf = global.perf_hooks.performance;
1312
+ }
1313
+ else {
1314
+ supported = false;
1315
+ }
1316
+ return supported;
1317
+ }
1318
+ function now() {
1319
+ return isPerformanceSupported() ? perf.now() : Date.now();
1320
+ }class ApiProxy {
1275
1321
  constructor(plugin, hook) {
1276
1322
  this.target = null;
1277
1323
  this.targetQueue = [];
@@ -1308,6 +1354,9 @@ const HOOK_PLUGIN_SETTINGS_SET = 'plugin:settings:set';class ApiProxy {
1308
1354
  }
1309
1355
  currentSettings = value;
1310
1356
  },
1357
+ now() {
1358
+ return now();
1359
+ },
1311
1360
  };
1312
1361
  if (hook) {
1313
1362
  hook.on(HOOK_PLUGIN_SETTINGS_SET, (pluginId, value) => {
@@ -1392,12 +1441,12 @@ const HOOK_PLUGIN_SETTINGS_SET = 'plugin:settings:set';class ApiProxy {
1392
1441
  setupFn(proxy.proxiedTarget);
1393
1442
  }
1394
1443
  }/**
1395
- * vee-validate v4.5.9
1444
+ * vee-validate v4.5.11
1396
1445
  * (c) 2022 Abdelrahman Awad
1397
1446
  * @license MIT
1398
1447
  */
1399
1448
 
1400
- function isCallable$2(fn) {
1449
+ function isCallable$3(fn) {
1401
1450
  return typeof fn === 'function';
1402
1451
  }
1403
1452
  function isNullOrUndefined(value) {
@@ -1431,7 +1480,7 @@ function resolveRule(id) {
1431
1480
  * Guards from extension violations.
1432
1481
  */
1433
1482
  function guardExtend(id, validator) {
1434
- if (isCallable$2(validator)) {
1483
+ if (isCallable$3(validator)) {
1435
1484
  return;
1436
1485
  }
1437
1486
  throw new Error(`Extension Error: The validator '${id}' must be a function.`);
@@ -1442,7 +1491,7 @@ const FieldContextKey = Symbol('vee-validate-field-instance');
1442
1491
  const IS_ABSENT = Symbol('Default empty value');
1443
1492
 
1444
1493
  function isLocator(value) {
1445
- return isCallable$2(value) && !!value.__locatorRef;
1494
+ return isCallable$3(value) && !!value.__locatorRef;
1446
1495
  }
1447
1496
  /**
1448
1497
  * Checks if an tag name is a native HTML tag and not a Vue component
@@ -1457,7 +1506,7 @@ function isFileInputNode(tag, attrs) {
1457
1506
  return isHTMLTag(tag) && attrs.type === 'file';
1458
1507
  }
1459
1508
  function isYupValidator(value) {
1460
- return !!value && isCallable$2(value.validate);
1509
+ return !!value && isCallable$3(value.validate);
1461
1510
  }
1462
1511
  function hasCheckedAttr(type) {
1463
1512
  return type === 'checkbox' || type === 'radio';
@@ -1517,7 +1566,7 @@ function isEvent(evt) {
1517
1566
  if (!evt) {
1518
1567
  return false;
1519
1568
  }
1520
- if (typeof Event !== 'undefined' && isCallable$2(Event) && evt instanceof Event) {
1569
+ if (typeof Event !== 'undefined' && isCallable$3(Event) && evt instanceof Event) {
1521
1570
  return true;
1522
1571
  }
1523
1572
  // this is for IE and Cypress #3161
@@ -1894,18 +1943,34 @@ async function _validate(field, value) {
1894
1943
  if (isYupValidator(field.rules)) {
1895
1944
  return validateFieldWithYup(value, field.rules, { bails: field.bails });
1896
1945
  }
1897
- // if a generic function, use it as the pipeline.
1898
- if (isCallable$2(field.rules)) {
1946
+ // if a generic function or chain of generic functions
1947
+ if (isCallable$3(field.rules) || Array.isArray(field.rules)) {
1899
1948
  const ctx = {
1900
1949
  field: field.name,
1901
1950
  form: field.formData,
1902
1951
  value: value,
1903
1952
  };
1904
- const result = await field.rules(value, ctx);
1905
- const isValid = typeof result !== 'string' && result;
1906
- const message = typeof result === 'string' ? result : _generateFieldError(ctx);
1953
+ // Normalize the pipeline
1954
+ const pipeline = Array.isArray(field.rules) ? field.rules : [field.rules];
1955
+ const length = pipeline.length;
1956
+ const errors = [];
1957
+ for (let i = 0; i < length; i++) {
1958
+ const rule = pipeline[i];
1959
+ const result = await rule(value, ctx);
1960
+ const isValid = typeof result !== 'string' && result;
1961
+ if (isValid) {
1962
+ continue;
1963
+ }
1964
+ const message = typeof result === 'string' ? result : _generateFieldError(ctx);
1965
+ errors.push(message);
1966
+ if (field.bails) {
1967
+ return {
1968
+ errors,
1969
+ };
1970
+ }
1971
+ }
1907
1972
  return {
1908
- errors: !isValid ? [message] : [],
1973
+ errors,
1909
1974
  };
1910
1975
  }
1911
1976
  const normalizedContext = Object.assign(Object.assign({}, field), { rules: normalizeRules(field.rules) });
@@ -2690,6 +2755,8 @@ function useField(name, rules, opts) {
2690
2755
  function _useField(name, rules, opts) {
2691
2756
  const { initialValue: modelValue, validateOnMount, bails, type, checkedValue, label, validateOnValueUpdate, uncheckedValue, standalone, } = normalizeOptions(vue.unref(name), opts);
2692
2757
  const form = !standalone ? injectWithSelf(FormContextKey) : undefined;
2758
+ // a flag indicating if the field is about to be removed/unmounted.
2759
+ let markedForRemoval = false;
2693
2760
  const { id, value, initialValue, meta, setState, errors, errorMessage } = useFieldState(name, {
2694
2761
  modelValue,
2695
2762
  standalone,
@@ -2706,7 +2773,7 @@ function _useField(name, rules, opts) {
2706
2773
  if (schema && !isYupValidator(schema)) {
2707
2774
  rulesValue = extractRuleFromSchema(schema, vue.unref(name)) || rulesValue;
2708
2775
  }
2709
- if (isYupValidator(rulesValue) || isCallable$2(rulesValue)) {
2776
+ if (isYupValidator(rulesValue) || isCallable$3(rulesValue) || Array.isArray(rulesValue)) {
2710
2777
  return rulesValue;
2711
2778
  }
2712
2779
  return normalizeRules(rulesValue);
@@ -2726,12 +2793,19 @@ function _useField(name, rules, opts) {
2726
2793
  meta.pending = true;
2727
2794
  meta.validated = true;
2728
2795
  const result = await validateCurrentValue('validated-only');
2796
+ if (markedForRemoval) {
2797
+ result.valid = true;
2798
+ result.errors = [];
2799
+ }
2729
2800
  setState({ errors: result.errors });
2730
2801
  meta.pending = false;
2731
2802
  return result;
2732
2803
  }
2733
2804
  async function validateValidStateOnly() {
2734
2805
  const result = await validateCurrentValue('silent');
2806
+ if (markedForRemoval) {
2807
+ result.valid = true;
2808
+ }
2735
2809
  meta.valid = result.valid;
2736
2810
  return result;
2737
2811
  }
@@ -2846,13 +2920,14 @@ function _useField(name, rules, opts) {
2846
2920
  // associate the field with the given form
2847
2921
  form.register(field);
2848
2922
  vue.onBeforeUnmount(() => {
2923
+ markedForRemoval = true;
2849
2924
  form.unregister(field);
2850
2925
  });
2851
2926
  // extract cross-field dependencies in a computed prop
2852
2927
  const dependencies = vue.computed(() => {
2853
2928
  const rulesVal = normalizedRules.value;
2854
2929
  // is falsy, a function schema or a yup schema
2855
- if (!rulesVal || isCallable$2(rulesVal) || isYupValidator(rulesVal)) {
2930
+ if (!rulesVal || isCallable$3(rulesVal) || isYupValidator(rulesVal) || Array.isArray(rulesVal)) {
2856
2931
  return {};
2857
2932
  }
2858
2933
  return Object.keys(rulesVal).reduce((acc, rule) => {
@@ -4387,14 +4462,14 @@ function useSubmitForm(cb) {
4387
4462
  };
4388
4463
  }var es_array_includes = {};var objectDefineProperties = {};var DESCRIPTORS$2 = descriptors;
4389
4464
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
4390
- var definePropertyModule$1 = objectDefineProperty;
4465
+ var definePropertyModule = objectDefineProperty;
4391
4466
  var anObject$2 = anObject$5;
4392
4467
  var toIndexedObject = toIndexedObject$5;
4393
4468
  var objectKeys = objectKeys$2;
4394
4469
 
4395
4470
  // `Object.defineProperties` method
4396
4471
  // https://tc39.es/ecma262/#sec-object.defineproperties
4397
- // eslint-disable-next-line es/no-object-defineproperties -- safe
4472
+ // eslint-disable-next-line es-x/no-object-defineproperties -- safe
4398
4473
  var f = objectDefineProperties.f = DESCRIPTORS$2 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
4399
4474
  anObject$2(O);
4400
4475
  var props = toIndexedObject(Properties);
@@ -4402,7 +4477,7 @@ var f = objectDefineProperties.f = DESCRIPTORS$2 && !V8_PROTOTYPE_DEFINE_BUG ? O
4402
4477
  var length = keys.length;
4403
4478
  var index = 0;
4404
4479
  var key;
4405
- while (length > index) definePropertyModule$1.f(O, key = keys[index++], props[key]);
4480
+ while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
4406
4481
  return O;
4407
4482
  };var getBuiltIn = getBuiltIn$5;
4408
4483
 
@@ -4478,6 +4553,7 @@ hiddenKeys[IE_PROTO] = true;
4478
4553
 
4479
4554
  // `Object.create` method
4480
4555
  // https://tc39.es/ecma262/#sec-object.create
4556
+ // eslint-disable-next-line es-x/no-object-create -- safe
4481
4557
  var objectCreate = Object.create || function create(O, Properties) {
4482
4558
  var result;
4483
4559
  if (O !== null) {
@@ -4490,7 +4566,7 @@ var objectCreate = Object.create || function create(O, Properties) {
4490
4566
  return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
4491
4567
  };var wellKnownSymbol = wellKnownSymbol$5;
4492
4568
  var create = objectCreate;
4493
- var definePropertyModule = objectDefineProperty;
4569
+ var defineProperty$2 = objectDefineProperty.f;
4494
4570
 
4495
4571
  var UNSCOPABLES = wellKnownSymbol('unscopables');
4496
4572
  var ArrayPrototype = Array.prototype;
@@ -4498,7 +4574,7 @@ var ArrayPrototype = Array.prototype;
4498
4574
  // Array.prototype[@@unscopables]
4499
4575
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
4500
4576
  if (ArrayPrototype[UNSCOPABLES] == undefined) {
4501
- definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {
4577
+ defineProperty$2(ArrayPrototype, UNSCOPABLES, {
4502
4578
  configurable: true,
4503
4579
  value: create(null)
4504
4580
  });
@@ -4508,20 +4584,26 @@ if (ArrayPrototype[UNSCOPABLES] == undefined) {
4508
4584
  var addToUnscopables$2 = function (key) {
4509
4585
  ArrayPrototype[UNSCOPABLES][key] = true;
4510
4586
  };'use strict';
4511
- var $$1 = _export;
4587
+ var $$3 = _export;
4512
4588
  var $includes = arrayIncludes.includes;
4589
+ var fails$1 = fails$c;
4513
4590
  var addToUnscopables$1 = addToUnscopables$2;
4514
4591
 
4592
+ // FF99+ bug
4593
+ var BROKEN_ON_SPARSE = fails$1(function () {
4594
+ return !Array(1).includes();
4595
+ });
4596
+
4515
4597
  // `Array.prototype.includes` method
4516
4598
  // https://tc39.es/ecma262/#sec-array.prototype.includes
4517
- $$1({ target: 'Array', proto: true }, {
4599
+ $$3({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
4518
4600
  includes: function includes(el /* , fromIndex = 0 */) {
4519
4601
  return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
4520
4602
  }
4521
4603
  });
4522
4604
 
4523
4605
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
4524
- addToUnscopables$1('includes');var script$6 = vue.defineComponent({
4606
+ addToUnscopables$1('includes');var script$7 = vue.defineComponent({
4525
4607
  name: 'FwInput',
4526
4608
  emits: ['update:modelValue'],
4527
4609
  components: {
@@ -4593,6 +4675,7 @@ addToUnscopables$1('includes');var script$6 = vue.defineComponent({
4593
4675
  }
4594
4676
  },
4595
4677
  setup: function setup(props, ctx) {
4678
+ var inputBaseClass = vue.ref("border-2 border-grey-lightest rounded-lg focus:outline-none focus:ring-2 focus:ring-primary block w-full p-2.5");
4596
4679
  var inputValue = vue.computed({
4597
4680
  get: function get() {
4598
4681
  return props.modelValue;
@@ -4602,24 +4685,25 @@ addToUnscopables$1('includes');var script$6 = vue.defineComponent({
4602
4685
  }
4603
4686
  });
4604
4687
  return {
4688
+ inputBaseClass: inputBaseClass,
4605
4689
  inputValue: inputValue
4606
4690
  };
4607
4691
  }
4608
4692
  });var es_function_name = {};var DESCRIPTORS$1 = descriptors;
4609
4693
  var FUNCTION_NAME_EXISTS = functionName.EXISTS;
4610
- var uncurryThis$4 = functionUncurryThis;
4694
+ var uncurryThis$5 = functionUncurryThis;
4611
4695
  var defineProperty$1 = objectDefineProperty.f;
4612
4696
 
4613
- var FunctionPrototype = Function.prototype;
4614
- var functionToString = uncurryThis$4(FunctionPrototype.toString);
4697
+ var FunctionPrototype$1 = Function.prototype;
4698
+ var functionToString = uncurryThis$5(FunctionPrototype$1.toString);
4615
4699
  var nameRE = /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/;
4616
- var regExpExec = uncurryThis$4(nameRE.exec);
4700
+ var regExpExec = uncurryThis$5(nameRE.exec);
4617
4701
  var NAME = 'name';
4618
4702
 
4619
4703
  // Function instances `.name` property
4620
4704
  // https://tc39.es/ecma262/#sec-function-instances-name
4621
4705
  if (DESCRIPTORS$1 && !FUNCTION_NAME_EXISTS) {
4622
- defineProperty$1(FunctionPrototype, NAME, {
4706
+ defineProperty$1(FunctionPrototype$1, NAME, {
4623
4707
  configurable: true,
4624
4708
  get: function () {
4625
4709
  try {
@@ -4629,29 +4713,29 @@ if (DESCRIPTORS$1 && !FUNCTION_NAME_EXISTS) {
4629
4713
  }
4630
4714
  }
4631
4715
  });
4632
- }var _hoisted_1$5 = {
4716
+ }var _hoisted_1$6 = {
4633
4717
  "class": "fw-input w-full"
4634
4718
  };
4635
- var _hoisted_2$4 = {
4719
+ var _hoisted_2$5 = {
4636
4720
  "class": "flex flex-col"
4637
4721
  };
4638
- var _hoisted_3$4 = {
4722
+ var _hoisted_3$5 = {
4639
4723
  "class": "flex flex-row justify-between"
4640
4724
  };
4641
- var _hoisted_4$3 = ["for"];
4642
- var _hoisted_5$2 = {
4725
+ var _hoisted_4$4 = ["for"];
4726
+ var _hoisted_5$3 = {
4643
4727
  key: 1
4644
4728
  };
4645
- var _hoisted_6$2 = {
4729
+ var _hoisted_6$3 = {
4646
4730
  "class": "relative"
4647
4731
  };
4648
- var _hoisted_7$2 = {
4732
+ var _hoisted_7$3 = {
4649
4733
  key: 0,
4650
4734
  "class": "flex text-black absolute w-9 h-full inset-y-0 left-0 items-center pl-3 pointer-events-none"
4651
4735
  };
4652
- var _hoisted_8$2 = ["placeholder", "type", "readonly", "disabled"];
4736
+ var _hoisted_8$3 = ["placeholder", "type", "readonly", "disabled"];
4653
4737
 
4654
- var _hoisted_9$1 = /*#__PURE__*/vue.createElementVNode("svg", {
4738
+ var _hoisted_9$2 = /*#__PURE__*/vue.createElementVNode("svg", {
4655
4739
  fill: "currentColor",
4656
4740
  "aria-hidden": "true",
4657
4741
  focusable: "false",
@@ -4662,12 +4746,12 @@ var _hoisted_9$1 = /*#__PURE__*/vue.createElementVNode("svg", {
4662
4746
  d: "M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM232 152C232 138.8\n 242.8 128 256 128s24 10.75 24 24v128c0 13.25-10.75 24-24 24S232 293.3 232 280V152zM256 400c-17.36\n 0-31.44-14.08-31.44-31.44c0-17.36 14.07-31.44 31.44-31.44s31.44 14.08 31.44 31.44C287.4 385.9 273.4\n 400 256 400z"
4663
4747
  })], -1);
4664
4748
 
4665
- var _hoisted_10$1 = [_hoisted_9$1];
4666
- var _hoisted_11$1 = {
4749
+ var _hoisted_10$2 = [_hoisted_9$2];
4750
+ var _hoisted_11$2 = {
4667
4751
  key: 1,
4668
4752
  "class": "flex text-black absolute w-10 h-full inset-y-0 right-0 items-center pr-3"
4669
4753
  };
4670
- var _hoisted_12$1 = {
4754
+ var _hoisted_12 = {
4671
4755
  "class": "italic text-right text-sm font-medium mt-2 min-h-[21px]"
4672
4756
  };
4673
4757
  var _hoisted_13 = {
@@ -4677,10 +4761,10 @@ var _hoisted_13 = {
4677
4761
  var _hoisted_14 = {
4678
4762
  key: 1
4679
4763
  };
4680
- function render$6(_ctx, _cache, $props, $setup, $data, $options) {
4764
+ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
4681
4765
  var _component_InputField = vue.resolveComponent("InputField");
4682
4766
 
4683
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$5, [vue.createVNode(_component_InputField, {
4767
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$6, [vue.createVNode(_component_InputField, {
4684
4768
  modelValue: _ctx.inputValue,
4685
4769
  "onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) {
4686
4770
  return _ctx.inputValue = $event;
@@ -4693,30 +4777,30 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
4693
4777
  errors = _ref.errors,
4694
4778
  errorMessage = _ref.errorMessage,
4695
4779
  meta = _ref.meta;
4696
- return [vue.createElementVNode("div", _hoisted_2$4, [vue.createElementVNode("div", _hoisted_3$4, [_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", {
4780
+ return [vue.createElementVNode("div", _hoisted_2$5, [vue.createElementVNode("div", _hoisted_3$5, [_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", {
4697
4781
  key: 0,
4698
4782
  "for": _ctx.name,
4699
4783
  "class": "block mb-2"
4700
- }, vue.toDisplayString(_ctx.label), 9, _hoisted_4$3)) : vue.createCommentVNode("", true), _ctx.$slots.action ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$2, [vue.renderSlot(_ctx.$slots, "action")])) : vue.createCommentVNode("", true)]), vue.createElementVNode("div", _hoisted_6$2, [_ctx.$slots.prefix ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$2, [vue.renderSlot(_ctx.$slots, "prefix")])) : vue.createCommentVNode("", true), vue.createElementVNode("input", vue.mergeProps(field, {
4784
+ }, vue.toDisplayString(_ctx.label), 9, _hoisted_4$4)) : vue.createCommentVNode("", true), _ctx.$slots.action ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$3, [vue.renderSlot(_ctx.$slots, "action")])) : vue.createCommentVNode("", true)]), vue.createElementVNode("div", _hoisted_6$3, [_ctx.$slots.prefix ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$3, [vue.renderSlot(_ctx.$slots, "prefix")])) : vue.createCommentVNode("", true), vue.createElementVNode("input", vue.mergeProps(field, {
4701
4785
  placeholder: _ctx.placeholder,
4702
4786
  type: _ctx.type,
4703
4787
  readonly: _ctx.readonly,
4704
4788
  disabled: _ctx.readonly,
4705
- "class": ["border-2 border-grey-lightest rounded-lg focus:outline-none focus:ring-2 focus:ring-primary block w-full p-2.5", {
4789
+ "class": [{
4706
4790
  'pl-10': !!_ctx.$slots.prefix,
4707
4791
  'pr-20': !!_ctx.$slots.suffix
4708
- }]
4709
- }), null, 16, _hoisted_8$2), vue.createVNode(vue.Transition, {
4792
+ }, _ctx.inputBaseClass]
4793
+ }), null, 16, _hoisted_8$3), vue.createVNode(vue.Transition, {
4710
4794
  name: "fwFadeIn"
4711
4795
  }, {
4712
4796
  "default": vue.withCtx(function () {
4713
4797
  return [(errorMessage || errors[0]) && meta.touched ? (vue.openBlock(), vue.createElementBlock("div", {
4714
4798
  key: 0,
4715
4799
  "class": vue.normalizeClass(["flex text-error absolute w-9 h-full inset-y-0 right-0 items-center pr-3 pointer-events-none", _ctx.$slots.suffix ? 'mr-8' : ''])
4716
- }, _hoisted_10$1, 2)) : vue.createCommentVNode("", true)];
4800
+ }, _hoisted_10$2, 2)) : vue.createCommentVNode("", true)];
4717
4801
  }),
4718
4802
  _: 2
4719
- }, 1024), _ctx.$slots.suffix ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_11$1, [vue.renderSlot(_ctx.$slots, "suffix")])) : vue.createCommentVNode("", true)]), vue.createElementVNode("div", _hoisted_12$1, [vue.createVNode(vue.Transition, {
4803
+ }, 1024), _ctx.$slots.suffix ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_11$2, [vue.renderSlot(_ctx.$slots, "suffix")])) : vue.createCommentVNode("", true)]), vue.createElementVNode("div", _hoisted_12, [vue.createVNode(vue.Transition, {
4720
4804
  name: "fwFadeIn",
4721
4805
  mode: "out-in"
4722
4806
  }, {
@@ -4753,9 +4837,9 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
4753
4837
  } else {
4754
4838
  style.appendChild(document.createTextNode(css));
4755
4839
  }
4756
- }var css_248z$3 = ".fwFadeIn-enter-active{-webkit-animation:fwFadeIn .35s;animation:fwFadeIn .35s;-webkit-transition:opacity .35s ease-in;-o-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active{animation:fwFadeIn .35s reverse;-webkit-transition:opacity .35s ease-out;-o-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn{0%{opacity:0}to{opacity:1}}";
4757
- var stylesheet$3 = ".fwFadeIn-enter-active{-webkit-animation:fwFadeIn .35s;animation:fwFadeIn .35s;-webkit-transition:opacity .35s ease-in;-o-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active{animation:fwFadeIn .35s reverse;-webkit-transition:opacity .35s ease-out;-o-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn{0%{opacity:0}to{opacity:1}}";
4758
- styleInject(css_248z$3);script$6.render = render$6;var script$5 = vue.defineComponent({
4840
+ }var css_248z$4 = ".fwFadeIn-enter-active{-webkit-animation:fwFadeIn .35s;animation:fwFadeIn .35s;-webkit-transition:opacity .35s ease-in;-o-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active{animation:fwFadeIn .35s reverse;-webkit-transition:opacity .35s ease-out;-o-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn{0%{opacity:0}to{opacity:1}}";
4841
+ var stylesheet$4 = ".fwFadeIn-enter-active{-webkit-animation:fwFadeIn .35s;animation:fwFadeIn .35s;-webkit-transition:opacity .35s ease-in;-o-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active{animation:fwFadeIn .35s reverse;-webkit-transition:opacity .35s ease-out;-o-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn{0%{opacity:0}to{opacity:1}}";
4842
+ styleInject(css_248z$4);script$7.render = render$7;var script$6 = vue.defineComponent({
4759
4843
  name: 'FwCheckbox',
4760
4844
  components: {
4761
4845
  InputField: Field
@@ -4790,29 +4874,33 @@ styleInject(css_248z$3);script$6.render = render$6;var script$5 = vue.defineComp
4790
4874
  type: String
4791
4875
  }
4792
4876
  }
4793
- });var _hoisted_1$4 = {
4877
+ });var _withScopeId$1 = function _withScopeId(n) {
4878
+ return vue.pushScopeId("data-v-7153bd02"), n = n(), vue.popScopeId(), n;
4879
+ };
4880
+
4881
+ var _hoisted_1$5 = {
4794
4882
  "class": "fw-checkbox w-full"
4795
4883
  };
4796
- var _hoisted_2$3 = {
4884
+ var _hoisted_2$4 = {
4797
4885
  "class": "flex flex-col"
4798
4886
  };
4799
- var _hoisted_3$3 = ["for"];
4800
- var _hoisted_4$2 = ["value", "name"];
4801
- var _hoisted_5$1 = ["innerHTML"];
4802
- var _hoisted_6$1 = {
4887
+ var _hoisted_3$4 = ["for"];
4888
+ var _hoisted_4$3 = ["value", "name"];
4889
+ var _hoisted_5$2 = ["innerHTML"];
4890
+ var _hoisted_6$2 = {
4803
4891
  "class": "italic text-sm font-medium min-h-[21px]"
4804
4892
  };
4805
- var _hoisted_7$1 = {
4893
+ var _hoisted_7$2 = {
4806
4894
  key: 0,
4807
4895
  "class": "text-error"
4808
4896
  };
4809
- var _hoisted_8$1 = {
4897
+ var _hoisted_8$2 = {
4810
4898
  key: 1
4811
4899
  };
4812
- function render$5(_ctx, _cache, $props, $setup, $data, $options) {
4900
+ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
4813
4901
  var _component_InputField = vue.resolveComponent("InputField");
4814
4902
 
4815
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$4, [vue.createVNode(_component_InputField, {
4903
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$5, [vue.createVNode(_component_InputField, {
4816
4904
  name: _ctx.name,
4817
4905
  value: _ctx.name,
4818
4906
  type: "checkbox",
@@ -4823,7 +4911,7 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
4823
4911
  errors = _ref.errors,
4824
4912
  errorMessage = _ref.errorMessage,
4825
4913
  meta = _ref.meta;
4826
- return [vue.createElementVNode("div", _hoisted_2$3, [_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", {
4914
+ return [vue.createElementVNode("div", _hoisted_2$4, [_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", {
4827
4915
  key: 0,
4828
4916
  "for": _ctx.name,
4829
4917
  "class": "inline-flex items-center mb-3"
@@ -4832,24 +4920,25 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
4832
4920
  name: _ctx.name,
4833
4921
  type: "checkbox",
4834
4922
  "class": "text-primary w-6 h-6 cursor-pointer bg-white border-grey-light border rounded"
4835
- }), null, 16, _hoisted_4$2), vue.createElementVNode("span", {
4923
+ }), null, 16, _hoisted_4$3), vue.createElementVNode("span", {
4836
4924
  "class": "ml-2",
4837
4925
  innerHTML: _ctx.label
4838
- }, null, 8, _hoisted_5$1)], 8, _hoisted_3$3)) : vue.createCommentVNode("", true), vue.createElementVNode("div", _hoisted_6$1, [vue.createVNode(vue.Transition, {
4926
+ }, null, 8, _hoisted_5$2)], 8, _hoisted_3$4)) : vue.createCommentVNode("", true), vue.createElementVNode("div", _hoisted_6$2, [vue.createVNode(vue.Transition, {
4839
4927
  name: "fwFadeIn",
4840
4928
  mode: "out-in"
4841
4929
  }, {
4842
4930
  "default": vue.withCtx(function () {
4843
- return [(errorMessage || errors[0]) && meta.touched ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$1, vue.toDisplayString(errorMessage || errors[0]), 1)) : _ctx.hint ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_8$1, vue.toDisplayString(_ctx.hint), 1)) : vue.createCommentVNode("", true)];
4931
+ return [(errorMessage || errors[0]) && meta.touched ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$2, vue.toDisplayString(errorMessage || errors[0]), 1)) : _ctx.hint ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_8$2, vue.toDisplayString(_ctx.hint), 1)) : vue.createCommentVNode("", true)];
4844
4932
  }),
4845
4933
  _: 2
4846
4934
  }, 1024)])])];
4847
4935
  }),
4848
4936
  _: 1
4849
4937
  }, 8, ["name", "value", "rules"])]);
4850
- }var css_248z$2 = ".fwFadeIn-enter-active{-webkit-animation:fwFadeIn .35s;animation:fwFadeIn .35s;-webkit-transition:opacity .35s ease-in;-o-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active{animation:fwFadeIn .35s reverse;-webkit-transition:opacity .35s ease-out;-o-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn{0%{opacity:0}to{opacity:1}}.fw-checkbox input{-webkit-print-color-adjust:exact;-ms-flex-negative:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-origin:border-box;color-adjust:exact;display:inline-block;flex-shrink:0;-webkit-transition:background .2s ease-in;-o-transition:background .2s ease-in;transition:background .2s ease-in;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle}.fw-checkbox input:checked{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='3 3 10 10' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}";
4851
- var stylesheet$2 = ".fwFadeIn-enter-active{-webkit-animation:fwFadeIn .35s;animation:fwFadeIn .35s;-webkit-transition:opacity .35s ease-in;-o-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active{animation:fwFadeIn .35s reverse;-webkit-transition:opacity .35s ease-out;-o-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn{0%{opacity:0}to{opacity:1}}.fw-checkbox input{-webkit-print-color-adjust:exact;-ms-flex-negative:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-origin:border-box;color-adjust:exact;display:inline-block;flex-shrink:0;-webkit-transition:background .2s ease-in;-o-transition:background .2s ease-in;transition:background .2s ease-in;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle}.fw-checkbox input:checked{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='3 3 10 10' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}";
4852
- styleInject(css_248z$2);script$5.render = render$5;var script$4 = vue.defineComponent({
4938
+ }var css_248z$3 = ".fwFadeIn-enter-active[data-v-7153bd02]{-webkit-animation:fwFadeIn-7153bd02 .35s;animation:fwFadeIn-7153bd02 .35s;-webkit-transition:opacity .35s ease-in;-o-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-7153bd02]{animation:fwFadeIn-7153bd02 .35s reverse;-webkit-transition:opacity .35s ease-out;-o-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-7153bd02{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-7153bd02{0%{opacity:0}to{opacity:1}}.fw-checkbox input[data-v-7153bd02]{color-adjust:exact;-ms-flex-negative:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-origin:border-box;display:inline-block;flex-shrink:0;-webkit-print-color-adjust:exact;-webkit-transition:background .2s ease-in;-o-transition:background .2s ease-in;transition:background .2s ease-in;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle}.fw-checkbox input[data-v-7153bd02]:checked{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='3 3 10 10' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}";
4939
+ var stylesheet$3 = ".fwFadeIn-enter-active[data-v-7153bd02]{-webkit-animation:fwFadeIn-7153bd02 .35s;animation:fwFadeIn-7153bd02 .35s;-webkit-transition:opacity .35s ease-in;-o-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-7153bd02]{animation:fwFadeIn-7153bd02 .35s reverse;-webkit-transition:opacity .35s ease-out;-o-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-7153bd02{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-7153bd02{0%{opacity:0}to{opacity:1}}.fw-checkbox input[data-v-7153bd02]{color-adjust:exact;-ms-flex-negative:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-origin:border-box;display:inline-block;flex-shrink:0;-webkit-print-color-adjust:exact;-webkit-transition:background .2s ease-in;-o-transition:background .2s ease-in;transition:background .2s ease-in;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle}.fw-checkbox input[data-v-7153bd02]:checked{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='3 3 10 10' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}";
4940
+ styleInject(css_248z$3);script$6.render = render$6;
4941
+ script$6.__scopeId = "data-v-7153bd02";var script$5 = vue.defineComponent({
4853
4942
  name: 'FwCard',
4854
4943
  props: {
4855
4944
  /**
@@ -4879,43 +4968,46 @@ styleInject(css_248z$2);script$5.render = render$5;var script$4 = vue.defineComp
4879
4968
  href: String
4880
4969
  },
4881
4970
  setup: function setup(props) {
4971
+ var linkClass = vue.ref( // eslint-disable-next-line max-len
4972
+ "block cursor-pointer focus:outline-none ring-offset-3 focus:ring focus:ring-primary transform-none transition-transform hover:-translate-y-1");
4882
4973
  var componentName = vue.computed(function () {
4883
4974
  if (props.to) return 'router-link';
4884
4975
  if (props.href) return 'a';
4885
4976
  return 'div';
4886
4977
  });
4887
4978
  return {
4888
- componentName: componentName
4979
+ componentName: componentName,
4980
+ linkClass: linkClass
4889
4981
  };
4890
4982
  }
4891
- });var _hoisted_1$3 = {
4983
+ });var _hoisted_1$4 = {
4892
4984
  key: 0,
4893
- "class": "fw-card--header text-lg px-8 py-4 font-bold bg-grey-lightest rounded-t-lg border-opacity-0"
4985
+ "class": "fw-card--header px-8 py-4 bg-grey-lightest rounded-t-lg border-opacity-0"
4894
4986
  };
4895
- var _hoisted_2$2 = {
4987
+ var _hoisted_2$3 = {
4896
4988
  key: 0,
4897
4989
  "class": "fw-card--prefix-title text-primary"
4898
4990
  };
4899
- var _hoisted_3$2 = {
4991
+ var _hoisted_3$3 = {
4900
4992
  key: 1
4901
4993
  };
4902
- var _hoisted_4$1 = {
4994
+ var _hoisted_4$2 = {
4903
4995
  key: 1,
4904
4996
  "class": "p-8"
4905
4997
  };
4906
- function render$4(_ctx, _cache, $props, $setup, $data, $options) {
4998
+ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
4907
4999
  return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.componentName), {
4908
5000
  to: _ctx.to ? _ctx.to : null,
4909
5001
  href: _ctx.href ? _ctx.href : null,
4910
5002
  tabindex: _ctx.to ? 0 : null,
4911
- "class": vue.normalizeClass(["fw-card shadow-card rounded-lg", _ctx.to || _ctx.href ? 'block cursor-pointer focus:outline-none ring-offset-3 focus:ring focus:ring-primary transform-none transition-transform hover:-translate-y-1' : ''])
5003
+ "class": vue.normalizeClass(["fw-card shadow-card rounded-lg", _ctx.to || _ctx.href ? _ctx.linkClass : ''])
4912
5004
  }, {
4913
5005
  "default": vue.withCtx(function () {
4914
- return [_ctx.title || _ctx.prefixTitle ? (vue.openBlock(), vue.createElementBlock("h4", _hoisted_1$3, [_ctx.prefixTitle ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$2, vue.toDisplayString(_ctx.prefixTitle), 1)) : vue.createCommentVNode("", true), _ctx.title ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$2, vue.toDisplayString(_ctx.title), 1)) : vue.createCommentVNode("", true)])) : vue.createCommentVNode("", true), _ctx.$slots["default"] ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$1, [vue.renderSlot(_ctx.$slots, "default")])) : vue.createCommentVNode("", true)];
5006
+ return [_ctx.title || _ctx.prefixTitle ? (vue.openBlock(), vue.createElementBlock("h4", _hoisted_1$4, [_ctx.prefixTitle ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$3, vue.toDisplayString(_ctx.prefixTitle), 1)) : vue.createCommentVNode("", true), _ctx.title ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$3, vue.toDisplayString(_ctx.title), 1)) : vue.createCommentVNode("", true)])) : vue.createCommentVNode("", true), _ctx.$slots["default"] ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$2, [vue.renderSlot(_ctx.$slots, "default")])) : vue.createCommentVNode("", true)];
4915
5007
  }),
4916
5008
  _: 3
4917
5009
  }, 8, ["to", "href", "tabindex", "class"]);
4918
- }script$4.render = render$4;var script$3 = vue.defineComponent({
5010
+ }script$5.render = render$5;var script$4 = vue.defineComponent({
4919
5011
  name: 'FwButton',
4920
5012
  emits: ['click', 'mouseover', 'mouseout', 'focusin', 'focusout'],
4921
5013
  props: {
@@ -4966,6 +5058,8 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
4966
5058
  }
4967
5059
  },
4968
5060
  setup: function setup(props, ctx) {
5061
+ var baseClass = vue.ref( // eslint-disable-next-line max-len
5062
+ "inline-block text-center cursor-pointer whitespace-nowrap border-2 focus:outline-0 focus-visible:outline-0 focus:ring-none ring-offset-2 focus-visible:ring");
4969
5063
  var buttonClasses = vue.ref({
4970
5064
  primary: {
4971
5065
  text: 'text-tertiary hover:text-primary active:text-primary',
@@ -4998,7 +5092,7 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
4998
5092
  border: 'border-none focus-visible:ring-primary'
4999
5093
  },
5000
5094
  text: {
5001
- text: 'text-body font-medium hover:text-white active:text-white',
5095
+ text: 'text-body hover:text-white active:text-white',
5002
5096
  background: 'bg-white hover:bg-body active:bg-body',
5003
5097
  border: 'border-transparent focus-visible:ring-body'
5004
5098
  }
@@ -5025,6 +5119,7 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
5025
5119
  /**
5026
5120
  * @event Click - Native click
5027
5121
  */
5122
+ // eslint-disable-next-line no-undef
5028
5123
 
5029
5124
  var onClick = function onClick(e) {
5030
5125
  return ctx.emit('click', e);
@@ -5032,6 +5127,7 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
5032
5127
  /**
5033
5128
  * @event mouseover - Native hover
5034
5129
  */
5130
+ // eslint-disable-next-line no-undef
5035
5131
 
5036
5132
 
5037
5133
  var onMouseover = function onMouseover(e) {
@@ -5040,6 +5136,7 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
5040
5136
  /**
5041
5137
  * @event mouseout - Native hover out
5042
5138
  */
5139
+ // eslint-disable-next-line no-undef
5043
5140
 
5044
5141
 
5045
5142
  var onMouseout = function onMouseout(e) {
@@ -5048,6 +5145,7 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
5048
5145
  /**
5049
5146
  * @event focusin - Native focusin
5050
5147
  */
5148
+ // eslint-disable-next-line no-undef
5051
5149
 
5052
5150
 
5053
5151
  var onFocusin = function onFocusin(e) {
@@ -5056,6 +5154,7 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
5056
5154
  /**
5057
5155
  * @event focusout - Native focusout
5058
5156
  */
5157
+ // eslint-disable-next-line no-undef
5059
5158
 
5060
5159
 
5061
5160
  var onFocusout = function onFocusout(e) {
@@ -5068,6 +5167,7 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
5068
5167
  return 'button';
5069
5168
  });
5070
5169
  return {
5170
+ baseClass: baseClass,
5071
5171
  textColorClass: textColorClass,
5072
5172
  bgColorClass: bgColorClass,
5073
5173
  sizeClass: sizeClass,
@@ -5080,9 +5180,9 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
5080
5180
  tagName: tagName
5081
5181
  };
5082
5182
  }
5083
- });function render$3(_ctx, _cache, $props, $setup, $data, $options) {
5183
+ });function render$4(_ctx, _cache, $props, $setup, $data, $options) {
5084
5184
  return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.tagName), {
5085
- "class": vue.normalizeClass(["fw-button inline-block text-center cursor-pointer whitespace-nowrap border-2 focus:outline-0 focus-visible:outline-0 focus:ring-none ring-offset-2 focus-visible:ring", [_ctx.textColorClass, _ctx.bgColorClass, _ctx.sizeClass, _ctx.borderClass, _ctx.variant === 'link' ? 'pl-0 pr-0 pt-0 pb-0 rounded-none font-normal' : 'font-bold rounded-full']]),
5185
+ "class": vue.normalizeClass(["fw-button", [_ctx.baseClass, _ctx.textColorClass, _ctx.bgColorClass, _ctx.sizeClass, _ctx.borderClass, _ctx.variant === 'link' ? 'pl-0 pr-0 pt-0 pb-0 rounded-none font-normal' : 'font-bold rounded-full']]),
5086
5186
  type: _ctx.tagName === 'button' ? _ctx.buttonType : null,
5087
5187
  to: _ctx.to ? _ctx.to : null,
5088
5188
  href: _ctx.href ? _ctx.href : null,
@@ -5097,14 +5197,14 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
5097
5197
  return [vue.renderSlot(_ctx.$slots, "default")];
5098
5198
  }),
5099
5199
  _: 3
5100
- }, 8, ["class", "type", "to", "href", "tabindex", "onClick", "onFocusin", "onFocusout", "onMouseover", "onMouseout"]);
5101
- }var css_248z$1 = ".fw-button{line-height:normal;-webkit-transition:all .25s ease-in;-o-transition:all .25s ease-in;transition:all .25s ease-in}";
5102
- var stylesheet$1 = ".fw-button{line-height:normal;-webkit-transition:all .25s ease-in;-o-transition:all .25s ease-in;transition:all .25s ease-in}";
5103
- styleInject(css_248z$1);script$3.render = render$3;var script$2 = vue.defineComponent({
5200
+ }, 40, ["class", "type", "to", "href", "tabindex", "onClick", "onFocusin", "onFocusout", "onMouseover", "onMouseout"]);
5201
+ }var css_248z$2 = ".fw-button{line-height:normal;-webkit-transition:all .25s ease-in-out;-o-transition:all .25s ease-in-out;transition:all .25s ease-in-out}";
5202
+ var stylesheet$2 = ".fw-button{line-height:normal;-webkit-transition:all .25s ease-in-out;-o-transition:all .25s ease-in-out;transition:all .25s ease-in-out}";
5203
+ styleInject(css_248z$2);script$4.render = render$4;var script$3 = vue.defineComponent({
5104
5204
  name: 'FwNavigationMenu',
5105
5205
  emits: ['action'],
5106
5206
  components: {
5107
- FwButton: script$3
5207
+ FwButton: script$4
5108
5208
  },
5109
5209
  props: {
5110
5210
  /**
@@ -5124,6 +5224,8 @@ styleInject(css_248z$1);script$3.render = render$3;var script$2 = vue.defineComp
5124
5224
  }
5125
5225
  },
5126
5226
  setup: function setup(_props, ctx) {
5227
+ var mobileMenuClass = vue.ref( // eslint-disable-next-line max-len
5228
+ "min-h-screen top-0 left-0 pt-20 absolute w-full flex flex-col justify-between px-2 bg-white shadow-md pb-3 space-y-1");
5127
5229
  var isMobileMenuOpen = vue.ref(false);
5128
5230
 
5129
5231
  var toggleMobileMenu = function toggleMobileMenu() {
@@ -5135,41 +5237,42 @@ styleInject(css_248z$1);script$3.render = render$3;var script$2 = vue.defineComp
5135
5237
  };
5136
5238
 
5137
5239
  return {
5240
+ mobileMenuClass: mobileMenuClass,
5138
5241
  isMobileMenuOpen: isMobileMenuOpen,
5139
5242
  toggleMobileMenu: toggleMobileMenu,
5140
5243
  actionClicked: actionClicked
5141
5244
  };
5142
5245
  }
5143
- });var _hoisted_1$2 = {
5246
+ });var _hoisted_1$3 = {
5144
5247
  "class": "fw-nav-menu relative z-50 h-20 shadow-md"
5145
5248
  };
5146
- var _hoisted_2$1 = {
5249
+ var _hoisted_2$2 = {
5147
5250
  "class": "px-6 flex-1 h-full flex bg-white items-stretch justify-between"
5148
5251
  };
5149
- var _hoisted_3$1 = {
5252
+ var _hoisted_3$2 = {
5150
5253
  key: 0,
5151
5254
  "class": "flex-shrink-0 flex items-center"
5152
5255
  };
5153
- var _hoisted_4 = {
5256
+ var _hoisted_4$1 = {
5154
5257
  key: 1,
5155
- "class": "container hidden sm:flex items-center justify-start sm:ml-6"
5258
+ "class": "container hidden sm:flex items-center justify-start max-w-[600px] sm:ml-6"
5156
5259
  };
5157
- var _hoisted_5 = {
5260
+ var _hoisted_5$1 = {
5158
5261
  "class": "flex space-x-2"
5159
5262
  };
5160
- var _hoisted_6 = {
5263
+ var _hoisted_6$1 = {
5161
5264
  key: 2,
5162
5265
  "class": "hidden sm:flex items-center justify-start sm:ml-6"
5163
5266
  };
5164
- var _hoisted_7 = {
5267
+ var _hoisted_7$1 = {
5165
5268
  "class": "flex items-center sm:hidden"
5166
5269
  };
5167
5270
 
5168
- var _hoisted_8 = /*#__PURE__*/vue.createElementVNode("span", {
5271
+ var _hoisted_8$1 = /*#__PURE__*/vue.createElementVNode("span", {
5169
5272
  "class": "sr-only"
5170
5273
  }, "Open main menu", -1);
5171
5274
 
5172
- var _hoisted_9 = {
5275
+ var _hoisted_9$1 = {
5173
5276
  "class": "block h-6 w-6",
5174
5277
  xmlns: "http://www.w3.org/2000/svg",
5175
5278
  fill: "none",
@@ -5177,20 +5280,16 @@ var _hoisted_9 = {
5177
5280
  stroke: "currentColor",
5178
5281
  "aria-hidden": "true"
5179
5282
  };
5180
- var _hoisted_10 = ["d"];
5181
- var _hoisted_11 = {
5182
- key: 0,
5183
- "class": "fw-nav-menu--mobile min-h-screen top-0 left-0 pt-20 absolute w-full flex flex-col justify-between px-2 bg-white shadow-md pb-3 space-y-1"
5184
- };
5185
- var _hoisted_12 = {
5283
+ var _hoisted_10$1 = ["d"];
5284
+ var _hoisted_11$1 = {
5186
5285
  "class": "w-full flex flex-col"
5187
5286
  };
5188
- function render$2(_ctx, _cache, $props, $setup, $data, $options) {
5287
+ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
5189
5288
  var _ctx$menuItems;
5190
5289
 
5191
5290
  var _component_FwButton = vue.resolveComponent("FwButton");
5192
5291
 
5193
- return vue.openBlock(), vue.createElementBlock("nav", _hoisted_1$2, [vue.createElementVNode("div", _hoisted_2$1, [_ctx.$slots.logo ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$1, [vue.renderSlot(_ctx.$slots, "logo")])) : vue.createCommentVNode("", true), ((_ctx$menuItems = _ctx.menuItems) === null || _ctx$menuItems === void 0 ? void 0 : _ctx$menuItems.length) > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4, [vue.createElementVNode("div", _hoisted_5, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.menuItems, function (item, i) {
5292
+ return vue.openBlock(), vue.createElementBlock("nav", _hoisted_1$3, [vue.createElementVNode("div", _hoisted_2$2, [_ctx.$slots.logo ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$2, [vue.renderSlot(_ctx.$slots, "logo")])) : vue.createCommentVNode("", true), ((_ctx$menuItems = _ctx.menuItems) === null || _ctx$menuItems === void 0 ? void 0 : _ctx$menuItems.length) > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$1, [vue.createElementVNode("div", _hoisted_5$1, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.menuItems, function (item, i) {
5194
5293
  return vue.openBlock(), vue.createBlock(_component_FwButton, {
5195
5294
  key: i,
5196
5295
  variant: "text",
@@ -5204,7 +5303,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
5204
5303
  }),
5205
5304
  _: 2
5206
5305
  }, 1032, ["href", "to"]);
5207
- }), 128))])])) : vue.createCommentVNode("", true), _ctx.actionLabel ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6, [vue.createVNode(_component_FwButton, {
5306
+ }), 128))])])) : vue.createCommentVNode("", true), _ctx.actionLabel ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$1, [vue.createVNode(_component_FwButton, {
5208
5307
  onClick: _ctx.actionClicked,
5209
5308
  size: "md",
5210
5309
  "aria-label": _ctx.actionLabel
@@ -5213,18 +5312,18 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
5213
5312
  return [vue.createTextVNode(vue.toDisplayString(_ctx.actionLabel), 1)];
5214
5313
  }),
5215
5314
  _: 1
5216
- }, 8, ["onClick", "aria-label"])])) : vue.createCommentVNode("", true), vue.createElementVNode("div", _hoisted_7, [vue.createVNode(_component_FwButton, {
5315
+ }, 8, ["onClick", "aria-label"])])) : vue.createCommentVNode("", true), vue.createElementVNode("div", _hoisted_7$1, [vue.createVNode(_component_FwButton, {
5217
5316
  variant: "text",
5218
5317
  size: "sm",
5219
5318
  onClick: _ctx.toggleMobileMenu
5220
5319
  }, {
5221
5320
  "default": vue.withCtx(function () {
5222
- return [_hoisted_8, (vue.openBlock(), vue.createElementBlock("svg", _hoisted_9, [vue.createElementVNode("path", {
5321
+ return [_hoisted_8$1, (vue.openBlock(), vue.createElementBlock("svg", _hoisted_9$1, [vue.createElementVNode("path", {
5223
5322
  "stroke-linecap": "round",
5224
5323
  "stroke-linejoin": "round",
5225
5324
  "stroke-width": "2",
5226
5325
  d: _ctx.isMobileMenuOpen ? 'M6 18L18 6M6 6l12 12' : 'M4 6h16M4 12h16M4 18h16'
5227
- }, null, 8, _hoisted_10)]))];
5326
+ }, null, 8, _hoisted_10$1)]))];
5228
5327
  }),
5229
5328
  _: 1
5230
5329
  }, 8, ["onClick"])])]), vue.createVNode(vue.Transition, {
@@ -5233,10 +5332,13 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
5233
5332
  "default": vue.withCtx(function () {
5234
5333
  var _ctx$menuItems2;
5235
5334
 
5236
- return [((_ctx$menuItems2 = _ctx.menuItems) === null || _ctx$menuItems2 === void 0 ? void 0 : _ctx$menuItems2.length) > 0 && _ctx.isMobileMenuOpen ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_11, [vue.createElementVNode("div", _hoisted_12, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.menuItems, function (item, i) {
5335
+ return [((_ctx$menuItems2 = _ctx.menuItems) === null || _ctx$menuItems2 === void 0 ? void 0 : _ctx$menuItems2.length) > 0 && _ctx.isMobileMenuOpen ? (vue.openBlock(), vue.createElementBlock("div", {
5336
+ key: 0,
5337
+ "class": vue.normalizeClass(["fw-nav-menu--mobile", _ctx.mobileMenuClass])
5338
+ }, [vue.createElementVNode("div", _hoisted_11$1, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.menuItems, function (item, i) {
5237
5339
  return vue.openBlock(), vue.createBlock(_component_FwButton, {
5238
5340
  key: i,
5239
- "class": "w-full rounded-md px-2",
5341
+ "class": "w-full rounded-md",
5240
5342
  variant: "text",
5241
5343
  href: item.href,
5242
5344
  to: item.to,
@@ -5251,45 +5353,43 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
5251
5353
  }), 128))]), _ctx.actionLabel ? (vue.openBlock(), vue.createBlock(_component_FwButton, {
5252
5354
  key: 0,
5253
5355
  "class": "w-full rounded-md px-2",
5254
- onClick: _ctx.actionClicked,
5255
- size: "md"
5356
+ onClick: _ctx.actionClicked
5256
5357
  }, {
5257
5358
  "default": vue.withCtx(function () {
5258
5359
  return [vue.createTextVNode(vue.toDisplayString(_ctx.actionLabel), 1)];
5259
5360
  }),
5260
5361
  _: 1
5261
- }, 8, ["onClick"])) : vue.createCommentVNode("", true)])) : vue.createCommentVNode("", true)];
5362
+ }, 8, ["onClick"])) : vue.createCommentVNode("", true)], 2)) : vue.createCommentVNode("", true)];
5262
5363
  }),
5263
5364
  _: 1
5264
5365
  })]);
5265
- }var css_248z = ".fw-nav-menu--mobile{z-index:-1}.fw-nav-menu--mobile,.slideInLeft-enter-active{-webkit-transition:left .35s ease-in;-o-transition:left .35s ease-in;transition:left .35s ease-in}.slideInLeft-enter-active{-webkit-animation:slideInLeft .35s;animation:slideInLeft .35s}.slideInLeft-leave-active{animation:slideInLeft .35s reverse;-webkit-transition:left .35s ease-in-out;-o-transition:left .35s ease-in-out;transition:left .35s ease-in-out}@-webkit-keyframes slideInLeft{0%{left:100%}to{left:0}}@keyframes slideInLeft{0%{left:100%}to{left:0}}";
5266
- var stylesheet = ".fw-nav-menu--mobile{z-index:-1}.fw-nav-menu--mobile,.slideInLeft-enter-active{-webkit-transition:left .35s ease-in;-o-transition:left .35s ease-in;transition:left .35s ease-in}.slideInLeft-enter-active{-webkit-animation:slideInLeft .35s;animation:slideInLeft .35s}.slideInLeft-leave-active{animation:slideInLeft .35s reverse;-webkit-transition:left .35s ease-in-out;-o-transition:left .35s ease-in-out;transition:left .35s ease-in-out}@-webkit-keyframes slideInLeft{0%{left:100%}to{left:0}}@keyframes slideInLeft{0%{left:100%}to{left:0}}";
5267
- styleInject(css_248z);script$2.render = render$2;var es_number_constructor = {};var global$3 = global$r;
5268
- var isCallable$1 = isCallable$e;
5366
+ }var css_248z$1 = ".fw-nav-menu--mobile{z-index:-1}.fw-nav-menu--mobile,.slideInLeft-enter-active{-webkit-transition:left .35s ease-in;-o-transition:left .35s ease-in;transition:left .35s ease-in}.slideInLeft-enter-active{-webkit-animation:slideInLeft .35s;animation:slideInLeft .35s}.slideInLeft-leave-active{animation:slideInLeft .35s reverse;-webkit-transition:left .35s ease-in-out;-o-transition:left .35s ease-in-out;transition:left .35s ease-in-out}@-webkit-keyframes slideInLeft{0%{left:100%}to{left:0}}@keyframes slideInLeft{0%{left:100%}to{left:0}}";
5367
+ var stylesheet$1 = ".fw-nav-menu--mobile{z-index:-1}.fw-nav-menu--mobile,.slideInLeft-enter-active{-webkit-transition:left .35s ease-in;-o-transition:left .35s ease-in;transition:left .35s ease-in}.slideInLeft-enter-active{-webkit-animation:slideInLeft .35s;animation:slideInLeft .35s}.slideInLeft-leave-active{animation:slideInLeft .35s reverse;-webkit-transition:left .35s ease-in-out;-o-transition:left .35s ease-in-out;transition:left .35s ease-in-out}@-webkit-keyframes slideInLeft{0%{left:100%}to{left:0}}@keyframes slideInLeft{0%{left:100%}to{left:0}}";
5368
+ styleInject(css_248z$1);script$3.render = render$3;var es_number_constructor = {};var isCallable$2 = isCallable$g;
5269
5369
 
5270
- var String$2 = global$3.String;
5271
- var TypeError$2 = global$3.TypeError;
5370
+ var $String$1 = String;
5371
+ var $TypeError$1 = TypeError;
5272
5372
 
5273
5373
  var aPossiblePrototype$1 = function (argument) {
5274
- if (typeof argument == 'object' || isCallable$1(argument)) return argument;
5275
- throw TypeError$2("Can't set " + String$2(argument) + ' as a prototype');
5374
+ if (typeof argument == 'object' || isCallable$2(argument)) return argument;
5375
+ throw $TypeError$1("Can't set " + $String$1(argument) + ' as a prototype');
5276
5376
  };/* eslint-disable no-proto -- safe */
5277
5377
 
5278
- var uncurryThis$3 = functionUncurryThis;
5378
+ var uncurryThis$4 = functionUncurryThis;
5279
5379
  var anObject = anObject$5;
5280
5380
  var aPossiblePrototype = aPossiblePrototype$1;
5281
5381
 
5282
5382
  // `Object.setPrototypeOf` method
5283
5383
  // https://tc39.es/ecma262/#sec-object.setprototypeof
5284
5384
  // Works with __proto__ only. Old v8 can't work with null proto objects.
5285
- // eslint-disable-next-line es/no-object-setprototypeof -- safe
5385
+ // eslint-disable-next-line es-x/no-object-setprototypeof -- safe
5286
5386
  var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
5287
5387
  var CORRECT_SETTER = false;
5288
5388
  var test = {};
5289
5389
  var setter;
5290
5390
  try {
5291
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
5292
- setter = uncurryThis$3(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
5391
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
5392
+ setter = uncurryThis$4(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
5293
5393
  setter(test, []);
5294
5394
  CORRECT_SETTER = test instanceof Array;
5295
5395
  } catch (error) { /* empty */ }
@@ -5300,7 +5400,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
5300
5400
  else O.__proto__ = proto;
5301
5401
  return O;
5302
5402
  };
5303
- }() : undefined);var isCallable = isCallable$e;
5403
+ }() : undefined);var isCallable$1 = isCallable$g;
5304
5404
  var isObject = isObject$8;
5305
5405
  var setPrototypeOf = objectSetPrototypeOf;
5306
5406
 
@@ -5311,32 +5411,31 @@ var inheritIfRequired$1 = function ($this, dummy, Wrapper) {
5311
5411
  // it can work only with native `setPrototypeOf`
5312
5412
  setPrototypeOf &&
5313
5413
  // we haven't completely correct pre-ES6 way for getting `new.target`, so use this
5314
- isCallable(NewTarget = dummy.constructor) &&
5414
+ isCallable$1(NewTarget = dummy.constructor) &&
5315
5415
  NewTarget !== Wrapper &&
5316
5416
  isObject(NewTargetPrototype = NewTarget.prototype) &&
5317
5417
  NewTargetPrototype !== Wrapper.prototype
5318
5418
  ) setPrototypeOf($this, NewTargetPrototype);
5319
5419
  return $this;
5320
- };var uncurryThis$2 = functionUncurryThis;
5420
+ };var uncurryThis$3 = functionUncurryThis;
5321
5421
 
5322
5422
  // `thisNumberValue` abstract operation
5323
5423
  // https://tc39.es/ecma262/#sec-thisnumbervalue
5324
- var thisNumberValue$1 = uncurryThis$2(1.0.valueOf);var global$2 = global$r;
5325
- var classof = classof$3;
5424
+ var thisNumberValue$1 = uncurryThis$3(1.0.valueOf);var classof = classof$3;
5326
5425
 
5327
- var String$1 = global$2.String;
5426
+ var $String = String;
5328
5427
 
5329
- var toString$1 = function (argument) {
5428
+ var toString$2 = function (argument) {
5330
5429
  if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
5331
- return String$1(argument);
5430
+ return $String(argument);
5332
5431
  };// a string of all valid unicode whitespaces
5333
5432
  var whitespaces$1 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
5334
- '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';var uncurryThis$1 = functionUncurryThis;
5433
+ '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';var uncurryThis$2 = functionUncurryThis;
5335
5434
  var requireObjectCoercible = requireObjectCoercible$3;
5336
- var toString = toString$1;
5435
+ var toString$1 = toString$2;
5337
5436
  var whitespaces = whitespaces$1;
5338
5437
 
5339
- var replace = uncurryThis$1(''.replace);
5438
+ var replace = uncurryThis$2(''.replace);
5340
5439
  var whitespace = '[' + whitespaces + ']';
5341
5440
  var ltrim = RegExp('^' + whitespace + whitespace + '*');
5342
5441
  var rtrim = RegExp(whitespace + whitespace + '*$');
@@ -5344,7 +5443,7 @@ var rtrim = RegExp(whitespace + whitespace + '*$');
5344
5443
  // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
5345
5444
  var createMethod = function (TYPE) {
5346
5445
  return function ($this) {
5347
- var string = toString(requireObjectCoercible($this));
5446
+ var string = toString$1(requireObjectCoercible($this));
5348
5447
  if (TYPE & 1) string = replace(string, ltrim, '');
5349
5448
  if (TYPE & 2) string = replace(string, rtrim, '');
5350
5449
  return string;
@@ -5363,16 +5462,16 @@ var stringTrim = {
5363
5462
  trim: createMethod(3)
5364
5463
  };'use strict';
5365
5464
  var DESCRIPTORS = descriptors;
5366
- var global$1 = global$r;
5367
- var uncurryThis = functionUncurryThis;
5465
+ var global$4 = global$f;
5466
+ var uncurryThis$1 = functionUncurryThis;
5368
5467
  var isForced = isForced_1;
5369
- var redefine = redefine$4.exports;
5468
+ var defineBuiltIn = defineBuiltIn$3;
5370
5469
  var hasOwn = hasOwnProperty_1;
5371
5470
  var inheritIfRequired = inheritIfRequired$1;
5372
5471
  var isPrototypeOf = objectIsPrototypeOf;
5373
- var isSymbol = isSymbol$3;
5472
+ var isSymbol$1 = isSymbol$4;
5374
5473
  var toPrimitive = toPrimitive$2;
5375
- var fails = fails$a;
5474
+ var fails = fails$c;
5376
5475
  var getOwnPropertyNames = objectGetOwnPropertyNames.f;
5377
5476
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
5378
5477
  var defineProperty = objectDefineProperty.f;
@@ -5380,11 +5479,11 @@ var thisNumberValue = thisNumberValue$1;
5380
5479
  var trim = stringTrim.trim;
5381
5480
 
5382
5481
  var NUMBER = 'Number';
5383
- var NativeNumber = global$1[NUMBER];
5482
+ var NativeNumber = global$4[NUMBER];
5384
5483
  var NumberPrototype = NativeNumber.prototype;
5385
- var TypeError$1 = global$1.TypeError;
5386
- var arraySlice = uncurryThis(''.slice);
5387
- var charCodeAt = uncurryThis(''.charCodeAt);
5484
+ var TypeError$1 = global$4.TypeError;
5485
+ var arraySlice$2 = uncurryThis$1(''.slice);
5486
+ var charCodeAt = uncurryThis$1(''.charCodeAt);
5388
5487
 
5389
5488
  // `ToNumeric` abstract operation
5390
5489
  // https://tc39.es/ecma262/#sec-tonumeric
@@ -5398,7 +5497,7 @@ var toNumeric = function (value) {
5398
5497
  var toNumber = function (argument) {
5399
5498
  var it = toPrimitive(argument, 'number');
5400
5499
  var first, third, radix, maxCode, digits, length, index, code;
5401
- if (isSymbol(it)) throw TypeError$1('Cannot convert a Symbol value to a number');
5500
+ if (isSymbol$1(it)) throw TypeError$1('Cannot convert a Symbol value to a number');
5402
5501
  if (typeof it == 'string' && it.length > 2) {
5403
5502
  it = trim(it);
5404
5503
  first = charCodeAt(it, 0);
@@ -5411,7 +5510,7 @@ var toNumber = function (argument) {
5411
5510
  case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i
5412
5511
  default: return +it;
5413
5512
  }
5414
- digits = arraySlice(it, 2);
5513
+ digits = arraySlice$2(it, 2);
5415
5514
  length = digits.length;
5416
5515
  for (index = 0; index < length; index++) {
5417
5516
  code = charCodeAt(digits, index);
@@ -5447,8 +5546,8 @@ if (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumb
5447
5546
  }
5448
5547
  NumberWrapper.prototype = NumberPrototype;
5449
5548
  NumberPrototype.constructor = NumberWrapper;
5450
- redefine(global$1, NUMBER, NumberWrapper);
5451
- }var script$1 = vue.defineComponent({
5549
+ defineBuiltIn(global$4, NUMBER, NumberWrapper, { constructor: true });
5550
+ }var script$2 = vue.defineComponent({
5452
5551
  name: 'FwTabs',
5453
5552
  emits: ['update:modelValue'],
5454
5553
  props: {
@@ -5480,16 +5579,16 @@ if (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumb
5480
5579
  selectTab: selectTab
5481
5580
  };
5482
5581
  }
5483
- });var _hoisted_1$1 = {
5582
+ });var _hoisted_1$2 = {
5484
5583
  "class": "fw-tabs"
5485
5584
  };
5486
- var _hoisted_2 = {
5585
+ var _hoisted_2$1 = {
5487
5586
  key: 0,
5488
5587
  "class": "flex flex-wrap -mb-px border-b border-grey-light dark:text-grey-base dark:border-grey-base"
5489
5588
  };
5490
- var _hoisted_3 = ["onClick"];
5491
- function render$1(_ctx, _cache, $props, $setup, $data, $options) {
5492
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1, [_ctx.tabs ? (vue.openBlock(), vue.createElementBlock("ul", _hoisted_2, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.tabs, function (tab, i) {
5589
+ var _hoisted_3$1 = ["onClick"];
5590
+ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
5591
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$2, [_ctx.tabs ? (vue.openBlock(), vue.createElementBlock("ul", _hoisted_2$1, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.tabs, function (tab, i) {
5493
5592
  return vue.openBlock(), vue.createElementBlock("li", {
5494
5593
  "class": "mr-2",
5495
5594
  key: i
@@ -5499,10 +5598,10 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
5499
5598
  return _ctx.selectTab(i);
5500
5599
  },
5501
5600
  "class": vue.normalizeClass(["inline-block p-4 outline-primary border-b-2 border-transparent transition ease-in", _ctx.active === i ? 'font-medium border-black' : 'hover:bg-grey-lightest'])
5502
- }, vue.toDisplayString(tab.props.label), 11, _hoisted_3)]);
5601
+ }, vue.toDisplayString(tab.props.label), 11, _hoisted_3$1)]);
5503
5602
  }), 128))])) : vue.createCommentVNode("", true), vue.renderSlot(_ctx.$slots, "default")]);
5504
- }script$1.render = render$1;var es_array_findIndex = {};'use strict';
5505
- var $ = _export;
5603
+ }script$2.render = render$2;var es_array_findIndex = {};'use strict';
5604
+ var $$2 = _export;
5506
5605
  var $findIndex = arrayIteration.findIndex;
5507
5606
  var addToUnscopables = addToUnscopables$2;
5508
5607
 
@@ -5514,14 +5613,14 @@ if (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; })
5514
5613
 
5515
5614
  // `Array.prototype.findIndex` method
5516
5615
  // https://tc39.es/ecma262/#sec-array.prototype.findindex
5517
- $({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
5616
+ $$2({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
5518
5617
  findIndex: function findIndex(callbackfn /* , that = undefined */) {
5519
5618
  return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
5520
5619
  }
5521
5620
  });
5522
5621
 
5523
5622
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
5524
- addToUnscopables(FIND_INDEX);var script = vue.defineComponent({
5623
+ addToUnscopables(FIND_INDEX);var script$1 = vue.defineComponent({
5525
5624
  name: 'FwTab',
5526
5625
  props: {
5527
5626
  /**
@@ -5562,22 +5661,588 @@ addToUnscopables(FIND_INDEX);var script = vue.defineComponent({
5562
5661
  index: index
5563
5662
  };
5564
5663
  }
5565
- });var _hoisted_1 = {
5664
+ });var _hoisted_1$1 = {
5566
5665
  key: 0,
5567
5666
  "class": "fw-tab w-full"
5568
5667
  };
5668
+ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
5669
+ return _ctx.isActive ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1, [vue.renderSlot(_ctx.$slots, "default")])) : vue.createCommentVNode("", true);
5670
+ }script$1.render = render$1;/** Detect free variable `global` from Node.js. */
5671
+ var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;/** Detect free variable `self`. */
5672
+ var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
5673
+
5674
+ /** Used as a reference to the global object. */
5675
+ var root = freeGlobal || freeSelf || Function('return this')();/** Built-in value references. */
5676
+ var Symbol$1 = root.Symbol;/**
5677
+ * A specialized version of `_.map` for arrays without support for iteratee
5678
+ * shorthands.
5679
+ *
5680
+ * @private
5681
+ * @param {Array} [array] The array to iterate over.
5682
+ * @param {Function} iteratee The function invoked per iteration.
5683
+ * @returns {Array} Returns the new mapped array.
5684
+ */
5685
+ function arrayMap(array, iteratee) {
5686
+ var index = -1,
5687
+ length = array == null ? 0 : array.length,
5688
+ result = Array(length);
5689
+
5690
+ while (++index < length) {
5691
+ result[index] = iteratee(array[index], index, array);
5692
+ }
5693
+ return result;
5694
+ }/**
5695
+ * Checks if `value` is classified as an `Array` object.
5696
+ *
5697
+ * @static
5698
+ * @memberOf _
5699
+ * @since 0.1.0
5700
+ * @category Lang
5701
+ * @param {*} value The value to check.
5702
+ * @returns {boolean} Returns `true` if `value` is an array, else `false`.
5703
+ * @example
5704
+ *
5705
+ * _.isArray([1, 2, 3]);
5706
+ * // => true
5707
+ *
5708
+ * _.isArray(document.body.children);
5709
+ * // => false
5710
+ *
5711
+ * _.isArray('abc');
5712
+ * // => false
5713
+ *
5714
+ * _.isArray(_.noop);
5715
+ * // => false
5716
+ */
5717
+ var isArray = Array.isArray;/** Used for built-in method references. */
5718
+ var objectProto$1 = Object.prototype;
5719
+
5720
+ /** Used to check objects for own properties. */
5721
+ var hasOwnProperty = objectProto$1.hasOwnProperty;
5722
+
5723
+ /**
5724
+ * Used to resolve the
5725
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
5726
+ * of values.
5727
+ */
5728
+ var nativeObjectToString$1 = objectProto$1.toString;
5729
+
5730
+ /** Built-in value references. */
5731
+ var symToStringTag$1 = Symbol$1 ? Symbol$1.toStringTag : undefined;
5732
+
5733
+ /**
5734
+ * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
5735
+ *
5736
+ * @private
5737
+ * @param {*} value The value to query.
5738
+ * @returns {string} Returns the raw `toStringTag`.
5739
+ */
5740
+ function getRawTag(value) {
5741
+ var isOwn = hasOwnProperty.call(value, symToStringTag$1),
5742
+ tag = value[symToStringTag$1];
5743
+
5744
+ try {
5745
+ value[symToStringTag$1] = undefined;
5746
+ var unmasked = true;
5747
+ } catch (e) {}
5748
+
5749
+ var result = nativeObjectToString$1.call(value);
5750
+ if (unmasked) {
5751
+ if (isOwn) {
5752
+ value[symToStringTag$1] = tag;
5753
+ } else {
5754
+ delete value[symToStringTag$1];
5755
+ }
5756
+ }
5757
+ return result;
5758
+ }/** Used for built-in method references. */
5759
+ var objectProto = Object.prototype;
5760
+
5761
+ /**
5762
+ * Used to resolve the
5763
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
5764
+ * of values.
5765
+ */
5766
+ var nativeObjectToString = objectProto.toString;
5767
+
5768
+ /**
5769
+ * Converts `value` to a string using `Object.prototype.toString`.
5770
+ *
5771
+ * @private
5772
+ * @param {*} value The value to convert.
5773
+ * @returns {string} Returns the converted string.
5774
+ */
5775
+ function objectToString(value) {
5776
+ return nativeObjectToString.call(value);
5777
+ }/** `Object#toString` result references. */
5778
+ var nullTag = '[object Null]',
5779
+ undefinedTag = '[object Undefined]';
5780
+
5781
+ /** Built-in value references. */
5782
+ var symToStringTag = Symbol$1 ? Symbol$1.toStringTag : undefined;
5783
+
5784
+ /**
5785
+ * The base implementation of `getTag` without fallbacks for buggy environments.
5786
+ *
5787
+ * @private
5788
+ * @param {*} value The value to query.
5789
+ * @returns {string} Returns the `toStringTag`.
5790
+ */
5791
+ function baseGetTag(value) {
5792
+ if (value == null) {
5793
+ return value === undefined ? undefinedTag : nullTag;
5794
+ }
5795
+ return (symToStringTag && symToStringTag in Object(value))
5796
+ ? getRawTag(value)
5797
+ : objectToString(value);
5798
+ }/**
5799
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
5800
+ * and has a `typeof` result of "object".
5801
+ *
5802
+ * @static
5803
+ * @memberOf _
5804
+ * @since 4.0.0
5805
+ * @category Lang
5806
+ * @param {*} value The value to check.
5807
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
5808
+ * @example
5809
+ *
5810
+ * _.isObjectLike({});
5811
+ * // => true
5812
+ *
5813
+ * _.isObjectLike([1, 2, 3]);
5814
+ * // => true
5815
+ *
5816
+ * _.isObjectLike(_.noop);
5817
+ * // => false
5818
+ *
5819
+ * _.isObjectLike(null);
5820
+ * // => false
5821
+ */
5822
+ function isObjectLike(value) {
5823
+ return value != null && typeof value == 'object';
5824
+ }/** `Object#toString` result references. */
5825
+ var symbolTag = '[object Symbol]';
5826
+
5827
+ /**
5828
+ * Checks if `value` is classified as a `Symbol` primitive or object.
5829
+ *
5830
+ * @static
5831
+ * @memberOf _
5832
+ * @since 4.0.0
5833
+ * @category Lang
5834
+ * @param {*} value The value to check.
5835
+ * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
5836
+ * @example
5837
+ *
5838
+ * _.isSymbol(Symbol.iterator);
5839
+ * // => true
5840
+ *
5841
+ * _.isSymbol('abc');
5842
+ * // => false
5843
+ */
5844
+ function isSymbol(value) {
5845
+ return typeof value == 'symbol' ||
5846
+ (isObjectLike(value) && baseGetTag(value) == symbolTag);
5847
+ }/** Used as references for various `Number` constants. */
5848
+ var INFINITY = 1 / 0;
5849
+
5850
+ /** Used to convert symbols to primitives and strings. */
5851
+ var symbolProto = Symbol$1 ? Symbol$1.prototype : undefined,
5852
+ symbolToString = symbolProto ? symbolProto.toString : undefined;
5853
+
5854
+ /**
5855
+ * The base implementation of `_.toString` which doesn't convert nullish
5856
+ * values to empty strings.
5857
+ *
5858
+ * @private
5859
+ * @param {*} value The value to process.
5860
+ * @returns {string} Returns the string.
5861
+ */
5862
+ function baseToString(value) {
5863
+ // Exit early for strings to avoid a performance hit in some environments.
5864
+ if (typeof value == 'string') {
5865
+ return value;
5866
+ }
5867
+ if (isArray(value)) {
5868
+ // Recursively convert values (susceptible to call stack limits).
5869
+ return arrayMap(value, baseToString) + '';
5870
+ }
5871
+ if (isSymbol(value)) {
5872
+ return symbolToString ? symbolToString.call(value) : '';
5873
+ }
5874
+ var result = (value + '');
5875
+ return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
5876
+ }/**
5877
+ * Converts `value` to a string. An empty string is returned for `null`
5878
+ * and `undefined` values. The sign of `-0` is preserved.
5879
+ *
5880
+ * @static
5881
+ * @memberOf _
5882
+ * @since 4.0.0
5883
+ * @category Lang
5884
+ * @param {*} value The value to convert.
5885
+ * @returns {string} Returns the converted string.
5886
+ * @example
5887
+ *
5888
+ * _.toString(null);
5889
+ * // => ''
5890
+ *
5891
+ * _.toString(-0);
5892
+ * // => '-0'
5893
+ *
5894
+ * _.toString([1, 2, 3]);
5895
+ * // => '1,2,3'
5896
+ */
5897
+ function toString(value) {
5898
+ return value == null ? '' : baseToString(value);
5899
+ }/** Used to generate unique IDs. */
5900
+ var idCounter = 0;
5901
+
5902
+ /**
5903
+ * Generates a unique ID. If `prefix` is given, the ID is appended to it.
5904
+ *
5905
+ * @static
5906
+ * @since 0.1.0
5907
+ * @memberOf _
5908
+ * @category Util
5909
+ * @param {string} [prefix=''] The value to prefix the ID with.
5910
+ * @returns {string} Returns the unique ID.
5911
+ * @example
5912
+ *
5913
+ * _.uniqueId('contact_');
5914
+ * // => 'contact_104'
5915
+ *
5916
+ * _.uniqueId();
5917
+ * // => '105'
5918
+ */
5919
+ function uniqueId(prefix) {
5920
+ var id = ++idCounter;
5921
+ return toString(prefix) + id;
5922
+ }var script = vue.defineComponent({
5923
+ name: 'FwModal',
5924
+ components: {
5925
+ FwButton: script$4
5926
+ },
5927
+ emits: ['cancel', 'confirm'],
5928
+ props: {
5929
+ /**
5930
+ * The header title of the modal
5931
+ */
5932
+ header: {
5933
+ type: String
5934
+ },
5935
+
5936
+ /**
5937
+ * The body description of the modal
5938
+ */
5939
+ body: {
5940
+ type: String
5941
+ },
5942
+
5943
+ /**
5944
+ * The aria role of the modal container. Defaults to `dialog`
5945
+ */
5946
+ role: {
5947
+ type: String,
5948
+ "default": 'dialog'
5949
+ },
5950
+
5951
+ /**
5952
+ * Whether to show the cancel button
5953
+ */
5954
+ showCancel: {
5955
+ type: Boolean,
5956
+ "default": false
5957
+ },
5958
+
5959
+ /**
5960
+ * Whether to show the confirm button
5961
+ */
5962
+ showConfirm: {
5963
+ type: Boolean,
5964
+ "default": true
5965
+ },
5966
+
5967
+ /**
5968
+ * Custom text for the cancel button
5969
+ */
5970
+ cancelButtonText: {
5971
+ type: String,
5972
+ "default": 'Cancel'
5973
+ },
5974
+
5975
+ /**
5976
+ * Button variant for the cancel button
5977
+ */
5978
+ cancelButtonType: {
5979
+ type: String,
5980
+ "default": 'secondary',
5981
+ validator: function validator(value) {
5982
+ return ['primary', 'secondary', 'tertiary', 'error', 'success', 'link', 'text'].includes(value);
5983
+ }
5984
+ },
5985
+
5986
+ /**
5987
+ * Custom text for the confirm button
5988
+ */
5989
+ confirmButtonText: {
5990
+ type: String,
5991
+ "default": 'Confirm'
5992
+ },
5993
+
5994
+ /**
5995
+ * Button variant for the confirm button
5996
+ */
5997
+ confirmButtonType: {
5998
+ type: String,
5999
+ "default": 'primary',
6000
+ validator: function validator(value) {
6001
+ return ['primary', 'secondary', 'tertiary', 'error', 'success', 'link', 'text'].includes(value);
6002
+ }
6003
+ }
6004
+ },
6005
+ setup: function setup() {
6006
+ var uuid = uniqueId();
6007
+ return {
6008
+ uuid: uuid
6009
+ };
6010
+ }
6011
+ });var _withScopeId = function _withScopeId(n) {
6012
+ return vue.pushScopeId("data-v-8c26adc4"), n = n(), vue.popScopeId(), n;
6013
+ };
6014
+
6015
+ var _hoisted_1 = {
6016
+ "class": "fw-modal"
6017
+ };
6018
+ var _hoisted_2 = {
6019
+ "class": "fw-modal--mask fixed z-[9999] top-0 left-0 w-full h-full bg-black bg-opacity-50"
6020
+ };
6021
+ var _hoisted_3 = {
6022
+ "class": "fw-modal--wrapper text-center overflow-auto flex justify-center items-center h-full"
6023
+ };
6024
+ var _hoisted_4 = ["role", "aria-labelledby", "aria-describedby"];
6025
+ var _hoisted_5 = {
6026
+ key: 0,
6027
+ "class": "fw-modal--header text-center"
6028
+ };
6029
+ var _hoisted_6 = {
6030
+ key: 0,
6031
+ id: "modal-logo",
6032
+ "class": "flex justify-center"
6033
+ };
6034
+ var _hoisted_7 = ["id"];
6035
+ var _hoisted_8 = ["id", "innerHTML"];
6036
+ var _hoisted_9 = ["id"];
6037
+ var _hoisted_10 = ["innerHTML", "id"];
6038
+ var _hoisted_11 = {
6039
+ key: 3,
6040
+ "class": "modal-footer flex space-x-4 pt-4 justify-center"
6041
+ };
5569
6042
  function render(_ctx, _cache, $props, $setup, $data, $options) {
5570
- return _ctx.isActive ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [vue.renderSlot(_ctx.$slots, "default")])) : vue.createCommentVNode("", true);
5571
- }script.render = render;// Form components
5572
- var components$1=/*#__PURE__*/Object.freeze({__proto__:null,FwForm:Form,FwInput:script$6,FwCheckbox:script$5,FwCard:script$4,FwButton:script$3,FwNavigationMenu:script$2,FwTabs:script$1,FwTab:script});var install = function install(app) {
5573
- Object.entries(components$1).forEach(function (_ref) {
6043
+ var _component_FwButton = vue.resolveComponent("FwButton");
6044
+
6045
+ return vue.openBlock(), vue.createBlock(vue.Transition, {
6046
+ name: "modalFadeIn",
6047
+ appear: ""
6048
+ }, {
6049
+ "default": vue.withCtx(function () {
6050
+ return [vue.createElementVNode("div", _hoisted_1, [vue.createElementVNode("div", _hoisted_2, [vue.createElementVNode("div", _hoisted_3, [vue.createElementVNode("div", {
6051
+ role: _ctx.role,
6052
+ "class": "fw-modal--container p-12 m-8 inline-block w-full max-w-[540px] bg-white rounded-2xl shadow",
6053
+ "aria-labelledby": _ctx.$slots.header || _ctx.header ? "modal_".concat(_ctx.uuid, "_header") : null,
6054
+ "aria-describedby": _ctx.$slots.body ? "modal_".concat(_ctx.uuid, "_body") : null
6055
+ }, [_ctx.$slots.icon || _ctx.$slots.header || _ctx.header ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [_ctx.$slots.icon ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6, [vue.renderSlot(_ctx.$slots, "icon")])) : vue.createCommentVNode("", true), _ctx.$slots.header ? (vue.openBlock(), vue.createElementBlock("h2", {
6056
+ key: 1,
6057
+ id: "modal_".concat(_ctx.uuid, "_header")
6058
+ }, [vue.renderSlot(_ctx.$slots, "header")], 8, _hoisted_7)) : _ctx.header ? (vue.openBlock(), vue.createElementBlock("h2", {
6059
+ key: 2,
6060
+ id: "modal_".concat(_ctx.uuid, "_header"),
6061
+ innerHTML: _ctx.header
6062
+ }, null, 8, _hoisted_8)) : vue.createCommentVNode("", true)])) : vue.createCommentVNode("", true), _ctx.$slots.body ? (vue.openBlock(), vue.createElementBlock("div", {
6063
+ key: 1,
6064
+ "class": "modal-body mt-4",
6065
+ id: "modal_".concat(_ctx.uuid, "_body")
6066
+ }, [vue.renderSlot(_ctx.$slots, "body")], 8, _hoisted_9)) : _ctx.body ? (vue.openBlock(), vue.createElementBlock("div", {
6067
+ key: 2,
6068
+ innerHTML: _ctx.body,
6069
+ "class": "modal-body mt-4",
6070
+ id: "modal_".concat(_ctx.uuid, "_body")
6071
+ }, null, 8, _hoisted_10)) : vue.createCommentVNode("", true), _ctx.showConfirm || _ctx.showCancel ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_11, [_ctx.showCancel ? (vue.openBlock(), vue.createBlock(_component_FwButton, {
6072
+ key: 0,
6073
+ "class": "basis-1/2",
6074
+ variant: _ctx.cancelButtonType,
6075
+ "aria-label": _ctx.cancelButtonText,
6076
+ onClick: _cache[0] || (_cache[0] = function ($event) {
6077
+ return _ctx.$emit('cancel');
6078
+ })
6079
+ }, {
6080
+ "default": vue.withCtx(function () {
6081
+ return [vue.createTextVNode(vue.toDisplayString(_ctx.cancelButtonText), 1)];
6082
+ }),
6083
+ _: 1
6084
+ }, 8, ["variant", "aria-label"])) : vue.createCommentVNode("", true), _ctx.showConfirm ? (vue.openBlock(), vue.createBlock(_component_FwButton, {
6085
+ key: 1,
6086
+ "class": "basis-1/2",
6087
+ variant: _ctx.confirmButtonType,
6088
+ "aria-label": _ctx.confirmButtonText,
6089
+ onClick: _cache[1] || (_cache[1] = function ($event) {
6090
+ return _ctx.$emit('confirm');
6091
+ })
6092
+ }, {
6093
+ "default": vue.withCtx(function () {
6094
+ return [vue.createTextVNode(vue.toDisplayString(_ctx.confirmButtonText), 1)];
6095
+ }),
6096
+ _: 1
6097
+ }, 8, ["variant", "aria-label"])) : vue.createCommentVNode("", true)])) : vue.createCommentVNode("", true)], 8, _hoisted_4)])])])];
6098
+ }),
6099
+ _: 3
6100
+ });
6101
+ }var css_248z = ".modalFadeIn-enter-active[data-v-8c26adc4]{-webkit-animation:modalFadeIn-8c26adc4 .4s;animation:modalFadeIn-8c26adc4 .4s;-webkit-transition:opacity .4s ease-in;-o-transition:opacity .4s ease-in;transition:opacity .4s ease-in}.modalFadeIn-leave-active[data-v-8c26adc4]{animation:modalFadeIn-8c26adc4 .4s reverse;-webkit-transition:opacity .4s ease-out;-o-transition:opacity .4s ease-out;transition:opacity .4s ease-out}@-webkit-keyframes modalFadeIn-8c26adc4{0%{opacity:0}to{opacity:1}}@keyframes modalFadeIn-8c26adc4{0%{opacity:0}to{opacity:1}}";
6102
+ var stylesheet = ".modalFadeIn-enter-active[data-v-8c26adc4]{-webkit-animation:modalFadeIn-8c26adc4 .4s;animation:modalFadeIn-8c26adc4 .4s;-webkit-transition:opacity .4s ease-in;-o-transition:opacity .4s ease-in;transition:opacity .4s ease-in}.modalFadeIn-leave-active[data-v-8c26adc4]{animation:modalFadeIn-8c26adc4 .4s reverse;-webkit-transition:opacity .4s ease-out;-o-transition:opacity .4s ease-out;transition:opacity .4s ease-out}@-webkit-keyframes modalFadeIn-8c26adc4{0%{opacity:0}to{opacity:1}}@keyframes modalFadeIn-8c26adc4{0%{opacity:0}to{opacity:1}}";
6103
+ styleInject(css_248z);script.render = render;
6104
+ script.__scopeId = "data-v-8c26adc4";// Form components
6105
+ var Components=/*#__PURE__*/Object.freeze({__proto__:null,FwForm:Form,FwInput:script$7,FwCheckbox:script$6,FwCard:script$5,FwButton:script$4,FwNavigationMenu:script$3,FwTabs:script$2,FwTab:script$1,FwModal:script});function _defineProperty(obj, key, value) {
6106
+ if (key in obj) {
6107
+ Object.defineProperty(obj, key, {
6108
+ value: value,
6109
+ enumerable: true,
6110
+ configurable: true,
6111
+ writable: true
6112
+ });
6113
+ } else {
6114
+ obj[key] = value;
6115
+ }
6116
+
6117
+ return obj;
6118
+ }function ownKeys(object, enumerableOnly) {
6119
+ var keys = Object.keys(object);
6120
+
6121
+ if (Object.getOwnPropertySymbols) {
6122
+ var symbols = Object.getOwnPropertySymbols(object);
6123
+ enumerableOnly && (symbols = symbols.filter(function (sym) {
6124
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
6125
+ })), keys.push.apply(keys, symbols);
6126
+ }
6127
+
6128
+ return keys;
6129
+ }
6130
+
6131
+ function _objectSpread2(target) {
6132
+ for (var i = 1; i < arguments.length; i++) {
6133
+ var source = null != arguments[i] ? arguments[i] : {};
6134
+ i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
6135
+ _defineProperty(target, key, source[key]);
6136
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
6137
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
6138
+ });
6139
+ }
6140
+
6141
+ return target;
6142
+ }var web_timers = {};var web_setInterval = {};var NATIVE_BIND = functionBindNative;
6143
+
6144
+ var FunctionPrototype = Function.prototype;
6145
+ var apply$1 = FunctionPrototype.apply;
6146
+ var call = FunctionPrototype.call;
6147
+
6148
+ // eslint-disable-next-line es-x/no-reflect -- safe
6149
+ var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply$1) : function () {
6150
+ return call.apply(apply$1, arguments);
6151
+ });var uncurryThis = functionUncurryThis;
6152
+
6153
+ var arraySlice$1 = uncurryThis([].slice);var $TypeError = TypeError;
6154
+
6155
+ var validateArgumentsLength$1 = function (passed, required) {
6156
+ if (passed < required) throw $TypeError('Not enough arguments');
6157
+ return passed;
6158
+ };var global$3 = global$f;
6159
+ var apply = functionApply;
6160
+ var isCallable = isCallable$g;
6161
+ var userAgent = engineUserAgent;
6162
+ var arraySlice = arraySlice$1;
6163
+ var validateArgumentsLength = validateArgumentsLength$1;
6164
+
6165
+ var MSIE = /MSIE .\./.test(userAgent); // <- dirty ie9- check
6166
+ var Function$1 = global$3.Function;
6167
+
6168
+ var wrap = function (scheduler) {
6169
+ return MSIE ? function (handler, timeout /* , ...arguments */) {
6170
+ var boundArgs = validateArgumentsLength(arguments.length, 1) > 2;
6171
+ var fn = isCallable(handler) ? handler : Function$1(handler);
6172
+ var args = boundArgs ? arraySlice(arguments, 2) : undefined;
6173
+ return scheduler(boundArgs ? function () {
6174
+ apply(fn, this, args);
6175
+ } : fn, timeout);
6176
+ } : scheduler;
6177
+ };
6178
+
6179
+ // ie9- setTimeout & setInterval additional parameters fix
6180
+ // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers
6181
+ var schedulersFix = {
6182
+ // `setTimeout` method
6183
+ // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout
6184
+ setTimeout: wrap(global$3.setTimeout),
6185
+ // `setInterval` method
6186
+ // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval
6187
+ setInterval: wrap(global$3.setInterval)
6188
+ };var $$1 = _export;
6189
+ var global$2 = global$f;
6190
+ var setInterval = schedulersFix.setInterval;
6191
+
6192
+ // ie9- setInterval additional parameters fix
6193
+ // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval
6194
+ $$1({ global: true, bind: true, forced: global$2.setInterval !== setInterval }, {
6195
+ setInterval: setInterval
6196
+ });var web_setTimeout = {};var $ = _export;
6197
+ var global$1 = global$f;
6198
+ var setTimeout$1 = schedulersFix.setTimeout;
6199
+
6200
+ // ie9- setTimeout additional parameters fix
6201
+ // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout
6202
+ $({ global: true, bind: true, forced: global$1.setTimeout !== setTimeout$1 }, {
6203
+ setTimeout: setTimeout$1
6204
+ });var modalService = function modalService(options, element) {
6205
+ var elementToMount = document.createElement('div');
6206
+ elementToMount.id = uniqueId('fw-modal-app-');
6207
+ var elAppend = element || document.body;
6208
+ var modalVNode = undefined;
6209
+
6210
+ var open = function open() {
6211
+ var _modalVNode;
6212
+
6213
+ modalVNode = vue.createApp(script, _objectSpread2({}, options));
6214
+ elAppend.appendChild(elementToMount);
6215
+ (_modalVNode = modalVNode) === null || _modalVNode === void 0 ? void 0 : _modalVNode.mount(elementToMount);
6216
+ };
6217
+
6218
+ var close = function close() {
6219
+ if (elementToMount) {
6220
+ var _elementToMount$query;
6221
+
6222
+ (_elementToMount$query = elementToMount.querySelector('.fw-modal')) === null || _elementToMount$query === void 0 ? void 0 : _elementToMount$query.classList.add('modalFadeIn-leave-active');
6223
+ setTimeout(function () {
6224
+ var _modalVNode2;
6225
+
6226
+ (_modalVNode2 = modalVNode) === null || _modalVNode2 === void 0 ? void 0 : _modalVNode2.unmount();
6227
+ modalVNode = undefined;
6228
+ elementToMount.remove();
6229
+ }, 400);
6230
+ }
6231
+ };
6232
+
6233
+ return {
6234
+ open: open,
6235
+ close: close
6236
+ };
6237
+ };var install = function install(app) {
6238
+ Object.entries(Components).forEach(function (_ref) {
5574
6239
  var _ref2 = _slicedToArray(_ref, 2),
5575
6240
  componentName = _ref2[0],
5576
6241
  component = _ref2[1];
5577
6242
 
5578
6243
  app.component(componentName, component);
5579
6244
  });
5580
- };var components=/*#__PURE__*/Object.freeze({__proto__:null,'default':install,FwForm:Form,FwInput:script$6,FwCheckbox:script$5,FwCard:script$4,FwButton:script$3,FwNavigationMenu:script$2,FwTabs:script$1,FwTab:script});Object.entries(components).forEach(function (_ref) {
6245
+ };Object.entries(Components).forEach(function (_ref) {
5581
6246
  var _ref2 = _slicedToArray(_ref, 2),
5582
6247
  componentName = _ref2[0],
5583
6248
  component = _ref2[1];
@@ -5587,4 +6252,4 @@ var components$1=/*#__PURE__*/Object.freeze({__proto__:null,FwForm:Form,FwInput:
5587
6252
  var val = component;
5588
6253
  install[key] = val;
5589
6254
  }
5590
- });exports["default"]=install;
6255
+ });exports["default"]=install;exports.modalService=modalService;