@cccsaurora/clue-ui 1.3.0-dev.327 → 1.3.0-dev.329

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/ActionForm-irs9q3xm.js +6091 -0
  2. package/{AnnotationDetails-B0jvSEkB.js → AnnotationDetails-TaLlFe0h.js} +5 -5
  3. package/{AnnotationPreview-vg8GqHP3.js → AnnotationPreview-CC_9H0lC.js} +4 -4
  4. package/{ClueEnrichContext-C722Tns5.js → ClueEnrichContext-NZpr831K.js} +7 -7
  5. package/{_MapCache-WmuDdwuH.js → _MapCache-DWYVyFVH.js} +4 -4
  6. package/{_Uint8Array-B7JqpgFX.js → _Uint8Array-BgBspS6l.js} +7 -7
  7. package/{_baseAssignValue-CGTuELqU.js → _baseAssignValue-Dltt6-s5.js} +3 -3
  8. package/{_baseClone-CkNrTyhm.js → _baseClone-BUfES2sT.js} +7 -7
  9. package/{_baseFlatten-jIR_sN_-.js → _baseFlatten-D3wtzJ86.js} +4 -4
  10. package/{_baseGet-Bx3A4Qfp.js → _baseGet-DKnGz1D3.js} +1 -1
  11. package/{_baseIsEqual-C5OTWzTk.js → _baseIsEqual-CTfFNmaR.js} +4 -4
  12. package/{_baseIteratee-avi7MX2o.js → _baseIteratee-C004Z9XE.js} +6 -6
  13. package/{_baseUniq-BI9GIHMF.js → _baseUniq-BqxNeJD9.js} +3 -3
  14. package/_commonjsHelpers-CUmg6egw.js +6 -0
  15. package/{_createAggregator-QD8MzKwe.js → _createAggregator-BDMdCE6g.js} +4 -4
  16. package/{_getPrototype-CU0j_POw.js → _getPrototype-uU2uJIbq.js} +1 -1
  17. package/{_getTag-Ckxxfr88.js → _getTag-DuA1kj2A.js} +13 -13
  18. package/{_isIterateeCall-Ds3sw2SF.js → _isIterateeCall-CEvg7Bo6.js} +3 -3
  19. package/{_setToArray-CaPKQhcz.js → _setToArray-CGeR30xg.js} +1 -1
  20. package/{cloneDeep-DJrLSw8W.js → cloneDeep-C_PzHHQ0.js} +1 -1
  21. package/components/AnnotationBody.js +1 -1
  22. package/components/AnnotationDetailPopover.js +1 -1
  23. package/components/AnnotationDetails.js +6 -6
  24. package/components/AnnotationEntry.js +2 -2
  25. package/components/AnnotationPreview.js +4 -4
  26. package/components/EnrichedCard.js +4 -4
  27. package/components/EnrichedChip.js +3 -3
  28. package/components/EnrichedTypography.js +3 -3
  29. package/components/RetryFailedEnrichments.js +2 -2
  30. package/components/SourcePicker.js +1 -1
  31. package/components/actions/ActionForm.js +4 -4
  32. package/components/actions/ExecutePopover.js +3 -3
  33. package/components/actions/ResultModal.js +3 -3
  34. package/components/actions/form/schemaAdapter.js +2 -2
  35. package/components/actions/formats/FileResult.js +1 -1
  36. package/components/actions/formats/index.js +1 -1
  37. package/components/display/graph/elements/NodeCard.js +5 -5
  38. package/components/display/graph/index.js +4 -4
  39. package/components/display/graph/visualizations/cloud/index.js +3 -3
  40. package/components/display/graph/visualizations/tree/BundleLine.js +1 -1
  41. package/components/display/graph/visualizations/tree/index.js +3 -3
  42. package/components/display/icons/Iconified.js +1 -1
  43. package/components/display/json/index.js +3 -3
  44. package/components/display/markdown/index.js +10 -6
  45. package/components/enrichment/EnrichPopover.js +1 -1
  46. package/components/fetchers/Fetcher.js +4 -4
  47. package/components/fetchers/StatusChip.js +2 -2
  48. package/components/group/Entry.js +2 -2
  49. package/components/group/GroupControl.js +2 -2
  50. package/components/stats/QueryStatus.js +1 -1
  51. package/{countBy-c6S3dvSW.js → countBy-Bkq0mSO-.js} +2 -2
  52. package/database/index.js +2 -2
  53. package/database/replication.js +3 -3
  54. package/{get-DSsNkRQs.js → get-DlGeJ2uz.js} +1 -1
  55. package/{groupBy-xqz-n0Vd.js → groupBy-CXx1vslF.js} +2 -2
  56. package/hooks/ClueActionContext.js +5 -5
  57. package/hooks/ClueComponentContext.js +1 -1
  58. package/hooks/ClueDatabaseContext.js +1 -1
  59. package/hooks/ClueEnrichContext.js +7 -7
  60. package/hooks/ClueFetcherContext.js +2 -2
  61. package/hooks/ClueGroupContext.js +2 -2
  62. package/hooks/CluePopupContext.js +3 -3
  63. package/hooks/ClueProvider.js +3 -3
  64. package/hooks/selectors.js +7 -7
  65. package/hooks/useActionResult.js +3 -3
  66. package/hooks/useAnnotations.js +2 -2
  67. package/hooks/useClue.js +2 -2
  68. package/hooks/useClueActions.js +3 -3
  69. package/hooks/useClueTypeConfig.js +3 -3
  70. package/hooks/useComparator.js +3 -3
  71. package/hooks/useErrors.js +1 -1
  72. package/hooks/useFetcherResult.js +1 -1
  73. package/{iconify-CXMreGTg.js → iconify-DJxl6dC-.js} +7 -0
  74. package/icons/Action.js +5 -5
  75. package/icons/Assessment.js +7 -7
  76. package/icons/Context.js +4 -4
  77. package/icons/Opinion.js +6 -6
  78. package/{index-NaBSmVOx.js → index-C28rIsy3.js} +1 -1
  79. package/{index-CWMtU1OQ.js → index-CIj4pr7O.js} +2 -2
  80. package/{index-DCKkHTvx.js → index-CVUD9o3t.js} +97 -79
  81. package/{index-BfslcSud.js → index-CmQM2DaO.js} +47 -39
  82. package/index-CoosLLQl.js +9308 -0
  83. package/{index-AMfoEg_6.js → index-_gpzM2Px.js} +63 -57
  84. package/main.js +9 -9
  85. package/{maxBy-IKHzFrCS.js → maxBy-a49mqwW9.js} +1 -1
  86. package/package.json +16 -16
  87. package/{replication-BCvfRqsy.js → replication-DvYQDhM_.js} +170 -170
  88. package/{sortBy-DfSj8IoJ.js → sortBy-Tf6pz1tg.js} +7 -7
  89. package/{sumBy-D-hb_NY-.js → sumBy-DZSVfXDE.js} +1 -1
  90. package/text/Frequency.js +1 -1
  91. package/{useClueTypeConfig-DnF4rLsl.js → useClueTypeConfig-CnMg5Ny8.js} +2 -2
  92. package/utils/chain.js +12 -12
  93. package/utils/time.js +545 -517
  94. package/utils/utils.js +4 -4
  95. package/{utils-HmNPuoDB.js → utils-Du3XxQAT.js} +7 -7
  96. package/ActionForm-ZdEo5xJp.js +0 -5971
  97. package/_commonjsHelpers-DWwsNxpa.js +0 -8
  98. package/index-BXnMCI65.js +0 -9311
