@gen-epix/ui-client-casedb 4.3.0 → 4.3.2

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 (170) hide show
  1. package/dist/_chunks/Dashboard.js +613 -666
  2. package/dist/_chunks/Dashboard.js.map +1 -1
  3. package/dist/_chunks/LegendaItem.js.map +1 -1
  4. package/dist/_chunks/UploadUtil.js +4 -6
  5. package/dist/_chunks/UploadUtil.js.map +1 -1
  6. package/dist/_chunks/_baseClone.js +1 -1
  7. package/dist/_chunks/_baseClone.js.map +1 -1
  8. package/dist/_chunks/cloneDeep.js +1 -1
  9. package/dist/_chunks/cloneDeep.js.map +1 -1
  10. package/dist/_chunks/esm.js +93 -101
  11. package/dist/_chunks/esm.js.map +1 -1
  12. package/dist/_chunks/react.js +1 -1
  13. package/dist/_chunks/react.js.map +1 -1
  14. package/dist/_chunks/shallow.js +2 -2
  15. package/dist/_chunks/shallow.js.map +1 -1
  16. package/dist/_chunks/sync.js +4 -4
  17. package/dist/_chunks/sync.js.map +1 -1
  18. package/dist/_chunks/vanilla.js +1 -1
  19. package/dist/_chunks/vanilla.js.map +1 -1
  20. package/dist/_chunks/yup.js +2 -2
  21. package/dist/_chunks/yup.js.map +1 -1
  22. package/dist/components/app/CaseDbApp/CaseDbApp.d.ts +1 -1
  23. package/dist/components/ui/AddCasesToEventDialog/AddCasesToEventDialogSuccessNotificationMessage.d.ts +1 -1
  24. package/dist/components/ui/CaseContentForm/CaseContentForm.d.ts +1 -1
  25. package/dist/components/ui/CaseInfoDialog/CaseCaseSetInfo.d.ts +1 -1
  26. package/dist/components/ui/CaseInfoDialog/CaseContent.d.ts +1 -1
  27. package/dist/components/ui/CaseInfoDialog/CaseInfoForm.d.ts +1 -1
  28. package/dist/components/ui/CaseInfoDialog/CaseSharingForm.d.ts +1 -1
  29. package/dist/components/ui/CaseInfoDialog/CaseSharingInfo.d.ts +1 -1
  30. package/dist/components/ui/CaseInfoDialog/ReadOnlyCaseContent.d.ts +1 -1
  31. package/dist/components/ui/CaseSetInfoDialog/CaseSetContent.d.ts +1 -1
  32. package/dist/components/ui/CaseSetInfoDialog/CaseSetDescription.d.ts +1 -1
  33. package/dist/components/ui/CaseSetInfoDialog/CaseSetForm.d.ts +1 -1
  34. package/dist/components/ui/CaseSetInfoDialog/CaseSetSharingForm.d.ts +1 -1
  35. package/dist/components/ui/CaseSetInfoDialog/CaseSetSharingInfo.d.ts +1 -1
  36. package/dist/components/ui/CaseSummary/CaseSummary.d.ts +1 -1
  37. package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoAccessRights.d.ts +1 -1
  38. package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoColAccessRights.d.ts +1 -1
  39. package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoData.d.ts +1 -1
  40. package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoDialogContent.d.ts +1 -1
  41. package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoRegions.d.ts +1 -1
  42. package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoTrees.d.ts +1 -1
  43. package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoValues.d.ts +1 -1
  44. package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoVariableDetails.d.ts +1 -1
  45. package/dist/components/ui/CasesAlreadyInCaseSetWarning/CasesAlreadyInCaseSetWarning.d.ts +1 -1
  46. package/dist/components/ui/CasesAlreadyInCaseSetWarning/CasesAlreadyInCaseSetWarningCaseSetLink.d.ts +1 -1
  47. package/dist/components/ui/CompletCaseTypeLoader/CompletCaseTypeLoader.d.ts +1 -1
  48. package/dist/components/ui/ContextMenu/ContextMenu.d.ts +1 -1
  49. package/dist/components/ui/ContextMenu/index.js +1 -1
  50. package/dist/components/ui/ContextMenu/index.js.map +1 -1
  51. package/dist/components/ui/CreateEventDialog/CreateEventDialogSuccessNotificationMessage.d.ts +1 -1
  52. package/dist/components/ui/CreateEventDialog/index.js +1 -1
  53. package/dist/components/ui/CreateEventDialog/index.js.map +1 -1
  54. package/dist/components/ui/CustomTabPanel/CustomTabPanel.d.ts +1 -1
  55. package/dist/components/ui/Dashboard/DashboardContent.d.ts +1 -1
  56. package/dist/components/ui/Dashboard/DashboardDownloadSidebarItem.d.ts +1 -1
  57. package/dist/components/ui/Dashboard/DashboardGeneralSettingsForm.d.ts +1 -1
  58. package/dist/components/ui/Dashboard/DashboardLayoutRenderer.d.ts +1 -1
  59. package/dist/components/ui/Dashboard/DashboardLayoutSettingsForm.d.ts +1 -1
  60. package/dist/components/ui/Dashboard/DashboardSearch.d.ts +1 -1
  61. package/dist/components/ui/Dashboard/DashboardSearchSettings.d.ts +1 -1
  62. package/dist/components/ui/Dashboard/DashboardSettingsSidebarItem.d.ts +1 -1
  63. package/dist/components/ui/Dashboard/DashboardWidget.d.ts +1 -1
  64. package/dist/components/ui/Dashboard/DashboardWidgetPlaceHolder.d.ts +1 -1
  65. package/dist/components/ui/Dashboard/DashboardWidgetSettingsForm.d.ts +1 -1
  66. package/dist/components/ui/Dashboard/context/DashboardContextProvider.d.ts +1 -1
  67. package/dist/components/ui/DashboardEditCases/DashboardEditCases.d.ts +1 -1
  68. package/dist/components/ui/DashboardStoreLoader/DashboardStoreLoader.d.ts +1 -1
  69. package/dist/components/ui/DashboardStoreLoader/DashboardStoreLoaderContent.d.ts +1 -1
  70. package/dist/components/ui/DataCollectionAccessInfo/DataCollectionAccessInfo.d.ts +1 -1
  71. package/dist/components/ui/EpiCurveWidget/EpiCurveBarChart.d.ts +1 -1
  72. package/dist/components/ui/EpiCurveWidget/EpiCurveStackedAreaChart.d.ts +1 -1
  73. package/dist/components/ui/EpiCurveWidget/EpiCurveWidget.d.ts +1 -1
  74. package/dist/components/ui/Grouping/Grouping.d.ts +1 -1
  75. package/dist/components/ui/HistogramWidget/HistogramWidget.d.ts +1 -1
  76. package/dist/components/ui/HistogramWidget/index.js +1 -1
  77. package/dist/components/ui/HistogramWidget/index.js.map +1 -1
  78. package/dist/components/ui/HomePageTrends/HomePageTrendCard.d.ts +1 -1
  79. package/dist/components/ui/HomePageTrends/HomePageTrends.d.ts +1 -1
  80. package/dist/components/ui/LegendaItem/LegendaItem.d.ts +1 -1
  81. package/dist/components/ui/LineListWidget/LineListWidget.d.ts +1 -1
  82. package/dist/components/ui/LineListWidget/LineListWidgetIsInEventCell.d.ts +1 -1
  83. package/dist/components/ui/LineListWidget/LineListWidgetIsOwnCaseCell.d.ts +1 -1
  84. package/dist/components/ui/LineListWidget/LineListWidgetPrimaryMenu.d.ts +1 -1
  85. package/dist/components/ui/LineListWidget/LineListWidgetSecondaryMenu.d.ts +1 -1
  86. package/dist/components/ui/LineListWidget/LineListWidgetTitle.d.ts +1 -1
  87. package/dist/components/ui/MapWidget/MapWidget.d.ts +1 -1
  88. package/dist/components/ui/PanelSeparator/PanelSeparatorHorizontal.d.ts +1 -1
  89. package/dist/components/ui/PanelSeparator/PanelSeparatorVertical.d.ts +1 -1
  90. package/dist/components/ui/PanelSeparator/index.js +50 -2
  91. package/dist/components/ui/PanelSeparator/index.js.map +1 -0
  92. package/dist/components/ui/TreeDescription/TreeDescription.d.ts +1 -1
  93. package/dist/components/ui/TreeWidget/TreeWidget.d.ts +1 -1
  94. package/dist/components/ui/Upload/Upload.d.ts +1 -1
  95. package/dist/components/ui/Upload/UploadCaseResultTable.d.ts +1 -1
  96. package/dist/components/ui/Upload/UploadCreateCases.d.ts +1 -1
  97. package/dist/components/ui/Upload/UploadMapColumns.d.ts +1 -1
  98. package/dist/components/ui/Upload/UploadMapSequences.d.ts +1 -1
  99. package/dist/components/ui/Upload/UploadNavigation.d.ts +1 -1
  100. package/dist/components/ui/Upload/UploadPreviewNavigation.d.ts +1 -1
  101. package/dist/components/ui/Upload/UploadSelectFile.d.ts +1 -1
  102. package/dist/components/ui/Upload/UploadSelectSequenceFiles.d.ts +1 -1
  103. package/dist/components/ui/UserRightsDialog/UserRightsDialogCaseAccessPolicy.d.ts +1 -1
  104. package/dist/components/ui/Warning/Warning.d.ts +1 -1
  105. package/dist/components/ui/WidgetHeaderIconButton/WidgetHeaderIconButton.d.ts +1 -1
  106. package/dist/components/ui/WidgetMenu/WidgetMenu.d.ts +1 -1
  107. package/dist/components/ui/WidgetUnavailable/WidgetUnavailable.d.ts +1 -1
  108. package/dist/context/caseAbac/CaseAbacContextProvider.d.ts +1 -1
  109. package/dist/context/caseTypeAbac/CaseTypeAbacContextProvider.d.ts +1 -1
  110. package/dist/pages/CaseDbUsersAdminPage/CaseDbUsersAdminPage.d.ts +1 -1
  111. package/dist/pages/CaseSetCategoryAdminPage/CaseSetCategoryAdminPage.d.ts +1 -1
  112. package/dist/pages/CaseSetStatusAdminPage/CaseSetStatusAdminPage.d.ts +1 -1
  113. package/dist/pages/CaseTypeSetCategoriesAdminPage/CaseTypeSetCategoriesAdminPage.d.ts +1 -1
  114. package/dist/pages/CaseTypeSetsAdminPage/CaseTypeSetsAdminPage.d.ts +1 -1
  115. package/dist/pages/CaseTypesAdminPage/CaseTypesAdminPage.d.ts +1 -1
  116. package/dist/pages/CasesDetailPage/CasesDetailPage.d.ts +1 -1
  117. package/dist/pages/CasesDetailPage/index.js +16 -16
  118. package/dist/pages/CasesPage/CasesPage.d.ts +1 -1
  119. package/dist/pages/ColSetsAdminPage/ColSetsAdminPage.d.ts +1 -1
  120. package/dist/pages/ColsAdminPage/ColsAdminPage.d.ts +1 -1
  121. package/dist/pages/ColsAdminPage/index.js +77 -77
  122. package/dist/pages/ColsAdminPage/index.js.map +1 -1
  123. package/dist/pages/ConceptRelationsAdminPage/ConceptRelationsAdminPage.d.ts +1 -1
  124. package/dist/pages/ConceptSetsAdminPage/ConceptSetsAdminPage.d.ts +1 -1
  125. package/dist/pages/ConceptsAdminPage/ConceptsAdminPage.d.ts +1 -1
  126. package/dist/pages/ConceptsAdminPage/index.js +31 -31
  127. package/dist/pages/DataCollectionSetsAdminPage/DataCollectionSetsAdminPage.d.ts +1 -1
  128. package/dist/pages/DataCollectionVisualizationPage/DataCollectionVisualizationPage.d.ts +1 -1
  129. package/dist/pages/DataCollectionVisualizationPage/index.js +1 -1
  130. package/dist/pages/DataCollectionVisualizationPage/index.js.map +1 -1
  131. package/dist/pages/DataCollectionsAdminPage/DataCollectionsAdminPage.d.ts +1 -1
  132. package/dist/pages/DimsAdminPage/DimsAdminPage.d.ts +1 -1
  133. package/dist/pages/DimsAdminPage/index.js +46 -46
  134. package/dist/pages/DiseasesAdminPage/DiseasesAdminPage.d.ts +1 -1
  135. package/dist/pages/EtiologicalAgentsAdminPage/EtiologicalAgentsAdminPage.d.ts +1 -1
  136. package/dist/pages/EtiologiesAdminPage/EtiologiesAdminPage.d.ts +1 -1
  137. package/dist/pages/EventsDetailPage/EventsDetailPage.d.ts +1 -1
  138. package/dist/pages/EventsDetailPage/index.js +18 -18
  139. package/dist/pages/EventsPage/EventsPage.d.ts +1 -1
  140. package/dist/pages/HomePage/HomePage.d.ts +1 -1
  141. package/dist/pages/OrganizationAccessCasePoliciesAdminPage/OrganizationAccessCasePoliciesAdminPage.d.ts +1 -1
  142. package/dist/pages/OrganizationShareCasePoliciesAdminPage/OrganizationShareCasePoliciesAdminPage.d.ts +1 -1
  143. package/dist/pages/RefColsAdminPage/RefColsAdminPage.d.ts +1 -1
  144. package/dist/pages/RefColsAdminPage/index.js +94 -94
  145. package/dist/pages/RefDimsAdminPage/RefDimsAdminPage.d.ts +1 -1
  146. package/dist/pages/RegionRelationsAdminPage/RegionRelationsAdminPage.d.ts +1 -1
  147. package/dist/pages/RegionSetShapesAdminPage/RegionSetShapesAdminPage.d.ts +1 -1
  148. package/dist/pages/RegionSetShapesAdminPage/index.js +26 -26
  149. package/dist/pages/RegionSetsAdminPage/RegionSetsAdminPage.d.ts +1 -1
  150. package/dist/pages/RegionsAdminPage/RegionsAdminPage.d.ts +1 -1
  151. package/dist/pages/RegionsAdminPage/index.js +33 -33
  152. package/dist/pages/TrendsPage/TrendsPage.d.ts +1 -1
  153. package/dist/pages/UploadPage/UploadPage.d.ts +1 -1
  154. package/dist/pages/UserAccessCasePoliciesAdminPage/UserAccessCasePoliciesAdminPage.d.ts +1 -1
  155. package/dist/pages/UserEffectiveRightsAdminPage/UserEffectiveRightsAdminPage.d.ts +1 -1
  156. package/dist/pages/UserEffectiveRightsAdminPage/index.js +56 -56
  157. package/dist/pages/UserEffectiveRightsAdminPage/index.js.map +1 -1
  158. package/dist/pages/UserEffectiveRightsTesterAdminPage/UserEffectiveRightsTesterAdminPage.d.ts +1 -1
  159. package/dist/pages/UserEffectiveRightsTesterAdminPage/index.js +45 -45
  160. package/dist/pages/UserEffectiveRightsTesterAdminPage/index.js.map +1 -1
  161. package/dist/pages/UserShareCasePoliciesAdminPage/UserShareCasePoliciesAdminPage.d.ts +1 -1
  162. package/dist/utils/CaseDbStandardConfigUtil/index.js +1 -5
  163. package/dist/utils/CaseDbStandardConfigUtil/index.js.map +1 -1
  164. package/dist/utils/MapUtil/index.js +1 -1
  165. package/dist/utils/MapUtil/index.js.map +1 -1
  166. package/package.json +33 -28
  167. package/dist/_chunks/PanelSeparator.js +0 -1666
  168. package/dist/_chunks/PanelSeparator.js.map +0 -1
  169. package/dist/_chunks/chunk-OB3PAWPO.js +0 -1162
  170. package/dist/_chunks/chunk-OB3PAWPO.js.map +0 -1
