testeranto 0.110.0 → 0.112.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.
@@ -785,7 +785,7 @@
785
785
  }
786
786
  return children;
787
787
  }
788
- function createContext(defaultValue) {
788
+ function createContext2(defaultValue) {
789
789
  var context = {
790
790
  $$typeof: REACT_CONTEXT_TYPE,
791
791
  // As a workaround to support multiple concurrent renderers, we categorize
@@ -813,11 +813,11 @@
813
813
  var hasWarnedAboutUsingConsumerProvider = false;
814
814
  var hasWarnedAboutDisplayNameOnConsumer = false;
815
815
  {
816
- var Consumer = {
816
+ var Consumer2 = {
817
817
  $$typeof: REACT_CONTEXT_TYPE,
818
818
  _context: context
819
819
  };
820
- Object.defineProperties(Consumer, {
820
+ Object.defineProperties(Consumer2, {
821
821
  Provider: {
822
822
  get: function() {
823
823
  if (!hasWarnedAboutUsingConsumerProvider) {
@@ -875,7 +875,7 @@
875
875
  }
876
876
  }
877
877
  });
878
- context.Consumer = Consumer;
878
+ context.Consumer = Consumer2;
879
879
  }
880
880
  {
881
881
  context._currentRenderer = null;
@@ -972,7 +972,7 @@
972
972
  }
973
973
  return lazyType;
974
974
  }
975
- function forwardRef(render) {
975
+ function forwardRef3(render) {
976
976
  {
977
977
  if (render != null && render.$$typeof === REACT_MEMO_TYPE) {
978
978
  error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).");
@@ -1071,7 +1071,7 @@
1071
1071
  }
1072
1072
  return dispatcher;
1073
1073
  }
1074
- function useContext(Context) {
1074
+ function useContext2(Context) {
1075
1075
  var dispatcher = resolveDispatcher();
1076
1076
  {
1077
1077
  if (Context._context !== void 0) {
@@ -1113,7 +1113,7 @@
1113
1113
  var dispatcher = resolveDispatcher();
1114
1114
  return dispatcher.useCallback(callback, deps);
1115
1115
  }
1116
- function useMemo(create, deps) {
1116
+ function useMemo2(create, deps) {
1117
1117
  var dispatcher = resolveDispatcher();
1118
1118
  return dispatcher.useMemo(create, deps);
1119
1119
  }
@@ -1865,18 +1865,18 @@
1865
1865
  exports.Suspense = REACT_SUSPENSE_TYPE;
1866
1866
  exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactSharedInternals;
1867
1867
  exports.cloneElement = cloneElement$1;
1868
- exports.createContext = createContext;
1868
+ exports.createContext = createContext2;
1869
1869
  exports.createElement = createElement$1;
1870
1870
  exports.createFactory = createFactory;
1871
1871
  exports.createRef = createRef;
1872
- exports.forwardRef = forwardRef;
1872
+ exports.forwardRef = forwardRef3;
1873
1873
  exports.isValidElement = isValidElement;
1874
1874
  exports.lazy = lazy;
1875
1875
  exports.memo = memo;
1876
1876
  exports.startTransition = startTransition;
1877
1877
  exports.unstable_act = act;
1878
1878
  exports.useCallback = useCallback;
1879
- exports.useContext = useContext;
1879
+ exports.useContext = useContext2;
1880
1880
  exports.useDebugValue = useDebugValue;
1881
1881
  exports.useDeferredValue = useDeferredValue;
1882
1882
  exports.useEffect = useEffect2;
@@ -1884,7 +1884,7 @@
1884
1884
  exports.useImperativeHandle = useImperativeHandle;
1885
1885
  exports.useInsertionEffect = useInsertionEffect;
1886
1886
  exports.useLayoutEffect = useLayoutEffect;
1887
- exports.useMemo = useMemo;
1887
+ exports.useMemo = useMemo2;
1888
1888
  exports.useReducer = useReducer;
1889
1889
  exports.useRef = useRef;
1890
1890
  exports.useState = useState2;
@@ -2383,9 +2383,9 @@
2383
2383
  if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") {
2384
2384
  __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
2385
2385
  }
2386
- var React3 = require_react();
2386
+ var React5 = require_react();
2387
2387
  var Scheduler = require_scheduler();
2388
- var ReactSharedInternals = React3.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
2388
+ var ReactSharedInternals = React5.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
2389
2389
  var suppressWarning = false;
2390
2390
  function setSuppressWarning(newSuppressWarning) {
2391
2391
  {
@@ -3990,7 +3990,7 @@
3990
3990
  {
3991
3991
  if (props.value == null) {
3992
3992
  if (typeof props.children === "object" && props.children !== null) {
3993
- React3.Children.forEach(props.children, function(child) {
3993
+ React5.Children.forEach(props.children, function(child) {
3994
3994
  if (child == null) {
3995
3995
  return;
3996
3996
  }
@@ -12437,7 +12437,7 @@
12437
12437
  }
12438
12438
  }
12439
12439
  var fakeInternalInstance = {};
12440
- var emptyRefsObject = new React3.Component().refs;
12440
+ var emptyRefsObject = new React5.Component().refs;
12441
12441
  var didWarnAboutStateAssignmentForComponent;
12442
12442
  var didWarnAboutUninitializedState;
12443
12443
  var didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate;
@@ -23508,64 +23508,1045 @@
23508
23508
  }
23509
23509
  });
23510
23510
 
23511
+ // node_modules/classnames/index.js
23512
+ var require_classnames = __commonJS({
23513
+ "node_modules/classnames/index.js"(exports, module) {
23514
+ (function() {
23515
+ "use strict";
23516
+ var hasOwn = {}.hasOwnProperty;
23517
+ function classNames2() {
23518
+ var classes = "";
23519
+ for (var i = 0; i < arguments.length; i++) {
23520
+ var arg = arguments[i];
23521
+ if (arg) {
23522
+ classes = appendClass(classes, parseValue(arg));
23523
+ }
23524
+ }
23525
+ return classes;
23526
+ }
23527
+ function parseValue(arg) {
23528
+ if (typeof arg === "string" || typeof arg === "number") {
23529
+ return arg;
23530
+ }
23531
+ if (typeof arg !== "object") {
23532
+ return "";
23533
+ }
23534
+ if (Array.isArray(arg)) {
23535
+ return classNames2.apply(null, arg);
23536
+ }
23537
+ if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes("[native code]")) {
23538
+ return arg.toString();
23539
+ }
23540
+ var classes = "";
23541
+ for (var key in arg) {
23542
+ if (hasOwn.call(arg, key) && arg[key]) {
23543
+ classes = appendClass(classes, key);
23544
+ }
23545
+ }
23546
+ return classes;
23547
+ }
23548
+ function appendClass(value, newClass) {
23549
+ if (!newClass) {
23550
+ return value;
23551
+ }
23552
+ if (value) {
23553
+ return value + " " + newClass;
23554
+ }
23555
+ return value + newClass;
23556
+ }
23557
+ if (typeof module !== "undefined" && module.exports) {
23558
+ classNames2.default = classNames2;
23559
+ module.exports = classNames2;
23560
+ } else if (typeof define === "function" && typeof define.amd === "object" && define.amd) {
23561
+ define("classnames", [], function() {
23562
+ return classNames2;
23563
+ });
23564
+ } else {
23565
+ window.classNames = classNames2;
23566
+ }
23567
+ })();
23568
+ }
23569
+ });
23570
+
23571
+ // node_modules/react/cjs/react-jsx-runtime.development.js
23572
+ var require_react_jsx_runtime_development = __commonJS({
23573
+ "node_modules/react/cjs/react-jsx-runtime.development.js"(exports) {
23574
+ "use strict";
23575
+ if (true) {
23576
+ (function() {
23577
+ "use strict";
23578
+ var React5 = require_react();
23579
+ var REACT_ELEMENT_TYPE = Symbol.for("react.element");
23580
+ var REACT_PORTAL_TYPE = Symbol.for("react.portal");
23581
+ var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
23582
+ var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
23583
+ var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
23584
+ var REACT_PROVIDER_TYPE = Symbol.for("react.provider");
23585
+ var REACT_CONTEXT_TYPE = Symbol.for("react.context");
23586
+ var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
23587
+ var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
23588
+ var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
23589
+ var REACT_MEMO_TYPE = Symbol.for("react.memo");
23590
+ var REACT_LAZY_TYPE = Symbol.for("react.lazy");
23591
+ var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
23592
+ var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
23593
+ var FAUX_ITERATOR_SYMBOL = "@@iterator";
23594
+ function getIteratorFn(maybeIterable) {
23595
+ if (maybeIterable === null || typeof maybeIterable !== "object") {
23596
+ return null;
23597
+ }
23598
+ var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
23599
+ if (typeof maybeIterator === "function") {
23600
+ return maybeIterator;
23601
+ }
23602
+ return null;
23603
+ }
23604
+ var ReactSharedInternals = React5.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
23605
+ function error(format) {
23606
+ {
23607
+ {
23608
+ for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
23609
+ args[_key2 - 1] = arguments[_key2];
23610
+ }
23611
+ printWarning("error", format, args);
23612
+ }
23613
+ }
23614
+ }
23615
+ function printWarning(level, format, args) {
23616
+ {
23617
+ var ReactDebugCurrentFrame2 = ReactSharedInternals.ReactDebugCurrentFrame;
23618
+ var stack = ReactDebugCurrentFrame2.getStackAddendum();
23619
+ if (stack !== "") {
23620
+ format += "%s";
23621
+ args = args.concat([stack]);
23622
+ }
23623
+ var argsWithFormat = args.map(function(item) {
23624
+ return String(item);
23625
+ });
23626
+ argsWithFormat.unshift("Warning: " + format);
23627
+ Function.prototype.apply.call(console[level], console, argsWithFormat);
23628
+ }
23629
+ }
23630
+ var enableScopeAPI = false;
23631
+ var enableCacheElement = false;
23632
+ var enableTransitionTracing = false;
23633
+ var enableLegacyHidden = false;
23634
+ var enableDebugTracing = false;
23635
+ var REACT_MODULE_REFERENCE;
23636
+ {
23637
+ REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
23638
+ }
23639
+ function isValidElementType(type) {
23640
+ if (typeof type === "string" || typeof type === "function") {
23641
+ return true;
23642
+ }
23643
+ if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
23644
+ return true;
23645
+ }
23646
+ if (typeof type === "object" && type !== null) {
23647
+ if (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 || // This needs to include all possible module reference object
23648
+ // types supported by any Flight configuration anywhere since
23649
+ // we don't know which Flight build this will end up being used
23650
+ // with.
23651
+ type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== void 0) {
23652
+ return true;
23653
+ }
23654
+ }
23655
+ return false;
23656
+ }
23657
+ function getWrappedName(outerType, innerType, wrapperName) {
23658
+ var displayName = outerType.displayName;
23659
+ if (displayName) {
23660
+ return displayName;
23661
+ }
23662
+ var functionName = innerType.displayName || innerType.name || "";
23663
+ return functionName !== "" ? wrapperName + "(" + functionName + ")" : wrapperName;
23664
+ }
23665
+ function getContextName(type) {
23666
+ return type.displayName || "Context";
23667
+ }
23668
+ function getComponentNameFromType(type) {
23669
+ if (type == null) {
23670
+ return null;
23671
+ }
23672
+ {
23673
+ if (typeof type.tag === "number") {
23674
+ error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.");
23675
+ }
23676
+ }
23677
+ if (typeof type === "function") {
23678
+ return type.displayName || type.name || null;
23679
+ }
23680
+ if (typeof type === "string") {
23681
+ return type;
23682
+ }
23683
+ switch (type) {
23684
+ case REACT_FRAGMENT_TYPE:
23685
+ return "Fragment";
23686
+ case REACT_PORTAL_TYPE:
23687
+ return "Portal";
23688
+ case REACT_PROFILER_TYPE:
23689
+ return "Profiler";
23690
+ case REACT_STRICT_MODE_TYPE:
23691
+ return "StrictMode";
23692
+ case REACT_SUSPENSE_TYPE:
23693
+ return "Suspense";
23694
+ case REACT_SUSPENSE_LIST_TYPE:
23695
+ return "SuspenseList";
23696
+ }
23697
+ if (typeof type === "object") {
23698
+ switch (type.$$typeof) {
23699
+ case REACT_CONTEXT_TYPE:
23700
+ var context = type;
23701
+ return getContextName(context) + ".Consumer";
23702
+ case REACT_PROVIDER_TYPE:
23703
+ var provider = type;
23704
+ return getContextName(provider._context) + ".Provider";
23705
+ case REACT_FORWARD_REF_TYPE:
23706
+ return getWrappedName(type, type.render, "ForwardRef");
23707
+ case REACT_MEMO_TYPE:
23708
+ var outerName = type.displayName || null;
23709
+ if (outerName !== null) {
23710
+ return outerName;
23711
+ }
23712
+ return getComponentNameFromType(type.type) || "Memo";
23713
+ case REACT_LAZY_TYPE: {
23714
+ var lazyComponent = type;
23715
+ var payload = lazyComponent._payload;
23716
+ var init = lazyComponent._init;
23717
+ try {
23718
+ return getComponentNameFromType(init(payload));
23719
+ } catch (x) {
23720
+ return null;
23721
+ }
23722
+ }
23723
+ }
23724
+ }
23725
+ return null;
23726
+ }
23727
+ var assign = Object.assign;
23728
+ var disabledDepth = 0;
23729
+ var prevLog;
23730
+ var prevInfo;
23731
+ var prevWarn;
23732
+ var prevError;
23733
+ var prevGroup;
23734
+ var prevGroupCollapsed;
23735
+ var prevGroupEnd;
23736
+ function disabledLog() {
23737
+ }
23738
+ disabledLog.__reactDisabledLog = true;
23739
+ function disableLogs() {
23740
+ {
23741
+ if (disabledDepth === 0) {
23742
+ prevLog = console.log;
23743
+ prevInfo = console.info;
23744
+ prevWarn = console.warn;
23745
+ prevError = console.error;
23746
+ prevGroup = console.group;
23747
+ prevGroupCollapsed = console.groupCollapsed;
23748
+ prevGroupEnd = console.groupEnd;
23749
+ var props = {
23750
+ configurable: true,
23751
+ enumerable: true,
23752
+ value: disabledLog,
23753
+ writable: true
23754
+ };
23755
+ Object.defineProperties(console, {
23756
+ info: props,
23757
+ log: props,
23758
+ warn: props,
23759
+ error: props,
23760
+ group: props,
23761
+ groupCollapsed: props,
23762
+ groupEnd: props
23763
+ });
23764
+ }
23765
+ disabledDepth++;
23766
+ }
23767
+ }
23768
+ function reenableLogs() {
23769
+ {
23770
+ disabledDepth--;
23771
+ if (disabledDepth === 0) {
23772
+ var props = {
23773
+ configurable: true,
23774
+ enumerable: true,
23775
+ writable: true
23776
+ };
23777
+ Object.defineProperties(console, {
23778
+ log: assign({}, props, {
23779
+ value: prevLog
23780
+ }),
23781
+ info: assign({}, props, {
23782
+ value: prevInfo
23783
+ }),
23784
+ warn: assign({}, props, {
23785
+ value: prevWarn
23786
+ }),
23787
+ error: assign({}, props, {
23788
+ value: prevError
23789
+ }),
23790
+ group: assign({}, props, {
23791
+ value: prevGroup
23792
+ }),
23793
+ groupCollapsed: assign({}, props, {
23794
+ value: prevGroupCollapsed
23795
+ }),
23796
+ groupEnd: assign({}, props, {
23797
+ value: prevGroupEnd
23798
+ })
23799
+ });
23800
+ }
23801
+ if (disabledDepth < 0) {
23802
+ error("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
23803
+ }
23804
+ }
23805
+ }
23806
+ var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;
23807
+ var prefix;
23808
+ function describeBuiltInComponentFrame(name, source, ownerFn) {
23809
+ {
23810
+ if (prefix === void 0) {
23811
+ try {
23812
+ throw Error();
23813
+ } catch (x) {
23814
+ var match = x.stack.trim().match(/\n( *(at )?)/);
23815
+ prefix = match && match[1] || "";
23816
+ }
23817
+ }
23818
+ return "\n" + prefix + name;
23819
+ }
23820
+ }
23821
+ var reentry = false;
23822
+ var componentFrameCache;
23823
+ {
23824
+ var PossiblyWeakMap = typeof WeakMap === "function" ? WeakMap : Map;
23825
+ componentFrameCache = new PossiblyWeakMap();
23826
+ }
23827
+ function describeNativeComponentFrame(fn, construct) {
23828
+ if (!fn || reentry) {
23829
+ return "";
23830
+ }
23831
+ {
23832
+ var frame = componentFrameCache.get(fn);
23833
+ if (frame !== void 0) {
23834
+ return frame;
23835
+ }
23836
+ }
23837
+ var control;
23838
+ reentry = true;
23839
+ var previousPrepareStackTrace = Error.prepareStackTrace;
23840
+ Error.prepareStackTrace = void 0;
23841
+ var previousDispatcher;
23842
+ {
23843
+ previousDispatcher = ReactCurrentDispatcher.current;
23844
+ ReactCurrentDispatcher.current = null;
23845
+ disableLogs();
23846
+ }
23847
+ try {
23848
+ if (construct) {
23849
+ var Fake = function() {
23850
+ throw Error();
23851
+ };
23852
+ Object.defineProperty(Fake.prototype, "props", {
23853
+ set: function() {
23854
+ throw Error();
23855
+ }
23856
+ });
23857
+ if (typeof Reflect === "object" && Reflect.construct) {
23858
+ try {
23859
+ Reflect.construct(Fake, []);
23860
+ } catch (x) {
23861
+ control = x;
23862
+ }
23863
+ Reflect.construct(fn, [], Fake);
23864
+ } else {
23865
+ try {
23866
+ Fake.call();
23867
+ } catch (x) {
23868
+ control = x;
23869
+ }
23870
+ fn.call(Fake.prototype);
23871
+ }
23872
+ } else {
23873
+ try {
23874
+ throw Error();
23875
+ } catch (x) {
23876
+ control = x;
23877
+ }
23878
+ fn();
23879
+ }
23880
+ } catch (sample) {
23881
+ if (sample && control && typeof sample.stack === "string") {
23882
+ var sampleLines = sample.stack.split("\n");
23883
+ var controlLines = control.stack.split("\n");
23884
+ var s = sampleLines.length - 1;
23885
+ var c = controlLines.length - 1;
23886
+ while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {
23887
+ c--;
23888
+ }
23889
+ for (; s >= 1 && c >= 0; s--, c--) {
23890
+ if (sampleLines[s] !== controlLines[c]) {
23891
+ if (s !== 1 || c !== 1) {
23892
+ do {
23893
+ s--;
23894
+ c--;
23895
+ if (c < 0 || sampleLines[s] !== controlLines[c]) {
23896
+ var _frame = "\n" + sampleLines[s].replace(" at new ", " at ");
23897
+ if (fn.displayName && _frame.includes("<anonymous>")) {
23898
+ _frame = _frame.replace("<anonymous>", fn.displayName);
23899
+ }
23900
+ {
23901
+ if (typeof fn === "function") {
23902
+ componentFrameCache.set(fn, _frame);
23903
+ }
23904
+ }
23905
+ return _frame;
23906
+ }
23907
+ } while (s >= 1 && c >= 0);
23908
+ }
23909
+ break;
23910
+ }
23911
+ }
23912
+ }
23913
+ } finally {
23914
+ reentry = false;
23915
+ {
23916
+ ReactCurrentDispatcher.current = previousDispatcher;
23917
+ reenableLogs();
23918
+ }
23919
+ Error.prepareStackTrace = previousPrepareStackTrace;
23920
+ }
23921
+ var name = fn ? fn.displayName || fn.name : "";
23922
+ var syntheticFrame = name ? describeBuiltInComponentFrame(name) : "";
23923
+ {
23924
+ if (typeof fn === "function") {
23925
+ componentFrameCache.set(fn, syntheticFrame);
23926
+ }
23927
+ }
23928
+ return syntheticFrame;
23929
+ }
23930
+ function describeFunctionComponentFrame(fn, source, ownerFn) {
23931
+ {
23932
+ return describeNativeComponentFrame(fn, false);
23933
+ }
23934
+ }
23935
+ function shouldConstruct(Component) {
23936
+ var prototype = Component.prototype;
23937
+ return !!(prototype && prototype.isReactComponent);
23938
+ }
23939
+ function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
23940
+ if (type == null) {
23941
+ return "";
23942
+ }
23943
+ if (typeof type === "function") {
23944
+ {
23945
+ return describeNativeComponentFrame(type, shouldConstruct(type));
23946
+ }
23947
+ }
23948
+ if (typeof type === "string") {
23949
+ return describeBuiltInComponentFrame(type);
23950
+ }
23951
+ switch (type) {
23952
+ case REACT_SUSPENSE_TYPE:
23953
+ return describeBuiltInComponentFrame("Suspense");
23954
+ case REACT_SUSPENSE_LIST_TYPE:
23955
+ return describeBuiltInComponentFrame("SuspenseList");
23956
+ }
23957
+ if (typeof type === "object") {
23958
+ switch (type.$$typeof) {
23959
+ case REACT_FORWARD_REF_TYPE:
23960
+ return describeFunctionComponentFrame(type.render);
23961
+ case REACT_MEMO_TYPE:
23962
+ return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);
23963
+ case REACT_LAZY_TYPE: {
23964
+ var lazyComponent = type;
23965
+ var payload = lazyComponent._payload;
23966
+ var init = lazyComponent._init;
23967
+ try {
23968
+ return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
23969
+ } catch (x) {
23970
+ }
23971
+ }
23972
+ }
23973
+ }
23974
+ return "";
23975
+ }
23976
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
23977
+ var loggedTypeFailures = {};
23978
+ var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
23979
+ function setCurrentlyValidatingElement(element) {
23980
+ {
23981
+ if (element) {
23982
+ var owner = element._owner;
23983
+ var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
23984
+ ReactDebugCurrentFrame.setExtraStackFrame(stack);
23985
+ } else {
23986
+ ReactDebugCurrentFrame.setExtraStackFrame(null);
23987
+ }
23988
+ }
23989
+ }
23990
+ function checkPropTypes(typeSpecs, values, location, componentName, element) {
23991
+ {
23992
+ var has = Function.call.bind(hasOwnProperty);
23993
+ for (var typeSpecName in typeSpecs) {
23994
+ if (has(typeSpecs, typeSpecName)) {
23995
+ var error$1 = void 0;
23996
+ try {
23997
+ if (typeof typeSpecs[typeSpecName] !== "function") {
23998
+ var err = Error((componentName || "React class") + ": " + location + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
23999
+ err.name = "Invariant Violation";
24000
+ throw err;
24001
+ }
24002
+ error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
24003
+ } catch (ex) {
24004
+ error$1 = ex;
24005
+ }
24006
+ if (error$1 && !(error$1 instanceof Error)) {
24007
+ setCurrentlyValidatingElement(element);
24008
+ error("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", componentName || "React class", location, typeSpecName, typeof error$1);
24009
+ setCurrentlyValidatingElement(null);
24010
+ }
24011
+ if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
24012
+ loggedTypeFailures[error$1.message] = true;
24013
+ setCurrentlyValidatingElement(element);
24014
+ error("Failed %s type: %s", location, error$1.message);
24015
+ setCurrentlyValidatingElement(null);
24016
+ }
24017
+ }
24018
+ }
24019
+ }
24020
+ }
24021
+ var isArrayImpl = Array.isArray;
24022
+ function isArray(a) {
24023
+ return isArrayImpl(a);
24024
+ }
24025
+ function typeName(value) {
24026
+ {
24027
+ var hasToStringTag = typeof Symbol === "function" && Symbol.toStringTag;
24028
+ var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
24029
+ return type;
24030
+ }
24031
+ }
24032
+ function willCoercionThrow(value) {
24033
+ {
24034
+ try {
24035
+ testStringCoercion(value);
24036
+ return false;
24037
+ } catch (e) {
24038
+ return true;
24039
+ }
24040
+ }
24041
+ }
24042
+ function testStringCoercion(value) {
24043
+ return "" + value;
24044
+ }
24045
+ function checkKeyStringCoercion(value) {
24046
+ {
24047
+ if (willCoercionThrow(value)) {
24048
+ error("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", typeName(value));
24049
+ return testStringCoercion(value);
24050
+ }
24051
+ }
24052
+ }
24053
+ var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
24054
+ var RESERVED_PROPS = {
24055
+ key: true,
24056
+ ref: true,
24057
+ __self: true,
24058
+ __source: true
24059
+ };
24060
+ var specialPropKeyWarningShown;
24061
+ var specialPropRefWarningShown;
24062
+ var didWarnAboutStringRefs;
24063
+ {
24064
+ didWarnAboutStringRefs = {};
24065
+ }
24066
+ function hasValidRef(config) {
24067
+ {
24068
+ if (hasOwnProperty.call(config, "ref")) {
24069
+ var getter = Object.getOwnPropertyDescriptor(config, "ref").get;
24070
+ if (getter && getter.isReactWarning) {
24071
+ return false;
24072
+ }
24073
+ }
24074
+ }
24075
+ return config.ref !== void 0;
24076
+ }
24077
+ function hasValidKey(config) {
24078
+ {
24079
+ if (hasOwnProperty.call(config, "key")) {
24080
+ var getter = Object.getOwnPropertyDescriptor(config, "key").get;
24081
+ if (getter && getter.isReactWarning) {
24082
+ return false;
24083
+ }
24084
+ }
24085
+ }
24086
+ return config.key !== void 0;
24087
+ }
24088
+ function warnIfStringRefCannotBeAutoConverted(config, self) {
24089
+ {
24090
+ if (typeof config.ref === "string" && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {
24091
+ var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);
24092
+ if (!didWarnAboutStringRefs[componentName]) {
24093
+ error('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);
24094
+ didWarnAboutStringRefs[componentName] = true;
24095
+ }
24096
+ }
24097
+ }
24098
+ }
24099
+ function defineKeyPropWarningGetter(props, displayName) {
24100
+ {
24101
+ var warnAboutAccessingKey = function() {
24102
+ if (!specialPropKeyWarningShown) {
24103
+ specialPropKeyWarningShown = true;
24104
+ error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", displayName);
24105
+ }
24106
+ };
24107
+ warnAboutAccessingKey.isReactWarning = true;
24108
+ Object.defineProperty(props, "key", {
24109
+ get: warnAboutAccessingKey,
24110
+ configurable: true
24111
+ });
24112
+ }
24113
+ }
24114
+ function defineRefPropWarningGetter(props, displayName) {
24115
+ {
24116
+ var warnAboutAccessingRef = function() {
24117
+ if (!specialPropRefWarningShown) {
24118
+ specialPropRefWarningShown = true;
24119
+ error("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", displayName);
24120
+ }
24121
+ };
24122
+ warnAboutAccessingRef.isReactWarning = true;
24123
+ Object.defineProperty(props, "ref", {
24124
+ get: warnAboutAccessingRef,
24125
+ configurable: true
24126
+ });
24127
+ }
24128
+ }
24129
+ var ReactElement = function(type, key, ref, self, source, owner, props) {
24130
+ var element = {
24131
+ // This tag allows us to uniquely identify this as a React Element
24132
+ $$typeof: REACT_ELEMENT_TYPE,
24133
+ // Built-in properties that belong on the element
24134
+ type,
24135
+ key,
24136
+ ref,
24137
+ props,
24138
+ // Record the component responsible for creating this element.
24139
+ _owner: owner
24140
+ };
24141
+ {
24142
+ element._store = {};
24143
+ Object.defineProperty(element._store, "validated", {
24144
+ configurable: false,
24145
+ enumerable: false,
24146
+ writable: true,
24147
+ value: false
24148
+ });
24149
+ Object.defineProperty(element, "_self", {
24150
+ configurable: false,
24151
+ enumerable: false,
24152
+ writable: false,
24153
+ value: self
24154
+ });
24155
+ Object.defineProperty(element, "_source", {
24156
+ configurable: false,
24157
+ enumerable: false,
24158
+ writable: false,
24159
+ value: source
24160
+ });
24161
+ if (Object.freeze) {
24162
+ Object.freeze(element.props);
24163
+ Object.freeze(element);
24164
+ }
24165
+ }
24166
+ return element;
24167
+ };
24168
+ function jsxDEV(type, config, maybeKey, source, self) {
24169
+ {
24170
+ var propName;
24171
+ var props = {};
24172
+ var key = null;
24173
+ var ref = null;
24174
+ if (maybeKey !== void 0) {
24175
+ {
24176
+ checkKeyStringCoercion(maybeKey);
24177
+ }
24178
+ key = "" + maybeKey;
24179
+ }
24180
+ if (hasValidKey(config)) {
24181
+ {
24182
+ checkKeyStringCoercion(config.key);
24183
+ }
24184
+ key = "" + config.key;
24185
+ }
24186
+ if (hasValidRef(config)) {
24187
+ ref = config.ref;
24188
+ warnIfStringRefCannotBeAutoConverted(config, self);
24189
+ }
24190
+ for (propName in config) {
24191
+ if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
24192
+ props[propName] = config[propName];
24193
+ }
24194
+ }
24195
+ if (type && type.defaultProps) {
24196
+ var defaultProps = type.defaultProps;
24197
+ for (propName in defaultProps) {
24198
+ if (props[propName] === void 0) {
24199
+ props[propName] = defaultProps[propName];
24200
+ }
24201
+ }
24202
+ }
24203
+ if (key || ref) {
24204
+ var displayName = typeof type === "function" ? type.displayName || type.name || "Unknown" : type;
24205
+ if (key) {
24206
+ defineKeyPropWarningGetter(props, displayName);
24207
+ }
24208
+ if (ref) {
24209
+ defineRefPropWarningGetter(props, displayName);
24210
+ }
24211
+ }
24212
+ return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
24213
+ }
24214
+ }
24215
+ var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;
24216
+ var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
24217
+ function setCurrentlyValidatingElement$1(element) {
24218
+ {
24219
+ if (element) {
24220
+ var owner = element._owner;
24221
+ var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
24222
+ ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
24223
+ } else {
24224
+ ReactDebugCurrentFrame$1.setExtraStackFrame(null);
24225
+ }
24226
+ }
24227
+ }
24228
+ var propTypesMisspellWarningShown;
24229
+ {
24230
+ propTypesMisspellWarningShown = false;
24231
+ }
24232
+ function isValidElement(object) {
24233
+ {
24234
+ return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
24235
+ }
24236
+ }
24237
+ function getDeclarationErrorAddendum() {
24238
+ {
24239
+ if (ReactCurrentOwner$1.current) {
24240
+ var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);
24241
+ if (name) {
24242
+ return "\n\nCheck the render method of `" + name + "`.";
24243
+ }
24244
+ }
24245
+ return "";
24246
+ }
24247
+ }
24248
+ function getSourceInfoErrorAddendum(source) {
24249
+ {
24250
+ if (source !== void 0) {
24251
+ var fileName = source.fileName.replace(/^.*[\\\/]/, "");
24252
+ var lineNumber = source.lineNumber;
24253
+ return "\n\nCheck your code at " + fileName + ":" + lineNumber + ".";
24254
+ }
24255
+ return "";
24256
+ }
24257
+ }
24258
+ var ownerHasKeyUseWarning = {};
24259
+ function getCurrentComponentErrorInfo(parentType) {
24260
+ {
24261
+ var info = getDeclarationErrorAddendum();
24262
+ if (!info) {
24263
+ var parentName = typeof parentType === "string" ? parentType : parentType.displayName || parentType.name;
24264
+ if (parentName) {
24265
+ info = "\n\nCheck the top-level render call using <" + parentName + ">.";
24266
+ }
24267
+ }
24268
+ return info;
24269
+ }
24270
+ }
24271
+ function validateExplicitKey(element, parentType) {
24272
+ {
24273
+ if (!element._store || element._store.validated || element.key != null) {
24274
+ return;
24275
+ }
24276
+ element._store.validated = true;
24277
+ var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
24278
+ if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
24279
+ return;
24280
+ }
24281
+ ownerHasKeyUseWarning[currentComponentErrorInfo] = true;
24282
+ var childOwner = "";
24283
+ if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {
24284
+ childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + ".";
24285
+ }
24286
+ setCurrentlyValidatingElement$1(element);
24287
+ error('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);
24288
+ setCurrentlyValidatingElement$1(null);
24289
+ }
24290
+ }
24291
+ function validateChildKeys(node, parentType) {
24292
+ {
24293
+ if (typeof node !== "object") {
24294
+ return;
24295
+ }
24296
+ if (isArray(node)) {
24297
+ for (var i = 0; i < node.length; i++) {
24298
+ var child = node[i];
24299
+ if (isValidElement(child)) {
24300
+ validateExplicitKey(child, parentType);
24301
+ }
24302
+ }
24303
+ } else if (isValidElement(node)) {
24304
+ if (node._store) {
24305
+ node._store.validated = true;
24306
+ }
24307
+ } else if (node) {
24308
+ var iteratorFn = getIteratorFn(node);
24309
+ if (typeof iteratorFn === "function") {
24310
+ if (iteratorFn !== node.entries) {
24311
+ var iterator = iteratorFn.call(node);
24312
+ var step;
24313
+ while (!(step = iterator.next()).done) {
24314
+ if (isValidElement(step.value)) {
24315
+ validateExplicitKey(step.value, parentType);
24316
+ }
24317
+ }
24318
+ }
24319
+ }
24320
+ }
24321
+ }
24322
+ }
24323
+ function validatePropTypes(element) {
24324
+ {
24325
+ var type = element.type;
24326
+ if (type === null || type === void 0 || typeof type === "string") {
24327
+ return;
24328
+ }
24329
+ var propTypes;
24330
+ if (typeof type === "function") {
24331
+ propTypes = type.propTypes;
24332
+ } else if (typeof type === "object" && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
24333
+ // Inner props are checked in the reconciler.
24334
+ type.$$typeof === REACT_MEMO_TYPE)) {
24335
+ propTypes = type.propTypes;
24336
+ } else {
24337
+ return;
24338
+ }
24339
+ if (propTypes) {
24340
+ var name = getComponentNameFromType(type);
24341
+ checkPropTypes(propTypes, element.props, "prop", name, element);
24342
+ } else if (type.PropTypes !== void 0 && !propTypesMisspellWarningShown) {
24343
+ propTypesMisspellWarningShown = true;
24344
+ var _name = getComponentNameFromType(type);
24345
+ error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _name || "Unknown");
24346
+ }
24347
+ if (typeof type.getDefaultProps === "function" && !type.getDefaultProps.isReactClassApproved) {
24348
+ error("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
24349
+ }
24350
+ }
24351
+ }
24352
+ function validateFragmentProps(fragment) {
24353
+ {
24354
+ var keys = Object.keys(fragment.props);
24355
+ for (var i = 0; i < keys.length; i++) {
24356
+ var key = keys[i];
24357
+ if (key !== "children" && key !== "key") {
24358
+ setCurrentlyValidatingElement$1(fragment);
24359
+ error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", key);
24360
+ setCurrentlyValidatingElement$1(null);
24361
+ break;
24362
+ }
24363
+ }
24364
+ if (fragment.ref !== null) {
24365
+ setCurrentlyValidatingElement$1(fragment);
24366
+ error("Invalid attribute `ref` supplied to `React.Fragment`.");
24367
+ setCurrentlyValidatingElement$1(null);
24368
+ }
24369
+ }
24370
+ }
24371
+ function jsxWithValidation(type, props, key, isStaticChildren, source, self) {
24372
+ {
24373
+ var validType = isValidElementType(type);
24374
+ if (!validType) {
24375
+ var info = "";
24376
+ if (type === void 0 || typeof type === "object" && type !== null && Object.keys(type).length === 0) {
24377
+ info += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
24378
+ }
24379
+ var sourceInfo = getSourceInfoErrorAddendum(source);
24380
+ if (sourceInfo) {
24381
+ info += sourceInfo;
24382
+ } else {
24383
+ info += getDeclarationErrorAddendum();
24384
+ }
24385
+ var typeString;
24386
+ if (type === null) {
24387
+ typeString = "null";
24388
+ } else if (isArray(type)) {
24389
+ typeString = "array";
24390
+ } else if (type !== void 0 && type.$$typeof === REACT_ELEMENT_TYPE) {
24391
+ typeString = "<" + (getComponentNameFromType(type.type) || "Unknown") + " />";
24392
+ info = " Did you accidentally export a JSX literal instead of a component?";
24393
+ } else {
24394
+ typeString = typeof type;
24395
+ }
24396
+ error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", typeString, info);
24397
+ }
24398
+ var element = jsxDEV(type, props, key, source, self);
24399
+ if (element == null) {
24400
+ return element;
24401
+ }
24402
+ if (validType) {
24403
+ var children = props.children;
24404
+ if (children !== void 0) {
24405
+ if (isStaticChildren) {
24406
+ if (isArray(children)) {
24407
+ for (var i = 0; i < children.length; i++) {
24408
+ validateChildKeys(children[i], type);
24409
+ }
24410
+ if (Object.freeze) {
24411
+ Object.freeze(children);
24412
+ }
24413
+ } else {
24414
+ error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
24415
+ }
24416
+ } else {
24417
+ validateChildKeys(children, type);
24418
+ }
24419
+ }
24420
+ }
24421
+ if (type === REACT_FRAGMENT_TYPE) {
24422
+ validateFragmentProps(element);
24423
+ } else {
24424
+ validatePropTypes(element);
24425
+ }
24426
+ return element;
24427
+ }
24428
+ }
24429
+ function jsxWithValidationStatic(type, props, key) {
24430
+ {
24431
+ return jsxWithValidation(type, props, key, true);
24432
+ }
24433
+ }
24434
+ function jsxWithValidationDynamic(type, props, key) {
24435
+ {
24436
+ return jsxWithValidation(type, props, key, false);
24437
+ }
24438
+ }
24439
+ var jsx = jsxWithValidationDynamic;
24440
+ var jsxs = jsxWithValidationStatic;
24441
+ exports.Fragment = REACT_FRAGMENT_TYPE;
24442
+ exports.jsx = jsx;
24443
+ exports.jsxs = jsxs;
24444
+ })();
24445
+ }
24446
+ }
24447
+ });
24448
+
24449
+ // node_modules/react/jsx-runtime.js
24450
+ var require_jsx_runtime = __commonJS({
24451
+ "node_modules/react/jsx-runtime.js"(exports, module) {
24452
+ "use strict";
24453
+ if (false) {
24454
+ module.exports = null;
24455
+ } else {
24456
+ module.exports = require_react_jsx_runtime_development();
24457
+ }
24458
+ }
24459
+ });
24460
+
23511
24461
  // src/ReportClient.tsx
23512
24462
  var import_client = __toESM(require_client(), 1);
23513
- var import_react2 = __toESM(require_react(), 1);
24463
+ var import_react3 = __toESM(require_react(), 1);
23514
24464
 
23515
24465
  // src/Footer.tsx
23516
24466
  var import_react = __toESM(require_react(), 1);
23517
24467
  var Footer = () => /* @__PURE__ */ import_react.default.createElement("footer", null, "made with \u2764\uFE0F and ", /* @__PURE__ */ import_react.default.createElement("a", { href: "https://www.npmjs.com/package/testeranto" }, "testeranto "));
23518
24468
 
24469
+ // node_modules/react-bootstrap/esm/ThemeProvider.js
24470
+ var React2 = __toESM(require_react());
24471
+ var import_react2 = __toESM(require_react());
24472
+ var import_jsx_runtime = __toESM(require_jsx_runtime());
24473
+ "use client";
24474
+ var DEFAULT_BREAKPOINTS = ["xxl", "xl", "lg", "md", "sm", "xs"];
24475
+ var DEFAULT_MIN_BREAKPOINT = "xs";
24476
+ var ThemeContext = /* @__PURE__ */ React2.createContext({
24477
+ prefixes: {},
24478
+ breakpoints: DEFAULT_BREAKPOINTS,
24479
+ minBreakpoint: DEFAULT_MIN_BREAKPOINT
24480
+ });
24481
+ var {
24482
+ Consumer,
24483
+ Provider
24484
+ } = ThemeContext;
24485
+ function useBootstrapPrefix(prefix, defaultPrefix) {
24486
+ const {
24487
+ prefixes
24488
+ } = (0, import_react2.useContext)(ThemeContext);
24489
+ return prefix || prefixes[defaultPrefix] || defaultPrefix;
24490
+ }
24491
+
24492
+ // node_modules/react-bootstrap/esm/Table.js
24493
+ var import_classnames = __toESM(require_classnames());
24494
+ var React3 = __toESM(require_react());
24495
+ var import_jsx_runtime2 = __toESM(require_jsx_runtime());
24496
+ "use client";
24497
+ var Table = /* @__PURE__ */ React3.forwardRef(({
24498
+ bsPrefix,
24499
+ className,
24500
+ striped,
24501
+ bordered,
24502
+ borderless,
24503
+ hover,
24504
+ size,
24505
+ variant,
24506
+ responsive,
24507
+ ...props
24508
+ }, ref) => {
24509
+ const decoratedBsPrefix = useBootstrapPrefix(bsPrefix, "table");
24510
+ const classes = (0, import_classnames.default)(className, decoratedBsPrefix, variant && `${decoratedBsPrefix}-${variant}`, size && `${decoratedBsPrefix}-${size}`, striped && `${decoratedBsPrefix}-${typeof striped === "string" ? `striped-${striped}` : "striped"}`, bordered && `${decoratedBsPrefix}-bordered`, borderless && `${decoratedBsPrefix}-borderless`, hover && `${decoratedBsPrefix}-hover`);
24511
+ const table = /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("table", {
24512
+ ...props,
24513
+ className: classes,
24514
+ ref
24515
+ });
24516
+ if (responsive) {
24517
+ let responsiveClass = `${decoratedBsPrefix}-responsive`;
24518
+ if (typeof responsive === "string") {
24519
+ responsiveClass = `${responsiveClass}-${responsive}`;
24520
+ }
24521
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", {
24522
+ className: responsiveClass,
24523
+ children: table
24524
+ });
24525
+ }
24526
+ return table;
24527
+ });
24528
+ var Table_default = Table;
24529
+
23519
24530
  // src/ReportClient.tsx
23520
24531
  var BigBoard = () => {
23521
- const [configs, setConfigs] = (0, import_react2.useState)();
23522
- (0, import_react2.useEffect)(() => {
24532
+ const [configs, setConfigs] = (0, import_react3.useState)();
24533
+ (0, import_react3.useEffect)(() => {
23523
24534
  (async () => {
23524
24535
  fetch("/kokomoBay/docs/testeranto.json").then((response) => response.json()).then((json) => {
23525
24536
  setConfigs(json);
23526
24537
  }).catch((error) => console.error(error));
23527
24538
  })();
23528
24539
  }, []);
23529
- const [bigBoard, setBigBoard] = (0, import_react2.useState)({});
23530
- (0, import_react2.useEffect)(() => {
24540
+ const [bigBoard, setBigBoard] = (0, import_react3.useState)({});
24541
+ (0, import_react3.useEffect)(() => {
23531
24542
  (async () => {
23532
- fetch("/kokomoBay/docs/bigBoard.json").then((response) => response.json()).then((json) => {
24543
+ fetch("/kokomoBay/docs/summary.json").then((response) => response.json()).then((json) => {
23533
24544
  setBigBoard(json);
23534
24545
  }).catch((error) => console.error(error));
23535
24546
  })();
23536
24547
  }, []);
23537
- const [staticAnalysis, setStaticAnalysis] = (0, import_react2.useState)({});
23538
- (0, import_react2.useEffect)(() => {
23539
- (async () => {
23540
- let accumulator = {};
23541
- for (const t of (configs || { tests: [] }).tests) {
23542
- accumulator[t[0]] = await (await fetch(`/kokomoBay/docs/${t[1]}/${t[0].split(".").slice(0, -1).join(".")}/lint_errors.txt`)).text();
23543
- }
23544
- setStaticAnalysis(accumulator);
23545
- })();
23546
- }, [configs, bigBoard]);
23547
- const [typeErrors, setTypeErrors] = (0, import_react2.useState)({});
23548
- (0, import_react2.useEffect)(() => {
23549
- (async () => {
23550
- let accumulator = {};
23551
- for (const t of (configs || { tests: [] }).tests) {
23552
- accumulator[t[0]] = await (await fetch(`/kokomoBay/docs/${t[1]}/${t[0].split(".").slice(0, -1).join(".")}/type_errors.txt`)).text();
23553
- }
23554
- setTypeErrors(accumulator);
23555
- })();
23556
- }, [configs, bigBoard]);
23557
- const [bddErrors, setBddErrors] = (0, import_react2.useState)({});
23558
- (0, import_react2.useEffect)(() => {
23559
- (async () => {
23560
- let accumulator = {};
23561
- for (const t of (configs || { tests: [] }).tests) {
23562
- accumulator[t[0]] = await (await fetch(`/kokomoBay/docs/${t[1]}/${t[0].split(".").slice(0, -1).join(".")}/bdd_errors.txt`)).text();
23563
- }
23564
- setBddErrors(accumulator);
23565
- })();
23566
- }, [configs, bigBoard]);
23567
- if (!configs || !staticAnalysis || !typeErrors || !bddErrors) {
23568
- return /* @__PURE__ */ import_react2.default.createElement("div", null, "loading...");
24548
+ if (!configs) {
24549
+ return /* @__PURE__ */ import_react3.default.createElement("div", null, "loading...");
23569
24550
  }
23570
24551
  const collated = configs.tests.map((c) => {
23571
24552
  return {
@@ -23574,19 +24555,20 @@
23574
24555
  runTime: c[1],
23575
24556
  tr: c[2],
23576
24557
  sidecars: c[3],
23577
- staticAnalysis: staticAnalysis[c[0]],
23578
- typeErrors: typeErrors[c[0]],
23579
- bddErrors: bddErrors[c[0]]
24558
+ staticAnalysis: bigBoard[c[0]].staticErrors,
24559
+ typeErrors: bigBoard[c[0]].typeErrors,
24560
+ bddErrors: bigBoard[c[0]].runTimeError,
24561
+ prompt: bigBoard[c[0]].prompt
23580
24562
  };
23581
24563
  });
23582
- return /* @__PURE__ */ import_react2.default.createElement("div", null, /* @__PURE__ */ import_react2.default.createElement("table", null, /* @__PURE__ */ import_react2.default.createElement("tr", null, /* @__PURE__ */ import_react2.default.createElement("td", null, "name"), /* @__PURE__ */ import_react2.default.createElement("td", null, "run time"), /* @__PURE__ */ import_react2.default.createElement("td", null, "BDD errors"), /* @__PURE__ */ import_react2.default.createElement("td", null, "Lint errors"), /* @__PURE__ */ import_react2.default.createElement("td", null, "Type errors"), /* @__PURE__ */ import_react2.default.createElement("td", null, "prompt")), ...collated.map((c) => {
23583
- return /* @__PURE__ */ import_react2.default.createElement("tr", null, /* @__PURE__ */ import_react2.default.createElement("td", null, c.name), /* @__PURE__ */ import_react2.default.createElement("td", null, c.runTime), /* @__PURE__ */ import_react2.default.createElement("td", null, /* @__PURE__ */ import_react2.default.createElement("a", { href: `${c.runTime}/${c.name.split(".").slice(0, -1).join(".")}/littleBoard.html` }, c.bddErrors)), /* @__PURE__ */ import_react2.default.createElement("td", null, /* @__PURE__ */ import_react2.default.createElement("a", { href: `${c.runTime}/${c.name.split(".").slice(0, -1).join(".")}/lint_errors.json` }, c.staticAnalysis)), /* @__PURE__ */ import_react2.default.createElement("td", null, /* @__PURE__ */ import_react2.default.createElement("a", { href: `${c.runTime}/${c.name.split(".").slice(0, -1).join(".")}/type_errors.txt` }, c.typeErrors)), /* @__PURE__ */ import_react2.default.createElement("td", null, /* @__PURE__ */ import_react2.default.createElement("pre", null, "aider --model deepseek/deepseek-chat --load ", `docs/${c.runTime}/${c.name.split(".").slice(0, -1).join(".")}/prompt.txt`)));
23584
- })), /* @__PURE__ */ import_react2.default.createElement(Footer, null));
24564
+ return /* @__PURE__ */ import_react3.default.createElement("div", null, /* @__PURE__ */ import_react3.default.createElement(Table_default, { striped: true, bordered: true, hover: true }, /* @__PURE__ */ import_react3.default.createElement("thead", null, /* @__PURE__ */ import_react3.default.createElement("tr", null, /* @__PURE__ */ import_react3.default.createElement("th", null), /* @__PURE__ */ import_react3.default.createElement("th", null, "platform"), /* @__PURE__ */ import_react3.default.createElement("th", null, "BDD errors"), /* @__PURE__ */ import_react3.default.createElement("th", null, "Lint errors"), /* @__PURE__ */ import_react3.default.createElement("th", null, "Type errors"), /* @__PURE__ */ import_react3.default.createElement("th", null, "prompt"))), /* @__PURE__ */ import_react3.default.createElement("tbody", null, ...collated.map((c) => {
24565
+ return /* @__PURE__ */ import_react3.default.createElement("tr", null, /* @__PURE__ */ import_react3.default.createElement("td", null, c.name), /* @__PURE__ */ import_react3.default.createElement("td", null, c.runTime), /* @__PURE__ */ import_react3.default.createElement("td", null, /* @__PURE__ */ import_react3.default.createElement("a", { href: `${c.runTime}/${c.name.split(".").slice(0, -1).join(".")}/littleBoard.html` }, c.bddErrors)), /* @__PURE__ */ import_react3.default.createElement("td", null, /* @__PURE__ */ import_react3.default.createElement("a", { href: `${c.runTime}/${c.name.split(".").slice(0, -1).join(".")}/lint_errors.json` }, c.staticAnalysis)), /* @__PURE__ */ import_react3.default.createElement("td", null, /* @__PURE__ */ import_react3.default.createElement("a", { href: `${c.runTime}/${c.name.split(".").slice(0, -1).join(".")}/type_errors.txt` }, c.typeErrors)), /* @__PURE__ */ import_react3.default.createElement("td", null, /* @__PURE__ */ import_react3.default.createElement("pre", null, c.prompt)));
24566
+ }))), /* @__PURE__ */ import_react3.default.createElement(Footer, null));
23585
24567
  };
23586
24568
  document.addEventListener("DOMContentLoaded", function() {
23587
24569
  const elem = document.getElementById("root");
23588
24570
  if (elem) {
23589
- import_client.default.createRoot(elem).render(import_react2.default.createElement(BigBoard, {}, []));
24571
+ import_client.default.createRoot(elem).render(import_react3.default.createElement(BigBoard, {}, []));
23590
24572
  }
23591
24573
  });
23592
24574
  console.log("hello BigBoard!");
@@ -23638,4 +24620,22 @@ react-dom/cjs/react-dom.development.js:
23638
24620
  * @internal
23639
24621
  * @license Modernizr 3.0.0pre (Custom Build) | MIT
23640
24622
  *)
24623
+
24624
+ classnames/index.js:
24625
+ (*!
24626
+ Copyright (c) 2018 Jed Watson.
24627
+ Licensed under the MIT License (MIT), see
24628
+ http://jedwatson.github.io/classnames
24629
+ *)
24630
+
24631
+ react/cjs/react-jsx-runtime.development.js:
24632
+ (**
24633
+ * @license React
24634
+ * react-jsx-runtime.development.js
24635
+ *
24636
+ * Copyright (c) Facebook, Inc. and its affiliates.
24637
+ *
24638
+ * This source code is licensed under the MIT license found in the
24639
+ * LICENSE file in the root directory of this source tree.
24640
+ *)
23641
24641
  */