@@ -9,7 +9,7 @@ var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read fr
9
9
  var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
10
10
  var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
11
11
  var _hashFn, _keyMap, _unpack, _options, _root, _local, _operators, _iteratees, _yieldedValues, _getNext, _a, _source, _predicate, _projection, _options2, _operators2, _result, _buffer, _compiled, _options3, _condition;
12
- import { a as api, j as joinAllUri, u as uri } from "./index-BfslcSud.js";
12
+ import { a as api, j as joinAllUri, u as uri } from "./index-CmQM2DaO.js";
13
13
  import { REPLICATORS } from "./database/globals.js";
14
14
  import { l as last$1 } from "./last-CUCl67Im.js";
15
15
  function _typeof(o) {
@@ -372,7 +372,7 @@ function parametersToString(parameters) {
372
372
  function messageForError(message, code, parameters) {
373
373
  return "\n" + message + "\n" + parametersToString(parameters);
374
374
  }
375
- var RxError = /* @__PURE__ */ function(_Error) {
375
+ var RxError = /* @__PURE__ */ (function(_Error) {
376
376
  function RxError2(code, message, parameters = {}) {
377
377
  var _this;
378
378
  var mes = messageForError(message, code, parameters);
@@ -400,8 +400,8 @@ var RxError = /* @__PURE__ */ function(_Error) {
400
400
  return false;
401
401
  }
402
402
  }]);
403
- }(/* @__PURE__ */ _wrapNativeSuper(Error));
404
- var RxTypeError = /* @__PURE__ */ function(_TypeError) {
403
+ })(/* @__PURE__ */ _wrapNativeSuper(Error));
404
+ var RxTypeError = /* @__PURE__ */ (function(_TypeError) {
405
405
  function RxTypeError2(code, message, parameters = {}) {
406
406
  var _this2;
407
407
  var mes = messageForError(message, code, parameters);
@@ -429,7 +429,7 @@ var RxTypeError = /* @__PURE__ */ function(_TypeError) {
429
429
  return true;
430
430
  }
431
431
  }]);
432
- }(/* @__PURE__ */ _wrapNativeSuper(TypeError));
432
+ })(/* @__PURE__ */ _wrapNativeSuper(TypeError));
433
433
  function getErrorUrl(code) {
434
434
  return "https://rxdb.info/errors.html?console=errors#" + code;
435
435
  }
@@ -1145,7 +1145,7 @@ function fillObjectWithDefaults(rxSchema, obj) {
1145
1145
  }
1146
1146
  return obj;
1147
1147
  }
