@fluxo-dev/shell-reporting 25.3.3 → 25.3.5

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/index.esm2.js CHANGED
@@ -9,10 +9,6 @@ import { useParams } from 'react-router-dom';
9
9
 
10
10
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
11
11
 
12
- function getDefaultExportFromCjs (x) {
13
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
14
- }
15
-
16
12
  var check = function (it) {
17
13
  return it && it.Math === Math && it;
18
14
  };
@@ -189,9 +185,9 @@ var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAg
189
185
  var global$k = global$m;
190
186
  var userAgent$3 = engineUserAgent;
191
187
 
192
- var process$4 = global$k.process;
188
+ var process$3 = global$k.process;
193
189
  var Deno$1 = global$k.Deno;
194
- var versions = process$4 && process$4.versions || Deno$1 && Deno$1.version;
190
+ var versions = process$3 && process$3.versions || Deno$1 && Deno$1.version;
195
191
  var v8 = versions && versions.v8;
196
192
  var match, version;
197
193
 
@@ -618,10 +614,10 @@ var hiddenKeys$3 = hiddenKeys$4;
618
614
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
619
615
  var TypeError$2 = global$e.TypeError;
620
616
  var WeakMap = global$e.WeakMap;
621
- var set$1, get, has$1;
617
+ var set$1, get, has;
622
618
 
623
619
  var enforce = function (it) {
624
- return has$1(it) ? get(it) : set$1(it, {});
620
+ return has(it) ? get(it) : set$1(it, {});
625
621
  };
626
622
 