@@ -1587,7 +1587,7 @@ var Zn = function() {
1587
1587
  for (var t = this._roots, n = this._displayList, r = 0, i = t.length; r < i; r++) this._updateAndAddDisplayable(t[r], null, e);
1588
1588
  n.length = this._displayListLen, qn(n, Xn);
1589
1589
  }, e.prototype._updateAndAddDisplayable = function(e, t, n) {
1590
- if (!(e.ignore && !n)) {
1590
+ if (!e.ignore || n) {
1591
1591
  e.beforeUpdate(), e.update(), e.afterUpdate();
1592
1592
  var r = e.getClipPath(), i = t && t.length, a = 0, o = e.__clipPaths;
1593
1593
  if (!e.ignoreClip && (i || r)) {
@@ -2984,7 +2984,7 @@ function Yr(e) {
2984
2984
  if (t) return ((1 << 24) + (t[0] << 16) + (t[1] << 8) + +t[2]).toString(16).slice(1);
2985
2985
  }
2986
2986
  function Xr(e, t, n) {
2987
- if (!(!(t && t.length) || !(e >= 0 && e <= 1))) {
2987
+ if (t && t.length && e >= 0 && e <= 1) {
2988
2988
  n ||= [];
2989
2989
  var r = e * (t.length - 1), i = Math.floor(r), a = Math.ceil(r), o = t[i], s = t[a], c = r - i;
2990
2990
  return n[0] = Nr(zr(o[0], s[0], c)), n[1] = Nr(zr(o[1], s[1], c)), n[2] = Nr(zr(o[2], s[2], c)), n[3] = Fr(zr(o[3], s[3], c)), n;
@@ -2992,7 +2992,7 @@ function Xr(e, t, n) {
2992
2992
  }
2993
2993
  var Zr = Xr;
2994
2994
  function Qr(e, t, n) {
2995
- if (!(!(t && t.length) || !(e >= 0 && e <= 1))) {
2995
+ if (t && t.length && e >= 0 && e <= 1) {
2996
2996
  var r = e * (t.length - 1), i = Math.floor(r), a = Math.ceil(r), o = Gr(t[i]), s = Gr(t[a]), c = r - i, l = ni([
2997
2997
  Nr(zr(o[0], s[0], c)),
2998
2998
  Nr(zr(o[1], s[1], c)),
@@ -3017,7 +3017,7 @@ function ti(e, t) {
3017
3017
  if (n && t != null) return n[3] = Fr(t), ni(n, "rgba");
3018
3018
  }
3019
3019
  function ni(e, t) {
3020
- if (!(!e || !e.length)) {
3020
+ if (e && e.length) {
3021
3021
  var n = e[0] + "," + e[1] + "," + e[2];
3022
3022
  return (t === "rgba" || t === "hsva" || t === "hsla") && (n += "," + e[3]), t + "(" + n + ")";
3023
3023
  }
@@ -3180,7 +3180,7 @@ function Pi(e, t) {
3180
3180
  }
3181
3181
  function Fi(e, t, n) {
3182
3182
  var r = e, i = t;
3183
- if (!(!r.push || !i.push)) {
3183
+ if (r.push && i.push) {
3184
3184
  var a = r.length, o = i.length;
3185
3185
  if (a !== o) {
3186
3186
  if (a > o) r.length = o;
@@ -3462,7 +3462,7 @@ var Ji = [
3462
3462
  t ||= this._trackKeys;
3463
3463
  for (var r = 0; r < t.length; r++) {
3464
3464
  var i = t[r], a = this._tracks[i];
3465
- if (!(!a || a.isFinished())) {
3465
+ if (a && !a.isFinished()) {
3466
3466
  var o = a.keyframes, s = o[n ? 0 : o.length - 1];
3467
3467
  s && (e[i] = Ii(s.rawValue));
3468
3468
  }
@@ -4033,7 +4033,7 @@ var Xa = "__zr_normal__", Za = Pa.concat(["ignore"]), Qa = ce(Pa, function(e, t)
4033
4033
  this.useState(Xa, !1, e);
4034
4034
  }, e.prototype.useState = function(e, t, n, r) {
4035
4035
  var i = e === Xa;
4036
- if (!(!this.hasState() && i)) {
4036
+ if (this.hasState() || !i) {
4037
4037
  var a = this.currentStates, o = this.stateTransition;
4038
4038
  if (!(I(a, e) >= 0 && (t || a.length === 1))) {
4039
4039
  var s;
@@ -4470,9 +4470,9 @@ var yo = function() {
4470
4470
  } } }), s || this.animation.start();
4471
4471
  }
4472
4472
  return e.prototype.add = function(e) {
4473
- this._disposed || !e || (this.storage.addRoot(e), e.addSelfToZr(this), this.refresh());
4473
+ !this._disposed && e && (this.storage.addRoot(e), e.addSelfToZr(this), this.refresh());
4474
4474
  }, e.prototype.remove = function(e) {
4475
- this._disposed || !e || (this.storage.delRoot(e), e.removeSelfFromZr(this), this.refresh());
4475
+ !this._disposed && e && (this.storage.delRoot(e), e.removeSelfFromZr(this), this.refresh());
4476
4476
  }, e.prototype.configLayer = function(e, t) {
4477
4477
  this._disposed || (this.painter.configLayer && this.painter.configLayer(e, t), this.refresh());
4478
4478
  }, e.prototype.setBackgroundColor = function(e) {
@@ -4852,7 +4852,7 @@ function Bs(e, t, n) {
4852
4852
  }
4853
4853
  function Vs(e, t, n, r) {
4854
4854
  L(r, function(i, a) {
4855
- if (!(!i || i.id == null)) {
4855
+ if (i && i.id != null) {
4856
4856
  var o = qs(i.id), s = n.get(o);
4857
4857
  if (s != null) {
4858
4858
  var c = e[s];
@@ -4863,7 +4863,7 @@ function Vs(e, t, n, r) {
4863
4863
  }
4864
4864
  function Hs(e, t) {
4865
4865
  L(t, function(n, r) {
4866
- if (!(!n || n.name == null)) for (var i = 0; i < e.length; i++) {
4866
+ if (n && n.name != null) for (var i = 0; i < e.length; i++) {
4867
4867
  var a = e[i].existing;
4868
4868
  if (!e[i].newOption && a && (a.id == null || n.id == null) && !Qs(n) && !Qs(a) && Ks("name", a, n)) {
4869
4869
  e[i].newOption = n, t[r] = null;
@@ -5860,8 +5860,7 @@ var _u = function() {
5860
5860
  }
5861
5861
  }, e.prototype.getBoundingRect = function() {
5862
5862
  nu[0] = nu[1] = iu[0] = iu[1] = Number.MAX_VALUE, ru[0] = ru[1] = au[0] = au[1] = -Number.MAX_VALUE;
5863
- var e = this.data, t = 0, n = 0, r = 0, i = 0, a;
5864
- for (a = 0; a < this._len;) {
5863
+ for (var e = this.data, t = 0, n = 0, r = 0, i = 0, a = 0; a < this._len;) {
5865
5864
  var o = e[a++], s = a === 1;
5866
5865
  switch (s && (t = e[a], n = e[a + 1], r = t, i = n), o) {
5867
5866
  case $l.M:
@@ -6947,7 +6946,7 @@ function Sf(e, t, n, r) {
6947
6946
  r && _f(r);
6948
6947
  }
6949
6948
  }
6950
- if (e != null && !(!t || t === "none")) {
6949
+ if (e != null && t && t !== "none") {
6951
6950
  var o = i.getSeriesByIndex(e), s = o.coordinateSystem;
6952
6951
  s && s.master && (s = s.master);
6953
6952
  var c = [];
@@ -6974,7 +6973,7 @@ function Cf(e, t, n) {
6974
6973
  if (r) {
6975
6974
  zd(r).isBlured = !0;
6976
6975
  var i = n.getViewOfComponentModel(r);
6977
- !i || !i.focusBlurEnabled || i.group.traverse(function(e) {
6976
+ i && i.focusBlurEnabled && i.group.traverse(function(e) {
6978
6977
  Qd(e);
6979
6978
  });
6980
6979
  }
@@ -7390,7 +7389,7 @@ function jp(e) {
7390
7389
  }
7391
7390
  function Mp(e, t) {
7392
7391
  var n, r = Ep(t.r, 0), i = Ep(t.r0 || 0, 0), a = r > 0;
7393
- if (!(!a && !(i > 0))) {
7392
+ if (a || i > 0) {
7394
7393
  if (a || (r = i, i = 0), i > r) {
7395
7394
  var o = r;
7396
7395
  r = i, i = o;
@@ -8143,7 +8142,7 @@ function dh(e) {
8143
8142
  r(e), r(e.getTextContent()), r(e.getTextGuideLine());
8144
8143
  });
8145
8144
  function r(e) {
8146
- if (!(!e || e.isGroup)) {
8145
+ if (e && !e.isGroup) {
8147
8146
  var t = e.currentStates;
8148
8147
  if (t.length) for (var n = 0; n < t.length; n++) i(e.states[t[n]]);
8149
8148
  i(e);
@@ -9869,7 +9868,7 @@ function mv(e, t, n, r, i, a, o) {
9869
9868
  var s = t(a), c = s.paletteIdx || 0, l = s.paletteNameMap = s.paletteNameMap || {};
9870
9869
  if (l.hasOwnProperty(i)) return l[i];
9871
9870
  var u = o == null || !r ? n : pv(r, o);
9872
- if (u ||= n, !(!u || !u.length)) {
9871
+ if (u ||= n, u && u.length) {
9873
9872
  var d = u[c];
9874
9873
  return i && (l[i] = d), s.paletteIdx = (c + 1) % u.length, d;
9875
9874
  }
@@ -10247,7 +10246,7 @@ function Pv(e, t, n) {
10247
10246
  }, i = !0;
10248
10247
  return L(e, function(e, t) {
10249
10248
  var n = t.match(jv);
10250
- if (!(!n || !n[1] || !n[2])) {
10249
+ if (n && n[1] && n[2]) {
10251
10250
  var a = n[1];
10252
10251
  Fv(r[n[2].toLowerCase()], e, a) || (i = !1);
10253
10252
  }
@@ -11810,7 +11809,7 @@ function Xb(e, t, n, r, i) {
11810
11809
  }) : L(e, u);
11811
11810
  function u(e, t) {
11812
11811
  var n = a.getDimensionInfo(t);
11813
- !n || n.otherDims.tooltip === !1 || (o ? l.push(Nb("nameValue", {
11812
+ n && n.otherDims.tooltip !== !1 && (o ? l.push(Nb("nameValue", {
11814
11813
  markerType: "subItem",
11815
11814
  markerColor: i,
11816
11815
  name: n.displayName,
@@ -11958,7 +11957,7 @@ var $b = "__universalTransitionEnabled", ex = function(e) {
11958
11957
  return e ? e === !0 || e && e.enabled : !1;
11959
11958
  }, t.prototype._innerSelect = function(e, t) {
11960
11959
  var n, r, i = this.option, a = i.selectedMode, o = t.length;
11961
- if (!(!a || !o)) {
11960
+ if (a && o) {
11962
11961
  if (a === "series") i.selectedMap = "all";
11963
11962
  else if (a === "multiple") {
11964
11963
  U(i.selectedMap) || (i.selectedMap = {});
@@ -13130,7 +13129,7 @@ function eC(e, t, n, r, i) {
13130
13129
  }
13131
13130
  function tC(e, t, n) {
13132
13131
  var r = t.__image = rl(n.image, t.__image, t, t.onload);
13133
- if (!(!r || !al(r))) {
13132
+ if (r && al(r)) {
13134
13133
  var i = n.x || 0, a = n.y || 0, o = t.getWidth(), s = t.getHeight(), c = r.width / r.height;
13135
13134
  if (o == null && s != null ? o = s * c : s == null && o != null ? s = o / c : o == null && s == null && (o = r.width, s = r.height), n.sWidth && n.sHeight) {
13136
13135
  var l = n.sx || 0, u = n.sy || 0;
@@ -13244,7 +13243,7 @@ function yC(e, t) {
13244
13243
  function bC(e, t, n) {
13245
13244
  var r = t.getDisplayables(), i = t.getTemporalDisplayables();
13246
13245
  e.save();
13247
- var a = {
13246
+ for (var a = {
13248
13247
  prevElClipPaths: null,
13249
13248
  prevEl: null,
13250
13249
  allClipped: !1,
@@ -13252,8 +13251,7 @@ function bC(e, t, n) {
13252
13251
  viewHeight: n.viewHeight,
13253
13252
  inHover: n.inHover,
13254
13253
  beforeBrushParam: {}
13255
- }, o, s;
13256
- for (o = t.getCursor(), s = r.length; o < s; o++) {
13254
+ }, o = t.getCursor(), s = r.length; o < s; o++) {
13257
13255
  var c = r[o];
13258
13256
  c.beforeBrush && c.beforeBrush(n.beforeBrushParam), c.innerBeforeBrush(), vC(e, c, a), c.innerAfterBrush(), c.afterBrush && c.afterBrush(), a.prevEl = c;
13259
13257
  }
@@ -17766,9 +17764,9 @@ var QA = function(e) {
17766
17764
  return t.prototype.calcAffineTransform = function() {
17767
17765
  this._transform = this._invTransform = null;
17768
17766
  var e = this.getAxis("x").scale, t = this.getAxis("y").scale;
17769
- if (!(!ZA(e) || !ZA(t))) {
17767
+ if (ZA(e) && ZA(t)) {
17770
17768
  var n = TE(e, null), r = TE(t, null), i = this.dataToPoint([n[0], r[0]]), a = this.dataToPoint([n[1], r[1]]), o = n[1] - n[0], s = r[1] - r[0];
17771
- if (!(!o || !s)) {
17769
+ if (o && s) {
17772
17770
  var c = (a[0] - i[0]) / o, l = (a[1] - i[1]) / s, u = i[0] - n[0] * c, d = i[1] - r[0] * l, f = this._transform = [
17773
17771
  c,
17774
17772
  0,
@@ -17918,7 +17916,7 @@ function hj(e, t, n, r) {
17918
17916
  var i = n.axis, a = t.ensureRecord(n), o = [], s, c = zj(e.axisName) && TD(e.nameLocation);
17919
17917
  L(r, function(e) {
17920
17918
  var t = pA(e);
17921
- if (!(!t || t.label.ignore)) {
17919
+ if (t && !t.label.ignore) {
17922
17920
  o.push(t);
17923
17921
  var n = a.transGroup;
17924
17922
  c && (n.transform ? en(gj, n.transform) : Jt(gj), t.transform && Xt(gj, gj, t.transform), Y.copy(_j, t.localRect), _j.applyTransform(gj), s ? s.union(_j) : Y.copy(s = new Y(0, 0, 0, 0), _j));
@@ -18177,7 +18175,7 @@ function Ej(e, t, n) {
18177
18175
  if (CD(r)) return;
18178
18176
  function a(e, a, o) {
18179
18177
  var s = pA(t[a]), c = pA(t[o]), l = r.scale;
18180
- if (!(!s || !c)) {
18178
+ if (s && c) {
18181
18179
  if (e == null) {
18182
18180
  if (!n && i) return;
18183
18181
  var u = fj(s.label).labelInfo.tick;
@@ -18258,7 +18256,7 @@ function Aj(e, t, n, r) {
18258
18256
  }
18259
18257
  function jj(e, t, n, r, i) {
18260
18258
  var a = r.axis, o = r.getModel("minorTick");
18261
- if (!(!e.showMinorTicks || a.scale.isBlank())) {
18259
+ if (e.showMinorTicks && !a.scale.isBlank()) {
18262
18260
  var s = a.getMinorTicksCoords();
18263
18261
  if (s.length) for (var c = o.getModel("lineStyle"), l = i * o.get("length"), u = F(c.getLineStyle(), F(r.getModel("axisTick").getLineStyle(), { stroke: r.get([
18264
18262
  "axisLine",
@@ -18839,7 +18837,7 @@ function pM(e, t, n) {
18839
18837
  }
18840
18838
  function p(r, s, u) {
18841
18839
  var d = u.model.getModel("axisPointer", i), f = d.get("show");
18842
- if (!(!f || f === "auto" && !r && !xM(d))) {
18840
+ if (f && (f !== "auto" || r || xM(d))) {
18843
18841
  s ??= d.get("triggerTooltip"), d = r ? mM(u, l, i, t, r, s) : d;
18844
18842
  var p = d.get("snap"), m = d.get("triggerEmphasis"), h = SM(u.model), g = s || p || u.type === "category", _ = e.axesInfo[h] = {
18845
18843
  key: h,
@@ -18889,7 +18887,7 @@ function mM(e, t, n, r, i, a) {
18889
18887
  function hM(e, t) {
18890
18888
  t.eachSeries(function(t) {
18891
18889
  var n = t.coordinateSystem, r = t.get(["tooltip", "trigger"], !0), i = t.get(["tooltip", "show"], !0);
18892
- !n || !n.model || r === "none" || r === !1 || r === "item" || i === !1 || t.get(["axisPointer", "show"], !0) === !1 || L(e.coordSysAxesInfo[SM(n.model)], function(e) {
18890
+ n && n.model && r !== "none" && r !== !1 && r !== "item" && i !== !1 && t.get(["axisPointer", "show"], !0) !== !1 && L(e.coordSysAxesInfo[SM(n.model)], function(e) {
18893
18891
  var r = e.axis;
18894
18892
  n.getAxis(r.dim) === r && (e.seriesModels.push(t), e.seriesDataCount ??= 0, e.seriesDataCount += t.getData().count());
18895
18893
  });
@@ -19127,7 +19125,7 @@ var IM = ic(), LM = M, RM = z, zM = function() {
19127
19125
  }
19128
19126
  return e.prototype.render = function(e, t, n, r) {
19129
19127
  var i = t.get("value"), a = t.get("status");
19130
- if (this._axisModel = e, this._axisPointerModel = t, this._api = n, !(!r && this._lastValue === i && this._lastStatus === a)) {
19128
+ if (this._axisModel = e, this._axisPointerModel = t, this._api = n, r || this._lastValue !== i || this._lastStatus !== a) {
19131
19129
  this._lastValue = i, this._lastStatus = a;
19132
19130
  var o = this._group, s = this._handle;
19133
19131
  if (!a || a === "hide") {
@@ -19185,7 +19183,7 @@ var IM = ic(), LM = M, RM = z, zM = function() {
19185
19183
  y: t.label.y
19186
19184
  }), HM(i, r));
19187
19185
  }, e.prototype._renderHandle = function(e) {
19188
- if (!(this._dragging || !this.updateHandleTransform)) {
19186
+ if (!this._dragging && this.updateHandleTransform) {
19189
19187
  var t = this._axisPointerModel, n = this._api.getZr(), r = this._handle, i = t.getModel("handle"), a = t.get("status");
19190
19188
  if (!i.get("show") || !a || a === "hide") {
19191
19189
  r && n.remove(r), this._handle = null;
@@ -19640,7 +19638,7 @@ function yN(e, t, n) {
19640
19638
  }
19641
19639
  function bN(e, t, n, r, i) {
19642
19640
  var a = e.axis;
19643
- if (!(a.scale.isBlank() || !a.containData(t))) {
19641
+ if (!a.scale.isBlank() && a.containData(t)) {
19644
19642
  if (!e.involveSeries) {
19645
19643
  n.showPointer(e, t);
19646
19644
  return;
@@ -19683,7 +19681,7 @@ function SN(e, t, n, r) {
19683
19681
  }
19684
19682
  function CN(e, t, n, r) {
19685
19683
  var i = n.payloadBatch, a = t.axis, o = a.model, s = t.axisPointerModel;
19686
- if (!(!t.triggerTooltip || !i.length)) {
19684
+ if (t.triggerTooltip && i.length) {
19687
19685
  var c = t.coordSys.model, l = SM(c), u = e.map[l];
19688
19686
  u || (u = e.map[l] = {
19689
19687
  coordSysId: c.id,
@@ -22154,7 +22152,7 @@ var ZI = function(e) {
22154
22152
  }, t.prototype._mousewheelHandler = function(e) {
22155
22153
  if (!QI(e)) {
22156
22154
  var t = oL("zoomOnMouseWheel", e, this._opt), n = oL("moveOnMouseWheel", e, this._opt), r = e.wheelDelta, i = Math.abs(r), a = e.offsetX, o = e.offsetY;
22157
- if (!(r === 0 || !t && !n)) {
22155
+ if (r !== 0 && (t || n)) {
22158
22156
  if (t) {
22159
22157
  var s = i > 3 ? 1.4 : i > 1 ? 1.2 : 1.1, c = r > 0 ? s : 1 / s;
22160
22158
  this._checkTriggerMoveZoom(this, "zoom", "zoomOnMouseWheel", e, {
@@ -22623,10 +22621,10 @@ function jL(e) {
22623
22621
  update: "updateTransform"
22624
22622
  }, function(e, t, n) {
22625
22623
  var r = e.componentType || (e.geoId != null || e.geoName != null || e.geoIndex != null ? "geo" : "series"), i = r === Cd;
22626
- if (!(r !== "geo" && !i)) {
22624
+ if (r === "geo" || i) {
22627
22625
  var a = i ? "map" : null;
22628
22626
  t.eachComponent(dc(e, r, a), function(r) {
22629
- i && !RI(r) || (wF(e, r, i ? r.seriesGroup.r : null), EF(e, r, t, n));
22627
+ (!i || RI(r)) && (wF(e, r, i ? r.seriesGroup.r : null), EF(e, r, t, n));
22630
22628
  });
22631
22629
  }
22632
22630
  });
@@ -22990,7 +22988,7 @@ var nR = 5, rR = function(e) {
22990
22988
  this._mouseDownPoint = null;
22991
22989
  },
22992
22990
  mousemove: function(e) {
22993
- if (!(this._mouseDownPoint || !aR(this, "mousemove"))) {
22991
+ if (!this._mouseDownPoint && aR(this, "mousemove")) {
22994
22992
  var t = this._model, n = t.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX, e.offsetY]), r = n.behavior;
22995
22993
  r === "jump" && this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")), this._throttledDispatchExpand(r === "none" ? null : {
22996
22994
  axisExpandWindow: n.axisExpandWindow,
@@ -23368,7 +23366,7 @@ var bR = !0, xR = Math.min, SR = Math.max, CR = Math.pow, wR = 1e4, TR = 6, ER =
23368
23366
  n[e] !== a && i.group.remove(n[e]);
23369
23367
  }
23370
23368
  }, t.prototype.unmount = function() {
23371
- if (!(process.env.NODE_ENV !== "production" && !this._mounted)) return this.enableBrush(!1), VR(this), this._zr.remove(this.group), process.env.NODE_ENV !== "production" && (this._mounted = !1), this;
23369
+ if (process.env.NODE_ENV === "production" || this._mounted) return this.enableBrush(!1), VR(this), this._zr.remove(this.group), process.env.NODE_ENV !== "production" && (this._mounted = !1), this;
23372
23370
  }, t.prototype.dispose = function() {
23373
23371
  this.unmount(), this.off();
23374
23372
  }, t;
@@ -23558,7 +23556,7 @@ function iz(e) {
23558
23556
  };
23559
23557
  }
23560
23558
  function az(e, t, n) {
23561
- if (!(!e._brushType || fz(e, t.offsetX, t.offsetY))) {
23559
+ if (e._brushType && !fz(e, t.offsetX, t.offsetY)) {
23562
23560
  var r = e._zr, i = e._covers, a = zR(e, t, n);
23563
23561
  if (!e._dragging) for (var o = 0; o < i.length; o++) {
23564
23562
  var s = i[o].__brushOption;
@@ -24527,7 +24525,7 @@ var eB = function() {
24527
24525
  }
24528
24526
  L(t, function(t) {
24529
24527
  var n = r(t.id.x, t.id.y);
24530
- if (t.cellMergeOwner && (n.cellMergeOwner = !0, n.span = t.span, n.locatorRange = t.locatorRange, n.spanRect = Zz(), e._cellMergeOwnerList.push(n)), !(!t.cellMergeOwner && !t.option)) for (var i = 0; i < t.span.y; i++) for (var a = 0; a < t.span.x; a++) {
24528
+ if (t.cellMergeOwner && (n.cellMergeOwner = !0, n.span = t.span, n.locatorRange = t.locatorRange, n.spanRect = Zz(), e._cellMergeOwnerList.push(n)), t.cellMergeOwner || t.option) for (var i = 0; i < t.span.y; i++) for (var a = 0; a < t.span.x; a++) {
24531
24529
  var o = r(t.id.x + a, t.id.y + i);
24532
24530
  o.option = t.option, t.cellMergeOwner && (o.inSpanOf = n);
24533
24531
  }
@@ -25044,7 +25042,7 @@ var KB = [
25044
25042
  "leaveAnimation"
25045
25043
  ]);
25046
25044
  function JB(e, t, n) {
25047
- if (n && (!e[n] && t[n] && (e[n] = {}), e = e[n], t = t[n]), !(!e || !t)) for (var r = n ? KB : qB, i = 0; i < r.length; i++) {
25045
+ if (n && (!e[n] && t[n] && (e[n] = {}), e = e[n], t = t[n]), e && t) for (var r = n ? KB : qB, i = 0; i < r.length; i++) {
25048
25046
  var a = r[i];
25049
25047
  e[a] == null && t[a] != null && (e[a] = t[a]);
25050
25048
  }
@@ -25366,7 +25364,7 @@ function jV(e) {
25366
25364
  e.stopAnimation("keyframe"), e.attr(kV(e));
25367
25365
  }
25368
25366
  function MV(e, t, n) {
25369
- if (!(!n.isAnimationEnabled() || !t)) {
25367
+ if (n.isAnimationEnabled() && t) {
25370
25368
  if (B(t)) {
25371
25369
  L(t, function(t) {
25372
25370
  MV(e, t, n);
@@ -25378,10 +25376,10 @@ function MV(e, t, n) {
25378
25376
  var a = mm("enter", n, 0);
25379
25377
  i = a && a.duration;
25380
25378
  }
25381
- if (!(!r || !i)) {
25379
+ if (r && i) {
25382
25380
  var o = kV(e);
25383
25381
  L(cV, function(n) {
25384
- if (!(n && !e[n])) {
25382
+ if (!n || e[n]) {
25385
25383
  var a, s = !1;
25386
25384
  r.sort(function(e, t) {
25387
25385
  return e.percent - t.percent;
@@ -25478,7 +25476,7 @@ var NV = {
25478
25476
  }, t.prototype._relocate = function(e, t) {
25479
25477
  for (var n = e.option.elements, r = this.group, i = this._elMap, a = t.getWidth(), o = t.getHeight(), s = ["x", "y"], c = 0; c < n.length; c++) {
25480
25478
  var l = n[c], u = Js(l.id, null), d = u == null ? null : i.get(u);
25481
- if (!(!d || !d.isGroup)) {
25479
+ if (d && d.isGroup) {
25482
25480
  var f = d.parent, p = f === r, m = PV(d), h = PV(f);
25483
25481
  m.width = Z(m.option.width, p ? a : h.width) || 0, m.height = Z(m.option.height, p ? o : h.height) || 0;
25484
25482
  }
@@ -25904,7 +25902,7 @@ var rH = function(e) {
25904
25902
  var f = FE(r) || NE(r), p = n.getExtent(), m = Po(p[1] - p[0]), h = f ? 0 : es(s, m, .5);
25905
25903
  L([[0, Lo], [1, Io]], function(e) {
25906
25904
  var n = e[0], r = e[1];
25907
- !l[n] || !isFinite(h) || (s[n] = Jo(s[n], h), s[n] = Mo(t[1], No(t[0], s[n])), o[n] === a[n] && (s[n] = t[n], f && (s[n] = r(s[n]))));
25905
+ l[n] && isFinite(h) && (s[n] = Jo(s[n], h), s[n] = Mo(t[1], No(t[0], s[n])), o[n] === a[n] && (s[n] = t[n], f && (s[n] = r(s[n]))));
25908
25906
  }), Dc(s);
25909
25907
  var g = [Uo(s[0], t, a, !0), Uo(s[1], t, a, !0)];
25910
25908
  return Dc(g), {
@@ -26595,7 +26593,7 @@ function zH(e, t) {
26595
26593
  return R(e, function(e, n) {
26596
26594
  var r = t && t[n];
26597
26595
  if (U(r) && !B(r)) {
26598
- U(e) && !B(e) || (e = { value: e });
26596
+ (!U(e) || B(e)) && (e = { value: e });
26599
26597
  var i = r.name != null && e.name == null;
26600
26598
  return e = F(e, r), i && delete e.name, e;
26601
26599
  }
@@ -26777,7 +26775,7 @@ function ZH(e, t) {
26777
26775
  var QH = {
26778
26776
  grid: function(e, t) {
26779
26777
  var n = e.xAxisModels, r = e.yAxisModels, i = e.gridModels, a = K(), o = {}, s = {};
26780
- !n && !r && !i || (L(n, function(e) {
26778
+ (n || r || i) && (L(n, function(e) {
26781
26779
  var t = e.axis.grid.model;
26782
26780
  a.set(t.id, t), o[t.id] = !0;
26783
26781
  }), L(r, function(e) {
@@ -27373,12 +27371,12 @@ var RU = new nd({ shape: {
27373
27371
  return n.type = t.type, n;
27374
27372
  }
27375
27373
  return t.prototype.init = function(e, t) {
27376
- if (!(c.node || !t.getDom())) {
27374
+ if (!c.node && t.getDom()) {
27377
27375
  var n = e.getComponent("tooltip"), r = this._renderMode = mc(n.get("renderMode"));
27378
27376
  this._tooltipContent = r === "richText" ? new PU(t) : new NU(t, { appendTo: n.get("appendToBody", !0) ? "body" : n.get("appendTo", !0) });
27379
27377
  }
27380
27378
  }, t.prototype.render = function(e, t, n) {
27381
- if (!(c.node || !n.getDom())) {
27379
+ if (!c.node && n.getDom()) {
27382
27380
  this.group.removeAll(), this._tooltipModel = e, this._ecModel = t, this._api = n;
27383
27381
  var r = this._tooltipContent;
27384
27382
  r.update(e), r.setEnterable(e.get("enterable")), this._initGlobalListener(), this._keepShow(), this._renderMode !== "richText" && e.get("transitionDuration") ? Cx(this, "_updatePosition", 50, "fixRate") : Tx(this, "_updatePosition");
@@ -27401,7 +27399,7 @@ var RU = new nd({ shape: {
27401
27399
  });
27402
27400
  }
27403
27401
  }, t.prototype.manuallyShowTip = function(e, t, n, r) {
27404
- if (!(r.from === this.uid || c.node || !n.getDom())) {
27402
+ if (r.from !== this.uid && !c.node && n.getDom()) {
27405
27403
  var i = VU(r, n);
27406
27404
  this._ticket = "";
27407
27405
  var a = r.dataByCoordSys, o = KU(r, t, n);
@@ -27497,7 +27495,7 @@ var RU = new nd({ shape: {
27497
27495
  L(e, function(e) {
27498
27496
  L(e.dataByAxis, function(e) {
27499
27497
  var t = n.getComponent(e.axisDim + "Axis", e.axisIndex), i = e.value, a = t.axis, d = a.scale.parse(i);
27500
- if (!(!t || i == null)) {
27498
+ if (t && i != null) {
27501
27499
  var f = JM(i, a, n, e.seriesDataIndices, e.valueLabelOpt), p = Nb("section", {
27502
27500
  header: f,
27503
27501
  noHeader: !De(f),
@@ -27566,7 +27564,7 @@ var RU = new nd({ shape: {
27566
27564
  from: this.uid
27567
27565
  });
27568
27566
  }, t.prototype._showTooltipContent = function(e, t, n, r, i, a, o, s, c) {
27569
- if (this._ticket = "", !(!e.get("showContent") || !e.get("show"))) {
27567
+ if (this._ticket = "", e.get("showContent") && e.get("show")) {
27570
27568
  var l = this._tooltipContent;
27571
27569
  l.setEnterable(e.get("enterable"));
27572
27570
  var u = e.get("formatter");
@@ -27637,7 +27635,7 @@ var RU = new nd({ shape: {
27637
27635
  from: this.uid
27638
27636
  });
27639
27637
  }, t.prototype.dispose = function(e, t) {
27640
- c.node || !t.getDom() || (Tx(this, "_updatePosition"), this._tooltipContent.dispose(), hN("itemTooltip", t), this._tooltipContent = null, this._tooltipModel = null, this._lastDataByCoordSys = null, this._cbParamsList = null);
27638
+ !c.node && t.getDom() && (Tx(this, "_updatePosition"), this._tooltipContent.dispose(), hN("itemTooltip", t), this._tooltipContent = null, this._tooltipModel = null, this._lastDataByCoordSys = null, this._cbParamsList = null);
27641
27639
  }, t.type = "tooltip", t;
27642
27640
  }(lx);
27643
27641
  function BU(e, t, n) {
@@ -27684,7 +27682,7 @@ function GU(e) {
27684
27682
  }
27685
27683
  function KU(e, t, n) {
27686
27684
  var r = sc(e).queryOptionMap, i = r.keys()[0];
27687
- if (!(!i || i === "series")) {
27685
+ if (i && i !== "series") {
27688
27686
  var a = uc(t, i, r.get(i), {
27689
27687
  useDefault: !1,
27690
27688
  enableAll: !1,
@@ -28171,7 +28169,7 @@ function OW(e, t, n) {
28171
28169
  });
28172
28170
  }
28173
28171
  function v(n, r, i) {
28174
- if (!(!n.brushSelector || MW(t, r)) && (L(p, function(r) {
28172
+ if (n.brushSelector && !MW(t, r) && (L(p, function(r) {
28175
28173
  t.brushTargetManager.controlSeries(r, n, e) && i.push(r), f ||= g(i);
28176
28174
  }), h(r) && g(i))) {
28177
28175
  var a = n.getData();
@@ -29645,9 +29643,9 @@ function qG(e, t, n) {
29645
29643
  }
29646
29644
  function JG(e, t, n) {
29647
29645
  var r = t.getItemVisual(n, e);
29648
- if (!(!r || r === "none")) {
29646
+ if (r && r !== "none") {
29649
29647
  var i = t.getItemVisual(n, e + "Size"), a = t.getItemVisual(n, e + "Rotate"), o = t.getItemVisual(n, e + "Offset"), s = t.getItemVisual(n, e + "KeepAspect"), c = IS(i), l = LS(o || 0, c), u = FS(r, -c[0] / 2 + l[0], -c[1] / 2 + l[1], c[0], c[1], null, s);
29650
- return u.__specifiedRotation = a == null || isNaN(a) ? void 0 : +a * Math.PI / 180 || 0, u.name = e, u;
29648
+ return u.__specifiedRotation = a == null || isNaN(a) ? void 0 : a * Math.PI / 180 || 0, u.name = e, u;
29651
29649
  }
29652
29650
  }
29653
29651
  function YG(e) {
@@ -30080,7 +30078,7 @@ var mK = function(e) {
30080
30078
  }, t;
30081
30079
  }(uG), hK = ic(), gK = function(e, t, n, r) {
30082
30080
  var i = r[0], a = r[1];
30083
- if (!(!i || !a)) {
30081
+ if (i && a) {
30084
30082
  var o = TG(e, i), s = TG(e, a), c = o.coord, l = s.coord;
30085
30083
  c[0] = Ce(c[0], -Infinity), c[1] = Ce(c[1], -Infinity), l[0] = Ce(l[0], Infinity), l[1] = Ce(l[1], Infinity);
30086
30084
  var u = ne([
@@ -31709,10 +31707,7 @@ var Oq = { get: function(e, t, n) {
31709
31707
  var r = this.option, i = r.precision, a = this.dataBound, o = r.formatter, s;
31710
31708
  n ||= ["<", ">"], B(e) && (e = e.slice(), s = !0);
31711
31709
  var c = t ? e : s ? [l(e[0]), l(e[1])] : l(e);
31712
- if (H(o)) return o.replace("{value}", s ? c[0] : c).replace("{value2}", s ? c[1] : c);
31713
- if (V(o)) return s ? o(e[0], e[1]) : o(e);
31714
- if (s) return e[0] === a[0] ? n[0] + " " + c[1] : e[1] === a[1] ? n[1] + " " + c[0] : c[0] + " - " + c[1];
31715
- return c;
31710
+ return H(o) ? o.replace("{value}", s ? c[0] : c).replace("{value2}", s ? c[1] : c) : V(o) ? s ? o(e[0], e[1]) : o(e) : s ? e[0] === a[0] ? n[0] + " " + c[1] : e[1] === a[1] ? n[1] + " " + c[0] : c[0] + " - " + c[1] : c;
31716
31711
  function l(e) {
31717
31712
  return e === a[0] ? "min" : e === a[1] ? "max" : (+e).toFixed(Math.min(i, 20));
31718
31713
  }
@@ -32824,7 +32819,7 @@ var bJ = function() {
32824
32819
  this._bridgeRendered = e, this._isEnabled() && (this._dealRenderContent(), this._dealUpdateWindow(), wJ(this._model, this));
32825
32820
  }, t.prototype._dealRenderContent = function() {
32826
32821
  var e = this._bridgeRendered;
32827
- if (!(!e || e.renderVersion !== this._renderVersion)) {
32822
+ if (e && e.renderVersion === this._renderVersion) {
32828
32823
  var t = this._targetGroup, n = this._coordSys, r = this._contentRect;
32829
32824
  if (t.removeAll(), e) {
32830
32825
  var i = e.group, a = i.getBoundingRect();
@@ -32842,7 +32837,7 @@ var bJ = function() {
32842
32837
  t && t.renderVersion === e.renderVersion && (t.targetTrans = e.targetTrans), this._isEnabled() && this._dealUpdateWindow();
32843
32838
  }, t.prototype._dealUpdateWindow = function() {
32844
32839
  var e = this._bridgeRendered;
32845
- if (!(!e || e.renderVersion !== this._renderVersion)) {
32840
+ if (e && e.renderVersion === this._renderVersion) {
32846
32841
  var t = en([], e.targetTrans), n = Xt([], qP(null, this._coordSys), t);
32847
32842
  this._transThisToTarget = en([], n);
32848
32843
  var r = e.viewportRect;
@@ -32868,7 +32863,7 @@ var bJ = function() {
32868
32863
  }), r.off("pan").off("zoom").on("pan", z(this._onPan, this)).on("zoom", z(this._onZoom, this));
32869
32864
  }, t.prototype._onPan = function(e) {
32870
32865
  var t = this._transThisToTarget;
32871
- if (!(!this._isEnabled() || !t)) {
32866
+ if (this._isEnabled() && t) {
32872
32867
  var n = ut([], [e.oldX, e.oldY], t), r = ut([], [e.oldX - e.dx, e.oldY - e.dy], t);
32873
32868
  this._api.dispatchAction(CJ(this._model.getTarget().baseMapProvider, {
32874
32869
  dx: r[0] - n[0],
@@ -32877,7 +32872,7 @@ var bJ = function() {
32877
32872
  }
32878
32873
  }, t.prototype._onZoom = function(e) {
32879
32874
  var t = this._transThisToTarget;
32880
- if (!(!this._isEnabled() || !t)) {
32875
+ if (this._isEnabled() && t) {
32881
32876
  var n = ut([], [e.originX, e.originY], t);
32882
32877
  this._api.dispatchAction(CJ(this._model.getTarget().baseMapProvider, {
32883
32878
  zoom: 1 / e.scale,
@@ -33045,7 +33040,7 @@ function AJ(e, t) {
33045
33040
  //#endregion
33046
33041
  //#region ../../node_modules/.pnpm/echarts@6.1.0/node_modules/echarts/lib/component/aria/preprocessor.js
33047
33042
  function jJ(e) {
33048
- if (!(!e || !e.aria)) {
33043
+ if (e && e.aria) {
33049
33044
  var t = e.aria;
33050
33045
  t.show != null && (t.enabled = t.show), t.label = t.label || {}, L([
33051
33046
  "description",
@@ -33648,7 +33643,7 @@ function TY(e, t) {
33648
33643
  }
33649
33644
  function EY(e, t, n) {
33650
33645
  var r = e.getVisual("visualMeta");
33651
- if (!(!r || !r.length || !e.count())) {
33646
+ if (r && r.length && e.count()) {
33652
33647
  if (t.type !== "cartesian2d") {
33653
33648
  process.env.NODE_ENV !== "production" && console.warn("Visual map on line style is only supported on cartesian2d.");
33654
33649
  return;
@@ -33690,7 +33685,7 @@ function EY(e, t, n) {
33690
33685
  }
33691
33686
  function DY(e, t, n) {
33692
33687
  var r = e.get("showAllSymbol"), i = r === "auto";
33693
- if (!(r && !i)) {
33688
+ if (!r || i) {
33694
33689
  var a = n.getAxesByScale("ordinal")[0];
33695
33690
  if (a && !(i && OY(a, t))) {
33696
33691
  var o = t.mapDimension(a.dim), s = {};
@@ -34529,7 +34524,7 @@ var cX = Math.max, lX = Math.min, uX = function(e) {
34529
34524
  }
34530
34525
  a.diff(o).add(function(t) {
34531
34526
  var n = a.getItemModel(t), r = yX[s.type](a, t, n);
34532
- if (r && (h && S(t), !(!a.hasValue(t) || !vX[s.type](r)))) {
34527
+ if (r && (h && S(t), a.hasValue(t) && vX[s.type](r))) {
34533
34528
  var o = !1;
34534
34529
  f && (o = dX[s.type](p, r));
34535
34530
  var g = fX[s.type](e, a, t, r, l, u, c.model, !1, m);
@@ -34924,7 +34919,7 @@ function PX(e) {
34924
34919
  seriesType: e,
34925
34920
  reset: function(e, t) {
34926
34921
  var n = t.findComponents({ mainType: "legend" });
34927
- if (!(!n || !n.length)) {
34922
+ if (n && n.length) {
34928
34923
  var r = e.getData();
34929
34924
  r.filterSelf(function(e) {
34930
34925
  for (var t = r.getName(e), i = 0; i < n.length; i++) if (!n[i].isSelected(t)) return !1;
@@ -35485,7 +35480,7 @@ var nZ = function(e) {
35485
35480
  }
35486
35481
  for (this._ctx = null, l = this._off; l < n.length;) {
35487
35482
  var u = n[l++], d = n[l++];
35488
- isNaN(u) || isNaN(d) || c && !c.contain(u, d) || (a.x = u - r[0] / 2, a.y = d - r[1] / 2, a.width = r[0], a.height = r[1], i.buildPath(e, a, !0));
35483
+ isNaN(u) || isNaN(d) || (!c || c.contain(u, d)) && (a.x = u - r[0] / 2, a.y = d - r[1] / 2, a.width = r[0], a.height = r[1], i.buildPath(e, a, !0));
35489
35484
  }
35490
35485
  this.incremental && (this._off = l, this.notClear = !0);
35491
35486
  }, t.prototype.afterBrush = function() {
@@ -35493,7 +35488,7 @@ var nZ = function(e) {
35493
35488
  if (r) {
35494
35489
  for (a = this._off; a < t.length;) {
35495
35490
  var o = t[a++], s = t[a++];
35496
- isNaN(o) || isNaN(s) || i && !i.contain(o, s) || r.fillRect(o - n[0] / 2, s - n[1] / 2, n[0], n[1]);
35491
+ isNaN(o) || isNaN(s) || (!i || i.contain(o, s)) && r.fillRect(o - n[0] / 2, s - n[1] / 2, n[0], n[1]);
35497
35492
  }
35498
35493
  this.incremental && (this._off = a, this.notClear = !0);
35499
35494
  }
@@ -35669,7 +35664,7 @@ function hZ() {
35669
35664
  var n = t.getBaseAxis && t.getBaseAxis();
35670
35665
  if (n && lZ(e, n)) {
35671
35666
  var r = n.dim, i = n.orient, a = i === "horizontal" && n.type !== "category" || i === "vertical" && n.type === "category", o = r === "y" || r === "single" && a, s = r === "x" || r === "single" && !a;
35672
- if (!(!o && !s)) return { progress: function(e, t) {
35667
+ if (o || s) return { progress: function(e, t) {
35673
35668
  var r = t.getLayout("points"), i = !!r;
35674
35669
  process.env.NODE_ENV !== "production" && i && Fc(t.getLayout("pointsRange"), e);
35675
35670
  for (var a = e.start; a < e.end; a++) {
@@ -35932,7 +35927,7 @@ var DZ = function(e) {
35932
35927
  t.each(t.mapDimension("value"), function(r, i) {
35933
35928
  if (!isNaN(r)) {
35934
35929
  var a = t.getItemLayout(i);
35935
- if (!(!a || !a.point)) {
35930
+ if (a && a.point) {
35936
35931
  var o = a.point, s = a.offset, c = new hp({
35937
35932
  style: { fill: e.getData().getVisual("style").fill },
35938
35933
  shape: {
@@ -35962,13 +35957,13 @@ var DZ = function(e) {
35962
35957
  }(px), OZ = Ic("map", kZ);
35963
35958
  function kZ(e) {
35964
35959
  L(BI(e), function(t, n) {
35965
- if (!(!zI(t) || !LI(n))) {
35960
+ if (zI(t) && LI(n)) {
35966
35961
  var r = {};
35967
35962
  L(t.f, function(t) {
35968
35963
  var n = t.coordinateSystem, i = t.originalData;
35969
35964
  t.get("showLegendSymbol") && e.getComponent("legend") && i.each(i.mapDimension("value"), function(e, t) {
35970
35965
  var a = i.getName(t), o = n.getRegion(a);
35971
- if (!(!o || isNaN(e))) {
35966
+ if (o && !isNaN(e)) {
35972
35967
  var s = r[a] || 0, c = n.dataToPoint(o.getCenter());
35973
35968
  r[a] = s + 1, i.setItemLayout(t, {
35974
35969
  point: c,
@@ -36539,7 +36534,7 @@ function gQ(e, t, n, r, i, a, o, s) {
36539
36534
  }
36540
36535
  } else if (process.env.NODE_ENV !== "production") throw Error("The polyline edgeShape can only be used in orthogonal layout");
36541
36536
  }
36542
- h && !(l === "polyline" && !t.isExpand) && (h.useStyle(F({
36537
+ h && (l !== "polyline" || t.isExpand) && (h.useStyle(F({
36543
36538
  strokeNoScale: !0,
36544
36539
  fill: null
36545
36540
  }, m)), Lf(h, c, "lineStyle"), df(h), s.add(h));
@@ -36927,7 +36922,7 @@ var FQ = 8, IQ = 8, LQ = 5, RQ = function() {
36927
36922
  }
36928
36923
  return e.prototype.render = function(e, t, n, r) {
36929
36924
  var i = e.getModel("breadcrumb"), a = this.group;
36930
- if (a.removeAll(), !(!i.get("show") || !n)) {
36925
+ if (a.removeAll(), i.get("show") && n) {
36931
36926
  var o = i.getModel("itemStyle"), s = i.getModel("emphasis"), c = o.getModel("textStyle"), l = s.getModel(["itemStyle", "textStyle"]), u = N_(e, t).refContainer, d = {
36932
36927
  left: i.get("left"),
36933
36928
  right: i.get("right"),
@@ -37602,7 +37597,7 @@ var T$ = "itemStyle", E$ = ic(), D$ = {
37602
37597
  };
37603
37598
  function O$(e, t, n, r) {
37604
37599
  var i = e.getModel(), a = e.getLayout(), o = e.hostTree.data;
37605
- if (!(!a || a.invisible || !a.isInView)) {
37600
+ if (a && !a.invisible && a.isInView) {
37606
37601
  var s = i.getModel(T$), c = k$(s, t, r), l = o.ensureUniqueItemVisual(e.dataIndex, "style"), u = s.get("borderColor"), d = s.get("borderColorSaturation"), f;
37607
37602
  d != null && (f = A$(c), u = j$(d, f)), l.stroke = u;
37608
37603
  var p = e.viewChildren;
@@ -37642,7 +37637,7 @@ function M$(e, t) {
37642
37637
  if (n != null && n !== "none") return n;
37643
37638
  }
37644
37639
  function N$(e, t, n, r, i, a) {
37645
- if (!(!a || !a.length)) {
37640
+ if (a && a.length) {
37646
37641
  var o = P$(t, "color") || i.color != null && i.color !== "none" && (P$(t, "colorAlpha") || P$(t, "colorSaturation"));
37647
37642
  if (o) {
37648
37643
  var s = t.get("visualMin"), c = t.get("visualMax"), l = n.dataExtent.slice();
@@ -37705,7 +37700,7 @@ var R$ = function() {
37705
37700
  return this._nodesMap[L$(e)];
37706
37701
  }, e.prototype.addEdge = function(e, t, n) {
37707
37702
  var r = this._nodesMap, i = this._edgesMap;
37708
- if (he(e) && (e = this.nodes[e]), he(t) && (t = this.nodes[t]), e instanceof z$ || (e = r[L$(e)]), t instanceof z$ || (t = r[L$(t)]), !(!e || !t)) {
37703
+ if (he(e) && (e = this.nodes[e]), he(t) && (t = this.nodes[t]), e instanceof z$ || (e = r[L$(e)]), t instanceof z$ || (t = r[L$(t)]), e && t) {
37709
37704
  var a = e.id + "-" + t.id, o = new B$(e, t, n);
37710
37705
  return o.hostGraph = this, this._directed && (e.outEdges.push(o), t.inEdges.push(o)), e.edges.push(o), e !== t && t.edges.push(o), this.edges.push(o), i[a] = o, o;
37711
37706
  }
@@ -38490,7 +38485,7 @@ var M1 = function(e) {
38490
38485
  })();
38491
38486
  }, t.prototype.__updateOnOwnRoam = function(e, t, n) {
38492
38487
  var r = TF(t);
38493
- !this._active || !r || (bF(this._mainGroup, 2, r, null), fL(e) && (this._updateNodeAndLinkScale(), j1(t.getGraph(), l1(t)), this._lineDraw.updateLayout(), n.updateLabelLayout()), this._updateThumbnailWindow());
38488
+ this._active && r && (bF(this._mainGroup, 2, r, null), fL(e) && (this._updateNodeAndLinkScale(), j1(t.getGraph(), l1(t)), this._lineDraw.updateLayout(), n.updateLabelLayout()), this._updateThumbnailWindow());
38494
38489
  }, t.prototype._updateNodeAndLinkScale = function() {
38495
38490
  var e = this._model, t = e.getData(), n = l1(e);
38496
38491
  t.eachItemGraphicEl(function(e, t) {
@@ -38550,7 +38545,7 @@ var M1 = function(e) {
38550
38545
  }(px), N1 = Ic(e1, P1);
38551
38546
  function P1(e) {
38552
38547
  var t = e.findComponents({ mainType: "legend" });
38553
- !t || !t.length || e.eachSeriesByType(e1, function(e) {
38548
+ t && t.length && e.eachSeriesByType(e1, function(e) {
38554
38549
  var n = e.getCategoriesData(), r = e.getGraph().data, i = n.mapArray(n.getName);
38555
38550
  r.filterSelf(function(e) {
38556
38551
  var n = r.getItemModel(e).getShallow("category");
@@ -39022,8 +39017,7 @@ var e0 = function(e) {
39022
39017
  });
39023
39018
  var x = function(e) {
39024
39019
  if (e <= 0) return r[0][1];
39025
- var t;
39026
- for (t = 0; t < r.length; t++) if (r[t][0] >= e && (t === 0 ? 0 : r[t - 1][0]) < e) return r[t][1];
39020
+ for (var t = 0; t < r.length; t++) if (r[t][0] >= e && (t === 0 ? 0 : r[t - 1][0]) < e) return r[t][1];
39027
39021
  return r[t - 1][1];
39028
39022
  };
39029
39023
  this._renderTicks(e, t, n, x, i, s, c, o, p), this._renderTitleAndDetail(e, t, n, x, i), this._renderAnchor(e, i), this._renderPointer(e, t, n, x, i, s, c, o, p);
@@ -40693,7 +40687,7 @@ function q2(e, t, n, r) {
40693
40687
  //#endregion
40694
40688
  //#region ../../node_modules/.pnpm/echarts@6.1.0/node_modules/echarts/lib/chart/candlestick/preprocessor.js
40695
40689
  function J2(e) {
40696
- !e || !B(e.series) || L(e.series, function(e) {
40690
+ e && B(e.series) && L(e.series, function(e) {
40697
40691
  U(e) && e.type === "k" && (e.type = E2);
40698
40692
  });
40699
40693
  }
@@ -40704,11 +40698,10 @@ var Y2 = Oc(), X2 = {
40704
40698
  plan: ux(),
40705
40699
  reset: function(e) {
40706
40700
  var t = e.coordinateSystem, n = e.getData(), r = Q2(e, n), i = e.getWhiskerBoxesLayout() === "horizontal" ? 0 : 1, a = 1 - i, o = ["x", "y"], s = n.getDimensionIndex(n.mapDimension(o[i])), c = R(n.mapDimensionsAll(o[a]), n.getDimensionIndex, n), l = c[0], u = c[1], d = c[2], f = c[3];
40707
- if (n.setLayout({
40701
+ return n.setLayout({
40708
40702
  candleWidth: r,
40709
40703
  isSimpleBox: r <= 1.3
40710
- }), s < 0 || c.length < 4) return;
40711
- return { progress: e.pipelineContext.large ? m : p };
40704
+ }), s < 0 || c.length < 4 ? void 0 : { progress: e.pipelineContext.large ? m : p };
40712
40705
  function p(e, n) {
40713
40706
  for (var o, c = n.getStore(); (o = e.next()) != null;) {
40714
40707
  var p = c.get(s, o), m = c.get(l, o), h = c.get(u, o), g = c.get(d, o), _ = c.get(f, o), v = Mo(m, h), y = No(m, h), b = E(v, p), x = E(y, p), S = E(g, p), C = E(_, p), w = [];
@@ -41440,8 +41433,7 @@ function w4(e, t, n) {
41440
41433
  });
41441
41434
  var i = t.length, a = 0;
41442
41435
  return function(e) {
41443
- var r;
41444
- for (r = a; r < i; r++) {
41436
+ for (var r = a; r < i; r++) {
41445
41437
  var o = t[r].interval;
41446
41438
  if (o[0] <= e && e <= o[1]) {
41447
41439
  a = r;
@@ -43082,7 +43074,7 @@ function x6(e, t, n) {
43082
43074
  }
43083
43075
  function S6(e, t, n, r, i) {
43084
43076
  var a = r.children, o = a ? a.length : 0, s = r.$mergeChildren, c = s === "byName" || r.diffChildrenByName, l = s === !1;
43085
- if (!(!o && !c && !l)) {
43077
+ if (o || c || l) {
43086
43078
  if (c) {
43087
43079
  w6({
43088
43080
  api: e,
@@ -43564,7 +43556,7 @@ function O8(e) {
43564
43556
  }
43565
43557
  function k8(e, t) {
43566
43558
  var n = e.style, r = e.shape, i = D8[e.type], a = {}, o = t.animation, s = "path", c = e.style.strokePercent, l = t.compress && Ti(e) || 4;
43567
- if (i && !t.willUpdate && !(i[1] && !i[1](r)) && !(o && O8(e)) && !(c < 1)) {
43559
+ if (i && !t.willUpdate && (!i[1] || i[1](r)) && !(o && O8(e)) && !(c < 1)) {
43568
43560
  s = e.type;
43569
43561
  var u = 10 ** l;
43570
43562
  i[0](r, a, u);
@@ -43973,7 +43965,7 @@ var f5 = function(e) {
43973
43965
  if (this.__firstTimePaint) return this.__firstTimePaint = !1, null;
43974
43966
  var i = [], a = this.maxRepaintRectCount, o = !1, s = new Y(0, 0, 0, 0);
43975
43967
  function c(e) {
43976
- if (!(!e.isFinite() || e.isZero())) {
43968
+ if (e.isFinite() && !e.isZero()) {
43977
43969
  if (i.length === 0) {
43978
43970
  var t = new Y(0, 0, 0, 0);
43979
43971
  t.copy(e), i.push(t);
@@ -44191,7 +44183,7 @@ var D5 = 1, O5 = 2, k5 = 4, A5 = D5 | k5, j5 = function() {
44191
44183
  var a = !1;
44192
44184
  if (w5(i, function(e) {
44193
44185
  (e.drawIdx < e.endIdx || e.notClearIdx >= 0) && (a = !0);
44194
- }), !(!a && !i.__dirty)) {
44186
+ }), a || i.__dirty) {
44195
44187
  var o = n._opts.useDirtyRect && !u5(i) ? i.createRepaintRects(e, t, n._width, n._height) : null, s = n._i.layerStack[0], c = !0;
44196
44188
  if (i.__dirty) {
44197
44189
  c = !1, i.__dirty = !1;
@@ -46239,7 +46231,7 @@ var z9 = /* @__PURE__ */ e((/* @__PURE__ */ n(((e, t) => {
46239
46231
  this.renderNewEcharts();
46240
46232
  }, t.prototype.componentDidUpdate = function(e) {
46241
46233
  var t = this.props.shouldSetOption;
46242
- if (!(L9(t) && !t(e, this.props))) {
46234
+ if (!L9(t) || t(e, this.props)) {
46243
46235
  if (!(0, z9.default)(e.theme, this.props.theme) || !(0, z9.default)(e.opts, this.props.opts)) {
46244
46236
  this.dispose(), this.renderNewEcharts();
46245
46237
  return;