1148
- var RxSchema = /* @__PURE__ */ function() {
1148
+ var RxSchema = /* @__PURE__ */ (function() {
1149
1149
  function RxSchema2(jsonSchema, hashFunction) {
1150
1150
  this.jsonSchema = jsonSchema;
1151
1151
  this.hashFunction = hashFunction;
@@ -1232,7 +1232,7 @@ var RxSchema = /* @__PURE__ */ function() {
1232
1232
  return overwriteGetterForCaching(this, "hash", this.hashFunction(JSON.stringify(this.jsonSchema)));
1233
1233
  }
1234
1234
  }]);
1235
- }();
1235
+ })();
1236
1236
  function getIndexes(jsonSchema) {
1237
1237
  return (jsonSchema.indexes || []).map((index) => isMaybeReadonlyArray(index) ? index : [index]);
1238
1238
  }
@@ -1489,9 +1489,9 @@ typeof SuppressedError === "function" ? SuppressedError : function(error, suppre
1489
1489
  var e = new Error(message);
1490
1490
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
1491
1491
  };
1492
- var isArrayLike = function(x) {
1492
+ var isArrayLike = (function(x) {
1493
1493
  return x && typeof x.length === "number" && typeof x !== "function";
1494
- };
1494
+ });
1495
1495
  function isPromise$1(value) {
1496
1496
  return isFunction$1(value === null || value === void 0 ? void 0 : value.then);
1497
1497
  }
@@ -1521,7 +1521,7 @@ function arrRemove(arr, item) {
1521
1521
  0 <= index && arr.splice(index, 1);
1522
1522
  }
1523
1523
  }
1524
- var Subscription = function() {
1524
+ var Subscription = (function() {
1525
1525
  function Subscription2(initialTeardown) {
1526
1526
  this.initialTeardown = initialTeardown;
1527
1527
  this.closed = false;
@@ -1634,13 +1634,13 @@ var Subscription = function() {
1634
1634
  teardown._removeParent(this);
1635
1635
  }
1636
1636
  };
1637
- Subscription2.EMPTY = function() {
1637
+ Subscription2.EMPTY = (function() {
1638
1638
  var empty = new Subscription2();
1639
1639
  empty.closed = true;
1640
1640
  return empty;
1641
- }();
1641
+ })();
1642
1642
  return Subscription2;
1643
- }();
1643
+ })();
1644
1644
  var EMPTY_SUBSCRIPTION = Subscription.EMPTY;
1645
1645
  function isSubscription(value) {
1646
1646
  return value instanceof Subscription || value && "closed" in value && isFunction$1(value.remove) && isFunction$1(value.add) && isFunction$1(value.unsubscribe);
@@ -1682,7 +1682,7 @@ function errorContext(cb) {
1682
1682
  cb();
1683
1683
  }
1684
1684
  }
1685
- var Subscriber = function(_super) {
1685
+ var Subscriber = (function(_super) {
1686
1686
  __extends(Subscriber2, _super);
1687
1687
  function Subscriber2(destination) {
1688
1688
  var _this = _super.call(this) || this;
@@ -1745,8 +1745,8 @@ var Subscriber = function(_super) {
1745
1745
  }
1746
1746
  };
1747
1747
  return Subscriber2;
1748
- }(Subscription);
1749
- var ConsumerObserver = function() {
1748
+ })(Subscription);
1749
+ var ConsumerObserver = (function() {
1750
1750
  function ConsumerObserver2(partialObserver) {
1751
1751
  this.partialObserver = partialObserver;
1752
1752
  }
@@ -1783,8 +1783,8 @@ var ConsumerObserver = function() {
1783
1783
  }
1784
1784
  };
1785
1785
  return ConsumerObserver2;
1786
- }();
1787
- var SafeSubscriber = function(_super) {
1786
+ })();
1787
+ var SafeSubscriber = (function(_super) {
1788
1788
  __extends(SafeSubscriber2, _super);
1789
1789
  function SafeSubscriber2(observerOrNext, error, complete) {
1790
1790
  var _this = _super.call(this) || this;
@@ -1804,7 +1804,7 @@ var SafeSubscriber = function(_super) {
1804
1804
  return _this;
1805
1805
  }
1806
1806
  return SafeSubscriber2;
1807
- }(Subscriber);
1807
+ })(Subscriber);
1808
1808
  function handleUnhandledError(error) {
1809
1809
  {
1810
1810
  reportUnhandledError(error);
@@ -1819,9 +1819,9 @@ var EMPTY_OBSERVER = {
1819
1819
  error: defaultErrorHandler,
1820
1820
  complete: noop
1821
1821
  };
1822
- var observable = function() {
1822
+ var observable = (function() {
1823
1823
  return typeof Symbol === "function" && Symbol.observable || "@@observable";
1824
- }();
1824
+ })();
1825
1825
  function identity(x) {
1826
1826
  return x;
1827
1827
  }
@@ -1838,7 +1838,7 @@ function pipeFromArray(fns) {
1838
1838
  }, input);
1839
1839
  };
1840
1840
  }
