strapi-plugin-comments 3.0.0-beta.1 → 3.0.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.
Files changed (90) hide show
  1. package/README.md +81 -122
  2. package/dist/_chunks/{index-CY_AVWS-.js → index-B-ygLKrb.js} +417 -242
  3. package/dist/_chunks/{index-D3iNqWZT.mjs → index-BgN4aUMA.mjs} +5 -5
  4. package/dist/_chunks/{index-BBcsmSTs.mjs → index-Bx2boY6h.mjs} +420 -245
  5. package/dist/_chunks/{index-DJ32APz-.mjs → index-CIqMAf50.mjs} +1277 -1152
  6. package/dist/_chunks/{index-BXEk5PWx.js → index-CWfr5ejx.js} +20 -26
  7. package/dist/_chunks/{index-BFPteXuP.js → index-D8uskGzQ.js} +5 -5
  8. package/dist/_chunks/{index-Bcck91A8.js → index-DFAPx7Bl.js} +1290 -1144
  9. package/dist/_chunks/{index-D9MOkoQ2.mjs → index-Db2zwbpe.mjs} +20 -26
  10. package/dist/admin/index.js +1 -1
  11. package/dist/admin/index.mjs +1 -1
  12. package/dist/admin/src/api/client.d.ts +30 -50
  13. package/dist/admin/src/api/schemas.d.ts +432 -756
  14. package/dist/admin/src/components/UserAvatar/index.d.ts +1 -1
  15. package/dist/admin/src/hooks/useAPI.d.ts +30 -50
  16. package/dist/admin/src/hooks/useCommentsAll.d.ts +6 -10
  17. package/dist/admin/src/hooks/useReports.d.ts +6 -10
  18. package/dist/server/index.js +198 -144
  19. package/dist/server/index.mjs +198 -144
  20. package/dist/server/src/{@types-v5 → @types}/utils.d.ts +4 -0
  21. package/dist/server/src/bootstrap.d.ts +1 -1
  22. package/dist/server/src/config/index.d.ts +30 -0
  23. package/dist/server/src/content-types/index.d.ts +1 -1
  24. package/dist/server/src/controllers/admin.controller.d.ts +108 -29
  25. package/dist/server/src/controllers/client.controller.d.ts +117 -23
  26. package/dist/server/src/controllers/index.d.ts +297 -88
  27. package/dist/server/src/controllers/settings.controller.d.ts +33 -1
  28. package/dist/server/src/graphql/index.d.ts +1 -1
  29. package/dist/server/src/graphql/mutations/getCreateAbuseReport.d.ts +10 -4
  30. package/dist/server/src/graphql/mutations/getCreateComment.d.ts +10 -4
  31. package/dist/server/src/graphql/mutations/getRemoveComment.d.ts +10 -4
  32. package/dist/server/src/graphql/mutations/getUpdateComment.d.ts +10 -4
  33. package/dist/server/src/graphql/mutations/index.d.ts +2 -2
  34. package/dist/server/src/graphql/queries/findAllFlat.d.ts +18 -6
  35. package/dist/server/src/graphql/queries/findAllInHierarchy.d.ts +10 -4
  36. package/dist/server/src/graphql/queries/findAllPerAuthor.d.ts +18 -6
  37. package/dist/server/src/graphql/queries/index.d.ts +2 -2
  38. package/dist/server/src/graphql/types/getComment.d.ts +1 -1
  39. package/dist/server/src/graphql/types/getCommentAuthor.d.ts +1 -1
  40. package/dist/server/src/graphql/types/getCommentAuthorType.d.ts +1 -1
  41. package/dist/server/src/graphql/types/getCommentNested.d.ts +1 -1
  42. package/dist/server/src/graphql/types/getCreateComment.d.ts +1 -1
  43. package/dist/server/src/graphql/types/getCreateCommentAuthor.d.ts +1 -1
  44. package/dist/server/src/graphql/types/getCreateReport.d.ts +1 -1
  45. package/dist/server/src/graphql/types/getId.d.ts +1 -1
  46. package/dist/server/src/graphql/types/getIdentityAuthor.d.ts +1 -1
  47. package/dist/server/src/graphql/types/getRemoveComment.d.ts +1 -1
  48. package/dist/server/src/graphql/types/getReport.d.ts +1 -1
  49. package/dist/server/src/graphql/types/getReportReason.d.ts +1 -1
  50. package/dist/server/src/graphql/types/getResponseFindAll.d.ts +1 -1
  51. package/dist/server/src/graphql/types/getResponseFindAllPerAuthor.d.ts +1 -1
  52. package/dist/server/src/graphql/types/getResponseMeta.d.ts +1 -1
  53. package/dist/server/src/graphql/types/getResponsePagination.d.ts +1 -1
  54. package/dist/server/src/graphql/types/getUpdateComment.d.ts +1 -1
  55. package/dist/server/src/graphql/types/index.d.ts +1 -1
  56. package/dist/server/src/index.d.ts +921 -314
  57. package/dist/server/src/register/custom-fields/index.d.ts +1 -1
  58. package/dist/server/src/register/index.d.ts +1 -1
  59. package/dist/server/src/repositories/comment.repository.d.ts +10 -1
  60. package/dist/server/src/repositories/index.d.ts +0 -2
  61. package/dist/server/src/repositories/report.comment.repository.d.ts +38 -1
  62. package/dist/server/src/repositories/store.repository.d.ts +159 -3
  63. package/dist/server/src/repositories/utils.d.ts +1 -3
  64. package/dist/server/src/routes/admin.routes.d.ts +1 -1
  65. package/dist/server/src/routes/client.routes.d.ts +1 -1
  66. package/dist/server/src/routes/index.d.ts +2 -2
  67. package/dist/server/src/services/admin/admin.service.d.ts +232 -78
  68. package/dist/server/src/services/admin/utils.d.ts +1 -1
  69. package/dist/server/src/services/client.service.d.ts +177 -66
  70. package/dist/server/src/services/common.service.d.ts +60 -19
  71. package/dist/server/src/services/gql.service.d.ts +1 -1
  72. package/dist/server/src/services/index.d.ts +608 -222
  73. package/dist/server/src/services/settings.service.d.ts +25 -1
  74. package/dist/server/src/services/utils/functions.d.ts +1 -3
  75. package/dist/server/src/test/utils.d.ts +1 -0
  76. package/dist/server/src/utils/constants.d.ts +1 -1
  77. package/dist/server/src/utils/getConfig.d.ts +2 -2
  78. package/dist/server/src/utils/getPluginService.d.ts +2 -2
  79. package/dist/server/src/utils/throwError.d.ts +1 -1
  80. package/dist/server/src/validators/api/controllers/client.controller.validator.d.ts +10 -9
  81. package/dist/server/src/validators/api/controllers/settings.controller.validator.d.ts +4 -0
  82. package/dist/server/src/validators/repositories/comment.schema.d.ts +18 -3
  83. package/dist/server/src/validators/repositories/comment.validator.d.ts +384 -72
  84. package/dist/server/src/validators/repositories/reports.validator.d.ts +60 -18
  85. package/dist/server/src/validators/utils.d.ts +1 -1
  86. package/package.json +18 -12
  87. /package/dist/server/src/{@types-v5 → @types}/controllers.d.ts +0 -0
  88. /package/dist/server/src/{@types-v5 → @types}/index.d.ts +0 -0
  89. /package/dist/server/src/{@types-v5 → @types}/repositories.d.ts +0 -0
  90. /package/dist/server/src/{@types-v5 → @types}/routes.d.ts +0 -0
@@ -4211,9 +4211,9 @@ var handleScroll$2 = function(axis, endTarget, event, sourceDelta, noOverscroll)
4211
4211
  !targetInLock && target !== document.body || // self content
4212
4212
  targetInLock && (endTarget.contains(target) || endTarget === target)
4213
4213
  );
4214
- if (isDeltaPositive && (Math.abs(availableScroll) < 1 || !noOverscroll)) {
4214
+ if (isDeltaPositive && (Math.abs(availableScroll) < 1 || false)) {
4215
4215
  shouldCancelScroll = true;
4216
- } else if (!isDeltaPositive && (Math.abs(availableScrollTop) < 1 || !noOverscroll)) {
4216
+ } else if (!isDeltaPositive && (Math.abs(availableScrollTop) < 1 || false)) {
4217
4217
  shouldCancelScroll = true;
4218
4218
  }
4219
4219
  return shouldCancelScroll;
@@ -4295,7 +4295,7 @@ function RemoveScrollSideCar$2(props) {
4295
4295
  return true;
4296
4296
  }
4297
4297
  var cancelingAxis = activeAxis.current || currentAxis;
4298
- return handleScroll$2(cancelingAxis, parent, event, cancelingAxis === "h" ? deltaX : deltaY, true);
4298
+ return handleScroll$2(cancelingAxis, parent, event, cancelingAxis === "h" ? deltaX : deltaY);
4299
4299
  }, []);