627
623
  var getterFor = function (TYPE) {
@@ -649,7 +645,7 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
649
645
  get = function (it) {
650
646
  return store.get(it) || {};
651
647
  };
652
- has$1 = function (it) {
648
+ has = function (it) {
653
649
  return store.has(it);
654
650
  };
655
651
  } else {
@@ -664,7 +660,7 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
664
660
  get = function (it) {
665
661
  return hasOwn$8(it, STATE) ? it[STATE] : {};
666
662
  };
667
- has$1 = function (it) {
663
+ has = function (it) {
668
664
  return hasOwn$8(it, STATE);
669
665
  };
670
666
  }
@@ -672,7 +668,7 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
672
668
  var internalState = {
673
669
  set: set$1,
674
670
  get: get,
675
- has: has$1,
671
+ has: has,
676
672
  enforce: enforce,
677
673
  getterFor: getterFor
678
674
  };
@@ -1038,7 +1034,7 @@ var concat$1 = uncurryThis$9([].concat);
1038
1034
 
1039
1035
  // `Object.assign` method
1040
1036
  // https://tc39.es/ecma262/#sec-object.assign
1041
- var objectAssign$1 = !$assign || fails$d(function () {
1037
+ var objectAssign = !$assign || fails$d(function () {
1042
1038
  // should have correct order of operations (Edge bug)
1043
1039
  if (DESCRIPTORS$7 && $assign({ b: 1 }, $assign(defineProperty$4({}, 'a', {
1044
1040
  enumerable: true,
@@ -1078,7 +1074,7 @@ var objectAssign$1 = !$assign || fails$d(function () {
1078
1074
  } : $assign;
1079
1075
 
1080
1076
  var $$f = _export;
1081
- var assign = objectAssign$1;
1077
+ var assign = objectAssign;
1082
1078
 
1083
1079
  // `Object.assign` method
1084
1080
  // https://tc39.es/ecma262/#sec-object.assign
@@ -1383,7 +1379,7 @@ var IS_NODE$3 = engineIsNode;
1383
1379
 
1384
1380
  var set = global$b.setImmediate;
1385
1381
  var clear = global$b.clearImmediate;
1386
- var process$3 = global$b.process;
1382
+ var process$2 = global$b.process;
1387
1383
  var Dispatch = global$b.Dispatch;
1388
1384
  var Function$1 = global$b.Function;
1389
1385
  var MessageChannel = global$b.MessageChannel;
@@ -1439,7 +1435,7 @@ if (!set || !clear) {
1439
1435
  // Node.js 0.8-
1440
1436
  if (IS_NODE$3) {
1441
1437
  defer = function (id) {
1442
- process$3.nextTick(runner(id));
1438
+ process$2.nextTick(runner(id));
1443
1439
  };
1444
1440
  // Sphere (JS game engine) Dispatch API
1445
1441
  } else if (Dispatch && Dispatch.now) {
@@ -1541,7 +1537,7 @@ var IS_NODE$2 = engineIsNode;
1541
1537
 
1542
1538
  var MutationObserver = global$9.MutationObserver || global$9.WebKitMutationObserver;
1543
1539
  var document$2 = global$9.document;
1544
- var process$2 = global$9.process;
1540
+ var process$1 = global$9.process;
1545
1541
  var Promise$1 = global$9.Promise;
1546
1542
  var microtask$1 = safeGetBuiltIn('queueMicrotask');
1547
1543
  var notify$1, toggle, node, promise, then;
@@ -1552,7 +1548,7 @@ if (!microtask$1) {
1552
1548
 
1553
1549
  var flush = function () {
1554
1550
  var parent, fn;
1555
- if (IS_NODE$2 && (parent = process$2.domain)) parent.exit();
1551
+ if (IS_NODE$2 && (parent = process$1.domain)) parent.exit();
1556
1552
  while (fn = queue.get()) try {
1557
1553
  fn();
1558
1554
  } catch (error) {
@@ -1584,7 +1580,7 @@ if (!microtask$1) {
1584
1580
  // Node.js without promises
1585
1581
  } else if (IS_NODE$2) {
1586
1582
  notify$1 = function () {
1587
- process$2.nextTick(flush);
1583
+ process$1.nextTick(flush);
1588
1584
  };
1589
1585
  // for other environments - macrotask based on:
1590
1586
  // - setImmediate
@@ -1739,7 +1735,7 @@ var PromiseConstructor = NativePromiseConstructor$2;
1739
1735
  var PromisePrototype = NativePromisePrototype$1;
1740
1736
  var TypeError$1 = global$6.TypeError;
1741
1737
  var document$1 = global$6.document;
1742
- var process$1 = global$6.process;
1738
+ var process = global$6.process;
1743
1739
  var newPromiseCapability$1 = newPromiseCapabilityModule$3.f;
1744
1740
  var newGenericPromiseCapability = newPromiseCapability$1;
1745
1741
 
@@ -1831,7 +1827,7 @@ var onUnhandled = function (state) {
1831
1827
  if (IS_UNHANDLED) {
1832
1828
  result = perform$2(function () {
1833
1829
  if (IS_NODE) {
1834
- process$1.emit('unhandledRejection', value, promise);
1830
+ process.emit('unhandledRejection', value, promise);
1835
1831
  } else dispatchEvent(UNHANDLED_REJECTION, promise, value);
1836
1832
  });
1837
1833
  // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should
@@ -1849,7 +1845,7 @@ var onHandleUnhandled = function (state) {
1849
1845
  call$e(task, global$6, function () {
1850
1846
  var promise = state.facade;
1851
1847
  if (IS_NODE) {
1852
- process$1.emit('rejectionHandled', promise);
1848
+ process.emit('rejectionHandled', promise);
1853
1849
  } else dispatchEvent(REJECTION_HANDLED, promise, state.value);
1854
1850
  });
1855
1851
  };
@@ -1937,7 +1933,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
1937
1933
  state.parent = true;
1938
1934
  reaction.ok = isCallable$7(onFulfilled) ? onFulfilled : true;
1939
1935
  reaction.fail = isCallable$7(onRejected) && onRejected;
1940
- reaction.domain = IS_NODE ? process$1.domain : undefined;
1936
+ reaction.domain = IS_NODE ? process.domain : undefined;
1941
1937
  if (state.state === PENDING) state.reactions.add(reaction);
1942
1938
  else microtask(function () {
1943
1939
  callReaction(reaction, state);
@@ -2829,1306 +2825,91 @@ for (var COLLECTION_NAME in DOMIterables) {
2829
2825
 
2830
2826
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
2831
2827
 
2832
- var propTypes = {exports: {}};
2833
-
2834
- var reactIs = {exports: {}};
2835
-
2836
- var reactIs_production_min = {};
2837
-
2838
- /** @license React v16.13.1
2839
- * react-is.production.min.js
2840
- *
2841
- * Copyright (c) Facebook, Inc. and its affiliates.
2842
- *
2843
- * This source code is licensed under the MIT license found in the
2844
- * LICENSE file in the root directory of this source tree.
2845
- */
2846
-
2847
- var hasRequiredReactIs_production_min;
2848
-
2849
- function requireReactIs_production_min () {
2850
- if (hasRequiredReactIs_production_min) return reactIs_production_min;
2851
- hasRequiredReactIs_production_min = 1;
2852
- var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
2853
- Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
2854
- function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}reactIs_production_min.AsyncMode=l;reactIs_production_min.ConcurrentMode=m;reactIs_production_min.ContextConsumer=k;reactIs_production_min.ContextProvider=h;reactIs_production_min.Element=c;reactIs_production_min.ForwardRef=n;reactIs_production_min.Fragment=e;reactIs_production_min.Lazy=t;reactIs_production_min.Memo=r;reactIs_production_min.Portal=d;
2855
- reactIs_production_min.Profiler=g;reactIs_production_min.StrictMode=f;reactIs_production_min.Suspense=p;reactIs_production_min.isAsyncMode=function(a){return A(a)||z(a)===l};reactIs_production_min.isConcurrentMode=A;reactIs_production_min.isContextConsumer=function(a){return z(a)===k};reactIs_production_min.isContextProvider=function(a){return z(a)===h};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};reactIs_production_min.isForwardRef=function(a){return z(a)===n};reactIs_production_min.isFragment=function(a){return z(a)===e};reactIs_production_min.isLazy=function(a){return z(a)===t};
2856
- reactIs_production_min.isMemo=function(a){return z(a)===r};reactIs_production_min.isPortal=function(a){return z(a)===d};reactIs_production_min.isProfiler=function(a){return z(a)===g};reactIs_production_min.isStrictMode=function(a){return z(a)===f};reactIs_production_min.isSuspense=function(a){return z(a)===p};
2857
- reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};reactIs_production_min.typeOf=z;
2858
- return reactIs_production_min;
2859
- }
2860
-
2861
- var reactIs_development = {};
2862
-
2863
- /** @license React v16.13.1
2864
- * react-is.development.js
2865
- *
2866
- * Copyright (c) Facebook, Inc. and its affiliates.
2867
- *
2868
- * This source code is licensed under the MIT license found in the
2869
- * LICENSE file in the root directory of this source tree.
2870
- */
2871
-
2872
- var hasRequiredReactIs_development;
2873
-
2874
- function requireReactIs_development () {
2875
- if (hasRequiredReactIs_development) return reactIs_development;
2876
- hasRequiredReactIs_development = 1;
2877
-
2878
-
2879
-
2880
- if (process.env.NODE_ENV !== "production") {
2881
- (function() {
2882
-
2883
- // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
2884
- // nor polyfill, then a plain number is used for performance.
2885
- var hasSymbol = typeof Symbol === 'function' && Symbol.for;
2886
- var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
2887
- var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
2888
- var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
2889
- var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
2890
- var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
2891
- var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
2892
- var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
2893
- // (unstable) APIs that have been removed. Can we remove the symbols?
2894
-
2895
- var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
2896
- var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
2897
- var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
2898
- var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
2899
- var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
2900
- var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
2901
- var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
2902
- var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
2903
- var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
2904
- var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
2905
- var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
2906
-
2907
- function isValidElementType(type) {
2908
- return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
2909
- type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
2910
- }
2911
-
2912
- function typeOf(object) {
2913
- if (typeof object === 'object' && object !== null) {
2914
- var $$typeof = object.$$typeof;
2915
-
2916
- switch ($$typeof) {
2917
- case REACT_ELEMENT_TYPE:
2918
- var type = object.type;
2919
-
2920
- switch (type) {
2921
- case REACT_ASYNC_MODE_TYPE:
2922
- case REACT_CONCURRENT_MODE_TYPE:
2923
- case REACT_FRAGMENT_TYPE:
2924
- case REACT_PROFILER_TYPE:
2925
- case REACT_STRICT_MODE_TYPE:
2926
- case REACT_SUSPENSE_TYPE:
2927
- return type;
2928
-
2929
- default:
2930
- var $$typeofType = type && type.$$typeof;
2931
-
2932
- switch ($$typeofType) {
2933
- case REACT_CONTEXT_TYPE:
2934
- case REACT_FORWARD_REF_TYPE:
2935
- case REACT_LAZY_TYPE:
2936
- case REACT_MEMO_TYPE:
2937
- case REACT_PROVIDER_TYPE:
2938
- return $$typeofType;
2939
-
2940
- default:
2941
- return $$typeof;
2942
- }
2943
-
2944
- }
2945
-
2946
- case REACT_PORTAL_TYPE:
2947
- return $$typeof;
2948
- }
2949
- }
2950
-
2951
- return undefined;
2952
- } // AsyncMode is deprecated along with isAsyncMode
2953
-
2954
- var AsyncMode = REACT_ASYNC_MODE_TYPE;
2955
- var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
2956
- var ContextConsumer = REACT_CONTEXT_TYPE;
2957
- var ContextProvider = REACT_PROVIDER_TYPE;
2958
- var Element = REACT_ELEMENT_TYPE;
2959
- var ForwardRef = REACT_FORWARD_REF_TYPE;
2960
- var Fragment = REACT_FRAGMENT_TYPE;
2961
- var Lazy = REACT_LAZY_TYPE;
2962
- var Memo = REACT_MEMO_TYPE;
2963
- var Portal = REACT_PORTAL_TYPE;
2964
- var Profiler = REACT_PROFILER_TYPE;
2965
- var StrictMode = REACT_STRICT_MODE_TYPE;
2966
- var Suspense = REACT_SUSPENSE_TYPE;
2967
- var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
2968
-
2969
- function isAsyncMode(object) {
2970
- {
2971
- if (!hasWarnedAboutDeprecatedIsAsyncMode) {
2972
- hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
2973
-
2974
- console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
2975
- }
2976
- }
2977
-
2978
- return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
2979
- }
2980
- function isConcurrentMode(object) {
2981
- return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
2982
- }
2983
- function isContextConsumer(object) {
2984
- return typeOf(object) === REACT_CONTEXT_TYPE;
2985
- }
2986
- function isContextProvider(object) {
2987
- return typeOf(object) === REACT_PROVIDER_TYPE;
2988
- }
2989
- function isElement(object) {
2990
- return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
2991
- }
2992
- function isForwardRef(object) {
2993
- return typeOf(object) === REACT_FORWARD_REF_TYPE;
2994
- }
2995
- function isFragment(object) {
2996
- return typeOf(object) === REACT_FRAGMENT_TYPE;
2997
- }
2998
- function isLazy(object) {
2999
- return typeOf(object) === REACT_LAZY_TYPE;
3000
- }
3001
- function isMemo(object) {
3002
- return typeOf(object) === REACT_MEMO_TYPE;
3003
- }
3004
- function isPortal(object) {
3005
- return typeOf(object) === REACT_PORTAL_TYPE;
3006
- }
3007
- function isProfiler(object) {
3008
- return typeOf(object) === REACT_PROFILER_TYPE;
3009
- }
3010
- function isStrictMode(object) {
3011
- return typeOf(object) === REACT_STRICT_MODE_TYPE;
3012
- }
3013
- function isSuspense(object) {
3014
- return typeOf(object) === REACT_SUSPENSE_TYPE;
3015
- }
3016
-
3017
- reactIs_development.AsyncMode = AsyncMode;
3018
- reactIs_development.ConcurrentMode = ConcurrentMode;
3019
- reactIs_development.ContextConsumer = ContextConsumer;
3020
- reactIs_development.ContextProvider = ContextProvider;
3021
- reactIs_development.Element = Element;
3022
- reactIs_development.ForwardRef = ForwardRef;
3023
- reactIs_development.Fragment = Fragment;
3024
- reactIs_development.Lazy = Lazy;
3025
- reactIs_development.Memo = Memo;
3026
- reactIs_development.Portal = Portal;
3027
- reactIs_development.Profiler = Profiler;
3028
- reactIs_development.StrictMode = StrictMode;
3029
- reactIs_development.Suspense = Suspense;
3030
- reactIs_development.isAsyncMode = isAsyncMode;
3031
- reactIs_development.isConcurrentMode = isConcurrentMode;
3032
- reactIs_development.isContextConsumer = isContextConsumer;
3033
- reactIs_development.isContextProvider = isContextProvider;
3034
- reactIs_development.isElement = isElement;
3035
- reactIs_development.isForwardRef = isForwardRef;
3036
- reactIs_development.isFragment = isFragment;
3037
- reactIs_development.isLazy = isLazy;
3038
- reactIs_development.isMemo = isMemo;
3039
- reactIs_development.isPortal = isPortal;
3040
- reactIs_development.isProfiler = isProfiler;
3041
- reactIs_development.isStrictMode = isStrictMode;
3042
- reactIs_development.isSuspense = isSuspense;
3043
- reactIs_development.isValidElementType = isValidElementType;
3044
- reactIs_development.typeOf = typeOf;
3045
- })();
3046
- }
3047
- return reactIs_development;
3048
- }
3049
-
3050
- var hasRequiredReactIs;
3051
-
3052
- function requireReactIs () {
3053
- if (hasRequiredReactIs) return reactIs.exports;
3054
- hasRequiredReactIs = 1;
3055
-
3056
- if (process.env.NODE_ENV === 'production') {
3057
- reactIs.exports = requireReactIs_production_min();
3058
- } else {
3059
- reactIs.exports = requireReactIs_development();
3060
- }
3061
- return reactIs.exports;
3062
- }
3063
-
3064
- /*
3065
- object-assign
3066
- (c) Sindre Sorhus
3067
- @license MIT
3068
- */
3069
-
3070
- var objectAssign;
3071
- var hasRequiredObjectAssign;
3072
-
3073
- function requireObjectAssign () {
3074
- if (hasRequiredObjectAssign) return objectAssign;
3075
- hasRequiredObjectAssign = 1;
3076
- /* eslint-disable no-unused-vars */
3077
- var getOwnPropertySymbols = Object.getOwnPropertySymbols;
3078
- var hasOwnProperty = Object.prototype.hasOwnProperty;
3079
- var propIsEnumerable = Object.prototype.propertyIsEnumerable;
3080
-
3081
- function toObject(val) {
3082
- if (val === null || val === undefined) {
3083
- throw new TypeError('Object.assign cannot be called with null or undefined');
3084
- }
3085
-
3086
- return Object(val);
3087
- }
3088
-
3089
- function shouldUseNative() {
3090
- try {
3091
- if (!Object.assign) {
3092
- return false;
3093
- }
3094
-
3095
- // Detect buggy property enumeration order in older V8 versions.
3096
-
3097
- // https://bugs.chromium.org/p/v8/issues/detail?id=4118
3098
- var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
3099
- test1[5] = 'de';
3100
- if (Object.getOwnPropertyNames(test1)[0] === '5') {
3101
- return false;
3102
- }
3103
-
3104
- // https://bugs.chromium.org/p/v8/issues/detail?id=3056
3105
- var test2 = {};
3106
- for (var i = 0; i < 10; i++) {
3107
- test2['_' + String.fromCharCode(i)] = i;
3108
- }
3109
- var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
3110
- return test2[n];
3111
- });
3112
- if (order2.join('') !== '0123456789') {
3113
- return false;
3114
- }
3115
-
3116
- // https://bugs.chromium.org/p/v8/issues/detail?id=3056
3117
- var test3 = {};
3118
- 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
3119
- test3[letter] = letter;
3120
- });
3121
- if (Object.keys(Object.assign({}, test3)).join('') !==
3122
- 'abcdefghijklmnopqrst') {
3123
- return false;
3124
- }
3125
-
3126
- return true;
3127
- } catch (err) {
3128
- // We don't expect any of the above to throw, but better to be safe.
3129
- return false;
3130
- }
3131
- }
3132
-
3133
- objectAssign = shouldUseNative() ? Object.assign : function (target, source) {
3134
- var from;
3135
- var to = toObject(target);
3136
- var symbols;
3137
-
3138
- for (var s = 1; s < arguments.length; s++) {
3139
- from = Object(arguments[s]);
3140
-
3141
- for (var key in from) {
3142
- if (hasOwnProperty.call(from, key)) {
3143
- to[key] = from[key];
3144
- }
3145
- }
3146
-
3147
- if (getOwnPropertySymbols) {
3148
- symbols = getOwnPropertySymbols(from);
3149
- for (var i = 0; i < symbols.length; i++) {
3150
- if (propIsEnumerable.call(from, symbols[i])) {
3151
- to[symbols[i]] = from[symbols[i]];
3152
- }
3153
- }
3154
- }
3155
- }
3156
-
3157
- return to;
3158
- };
3159
- return objectAssign;
3160
- }
3161
-
3162
- /**
3163
- * Copyright (c) 2013-present, Facebook, Inc.
3164
- *
3165
- * This source code is licensed under the MIT license found in the
3166
- * LICENSE file in the root directory of this source tree.
3167
- */
3168
-
3169
- var ReactPropTypesSecret_1;
3170
- var hasRequiredReactPropTypesSecret;
3171
-
3172
- function requireReactPropTypesSecret () {
3173
- if (hasRequiredReactPropTypesSecret) return ReactPropTypesSecret_1;
3174
- hasRequiredReactPropTypesSecret = 1;
3175
-
3176
- var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
3177
-
3178
- ReactPropTypesSecret_1 = ReactPropTypesSecret;
3179
- return ReactPropTypesSecret_1;
3180
- }
3181
-
3182
- var has;
3183
- var hasRequiredHas;
3184
-
3185
- function requireHas () {
3186
- if (hasRequiredHas) return has;
3187
- hasRequiredHas = 1;
3188
- has = Function.call.bind(Object.prototype.hasOwnProperty);
3189
- return has;
3190
- }
3191
-
3192
2828
  /**
3193
- * Copyright (c) 2013-present, Facebook, Inc.
2829
+ * @license @tabler/icons-react v3.36.0 - MIT
3194
2830
  *
3195
- * This source code is licensed under the MIT license found in the
3196
- * LICENSE file in the root directory of this source tree.
3197
- */
3198
-
3199
- var checkPropTypes_1;
3200
- var hasRequiredCheckPropTypes;
3201
-
3202
- function requireCheckPropTypes () {
3203
- if (hasRequiredCheckPropTypes) return checkPropTypes_1;
3204
- hasRequiredCheckPropTypes = 1;
3205
-
3206
- var printWarning = function() {};
3207
-
3208
- if (process.env.NODE_ENV !== 'production') {
3209
- var ReactPropTypesSecret = requireReactPropTypesSecret();
3210
- var loggedTypeFailures = {};
3211
- var has = requireHas();
3212
-
3213
- printWarning = function(text) {
3214
- var message = 'Warning: ' + text;
3215
- if (typeof console !== 'undefined') {
3216
- console.error(message);
3217
- }
3218
- try {
3219
- // --- Welcome to debugging React ---
3220
- // This error was thrown as a convenience so that you can use this stack
3221
- // to find the callsite that caused this warning to fire.
3222
- throw new Error(message);
3223
- } catch (x) { /**/ }
3224
- };
3225
- }
3226
-
3227
- /**
3228
- * Assert that the values match with the type specs.
3229
- * Error messages are memorized and will only be shown once.
3230
- *
3231
- * @param {object} typeSpecs Map of name to a ReactPropType
3232
- * @param {object} values Runtime values that need to be type-checked
3233
- * @param {string} location e.g. "prop", "context", "child context"
3234
- * @param {string} componentName Name of the component for error messages.
3235
- * @param {?Function} getStack Returns the component stack.
3236
- * @private
3237
- */
3238
- function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
3239
- if (process.env.NODE_ENV !== 'production') {
3240
- for (var typeSpecName in typeSpecs) {
3241
- if (has(typeSpecs, typeSpecName)) {
3242
- var error;
3243
- // Prop type validation may throw. In case they do, we don't want to
3244
- // fail the render phase where it didn't fail before. So we log it.
3245
- // After these have been cleaned up, we'll let them throw.
3246
- try {
3247
- // This is intentionally an invariant that gets caught. It's the same
3248
- // behavior as without this statement except with a better message.
3249
- if (typeof typeSpecs[typeSpecName] !== 'function') {
3250
- var err = Error(
3251
- (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
3252
- 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
3253
- 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
3254
- );
3255
- err.name = 'Invariant Violation';
3256
- throw err;
3257
- }
3258
- error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
3259
- } catch (ex) {
3260
- error = ex;
3261
- }
3262
- if (error && !(error instanceof Error)) {
3263
- printWarning(
3264
- (componentName || 'React class') + ': type specification of ' +
3265
- location + ' `' + typeSpecName + '` is invalid; the type checker ' +
3266
- 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
3267
- 'You may have forgotten to pass an argument to the type checker ' +
3268
- 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
3269
- 'shape all require an argument).'
3270
- );
3271
- }
3272
- if (error instanceof Error && !(error.message in loggedTypeFailures)) {
3273
- // Only monitor this failure once because there tends to be a lot of the
3274
- // same error.
3275
- loggedTypeFailures[error.message] = true;
3276
-
3277
- var stack = getStack ? getStack() : '';
3278
-
3279
- printWarning(
3280
- 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
3281
- );
3282
- }
3283
- }
3284
- }
3285
- }
3286
- }
3287
-
3288
- /**
3289
- * Resets warning cache when testing.
3290
- *
3291
- * @private
3292
- */
3293
- checkPropTypes.resetWarningCache = function() {
3294
- if (process.env.NODE_ENV !== 'production') {
3295
- loggedTypeFailures = {};
3296
- }
3297
- };
3298
-
3299
- checkPropTypes_1 = checkPropTypes;
3300
- return checkPropTypes_1;
3301
- }
3302
-
3303
- /**
3304
- * Copyright (c) 2013-present, Facebook, Inc.
3305
- *
3306
- * This source code is licensed under the MIT license found in the
3307
- * LICENSE file in the root directory of this source tree.
3308
- */
3309
-
3310
- var factoryWithTypeCheckers;
3311
- var hasRequiredFactoryWithTypeCheckers;
3312
-
3313
- function requireFactoryWithTypeCheckers () {
3314
- if (hasRequiredFactoryWithTypeCheckers) return factoryWithTypeCheckers;
3315
- hasRequiredFactoryWithTypeCheckers = 1;
3316
-
3317
- var ReactIs = requireReactIs();
3318
- var assign = requireObjectAssign();
3319
-
3320
- var ReactPropTypesSecret = requireReactPropTypesSecret();
3321
- var has = requireHas();
3322
- var checkPropTypes = requireCheckPropTypes();
3323
-
3324
- var printWarning = function() {};
3325
-
3326
- if (process.env.NODE_ENV !== 'production') {
3327
- printWarning = function(text) {
3328
- var message = 'Warning: ' + text;
3329
- if (typeof console !== 'undefined') {
3330
- console.error(message);
3331
- }
3332
- try {
3333
- // --- Welcome to debugging React ---
3334
- // This error was thrown as a convenience so that you can use this stack
3335
- // to find the callsite that caused this warning to fire.
3336
- throw new Error(message);
3337
- } catch (x) {}
3338
- };
3339
- }
3340
-
3341
- function emptyFunctionThatReturnsNull() {
3342
- return null;
3343
- }
3344
-
3345
- factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
3346
- /* global Symbol */
3347
- var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
3348
- var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
3349
-
3350
- /**
3351
- * Returns the iterator method function contained on the iterable object.
3352
- *
3353
- * Be sure to invoke the function with the iterable as context:
3354
- *
3355
- * var iteratorFn = getIteratorFn(myIterable);
3356
- * if (iteratorFn) {
3357
- * var iterator = iteratorFn.call(myIterable);
3358
- * ...
3359
- * }
3360
- *
3361
- * @param {?object} maybeIterable
3362
- * @return {?function}
3363
- */
3364
- function getIteratorFn(maybeIterable) {
3365
- var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
3366
- if (typeof iteratorFn === 'function') {
3367
- return iteratorFn;
3368
- }
3369
- }
3370
-
3371
- /**
3372
- * Collection of methods that allow declaration and validation of props that are
3373
- * supplied to React components. Example usage:
3374
- *
3375
- * var Props = require('ReactPropTypes');
3376
- * var MyArticle = React.createClass({
3377
- * propTypes: {
3378
- * // An optional string prop named "description".
3379
- * description: Props.string,
3380
- *
3381
- * // A required enum prop named "category".
3382
- * category: Props.oneOf(['News','Photos']).isRequired,
3383
- *
3384
- * // A prop named "dialog" that requires an instance of Dialog.
3385
- * dialog: Props.instanceOf(Dialog).isRequired
3386
- * },
3387
- * render: function() { ... }
3388
- * });
3389
- *
3390
- * A more formal specification of how these methods are used:
3391
- *
3392
- * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
3393
- * decl := ReactPropTypes.{type}(.isRequired)?
3394
- *
3395
- * Each and every declaration produces a function with the same signature. This
3396
- * allows the creation of custom validation functions. For example:
3397
- *
3398
- * var MyLink = React.createClass({
3399
- * propTypes: {
3400
- * // An optional string or URI prop named "href".
3401
- * href: function(props, propName, componentName) {
3402
- * var propValue = props[propName];
3403
- * if (propValue != null && typeof propValue !== 'string' &&
3404
- * !(propValue instanceof URI)) {
3405
- * return new Error(
3406
- * 'Expected a string or an URI for ' + propName + ' in ' +
3407
- * componentName
3408
- * );
3409
- * }
3410
- * }
3411
- * },
3412
- * render: function() {...}
3413
- * });
3414
- *
3415
- * @internal
3416
- */
3417
-
3418
- var ANONYMOUS = '<<anonymous>>';
3419
-
3420
- // Important!
3421
- // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
3422
- var ReactPropTypes = {
3423
- array: createPrimitiveTypeChecker('array'),
3424
- bigint: createPrimitiveTypeChecker('bigint'),
3425
- bool: createPrimitiveTypeChecker('boolean'),
3426
- func: createPrimitiveTypeChecker('function'),
3427
- number: createPrimitiveTypeChecker('number'),
3428
- object: createPrimitiveTypeChecker('object'),
3429
- string: createPrimitiveTypeChecker('string'),
3430
- symbol: createPrimitiveTypeChecker('symbol'),
3431
-
3432
- any: createAnyTypeChecker(),
3433
- arrayOf: createArrayOfTypeChecker,
3434
- element: createElementTypeChecker(),
3435
- elementType: createElementTypeTypeChecker(),
3436
- instanceOf: createInstanceTypeChecker,
3437
- node: createNodeChecker(),
3438
- objectOf: createObjectOfTypeChecker,
3439
- oneOf: createEnumTypeChecker,
3440
- oneOfType: createUnionTypeChecker,
3441
- shape: createShapeTypeChecker,
3442
- exact: createStrictShapeTypeChecker,
3443
- };
3444
-
3445
- /**
3446
- * inlined Object.is polyfill to avoid requiring consumers ship their own
3447
- * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
3448
- */
3449
- /*eslint-disable no-self-compare*/
3450
- function is(x, y) {
3451
- // SameValue algorithm
3452
- if (x === y) {
3453
- // Steps 1-5, 7-10
3454
- // Steps 6.b-6.e: +0 != -0
3455
- return x !== 0 || 1 / x === 1 / y;
3456
- } else {
3457
- // Step 6.a: NaN == NaN
3458
- return x !== x && y !== y;
3459
- }
3460
- }
3461
- /*eslint-enable no-self-compare*/
3462
-
3463
- /**
3464
- * We use an Error-like object for backward compatibility as people may call
3465
- * PropTypes directly and inspect their output. However, we don't use real
3466
- * Errors anymore. We don't inspect their stack anyway, and creating them
3467
- * is prohibitively expensive if they are created too often, such as what
3468
- * happens in oneOfType() for any type before the one that matched.
3469
- */
3470
- function PropTypeError(message, data) {
3471
- this.message = message;
3472
- this.data = data && typeof data === 'object' ? data: {};
3473
- this.stack = '';
3474
- }
3475
- // Make `instanceof Error` still work for returned errors.
3476
- PropTypeError.prototype = Error.prototype;
3477
-
3478
- function createChainableTypeChecker(validate) {
3479
- if (process.env.NODE_ENV !== 'production') {
3480
- var manualPropTypeCallCache = {};
3481
- var manualPropTypeWarningCount = 0;
3482
- }
3483
- function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
3484
- componentName = componentName || ANONYMOUS;
3485
- propFullName = propFullName || propName;
3486
-
3487
- if (secret !== ReactPropTypesSecret) {
3488
- if (throwOnDirectAccess) {
3489
- // New behavior only for users of `prop-types` package
3490
- var err = new Error(
3491
- 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
3492
- 'Use `PropTypes.checkPropTypes()` to call them. ' +
3493
- 'Read more at http://fb.me/use-check-prop-types'
3494
- );
3495
- err.name = 'Invariant Violation';
3496
- throw err;
3497
- } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {
3498
- // Old behavior for people using React.PropTypes
3499
- var cacheKey = componentName + ':' + propName;
3500
- if (
3501
- !manualPropTypeCallCache[cacheKey] &&
3502
- // Avoid spamming the console because they are often not actionable except for lib authors
3503
- manualPropTypeWarningCount < 3
3504
- ) {
3505
- printWarning(
3506
- 'You are manually calling a React.PropTypes validation ' +
3507
- 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
3508
- 'and will throw in the standalone `prop-types` package. ' +
3509
- 'You may be seeing this warning due to a third-party PropTypes ' +
3510
- 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
3511
- );
3512
- manualPropTypeCallCache[cacheKey] = true;
3513
- manualPropTypeWarningCount++;
3514
- }
3515
- }
3516
- }
3517
- if (props[propName] == null) {
3518
- if (isRequired) {
3519
- if (props[propName] === null) {
3520
- return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));
3521
- }
3522
- return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));
3523
- }
3524
- return null;
3525
- } else {
3526
- return validate(props, propName, componentName, location, propFullName);
3527
- }
3528
- }
3529
-
3530
- var chainedCheckType = checkType.bind(null, false);
3531
- chainedCheckType.isRequired = checkType.bind(null, true);
3532
-
3533
- return chainedCheckType;
3534
- }
3535
-
3536
- function createPrimitiveTypeChecker(expectedType) {
3537
- function validate(props, propName, componentName, location, propFullName, secret) {
3538
- var propValue = props[propName];
3539
- var propType = getPropType(propValue);
3540
- if (propType !== expectedType) {
3541
- // `propValue` being instance of, say, date/regexp, pass the 'object'
3542
- // check, but we can offer a more precise error message here rather than
3543
- // 'of type `object`'.
3544
- var preciseType = getPreciseType(propValue);
3545
-
3546
- return new PropTypeError(
3547
- 'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
3548
- {expectedType: expectedType}
3549
- );
3550
- }
3551
- return null;
3552
- }
3553
- return createChainableTypeChecker(validate);
3554
- }
3555
-
3556
- function createAnyTypeChecker() {
3557
- return createChainableTypeChecker(emptyFunctionThatReturnsNull);
3558
- }
3559
-
3560
- function createArrayOfTypeChecker(typeChecker) {
3561
- function validate(props, propName, componentName, location, propFullName) {
3562
- if (typeof typeChecker !== 'function') {
3563
- return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');
3564
- }
3565
- var propValue = props[propName];
3566
- if (!Array.isArray(propValue)) {
3567
- var propType = getPropType(propValue);
3568
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
3569
- }
3570
- for (var i = 0; i < propValue.length; i++) {
3571
- var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);
3572
- if (error instanceof Error) {
3573
- return error;
3574
- }
3575
- }
3576
- return null;
3577
- }
3578
- return createChainableTypeChecker(validate);
3579
- }
3580
-
3581
- function createElementTypeChecker() {
3582
- function validate(props, propName, componentName, location, propFullName) {
3583
- var propValue = props[propName];
3584
- if (!isValidElement(propValue)) {
3585
- var propType = getPropType(propValue);
3586
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));
3587
- }
3588
- return null;
3589
- }
3590
- return createChainableTypeChecker(validate);
3591
- }
3592
-
3593
- function createElementTypeTypeChecker() {
3594
- function validate(props, propName, componentName, location, propFullName) {
3595
- var propValue = props[propName];
3596
- if (!ReactIs.isValidElementType(propValue)) {
3597
- var propType = getPropType(propValue);
3598
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));
3599
- }
3600
- return null;
3601
- }
3602
- return createChainableTypeChecker(validate);
3603
- }
3604
-
3605
- function createInstanceTypeChecker(expectedClass) {
3606
- function validate(props, propName, componentName, location, propFullName) {
3607
- if (!(props[propName] instanceof expectedClass)) {
3608
- var expectedClassName = expectedClass.name || ANONYMOUS;
3609
- var actualClassName = getClassName(props[propName]);
3610
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));
3611
- }
3612
- return null;
3613
- }
3614
- return createChainableTypeChecker(validate);
3615
- }
3616
-
3617
- function createEnumTypeChecker(expectedValues) {
3618
- if (!Array.isArray(expectedValues)) {
3619
- if (process.env.NODE_ENV !== 'production') {
3620
- if (arguments.length > 1) {
3621
- printWarning(
3622
- 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +
3623
- 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'
3624
- );
3625
- } else {
3626
- printWarning('Invalid argument supplied to oneOf, expected an array.');
3627
- }
3628
- }
3629
- return emptyFunctionThatReturnsNull;
3630
- }
3631
-
3632
- function validate(props, propName, componentName, location, propFullName) {
3633
- var propValue = props[propName];
3634
- for (var i = 0; i < expectedValues.length; i++) {
3635
- if (is(propValue, expectedValues[i])) {
3636
- return null;
3637
- }
3638
- }
3639
-
3640
- var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
3641
- var type = getPreciseType(value);
3642
- if (type === 'symbol') {
3643
- return String(value);
3644
- }
3645
- return value;
3646
- });
3647
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));
3648
- }
3649
- return createChainableTypeChecker(validate);
3650
- }
3651
-
3652
- function createObjectOfTypeChecker(typeChecker) {
3653
- function validate(props, propName, componentName, location, propFullName) {
3654
- if (typeof typeChecker !== 'function') {
3655
- return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');
3656
- }
3657
- var propValue = props[propName];
3658
- var propType = getPropType(propValue);
3659
- if (propType !== 'object') {
3660
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));
3661
- }
3662
- for (var key in propValue) {
3663
- if (has(propValue, key)) {
3664
- var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
3665
- if (error instanceof Error) {
3666
- return error;
3667
- }
3668
- }
3669
- }
3670
- return null;
3671
- }
3672
- return createChainableTypeChecker(validate);
3673
- }
3674
-
3675
- function createUnionTypeChecker(arrayOfTypeCheckers) {
3676
- if (!Array.isArray(arrayOfTypeCheckers)) {
3677
- process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;
3678
- return emptyFunctionThatReturnsNull;
3679
- }
3680
-
3681
- for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
3682
- var checker = arrayOfTypeCheckers[i];
3683
- if (typeof checker !== 'function') {
3684
- printWarning(
3685
- 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +
3686
- 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'
3687
- );
3688
- return emptyFunctionThatReturnsNull;
3689
- }
3690
- }
3691
-
3692
- function validate(props, propName, componentName, location, propFullName) {
3693
- var expectedTypes = [];
3694
- for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
3695
- var checker = arrayOfTypeCheckers[i];
3696
- var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
3697
- if (checkerResult == null) {
3698
- return null;
3699
- }
3700
- if (checkerResult.data && has(checkerResult.data, 'expectedType')) {
3701
- expectedTypes.push(checkerResult.data.expectedType);
3702
- }
3703
- }
3704
- var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
3705
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
3706
- }
3707
- return createChainableTypeChecker(validate);
3708
- }
3709
-
3710
- function createNodeChecker() {
3711
- function validate(props, propName, componentName, location, propFullName) {
3712
- if (!isNode(props[propName])) {
3713
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));
3714
- }
3715
- return null;
3716
- }
3717
- return createChainableTypeChecker(validate);
3718
- }
3719
-
3720
- function invalidValidatorError(componentName, location, propFullName, key, type) {
3721
- return new PropTypeError(
3722
- (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
3723
- 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
3724
- );
3725
- }
3726
-
3727
- function createShapeTypeChecker(shapeTypes) {
3728
- function validate(props, propName, componentName, location, propFullName) {
3729
- var propValue = props[propName];
3730
- var propType = getPropType(propValue);
3731
- if (propType !== 'object') {
3732
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
3733
- }
3734
- for (var key in shapeTypes) {
3735
- var checker = shapeTypes[key];
3736
- if (typeof checker !== 'function') {
3737
- return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
3738
- }
3739
- var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
3740
- if (error) {
3741
- return error;
3742
- }
3743
- }
3744
- return null;
3745
- }
3746
- return createChainableTypeChecker(validate);
3747
- }
3748
-
3749
- function createStrictShapeTypeChecker(shapeTypes) {
3750
- function validate(props, propName, componentName, location, propFullName) {
3751
- var propValue = props[propName];
3752
- var propType = getPropType(propValue);
3753
- if (propType !== 'object') {
3754
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
3755
- }
3756
- // We need to check all keys in case some are required but missing from props.
3757
- var allKeys = assign({}, props[propName], shapeTypes);
3758
- for (var key in allKeys) {
3759
- var checker = shapeTypes[key];
3760
- if (has(shapeTypes, key) && typeof checker !== 'function') {
3761
- return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
3762
- }
3763
- if (!checker) {
3764
- return new PropTypeError(
3765
- 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
3766
- '\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
3767
- '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
3768
- );
3769
- }
3770
- var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
3771
- if (error) {
3772
- return error;
3773
- }
3774
- }
3775
- return null;
3776
- }
3777
-
3778
- return createChainableTypeChecker(validate);
3779
- }
3780
-
3781
- function isNode(propValue) {
3782
- switch (typeof propValue) {
3783
- case 'number':
3784
- case 'string':
3785
- case 'undefined':
3786
- return true;
3787
- case 'boolean':
3788
- return !propValue;
3789
- case 'object':
3790
- if (Array.isArray(propValue)) {
3791
- return propValue.every(isNode);
3792
- }
3793
- if (propValue === null || isValidElement(propValue)) {
3794
- return true;
3795
- }
3796
-
3797
- var iteratorFn = getIteratorFn(propValue);
3798
- if (iteratorFn) {
3799
- var iterator = iteratorFn.call(propValue);
3800
- var step;
3801
- if (iteratorFn !== propValue.entries) {
3802
- while (!(step = iterator.next()).done) {
3803
- if (!isNode(step.value)) {
3804
- return false;
3805
- }
3806
- }
3807
- } else {
3808
- // Iterator will provide entry [k,v] tuples rather than values.
3809
- while (!(step = iterator.next()).done) {
3810
- var entry = step.value;
3811
- if (entry) {
3812
- if (!isNode(entry[1])) {
3813
- return false;
3814
- }
3815
- }
3816
- }
3817
- }
3818
- } else {
3819
- return false;
3820
- }
3821
-
3822
- return true;
3823
- default:
3824
- return false;
3825
- }
3826
- }
3827
-
3828
- function isSymbol(propType, propValue) {
3829
- // Native Symbol.
3830
- if (propType === 'symbol') {
3831
- return true;
3832
- }
3833
-
3834
- // falsy value can't be a Symbol
3835
- if (!propValue) {
3836
- return false;
3837
- }
3838
-
3839
- // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'
3840
- if (propValue['@@toStringTag'] === 'Symbol') {
3841
- return true;
3842
- }
3843
-
3844
- // Fallback for non-spec compliant Symbols which are polyfilled.
3845
- if (typeof Symbol === 'function' && propValue instanceof Symbol) {
3846
- return true;
3847
- }
3848
-
3849
- return false;
3850
- }
3851
-
3852
- // Equivalent of `typeof` but with special handling for array and regexp.
3853
- function getPropType(propValue) {
3854
- var propType = typeof propValue;
3855
- if (Array.isArray(propValue)) {
3856
- return 'array';
3857
- }
3858
- if (propValue instanceof RegExp) {
3859
- // Old webkits (at least until Android 4.0) return 'function' rather than
3860
- // 'object' for typeof a RegExp. We'll normalize this here so that /bla/
3861
- // passes PropTypes.object.
3862
- return 'object';
3863
- }
3864
- if (isSymbol(propType, propValue)) {
3865
- return 'symbol';
3866
- }
3867
- return propType;
3868
- }
3869
-
3870
- // This handles more types than `getPropType`. Only used for error messages.
3871
- // See `createPrimitiveTypeChecker`.
3872
- function getPreciseType(propValue) {
3873
- if (typeof propValue === 'undefined' || propValue === null) {
3874
- return '' + propValue;
3875
- }
3876
- var propType = getPropType(propValue);
3877
- if (propType === 'object') {
3878
- if (propValue instanceof Date) {
3879
- return 'date';
3880
- } else if (propValue instanceof RegExp) {
3881
- return 'regexp';
3882
- }
3883
- }
3884
- return propType;
3885
- }
3886
-
3887
- // Returns a string that is postfixed to a warning about an invalid type.
3888
- // For example, "undefined" or "of type array"
3889
- function getPostfixForTypeWarning(value) {
3890
- var type = getPreciseType(value);
3891
- switch (type) {
3892
- case 'array':
3893
- case 'object':
3894
- return 'an ' + type;
3895
- case 'boolean':
3896
- case 'date':
3897
- case 'regexp':
3898
- return 'a ' + type;
3899
- default:
3900
- return type;
3901
- }
3902
- }
3903
-
3904
- // Returns class name of the object, if any.
3905
- function getClassName(propValue) {
3906
- if (!propValue.constructor || !propValue.constructor.name) {
3907
- return ANONYMOUS;
3908
- }
3909
- return propValue.constructor.name;
3910
- }
3911
-
3912
- ReactPropTypes.checkPropTypes = checkPropTypes;
3913
- ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
3914
- ReactPropTypes.PropTypes = ReactPropTypes;
3915
-
3916
- return ReactPropTypes;
3917
- };
3918
- return factoryWithTypeCheckers;
3919
- }
3920
-
3921
- /**
3922
- * Copyright (c) 2013-present, Facebook, Inc.
3923
- *
3924
- * This source code is licensed under the MIT license found in the
3925
- * LICENSE file in the root directory of this source tree.
3926
- */
3927
-
3928
- var factoryWithThrowingShims;
3929
- var hasRequiredFactoryWithThrowingShims;
3930
-
3931
- function requireFactoryWithThrowingShims () {
3932
- if (hasRequiredFactoryWithThrowingShims) return factoryWithThrowingShims;
3933
- hasRequiredFactoryWithThrowingShims = 1;
3934
-
3935
- var ReactPropTypesSecret = requireReactPropTypesSecret();
3936
-
3937
- function emptyFunction() {}
3938
- function emptyFunctionWithReset() {}
3939
- emptyFunctionWithReset.resetWarningCache = emptyFunction;
3940
-
3941
- factoryWithThrowingShims = function() {
3942
- function shim(props, propName, componentName, location, propFullName, secret) {
3943
- if (secret === ReactPropTypesSecret) {
3944
- // It is still safe when called from React.
3945
- return;
3946
- }
3947
- var err = new Error(
3948
- 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
3949
- 'Use PropTypes.checkPropTypes() to call them. ' +
3950
- 'Read more at http://fb.me/use-check-prop-types'
3951
- );
3952
- err.name = 'Invariant Violation';
3953
- throw err;
3954
- } shim.isRequired = shim;
3955
- function getShim() {
3956
- return shim;
3957
- } // Important!
3958
- // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
3959
- var ReactPropTypes = {
3960
- array: shim,
3961
- bigint: shim,
3962
- bool: shim,
3963
- func: shim,
3964
- number: shim,
3965
- object: shim,
3966
- string: shim,
3967
- symbol: shim,
3968
-
3969
- any: shim,
3970
- arrayOf: getShim,
3971
- element: shim,
3972
- elementType: shim,
3973
- instanceOf: getShim,
3974
- node: shim,
3975
- objectOf: getShim,
3976
- oneOf: getShim,
3977
- oneOfType: getShim,
3978
- shape: getShim,
3979
- exact: getShim,
3980
-
3981
- checkPropTypes: emptyFunctionWithReset,
3982
- resetWarningCache: emptyFunction
3983
- };
3984
-
3985
- ReactPropTypes.PropTypes = ReactPropTypes;
3986
-
3987
- return ReactPropTypes;
3988
- };
3989
- return factoryWithThrowingShims;
3990
- }
3991
-
3992
- /**
3993
- * Copyright (c) 2013-present, Facebook, Inc.
3994
- *
3995
- * This source code is licensed under the MIT license found in the
3996
- * LICENSE file in the root directory of this source tree.
3997
- */
3998
-
3999
- if (process.env.NODE_ENV !== 'production') {
4000
- var ReactIs = requireReactIs();
4001
-
4002
- // By explicitly using `prop-types` you are opting into new development behavior.
4003
- // http://fb.me/prop-types-in-prod
4004
- var throwOnDirectAccess = true;
4005
- propTypes.exports = requireFactoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess);
4006
- } else {
4007
- // By explicitly using `prop-types` you are opting into new production behavior.
4008
- // http://fb.me/prop-types-in-prod
4009
- propTypes.exports = requireFactoryWithThrowingShims()();
4010
- }
4011
-
4012
- var propTypesExports = propTypes.exports;
4013
- var PropTypes = /*@__PURE__*/getDefaultExportFromCjs(propTypesExports);
4014
-
4015
- /**
4016
- * @tabler/icons-react v2.47.0 - MIT
2831
+ * This source code is licensed under the MIT license.
2832
+ * See the LICENSE file in the root directory of this source tree.
4017
2833
  */