1841
- var Observable = function() {
1841
+ var Observable = (function() {
1842
1842
  function Observable2(subscribe) {
1843
1843
  if (subscribe) {
1844
1844
  this._subscribe = subscribe;
@@ -1917,7 +1917,7 @@ var Observable = function() {
1917
1917
  return new Observable2(subscribe);
1918
1918
  };
1919
1919
  return Observable2;
1920
- }();
1920
+ })();
1921
1921
  function getPromiseCtor(promiseCtor) {
1922
1922
  var _a2;
1923
1923
  return (_a2 = promiseCtor !== null && promiseCtor !== void 0 ? promiseCtor : config.Promise) !== null && _a2 !== void 0 ? _a2 : Promise;
@@ -2128,7 +2128,7 @@ function process$1(asyncIterable, subscriber) {
2128
2128
  function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {
2129
2129
  return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);
2130
2130
  }
2131
- var OperatorSubscriber = function(_super) {
2131
+ var OperatorSubscriber = (function(_super) {
2132
2132
  __extends(OperatorSubscriber2, _super);
2133
2133
  function OperatorSubscriber2(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {
2134
2134
  var _this = _super.call(this, destination) || this;
@@ -2170,7 +2170,7 @@ var OperatorSubscriber = function(_super) {
2170
2170
  }
2171
2171
  };
2172
2172
  return OperatorSubscriber2;
2173
- }(Subscriber);
2173
+ })(Subscriber);
2174
2174
  var dateTimestampProvider = {
2175
2175
  now: function() {
2176
2176
  return (dateTimestampProvider.delegate || Date).now();
@@ -2525,7 +2525,7 @@ var ObjectUnsubscribedError = createErrorClass(function(_super) {
2525
2525
  this.message = "object unsubscribed";
2526
2526
  };
2527
2527
  });
2528
- var Subject = function(_super) {
2528
+ var Subject = (function(_super) {
2529
2529
  __extends(Subject2, _super);
2530
2530
  function Subject2() {
2531
2531
  var _this = _super.call(this) || this;
@@ -2651,8 +2651,8 @@ var Subject = function(_super) {
2651
2651
  return new AnonymousSubject(destination, source);
2652
2652
  };
2653
2653
  return Subject2;
2654
- }(Observable);
2655
- var AnonymousSubject = function(_super) {
2654
+ })(Observable);
2655
+ var AnonymousSubject = (function(_super) {
2656
2656
  __extends(AnonymousSubject2, _super);
2657
2657
  function AnonymousSubject2(destination, source) {
2658
2658
  var _this = _super.call(this) || this;
@@ -2677,7 +2677,7 @@ var AnonymousSubject = function(_super) {
2677
2677
  return (_b = (_a2 = this.source) === null || _a2 === void 0 ? void 0 : _a2.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;
2678
2678
  };
2679
2679
  return AnonymousSubject2;
2680
- }(Subject);
2680
+ })(Subject);
2681
2681
  function concat$1() {
2682
2682
  var args = [];
2683
2683
  for (var _i = 0; _i < arguments.length; _i++) {
@@ -2724,7 +2724,7 @@ var EmptyError = createErrorClass(function(_super) {
2724
2724
  this.message = "no elements in sequence";
2725
2725
  };
2726
2726
  });
2727
- var BehaviorSubject = function(_super) {
2727
+ var BehaviorSubject = (function(_super) {
2728
2728
  __extends(BehaviorSubject2, _super);
2729
2729
  function BehaviorSubject2(_value) {
2730
2730
  var _this = _super.call(this) || this;
@@ -2755,8 +2755,8 @@ var BehaviorSubject = function(_super) {
2755
2755
  _super.prototype.next.call(this, this._value = value);
2756
2756
  };
2757
2757
  return BehaviorSubject2;
2758
- }(Subject);
2759
- var ReplaySubject = function(_super) {
2758
+ })(Subject);
2759
+ var ReplaySubject = (function(_super) {
2760
2760
  __extends(ReplaySubject2, _super);
2761
2761
  function ReplaySubject2(_bufferSize, _windowTime, _timestampProvider) {
2762
2762
  if (_bufferSize === void 0) {
@@ -2814,7 +2814,7 @@ var ReplaySubject = function(_super) {
2814
2814
  }
2815
2815
  };
2816
2816
  return ReplaySubject2;
2817
- }(Subject);
2817
+ })(Subject);
2818
2818
  function share(options) {
2819
2819
  if (options === void 0) {
2820
2820
  options = {};
@@ -5634,7 +5634,7 @@ function getWrittenDocumentsFromBulkWriteResponse(primaryPath, writeRows, respon
5634
5634
  return ret;
5635
5635
  });
5636
5636
  }
5637
- var IncrementalWriteQueue = /* @__PURE__ */ function() {
5637
+ var IncrementalWriteQueue = /* @__PURE__ */ (function() {
5638
5638
  function IncrementalWriteQueue2(storageInstance, primaryPath, preWrite, postWrite) {
5639
5639
  this.queueByDocId = /* @__PURE__ */ new Map();
5640
5640
  this.isRunning = false;
@@ -5727,7 +5727,7 @@ var IncrementalWriteQueue = /* @__PURE__ */ function() {
5727
5727
  return this.triggerRun();
5728
5728
  };
5729
5729
  return IncrementalWriteQueue2;
5730
- }();
5730
+ })();
5731
5731
  function modifierFromPublicToInternal(publicModifier) {
5732
5732
  var ret = async (docData) => {
5733
5733
  var withoutMeta = stripMetaDataFromDocument(docData);
@@ -6671,7 +6671,7 @@ function calculateNewResults(rxQuery, rxChangeEvents) {
6671
6671
  };
6672
6672
  }
6673
6673
  }
6674
- var QueryCache = /* @__PURE__ */ function() {
6674
+ var QueryCache = /* @__PURE__ */ (function() {
6675
6675
  function QueryCache2() {
6676
6676
  this._map = /* @__PURE__ */ new Map();
6677
6677
  }
@@ -6682,7 +6682,7 @@ var QueryCache = /* @__PURE__ */ function() {
6682
6682
  return ret;
6683
6683
  };
6684
6684
  return QueryCache2;
6685
- }();
6685
+ })();
6686
6686
  function createQueryCache() {
6687
6687
  return new QueryCache();
6688
6688
  }
@@ -6735,7 +6735,7 @@ function triggerCacheReplacement(rxCollection) {
6735
6735
  COLLECTIONS_WITH_RUNNING_CLEANUP.delete(rxCollection);
6736
6736
  });
6737
6737
  }
6738
- var DocumentCache = /* @__PURE__ */ function() {
6738
+ var DocumentCache = /* @__PURE__ */ (function() {
6739
6739
  function DocumentCache2(primaryPath, changes$, documentCreator) {
6740
6740
  this.cacheItemByDocId = /* @__PURE__ */ new Map();
6741
6741
  this.tasks = /* @__PURE__ */ new Set();
@@ -6808,7 +6808,7 @@ var DocumentCache = /* @__PURE__ */ function() {
6808
6808
  return overwriteGetterForCaching(this, "getCachedRxDocument", (doc) => fn([doc])[0]);
6809
6809
  }
6810
6810
  }]);
6811
- }();
6811
+ })();
6812
6812
  function getCachedRxDocumentMonad(docCache) {
6813
6813
  var primaryPath = docCache.primaryPath;
6814
6814
  var cacheItemByDocId = docCache.cacheItemByDocId;
@@ -6881,7 +6881,7 @@ function createWeakRefFallback(obj) {
6881
6881
  }
6882
6882
  };
6883
6883
  }
6884
- var RxQuerySingleResult = /* @__PURE__ */ function() {
6884
+ var RxQuerySingleResult = /* @__PURE__ */ (function() {
6885
6885
  function RxQuerySingleResult2(query, docsDataFromStorageInstance, count) {
6886
6886
  this.time = now$1();
6887
6887
  this.query = query;
@@ -6937,12 +6937,12 @@ var RxQuerySingleResult = /* @__PURE__ */ function() {
6937
6937
  return overwriteGetterForCaching(this, "docsMap", map2);
6938
6938
  }
6939
6939
  }]);
6940
- }();
6940
+ })();
6941
6941
  var _queryCount = 0;
6942
6942
  var newQueryID = function() {
6943
6943
  return ++_queryCount;
6944
6944
  };
6945
- var RxQueryBase = /* @__PURE__ */ function() {
6945
+ var RxQueryBase = /* @__PURE__ */ (function() {
6946
6946
  function RxQueryBase2(op, mangoQuery, collection, other = {}) {
6947
6947
  this.id = newQueryID();
6948
6948
  this._execOverDatabaseCount = 0;
@@ -7183,7 +7183,7 @@ var RxQueryBase = /* @__PURE__ */ function() {
7183
7183
  return this;
7184
7184
  }
7185
7185
  }]);
7186
- }();
7186
+ })();
7187
7187
  function _getDefaultQuery() {
7188
7188
  return {
7189
7189
  selector: {}
@@ -7657,7 +7657,7 @@ function ensureRxCollectionIsNotClosed(collection) {
7657
7657
  });
7658
7658
  }
7659
7659
  }
7660
- var ChangeEventBuffer = /* @__PURE__ */ function() {
7660
+ var ChangeEventBuffer = /* @__PURE__ */ (function() {
7661
7661
  function ChangeEventBuffer2(collection) {
7662
7662
  this.subs = [];
7663
7663
  this.counter = 0;
@@ -7750,7 +7750,7 @@ var ChangeEventBuffer = /* @__PURE__ */ function() {
7750
7750
  this.subs.forEach((sub) => sub.unsubscribe());
7751
7751
  };
7752
7752
  return ChangeEventBuffer2;
7753
- }();
7753
+ })();
7754
7754
  function createChangeEventBuffer(collection) {
7755
7755
  return new ChangeEventBuffer(collection);
7756
7756
  }
@@ -7822,7 +7822,7 @@ var HOOKS_WHEN = ["pre", "post"];
7822
7822
  var HOOKS_KEYS = ["insert", "save", "remove", "create"];
7823
7823
  var hooksApplied = false;
7824
7824
  var OPEN_COLLECTIONS = /* @__PURE__ */ new Set();
7825
- var RxCollectionBase = /* @__PURE__ */ function() {
7825
+ var RxCollectionBase = /* @__PURE__ */ (function() {
7826
7826
  function RxCollectionBase2(database, name, schema, internalStorageInstance, instanceCreationOptions = {}, migrationStrategies = {}, methods = {}, attachments = {}, options = {}, cacheReplacementPolicy = defaultCacheReplacementPolicy, statics = {}, conflictHandler = defaultConflictHandler) {
7827
7827
  this.storageInstance = {};
7828
7828
  this.timeouts = /* @__PURE__ */ new Set();
@@ -8352,7 +8352,7 @@ var RxCollectionBase = /* @__PURE__ */ function() {
8352
8352
  return this;
8353
8353
  }
8354
8354
  }]);
8355
- }();
8355
+ })();
8356
8356
  function _applyHookFunctions(collection) {
8357
8357
  if (hooksApplied) return;
8358
8358
  hooksApplied = true;
@@ -8673,7 +8673,7 @@ function now() {
8673
8673
  }
8674
8674
  var USED_DATABASE_NAMES = /* @__PURE__ */ new Set();
8675
8675
  var DATABASE_UNCLOSED_INSTANCE_PROMISE_MAP = /* @__PURE__ */ new Map();
8676
- var RxDatabaseBase = /* @__PURE__ */ function() {
8676
+ var RxDatabaseBase = /* @__PURE__ */ (function() {
8677
8677
  function RxDatabaseBase2(name, token, storage, instanceCreationOptions, password, multiInstance, eventReduce = false, options = {}, internalStore, hashFunction, cleanupPolicy, allowSlowCount, reactivity, onClosed) {
8678
8678
  this.idleQueue = new IdleQueue();
8679
8679
  this.rxdbVersion = RXDB_VERSION;
@@ -8898,7 +8898,7 @@ var RxDatabaseBase = /* @__PURE__ */ function() {
8898
8898
  return this;
8899
8899
  }
8900
8900
  }]);
8901
- }();
8901
+ })();
8902
8902
  function throwIfDatabaseNameUsed(name, storage) {
8903
8903
  if (USED_DATABASE_NAMES.has(getDatabaseNameKey(name, storage))) {
8904
8904
  throw newRxError("DB8", {
@@ -11148,7 +11148,7 @@ function preventHibernateBrowserTab(replicationState) {
11148
11148
  replicationState.onCancel.push(() => clearInterval(intervalId));
11149
11149
  }
11150
11150
  var REPLICATION_STATE_BY_COLLECTION = /* @__PURE__ */ new WeakMap();
11151
- var RxReplicationState = /* @__PURE__ */ function() {
11151
+ var RxReplicationState = /* @__PURE__ */ (function() {
11152
11152
  function RxReplicationState2(replicationIdentifier, collection, deletedField, pull, push, live, retryTime, autoStart, toggleOnDocumentVisible) {
11153
11153
  this.subs = [];
11154
11154
  this.subjects = {
@@ -11466,7 +11466,7 @@ var RxReplicationState = /* @__PURE__ */ function() {
11466
11466
  return this.startQueue;
11467
11467
  };
11468
11468
  return RxReplicationState2;
11469
- }();
11469
+ })();
11470
11470
  function replicateRxCollection({
11471
11471
  replicationIdentifier,
11472
11472
  collection,
@@ -11653,125 +11653,125 @@ const replicateSelectorCollection = async (replicationId, collection, config2) =
11653
11653
  return replicationState;
11654
11654
  };
11655
11655
  export {
11656
- $eq$1 as $,
11657
- computeValue as A,
11658
- truthy as B,
11659
- assert as C,
11660
- ensureArray as D,
11661
- isArray as E,
11662
- compare$1 as F,
11663
- createExpressionOperator as G,
11664
- $gt$1 as H,
11665
- $gte$1 as I,
11666
- $lt$1 as J,
11667
- $lte$1 as K,
11668
- $ne$1 as L,
11656
+ $all as $,
11657
+ RXJS_SHARE_REPLAY_DEFAULTS as A,
11658
+ BehaviorSubject as B,
11659
+ Context as C,
11660
+ RxCollectionBase as D,
11661
+ RxDatabaseBase as E,
11662
+ addRxPlugin as F,
11663
+ appendToArray as G,
11664
+ assert as H,
11665
+ INDEX_MAX as I,
11666
+ basePrototype as J,
11667
+ categorizeBulkWriteRows as K,
11668
+ clone as L,
11669
11669
  MingoError as M,
11670
11670
  NON_PREMIUM_COLLECTION_LIMIT as N,
11671
- isFunction as O,
11672
- createQueryOperator as P,
11673
- $all as Q,
11674
- RxDatabaseBase as R,
11675
- objectPathMonad as S,
11676
- INDEX_MIN as T,
11677
- INDEX_MAX as U,
11678
- ensureNotFalsy as V,
11679
- getFromMapOrCreate as W,
11680
- requestIdleCallbackIfAvailable as X,
11681
- BehaviorSubject as Y,
11682
- mergeMap as Z,
11683
- firstValueFrom as _,
11684
- RxCollectionBase as a,
11685
- distinctUntilChanged as a$,
11686
- filter as a0,
11687
- flatClone as a1,
11688
- createRxQuery as a2,
11689
- _getDefaultQuery as a3,
11690
- queryCollection as a4,
11691
- getDefaultRevision as a5,
11692
- now$1 as a6,
11693
- overwritable as a7,
11694
- flatCloneDocWithMeta as a8,
11695
- Subject as a9,
11696
- $size as aA,
11697
- $type as aB,
11698
- initOptions as aC,
11699
- Context as aD,
11700
- Query as aE,
11701
- walk as aF,
11702
- resolve as aG,
11703
- isDate as aH,
11704
- isObject$1 as aI,
11705
- isRegExp as aJ,
11706
- cloneDeep as aK,
11707
- has as aL,
11708
- intersection as aM,
11709
- unique as aN,
11710
- isNumber as aO,
11711
- isOperator as aP,
11712
- isEqual as aQ,
11713
- clone as aR,
11714
- runQueryUpdateFunction as aS,
11715
- getChangedDocumentsSince as aT,
11716
- runPluginHooks as aU,
11717
- setProperty as aV,
11718
- merge$1 as aW,
11719
- shareReplay as aX,
11720
- RXJS_SHARE_REPLAY_DEFAULTS as aY,
11721
- map as aZ,
11722
- startWith as a_,
11723
- toArray as aa,
11724
- categorizeBulkWriteRows as ab,
11725
- pushAtSortPosition as ac,
11726
- getQueryMatcher as ad,
11727
- getSortComparator as ae,
11728
- PROMISE_RESOLVE_TRUE as af,
11729
- PROMISE_RESOLVE_VOID as ag,
11730
- ensureRxStorageInstanceParamsAreCorrect as ah,
11731
- randomToken$1 as ai,
11732
- requestIdlePromiseNoQueue as aj,
11733
- $and as ak,
11734
- $elemMatch as al,
11735
- $eq as am,
11736
- $exists as an,
11737
- $gt as ao,
11738
- $gte as ap,
11739
- $in as aq,
11740
- $lt as ar,
11741
- $lte as as,
11742
- $mod as at,
11743
- $ne as au,
11744
- $nin as av,
11745
- $nor as aw,
11746
- $not as ax,
11747
- $or as ay,
11748
- $regex as az,
11749
- basePrototype as b,
11750
- addRxPlugin as b0,
11751
- createRxDatabase as b1,
11752
- replicateSelectorCollection as b2,
11753
- createRxDocumentConstructor as c,
11754
- getProperty$1 as d,
11755
- appendToArray as e,
11756
- flattenObject as f,
11757
- getSchemaByObjectPath as g,
11758
- getPrimaryFieldOfPrimaryKey as h,
11759
- isMaybeReadonlyArray as i,
11760
- newRxTypeError as j,
11761
- getPreviousVersions as k,
11762
- isFolderPath as l,
11763
- findUndefinedPath as m,
11764
- newRxError as n,
11765
- deepEqual as o,
11766
- prepareQuery as p,
11767
- fillPrimaryKey as q,
11768
- hasPremiumFlag as r,
11769
- RXDB_VERSION as s,
11770
- trimDots as t,
11771
- hashStringToNumber as u,
11772
- deepFreeze as v,
11773
- identity as w,
11774
- operate as x,
11775
- createOperatorSubscriber as y,
11776
- isFunction$1 as z
11671
+ cloneDeep as O,
11672
+ PROMISE_RESOLVE_TRUE as P,
11673
+ Query as Q,
11674
+ RXDB_VERSION as R,
11675
+ Subject as S,
11676
+ compare$1 as T,
11677
+ computeValue as U,
11678
+ createExpressionOperator as V,
11679
+ createOperatorSubscriber as W,
11680
+ createQueryOperator as X,
11681
+ createRxDatabase as Y,
11682
+ createRxDocumentConstructor as Z,
11683
+ _getDefaultQuery as _,
11684
+ $and as a,
11685
+ trimDots as a$,
11686
+ createRxQuery as a0,
11687
+ deepEqual as a1,
11688
+ deepFreeze as a2,
11689
+ distinctUntilChanged as a3,
11690
+ ensureArray as a4,
11691
+ ensureNotFalsy as a5,
11692
+ ensureRxStorageInstanceParamsAreCorrect as a6,
11693
+ fillPrimaryKey as a7,
11694
+ filter as a8,
11695
+ findUndefinedPath as a9,
11696
+ isNumber as aA,
11697
+ isObject$1 as aB,
11698
+ isOperator as aC,
11699
+ isRegExp as aD,
11700
+ map as aE,
11701
+ merge$1 as aF,
11702
+ mergeMap as aG,
11703
+ newRxError as aH,
11704
+ newRxTypeError as aI,
11705
+ now$1 as aJ,
11706
+ objectPathMonad as aK,
11707
+ operate as aL,
11708
+ overwritable as aM,
11709
+ prepareQuery as aN,
11710
+ pushAtSortPosition as aO,
11711
+ queryCollection as aP,
11712
+ randomToken$1 as aQ,
11713
+ replicateSelectorCollection as aR,
11714
+ requestIdleCallbackIfAvailable as aS,
11715
+ requestIdlePromiseNoQueue as aT,
11716
+ resolve as aU,
11717
+ runPluginHooks as aV,
11718
+ runQueryUpdateFunction as aW,
11719
+ setProperty as aX,
11720
+ shareReplay as aY,
11721
+ startWith as aZ,
11722
+ toArray as a_,
11723
+ firstValueFrom as aa,
11724
+ flatClone as ab,
11725
+ flatCloneDocWithMeta as ac,
11726
+ flattenObject as ad,
11727
+ getChangedDocumentsSince as ae,
11728
+ getDefaultRevision as af,
11729
+ getFromMapOrCreate as ag,
11730
+ getPreviousVersions as ah,
11731
+ getPrimaryFieldOfPrimaryKey as ai,
11732
+ getProperty$1 as aj,
11733
+ getQueryMatcher as ak,
11734
+ getSchemaByObjectPath as al,
11735
+ getSortComparator as am,
11736
+ has as an,
11737
+ hasPremiumFlag as ao,
11738
+ hashStringToNumber as ap,
11739
+ identity as aq,
11740
+ initOptions as ar,
11741
+ intersection as as,
11742
+ isArray as at,
11743
+ isDate as au,
11744
+ isEqual as av,
11745
+ isFolderPath as aw,
11746
+ isFunction$1 as ax,
11747
+ isFunction as ay,
11748
+ isMaybeReadonlyArray as az,
11749
+ $elemMatch as b,
11750
+ truthy as b0,
11751
+ unique as b1,
11752
+ walk as b2,
11753
+ $eq$1 as c,
11754
+ $eq as d,
11755
+ $exists as e,
11756
+ $gt$1 as f,
11757
+ $gt as g,
11758
+ $gte$1 as h,
11759
+ $gte as i,
11760
+ $in as j,
11761
+ $lt$1 as k,
11762
+ $lt as l,
11763
+ $lte$1 as m,
11764
+ $lte as n,
11765
+ $mod as o,
11766
+ $ne$1 as p,
11767
+ $ne as q,
11768
+ $nin as r,
11769
+ $nor as s,
11770
+ $not as t,
11771
+ $or as u,
11772
+ $regex as v,
11773
+ $size as w,
11774
+ $type as x,
11775
+ INDEX_MIN as y,
11776
+ PROMISE_RESOLVE_VOID as z
11777
11777
  };
@@ -1,12 +1,12 @@
1
- import { s as setToString, o as overRest, b as baseFlatten } from "./_baseFlatten-jIR_sN_-.js";
2
- import { a as arrayMap, b as baseGet } from "./_baseGet-Bx3A4Qfp.js";
3
- import { b as baseIteratee } from "./_baseIteratee-avi7MX2o.js";
4
- import { b as baseEach } from "./_createAggregator-QD8MzKwe.js";
5
- import { i as isArrayLike, b as baseUnary } from "./_getTag-Ckxxfr88.js";
1
+ import { s as setToString, o as overRest, b as baseFlatten } from "./_baseFlatten-D3wtzJ86.js";
2
+ import { a as arrayMap, b as baseGet } from "./_baseGet-DKnGz1D3.js";
3
+ import { b as baseIteratee } from "./_baseIteratee-C004Z9XE.js";
4
+ import { b as baseEach } from "./_createAggregator-BDMdCE6g.js";
5
+ import { c as isArrayLike, a as baseUnary } from "./_getTag-DuA1kj2A.js";
6
6
  import { i as isSymbol } from "./isSymbol-Xd2FsJyp.js";
7
7
  import { i as identity } from "./identity-CPGTqrE4.js";
8
- import { i as isArray } from "./_MapCache-WmuDdwuH.js";
9
- import { i as isIterateeCall } from "./_isIterateeCall-Ds3sw2SF.js";
8
+ import { i as isArray } from "./_MapCache-DWYVyFVH.js";
9
+ import { i as isIterateeCall } from "./_isIterateeCall-CEvg7Bo6.js";
10
10
  function baseRest(func, start) {
11
11
  return setToString(overRest(func, start, identity), func + "");
12
12
  }
@@ -1,4 +1,4 @@
1
- import { b as baseIteratee } from "./_baseIteratee-avi7MX2o.js";
1
+ import { b as baseIteratee } from "./_baseIteratee-C004Z9XE.js";
2
2
  import { b as baseSum } from "./_baseSum-D0WC1dN0.js";
3
3
  function sumBy(array, iteratee) {
4
4
  return array && array.length ? baseSum(array, baseIteratee(iteratee)) : 0;
package/text/Frequency.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { Typography } from "@mui/material";
3
3
  import { i as isNil } from "../isNil-CIubwp4T.js";
4
- import { s as sumBy } from "../sumBy-D-hb_NY-.js";
4
+ import { s as sumBy } from "../sumBy-DZSVfXDE.js";
5
5
  import { useMemo } from "react";
6
6
  const FrequencyText = ({
7
7
  annotations,
@@ -1,6 +1,6 @@
1
- import { g as get, b as get$1 } from "./index-BfslcSud.js";
1
+ import { g as get, b as get$1 } from "./index-CmQM2DaO.js";
2
2
  import { clueDebugLogger } from "./utils/loggerUtil.js";
3
- import { b as baseUniq, i as isEmpty } from "./_baseUniq-BI9GIHMF.js";
3
+ import { b as baseUniq, i as isEmpty } from "./_baseUniq-BqxNeJD9.js";
4
4
  import { useState, useEffect } from "react";
5
5
  function uniq(array) {
6
6
  return array && array.length ? baseUniq(array) : [];