4300
4300
  var shouldPrevent = React__namespace.useCallback(function(_event) {
4301
4301
  var event = _event;
@@ -4557,7 +4557,7 @@ function createCollection(name2) {
4557
4557
  }
4558
4558
  const cache = /* @__PURE__ */ new Map();
4559
4559
  function useCollator(locale, options) {
4560
- const cacheKey = locale + (options ? Object.entries(options).sort((a2, b2) => a2[0] < b2[0] ? -1 : 1).join() : "");
4560
+ const cacheKey = locale + Object.entries(options).sort((a2, b2) => a2[0] < b2[0] ? -1 : 1).join();
4561
4561
  if (cache.has(cacheKey)) {
4562
4562
  return cache.get(cacheKey);
4563
4563
  }
@@ -5324,6 +5324,8 @@ const ComboboxNoValueFound = React__namespace.forwardRef((props, ref) => {
5324
5324
  unsub();
5325
5325
  };
5326
5326
  }, [subscribe]);
5327
+ if (autocomplete.type === "none" && items.length > 0)
5328
+ return null;
5327
5329
  if (autocomplete.type === "list" && autocomplete.filter === "startsWith" && items.some((item) => startsWith(item.textValue, textValue))) {
5328
5330
  return null;
5329
5331
  }
@@ -7068,8 +7070,8 @@ const SvgArrowClockwise = ({
7068
7070
  const stroke = strokeProp && strokeProp in colors ? colors[strokeProp] : strokeProp;
7069
7071
  return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, fill, stroke, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M30.5 7v6a1.5 1.5 0 0 1-1.5 1.5h-6a1.5 1.5 0 0 1 0-3h2.137l-2.375-2.173-.047-.046a9.5 9.5 0 1 0-6.84 16.219H16a9.44 9.44 0 0 0 6.519-2.59 1.5 1.5 0 1 1 2.061 2.181A12.43 12.43 0 0 1 16 28.5h-.171a12.5 12.5 0 1 1 8.985-21.368L27.5 9.59V7a1.5 1.5 0 0 1 3 0" }) });
7070
7072
  };
7071
- const ForwardRef$50 = React.forwardRef(SvgArrowClockwise);
7072
- const ForwardRef$51 = ForwardRef$50;
7073
+ const ForwardRef$58 = React.forwardRef(SvgArrowClockwise);
7074
+ const ForwardRef$59 = ForwardRef$58;
7073
7075
  const SvgArrowDown = ({
7074
7076
  fill: fillProp = "currentColor",
7075
7077
  stroke: strokeProp,
@@ -7121,8 +7123,8 @@ const SvgArrowUp = ({
7121
7123
  const stroke = strokeProp && strokeProp in colors ? colors[strokeProp] : strokeProp;
7122
7124
  return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, fill, stroke, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M26.061 15.061a1.5 1.5 0 0 1-2.125 0L17.5 8.625V27a1.5 1.5 0 1 1-3 0V8.625l-6.439 6.436a1.503 1.503 0 1 1-2.125-2.125l9-9a1.5 1.5 0 0 1 2.125 0l9 9a1.5 1.5 0 0 1 0 2.125" }) });
7123
7125
  };
7124
- const ForwardRef$4U = React.forwardRef(SvgArrowUp);
7125
- const ForwardRef$4V = ForwardRef$4U;
7126
+ const ForwardRef$50 = React.forwardRef(SvgArrowUp);
7127
+ const ForwardRef$51 = ForwardRef$50;
7126
7128
  const SvgArrowsCounterClockwise = ({
7127
7129
  fill: fillProp = "currentColor",
7128
7130
  stroke: strokeProp,
@@ -7161,8 +7163,8 @@ const SvgBold = ({
7161
7163
  const stroke = strokeProp && strokeProp in colors ? colors[strokeProp] : strokeProp;
7162
7164
  return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, fill, stroke, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M22.135 14.308A6.001 6.001 0 0 0 17.5 4.5H9A1.5 1.5 0 0 0 7.5 6v19A1.5 1.5 0 0 0 9 26.5h10a6.5 6.5 0 0 0 3.135-12.192M10.5 7.5h7a3 3 0 0 1 0 6h-7zm8.5 16h-8.5v-7H19a3.5 3.5 0 1 1 0 7" }) });
7163
7165
  };
7164
- const ForwardRef$4O = React.forwardRef(SvgBold);
7165
- const ForwardRef$4P = ForwardRef$4O;
7166
+ const ForwardRef$4W = React.forwardRef(SvgBold);
7167
+ const ForwardRef$4X = ForwardRef$4W;
7166
7168
  const SvgBook = ({
7167
7169
  fill: fillProp = "currentColor",
7168
7170
  stroke: strokeProp,
@@ -7201,8 +7203,8 @@ const SvgBulletList = ({
7201
7203
  const stroke = strokeProp && strokeProp in colors ? colors[strokeProp] : strokeProp;
7202
7204
  return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, fill, stroke, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M9.5 8A1.5 1.5 0 0 1 11 6.5h16a1.5 1.5 0 0 1 0 3H11A1.5 1.5 0 0 1 9.5 8M27 14.5H11a1.5 1.5 0 1 0 0 3h16a1.5 1.5 0 1 0 0-3m0 8H11a1.5 1.5 0 1 0 0 3h16a1.5 1.5 0 1 0 0-3M5.5 14a2 2 0 1 0 0 4 2 2 0 0 0 0-4m0-8a2 2 0 1 0 0 4 2 2 0 0 0 0-4m0 16a2 2 0 1 0 0 4 2 2 0 0 0 0-4" }) });
7203
7205
  };
7204
- const ForwardRef$4I = React.forwardRef(SvgBulletList);
7205
- const ForwardRef$4J = ForwardRef$4I;
7206
+ const ForwardRef$4Q = React.forwardRef(SvgBulletList);
7207
+ const ForwardRef$4R = ForwardRef$4Q;
7206
7208
  const SvgCalendar = ({
7207
7209
  fill: fillProp = "currentColor",
7208
7210
  stroke: strokeProp,
@@ -7215,8 +7217,8 @@ const SvgCalendar = ({
7215
7217
  const stroke = strokeProp && strokeProp in colors ? colors[strokeProp] : strokeProp;
7216
7218
  return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, fill, stroke, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M26 4h-3V3a1 1 0 0 0-2 0v1H11V3a1 1 0 0 0-2 0v1H6a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 6H6V6h3v1a1 1 0 0 0 2 0V6h10v1a1 1 0 0 0 2 0V6h3z" }) });
7217
7219
  };
7218
- const ForwardRef$4G = React.forwardRef(SvgCalendar);
7219
- const ForwardRef$4H = ForwardRef$4G;
7220
+ const ForwardRef$4O = React.forwardRef(SvgCalendar);
7221
+ const ForwardRef$4P = ForwardRef$4O;
7220
7222
  const SvgCar = ({
7221
7223
  fill: fillProp = "currentColor",
7222
7224
  stroke: strokeProp,
@@ -7242,8 +7244,8 @@ const SvgCaretDown = ({
7242
7244
  const stroke = strokeProp && strokeProp in colors ? colors[strokeProp] : strokeProp;
7243
7245
  return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, fill, stroke, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m26.708 12.708-10 10a1 1 0 0 1-1.415 0l-10-10A1 1 0 0 1 6 11h20a1 1 0 0 1 .707 1.707" }) });
7244
7246
  };
7245
- const ForwardRef$4C = React.forwardRef(SvgCaretDown);
7246
- const ForwardRef$4D = ForwardRef$4C;
7247
+ const ForwardRef$4K = React.forwardRef(SvgCaretDown);
7248
+ const ForwardRef$4L = ForwardRef$4K;
7247
7249
  const SvgCaretUp = ({
7248
7250
  fill: fillProp = "currentColor",
7249
7251
  stroke: strokeProp,
@@ -7334,8 +7336,8 @@ const SvgCheck = ({
7334
7336
  const stroke = strokeProp && strokeProp in colors ? colors[strokeProp] : strokeProp;
7335
7337
  return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, fill, stroke, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m29.061 10.061-16 16a1.5 1.5 0 0 1-2.125 0l-7-7a1.504 1.504 0 0 1 2.125-2.125L12 22.875 26.939 7.939a1.502 1.502 0 1 1 2.125 2.125z" }) });
7336
7338
  };
7337
- const ForwardRef$4o = React.forwardRef(SvgCheck);
7338
- const ForwardRef$4p = ForwardRef$4o;
7339
+ const ForwardRef$4w = React.forwardRef(SvgCheck);
7340
+ const ForwardRef$4x = ForwardRef$4w;
7339
7341
  const SvgCheckCircle = ({
7340
7342
  fill: fillProp = "currentColor",
7341
7343
  stroke: strokeProp,
@@ -7348,8 +7350,8 @@ const SvgCheckCircle = ({
7348
7350
  const stroke = strokeProp && strokeProp in colors ? colors[strokeProp] : strokeProp;
7349
7351
  return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, fill, stroke, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M16 3a13 13 0 1 0 13 13A13.013 13.013 0 0 0 16 3m5.708 10.708-7 7a1 1 0 0 1-1.415 0l-3-3a1 1 0 0 1 1.415-1.415L14 18.586l6.293-6.293a1 1 0 0 1 1.415 1.415" }) });
7350
7352
  };
7351
- const ForwardRef$4m = React.forwardRef(SvgCheckCircle);
7352
- const ForwardRef$4n = ForwardRef$4m;
7353
+ const ForwardRef$4u = React.forwardRef(SvgCheckCircle);
7354
+ const ForwardRef$4v = ForwardRef$4u;
7353
7355
  const SvgChevronDown = ({
7354
7356
  fill: fillProp = "currentColor",
7355
7357
  stroke: strokeProp,
@@ -7375,8 +7377,8 @@ const SvgChevronLeft = ({
7375
7377
  const stroke = strokeProp && strokeProp in colors ? colors[strokeProp] : strokeProp;
7376
7378
  return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, fill, stroke, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21.061 24.939a1.503 1.503 0 0 1-2.125 2.125l-10-10a1.5 1.5 0 0 1 0-2.125l10-10a1.503 1.503 0 0 1 2.125 2.125L12.125 16z" }) });
7377
7379
  };
7378
- const ForwardRef$4i = React.forwardRef(SvgChevronLeft);
7379
- const ForwardRef$4j = ForwardRef$4i;
7380
+ const ForwardRef$4q = React.forwardRef(SvgChevronLeft);
7381
+ const ForwardRef$4r = ForwardRef$4q;
7380
7382
  const SvgChevronRight = ({
7381
7383
  fill: fillProp = "currentColor",
7382
7384
  stroke: strokeProp,
@@ -7389,8 +7391,8 @@ const SvgChevronRight = ({
7389
7391
  const stroke = strokeProp && strokeProp in colors ? colors[strokeProp] : strokeProp;
7390
7392
  return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, fill, stroke, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m23.061 17.061-10 10a1.503 1.503 0 0 1-2.125-2.125L19.875 16l-8.936-8.939a1.502 1.502 0 1 1 2.125-2.125l10 10a1.5 1.5 0 0 1-.003 2.125" }) });
7391
7393
  };
7392
- const ForwardRef$4g = React.forwardRef(SvgChevronRight);
7393
- const ForwardRef$4h = ForwardRef$4g;
7394
+ const ForwardRef$4o = React.forwardRef(SvgChevronRight);
7395
+ const ForwardRef$4p = ForwardRef$4o;
7394
7396
  const SvgChevronUp = ({
7395
7397
  fill: fillProp = "currentColor",
7396
7398
  stroke: strokeProp,
@@ -7416,8 +7418,8 @@ const SvgClock = ({
7416
7418
  const stroke = strokeProp && strokeProp in colors ? colors[strokeProp] : strokeProp;
7417
7419
  return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, fill, stroke, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M16 3a13 13 0 1 0 13 13A13.013 13.013 0 0 0 16 3m7 14h-7a1 1 0 0 1-1-1V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 0 2" }) });
7418
7420
  };
7419
- const ForwardRef$4c = React.forwardRef(SvgClock);
7420
- const ForwardRef$4d = ForwardRef$4c;
7421
+ const ForwardRef$4k = React.forwardRef(SvgClock);
7422
+ const ForwardRef$4l = ForwardRef$4k;
7421
7423
  const SvgClockCounterClockwise = ({
7422
7424
  fill: fillProp = "currentColor",
7423
7425
  stroke: strokeProp,
@@ -7469,8 +7471,21 @@ const SvgCode = ({
7469
7471
  const stroke = strokeProp && strokeProp in colors ? colors[strokeProp] : strokeProp;
7470
7472
  return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, fill, stroke, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8.96 12.153 4.342 16l4.618 3.848a1.5 1.5 0 1 1-1.92 2.305l-6-5a1.5 1.5 0 0 1 0-2.305l6-5a1.5 1.5 0 0 1 1.92 2.304m22 2.694-6-5a1.5 1.5 0 1 0-1.92 2.306L27.658 16l-4.618 3.848a1.5 1.5 0 1 0 1.92 2.305l6-5a1.5 1.5 0 0 0 0-2.305M20.512 3.59a1.5 1.5 0 0 0-1.922.898l-8 22a1.5 1.5 0 0 0 2.82 1.024l8-22a1.5 1.5 0 0 0-.898-1.922" }) });
7471
7473
  };
7472
- const ForwardRef$44 = React.forwardRef(SvgCode);
7473
- const ForwardRef$45 = ForwardRef$44;
7474
+ const ForwardRef$4c = React.forwardRef(SvgCode);
7475
+ const ForwardRef$4d = ForwardRef$4c;
7476
+ const SvgCodeBlock = ({
7477
+ fill: fillProp = "currentColor",
7478
+ stroke: strokeProp,
7479
+ ...props
7480
+ }, ref) => {
7481
+ const {
7482
+ colors
7483
+ } = styled.useTheme();
7484
+ const fill = fillProp && fillProp in colors ? colors[fillProp] : fillProp;
7485
+ const stroke = strokeProp && strokeProp in colors ? colors[strokeProp] : strokeProp;
7486
+ return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, viewBox: "0 0 256 256", fill, stroke, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M200 40h-32a16 16 0 0 0-16-16H32a16 16 0 0 0-16 16v80a16 16 0 0 0 16 16h8v64a16 16 0 0 0 16 16h144a16 16 0 0 0 16-16V56a16 16 0 0 0-16-16m-93.66 21.66a8 8 0 0 1 11.32-11.32l24 24a8 8 0 0 1 0 11.32l-24 24a8 8 0 0 1-11.32-11.32L124.69 80Zm-64 24a8 8 0 0 1 0-11.32l24-24a8 8 0 0 1 11.32 11.32L59.31 80l18.35 18.34a8 8 0 0 1-11.32 11.32ZM200 200H56v-64h96a16 16 0 0 0 16-16V56h32Z" }) });
7487
+ };
7488
+ React.forwardRef(SvgCodeBlock);
7474
7489
  const SvgCoffee = ({
7475
7490
  fill: fillProp = "currentColor",
7476
7491
  stroke: strokeProp,
@@ -7509,8 +7524,8 @@ const SvgCollapse = ({
7509
7524
  const stroke = strokeProp && strokeProp in colors ? colors[strokeProp] : strokeProp;
7510
7525
  return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, fill, stroke, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M18.5 12V6a1.5 1.5 0 1 1 3 0v4.5H26a1.5 1.5 0 1 1 0 3h-6a1.5 1.5 0 0 1-1.5-1.5M12 18.5H6a1.5 1.5 0 1 0 0 3h4.5V26a1.5 1.5 0 1 0 3 0v-6a1.5 1.5 0 0 0-1.5-1.5m14 0h-6a1.5 1.5 0 0 0-1.5 1.5v6a1.5 1.5 0 1 0 3 0v-4.5H26a1.5 1.5 0 1 0 0-3m-14-14A1.5 1.5 0 0 0 10.5 6v4.5H6a1.5 1.5 0 1 0 0 3h6a1.5 1.5 0 0 0 1.5-1.5V6A1.5 1.5 0 0 0 12 4.5" }) });
7511
7526
  };
7512
- const ForwardRef$3_ = React.forwardRef(SvgCollapse);
7513
- const ForwardRef$3$ = ForwardRef$3_;
7527
+ const ForwardRef$44 = React.forwardRef(SvgCollapse);
7528
+ const ForwardRef$45 = ForwardRef$44;
7514
7529
  const SvgCommand = ({
7515
7530
  fill: fillProp = "currentColor",
7516
7531
  stroke: strokeProp,
@@ -7549,8 +7564,8 @@ const SvgCross = ({
7549
7564
  const stroke = strokeProp && strokeProp in colors ? colors[strokeProp] : strokeProp;
7550
7565
  return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, fill, stroke, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M26.061 23.939a1.503 1.503 0 0 1-2.125 2.125L16 18.125l-7.939 7.936a1.503 1.503 0 1 1-2.125-2.125L13.875 16 5.939 8.061a1.503 1.503 0 1 1 2.125-2.125L16 13.875l7.939-7.94a1.502 1.502 0 1 1 2.125 2.125L18.125 16z" }) });
7551
7566
  };
7552
- const ForwardRef$3U = React.forwardRef(SvgCross);
7553
- const ForwardRef$3V = ForwardRef$3U;
7567
+ const ForwardRef$3_ = React.forwardRef(SvgCross);
7568
+ const ForwardRef$3$ = ForwardRef$3_;
7554
7569
  const SvgCrossCircle = ({
7555
7570
  fill: fillProp = "currentColor",
7556
7571
  stroke: strokeProp,
@@ -7722,8 +7737,8 @@ const SvgExpand = ({
7722
7737
  const stroke = strokeProp && strokeProp in colors ? colors[strokeProp] : strokeProp;
7723
7738
  return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, fill, stroke, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M27.5 6v5a1.5 1.5 0 1 1-3 0V7.5H21a1.5 1.5 0 0 1 0-3h5A1.5 1.5 0 0 1 27.5 6M11 24.5H7.5V21a1.5 1.5 0 0 0-3 0v5A1.5 1.5 0 0 0 6 27.5h5a1.5 1.5 0 1 0 0-3m15-5a1.5 1.5 0 0 0-1.5 1.5v3.5H21a1.5 1.5 0 1 0 0 3h5a1.5 1.5 0 0 0 1.5-1.5v-5a1.5 1.5 0 0 0-1.5-1.5m-15-15H6A1.5 1.5 0 0 0 4.5 6v5a1.5 1.5 0 0 0 3 0V7.5H11a1.5 1.5 0 0 0 0-3" }) });
7724
7739
  };
7725
- const ForwardRef$3u = React.forwardRef(SvgExpand);
7726
- const ForwardRef$3v = ForwardRef$3u;
7740
+ const ForwardRef$3A = React.forwardRef(SvgExpand);
7741
+ const ForwardRef$3B = ForwardRef$3A;
7727
7742
  const SvgExternalLink = ({
7728
7743
  fill: fillProp = "currentColor",
7729
7744
  stroke: strokeProp,
@@ -7736,8 +7751,8 @@ const SvgExternalLink = ({
7736
7751
  const stroke = strokeProp && strokeProp in colors ? colors[strokeProp] : strokeProp;
7737
7752
  return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, fill, stroke, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M28.5 13a1.5 1.5 0 1 1-3 0V8.625l-7.439 7.439a1.503 1.503 0 1 1-2.125-2.125L23.375 6.5H19a1.5 1.5 0 0 1 0-3h8A1.5 1.5 0 0 1 28.5 5zM23 16a1.5 1.5 0 0 0-1.5 1.5v8h-15v-15h8a1.5 1.5 0 1 0 0-3H6A2.5 2.5 0 0 0 3.5 10v16A2.5 2.5 0 0 0 6 28.5h16a2.5 2.5 0 0 0 2.5-2.5v-8.5A1.5 1.5 0 0 0 23 16" }) });
7738
7753
  };
7739
- const ForwardRef$3s = React.forwardRef(SvgExternalLink);
7740
- const ForwardRef$3t = ForwardRef$3s;
7754
+ const ForwardRef$3y = React.forwardRef(SvgExternalLink);
7755
+ const ForwardRef$3z = ForwardRef$3y;
7741
7756
  const SvgEye = ({
7742
7757
  fill: fillProp = "currentColor",
7743
7758
  stroke: strokeProp,
@@ -7750,8 +7765,8 @@ const SvgEye = ({
7750
7765
  const stroke = strokeProp && strokeProp in colors ? colors[strokeProp] : strokeProp;
7751
7766
  return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, fill, stroke, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M30.914 15.595c-.044-.099-1.103-2.447-3.457-4.801C24.322 7.657 20.36 6 16 6S7.679 7.657 4.542 10.794C2.19 13.148 1.125 15.5 1.086 15.595a1 1 0 0 0 0 .812c.044.1 1.103 2.447 3.456 4.8C7.68 24.344 11.64 26 16 26s8.321-1.657 11.458-4.792c2.353-2.354 3.412-4.702 3.456-4.8a1 1 0 0 0 0-.813M16 21a5 5 0 1 1 0-10 5 5 0 0 1 0 10" }) });
7752
7767
  };
7753
- const ForwardRef$3q = React.forwardRef(SvgEye);
7754
- const ForwardRef$3r = ForwardRef$3q;
7768
+ const ForwardRef$3w = React.forwardRef(SvgEye);
7769
+ const ForwardRef$3x = ForwardRef$3w;
7755
7770
  const SvgEyeStriked = ({
7756
7771
  fill: fillProp = "currentColor",
7757
7772
  stroke: strokeProp,
@@ -7804,6 +7819,19 @@ const SvgFile = ({
7804
7819
  return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, fill, stroke, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m26.708 10.293-7-7A1 1 0 0 0 19 3H7a2 2 0 0 0-2 2v22a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2V11a1 1 0 0 0-.293-.707M19 11V5.5l5.5 5.5z" }) });
7805
7820
  };
7806
7821
  React.forwardRef(SvgFile);
7822
+ const SvgFileCsv = ({
7823
+ fill: fillProp = "currentColor",
7824
+ stroke: strokeProp,
7825
+ ...props
7826
+ }, ref) => {
7827
+ const {
7828
+ colors
7829
+ } = styled.useTheme();
7830
+ const fill = fillProp && fillProp in colors ? colors[fillProp] : fillProp;
7831
+ const stroke = strokeProp && strokeProp in colors ? colors[strokeProp] : strokeProp;
7832
+ return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, viewBox: "0 0 256 256", fill, stroke, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m213.66 82.34-56-56A8 8 0 0 0 152 24H56a16 16 0 0 0-16 16v76a4 4 0 0 0 4 4h168a4 4 0 0 0 4-4V88a8 8 0 0 0-2.34-5.66M152 88V44l44 44ZM48 180c0 11 7.18 20 16 20a14.18 14.18 0 0 0 10.06-4.5 8.21 8.21 0 0 1 10.9-.91 8 8 0 0 1 .82 11.81A30.06 30.06 0 0 1 64 216c-17.64 0-32-16.15-32-36s14.36-36 32-36a30 30 0 0 1 21.39 9.19 8.26 8.26 0 0 1 .73 11.09 8 8 0 0 1-11.9.38A14.17 14.17 0 0 0 64 160c-8.82 0-16 9-16 20m103.81 16.31a20.82 20.82 0 0 1-9.19 15.23C137.43 215 131 216 125.13 216a61.1 61.1 0 0 1-15.13-2 8 8 0 1 1 4.3-15.41c4.38 1.2 14.95 2.7 19.55-.36.88-.59 1.83-1.52 2.14-3.93.35-2.67-.71-4.1-12.78-7.59-9.35-2.7-25-7.23-23-23.11a20.56 20.56 0 0 1 9-14.95c11.84-8 30.71-3.31 32.83-2.76a8 8 0 0 1-4.07 15.48c-4.49-1.17-15.23-2.56-19.83.56a4.54 4.54 0 0 0-2 3.67c-.12.9-.14 1.09 1.11 1.9 2.31 1.49 6.45 2.68 10.45 3.84 9.79 2.83 26.35 7.66 24.11 24.97M215.42 155l-19.89 55.68a8 8 0 0 1-15.06 0L160.58 155a8.21 8.21 0 0 1 4.5-10.45 8 8 0 0 1 10.45 4.76l12.47 34.9 12.47-34.9a8 8 0 0 1 10.45-4.76 8.23 8.23 0 0 1 4.5 10.45" }) });
7833
+ };
7834
+ React.forwardRef(SvgFileCsv);
7807
7835
  const SvgFileError = ({
7808
7836
  fill: fillProp = "currentColor",
7809
7837
  stroke: strokeProp,
@@ -7830,6 +7858,32 @@ const SvgFilePdf = ({
7830
7858
  return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, fill, stroke, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6 15h20a1 1 0 0 0 1-1v-3a1 1 0 0 0-.293-.707l-7-7A1 1 0 0 0 19 3H7a2 2 0 0 0-2 2v9a1 1 0 0 0 1 1m13-9.5 5.5 5.5H19zM28 19a1 1 0 0 1-1 1h-3v2h2a1 1 0 0 1 0 2h-2v2a1 1 0 0 1-2 0v-7a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1M8 18H6a1 1 0 0 0-1 1v7a1 1 0 1 0 2 0v-1h1a3.5 3.5 0 1 0 0-7m0 5H7v-3h1a1.5 1.5 0 1 1 0 3m8-5h-2a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h2a4.5 4.5 0 1 0 0-9m0 7h-1v-5h1a2.5 2.5 0 0 1 0 5" }) });
7831
7859
  };
7832
7860
  React.forwardRef(SvgFilePdf);
7861
+ const SvgFileXls = ({
7862
+ fill: fillProp = "currentColor",
7863
+ stroke: strokeProp,
7864
+ ...props
7865
+ }, ref) => {
7866
+ const {
7867
+ colors
7868
+ } = styled.useTheme();
7869
+ const fill = fillProp && fillProp in colors ? colors[fillProp] : fillProp;
7870
+ const stroke = strokeProp && strokeProp in colors ? colors[strokeProp] : strokeProp;
7871
+ return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, viewBox: "0 0 256 256", fill, stroke, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M44 120h168a4 4 0 0 0 4-4V88a8 8 0 0 0-2.34-5.66l-56-56A8 8 0 0 0 152 24H56a16 16 0 0 0-16 16v76a4 4 0 0 0 4 4m108-76 44 44h-44Zm4 164.53a8.18 8.18 0 0 1-8.25 7.47H120a8 8 0 0 1-8-8v-55.73a8.18 8.18 0 0 1 7.47-8.25 8 8 0 0 1 8.53 8v48h20a8 8 0 0 1 8 8.51m-61.49-51.88L77.83 180l16.68 23.35a8 8 0 0 1-13 9.3L68 193.76l-13.49 18.89a8 8 0 1 1-13-9.3L58.17 180l-16.68-23.35a8 8 0 0 1 2.3-11.46 8.19 8.19 0 0 1 10.88 2.38L68 166.24l13.49-18.89a8 8 0 0 1 13 9.3Zm121.28 39.66a20.81 20.81 0 0 1-9.18 15.23c-5.19 3.46-11.67 4.46-17.49 4.46a60.6 60.6 0 0 1-15.19-2 8 8 0 0 1 4.31-15.41c4.38 1.21 14.94 2.71 19.54-.35.89-.6 1.84-1.52 2.15-3.93.34-2.67-.72-4.1-12.78-7.59-9.35-2.7-25-7.23-23-23.12a20.58 20.58 0 0 1 8.95-14.94c11.84-8 30.72-3.31 32.83-2.76a8 8 0 0 1-4.07 15.48c-4.48-1.17-15.22-2.56-19.82.56a4.54 4.54 0 0 0-2 3.67c-.11.9-.13 1.08 1.12 1.9 2.31 1.49 6.45 2.68 10.45 3.84 9.87 2.82 26.39 7.65 24.18 24.96" }) });
7872
+ };
7873
+ React.forwardRef(SvgFileXls);
7874
+ const SvgFileZip = ({
7875
+ fill: fillProp = "currentColor",
7876
+ stroke: strokeProp,
7877
+ ...props
7878
+ }, ref) => {
7879
+ const {
7880
+ colors
7881
+ } = styled.useTheme();
7882
+ const fill = fillProp && fillProp in colors ? colors[fillProp] : fillProp;
7883
+ const stroke = strokeProp && strokeProp in colors ? colors[strokeProp] : strokeProp;
7884
+ return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, viewBox: "0 0 256 256", fill, stroke, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M184 144h-16a8 8 0 0 0-8 8v55.73a8.17 8.17 0 0 0 7.47 8.25 8 8 0 0 0 8.53-8v-8h7.4c15.24 0 28.14-11.92 28.59-27.15A28 28 0 0 0 184 144m-.35 40H176v-24h8a12 12 0 0 1 12 13.16A12.25 12.25 0 0 1 183.65 184M136 152v55.73a8.17 8.17 0 0 1-7.47 8.25 8 8 0 0 1-8.53-8v-55.71a8.17 8.17 0 0 1 7.47-8.25A8 8 0 0 1 136 152m-40 56.53a8.17 8.17 0 0 1-8.27 7.47h-31.5a8.27 8.27 0 0 1-6-2.5 8 8 0 0 1-1.18-9.5l25.16-44H56.27a8.17 8.17 0 0 1-8.27-7.47 8 8 0 0 1 8-8.53h31.77a8.27 8.27 0 0 1 6 2.5A8 8 0 0 1 95 156l-25.21 44H88a8 8 0 0 1 8 8.53M213.66 82.34l-56-56A8 8 0 0 0 152 24H56a16 16 0 0 0-16 16v76a4 4 0 0 0 4 4h168a4 4 0 0 0 4-4V88a8 8 0 0 0-2.34-5.66M152 88V44l44 44Z" }) });
7885
+ };
7886
+ React.forwardRef(SvgFileZip);
7833
7887
  const SvgFilter = ({
7834
7888
  fill: fillProp = "currentColor",
7835
7889
  stroke: strokeProp,
@@ -9627,9 +9681,9 @@ var handleScroll$1 = function(axis, endTarget, event, sourceDelta, noOverscroll)
9627
9681
  !targetInLock && target !== document.body || // self content
9628
9682
  targetInLock && (endTarget.contains(target) || endTarget === target)
9629
9683
  );
9630
- if (isDeltaPositive && (availableScroll === 0 || !noOverscroll)) {
9684
+ if (isDeltaPositive && (availableScroll === 0 || false)) {
9631
9685
  shouldCancelScroll = true;
9632
- } else if (!isDeltaPositive && (availableScrollTop === 0 || !noOverscroll)) {
9686
+ } else if (!isDeltaPositive && (availableScrollTop === 0 || false)) {
9633
9687
  shouldCancelScroll = true;
9634
9688
  }
9635
9689
  return shouldCancelScroll;
@@ -9713,7 +9767,7 @@ function RemoveScrollSideCar$1(props) {
9713
9767
  return true;
9714
9768
  }
9715
9769
  var cancelingAxis = activeAxis.current || currentAxis;
9716
- return handleScroll$1(cancelingAxis, parent, event, cancelingAxis === "h" ? deltaX : deltaY, true);
9770
+ return handleScroll$1(cancelingAxis, parent, event, cancelingAxis === "h" ? deltaX : deltaY);
9717
9771
  }, []);
9718
9772
  var shouldPrevent = React__namespace.useCallback(function(_event) {
9719
9773
  var event = _event;
@@ -12803,9 +12857,9 @@ var handleScroll = function(axis, endTarget, event, sourceDelta, noOverscroll) {
12803
12857
  !targetInLock && target !== document.body || // self content
12804
12858
  targetInLock && (endTarget.contains(target) || endTarget === target)
12805
12859
  );
12806
- if (isDeltaPositive && (Math.abs(availableScroll) < 1 || !noOverscroll)) {
12860
+ if (isDeltaPositive && (Math.abs(availableScroll) < 1 || false)) {
12807
12861
  shouldCancelScroll = true;
12808
- } else if (!isDeltaPositive && (Math.abs(availableScrollTop) < 1 || !noOverscroll)) {
12862
+ } else if (!isDeltaPositive && (Math.abs(availableScrollTop) < 1 || false)) {
12809
12863
  shouldCancelScroll = true;
12810
12864
  }
12811
12865
  return shouldCancelScroll;
@@ -12887,7 +12941,7 @@ function RemoveScrollSideCar(props) {
12887
12941
  return true;
12888
12942
  }
12889
12943
  var cancelingAxis = activeAxis.current || currentAxis;
12890
- return handleScroll(cancelingAxis, parent, event, cancelingAxis === "h" ? deltaX : deltaY, true);
12944
+ return handleScroll(cancelingAxis, parent, event, cancelingAxis === "h" ? deltaX : deltaY);
12891
12945
  }, []);
12892
12946
  var shouldPrevent = React__namespace.useCallback(function(_event) {
12893
12947
  var event = _event;
@@ -16530,11 +16584,11 @@ class HighlightBuilder {
16530
16584
  for (let i = 0, pos = start; ; i++) {
16531
16585
  let next = i < mounted.overlay.length ? mounted.overlay[i] : null;
16532
16586
  let nextPos = next ? next.from + start : end;
16533
- let rangeFrom = Math.max(from, pos), rangeTo = Math.min(to, nextPos);
16534
- if (rangeFrom < rangeTo && hasChild2) {
16535
- while (cursor2.from < rangeTo) {
16536
- this.highlightRange(cursor2, rangeFrom, rangeTo, inheritedClass, highlighters);
16537
- this.startSpan(Math.min(rangeTo, cursor2.to), cls);
16587
+ let rangeFrom2 = Math.max(from, pos), rangeTo2 = Math.min(to, nextPos);
16588
+ if (rangeFrom2 < rangeTo2 && hasChild2) {
16589
+ while (cursor2.from < rangeTo2) {
16590
+ this.highlightRange(cursor2, rangeFrom2, rangeTo2, inheritedClass, highlighters);
16591
+ this.startSpan(Math.min(rangeTo2, cursor2.to), cls);
16538
16592
  if (cursor2.to >= nextPos || !cursor2.nextSibling())
16539
16593
  break;
16540
16594
  }
@@ -16981,30 +17035,101 @@ const jsonHighlighting = styleTags({
16981
17035
  "True False": tags.bool,
16982
17036
  PropertyName: tags.propertyName,
16983
17037
  Null: tags.null,
16984
- ",": tags.separator,
17038
+ ", :": tags.separator,
16985
17039
  "[ ]": tags.squareBracket,
16986
17040
  "{ }": tags.brace
16987
17041
  });
16988
17042
  const parser = LRParser.deserialize({
16989
17043
  version: 14,
16990
- states: "$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j",
16991
- stateData: "#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O",
16992
- goto: "!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",
16993
- nodeNames: "⚠ JsonText True False Null Number String } { Object Property PropertyName ] [ Array",
17044
+ states: "$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#ClOOQO'#Cr'#CrQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CtOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59W,59WO!iQPO,59WOVQPO,59QOqQPO'#CmO!nQPO,59`OOQO1G.k1G.kOVQPO'#CnO!vQPO,59aOOQO1G.r1G.rOOQO1G.l1G.lOOQO,59X,59XOOQO-E6k-E6kOOQO,59Y,59YOOQO-E6l-E6l",
17045
+ stateData: "#O~OeOS~OQSORSOSSOTSOWQO_ROgPO~OVXOgUO~O^[O~PVO[^O~O]_OVhX~OVaO~O]bO^iX~O^dO~O]_OVha~O]bO^ia~O",
17046
+ goto: "!kjPPPPPPkPPkqwPPPPk{!RPPP!XP!e!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",
17047
+ nodeNames: "⚠ JsonText True False Null Number String } { Object Property PropertyName : , ] [ Array",
16994
17048
  maxTerm: 25,
16995
17049
  nodeProps: [
16996
17050
  ["isolate", -2, 6, 11, ""],
16997
- ["openedBy", 7, "{", 12, "["],
16998
- ["closedBy", 8, "}", 13, "]"]
17051
+ ["openedBy", 7, "{", 14, "["],
17052
+ ["closedBy", 8, "}", 15, "]"]
16999
17053
  ],
17000
17054
  propSources: [jsonHighlighting],
17001
17055
  skippedNodes: [0],
17002
17056
  repeatNodeCount: 2,
17003
- tokenData: "(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oc~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Oe~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zOh~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yOg~~'OO]~~'TO[~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",
17057
+ tokenData: "(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oe~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Og~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zO]~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yO[~~'OO_~~'TO^~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",
17004
17058
  tokenizers: [0],
17005
17059
  topRules: { "JsonText": [0, 1] },
17006
17060
  tokenPrec: 0
17007
17061
  });
17062
+ let rangeFrom = [], rangeTo = [];
17063
+ (() => {
17064
+ let numbers = "lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map((s2) => s2 ? parseInt(s2, 36) : 1);
17065
+ for (let i = 0, n2 = 0; i < numbers.length; i++)
17066
+ (i % 2 ? rangeTo : rangeFrom).push(n2 = n2 + numbers[i]);
17067
+ })();
17068
+ function isExtendingChar(code) {
17069
+ if (code < 768) return false;
17070
+ for (let from = 0, to = rangeFrom.length; ; ) {
17071
+ let mid = from + to >> 1;
17072
+ if (code < rangeFrom[mid]) to = mid;
17073
+ else if (code >= rangeTo[mid]) from = mid + 1;
17074
+ else return true;
17075
+ if (from == to) return false;
17076
+ }
17077
+ }
17078
+ function isRegionalIndicator(code) {
17079
+ return code >= 127462 && code <= 127487;
17080
+ }
17081
+ const ZWJ = 8205;
17082
+ function findClusterBreak$1(str, pos, forward = true, includeExtending = true) {
17083
+ return (forward ? nextClusterBreak : prevClusterBreak)(str, pos, includeExtending);
17084
+ }
17085
+ function nextClusterBreak(str, pos, includeExtending) {
17086
+ if (pos == str.length) return pos;
17087
+ if (pos && surrogateLow$1(str.charCodeAt(pos)) && surrogateHigh$1(str.charCodeAt(pos - 1))) pos--;
17088
+ let prev = codePointAt$1(str, pos);
17089
+ pos += codePointSize$1(prev);
17090
+ while (pos < str.length) {
17091
+ let next = codePointAt$1(str, pos);
17092
+ if (prev == ZWJ || next == ZWJ || includeExtending && isExtendingChar(next)) {
17093
+ pos += codePointSize$1(next);
17094
+ prev = next;
17095
+ } else if (isRegionalIndicator(next)) {
17096
+ let countBefore = 0, i = pos - 2;
17097
+ while (i >= 0 && isRegionalIndicator(codePointAt$1(str, i))) {
17098
+ countBefore++;
17099
+ i -= 2;
17100
+ }
17101
+ if (countBefore % 2 == 0) break;
17102
+ else pos += 2;
17103
+ } else {
17104
+ break;
17105
+ }
17106
+ }
17107
+ return pos;
17108
+ }
17109
+ function prevClusterBreak(str, pos, includeExtending) {
17110
+ while (pos > 0) {
17111
+ let found = nextClusterBreak(str, pos - 2, includeExtending);
17112
+ if (found < pos) return found;
17113
+ pos--;
17114
+ }
17115
+ return 0;
17116
+ }
17117
+ function codePointAt$1(str, pos) {
17118
+ let code0 = str.charCodeAt(pos);
17119
+ if (!surrogateHigh$1(code0) || pos + 1 == str.length) return code0;
17120
+ let code1 = str.charCodeAt(pos + 1);
17121
+ if (!surrogateLow$1(code1)) return code0;
17122
+ return (code0 - 55296 << 10) + (code1 - 56320) + 65536;
17123
+ }
17124
+ function surrogateLow$1(ch) {
17125
+ return ch >= 56320 && ch < 57344;
17126
+ }
17127
+ function surrogateHigh$1(ch) {
17128
+ return ch >= 55296 && ch < 56320;
17129
+ }
17130
+ function codePointSize$1(code) {
17131
+ return code < 65536 ? 1 : 2;
17132
+ }
17008
17133
  class Text {
17009
17134
  /**
17010
17135
  Get the line description around the given position.
@@ -17555,58 +17680,8 @@ function clip(text, from, to) {
17555
17680
  from = Math.max(0, Math.min(text.length, from));
17556
17681
  return [from, Math.max(from, Math.min(text.length, to))];
17557
17682
  }
17558
- let extend = /* @__PURE__ */ "lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map((s2) => s2 ? parseInt(s2, 36) : 1);
17559
- for (let i = 1; i < extend.length; i++)
17560
- extend[i] += extend[i - 1];
17561
- function isExtendingChar(code) {
17562
- for (let i = 1; i < extend.length; i += 2)
17563
- if (extend[i] > code)
17564
- return extend[i - 1] <= code;
17565
- return false;
17566
- }
17567
- function isRegionalIndicator(code) {
17568
- return code >= 127462 && code <= 127487;
17569
- }
17570
- const ZWJ = 8205;
17571
17683
  function findClusterBreak(str, pos, forward = true, includeExtending = true) {
17572
- return (forward ? nextClusterBreak : prevClusterBreak)(str, pos, includeExtending);
17573
- }
17574
- function nextClusterBreak(str, pos, includeExtending) {
17575
- if (pos == str.length)
17576
- return pos;
17577
- if (pos && surrogateLow(str.charCodeAt(pos)) && surrogateHigh(str.charCodeAt(pos - 1)))
17578
- pos--;
17579
- let prev = codePointAt(str, pos);
17580
- pos += codePointSize(prev);
17581
- while (pos < str.length) {
17582
- let next = codePointAt(str, pos);
17583
- if (prev == ZWJ || next == ZWJ || includeExtending && isExtendingChar(next)) {
17584
- pos += codePointSize(next);
17585
- prev = next;
17586
- } else if (isRegionalIndicator(next)) {
17587
- let countBefore = 0, i = pos - 2;
17588
- while (i >= 0 && isRegionalIndicator(codePointAt(str, i))) {
17589
- countBefore++;
17590
- i -= 2;
17591
- }
17592
- if (countBefore % 2 == 0)
17593
- break;
17594
- else
17595
- pos += 2;
17596
- } else {
17597
- break;
17598
- }
17599
- }
17600
- return pos;
17601
- }
17602
- function prevClusterBreak(str, pos, includeExtending) {
17603
- while (pos > 0) {
17604
- let found = nextClusterBreak(str, pos - 2, includeExtending);
17605
- if (found < pos)
17606
- return found;
17607
- pos--;
17608
- }
17609
- return 0;
17684
+ return findClusterBreak$1(str, pos, forward, includeExtending);
17610
17685
  }
17611
17686
  function surrogateLow(ch) {
17612
17687
  return ch >= 56320 && ch < 57344;
@@ -17736,7 +17811,7 @@ class ChangeDesc {
17736
17811
  Map this description, which should start with the same document
17737
17812
  as `other`, over another set of changes, so that it can be
17738
17813
  applied after it. When `before` is true, map as if the changes
17739
- in `other` happened before the ones in `this`.
17814
+ in `this` happened before the ones in `other`.
17740
17815
  */
17741
17816
  mapDesc(other, before = false) {
17742
17817
  return other.empty ? this : mapSet(this, other, before);
@@ -18037,7 +18112,7 @@ function addSection(sections, len, ins, forceJoin = false) {
18037
18112
  let last = sections.length - 2;
18038
18113
  if (last >= 0 && ins <= 0 && ins == sections[last + 1])
18039
18114
  sections[last] += len;
18040
- else if (len == 0 && sections[last] == 0)
18115
+ else if (last >= 0 && len == 0 && sections[last] == 0)
18041
18116
  sections[last + 1] += ins;
18042
18117
  else if (forceJoin) {
18043
18118
  sections[last] += len;
@@ -18086,7 +18161,9 @@ function mapSet(setA, setB, before, mkSet = false) {
18086
18161
  let sections = [], insert2 = mkSet ? [] : null;
18087
18162
  let a2 = new SectionIter(setA), b2 = new SectionIter(setB);
18088
18163
  for (let inserted = -1; ; ) {
18089
- if (a2.ins == -1 && b2.ins == -1) {
18164
+ if (a2.done && b2.len || b2.done && a2.len) {
18165
+ throw new Error("Mismatched change set lengths");
18166
+ } else if (a2.ins == -1 && b2.ins == -1) {
18090
18167
  let len = Math.min(a2.len, b2.len);
18091
18168
  addSection(sections, len, -1);
18092
18169
  a2.forward(len);
@@ -20317,7 +20394,7 @@ function compare(a2, startA, b2, startB, length, comparator) {
20317
20394
  let endB = startB + length;
20318
20395
  let pos = startB, dPos = startB - startA;
20319
20396
  for (; ; ) {
20320
- let diff = a2.to + dPos - b2.to || a2.endSide - b2.endSide;
20397
+ let dEnd = a2.to + dPos - b2.to, diff = dEnd || a2.endSide - b2.endSide;
20321
20398
  let end = diff < 0 ? a2.to + dPos : b2.to, clipEnd = Math.min(end, endB);
20322
20399
  if (a2.point || b2.point) {
20323
20400
  if (!(a2.point && b2.point && (a2.point == b2.point || a2.point.eq(b2.point)) && sameValues(a2.activeForPoint(a2.to), b2.activeForPoint(b2.to))))
@@ -20328,6 +20405,8 @@ function compare(a2, startA, b2, startB, length, comparator) {
20328
20405
  }
20329
20406
  if (end > endB)
20330
20407
  break;
20408
+ if ((dEnd || a2.openEnd != b2.openEnd) && comparator.boundChange)
20409
+ comparator.boundChange(end);
20331
20410
  pos = end;
20332
20411
  if (diff <= 0)
20333
20412
  a2.next();
@@ -21016,7 +21095,7 @@ class ContentView {
21016
21095
  child.reuseDOM(next);
21017
21096
  }
21018
21097
  child.sync(view, track);
21019
- child.flags &= ~7;
21098
+ child.flags &= -8;
21020
21099
  }
21021
21100
  next = prev ? prev.nextSibling : parent.firstChild;
21022
21101
  if (track && !track.written && track.node == parent && next != child.dom)
@@ -21038,7 +21117,7 @@ class ContentView {
21038
21117
  for (let child of this.children)
21039
21118
  if (child.flags & 7) {
21040
21119
  child.sync(view, track);
21041
- child.flags &= ~7;
21120
+ child.flags &= -8;
21042
21121
  }
21043
21122
  }
21044
21123
  }
@@ -23062,6 +23141,15 @@ class ViewUpdate {
23062
23141
  return (this.flags & 4) > 0;
23063
23142
  }
23064
23143
  /**
23144
+ Returns true when
23145
+ [`viewportChanged`](https://codemirror.net/6/docs/ref/#view.ViewUpdate.viewportChanged) is true
23146
+ and the viewport change is not just the result of mapping it in
23147
+ response to document changes.
23148
+ */
23149
+ get viewportMoved() {
23150
+ return (this.flags & 8) > 0;
23151
+ }
23152
+ /**
23065
23153
  Indicates whether the height of a block element in the editor
23066
23154
  changed in this update.
23067
23155
  */
@@ -23073,7 +23161,7 @@ class ViewUpdate {
23073
23161
  editor, or elements within the editor, changed.
23074
23162
  */
23075
23163
  get geometryChanged() {
23076
- return this.docChanged || (this.flags & (8 | 2)) > 0;
23164
+ return this.docChanged || (this.flags & (16 | 2)) > 0;
23077
23165
  }
23078
23166
  /**
23079
23167
  True when this update indicates a focus change.
@@ -23180,13 +23268,13 @@ class DocView extends ContentView {
23180
23268
  this.dom.style.flexBasis = this.minWidth ? this.minWidth + "px" : "";
23181
23269
  let track = browser.chrome || browser.ios ? { node: observer.selectionRange.focusNode, written: false } : void 0;
23182
23270
  this.sync(this.view, track);
23183
- this.flags &= ~7;
23271
+ this.flags &= -8;
23184
23272
  if (track && (track.written || observer.selectionRange.focusNode != track.node))
23185
23273
  this.forceSelection = true;
23186
23274
  this.dom.style.height = "";
23187
23275
  });
23188
23276
  this.markedForComposition.forEach(
23189
- (cView) => cView.flags &= ~8
23277
+ (cView) => cView.flags &= -9
23190
23278
  /* ViewFlag.Composition */
23191
23279
  );
23192
23280
  let gaps = [];
@@ -23275,7 +23363,7 @@ class DocView extends ContentView {
23275
23363
  if (mustRead || !this.view.observer.selectionRange.focusNode)
23276
23364
  this.view.observer.readSelectionRange();
23277
23365
  let activeElt = this.view.root.activeElement, focused = activeElt == this.dom;
23278
- let selectionNotFocus = !focused && hasSelection(this.dom, this.view.observer.selectionRange) && !(activeElt && this.dom.contains(activeElt));
23366
+ let selectionNotFocus = !focused && !(this.view.state.facet(editable) || this.dom.tabIndex > -1) && hasSelection(this.dom, this.view.observer.selectionRange) && !(activeElt && this.dom.contains(activeElt));
23279
23367
  if (!(focused || fromPointer || selectionNotFocus))
23280
23368
  return;
23281
23369
  let force = this.forceSelection;
@@ -23673,6 +23761,9 @@ let DecorationComparator$1 = class DecorationComparator {
23673
23761
  comparePoint(from, to) {
23674
23762
  addRange(from, to, this.changes);
23675
23763
  }
23764
+ boundChange(pos) {
23765
+ addRange(pos, pos, this.changes);
23766
+ }
23676
23767
  };
23677
23768
  function findChangedDeco(a2, b2, diff) {
23678
23769
  let comp = new DecorationComparator$1();
@@ -24843,15 +24934,15 @@ function basicMouseSelection(view, event) {
24843
24934
  startSel = startSel.map(update.changes);
24844
24935
  }
24845
24936
  },
24846
- get(event2, extend2, multiple) {
24937
+ get(event2, extend, multiple) {
24847
24938
  let cur2 = queryPos(view, event2), removed;
24848
24939
  let range = rangeForClick(view, cur2.pos, cur2.bias, type);
24849
- if (start.pos != cur2.pos && !extend2) {
24940
+ if (start.pos != cur2.pos && !extend) {
24850
24941
  let startRange = rangeForClick(view, start.pos, start.bias, type);
24851
24942
  let from = Math.min(startRange.from, range.from), to = Math.max(startRange.to, range.to);
24852
24943
  range = from < range.from ? EditorSelection.range(from, to) : EditorSelection.range(to, from);
24853
24944
  }
24854
- if (extend2)
24945
+ if (extend)
24855
24946
  return startSel.replaceRange(startSel.main.extend(range.from, range.to));
24856
24947
  else if (multiple && type == 1 && startSel.ranges.length > 1 && (removed = removeRangeAround(startSel, cur2.pos)))
24857
24948
  return removed;
@@ -25269,7 +25360,7 @@ class HeightMap {
25269
25360
  return (this.flags & 2) > 0;
25270
25361
  }
25271
25362
  set outdated(value) {
25272
- this.flags = (value ? 2 : 0) | this.flags & ~2;
25363
+ this.flags = (value ? 2 : 0) | this.flags & -3;
25273
25364
  }
25274
25365
  setHeight(height) {
25275
25366
  if (this.height != height) {
@@ -25991,7 +26082,7 @@ class ViewState {
25991
26082
  this.updateViewportLines();
25992
26083
  if (this.lineGaps.length || this.viewport.to - this.viewport.from > 2e3 << 1)
25993
26084
  this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps, update.changes)));
25994
- update.flags |= this.computeVisibleRanges();
26085
+ update.flags |= this.computeVisibleRanges(update.changes);
25995
26086
  if (scrollTarget)
25996
26087
  this.scrollTarget = scrollTarget;
25997
26088
  if (!this.mustEnforceCursorAssoc && update.selectionSet && update.view.lineWrapping && update.state.selection.main.empty && update.state.selection.main.assoc && !update.state.facet(nativeSelectionHidden))
@@ -26013,7 +26104,7 @@ class ViewState {
26013
26104
  if (scaleX > 5e-3 && Math.abs(this.scaleX - scaleX) > 5e-3 || scaleY > 5e-3 && Math.abs(this.scaleY - scaleY) > 5e-3) {
26014
26105
  this.scaleX = scaleX;
26015
26106
  this.scaleY = scaleY;
26016
- result |= 8;
26107
+ result |= 16;
26017
26108
  refresh = measureContent = true;
26018
26109
  }
26019
26110
  }
@@ -26022,13 +26113,13 @@ class ViewState {
26022
26113
  if (this.paddingTop != paddingTop || this.paddingBottom != paddingBottom) {
26023
26114
  this.paddingTop = paddingTop;
26024
26115
  this.paddingBottom = paddingBottom;
26025
- result |= 8 | 2;
26116
+ result |= 16 | 2;
26026
26117
  }
26027
26118
  if (this.editorWidth != view.scrollDOM.clientWidth) {
26028
26119
  if (oracle.lineWrapping)
26029
26120
  measureContent = true;
26030
26121
  this.editorWidth = view.scrollDOM.clientWidth;
26031
- result |= 8;
26122
+ result |= 16;
26032
26123
  }
26033
26124
  let scrollTop = view.scrollDOM.scrollTop * this.scaleY;
26034
26125
  if (this.scrollTop != scrollTop) {
@@ -26051,7 +26142,7 @@ class ViewState {
26051
26142
  if (this.contentDOMWidth != contentWidth || this.editorHeight != view.scrollDOM.clientHeight) {
26052
26143
  this.contentDOMWidth = domRect.width;
26053
26144
  this.editorHeight = view.scrollDOM.clientHeight;
26054
- result |= 8;
26145
+ result |= 16;
26055
26146
  }
26056
26147
  if (measureContent) {
26057
26148
  let lineHeights = view.docView.measureVisibleLineHeights(this.viewport);
@@ -26062,7 +26153,7 @@ class ViewState {
26062
26153
  refresh = lineHeight > 0 && oracle.refresh(whiteSpace, lineHeight, charWidth, textHeight, contentWidth / charWidth, lineHeights);
26063
26154
  if (refresh) {
26064
26155
  view.docView.minWidth = 0;
26065
- result |= 8;
26156
+ result |= 16;
26066
26157
  }
26067
26158
  }
26068
26159
  if (dTop > 0 && dBottom > 0)
@@ -26264,7 +26355,7 @@ class ViewState {
26264
26355
  this.lineGapDeco = Decoration.set(gaps.map((gap) => gap.draw(this, this.heightOracle.lineWrapping)));
26265
26356
  }
26266
26357
  }
26267
- computeVisibleRanges() {
26358
+ computeVisibleRanges(changes) {
26268
26359
  let deco = this.stateDeco;
26269
26360
  if (this.lineGaps.length)
26270
26361
  deco = deco.concat(this.lineGapDeco);
@@ -26276,9 +26367,21 @@ class ViewState {
26276
26367
  point() {
26277
26368
  }
26278
26369
  }, 20);
26279
- let changed = ranges.length != this.visibleRanges.length || this.visibleRanges.some((r2, i) => r2.from != ranges[i].from || r2.to != ranges[i].to);
26370
+ let changed = 0;
26371
+ if (ranges.length != this.visibleRanges.length) {
26372
+ changed = 8 | 4;
26373
+ } else {
26374
+ for (let i = 0; i < ranges.length && !(changed & 8); i++) {
26375
+ let old = this.visibleRanges[i], nw = ranges[i];
26376
+ if (old.from != nw.from || old.to != nw.to) {
26377
+ changed |= 4;
26378
+ if (!(changes && changes.mapPos(old.from, -1) == nw.from && changes.mapPos(old.to, 1) == nw.to))
26379
+ changed |= 8;
26380
+ }
26381
+ }
26382
+ }
26280
26383
  this.visibleRanges = ranges;
26281
- return changed ? 4 : 0;
26384
+ return changed;
26282
26385
  }
26283
26386
  lineBlockAt(pos) {
26284
26387
  return pos >= this.viewport.from && pos <= this.viewport.to && this.viewportLines.find((b2) => b2.from <= pos && b2.to >= pos) || scaleBlock(this.heightMap.lineAt(pos, QueryType$1.ByPos, this.heightOracle, 0, 0), this.scaler);
@@ -27162,8 +27265,10 @@ class EditContextManager {
27162
27265
  if (change.from == change.to && !change.insert.length)
27163
27266
  return;
27164
27267
  this.pendingContextChange = change;
27165
- if (!view.state.readOnly)
27166
- applyDOMChangeInner(view, change, EditorSelection.single(this.toEditorPos(e2.selectionStart), this.toEditorPos(e2.selectionEnd)));
27268
+ if (!view.state.readOnly) {
27269
+ let newLen = this.to - this.from + (change.to - change.from + change.insert.length);
27270
+ applyDOMChangeInner(view, change, EditorSelection.single(this.toEditorPos(e2.selectionStart, newLen), this.toEditorPos(e2.selectionEnd, newLen)));
27271
+ }
27167
27272
  if (this.pendingContextChange) {
27168
27273
  this.revertPending(view.state);
27169
27274
  this.setSelection(view.state);
@@ -27183,8 +27288,11 @@ class EditContextManager {
27183
27288
  for (let format of e2.getTextFormats()) {
27184
27289
  let lineStyle = format.underlineStyle, thickness = format.underlineThickness;
27185
27290
  if (lineStyle != "None" && thickness != "None") {
27186
- let style = `text-decoration: underline ${lineStyle == "Dashed" ? "dashed " : lineStyle == "Squiggle" ? "wavy " : ""}${thickness == "Thin" ? 1 : 2}px`;
27187
- deco.push(Decoration.mark({ attributes: { style } }).range(this.toEditorPos(format.rangeStart), this.toEditorPos(format.rangeEnd)));
27291
+ let from = this.toEditorPos(format.rangeStart), to = this.toEditorPos(format.rangeEnd);
27292
+ if (from < to) {
27293
+ let style = `text-decoration: underline ${lineStyle == "Dashed" ? "dashed " : lineStyle == "Squiggle" ? "wavy " : ""}${thickness == "Thin" ? 1 : 2}px`;
27294
+ deco.push(Decoration.mark({ attributes: { style } }).range(from, to));
27295
+ }
27188
27296
  }
27189
27297
  }
27190
27298
  view.dispatch({ effects: setEditContextFormatting.of(Decoration.set(deco)) });
@@ -27298,7 +27406,8 @@ class EditContextManager {
27298
27406
  let { head } = state.selection.main;
27299
27407
  return !(this.from > 0 && head - this.from < 500 || this.to < state.doc.length && this.to - head < 500 || this.to - this.from > 1e4 * 3);
27300
27408
  }
27301
- toEditorPos(contextPos) {
27409
+ toEditorPos(contextPos, clipLen = this.to - this.from) {
27410
+ contextPos = Math.min(contextPos, clipLen);
27302
27411
  let c2 = this.composing;
27303
27412
  return c2 && c2.drifted ? c2.editorBase + (contextPos - c2.contextBase) : contextPos + this.from;
27304
27413
  }
@@ -27727,6 +27836,7 @@ class EditorView {
27727
27836
  spellcheck: "false",
27728
27837
  autocorrect: "off",
27729
27838
  autocapitalize: "off",
27839
+ writingsuggestions: "false",
27730
27840
  translate: "no",
27731
27841
  contenteditable: !this.state.facet(editable) ? "false" : "true",
27732
27842
  class: "cm-content",
@@ -28570,14 +28680,7 @@ function rectanglesForRange(view, className, range) {
28570
28680
  return pieces(top2).concat(between).concat(pieces(bottom));
28571
28681
  }
28572
28682
  function piece(left, top2, right, bottom) {
28573
- return new RectangleMarker(
28574
- className,
28575
- left - base2.left,
28576
- top2 - base2.top - 0.01,
28577
- right - left,
28578
- bottom - top2 + 0.01
28579
- /* C.Epsilon */
28580
- );
28683
+ return new RectangleMarker(className, left - base2.left, top2 - base2.top, right - left, bottom - top2);
28581
28684
  }
28582
28685
  function pieces({ top: top2, bottom, horizontal }) {
28583
28686
  let pieces2 = [];
@@ -28710,7 +28813,7 @@ function layer(config2) {
28710
28813
  layerOrder.of(config2)
28711
28814
  ];
28712
28815
  }
28713
- const CanHidePrimary = !browser.ios;
28816
+ const CanHidePrimary = !(browser.ios && browser.webkit && browser.webkit_version < 534);
28714
28817
  const selectionConfig = /* @__PURE__ */ Facet.define({
28715
28818
  combine(configs) {
28716
28819
  return combineConfig(configs, {
@@ -28951,12 +29054,12 @@ class MatchDecorator {
28951
29054
  let changeFrom = 1e9, changeTo = -1;
28952
29055
  if (update.docChanged)
28953
29056
  update.changes.iterChanges((_f, _t, from, to) => {
28954
- if (to > update.view.viewport.from && from < update.view.viewport.to) {
29057
+ if (to >= update.view.viewport.from && from <= update.view.viewport.to) {
28955
29058
  changeFrom = Math.min(from, changeFrom);
28956
29059
  changeTo = Math.max(to, changeTo);
28957
29060
  }
28958
29061
  });
28959
- if (update.viewportChanged || changeTo - changeFrom > 1e3)
29062
+ if (update.viewportMoved || changeTo - changeFrom > 1e3)
28960
29063
  return this.createDeco(update.view);
28961
29064
  if (changeTo > -1)
28962
29065
  return this.updateRange(update.view, deco.map(update.changes), changeFrom, changeTo);
@@ -29590,10 +29693,10 @@ const tooltipPlugin = /* @__PURE__ */ ViewPlugin.fromClass(class {
29590
29693
  }
29591
29694
  if (this.position == "absolute") {
29592
29695
  dom.style.top = (top2 - measured.parent.top) / scaleY + "px";
29593
- dom.style.left = (left - measured.parent.left) / scaleX + "px";
29696
+ setLeftStyle(dom, (left - measured.parent.left) / scaleX);
29594
29697
  } else {
29595
29698
  dom.style.top = top2 / scaleY + "px";
29596
- dom.style.left = left / scaleX + "px";
29699
+ setLeftStyle(dom, left / scaleX);
29597
29700
  }
29598
29701
  if (arrow2) {
29599
29702
  let arrowLeft = pos.left + (ltr ? offset2.x : -offset2.x) - (left + 14 - 7);
@@ -29626,6 +29729,11 @@ const tooltipPlugin = /* @__PURE__ */ ViewPlugin.fromClass(class {
29626
29729
  }
29627
29730
  }
29628
29731
  });
29732
+ function setLeftStyle(elt, value) {
29733
+ let current = parseInt(elt.style.left, 10);
29734
+ if (isNaN(current) || Math.abs(value - current) > 1)
29735
+ elt.style.left = value + "px";
29736
+ }
29629
29737
  const baseTheme$4 = /* @__PURE__ */ EditorView.baseTheme({
29630
29738
  ".cm-tooltip": {
29631
29739
  zIndex: 500,
@@ -31214,10 +31322,10 @@ class IndentContext {
31214
31322
  const indentNodeProp = /* @__PURE__ */ new NodeProp();
31215
31323
  function syntaxIndentation(cx, ast, pos) {
31216
31324
  let stack = ast.resolveStack(pos);
31217
- let inner = stack.node.enterUnfinishedNodesBefore(pos);
31325
+ let inner = ast.resolveInner(pos, -1).resolve(pos, 0).enterUnfinishedNodesBefore(pos);
31218
31326
  if (inner != stack.node) {
31219
31327
  let add2 = [];
31220
- for (let cur2 = inner; cur2 != stack.node; cur2 = cur2.parent)
31328
+ for (let cur2 = inner; cur2 && !(cur2.from == stack.node.from && cur2.type == stack.node.type); cur2 = cur2.parent)
31221
31329
  add2.push(cur2);
31222
31330
  for (let i = add2.length - 1; i >= 0; i--)
31223
31331
  stack = { node: add2[i], next: stack };
@@ -32694,7 +32802,7 @@ const cursorLineBoundaryLeft = (view) => moveSel(view, (range) => moveByLineBoun
32694
32802
  const cursorLineBoundaryRight = (view) => moveSel(view, (range) => moveByLineBoundary(view, range, ltrAtCursor(view)));
32695
32803
  const cursorLineStart = (view) => moveSel(view, (range) => EditorSelection.cursor(view.lineBlockAt(range.head).from, 1));
32696
32804
  const cursorLineEnd = (view) => moveSel(view, (range) => EditorSelection.cursor(view.lineBlockAt(range.head).to, -1));
32697
- function toMatchingBracket(state, dispatch, extend2) {
32805
+ function toMatchingBracket(state, dispatch, extend) {
32698
32806
  let found = false, selection2 = updateSel(state.selection, (range) => {
32699
32807
  let matching = matchBrackets(state, range.head, -1) || matchBrackets(state, range.head, 1) || range.head > 0 && matchBrackets(state, range.head - 1, 1) || range.head < state.doc.length && matchBrackets(state, range.head + 1, -1);
32700
32808
  if (!matching || !matching.end)
@@ -35871,25 +35979,67 @@ class LintState {
35871
35979
  let diagnosticFilter = state.facet(lintConfig).markerFilter;
35872
35980
  if (diagnosticFilter)
35873
35981
  markedDiagnostics = diagnosticFilter(markedDiagnostics, state);
35874
- let ranges = Decoration.set(markedDiagnostics.map((d2) => {
35875
- return d2.from == d2.to || d2.from == d2.to - 1 && state.doc.lineAt(d2.from).to == d2.from ? Decoration.widget({
35876
- widget: new DiagnosticWidget(d2),
35877
- diagnostic: d2
35878
- }).range(d2.from) : Decoration.mark({
35879
- attributes: { class: "cm-lintRange cm-lintRange-" + d2.severity + (d2.markClass ? " " + d2.markClass : "") },
35880
- diagnostic: d2
35881
- }).range(d2.from, d2.to);
35882
- }), true);
35883
- return new LintState(ranges, panel, findDiagnostic(ranges));
35982
+ let sorted = diagnostics.slice().sort((a2, b2) => a2.from - b2.from || a2.to - b2.to);
35983
+ let deco = new RangeSetBuilder(), active = [], pos = 0;
35984
+ for (let i = 0; ; ) {
35985
+ let next = i == sorted.length ? null : sorted[i];
35986
+ if (!next && !active.length)
35987
+ break;
35988
+ let from, to;
35989
+ if (active.length) {
35990
+ from = pos;
35991
+ to = active.reduce((p2, d2) => Math.min(p2, d2.to), next && next.from > from ? next.from : 1e8);
35992
+ } else {
35993
+ from = next.from;
35994
+ to = next.to;
35995
+ active.push(next);
35996
+ i++;
35997
+ }
35998
+ while (i < sorted.length) {
35999
+ let next2 = sorted[i];
36000
+ if (next2.from == from && (next2.to > next2.from || next2.to == from)) {
36001
+ active.push(next2);
36002
+ i++;
36003
+ to = Math.min(next2.to, to);
36004
+ } else {
36005
+ to = Math.min(next2.from, to);
36006
+ break;
36007
+ }
36008
+ }
36009
+ let sev = maxSeverity(active);
36010
+ if (active.some((d2) => d2.from == d2.to || d2.from == d2.to - 1 && state.doc.lineAt(d2.from).to == d2.from)) {
36011
+ deco.add(from, from, Decoration.widget({
36012
+ widget: new DiagnosticWidget(sev),
36013
+ diagnostics: active.slice()
36014
+ }));
36015
+ } else {
36016
+ let markClass = active.reduce((c2, d2) => d2.markClass ? c2 + " " + d2.markClass : c2, "");
36017
+ deco.add(from, to, Decoration.mark({
36018
+ class: "cm-lintRange cm-lintRange-" + sev + markClass,
36019
+ diagnostics: active.slice(),
36020
+ inclusiveEnd: active.some((a2) => a2.to > to)
36021
+ }));
36022
+ }
36023
+ pos = to;
36024
+ for (let i2 = 0; i2 < active.length; i2++)
36025
+ if (active[i2].to <= pos)
36026
+ active.splice(i2--, 1);
36027
+ }
36028
+ let set = deco.finish();
36029
+ return new LintState(set, panel, findDiagnostic(set));
35884
36030
  }
35885
36031
  }
35886
36032
  function findDiagnostic(diagnostics, diagnostic = null, after = 0) {
35887
36033
  let found = null;
35888
36034
  diagnostics.between(after, 1e9, (from, to, { spec }) => {
35889
- if (diagnostic && spec.diagnostic != diagnostic)
36035
+ if (diagnostic && spec.diagnostics.indexOf(diagnostic) < 0)
35890
36036
  return;
35891
- found = new SelectedDiagnostic(from, to, spec.diagnostic);
35892
- return false;
36037
+ if (!found)
36038
+ found = new SelectedDiagnostic(from, to, diagnostic || spec.diagnostics[0]);
36039
+ else if (spec.diagnostics.indexOf(found.diagnostic) < 0)
36040
+ return false;
36041
+ else
36042
+ found = new SelectedDiagnostic(found.from, to, found.diagnostic);
35893
36043
  });
35894
36044
  return found;
35895
36045
  }
@@ -35942,23 +36092,24 @@ const lintState = /* @__PURE__ */ StateField.define({
35942
36092
  const activeMark = /* @__PURE__ */ Decoration.mark({ class: "cm-lintRange cm-lintRange-active" });
35943
36093
  function lintTooltip(view, pos, side) {
35944
36094
  let { diagnostics } = view.state.field(lintState);
35945
- let found = [], stackStart = 2e8, stackEnd = 0;
36095
+ let found, start = -1, end = -1;
35946
36096
  diagnostics.between(pos - (side < 0 ? 1 : 0), pos + (side > 0 ? 1 : 0), (from, to, { spec }) => {
35947
36097
  if (pos >= from && pos <= to && (from == to || (pos > from || side > 0) && (pos < to || side < 0))) {
35948
- found.push(spec.diagnostic);
35949
- stackStart = Math.min(from, stackStart);
35950
- stackEnd = Math.max(to, stackEnd);
36098
+ found = spec.diagnostics;
36099
+ start = from;
36100
+ end = to;
36101
+ return false;
35951
36102
  }
35952
36103
  });
35953
36104
  let diagnosticFilter = view.state.facet(lintConfig).tooltipFilter;
35954
- if (diagnosticFilter)
36105
+ if (found && diagnosticFilter)
35955
36106
  found = diagnosticFilter(found, view.state);
35956
- if (!found.length)
36107
+ if (!found)
35957
36108
  return null;
35958
36109
  return {
35959
- pos: stackStart,
35960
- end: stackEnd,
35961
- above: view.state.doc.lineAt(stackStart).to < stackEnd,
36110
+ pos: start,
36111
+ end,
36112
+ above: view.state.doc.lineAt(start).to < end,
35962
36113
  create() {
35963
36114
  return { dom: diagnosticsTooltip(view, found) };
35964
36115
  }
@@ -36057,15 +36208,15 @@ function renderDiagnostic(view, diagnostic, inPanel) {
36057
36208
  }), diagnostic.source && crelt("div", { class: "cm-diagnosticSource" }, diagnostic.source));
36058
36209
  }
36059
36210
  class DiagnosticWidget extends WidgetType {
36060
- constructor(diagnostic) {
36211
+ constructor(sev) {
36061
36212
  super();
36062
- this.diagnostic = diagnostic;
36213
+ this.sev = sev;
36063
36214
  }
36064
36215
  eq(other) {
36065
- return other.diagnostic == this.diagnostic;
36216
+ return other.sev == this.sev;
36066
36217
  }
36067
36218
  toDOM() {
36068
- return crelt("span", { class: "cm-lintPoint cm-lintPoint-" + this.diagnostic.severity });
36219
+ return crelt("span", { class: "cm-lintPoint cm-lintPoint-" + this.sev });
36069
36220
  }
36070
36221
  }
36071
36222
  class PanelItem {
@@ -36141,33 +36292,39 @@ class LintPanel {
36141
36292
  update() {
36142
36293
  let { diagnostics, selected } = this.view.state.field(lintState);
36143
36294
  let i = 0, needsSync = false, newSelectedItem = null;
36295
+ let seen = /* @__PURE__ */ new Set();
36144
36296
  diagnostics.between(0, this.view.state.doc.length, (_start, _end, { spec }) => {
36145
- let found = -1, item;
36146
- for (let j = i; j < this.items.length; j++)
36147
- if (this.items[j].diagnostic == spec.diagnostic) {
36148
- found = j;
36149
- break;
36150
- }
36151
- if (found < 0) {
36152
- item = new PanelItem(this.view, spec.diagnostic);
36153
- this.items.splice(i, 0, item);
36154
- needsSync = true;
36155
- } else {
36156
- item = this.items[found];
36157
- if (found > i) {
36158
- this.items.splice(i, found - i);
36297
+ for (let diagnostic of spec.diagnostics) {
36298
+ if (seen.has(diagnostic))
36299
+ continue;
36300
+ seen.add(diagnostic);
36301
+ let found = -1, item;
36302
+ for (let j = i; j < this.items.length; j++)
36303
+ if (this.items[j].diagnostic == diagnostic) {
36304
+ found = j;
36305
+ break;
36306
+ }
36307
+ if (found < 0) {
36308
+ item = new PanelItem(this.view, diagnostic);
36309
+ this.items.splice(i, 0, item);
36159
36310
  needsSync = true;
36311
+ } else {
36312
+ item = this.items[found];
36313
+ if (found > i) {
36314
+ this.items.splice(i, found - i);
36315
+ needsSync = true;
36316
+ }
36160
36317
  }
36161
- }
36162
- if (selected && item.diagnostic == selected.diagnostic) {
36163
- if (!item.dom.hasAttribute("aria-selected")) {
36164
- item.dom.setAttribute("aria-selected", "true");
36165
- newSelectedItem = item;
36318
+ if (selected && item.diagnostic == selected.diagnostic) {
36319
+ if (!item.dom.hasAttribute("aria-selected")) {
36320
+ item.dom.setAttribute("aria-selected", "true");
36321
+ newSelectedItem = item;
36322
+ }
36323
+ } else if (item.dom.hasAttribute("aria-selected")) {
36324
+ item.dom.removeAttribute("aria-selected");
36166
36325
  }
36167
- } else if (item.dom.hasAttribute("aria-selected")) {
36168
- item.dom.removeAttribute("aria-selected");
36326
+ i++;
36169
36327
  }
36170
- i++;
36171
36328
  });
36172
36329
  while (i < this.items.length && !(this.items.length == 1 && this.items[0].diagnostic.from < 0)) {
36173
36330
  needsSync = true;
@@ -36334,6 +36491,20 @@ const baseTheme = /* @__PURE__ */ EditorView.baseTheme({
36334
36491
  }
36335
36492
  }
36336
36493
  });
36494
+ function severityWeight(sev) {
36495
+ return sev == "error" ? 4 : sev == "warning" ? 3 : sev == "info" ? 2 : 1;
36496
+ }
36497
+ function maxSeverity(diagnostics) {
36498
+ let sev = "hint", weight = 1;
36499
+ for (let d2 of diagnostics) {
36500
+ let w2 = severityWeight(d2.severity);
36501
+ if (w2 > weight) {
36502
+ weight = w2;
36503
+ sev = d2.severity;
36504
+ }
36505
+ }
36506
+ return sev;
36507
+ }
36337
36508
  const lintExtensions = [
36338
36509
  lintState,
36339
36510
  /* @__PURE__ */ EditorView.decorations.compute([lintState], (state) => {
@@ -39119,7 +39290,7 @@ const Trigger$7 = React__namespace.forwardRef(
39119
39290
  ({ caretPosition = "left", description, icon: Icon2, iconProps, children, ...restProps }, forwardedRef) => {
39120
39291
  const { size: size2 } = useAccordion("Trigger");
39121
39292
  return /* @__PURE__ */ jsxRuntime.jsxs(AccordionTrigger, { $caretPosition: caretPosition, $size: size2, ref: forwardedRef, ...restProps, children: [
39122
- caretPosition === "left" ? /* @__PURE__ */ jsxRuntime.jsx(TriggerIcon, { $size: size2, children: /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$4D, { width: size2 === "S" ? "1.2rem" : "1.6rem", height: size2 === "S" ? "1.2rem" : "1.6rem" }) }) : null,
39293
+ caretPosition === "left" ? /* @__PURE__ */ jsxRuntime.jsx(TriggerIcon, { $size: size2, children: /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$4L, { width: size2 === "S" ? "1.2rem" : "1.6rem", height: size2 === "S" ? "1.2rem" : "1.6rem" }) }) : null,
39123
39294
  /* @__PURE__ */ jsxRuntime.jsxs(Flex, { tag: "span", gap: 2, children: [
39124
39295
  Icon2 && size2 === "S" ? /* @__PURE__ */ jsxRuntime.jsx(IconBox$4, { children: /* @__PURE__ */ jsxRuntime.jsx(Icon2, { ...iconProps }) }) : null,
39125
39296
  /* @__PURE__ */ jsxRuntime.jsxs(Flex, { alignItems: "flex-start", direction: "column", tag: "span", ref: forwardedRef, children: [
@@ -39136,7 +39307,7 @@ const Trigger$7 = React__namespace.forwardRef(
39136
39307
  description && size2 === "M" ? /* @__PURE__ */ jsxRuntime.jsx(Typography, { textAlign: "left", children: description }) : null
39137
39308
  ] })
39138
39309
  ] }),
39139
- caretPosition === "right" ? /* @__PURE__ */ jsxRuntime.jsx(TriggerIcon, { $size: size2, children: /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$4D, { width: size2 === "S" ? "1.2rem" : "1.6rem", height: size2 === "S" ? "1.2rem" : "1.6rem" }) }) : null
39310
+ caretPosition === "right" ? /* @__PURE__ */ jsxRuntime.jsx(TriggerIcon, { $size: size2, children: /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$4L, { width: size2 === "S" ? "1.2rem" : "1.6rem", height: size2 === "S" ? "1.2rem" : "1.6rem" }) }) : null
39140
39311
  ] });
39141
39312
  }
39142
39313
  );
@@ -39399,7 +39570,7 @@ const AlertIconWrapper = styled.styled(Flex)`
39399
39570
  `;
39400
39571
  const AlertIcon = ({ variant: variant2, ...props }) => {
39401
39572
  if (variant2 === "success") {
39402
- return /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$4n, { ...props });
39573
+ return /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$4v, { ...props });
39403
39574
  }
39404
39575
  if (variant2 === "danger" || variant2 === "warning") {
39405
39576
  return /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$3, { ...props });
@@ -39465,7 +39636,7 @@ const Alert = ({
39465
39636
  marginTop: 1,
39466
39637
  onClick: onClose,
39467
39638
  color: "neutral700",
39468
- children: /* @__PURE__ */ jsxRuntime.jsx(AccessibleIcon, { label: closeLabel, children: /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$3V, {}) })
39639
+ children: /* @__PURE__ */ jsxRuntime.jsx(AccessibleIcon, { label: closeLabel, children: /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$3$, {}) })
39469
39640
  }
39470
39641
  )
39471
39642
  ]
@@ -40296,7 +40467,7 @@ const Link = forwardRef(
40296
40467
  startIcon,
40297
40468
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { textColor: disabled ? "neutral600" : "primary600", children }),
40298
40469
  endIcon,
40299
- href && !endIcon && isExternal && /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$3t, {})
40470
+ href && !endIcon && isExternal && /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$3z, {})
40300
40471
  ] });
40301
40472
  }
40302
40473
  );
@@ -40319,6 +40490,10 @@ const LinkWrapper$1 = styled.styled(BaseLinkImpl)`
40319
40490
  & > span {
40320
40491
  color: ${({ theme: theme2 }) => theme2.colors.primary500};
40321
40492
  }
40493
+
40494
+ svg path {
40495
+ fill: ${({ theme: theme2 }) => theme2.colors.primary500};
40496
+ }
40322
40497
  }
40323
40498
 
40324
40499
  &:active {
@@ -40329,13 +40504,13 @@ const LinkWrapper$1 = styled.styled(BaseLinkImpl)`
40329
40504
  `;
40330
40505
  const MenuRoot = $d08ef79370b62062$export$be92b6f5f03c0fe9;
40331
40506
  const MenuTrigger = React__namespace.forwardRef(
40332
- ({ label, endIcon = /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$4D, { width: "1.2rem", height: "1.2rem", "aria-hidden": true }), tag = Button, icon, ...rest }, ref) => {
40507
+ ({ label, endIcon = /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$4L, { width: "1.2rem", height: "1.2rem", "aria-hidden": true }), tag = Button, icon, ...rest }, ref) => {
40333
40508
  const props = {
40334
40509
  ...rest,
40335
40510
  ref,
40336
40511
  type: "button"
40337
40512
  };
40338
- return /* @__PURE__ */ jsxRuntime.jsx($d08ef79370b62062$export$41fb9f06171c75f4, { asChild: true, children: tag === IconButton ? /* @__PURE__ */ jsxRuntime.jsx(IconButton, { label, variant: "tertiary", ...props, children: icon }) : /* @__PURE__ */ jsxRuntime.jsx(Button, { endIcon, variant: "ghost", ...props }) });
40513
+ return /* @__PURE__ */ jsxRuntime.jsx($d08ef79370b62062$export$41fb9f06171c75f4, { asChild: true, disabled: props.disabled, children: tag === IconButton ? /* @__PURE__ */ jsxRuntime.jsx(IconButton, { label, variant: "tertiary", ...props, children: icon }) : /* @__PURE__ */ jsxRuntime.jsx(Button, { endIcon, variant: "ghost", ...props }) });
40339
40514
  }
40340
40515
  );
40341
40516
  const MenuContent = React__namespace.forwardRef(
@@ -40456,7 +40631,7 @@ React__namespace.forwardRef(({ disabled = false, ...props }, ref) => {
40456
40631
  ...props,
40457
40632
  children: [
40458
40633
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { children: props.children }),
40459
- /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$4h, { fill: "neutral500", height: "1.2rem", width: "1.2rem" })
40634
+ /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$4p, { fill: "neutral500", height: "1.2rem", width: "1.2rem" })
40460
40635
  ]
40461
40636
  }
40462
40637
  ) });
@@ -40775,8 +40950,8 @@ const Carousel = React__namespace.forwardRef(
40775
40950
  position: "relative",
40776
40951
  children: [
40777
40952
  childrenArray && childrenArray.length > 1 && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
40778
- /* @__PURE__ */ jsxRuntime.jsx(CarouselAction, { tag: "button", onClick: onPrevious, $area: "startAction", ref: prevActionRef, type: "button", children: /* @__PURE__ */ jsxRuntime.jsx(AccessibleIcon, { label: previousLabel, children: /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$4j, { width: "1.6rem", height: "1.6rem", fill: "neutral600" }) }) }),
40779
- /* @__PURE__ */ jsxRuntime.jsx(CarouselAction, { tag: "button", onClick: onNext, $area: "endAction", ref: nextActionRef, type: "button", children: /* @__PURE__ */ jsxRuntime.jsx(AccessibleIcon, { label: nextLabel, children: /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$4h, { width: "1.6rem", height: "1.6rem", fill: "neutral600" }) }) })
40953
+ /* @__PURE__ */ jsxRuntime.jsx(CarouselAction, { tag: "button", onClick: onPrevious, $area: "startAction", ref: prevActionRef, type: "button", children: /* @__PURE__ */ jsxRuntime.jsx(AccessibleIcon, { label: previousLabel, children: /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$4r, { width: "1.6rem", height: "1.6rem", fill: "neutral600" }) }) }),
40954
+ /* @__PURE__ */ jsxRuntime.jsx(CarouselAction, { tag: "button", onClick: onNext, $area: "endAction", ref: nextActionRef, type: "button", children: /* @__PURE__ */ jsxRuntime.jsx(AccessibleIcon, { label: nextLabel, children: /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$4p, { width: "1.6rem", height: "1.6rem", fill: "neutral600" }) }) })
40780
40955
  ] }),
40781
40956
  /* @__PURE__ */ jsxRuntime.jsx(CarouselSlides, { "aria-live": "polite", paddingLeft: 2, paddingRight: 2, width: "100%", overflow: "hidden", children: childrenArray }),
40782
40957
  actions
@@ -42854,7 +43029,7 @@ lodash.exports;
42854
43029
  return symbolToString ? symbolToString.call(value) : "";
42855
43030
  }
42856
43031
  var result2 = value + "";
42857
- return result2 == "0" && 1 / value == -INFINITY ? "-0" : result2;
43032
+ return result2 == "0" && 1 / value == -Infinity ? "-0" : result2;
42858
43033
  }
42859
43034
  function baseUniq(array, iteratee2, comparator) {
42860
43035
  var index2 = -1, includes2 = arrayIncludes, length = array.length, isCommon = true, result2 = [], seen = result2;
@@ -43406,7 +43581,7 @@ lodash.exports;
43406
43581
  bitmask |= isCurry ? WRAP_PARTIAL_FLAG : WRAP_PARTIAL_RIGHT_FLAG;
43407
43582
  bitmask &= ~(isCurry ? WRAP_PARTIAL_RIGHT_FLAG : WRAP_PARTIAL_FLAG);
43408
43583
  if (!(bitmask & WRAP_CURRY_BOUND_FLAG)) {
43409
- bitmask &= ~(WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG);
43584
+ bitmask &= -4;
43410
43585
  }
43411
43586
  var newData = [
43412
43587
  func,
@@ -43462,7 +43637,7 @@ lodash.exports;
43462
43637
  }
43463
43638
  var length = partials ? partials.length : 0;
43464
43639
  if (!length) {
43465
- bitmask &= ~(WRAP_PARTIAL_FLAG | WRAP_PARTIAL_RIGHT_FLAG);
43640
+ bitmask &= -97;
43466
43641
  partials = holders = undefined$1;
43467
43642
  }
43468
43643
  ary2 = ary2 === undefined$1 ? ary2 : nativeMax(toInteger(ary2), 0);
@@ -43495,7 +43670,7 @@ lodash.exports;
43495
43670
  holders = newData[4];
43496
43671
  arity = newData[9] = newData[9] === undefined$1 ? isBindKey ? 0 : func.length : nativeMax(newData[9] - length, 0);
43497
43672
  if (!arity && bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG)) {
43498
- bitmask &= ~(WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG);
43673
+ bitmask &= -25;
43499
43674
  }
43500
43675
  if (!bitmask || bitmask == WRAP_BIND_FLAG) {
43501
43676
  var result2 = createBind(func, bitmask, thisArg);
@@ -44061,7 +44236,7 @@ lodash.exports;
44061
44236
  return value;
44062
44237
  }
44063
44238
  var result2 = value + "";
44064
- return result2 == "0" && 1 / value == -INFINITY ? "-0" : result2;
44239
+ return result2 == "0" && 1 / value == -Infinity ? "-0" : result2;
44065
44240
  }
44066
44241
  function toSource(func) {
44067
44242
  if (func != null) {
@@ -45125,7 +45300,7 @@ lodash.exports;
45125
45300
  }
45126
45301
  var isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp;
45127
45302
  function isSafeInteger(value) {
45128
- return isInteger(value) && value >= -MAX_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;
45303
+ return isInteger(value) && value >= -9007199254740991 && value <= MAX_SAFE_INTEGER;
45129
45304
  }
45130
45305
  var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
45131
45306
  function isString(value) {
@@ -45166,7 +45341,7 @@ lodash.exports;
45166
45341
  return value === 0 ? value : 0;
45167
45342
  }
45168
45343
  value = toNumber(value);
45169
- if (value === INFINITY || value === -INFINITY) {
45344
+ if (value === INFINITY || value === -Infinity) {
45170
45345
  var sign = value < 0 ? -1 : 1;
45171
45346
  return sign * MAX_INTEGER;
45172
45347
  }
@@ -45201,7 +45376,7 @@ lodash.exports;
45201
45376
  return copyObject(value, keysIn(value));
45202
45377
  }
45203
45378
  function toSafeInteger(value) {
45204
- return value ? baseClamp(toInteger(value), -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER) : value === 0 ? value : 0;
45379
+ return value ? baseClamp(toInteger(value), -9007199254740991, MAX_SAFE_INTEGER) : value === 0 ? value : 0;
45205
45380
  }
45206
45381
  function toString(value) {
45207
45382
  return value == null ? "" : baseToString(value);
@@ -46916,10 +47091,10 @@ const Combobox = React__namespace.forwardRef(
46916
47091
  "aria-label": clearLabel,
46917
47092
  title: clearLabel,
46918
47093
  ref: clearRef,
46919
- children: /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$3V, {})
47094
+ children: /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$3$, {})
46920
47095
  }
46921
47096
  ) : null,
46922
- /* @__PURE__ */ jsxRuntime.jsx(DownIcon$1, { children: /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$4D, { fill: "neutral500" }) })
47097
+ /* @__PURE__ */ jsxRuntime.jsx(DownIcon$1, { children: /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$4L, { fill: "neutral500" }) })
46923
47098
  ] })
46924
47099
  ] }),
46925
47100
  /* @__PURE__ */ jsxRuntime.jsx(Combobox$1$1.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(Content$5, { sideOffset: 4, children: /* @__PURE__ */ jsxRuntime.jsxs(Viewport$1, { ref: viewportRef, children: [
@@ -47440,10 +47615,10 @@ const SelectTrigger = React__namespace.forwardRef(
47440
47615
  "aria-label": clearLabel,
47441
47616
  title: clearLabel,
47442
47617
  cursor: "pointer",
47443
- children: /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$3V, {})
47618
+ children: /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$3$, {})
47444
47619
  }
47445
47620
  ) : null,
47446
- /* @__PURE__ */ jsxRuntime.jsx(DownIcon, { children: /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$4D, {}) })
47621
+ /* @__PURE__ */ jsxRuntime.jsx(DownIcon, { children: /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$4L, {}) })
47447
47622
  ] })
47448
47623
  ]
47449
47624
  }
@@ -47839,7 +48014,7 @@ const DatePicker$1 = React__namespace.forwardRef(
47839
48014
  value,
47840
48015
  children: [
47841
48016
  /* @__PURE__ */ jsxRuntime.jsxs(DatePickerTrigger, { className, hasError, size: size2, children: [
47842
- /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$4H, { fill: "neutral500", "aria-hidden": true }),
48017
+ /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$4P, { fill: "neutral500", "aria-hidden": true }),
47843
48018
  /* @__PURE__ */ jsxRuntime.jsx(DatePickerTextInput, { ref, "aria-describedby": ariaDescription, id, name: name2, ...restProps }),
47844
48019
  textValue && onClear ? /* @__PURE__ */ jsxRuntime.jsx(
47845
48020
  IconBox$1,
@@ -47853,7 +48028,7 @@ const DatePicker$1 = React__namespace.forwardRef(
47853
48028
  "aria-label": clearLabel,
47854
48029
  title: clearLabel,
47855
48030
  ref: clearRef,
47856
- children: /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$3V, {})
48031
+ children: /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$3$, {})
47857
48032
  }
47858
48033
  ) : null
47859
48034
  ] }),
@@ -48555,7 +48730,7 @@ const TimePicker$1 = React__namespace.forwardRef(
48555
48730
  allowCustomValue: true,
48556
48731
  placeholder: `--${separator}--`,
48557
48732
  autocomplete: "none",
48558
- startIcon: /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$4d, { fill: "neutral500" }),
48733
+ startIcon: /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$4l, { fill: "neutral500" }),
48559
48734
  inputMode: "numeric",
48560
48735
  pattern: `\\d{2}\\${separator}\\d{2}`,
48561
48736
  textValue,
@@ -49058,7 +49233,7 @@ const Header = React__namespace.forwardRef(
49058
49233
  tag: "header",
49059
49234
  children: [
49060
49235
  children,
49061
- /* @__PURE__ */ jsxRuntime.jsx(Close, { children: /* @__PURE__ */ jsxRuntime.jsx(IconButton, { withTooltip: false, label: closeLabel, children: /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$3V, {}) }) })
49236
+ /* @__PURE__ */ jsxRuntime.jsx(Close, { children: /* @__PURE__ */ jsxRuntime.jsx(IconButton, { withTooltip: false, label: closeLabel, children: /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$3$, {}) }) })
49062
49237
  ]
49063
49238
  }
49064
49239
  );
@@ -49214,7 +49389,7 @@ React__namespace.forwardRef(
49214
49389
  tabIndex: -1,
49215
49390
  type: "button",
49216
49391
  "data-testid": "ArrowUp",
49217
- children: /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$4D, { fill: "neutral500" })
49392
+ children: /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$4L, { fill: "neutral500" })
49218
49393
  }
49219
49394
  ),
49220
49395
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -49226,7 +49401,7 @@ React__namespace.forwardRef(
49226
49401
  tabIndex: -1,
49227
49402
  type: "button",
49228
49403
  "data-testid": "ArrowDown",
49229
- children: /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$4D, { fill: "neutral500" })
49404
+ children: /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$4L, { fill: "neutral500" })
49230
49405
  }
49231
49406
  )
49232
49407
  ] }),
@@ -49287,7 +49462,7 @@ forwardRef(
49287
49462
  const disabled = activePage === 1;
49288
49463
  return /* @__PURE__ */ jsxRuntime.jsxs(ActionLinkWrapper, { ref, "aria-disabled": disabled, tabIndex: disabled ? -1 : void 0, ...props, children: [
49289
49464
  /* @__PURE__ */ jsxRuntime.jsx(VisuallyHidden, { children }),
49290
- /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$4j, { "aria-hidden": true })
49465
+ /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$4r, { "aria-hidden": true })
49291
49466
  ] });
49292
49467
  }
49293
49468
  );
@@ -49297,7 +49472,7 @@ forwardRef(
49297
49472
  const disabled = activePage === pageCount;
49298
49473
  return /* @__PURE__ */ jsxRuntime.jsxs(ActionLinkWrapper, { ref, "aria-disabled": disabled, tabIndex: disabled ? -1 : void 0, ...props, children: [
49299
49474
  /* @__PURE__ */ jsxRuntime.jsx(VisuallyHidden, { children }),
49300
- /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$4h, { "aria-hidden": true })
49475
+ /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$4p, { "aria-hidden": true })
49301
49476
  ] });
49302
49477
  }
49303
49478
  );
@@ -49749,7 +49924,7 @@ const RawTr = ({ children, ...props }) => {
49749
49924
  });
49750
49925
  return /* @__PURE__ */ jsxRuntime.jsx(Box, { tag: "tr", ...props, children: childrenClone });
49751
49926
  };
49752
- const CloseIcon = styled.styled(ForwardRef$3V)`
49927
+ const CloseIcon = styled.styled(ForwardRef$3$)`
49753
49928
  font-size: 0.5rem;
49754
49929
  path {
49755
49930
  fill: ${({ theme: theme2 }) => theme2.colors.neutral400};
@@ -49941,7 +50116,7 @@ const MultiSelect = React__namespace.forwardRef(
49941
50116
  {
49942
50117
  tabIndex: -1,
49943
50118
  disabled,
49944
- icon: /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$3V, { width: `${14 / 16}rem`, height: `${14 / 16}rem` }),
50119
+ icon: /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$3$, { width: `${14 / 16}rem`, height: `${14 / 16}rem` }),
49945
50120
  onClick: handleTagClick(arg.value),
49946
50121
  children: arg.textValue
49947
50122
  },
@@ -50206,7 +50381,7 @@ const SubNavSectionLabel = ({
50206
50381
  children: [
50207
50382
  /* @__PURE__ */ jsxRuntime.jsx(Box, { paddingRight: 1, children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "sigma", textColor: "neutral600", children: label }) }),
50208
50383
  collapsable && /* @__PURE__ */ jsxRuntime.jsx(
50209
- ForwardRef$4D,
50384
+ ForwardRef$4L,
50210
50385
  {
50211
50386
  width: "1.2rem",
50212
50387
  "aria-hidden": true,
@@ -51014,7 +51189,7 @@ const index = {
51014
51189
  id: `${pluginId}.plugin.name`,
51015
51190
  defaultMessage: displayName
51016
51191
  },
51017
- Component: () => Promise.resolve().then(() => require("./index-BXEk5PWx.js")),
51192
+ Component: () => Promise.resolve().then(() => require("./index-CWfr5ejx.js")),
51018
51193
  permissions: pluginPermissions.access
51019
51194
  });
51020
51195
  app.createSettingSection(
@@ -51033,7 +51208,7 @@ const index = {
51033
51208
  },
51034
51209
  id: "comments",
51035
51210
  to: `/settings/${pluginId}`,
51036
- Component: () => Promise.resolve().then(() => require("./index-BFPteXuP.js")),
51211
+ Component: () => Promise.resolve().then(() => require("./index-D8uskGzQ.js")),
51037
51212
  permissions: pluginPermissions.settings
51038
51213
  }
51039
51214
  ]
@@ -51082,15 +51257,15 @@ exports.ForwardRef$2l = ForwardRef$2l;
51082
51257
  exports.ForwardRef$2v = ForwardRef$2v;
51083
51258
  exports.ForwardRef$3 = ForwardRef$3;
51084
51259
  exports.ForwardRef$3$ = ForwardRef$3$;
51085
- exports.ForwardRef$3V = ForwardRef$3V;
51086
- exports.ForwardRef$3r = ForwardRef$3r;
51087
- exports.ForwardRef$3v = ForwardRef$3v;
51260
+ exports.ForwardRef$3B = ForwardRef$3B;
51261
+ exports.ForwardRef$3x = ForwardRef$3x;
51088
51262
  exports.ForwardRef$45 = ForwardRef$45;
51089
- exports.ForwardRef$4J = ForwardRef$4J;
51090
- exports.ForwardRef$4P = ForwardRef$4P;
51091
- exports.ForwardRef$4V = ForwardRef$4V;
51092
- exports.ForwardRef$4p = ForwardRef$4p;
51263
+ exports.ForwardRef$4R = ForwardRef$4R;
51264
+ exports.ForwardRef$4X = ForwardRef$4X;
51265
+ exports.ForwardRef$4d = ForwardRef$4d;
51266
+ exports.ForwardRef$4x = ForwardRef$4x;
51093
51267
  exports.ForwardRef$51 = ForwardRef$51;
51268
+ exports.ForwardRef$59 = ForwardRef$59;
51094
51269
  exports.ForwardRef$R = ForwardRef$R;
51095
51270
  exports.ForwardRef$f = ForwardRef$f;
51096
51271
  exports.ForwardRef$j = ForwardRef$j;