@yklyklpackages/message-card 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1990,7 +1990,7 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
1990
1990
  var ys = arrObjKeys(obj, inspect2);
1991
1991
  var isPlainObject2 = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
1992
1992
  var protoTag = obj instanceof Object ? "" : "null prototype";
1993
- var stringTag = !isPlainObject2 && toStringTag$1 && Object(obj) === obj && toStringTag$1 in obj ? $slice.call(toStr$1(obj), 8, -1) : protoTag ? "Object" : "";
1993
+ var stringTag = !isPlainObject2 && toStringTag$1 && Object(obj) === obj && toStringTag$1 in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? "Object" : "";
1994
1994
  var constructorTag = isPlainObject2 || typeof obj.constructor !== "function" ? "" : obj.constructor.name ? obj.constructor.name + " " : "";
1995
1995
  var tag = constructorTag + (stringTag || protoTag ? "[" + $join.call($concat$1.call([], stringTag || [], protoTag || []), ": ") + "] " : "");
1996
1996
  if (ys.length === 0) {
@@ -2015,25 +2015,25 @@ function canTrustToString(obj) {
2015
2015
  return !toStringTag$1 || !(typeof obj === "object" && (toStringTag$1 in obj || typeof obj[toStringTag$1] !== "undefined"));
2016
2016
  }
2017
2017
  function isArray$4(obj) {
2018
- return toStr$1(obj) === "[object Array]" && canTrustToString(obj);
2018
+ return toStr(obj) === "[object Array]" && canTrustToString(obj);
2019
2019
  }
2020
2020
  function isDate$1(obj) {
2021
- return toStr$1(obj) === "[object Date]" && canTrustToString(obj);
2021
+ return toStr(obj) === "[object Date]" && canTrustToString(obj);
2022
2022
  }
2023
2023
  function isRegExp$2(obj) {
2024
- return toStr$1(obj) === "[object RegExp]" && canTrustToString(obj);
2024
+ return toStr(obj) === "[object RegExp]" && canTrustToString(obj);
2025
2025
  }
2026
2026
  function isError(obj) {
2027
- return toStr$1(obj) === "[object Error]" && canTrustToString(obj);
2027
+ return toStr(obj) === "[object Error]" && canTrustToString(obj);
2028
2028
  }
2029
2029
  function isString$2(obj) {
2030
- return toStr$1(obj) === "[object String]" && canTrustToString(obj);
2030
+ return toStr(obj) === "[object String]" && canTrustToString(obj);
2031
2031
  }
2032
2032
  function isNumber$1(obj) {
2033
- return toStr$1(obj) === "[object Number]" && canTrustToString(obj);
2033
+ return toStr(obj) === "[object Number]" && canTrustToString(obj);
2034
2034
  }
2035
2035
  function isBoolean$1(obj) {
2036
- return toStr$1(obj) === "[object Boolean]" && canTrustToString(obj);
2036
+ return toStr(obj) === "[object Boolean]" && canTrustToString(obj);
2037
2037
  }
2038
2038
  function isSymbol(obj) {
2039
2039
  if (hasShammedSymbols) {
@@ -2069,7 +2069,7 @@ var hasOwn$1 = Object.prototype.hasOwnProperty || function(key) {
2069
2069
  function has$3(obj, key) {
2070
2070
  return hasOwn$1.call(obj, key);
2071
2071
  }
2072
- function toStr$1(obj) {
2072
+ function toStr(obj) {
2073
2073
  return objectToString.call(obj);
2074
2074
  }
2075
2075
  function nameOf(f) {
@@ -2378,7 +2378,7 @@ var syntax = SyntaxError;
2378
2378
  var uri = URIError;
2379
2379
  var abs$2 = Math.abs;
2380
2380
  var floor$1 = Math.floor;
2381
- var max$2 = Math.max;
2381
+ var max$1 = Math.max;
2382
2382
  var min$1 = Math.min;
2383
2383
  var pow$1 = Math.pow;
2384
2384
  var round$2 = Math.round;
@@ -2507,78 +2507,99 @@ function requireObject_getPrototypeOf() {
2507
2507
  Object_getPrototypeOf = $Object2.getPrototypeOf || null;
2508
2508
  return Object_getPrototypeOf;
2509
2509
  }
2510
- var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
2511
- var toStr = Object.prototype.toString;
2512
- var max$1 = Math.max;
2513
- var funcType = "[object Function]";
2514
- var concatty = function concatty2(a, b) {
2515
- var arr = [];
2516
- for (var i = 0; i < a.length; i += 1) {
2517
- arr[i] = a[i];
2518
- }
2519
- for (var j2 = 0; j2 < b.length; j2 += 1) {
2520
- arr[j2 + a.length] = b[j2];
2521
- }
2522
- return arr;
2523
- };
2524
- var slicy = function slicy2(arrLike, offset) {
2525
- var arr = [];
2526
- for (var i = offset, j2 = 0; i < arrLike.length; i += 1, j2 += 1) {
2527
- arr[j2] = arrLike[i];
2528
- }
2529
- return arr;
2530
- };
2531
- var joiny = function(arr, joiner) {
2532
- var str = "";
2533
- for (var i = 0; i < arr.length; i += 1) {
2534
- str += arr[i];
2535
- if (i + 1 < arr.length) {
2536
- str += joiner;
2510
+ var implementation;
2511
+ var hasRequiredImplementation;
2512
+ function requireImplementation() {
2513
+ if (hasRequiredImplementation) return implementation;
2514
+ hasRequiredImplementation = 1;
2515
+ var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
2516
+ var toStr2 = Object.prototype.toString;
2517
+ var max2 = Math.max;
2518
+ var funcType = "[object Function]";
2519
+ var concatty = function concatty2(a, b) {
2520
+ var arr = [];
2521
+ for (var i = 0; i < a.length; i += 1) {
2522
+ arr[i] = a[i];
2537
2523
  }
2538
- }
2539
- return str;
2540
- };
2541
- var implementation$1 = function bind(that) {
2542
- var target = this;
2543
- if (typeof target !== "function" || toStr.apply(target) !== funcType) {
2544
- throw new TypeError(ERROR_MESSAGE + target);
2545
- }
2546
- var args = slicy(arguments, 1);
2547
- var bound;
2548
- var binder = function() {
2549
- if (this instanceof bound) {
2550
- var result = target.apply(
2551
- this,
2552
- concatty(args, arguments)
2553
- );
2554
- if (Object(result) === result) {
2555
- return result;
2524
+ for (var j2 = 0; j2 < b.length; j2 += 1) {
2525
+ arr[j2 + a.length] = b[j2];
2526
+ }
2527
+ return arr;
2528
+ };
2529
+ var slicy = function slicy2(arrLike, offset) {
2530
+ var arr = [];
2531
+ for (var i = offset, j2 = 0; i < arrLike.length; i += 1, j2 += 1) {
2532
+ arr[j2] = arrLike[i];
2533
+ }
2534
+ return arr;
2535
+ };
2536
+ var joiny = function(arr, joiner) {
2537
+ var str = "";
2538
+ for (var i = 0; i < arr.length; i += 1) {
2539
+ str += arr[i];
2540
+ if (i + 1 < arr.length) {
2541
+ str += joiner;
2556
2542
  }
2557
- return this;
2558
2543
  }
2559
- return target.apply(
2560
- that,
2561
- concatty(args, arguments)
2562
- );
2544
+ return str;
2563
2545
  };
2564
- var boundLength = max$1(0, target.length - args.length);
2565
- var boundArgs = [];
2566
- for (var i = 0; i < boundLength; i++) {
2567
- boundArgs[i] = "$" + i;
2568
- }
2569
- bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
2570
- if (target.prototype) {
2571
- var Empty2 = function Empty3() {
2546
+ implementation = function bind2(that) {
2547
+ var target = this;
2548
+ if (typeof target !== "function" || toStr2.apply(target) !== funcType) {
2549
+ throw new TypeError(ERROR_MESSAGE + target);
2550
+ }
2551
+ var args = slicy(arguments, 1);
2552
+ var bound;
2553
+ var binder = function() {
2554
+ if (this instanceof bound) {
2555
+ var result = target.apply(
2556
+ this,
2557
+ concatty(args, arguments)
2558
+ );
2559
+ if (Object(result) === result) {
2560
+ return result;
2561
+ }
2562
+ return this;
2563
+ }
2564
+ return target.apply(
2565
+ that,
2566
+ concatty(args, arguments)
2567
+ );
2572
2568
  };
2573
- Empty2.prototype = target.prototype;
2574
- bound.prototype = new Empty2();
2575
- Empty2.prototype = null;
2576
- }
2577
- return bound;
2578
- };
2579
- var implementation = implementation$1;
2580
- var functionBind = Function.prototype.bind || implementation;
2581
- var functionCall = Function.prototype.call;
2569
+ var boundLength = max2(0, target.length - args.length);
2570
+ var boundArgs = [];
2571
+ for (var i = 0; i < boundLength; i++) {
2572
+ boundArgs[i] = "$" + i;
2573
+ }
2574
+ bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
2575
+ if (target.prototype) {
2576
+ var Empty2 = function Empty3() {
2577
+ };
2578
+ Empty2.prototype = target.prototype;
2579
+ bound.prototype = new Empty2();
2580
+ Empty2.prototype = null;
2581
+ }
2582
+ return bound;
2583
+ };
2584
+ return implementation;
2585
+ }
2586
+ var functionBind;
2587
+ var hasRequiredFunctionBind;
2588
+ function requireFunctionBind() {
2589
+ if (hasRequiredFunctionBind) return functionBind;
2590
+ hasRequiredFunctionBind = 1;
2591
+ var implementation2 = requireImplementation();
2592
+ functionBind = Function.prototype.bind || implementation2;
2593
+ return functionBind;
2594
+ }
2595
+ var functionCall;
2596
+ var hasRequiredFunctionCall;
2597
+ function requireFunctionCall() {
2598
+ if (hasRequiredFunctionCall) return functionCall;
2599
+ hasRequiredFunctionCall = 1;
2600
+ functionCall = Function.prototype.call;
2601
+ return functionCall;
2602
+ }
2582
2603
  var functionApply;
2583
2604
  var hasRequiredFunctionApply;
2584
2605
  function requireFunctionApply() {
@@ -2588,14 +2609,14 @@ function requireFunctionApply() {
2588
2609
  return functionApply;
2589
2610
  }
2590
2611
  var reflectApply = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
2591
- var bind$3 = functionBind;
2612
+ var bind$3 = requireFunctionBind();
2592
2613
  var $apply$1 = requireFunctionApply();
2593
- var $call$2 = functionCall;
2614
+ var $call$2 = requireFunctionCall();
2594
2615
  var $reflectApply = reflectApply;
2595
2616
  var actualApply = $reflectApply || bind$3.call($call$2, $apply$1);
2596
- var bind$2 = functionBind;
2617
+ var bind$2 = requireFunctionBind();
2597
2618
  var $TypeError$4 = type$2;
2598
- var $call$1 = functionCall;
2619
+ var $call$1 = requireFunctionCall();
2599
2620
  var $actualApply = actualApply;
2600
2621
  var callBindApplyHelpers = function callBindBasic(args) {
2601
2622
  if (args.length < 1 || typeof args[0] !== "function") {
@@ -2661,8 +2682,8 @@ function requireHasown() {
2661
2682
  hasRequiredHasown = 1;
2662
2683
  var call2 = Function.prototype.call;
2663
2684
  var $hasOwn = Object.prototype.hasOwnProperty;
2664
- var bind3 = functionBind;
2665
- hasown = bind3.call(call2, $hasOwn);
2685
+ var bind2 = requireFunctionBind();
2686
+ hasown = bind2.call(call2, $hasOwn);
2666
2687
  return hasown;
2667
2688
  }
2668
2689
  var undefined$1;
@@ -2676,7 +2697,7 @@ var $TypeError$3 = type$2;
2676
2697
  var $URIError = uri;
2677
2698
  var abs$1 = abs$2;
2678
2699
  var floor = floor$1;
2679
- var max = max$2;
2700
+ var max = max$1;
2680
2701
  var min = min$1;
2681
2702
  var pow = pow$1;
2682
2703
  var round$1 = round$2;
@@ -2710,7 +2731,7 @@ var getProto = requireGetProto();
2710
2731
  var $ObjectGPO = requireObject_getPrototypeOf();
2711
2732
  var $ReflectGPO = requireReflect_getPrototypeOf();
2712
2733
  var $apply = requireFunctionApply();
2713
- var $call = functionCall;
2734
+ var $call = requireFunctionCall();
2714
2735
  var needsEval = {};
2715
2736
  var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined$1 : getProto(Uint8Array);
2716
2737
  var INTRINSICS = {
@@ -2881,7 +2902,7 @@ var LEGACY_ALIASES = {
2881
2902
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
2882
2903
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
2883
2904
  };
2884
- var bind$1 = functionBind;
2905
+ var bind$1 = requireFunctionBind();
2885
2906
  var hasOwn = requireHasown();
2886
2907
  var $concat = bind$1.call($call, Array.prototype.concat);
2887
2908
  var $spliceApply = bind$1.call($apply, Array.prototype.splice);
@@ -30448,7 +30469,7 @@ class CacheStorage {
30448
30469
  }
30449
30470
  }
30450
30471
  }
30451
- function bind2(fn, thisArg) {
30472
+ function bind(fn, thisArg) {
30452
30473
  return function wrap() {
30453
30474
  return fn.apply(thisArg, arguments);
30454
30475
  };
@@ -30586,7 +30607,7 @@ const extend = (a, b, thisArg, { allOwnKeys } = {}) => {
30586
30607
  forEach(b, (val, key) => {
30587
30608
  if (thisArg && isFunction$1(val)) {
30588
30609
  Object.defineProperty(a, key, {
30589
- value: bind2(val, thisArg),
30610
+ value: bind(val, thisArg),
30590
30611
  writable: true,
30591
30612
  enumerable: true,
30592
30613
  configurable: true
@@ -32903,7 +32924,7 @@ Object.entries(HttpStatusCode$1).forEach(([key, value]) => {
32903
32924
  });
32904
32925
  function createInstance(defaultConfig2) {
32905
32926
  const context = new Axios$1(defaultConfig2);
32906
- const instance = bind2(Axios$1.prototype.request, context);
32927
+ const instance = bind(Axios$1.prototype.request, context);
32907
32928
  utils$1.extend(instance, Axios$1.prototype, context, { allOwnKeys: true });
32908
32929
  utils$1.extend(instance, context, null, { allOwnKeys: true });
32909
32930
  instance.create = function create(instanceConfig) {