4018
2834
 
4019
2835
  var defaultAttributes = {
4020
- xmlns: "http://www.w3.org/2000/svg",
4021
- width: 24,
4022
- height: 24,
4023
- viewBox: "0 0 24 24",
4024
- fill: "none",
4025
- stroke: "currentColor",
4026
- strokeWidth: 2,
4027
- strokeLinecap: "round",
4028
- strokeLinejoin: "round"
2836
+ outline: {
2837
+ xmlns: "http://www.w3.org/2000/svg",
2838
+ width: 24,
2839
+ height: 24,
2840
+ viewBox: "0 0 24 24",
2841
+ fill: "none",
2842
+ stroke: "currentColor",
2843
+ strokeWidth: 2,
2844
+ strokeLinecap: "round",
2845
+ strokeLinejoin: "round"
2846
+ },
2847
+ filled: {
2848
+ xmlns: "http://www.w3.org/2000/svg",
2849
+ width: 24,
2850
+ height: 24,
2851
+ viewBox: "0 0 24 24",
2852
+ fill: "currentColor",
2853
+ stroke: "none"
2854
+ }
4029
2855
  };
4030
2856
 
4031
2857
  /**
4032
- * @tabler/icons-react v2.47.0 - MIT
2858
+ * @license @tabler/icons-react v3.36.0 - MIT
2859
+ *
2860
+ * This source code is licensed under the MIT license.
2861
+ * See the LICENSE file in the root directory of this source tree.
4033
2862
  */
