@industry-theme/backlogmd-kanban-panel 1.0.36 → 1.0.37

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.
@@ -33,7 +33,7 @@ function isDocument(node2) {
33
33
  } = getWindow(node2);
34
34
  return node2 instanceof Document;
35
35
  }
36
- function isHTMLElement$1(node2) {
36
+ function isHTMLElement$2(node2) {
37
37
  if (isWindow(node2)) {
38
38
  return false;
39
39
  }
@@ -55,7 +55,7 @@ function getOwnerDocument(target) {
55
55
  if (isDocument(target)) {
56
56
  return target;
57
57
  }
58
- if (isHTMLElement$1(target) || isSVGElement(target)) {
58
+ if (isHTMLElement$2(target) || isSVGElement(target)) {
59
59
  return target.ownerDocument;
60
60
  }
61
61
  return document;
@@ -731,7 +731,7 @@ function getScrollableAncestors(element2, limit) {
731
731
  scrollParents.push(node2.scrollingElement);
732
732
  return scrollParents;
733
733
  }
734
- if (!isHTMLElement$1(node2) || isSVGElement(node2)) {
734
+ if (!isHTMLElement$2(node2) || isSVGElement(node2)) {
735
735
  return scrollParents;
736
736
  }
737
737
  if (scrollParents.includes(node2)) {
@@ -770,7 +770,7 @@ function getScrollableElement(element2) {
770
770
  if (isDocument(element2) || element2 === getOwnerDocument(element2).scrollingElement) {
771
771
  return window;
772
772
  }
773
- if (isHTMLElement$1(element2)) {
773
+ if (isHTMLElement$2(element2)) {
774
774
  return element2;
775
775
  }
776
776
  return null;
@@ -2204,7 +2204,7 @@ function getMeasurableNode(node2) {
2204
2204
  return node2;
2205
2205
  }
2206
2206
  const firstChild = node2.children[0];
2207
- return isHTMLElement$1(firstChild) ? firstChild : node2;
2207
+ return isHTMLElement$2(firstChild) ? firstChild : node2;
2208
2208
  }
2209
2209
  function useDragOverlayMeasuring(_ref) {
2210
2210
  let {
@@ -2215,7 +2215,7 @@ function useDragOverlayMeasuring(_ref) {
2215
2215
  for (const {
2216
2216
  target
2217
2217
  } of entries) {
2218
- if (isHTMLElement$1(target)) {
2218
+ if (isHTMLElement$2(target)) {
2219
2219
  setRect((rect2) => {
2220
2220
  const newRect = measure(target);
2221
2221
  return rect2 ? {
@@ -3740,7 +3740,7 @@ const createLucideIcon = (iconName, iconNode) => {
3740
3740
  * This source code is licensed under the ISC license.
3741
3741
  * See the LICENSE file in the root directory of this source tree.
3742
3742
  */
3743
- const __iconNode$l = [
3743
+ const __iconNode$m = [
3744
3744
  ["path", { d: "M12 8V4H8", key: "hb8ula" }],
3745
3745
  ["rect", { width: "16", height: "12", x: "4", y: "8", rx: "2", key: "enze0r" }],
3746
3746
  ["path", { d: "M2 14h2", key: "vft8re" }],
@@ -3748,75 +3748,75 @@ const __iconNode$l = [
3748
3748
  ["path", { d: "M15 13v2", key: "1xurst" }],
3749
3749
  ["path", { d: "M9 13v2", key: "rq6x2g" }]
3750
3750
  ];
3751
- const Bot = createLucideIcon("bot", __iconNode$l);
3751
+ const Bot = createLucideIcon("bot", __iconNode$m);
3752
3752
  /**
3753
3753
  * @license lucide-react v0.552.0 - ISC
3754
3754
  *
3755
3755
  * This source code is licensed under the ISC license.
3756
3756
  * See the LICENSE file in the root directory of this source tree.
3757
3757
  */
3758
- const __iconNode$k = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
3759
- const Check = createLucideIcon("check", __iconNode$k);
3758
+ const __iconNode$l = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
3759
+ const Check = createLucideIcon("check", __iconNode$l);
3760
3760
  /**
3761
3761
  * @license lucide-react v0.552.0 - ISC
3762
3762
  *
3763
3763
  * This source code is licensed under the ISC license.
3764
3764
  * See the LICENSE file in the root directory of this source tree.
3765
3765
  */
3766
- const __iconNode$j = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
3767
- const ChevronDown = createLucideIcon("chevron-down", __iconNode$j);
3766
+ const __iconNode$k = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
3767
+ const ChevronDown = createLucideIcon("chevron-down", __iconNode$k);
3768
3768
  /**
3769
3769
  * @license lucide-react v0.552.0 - ISC
3770
3770
  *
3771
3771
  * This source code is licensed under the ISC license.
3772
3772
  * See the LICENSE file in the root directory of this source tree.
3773
3773
  */
3774
- const __iconNode$i = [
3774
+ const __iconNode$j = [
3775
3775
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
3776
3776
  ["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
3777
3777
  ["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
3778
3778
  ];
3779
- const CircleAlert = createLucideIcon("circle-alert", __iconNode$i);
3779
+ const CircleAlert = createLucideIcon("circle-alert", __iconNode$j);
3780
3780
  /**
3781
3781
  * @license lucide-react v0.552.0 - ISC
3782
3782
  *
3783
3783
  * This source code is licensed under the ISC license.
3784
3784
  * See the LICENSE file in the root directory of this source tree.
3785
3785
  */
3786
- const __iconNode$h = [
3786
+ const __iconNode$i = [
3787
3787
  ["path", { d: "M21.801 10A10 10 0 1 1 17 3.335", key: "yps3ct" }],
3788
3788
  ["path", { d: "m9 11 3 3L22 4", key: "1pflzl" }]
3789
3789
  ];
3790
- const CircleCheckBig = createLucideIcon("circle-check-big", __iconNode$h);
3790
+ const CircleCheckBig = createLucideIcon("circle-check-big", __iconNode$i);
3791
3791
  /**
3792
3792
  * @license lucide-react v0.552.0 - ISC
3793
3793
  *
3794
3794
  * This source code is licensed under the ISC license.
3795
3795
  * See the LICENSE file in the root directory of this source tree.
3796
3796
  */
3797
- const __iconNode$g = [
3797
+ const __iconNode$h = [
3798
3798
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
3799
3799
  ["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
3800
3800
  ];
3801
- const CircleCheck = createLucideIcon("circle-check", __iconNode$g);
3801
+ const CircleCheck = createLucideIcon("circle-check", __iconNode$h);
3802
3802
  /**
3803
3803
  * @license lucide-react v0.552.0 - ISC
3804
3804
  *
3805
3805
  * This source code is licensed under the ISC license.
3806
3806
  * See the LICENSE file in the root directory of this source tree.
3807
3807
  */
3808
- const __iconNode$f = [
3808
+ const __iconNode$g = [
3809
3809
  ["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
3810
3810
  ["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
3811
3811
  ];
3812
- const Copy = createLucideIcon("copy", __iconNode$f);
3812
+ const Copy = createLucideIcon("copy", __iconNode$g);
3813
3813
  /**
3814
3814
  * @license lucide-react v0.552.0 - ISC
3815
3815
  *
3816
3816
  * This source code is licensed under the ISC license.
3817
3817
  * See the LICENSE file in the root directory of this source tree.
3818
3818
  */
3819
- const __iconNode$e = [
3819
+ const __iconNode$f = [
3820
3820
  ["path", { d: "m15 15 6 6", key: "1s409w" }],
3821
3821
  ["path", { d: "m15 9 6-6", key: "ko1vev" }],
3822
3822
  ["path", { d: "M21 16v5h-5", key: "1ck2sf" }],
@@ -3826,26 +3826,26 @@ const __iconNode$e = [
3826
3826
  ["path", { d: "M3 8V3h5", key: "1ln10m" }],
3827
3827
  ["path", { d: "M9 9 3 3", key: "v551iv" }]
3828
3828
  ];
3829
- const Expand = createLucideIcon("expand", __iconNode$e);
3829
+ const Expand = createLucideIcon("expand", __iconNode$f);
3830
3830
  /**
3831
3831
  * @license lucide-react v0.552.0 - ISC
3832
3832
  *
3833
3833
  * This source code is licensed under the ISC license.
3834
3834
  * See the LICENSE file in the root directory of this source tree.
3835
3835
  */
3836
- const __iconNode$d = [
3836
+ const __iconNode$e = [
3837
3837
  ["path", { d: "M15 3h6v6", key: "1q9fwt" }],
3838
3838
  ["path", { d: "M10 14 21 3", key: "gplh6r" }],
3839
3839
  ["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
3840
3840
  ];
3841
- const ExternalLink = createLucideIcon("external-link", __iconNode$d);
3841
+ const ExternalLink = createLucideIcon("external-link", __iconNode$e);
3842
3842
  /**
3843
3843
  * @license lucide-react v0.552.0 - ISC
3844
3844
  *
3845
3845
  * This source code is licensed under the ISC license.
3846
3846
  * See the LICENSE file in the root directory of this source tree.
3847
3847
  */
3848
- const __iconNode$c = [
3848
+ const __iconNode$d = [
3849
3849
  [
3850
3850
  "path",
3851
3851
  {
@@ -3858,14 +3858,14 @@ const __iconNode$c = [
3858
3858
  ["path", { d: "M16 13H8", key: "t4e002" }],
3859
3859
  ["path", { d: "M16 17H8", key: "z1uh3a" }]
3860
3860
  ];
3861
- const FileText = createLucideIcon("file-text", __iconNode$c);
3861
+ const FileText = createLucideIcon("file-text", __iconNode$d);
3862
3862
  /**
3863
3863
  * @license lucide-react v0.552.0 - ISC
3864
3864
  *
3865
3865
  * This source code is licensed under the ISC license.
3866
3866
  * See the LICENSE file in the root directory of this source tree.
3867
3867
  */
3868
- const __iconNode$b = [
3868
+ const __iconNode$c = [
3869
3869
  ["path", { d: "M12 10v6", key: "1bos4e" }],
3870
3870
  ["path", { d: "M9 13h6", key: "1uhe8q" }],
3871
3871
  [
@@ -3876,35 +3876,35 @@ const __iconNode$b = [
3876
3876
  }
3877
3877
  ]
3878
3878
  ];
3879
- const FolderPlus = createLucideIcon("folder-plus", __iconNode$b);
3879
+ const FolderPlus = createLucideIcon("folder-plus", __iconNode$c);
3880
3880
  /**
3881
3881
  * @license lucide-react v0.552.0 - ISC
3882
3882
  *
3883
3883
  * This source code is licensed under the ISC license.
3884
3884
  * See the LICENSE file in the root directory of this source tree.
3885
3885
  */
3886
- const __iconNode$a = [
3886
+ const __iconNode$b = [
3887
3887
  ["line", { x1: "6", x2: "6", y1: "3", y2: "15", key: "17qcm7" }],
3888
3888
  ["circle", { cx: "18", cy: "6", r: "3", key: "1h7g24" }],
3889
3889
  ["circle", { cx: "6", cy: "18", r: "3", key: "fqmcym" }],
3890
3890
  ["path", { d: "M18 9a9 9 0 0 1-9 9", key: "n2h4wq" }]
3891
3891
  ];
3892
- const GitBranch = createLucideIcon("git-branch", __iconNode$a);
3892
+ const GitBranch = createLucideIcon("git-branch", __iconNode$b);
3893
3893
  /**
3894
3894
  * @license lucide-react v0.552.0 - ISC
3895
3895
  *
3896
3896
  * This source code is licensed under the ISC license.
3897
3897
  * See the LICENSE file in the root directory of this source tree.
3898
3898
  */
3899
- const __iconNode$9 = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]];
3900
- const LoaderCircle = createLucideIcon("loader-circle", __iconNode$9);
3899
+ const __iconNode$a = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]];
3900
+ const LoaderCircle = createLucideIcon("loader-circle", __iconNode$a);
3901
3901
  /**
3902
3902
  * @license lucide-react v0.552.0 - ISC
3903
3903
  *
3904
3904
  * This source code is licensed under the ISC license.
3905
3905
  * See the LICENSE file in the root directory of this source tree.
3906
3906
  */
3907
- const __iconNode$8 = [
3907
+ const __iconNode$9 = [
3908
3908
  ["path", { d: "M12 13v8", key: "1l5pq0" }],
3909
3909
  ["path", { d: "M12 3v3", key: "1n5kay" }],
3910
3910
  [
@@ -3915,37 +3915,37 @@ const __iconNode$8 = [
3915
3915
  }
3916
3916
  ]
3917
3917
  ];
3918
- const Milestone = createLucideIcon("milestone", __iconNode$8);
3918
+ const Milestone = createLucideIcon("milestone", __iconNode$9);
3919
3919
  /**
3920
3920
  * @license lucide-react v0.552.0 - ISC
3921
3921
  *
3922
3922
  * This source code is licensed under the ISC license.
3923
3923
  * See the LICENSE file in the root directory of this source tree.
3924
3924
  */
3925
- const __iconNode$7 = [
3925
+ const __iconNode$8 = [
3926
3926
  ["rect", { width: "20", height: "14", x: "2", y: "3", rx: "2", key: "48i651" }],
3927
3927
  ["line", { x1: "8", x2: "16", y1: "21", y2: "21", key: "1svkeh" }],
3928
3928
  ["line", { x1: "12", x2: "12", y1: "17", y2: "21", key: "vw1qmm" }]
3929
3929
  ];
3930
- const Monitor = createLucideIcon("monitor", __iconNode$7);
3930
+ const Monitor = createLucideIcon("monitor", __iconNode$8);
3931
3931
  /**
3932
3932
  * @license lucide-react v0.552.0 - ISC
3933
3933
  *
3934
3934
  * This source code is licensed under the ISC license.
3935
3935
  * See the LICENSE file in the root directory of this source tree.
3936
3936
  */
3937
- const __iconNode$6 = [
3937
+ const __iconNode$7 = [
3938
3938
  ["path", { d: "M18 8L22 12L18 16", key: "1r0oui" }],
3939
3939
  ["path", { d: "M2 12H22", key: "1m8cig" }]
3940
3940
  ];
3941
- const MoveRight = createLucideIcon("move-right", __iconNode$6);
3941
+ const MoveRight = createLucideIcon("move-right", __iconNode$7);
3942
3942
  /**
3943
3943
  * @license lucide-react v0.552.0 - ISC
3944
3944
  *
3945
3945
  * This source code is licensed under the ISC license.
3946
3946
  * See the LICENSE file in the root directory of this source tree.
3947
3947
  */
3948
- const __iconNode$5 = [
3948
+ const __iconNode$6 = [
3949
3949
  [
3950
3950
  "path",
3951
3951
  {
@@ -3954,31 +3954,56 @@ const __iconNode$5 = [
3954
3954
  }
3955
3955
  ]
3956
3956
  ];
3957
- const Play = createLucideIcon("play", __iconNode$5);
3957
+ const Play = createLucideIcon("play", __iconNode$6);
3958
3958
  /**
3959
3959
  * @license lucide-react v0.552.0 - ISC
3960
3960
  *
3961
3961
  * This source code is licensed under the ISC license.
3962
3962
  * See the LICENSE file in the root directory of this source tree.
3963
3963
  */
3964
- const __iconNode$4 = [
3964
+ const __iconNode$5 = [
3965
3965
  ["path", { d: "M5 12h14", key: "1ays0h" }],
3966
3966
  ["path", { d: "M12 5v14", key: "s699le" }]
3967
3967
  ];
3968
- const Plus = createLucideIcon("plus", __iconNode$4);
3968
+ const Plus = createLucideIcon("plus", __iconNode$5);
3969
3969
  /**
3970
3970
  * @license lucide-react v0.552.0 - ISC
3971
3971
  *
3972
3972
  * This source code is licensed under the ISC license.
3973
3973
  * See the LICENSE file in the root directory of this source tree.
3974
3974
  */
3975
- const __iconNode$3 = [
3975
+ const __iconNode$4 = [
3976
3976
  ["path", { d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8", key: "v9h5vc" }],
3977
3977
  ["path", { d: "M21 3v5h-5", key: "1q7to0" }],
3978
3978
  ["path", { d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16", key: "3uifl3" }],
3979
3979
  ["path", { d: "M8 16H3v5", key: "1cv678" }]
3980
3980
  ];
3981
- const RefreshCw = createLucideIcon("refresh-cw", __iconNode$3);
3981
+ const RefreshCw = createLucideIcon("refresh-cw", __iconNode$4);
3982
+ /**
3983
+ * @license lucide-react v0.552.0 - ISC
3984
+ *
3985
+ * This source code is licensed under the ISC license.
3986
+ * See the LICENSE file in the root directory of this source tree.
3987
+ */
3988
+ const __iconNode$3 = [
3989
+ [
3990
+ "path",
3991
+ {
3992
+ d: "M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",
3993
+ key: "m3kijz"
3994
+ }
3995
+ ],
3996
+ [
3997
+ "path",
3998
+ {
3999
+ d: "m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",
4000
+ key: "1fmvmk"
4001
+ }
4002
+ ],
4003
+ ["path", { d: "M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0", key: "1f8sc4" }],
4004
+ ["path", { d: "M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5", key: "qeys4" }]
4005
+ ];
4006
+ const Rocket = createLucideIcon("rocket", __iconNode$3);
3982
4007
  /**
3983
4008
  * @license lucide-react v0.552.0 - ISC
3984
4009
  *
@@ -4509,14 +4534,14 @@ function determinePivotIndices$1(groupId, dragHandleId, panelGroupElement) {
4509
4534
  const index2 = getResizeHandleElementIndex$1(groupId, dragHandleId, panelGroupElement);
4510
4535
  return index2 != null ? [index2, index2 + 1] : [-1, -1];
4511
4536
  }
4512
- function isHTMLElement(target) {
4537
+ function isHTMLElement$1(target) {
4513
4538
  if (target instanceof HTMLElement) {
4514
4539
  return true;
4515
4540
  }
4516
4541
  return typeof target === "object" && target !== null && "tagName" in target && "getAttribute" in target;
4517
4542
  }
4518
4543
  function getPanelGroupElement$1(id, rootElement = document) {
4519
- if (isHTMLElement(rootElement) && rootElement.dataset.panelGroupId == id) {
4544
+ if (isHTMLElement$1(rootElement) && rootElement.dataset.panelGroupId == id) {
4520
4545
  return rootElement;
4521
4546
  }
4522
4547
  const element2 = rootElement.querySelector(`[data-panel-group][data-panel-group-id="${id}"]`);
@@ -5525,11 +5550,11 @@ function panelDataHelper$1(panelDataArray, panelData, layout) {
5525
5550
  pivotIndices
5526
5551
  };
5527
5552
  }
5528
- function C(e) {
5553
+ function C$1(e) {
5529
5554
  return { "--panel-background": e.colors.background, "--panel-border": e.colors.border, "--panel-handle": e.colors.backgroundSecondary, "--panel-handle-hover": e.colors.backgroundHover, "--panel-handle-active": e.colors.primary, "--panel-button-bg": e.colors.surface, "--panel-button-hover": e.colors.backgroundHover, "--panel-button-border": e.colors.border, "--panel-button-icon": e.colors.textSecondary, "--panel-accent-bg": e.colors.primary + "15" };
5530
5555
  }
5531
- const z = forwardRef(({ panels: o, className: a = "", style: s2, theme: d, minPanelWidth: u = 350, idealPanelWidth: p2 = 0.333, showSeparator: h2 = false, onPanelChange: m, preventKeyboardScroll: f = true, disableSwipe: g = false }, v) => {
5532
- const b = useRef(null), y = C(d);
5556
+ const z$1 = forwardRef(({ panels: o, className: a = "", style: s2, theme: d, minPanelWidth: u = 350, idealPanelWidth: p2 = 0.333, showSeparator: h2 = false, onPanelChange: m, preventKeyboardScroll: f = true, disableSwipe: g = false }, v) => {
5557
+ const b = useRef(null), y = C$1(d);
5533
5558
  useImperativeHandle(v, () => ({ scrollToPanel: (e) => {
5534
5559
  if (!b.current) return;
5535
5560
  const t = b.current, n = t.children[e];
@@ -5559,8 +5584,8 @@ const z = forwardRef(({ panels: o, className: a = "", style: s2, theme: d, minPa
5559
5584
  };
5560
5585
  }, [f]);
5561
5586
  const w = o.length, x = 2 * u;
5562
- let S2;
5563
- S2 = 1 === w || 2 === w ? "100%" : `max(${u}px, ${100 * p2}%)`;
5587
+ let S;
5588
+ S = 1 === w || 2 === w ? "100%" : `max(${u}px, ${100 * p2}%)`;
5564
5589
  const R = React2__default.useId().replace(/:/g, "_");
5565
5590
  return jsxs(Fragment, { children: [
5566
5591
  2 === w && /* @__PURE__ */ jsx("style", { children: `
@@ -5573,7 +5598,7 @@ const z = forwardRef(({ panels: o, className: a = "", style: s2, theme: d, minPa
5573
5598
  }
5574
5599
  }
5575
5600
  ` }),
5576
- /* @__PURE__ */ jsx("div", { ref: b, className: `snap-carousel-container ${g ? "swipe-disabled" : ""} ${a}`, style: { ...y, ...s2, "--snap-carousel-min-width": `${u}px`, "--snap-carousel-ideal-width": 100 * p2 + "%", "--snap-carousel-gap": h2 ? "1px" : "0px", "--snap-carousel-panel-width": S2, "--snap-carousel-panel-count": w, "--snap-carousel-two-panel-threshold": `${x}px` }, onScroll: (e) => {
5601
+ /* @__PURE__ */ jsx("div", { ref: b, className: `snap-carousel-container ${g ? "swipe-disabled" : ""} ${a}`, style: { ...y, ...s2, "--snap-carousel-min-width": `${u}px`, "--snap-carousel-ideal-width": 100 * p2 + "%", "--snap-carousel-gap": h2 ? "1px" : "0px", "--snap-carousel-panel-width": S, "--snap-carousel-panel-count": w, "--snap-carousel-two-panel-threshold": `${x}px` }, onScroll: (e) => {
5577
5602
  if (!m || !b.current || 0 === b.current.children.length) return;
5578
5603
  const t = b.current, n = t.getBoundingClientRect().left;
5579
5604
  let r2 = 0, o2 = 1 / 0;
@@ -5585,41 +5610,41 @@ const z = forwardRef(({ panels: o, className: a = "", style: s2, theme: d, minPa
5585
5610
  }, "data-panel-count": w, "data-carousel-id": R, children: o.map((t, n) => /* @__PURE__ */ jsx("div", { className: "snap-carousel-panel", children: t }, n)) })
5586
5611
  ] });
5587
5612
  });
5588
- z.displayName = "SnapCarousel";
5589
- var le$1, se$1;
5590
- (se$1 = le$1 || (le$1 = {})).DragStart = "dragStart", se$1.DragMove = "dragMove", se$1.DragEnd = "dragEnd", se$1.DragCancel = "dragCancel", se$1.DragOver = "dragOver", se$1.RegisterDroppable = "registerDroppable", se$1.SetDroppableDisabled = "setDroppableDisabled", se$1.UnregisterDroppable = "unregisterDroppable";
5591
- const de = /* @__PURE__ */ Object.freeze({ x: 0, y: 0 });
5592
- var Te$1, Ae;
5593
- (Ae = Te$1 || (Te$1 = {}))[Ae.Forward = 1] = "Forward", Ae[Ae.Backward = -1] = "Backward";
5594
- var _e$1, je$1, He$1, Ke$1;
5595
- (je$1 = _e$1 || (_e$1 = {})).Click = "click", je$1.DragStart = "dragstart", je$1.Keydown = "keydown", je$1.ContextMenu = "contextmenu", je$1.Resize = "resize", je$1.SelectionChange = "selectionchange", je$1.VisibilityChange = "visibilitychange", (Ke$1 = He$1 || (He$1 = {})).Space = "Space", Ke$1.Down = "ArrowDown", Ke$1.Right = "ArrowRight", Ke$1.Left = "ArrowLeft", Ke$1.Up = "ArrowUp", Ke$1.Esc = "Escape", Ke$1.Enter = "Enter", Ke$1.Tab = "Tab";
5613
+ z$1.displayName = "SnapCarousel";
5614
+ var le$2, se$1;
5615
+ (se$1 = le$2 || (le$2 = {})).DragStart = "dragStart", se$1.DragMove = "dragMove", se$1.DragEnd = "dragEnd", se$1.DragCancel = "dragCancel", se$1.DragOver = "dragOver", se$1.RegisterDroppable = "registerDroppable", se$1.SetDroppableDisabled = "setDroppableDisabled", se$1.UnregisterDroppable = "unregisterDroppable";
5616
+ const de$1 = /* @__PURE__ */ Object.freeze({ x: 0, y: 0 });
5617
+ var Te$1, Ae$1;
5618
+ (Ae$1 = Te$1 || (Te$1 = {}))[Ae$1.Forward = 1] = "Forward", Ae$1[Ae$1.Backward = -1] = "Backward";
5619
+ var _e$2, je$1, He$1, Ke$1;
5620
+ (je$1 = _e$2 || (_e$2 = {})).Click = "click", je$1.DragStart = "dragstart", je$1.Keydown = "keydown", je$1.ContextMenu = "contextmenu", je$1.Resize = "resize", je$1.SelectionChange = "selectionchange", je$1.VisibilityChange = "visibilitychange", (Ke$1 = He$1 || (He$1 = {})).Space = "Space", Ke$1.Down = "ArrowDown", Ke$1.Right = "ArrowRight", Ke$1.Left = "ArrowLeft", Ke$1.Up = "ArrowUp", Ke$1.Esc = "Escape", Ke$1.Enter = "Enter", Ke$1.Tab = "Tab";
5596
5621
  ({ start: [He$1.Space, He$1.Enter], cancel: [He$1.Esc], end: [He$1.Space, He$1.Enter, He$1.Tab] });
5597
- var rt, ot$1;
5598
- (ot$1 = rt || (rt = {}))[ot$1.RightClick = 2] = "RightClick";
5599
- var at, lt$1, st$1, ct$1;
5600
- (lt$1 = at || (at = {}))[lt$1.Pointer = 0] = "Pointer", lt$1[lt$1.DraggableRect = 1] = "DraggableRect", (ct$1 = st$1 || (st$1 = {}))[ct$1.TreeOrder = 0] = "TreeOrder", ct$1[ct$1.ReversedTreeOrder = 1] = "ReversedTreeOrder";
5622
+ var rt$1, ot$1;
5623
+ (ot$1 = rt$1 || (rt$1 = {}))[ot$1.RightClick = 2] = "RightClick";
5624
+ var at$1, lt$1, st$1, ct$1;
5625
+ (lt$1 = at$1 || (at$1 = {}))[lt$1.Pointer = 0] = "Pointer", lt$1[lt$1.DraggableRect = 1] = "DraggableRect", (ct$1 = st$1 || (st$1 = {}))[ct$1.TreeOrder = 0] = "TreeOrder", ct$1[ct$1.ReversedTreeOrder = 1] = "ReversedTreeOrder";
5601
5626
  ({ x: { [Te$1.Backward]: false, [Te$1.Forward]: false }, y: { [Te$1.Backward]: false, [Te$1.Forward]: false } });
5602
- var pt, ht$1, mt$1;
5603
- (ht$1 = pt || (pt = {}))[ht$1.Always = 0] = "Always", ht$1[ht$1.BeforeDragging = 1] = "BeforeDragging", ht$1[ht$1.WhileDragging = 2] = "WhileDragging", (mt$1 || (mt$1 = {})).Optimized = "optimized";
5604
- ({ droppable: { strategy: pt.WhileDragging, frequency: mt$1.Optimized } });
5605
- /* @__PURE__ */ createContext({ ...de, scaleX: 1, scaleY: 1 });
5606
- var $t, Bt$1;
5607
- (Bt$1 = $t || ($t = {}))[Bt$1.Uninitialized = 0] = "Uninitialized", Bt$1[Bt$1.Initializing = 1] = "Initializing", Bt$1[Bt$1.Initialized = 2] = "Initialized";
5608
- var Ut;
5627
+ var pt$1, ht$1, mt$1;
5628
+ (ht$1 = pt$1 || (pt$1 = {}))[ht$1.Always = 0] = "Always", ht$1[ht$1.BeforeDragging = 1] = "BeforeDragging", ht$1[ht$1.WhileDragging = 2] = "WhileDragging", (mt$1 || (mt$1 = {})).Optimized = "optimized";
5629
+ ({ droppable: { strategy: pt$1.WhileDragging, frequency: mt$1.Optimized } });
5630
+ /* @__PURE__ */ createContext({ ...de$1, scaleX: 1, scaleY: 1 });
5631
+ var $t$1, Bt$1;
5632
+ (Bt$1 = $t$1 || ($t$1 = {}))[Bt$1.Uninitialized = 0] = "Uninitialized", Bt$1[Bt$1.Initializing = 1] = "Initializing", Bt$1[Bt$1.Initialized = 2] = "Initialized";
5633
+ var Ut$1;
5609
5634
  (() => {
5610
5635
  if ("undefined" != typeof window) {
5611
5636
  const e = window;
5612
5637
  return e.__principlemd_theme_context__ || (e.__principlemd_theme_context__ = createContext(void 0)), e.__principlemd_theme_context__;
5613
5638
  }
5614
- return Ut || (Ut = createContext(void 0)), Ut;
5639
+ return Ut$1 || (Ut$1 = createContext(void 0)), Ut$1;
5615
5640
  })();
5616
- var _e = Object.defineProperty;
5617
- var Ee = (o, e, t) => e in o ? _e(o, e, { enumerable: true, configurable: true, writable: true, value: t }) : o[e] = t;
5618
- var le = (o, e, t) => Ee(o, typeof e != "symbol" ? e + "" : e, t);
5641
+ var _e$1 = Object.defineProperty;
5642
+ var Ee = (o, e, t) => e in o ? _e$1(o, e, { enumerable: true, configurable: true, writable: true, value: t }) : o[e] = t;
5643
+ var le$1 = (o, e, t) => Ee(o, typeof e != "symbol" ? e + "" : e, t);
5619
5644
  class De {
5620
5645
  constructor() {
5621
- le(this, "PRESETS_KEY", "panel-layouts:workspace-presets");
5622
- le(this, "REPO_STATE_PREFIX", "panel-layouts:repo-state:");
5646
+ le$1(this, "PRESETS_KEY", "panel-layouts:workspace-presets");
5647
+ le$1(this, "REPO_STATE_PREFIX", "panel-layouts:repo-state:");
5623
5648
  }
5624
5649
  /**
5625
5650
  * Load all user-created workspace presets
@@ -6086,7 +6111,7 @@ class O {
6086
6111
  Object.keys(e).length;
6087
6112
  }
6088
6113
  }
6089
- le(O, "adapter", new De());
6114
+ le$1(O, "adapter", new De());
6090
6115
  function gt(o, e, t, r2) {
6091
6116
  useEffect(() => {
6092
6117
  const s2 = e.on(
@@ -8889,6 +8914,102 @@ const EmptyState = ({
8889
8914
  )
8890
8915
  ] });
8891
8916
  };
8917
+ const BoardEmptyState = ({
8918
+ onAddTask,
8919
+ canWrite
8920
+ }) => {
8921
+ const { theme: theme2 } = useTheme();
8922
+ return /* @__PURE__ */ jsxs(
8923
+ "div",
8924
+ {
8925
+ style: {
8926
+ display: "flex",
8927
+ flexDirection: "column",
8928
+ alignItems: "center",
8929
+ justifyContent: "center",
8930
+ height: "100%",
8931
+ padding: "48px 24px",
8932
+ textAlign: "center",
8933
+ color: theme2.colors.textMuted
8934
+ },
8935
+ children: [
8936
+ /* @__PURE__ */ jsx(
8937
+ Rocket,
8938
+ {
8939
+ size: 64,
8940
+ color: theme2.colors.textMuted,
8941
+ style: { marginBottom: "24px", opacity: 0.5 }
8942
+ }
8943
+ ),
8944
+ /* @__PURE__ */ jsx(
8945
+ "h3",
8946
+ {
8947
+ style: {
8948
+ fontSize: theme2.fontSizes[4],
8949
+ fontWeight: 600,
8950
+ color: theme2.colors.text,
8951
+ marginBottom: "12px"
8952
+ },
8953
+ children: "Your backlog is empty!"
8954
+ }
8955
+ ),
8956
+ /* @__PURE__ */ jsx(
8957
+ "p",
8958
+ {
8959
+ style: {
8960
+ fontSize: theme2.fontSizes[2],
8961
+ color: theme2.colors.textMuted,
8962
+ marginBottom: "32px",
8963
+ maxWidth: "480px",
8964
+ lineHeight: 1.6
8965
+ },
8966
+ children: "Ready to get started? Add your first task to begin organizing your work."
8967
+ }
8968
+ ),
8969
+ canWrite ? /* @__PURE__ */ jsxs(
8970
+ "button",
8971
+ {
8972
+ onClick: onAddTask,
8973
+ style: {
8974
+ display: "inline-flex",
8975
+ alignItems: "center",
8976
+ gap: "8px",
8977
+ padding: "12px 24px",
8978
+ backgroundColor: theme2.colors.primary,
8979
+ color: theme2.colors.textOnPrimary,
8980
+ borderRadius: theme2.radii[2],
8981
+ border: "none",
8982
+ fontSize: theme2.fontSizes[2],
8983
+ fontWeight: 500,
8984
+ cursor: "pointer",
8985
+ transition: "opacity 0.2s"
8986
+ },
8987
+ onMouseEnter: (e) => {
8988
+ e.currentTarget.style.opacity = "0.9";
8989
+ },
8990
+ onMouseLeave: (e) => {
8991
+ e.currentTarget.style.opacity = "1";
8992
+ },
8993
+ children: [
8994
+ /* @__PURE__ */ jsx(Plus, { size: 16 }),
8995
+ /* @__PURE__ */ jsx("span", { children: "Add Task" })
8996
+ ]
8997
+ }
8998
+ ) : /* @__PURE__ */ jsx(
8999
+ "p",
9000
+ {
9001
+ style: {
9002
+ fontSize: theme2.fontSizes[1],
9003
+ color: theme2.colors.textMuted,
9004
+ fontStyle: "italic"
9005
+ },
9006
+ children: "You don't have permission to add tasks"
9007
+ }
9008
+ )
9009
+ ]
9010
+ }
9011
+ );
9012
+ };
8892
9013
  const TaskModal = ({
8893
9014
  isOpen,
8894
9015
  onClose,
@@ -10003,6 +10124,7 @@ const KanbanPanel = ({
10003
10124
  totalTasksState,
10004
10125
  loadMoreTasks,
10005
10126
  error,
10127
+ isLoading,
10006
10128
  isBacklogProject,
10007
10129
  refreshData,
10008
10130
  moveTaskOptimistic,
@@ -10551,7 +10673,13 @@ const KanbanPanel = ({
10551
10673
  canInitialize,
10552
10674
  onInitialize: handleInitialize
10553
10675
  }
10554
- ) : viewMode === "board" ? /* @__PURE__ */ jsxs(
10676
+ ) : viewMode === "board" ? !isLoading && totalTasksState.total === 0 ? /* @__PURE__ */ jsx(
10677
+ BoardEmptyState,
10678
+ {
10679
+ onAddTask: handleOpenNewTask,
10680
+ canWrite
10681
+ }
10682
+ ) : /* @__PURE__ */ jsxs(
10555
10683
  DndContext,
10556
10684
  {
10557
10685
  sensors,
@@ -50109,6 +50237,96 @@ var TransformComponent = function(_a) {
50109
50237
  React2__default.createElement("div", __assign({}, contentProps, { ref: contentRef, className: "".concat(baseClasses.contentClass, " ").concat(styles.content, " ").concat(contentClass), style: contentStyle }), children2)
50110
50238
  );
50111
50239
  };
50240
+ var isInjected = false;
50241
+ function injectHighlightStyles() {
50242
+ if (isInjected || typeof document === "undefined") {
50243
+ return;
50244
+ }
50245
+ const existingStyle = document.getElementById("themed-markdown-highlight-css");
50246
+ if (existingStyle) {
50247
+ isInjected = true;
50248
+ return;
50249
+ }
50250
+ const css2 = `
50251
+ pre code.hljs {
50252
+ display: block;
50253
+ overflow-x: auto;
50254
+ padding: 1em
50255
+ }
50256
+ code.hljs {
50257
+ padding: 3px 5px
50258
+ }
50259
+
50260
+ .hljs {
50261
+ color: #abb2bf;
50262
+ background: #282c34
50263
+ }
50264
+ .hljs-comment,
50265
+ .hljs-quote {
50266
+ color: #5c6370;
50267
+ font-style: italic
50268
+ }
50269
+ .hljs-doctag,
50270
+ .hljs-keyword,
50271
+ .hljs-formula {
50272
+ color: #c678dd
50273
+ }
50274
+ .hljs-section,
50275
+ .hljs-name,
50276
+ .hljs-selector-tag,
50277
+ .hljs-deletion,
50278
+ .hljs-subst {
50279
+ color: #e06c75
50280
+ }
50281
+ .hljs-literal {
50282
+ color: #56b6c2
50283
+ }
50284
+ .hljs-string,
50285
+ .hljs-regexp,
50286
+ .hljs-addition,
50287
+ .hljs-attribute,
50288
+ .hljs-meta .hljs-string {
50289
+ color: #98c379
50290
+ }
50291
+ .hljs-attr,
50292
+ .hljs-variable,
50293
+ .hljs-template-variable,
50294
+ .hljs-type,
50295
+ .hljs-selector-class,
50296
+ .hljs-selector-attr,
50297
+ .hljs-selector-pseudo,
50298
+ .hljs-number {
50299
+ color: #d19a66
50300
+ }
50301
+ .hljs-symbol,
50302
+ .hljs-bullet,
50303
+ .hljs-link,
50304
+ .hljs-meta,
50305
+ .hljs-selector-id,
50306
+ .hljs-title {
50307
+ color: #61aeee
50308
+ }
50309
+ .hljs-built_in,
50310
+ .hljs-title.class_,
50311
+ .hljs-class .hljs-title {
50312
+ color: #e6c07b
50313
+ }
50314
+ .hljs-emphasis {
50315
+ font-style: italic
50316
+ }
50317
+ .hljs-strong {
50318
+ font-weight: bold
50319
+ }
50320
+ .hljs-link {
50321
+ text-decoration: underline
50322
+ }`;
50323
+ const styleElement = document.createElement("style");
50324
+ styleElement.id = "themed-markdown-highlight-css";
50325
+ styleElement.textContent = css2;
50326
+ document.head.appendChild(styleElement);
50327
+ isInjected = true;
50328
+ }
50329
+ injectHighlightStyles();
50112
50330
  var terminalTheme = {
50113
50331
  space: [0, 4, 8, 16, 32, 64, 128, 256, 512],
50114
50332
  fonts: {
@@ -50146,52 +50364,53 @@ var terminalTheme = {
50146
50364
  zIndices: [0, 1, 10, 20, 30, 40, 50],
50147
50365
  colors: {
50148
50366
  text: "#e4e4e4",
50149
- background: "rgba(10, 10, 10, 0.85)",
50367
+ background: "#0a0a0a",
50150
50368
  primary: "#66b3ff",
50151
50369
  secondary: "#80c4ff",
50152
50370
  accent: "#66ff99",
50153
- highlight: "rgba(102, 179, 255, 0.15)",
50154
- muted: "rgba(26, 26, 26, 0.8)",
50371
+ highlight: "#18283d",
50372
+ muted: "#1a1a1a",
50155
50373
  success: "#66ff99",
50156
50374
  warning: "#ffcc66",
50157
50375
  error: "#ff6666",
50158
50376
  info: "#66b3ff",
50159
- border: "rgba(255, 255, 255, 0.1)",
50160
- backgroundSecondary: "rgba(15, 15, 15, 0.9)",
50161
- backgroundTertiary: "rgba(20, 20, 20, 0.9)",
50162
- backgroundLight: "rgba(255, 255, 255, 0.05)",
50163
- backgroundHover: "rgba(102, 179, 255, 0.08)",
50164
- surface: "rgba(15, 15, 15, 0.95)",
50165
- textSecondary: "rgba(255, 255, 255, 0.7)",
50166
- textTertiary: "rgba(255, 255, 255, 0.5)",
50167
- textMuted: "rgba(255, 255, 255, 0.4)",
50168
- highlightBg: "rgba(255, 235, 59, 0.25)",
50169
- highlightBorder: "rgba(255, 235, 59, 0.5)"
50377
+ border: "#1a1a1a",
50378
+ backgroundSecondary: "#0f0f0f",
50379
+ backgroundTertiary: "#141414",
50380
+ backgroundLight: "#0d0d0d",
50381
+ backgroundHover: "#0d1520",
50382
+ surface: "#0f0f0f",
50383
+ textSecondary: "#b3b3b3",
50384
+ textTertiary: "#808080",
50385
+ textMuted: "#666666",
50386
+ highlightBg: "#40391e",
50387
+ highlightBorder: "#7f7530",
50388
+ textOnPrimary: "#ffffff"
50170
50389
  },
50171
50390
  modes: {
50172
50391
  light: {
50173
50392
  text: "#1a1a1a",
50174
- background: "rgba(255, 255, 255, 0.9)",
50393
+ background: "#ffffff",
50175
50394
  primary: "#0066cc",
50176
50395
  secondary: "#0052a3",
50177
50396
  accent: "#00cc88",
50178
- highlight: "rgba(0, 102, 204, 0.08)",
50179
- muted: "rgba(245, 245, 245, 0.8)",
50397
+ highlight: "#e6f2ff",
50398
+ muted: "#f5f5f5",
50180
50399
  success: "#00cc88",
50181
50400
  warning: "#ffaa00",
50182
50401
  error: "#ff3333",
50183
50402
  info: "#0066cc",
50184
- border: "rgba(0, 0, 0, 0.1)",
50185
- backgroundSecondary: "rgba(250, 250, 250, 0.9)",
50186
- backgroundTertiary: "rgba(245, 245, 245, 0.9)",
50187
- backgroundLight: "rgba(0, 0, 0, 0.02)",
50188
- backgroundHover: "rgba(0, 102, 204, 0.04)",
50189
- surface: "rgba(255, 255, 255, 0.95)",
50190
- textSecondary: "rgba(0, 0, 0, 0.6)",
50191
- textTertiary: "rgba(0, 0, 0, 0.4)",
50192
- textMuted: "rgba(0, 0, 0, 0.3)",
50193
- highlightBg: "rgba(255, 235, 59, 0.3)",
50194
- highlightBorder: "rgba(255, 235, 59, 0.6)"
50403
+ border: "#e6e6e6",
50404
+ backgroundSecondary: "#fafafa",
50405
+ backgroundTertiary: "#f5f5f5",
50406
+ backgroundLight: "#fafafa",
50407
+ backgroundHover: "#f5f9fd",
50408
+ surface: "#ffffff",
50409
+ textSecondary: "#666666",
50410
+ textTertiary: "#999999",
50411
+ textMuted: "#b3b3b3",
50412
+ highlightBg: "#fff9c4",
50413
+ highlightBorder: "#fff389"
50195
50414
  }
50196
50415
  },
50197
50416
  buttons: {
@@ -51508,8 +51727,8 @@ var createIndustryMarkdownComponents = ({
51508
51727
  };
51509
51728
  const darkMode = getLuminance(theme2.colors.background) < 0.5;
51510
51729
  const headerStyles = {};
51511
- if (index2 === 0 && slideHeaderMarginTopOverride) {
51512
- headerStyles.marginTop = `${slideHeaderMarginTopOverride}px`;
51730
+ if (index2 === 0) {
51731
+ headerStyles.marginTop = slideHeaderMarginTopOverride ? `${slideHeaderMarginTopOverride}px` : 0;
51513
51732
  }
51514
51733
  return {
51515
51734
  h1: ({ children: children2, ...props }) => /* @__PURE__ */ React2__default.createElement("h1", {
@@ -52695,29 +52914,25 @@ var fontTransitionCSS = `
52695
52914
  font-size: 1rem !important; /* Fixed size for checkbox labels */
52696
52915
  }
52697
52916
 
52698
- /* Remove top margin from headings when they're the first element */
52699
- .markdown-slide > :first-child h1:first-child,
52700
- .markdown-slide > :first-child h2:first-child,
52701
- .markdown-slide > :first-child h3:first-child,
52702
- .markdown-slide > :first-child h4:first-child,
52703
- .markdown-slide > :first-child h5:first-child,
52704
- .markdown-slide > :first-child h6:first-child {
52917
+ /* Remove top margin from any first element - must override inline styles */
52918
+ .markdown-slide > *:first-child,
52919
+ .markdown-slide > *:first-child > *:first-child {
52705
52920
  margin-top: 0 !important;
52706
52921
  }
52707
-
52708
- /* Also handle when heading is inside the first paragraph/div from ReactMarkdown */
52709
- .markdown-slide > div:first-child > h1:first-child,
52710
- .markdown-slide > div:first-child > h2:first-child,
52711
- .markdown-slide > div:first-child > h3:first-child,
52712
- .markdown-slide > div:first-child > h4:first-child,
52713
- .markdown-slide > div:first-child > h5:first-child,
52714
- .markdown-slide > div:first-child > h6:first-child,
52715
- .markdown-slide > p:first-child > h1:first-child,
52716
- .markdown-slide > p:first-child > h2:first-child,
52717
- .markdown-slide > p:first-child > h3:first-child,
52718
- .markdown-slide > p:first-child > h4:first-child,
52719
- .markdown-slide > p:first-child > h5:first-child,
52720
- .markdown-slide > p:first-child > h6:first-child {
52922
+
52923
+ /* Specifically target all possible first-child elements */
52924
+ .markdown-slide > h1:first-child,
52925
+ .markdown-slide > h2:first-child,
52926
+ .markdown-slide > h3:first-child,
52927
+ .markdown-slide > h4:first-child,
52928
+ .markdown-slide > h5:first-child,
52929
+ .markdown-slide > h6:first-child,
52930
+ .markdown-slide > p:first-child,
52931
+ .markdown-slide > ul:first-child,
52932
+ .markdown-slide > ol:first-child,
52933
+ .markdown-slide > div:first-child,
52934
+ .markdown-slide > blockquote:first-child,
52935
+ .markdown-slide > pre:first-child {
52721
52936
  margin-top: 0 !important;
52722
52937
  }
52723
52938
  `;
@@ -53443,7 +53658,6 @@ var panelConstraintFlags = /* @__PURE__ */ new Map();
53443
53658
  function reportConstraintsViolation(resizeHandleId, flag) {
53444
53659
  panelConstraintFlags.set(resizeHandleId, flag);
53445
53660
  }
53446
- new AbortController();
53447
53661
  function useForceUpdate() {
53448
53662
  const [_, setCount] = useState(0);
53449
53663
  return useCallback(() => setCount((prevCount) => prevCount + 1), []);
@@ -53607,7 +53821,7 @@ function adjustLayoutByDelta({
53607
53821
  if (!fuzzyNumbersEqual(prevSize, safeSize)) {
53608
53822
  deltaApplied += prevSize - safeSize;
53609
53823
  nextLayout[index2] = safeSize;
53610
- if (deltaApplied.toPrecision(3).localeCompare(Math.abs(delta).toPrecision(3), void 0, {
53824
+ if (deltaApplied.toFixed(3).localeCompare(Math.abs(delta).toFixed(3), void 0, {
53611
53825
  numeric: true
53612
53826
  }) >= 0) {
53613
53827
  break;
@@ -53716,9 +53930,14 @@ function determinePivotIndices(groupId, dragHandleId, panelGroupElement) {
53716
53930
  const index2 = getResizeHandleElementIndex(groupId, dragHandleId, panelGroupElement);
53717
53931
  return index2 != null ? [index2, index2 + 1] : [-1, -1];
53718
53932
  }
53933
+ function isHTMLElement(target) {
53934
+ if (target instanceof HTMLElement) {
53935
+ return true;
53936
+ }
53937
+ return typeof target === "object" && target !== null && "tagName" in target && "getAttribute" in target;
53938
+ }
53719
53939
  function getPanelGroupElement(id, rootElement = document) {
53720
- var _dataset;
53721
- if (rootElement instanceof HTMLElement && (rootElement === null || rootElement === void 0 ? void 0 : (_dataset = rootElement.dataset) === null || _dataset === void 0 ? void 0 : _dataset.panelGroupId) == id) {
53940
+ if (isHTMLElement(rootElement) && rootElement.dataset.panelGroupId == id) {
53722
53941
  return rootElement;
53723
53942
  }
53724
53943
  const element2 = rootElement.querySelector(`[data-panel-group][data-panel-group-id="${id}"]`);
@@ -54036,11 +54255,11 @@ function computePanelFlexBoxStyle({
54036
54255
  const size = layout[panelIndex];
54037
54256
  let flexGrow;
54038
54257
  if (size == null) {
54039
- flexGrow = defaultSize != null ? defaultSize.toPrecision(precision) : "1";
54258
+ flexGrow = defaultSize != null ? defaultSize.toFixed(precision) : "1";
54040
54259
  } else if (panelData.length === 1) {
54041
54260
  flexGrow = "1";
54042
54261
  } else {
54043
- flexGrow = size.toPrecision(precision);
54262
+ flexGrow = size.toFixed(precision);
54044
54263
  }
54045
54264
  return {
54046
54265
  flexBasis: 0,
@@ -54822,23 +55041,26 @@ function panelDataHelper(panelDataArray, panelData, layout) {
54822
55041
  pivotIndices
54823
55042
  };
54824
55043
  }
54825
- function S(e2) {
55044
+ function C(e2) {
54826
55045
  return { "--panel-background": e2.colors.background, "--panel-border": e2.colors.border, "--panel-handle": e2.colors.backgroundSecondary, "--panel-handle-hover": e2.colors.backgroundHover, "--panel-handle-active": e2.colors.primary, "--panel-button-bg": e2.colors.surface, "--panel-button-hover": e2.colors.backgroundHover, "--panel-button-border": e2.colors.border, "--panel-button-icon": e2.colors.textSecondary, "--panel-accent-bg": e2.colors.primary + "15" };
54827
55046
  }
54828
- var M = forwardRef(({ panels: o2, className: a2 = "", style: s2, theme: d2, minPanelWidth: u2 = 350, idealPanelWidth: p2 = 0.333, showSeparator: h2 = false, onPanelChange: m2, preventKeyboardScroll: f2 = true }, g) => {
54829
- const v = useRef(null), b = S(d2);
54830
- useImperativeHandle(g, () => ({ scrollToPanel: (e2) => {
54831
- if (!v.current)
55047
+ var z = forwardRef(({ panels: o2, className: a2 = "", style: s2, theme: d2, minPanelWidth: u2 = 350, idealPanelWidth: p2 = 0.333, showSeparator: h2 = false, onPanelChange: m2, preventKeyboardScroll: f2 = true, disableSwipe: g = false }, v) => {
55048
+ const b = useRef(null), y2 = useRef(false), w2 = useRef(null), x2 = C(d2);
55049
+ useImperativeHandle(v, () => ({ scrollToPanel: (e2) => {
55050
+ if (!b.current)
54832
55051
  return;
54833
- const t2 = v.current, n2 = t2.children[e2];
55052
+ const t2 = b.current, n2 = t2.children[e2];
54834
55053
  if (n2) {
55054
+ y2.current = true, w2.current && clearTimeout(w2.current);
54835
55055
  const e3 = n2.offsetLeft;
54836
- t2.scrollTo({ left: e3, behavior: "smooth" });
55056
+ t2.scrollTo({ left: e3, behavior: "smooth" }), w2.current = setTimeout(() => {
55057
+ y2.current = false;
55058
+ }, 500);
54837
55059
  }
54838
55060
  }, getCurrentPanel: () => {
54839
- if (!v.current || v.current.children.length === 0)
55061
+ if (!b.current || b.current.children.length === 0)
54840
55062
  return 0;
54841
- const e2 = v.current, t2 = e2.getBoundingClientRect().left;
55063
+ const e2 = b.current, t2 = e2.getBoundingClientRect().left;
54842
55064
  let n2 = 0, r2 = 1 / 0;
54843
55065
  for (let o3 = 0; o3 < e2.children.length; o3++) {
54844
55066
  const i2 = e2.children[o3].getBoundingClientRect(), a3 = Math.abs(i2.left - t2);
@@ -54847,9 +55069,9 @@ var M = forwardRef(({ panels: o2, className: a2 = "", style: s2, theme: d2, minP
54847
55069
  return n2;
54848
55070
  } }));
54849
55071
  useEffect(() => {
54850
- if (!f2 || !v.current)
55072
+ if (!f2 || !b.current)
54851
55073
  return;
54852
- const e2 = v.current, t2 = (e3) => {
55074
+ const e2 = b.current, t2 = (e3) => {
54853
55075
  const t3 = e3.target;
54854
55076
  if (t3.tagName === "INPUT" || t3.tagName === "TEXTAREA" || t3.tagName === "SELECT" || t3.isContentEditable || t3.closest(".xterm") !== null || t3.closest('[contenteditable="true"]') !== null)
54855
55077
  return;
@@ -54858,74 +55080,78 @@ var M = forwardRef(({ panels: o2, className: a2 = "", style: s2, theme: d2, minP
54858
55080
  return e2.addEventListener("keydown", t2), () => {
54859
55081
  e2.removeEventListener("keydown", t2);
54860
55082
  };
54861
- }, [f2]);
54862
- const y2 = o2.length, w2 = 2 * u2;
54863
- let x2;
54864
- x2 = y2 === 1 || y2 === 2 ? "100%" : `max(${u2}px, ${100 * p2}%)`;
54865
- const C2 = React2__default.useId().replace(/:/g, "_");
55083
+ }, [f2]), useEffect(() => () => {
55084
+ w2.current && clearTimeout(w2.current);
55085
+ }, []);
55086
+ const S = o2.length, R2 = 2 * u2;
55087
+ let N;
55088
+ N = S === 1 || S === 2 ? "100%" : `max(${u2}px, ${100 * p2}%)`;
55089
+ const E = React2__default.useId().replace(/:/g, "_");
54866
55090
  return jsxs(Fragment, { children: [
54867
- y2 === 2 && /* @__PURE__ */ jsx("style", { children: `
54868
- .snap-carousel-container[data-carousel-id="${C2}"][data-panel-count="2"] .snap-carousel-panel {
55091
+ S === 2 && /* @__PURE__ */ jsx("style", { children: `
55092
+ .snap-carousel-container[data-carousel-id="${E}"][data-panel-count="2"] .snap-carousel-panel {
54869
55093
  width: 100%;
54870
55094
  }
54871
- @container (min-width: ${w2}px) {
54872
- .snap-carousel-container[data-carousel-id="${C2}"][data-panel-count="2"] .snap-carousel-panel {
55095
+ @container (min-width: ${R2}px) {
55096
+ .snap-carousel-container[data-carousel-id="${E}"][data-panel-count="2"] .snap-carousel-panel {
54873
55097
  width: 50%;
54874
55098
  }
54875
55099
  }
54876
55100
  ` }),
54877
- /* @__PURE__ */ jsx("div", { ref: v, className: `snap-carousel-container ${a2}`, style: { ...b, ...s2, "--snap-carousel-min-width": `${u2}px`, "--snap-carousel-ideal-width": 100 * p2 + "%", "--snap-carousel-gap": h2 ? "1px" : "0px", "--snap-carousel-panel-width": x2, "--snap-carousel-panel-count": y2, "--snap-carousel-two-panel-threshold": `${w2}px` }, onScroll: (e2) => {
54878
- if (!m2 || !v.current || v.current.children.length === 0)
55101
+ /* @__PURE__ */ jsx("div", { ref: b, className: `snap-carousel-container ${g ? "swipe-disabled" : ""} ${a2}`, style: { ...x2, ...s2, "--snap-carousel-min-width": `${u2}px`, "--snap-carousel-ideal-width": 100 * p2 + "%", "--snap-carousel-gap": h2 ? "1px" : "0px", "--snap-carousel-panel-width": N, "--snap-carousel-panel-count": S, "--snap-carousel-two-panel-threshold": `${R2}px` }, onScroll: (e2) => {
55102
+ if (!m2 || !b.current || b.current.children.length === 0)
55103
+ return;
55104
+ if (y2.current)
54879
55105
  return;
54880
- const t2 = v.current, n2 = t2.getBoundingClientRect().left;
55106
+ const t2 = b.current, n2 = t2.getBoundingClientRect().left;
54881
55107
  let r2 = 0, o3 = 1 / 0;
54882
55108
  for (let i2 = 0; i2 < t2.children.length; i2++) {
54883
55109
  const e3 = t2.children[i2].getBoundingClientRect(), a3 = Math.abs(e3.left - n2);
54884
55110
  a3 < o3 && (o3 = a3, r2 = i2);
54885
55111
  }
54886
55112
  m2(r2);
54887
- }, "data-panel-count": y2, "data-carousel-id": C2, children: o2.map((t2, n2) => /* @__PURE__ */ jsx("div", { className: "snap-carousel-panel", children: t2 }, n2)) })
55113
+ }, "data-panel-count": S, "data-carousel-id": E, children: o2.map((t2, n2) => /* @__PURE__ */ jsx("div", { className: "snap-carousel-panel", children: t2 }, n2)) })
54888
55114
  ] });
54889
55115
  });
54890
- M.displayName = "SnapCarousel";
55116
+ z.displayName = "SnapCarousel";
55117
+ var le;
54891
55118
  var se;
54892
- var ce;
54893
- (ce = se || (se = {})).DragStart = "dragStart", ce.DragMove = "dragMove", ce.DragEnd = "dragEnd", ce.DragCancel = "dragCancel", ce.DragOver = "dragOver", ce.RegisterDroppable = "registerDroppable", ce.SetDroppableDisabled = "setDroppableDisabled", ce.UnregisterDroppable = "unregisterDroppable";
54894
- var ue = /* @__PURE__ */ Object.freeze({ x: 0, y: 0 });
55119
+ (se = le || (le = {})).DragStart = "dragStart", se.DragMove = "dragMove", se.DragEnd = "dragEnd", se.DragCancel = "dragCancel", se.DragOver = "dragOver", se.RegisterDroppable = "registerDroppable", se.SetDroppableDisabled = "setDroppableDisabled", se.UnregisterDroppable = "unregisterDroppable";
55120
+ var de = /* @__PURE__ */ Object.freeze({ x: 0, y: 0 });
54895
55121
  var Te;
54896
- var ke;
54897
- (ke = Te || (Te = {}))[ke.Forward = 1] = "Forward", ke[ke.Backward = -1] = "Backward";
55122
+ var Ae;
55123
+ (Ae = Te || (Te = {}))[Ae.Forward = 1] = "Forward", Ae[Ae.Backward = -1] = "Backward";
55124
+ var _e;
54898
55125
  var je;
54899
55126
  var He;
54900
55127
  var Ke;
54901
- var Ue;
54902
- (He = je || (je = {})).Click = "click", He.DragStart = "dragstart", He.Keydown = "keydown", He.ContextMenu = "contextmenu", He.Resize = "resize", He.SelectionChange = "selectionchange", He.VisibilityChange = "visibilitychange", (Ue = Ke || (Ke = {})).Space = "Space", Ue.Down = "ArrowDown", Ue.Right = "ArrowRight", Ue.Left = "ArrowLeft", Ue.Up = "ArrowUp", Ue.Esc = "Escape", Ue.Enter = "Enter", Ue.Tab = "Tab";
54903
- ({ start: [Ke.Space, Ke.Enter], cancel: [Ke.Esc], end: [Ke.Space, Ke.Enter, Ke.Tab] });
55128
+ (je = _e || (_e = {})).Click = "click", je.DragStart = "dragstart", je.Keydown = "keydown", je.ContextMenu = "contextmenu", je.Resize = "resize", je.SelectionChange = "selectionchange", je.VisibilityChange = "visibilitychange", (Ke = He || (He = {})).Space = "Space", Ke.Down = "ArrowDown", Ke.Right = "ArrowRight", Ke.Left = "ArrowLeft", Ke.Up = "ArrowUp", Ke.Esc = "Escape", Ke.Enter = "Enter", Ke.Tab = "Tab";
55129
+ ({ start: [He.Space, He.Enter], cancel: [He.Esc], end: [He.Space, He.Enter, He.Tab] });
55130
+ var rt;
54904
55131
  var ot;
54905
- var it;
54906
- (it = ot || (ot = {}))[it.RightClick = 2] = "RightClick";
55132
+ (ot = rt || (rt = {}))[ot.RightClick = 2] = "RightClick";
55133
+ var at;
54907
55134
  var lt;
54908
55135
  var st;
54909
55136
  var ct;
54910
- var dt;
54911
- (st = lt || (lt = {}))[st.Pointer = 0] = "Pointer", st[st.DraggableRect = 1] = "DraggableRect", (dt = ct || (ct = {}))[dt.TreeOrder = 0] = "TreeOrder", dt[dt.ReversedTreeOrder = 1] = "ReversedTreeOrder";
55137
+ (lt = at || (at = {}))[lt.Pointer = 0] = "Pointer", lt[lt.DraggableRect = 1] = "DraggableRect", (ct = st || (st = {}))[ct.TreeOrder = 0] = "TreeOrder", ct[ct.ReversedTreeOrder = 1] = "ReversedTreeOrder";
54912
55138
  ({ x: { [Te.Backward]: false, [Te.Forward]: false }, y: { [Te.Backward]: false, [Te.Forward]: false } });
55139
+ var pt;
54913
55140
  var ht;
54914
55141
  var mt;
54915
- var ft;
54916
- (mt = ht || (ht = {}))[mt.Always = 0] = "Always", mt[mt.BeforeDragging = 1] = "BeforeDragging", mt[mt.WhileDragging = 2] = "WhileDragging", (ft || (ft = {})).Optimized = "optimized";
54917
- ({ droppable: { strategy: ht.WhileDragging, frequency: ft.Optimized } });
54918
- /* @__PURE__ */ createContext({ ...ue, scaleX: 1, scaleY: 1 });
55142
+ (ht = pt || (pt = {}))[ht.Always = 0] = "Always", ht[ht.BeforeDragging = 1] = "BeforeDragging", ht[ht.WhileDragging = 2] = "WhileDragging", (mt || (mt = {})).Optimized = "optimized";
55143
+ ({ droppable: { strategy: pt.WhileDragging, frequency: mt.Optimized } });
55144
+ /* @__PURE__ */ createContext({ ...de, scaleX: 1, scaleY: 1 });
55145
+ var $t;
54919
55146
  var Bt;
54920
- var Ot;
54921
- (Ot = Bt || (Bt = {}))[Ot.Uninitialized = 0] = "Uninitialized", Ot[Ot.Initializing = 1] = "Initializing", Ot[Ot.Initialized = 2] = "Initialized";
54922
- var Vt;
55147
+ (Bt = $t || ($t = {}))[Bt.Uninitialized = 0] = "Uninitialized", Bt[Bt.Initializing = 1] = "Initializing", Bt[Bt.Initialized = 2] = "Initialized";
55148
+ var Ut;
54923
55149
  (() => {
54924
55150
  if (typeof window != "undefined") {
54925
55151
  const e2 = window;
54926
55152
  return e2.__principlemd_theme_context__ || (e2.__principlemd_theme_context__ = createContext(void 0)), e2.__principlemd_theme_context__;
54927
55153
  }
54928
- return Vt || (Vt = createContext(void 0)), Vt;
55154
+ return Ut || (Ut = createContext(void 0)), Ut;
54929
55155
  })();
54930
55156
  var DocumentView = ({
54931
55157
  content: content2,