4034
2863
 
4035
2864
 
4036
- var __defProp = Object.defineProperty;
4037
- var __defProps = Object.defineProperties;
4038
- var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
4039
- var __getOwnPropSymbols = Object.getOwnPropertySymbols;
4040
- var __hasOwnProp = Object.prototype.hasOwnProperty;
4041
- var __propIsEnum = Object.prototype.propertyIsEnumerable;
4042
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4043
- var __spreadValues = (a, b) => {
4044
- for (var prop in b || (b = {}))
4045
- if (__hasOwnProp.call(b, prop))
4046
- __defNormalProp(a, prop, b[prop]);
4047
- if (__getOwnPropSymbols)
4048
- for (var prop of __getOwnPropSymbols(b)) {
4049
- if (__propIsEnum.call(b, prop))
4050
- __defNormalProp(a, prop, b[prop]);
4051
- }
4052
- return a;
4053
- };
4054
- var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
4055
- var __objRest = (source, exclude) => {
4056
- var target = {};
4057
- for (var prop in source)
4058
- if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
4059
- target[prop] = source[prop];
4060
- if (source != null && __getOwnPropSymbols)
4061
- for (var prop of __getOwnPropSymbols(source)) {
4062
- if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
4063
- target[prop] = source[prop];
4064
- }
4065
- return target;
4066
- };
4067
- var createReactComponent = (iconName, iconNamePascal, iconNode) => {
2865
+ const createReactComponent = (type, iconName, iconNamePascal, iconNode) => {
4068
2866
  const Component = forwardRef(
4069
- (_a, ref) => {
4070
- var _b = _a, { color = "currentColor", size = 24, stroke = 2, children } = _b, rest = __objRest(_b, ["color", "size", "stroke", "children"]);
4071
- return createElement$2(
4072
- "svg",
4073
- __spreadValues(__spreadProps(__spreadValues({
4074
- ref
4075
- }, defaultAttributes), {
4076
- width: size,
4077
- height: size,
4078
- stroke: color,
2867
+ ({ color = "currentColor", size = 24, stroke = 2, title, className, children, ...rest }, ref) => createElement$2(
2868
+ "svg",
2869
+ {
2870
+ ref,
2871
+ ...defaultAttributes[type],
2872
+ width: size,
2873
+ height: size,
2874
+ className: [`tabler-icon`, `tabler-icon-${iconName}`, className].join(" "),
2875
+ ...{
4079
2876
  strokeWidth: stroke,
4080
- className: `tabler-icon tabler-icon-${iconName}`
4081
- }), rest),
4082
- [...iconNode.map(([tag, attrs]) => createElement$2(tag, attrs)), ...children || []]
4083
- );
4084
- }
2877
+ stroke: color
2878
+ },
2879
+ ...rest
2880
+ },
2881
+ [
2882
+ title && createElement$2("title", { key: "svg-title" }, title),
2883
+ ...iconNode.map(([tag, attrs]) => createElement$2(tag, attrs)),
2884
+ ...Array.isArray(children) ? children : [children]
2885
+ ]
2886
+ )
4085
2887
  );
4086
- Component.propTypes = {
4087
- color: PropTypes.string,
4088
- size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
4089
- stroke: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
4090
- };
4091
2888
  Component.displayName = `${iconNamePascal}`;
4092
2889
  return Component;
4093
2890
  };
4094
2891
 
4095
2892
  /**
4096
- * @tabler/icons-react v2.47.0 - MIT
2893
+ * @license @tabler/icons-react v3.36.0 - MIT
2894
+ *
2895
+ * This source code is licensed under the MIT license.
2896
+ * See the LICENSE file in the root directory of this source tree.
4097
2897
  */
4098
2898
 
4099
2899
 
4100
- var IconFilter = createReactComponent("filter", "IconFilter", [
4101
- [
4102
- "path",
4103
- {
4104
- d: "M4 4h16v2.172a2 2 0 0 1 -.586 1.414l-4.414 4.414v7l-6 2v-8.5l-4.48 -4.928a2 2 0 0 1 -.52 -1.345v-2.227z",
4105
- key: "svg-0"
4106
- }
4107
- ]
4108
- ]);
2900
+ const __iconNode$1 = [["path", { "d": "M4 4h16v2.172a2 2 0 0 1 -.586 1.414l-4.414 4.414v7l-6 2v-8.5l-4.48 -4.928a2 2 0 0 1 -.52 -1.345v-2.227z", "key": "svg-0" }]];
2901
+ const IconFilter = createReactComponent("outline", "filter", "Filter", __iconNode$1);
4109
2902
 
4110
2903
  /**
4111
- * @tabler/icons-react v2.47.0 - MIT
2904
+ * @license @tabler/icons-react v3.36.0 - MIT
2905
+ *
2906
+ * This source code is licensed under the MIT license.
2907
+ * See the LICENSE file in the root directory of this source tree.
4112
2908
  */
4113
2909
 
4114
2910
 
4115
- var IconPrinter = createReactComponent("printer", "IconPrinter", [
4116
- [
4117
- "path",
4118
- {
4119
- d: "M17 17h2a2 2 0 0 0 2 -2v-4a2 2 0 0 0 -2 -2h-14a2 2 0 0 0 -2 2v4a2 2 0 0 0 2 2h2",
4120
- key: "svg-0"
4121
- }
4122
- ],
4123
- ["path", { d: "M17 9v-4a2 2 0 0 0 -2 -2h-6a2 2 0 0 0 -2 2v4", key: "svg-1" }],
4124
- [
4125
- "path",
4126
- {
4127
- d: "M7 13m0 2a2 2 0 0 1 2 -2h6a2 2 0 0 1 2 2v4a2 2 0 0 1 -2 2h-6a2 2 0 0 1 -2 -2z",
4128
- key: "svg-2"
4129
- }
4130
- ]
4131
- ]);
2911
+ const __iconNode = [["path", { "d": "M17 17h2a2 2 0 0 0 2 -2v-4a2 2 0 0 0 -2 -2h-14a2 2 0 0 0 -2 2v4a2 2 0 0 0 2 2h2", "key": "svg-0" }], ["path", { "d": "M17 9v-4a2 2 0 0 0 -2 -2h-6a2 2 0 0 0 -2 2v4", "key": "svg-1" }], ["path", { "d": "M7 13m0 2a2 2 0 0 1 2 -2h6a2 2 0 0 1 2 2v4a2 2 0 0 1 -2 2h-6a2 2 0 0 1 -2 -2z", "key": "svg-2" }]];
2912
+ const IconPrinter = createReactComponent("outline", "printer", "Printer", __iconNode);
4132
2913
 
4133
2914
  var classof$2 = classof$5;
4134
2915