@lateralus-ai/shipping-ui 2.0.0-dev.14 → 2.0.0-dev.15
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.
- package/dist/index.cjs +9 -9
- package/dist/index.esm.js +254 -254
- package/package.json +1 -1
- package/src/patterns/Sidebar/SidebarAction.tsx +2 -1
package/dist/index.esm.js
CHANGED
|
@@ -4,7 +4,7 @@ var De = (e, r, t) => m8(e, typeof r != "symbol" ? r + "" : r, t);
|
|
|
4
4
|
import { b as cu, d as ou, c as iu, e as Au, a as su, g as lu, o as uu, p as du, r as pu, t as Cu, w as gu } from "./theme-entry-BUK3MJUJ.mjs";
|
|
5
5
|
import * as l from "react";
|
|
6
6
|
import dn, { forwardRef as X1, useLayoutEffect as j8, useState as m1, isValidElement as f8, useId as a2, useRef as c2, useEffect as Ce, createContext as V8, useContext as pn, useCallback as y1 } from "react";
|
|
7
|
-
import * as
|
|
7
|
+
import * as Br from "react-dom";
|
|
8
8
|
import O8 from "react-dom";
|
|
9
9
|
import g5 from "docxtemplater";
|
|
10
10
|
import x5 from "pizzip";
|
|
@@ -116,7 +116,7 @@ const ml = {
|
|
|
116
116
|
footnote: { size: "13px", lineHeight: "17px", letterSpacing: "0", weight: 400 },
|
|
117
117
|
"footnote-em": { size: "13px", lineHeight: "17px", letterSpacing: "0", weight: 500 }
|
|
118
118
|
};
|
|
119
|
-
var
|
|
119
|
+
var Rt = { exports: {} }, Xe = {};
|
|
120
120
|
/**
|
|
121
121
|
* @license React
|
|
122
122
|
* react-jsx-runtime.production.min.js
|
|
@@ -481,13 +481,13 @@ function b8() {
|
|
|
481
481
|
if (Re(j))
|
|
482
482
|
return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Te(j)), Fe(j);
|
|
483
483
|
}
|
|
484
|
-
var fr = O.ReactCurrentOwner,
|
|
484
|
+
var fr = O.ReactCurrentOwner, mt = {
|
|
485
485
|
key: !0,
|
|
486
486
|
ref: !0,
|
|
487
487
|
__self: !0,
|
|
488
488
|
__source: !0
|
|
489
489
|
}, Vr, Or;
|
|
490
|
-
function
|
|
490
|
+
function jt(j) {
|
|
491
491
|
if (Q.call(j, "ref")) {
|
|
492
492
|
var M = Object.getOwnPropertyDescriptor(j, "ref").get;
|
|
493
493
|
if (M && M.isReactWarning)
|
|
@@ -495,7 +495,7 @@ function b8() {
|
|
|
495
495
|
}
|
|
496
496
|
return j.ref !== void 0;
|
|
497
497
|
}
|
|
498
|
-
function
|
|
498
|
+
function ft(j) {
|
|
499
499
|
if (Q.call(j, "key")) {
|
|
500
500
|
var M = Object.getOwnPropertyDescriptor(j, "key").get;
|
|
501
501
|
if (M && M.isReactWarning)
|
|
@@ -557,12 +557,12 @@ function b8() {
|
|
|
557
557
|
value: a1
|
|
558
558
|
}), Object.freeze && (Object.freeze($.props), Object.freeze($)), $;
|
|
559
559
|
};
|
|
560
|
-
function
|
|
560
|
+
function Vt(j, M, S, D, a1) {
|
|
561
561
|
{
|
|
562
562
|
var o1, r1 = {}, $ = null, k1 = null;
|
|
563
|
-
S !== void 0 && (Ge(S), $ = "" + S),
|
|
563
|
+
S !== void 0 && (Ge(S), $ = "" + S), ft(M) && (Ge(M.key), $ = "" + M.key), jt(M) && (k1 = M.ref, O1(M, a1));
|
|
564
564
|
for (o1 in M)
|
|
565
|
-
Q.call(M, o1) && !
|
|
565
|
+
Q.call(M, o1) && !mt.hasOwnProperty(o1) && (r1[o1] = M[o1]);
|
|
566
566
|
if (j && j.defaultProps) {
|
|
567
567
|
var p1 = j.defaultProps;
|
|
568
568
|
for (o1 in p1)
|
|
@@ -575,7 +575,7 @@ function b8() {
|
|
|
575
575
|
return R1(j, $, k1, a1, D, fr.current, r1);
|
|
576
576
|
}
|
|
577
577
|
}
|
|
578
|
-
var
|
|
578
|
+
var Ot = O.ReactCurrentOwner, A5 = O.ReactDebugCurrentFrame;
|
|
579
579
|
function He(j) {
|
|
580
580
|
if (j) {
|
|
581
581
|
var M = j._owner, S = u1(j.type, j._source, M ? M.type : null);
|
|
@@ -583,15 +583,15 @@ function b8() {
|
|
|
583
583
|
} else
|
|
584
584
|
A5.setExtraStackFrame(null);
|
|
585
585
|
}
|
|
586
|
-
var
|
|
587
|
-
|
|
588
|
-
function
|
|
586
|
+
var yt;
|
|
587
|
+
yt = !1;
|
|
588
|
+
function zt(j) {
|
|
589
589
|
return typeof j == "object" && j !== null && j.$$typeof === r;
|
|
590
590
|
}
|
|
591
591
|
function s5() {
|
|
592
592
|
{
|
|
593
|
-
if (
|
|
594
|
-
var j = R(
|
|
593
|
+
if (Ot.current) {
|
|
594
|
+
var j = R(Ot.current.type);
|
|
595
595
|
if (j)
|
|
596
596
|
return `
|
|
597
597
|
|
|
@@ -626,7 +626,7 @@ Check the top-level render call using <` + S + ">.");
|
|
|
626
626
|
return;
|
|
627
627
|
l5[S] = !0;
|
|
628
628
|
var D = "";
|
|
629
|
-
j && j._owner && j._owner !==
|
|
629
|
+
j && j._owner && j._owner !== Ot.current && (D = " It was passed a child from " + R(j._owner.type) + "."), He(j), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', S, D), He(null);
|
|
630
630
|
}
|
|
631
631
|
}
|
|
632
632
|
function d5(j, M) {
|
|
@@ -636,15 +636,15 @@ Check the top-level render call using <` + S + ">.");
|
|
|
636
636
|
if (We(j))
|
|
637
637
|
for (var S = 0; S < j.length; S++) {
|
|
638
638
|
var D = j[S];
|
|
639
|
-
|
|
639
|
+
zt(D) && u5(D, M);
|
|
640
640
|
}
|
|
641
|
-
else if (
|
|
641
|
+
else if (zt(j))
|
|
642
642
|
j._store && (j._store.validated = !0);
|
|
643
643
|
else if (j) {
|
|
644
644
|
var a1 = f(j);
|
|
645
645
|
if (typeof a1 == "function" && a1 !== j.entries)
|
|
646
646
|
for (var o1 = a1.call(j), r1; !(r1 = o1.next()).done; )
|
|
647
|
-
|
|
647
|
+
zt(r1.value) && u5(r1.value, M);
|
|
648
648
|
}
|
|
649
649
|
}
|
|
650
650
|
}
|
|
@@ -665,8 +665,8 @@ Check the top-level render call using <` + S + ">.");
|
|
|
665
665
|
if (S) {
|
|
666
666
|
var D = R(M);
|
|
667
667
|
q1(S, j.props, "prop", D, j);
|
|
668
|
-
} else if (M.PropTypes !== void 0 && !
|
|
669
|
-
|
|
668
|
+
} else if (M.PropTypes !== void 0 && !yt) {
|
|
669
|
+
yt = !0;
|
|
670
670
|
var a1 = R(M);
|
|
671
671
|
y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", a1 || "Unknown");
|
|
672
672
|
}
|
|
@@ -697,7 +697,7 @@ Check the top-level render call using <` + S + ">.");
|
|
|
697
697
|
var p1;
|
|
698
698
|
j === null ? p1 = "null" : We(j) ? p1 = "array" : j !== void 0 && j.$$typeof === r ? (p1 = "<" + (R(j.type) || "Unknown") + " />", $ = " Did you accidentally export a JSX literal instead of a component?") : p1 = typeof j, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", p1, $);
|
|
699
699
|
}
|
|
700
|
-
var g1 =
|
|
700
|
+
var g1 = Vt(j, M, S, a1, o1);
|
|
701
701
|
if (g1 == null)
|
|
702
702
|
return g1;
|
|
703
703
|
if (r1) {
|
|
@@ -716,15 +716,15 @@ Check the top-level render call using <` + S + ">.");
|
|
|
716
716
|
if (Q.call(M, "key")) {
|
|
717
717
|
var ue = R(j), v1 = Object.keys(M).filter(function(g8) {
|
|
718
718
|
return g8 !== "key";
|
|
719
|
-
}),
|
|
720
|
-
if (!p5[ue +
|
|
719
|
+
}), Ht = v1.length > 0 ? "{key: someKey, " + v1.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
720
|
+
if (!p5[ue + Ht]) {
|
|
721
721
|
var C8 = v1.length > 0 ? "{" + v1.join(": ..., ") + ": ...}" : "{}";
|
|
722
722
|
y(`A props object containing a "key" prop is being spread into JSX:
|
|
723
723
|
let props = %s;
|
|
724
724
|
<%s {...props} />
|
|
725
725
|
React keys must be passed directly to JSX without using spread:
|
|
726
726
|
let props = %s;
|
|
727
|
-
<%s key={someKey} {...props} />`,
|
|
727
|
+
<%s key={someKey} {...props} />`, Ht, ue, C8, ue), p5[ue + Ht] = !0;
|
|
728
728
|
}
|
|
729
729
|
}
|
|
730
730
|
return j === n ? s8(g1) : A8(g1), g1;
|
|
@@ -740,8 +740,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
740
740
|
Be.Fragment = n, Be.jsx = d8, Be.jsxs = p8;
|
|
741
741
|
}()), Be;
|
|
742
742
|
}
|
|
743
|
-
process.env.NODE_ENV === "production" ?
|
|
744
|
-
var a =
|
|
743
|
+
process.env.NODE_ENV === "production" ? Rt.exports = k8() : Rt.exports = b8();
|
|
744
|
+
var a = Rt.exports;
|
|
745
745
|
function I8() {
|
|
746
746
|
for (var e = 0, r, t, n = ""; e < arguments.length; )
|
|
747
747
|
(r = arguments[e++]) && (t = Cn(r)) && (n && (n += " "), n += t);
|
|
@@ -799,10 +799,10 @@ function v8(e) {
|
|
|
799
799
|
}, c = N8(Object.entries(e.classGroups), t);
|
|
800
800
|
return c.forEach(function(o) {
|
|
801
801
|
var i = o[0], A = o[1];
|
|
802
|
-
|
|
802
|
+
Ft(A, n, i, r);
|
|
803
803
|
}), n;
|
|
804
804
|
}
|
|
805
|
-
function
|
|
805
|
+
function Ft(e, r, t, n) {
|
|
806
806
|
e.forEach(function(c) {
|
|
807
807
|
if (typeof c == "string") {
|
|
808
808
|
var o = c === "" ? r : O5(r, c);
|
|
@@ -811,7 +811,7 @@ function Rt(e, r, t, n) {
|
|
|
811
811
|
}
|
|
812
812
|
if (typeof c == "function") {
|
|
813
813
|
if (K8(c)) {
|
|
814
|
-
|
|
814
|
+
Ft(c(n), r, t, n);
|
|
815
815
|
return;
|
|
816
816
|
}
|
|
817
817
|
r.validators.push({
|
|
@@ -822,7 +822,7 @@ function Rt(e, r, t, n) {
|
|
|
822
822
|
}
|
|
823
823
|
Object.entries(c).forEach(function(i) {
|
|
824
824
|
var A = i[0], s = i[1];
|
|
825
|
-
|
|
825
|
+
Ft(s, O5(r, A), t, n);
|
|
826
826
|
});
|
|
827
827
|
});
|
|
828
828
|
}
|
|
@@ -977,7 +977,7 @@ function B8(e) {
|
|
|
977
977
|
function Z8(e) {
|
|
978
978
|
return je(e, "url", J8);
|
|
979
979
|
}
|
|
980
|
-
function
|
|
980
|
+
function kt(e) {
|
|
981
981
|
return je(e, "number", $e);
|
|
982
982
|
}
|
|
983
983
|
function $e(e) {
|
|
@@ -1041,7 +1041,7 @@ function H5() {
|
|
|
1041
1041
|
}, I = function() {
|
|
1042
1042
|
return ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"];
|
|
1043
1043
|
}, b = function() {
|
|
1044
|
-
return [$e,
|
|
1044
|
+
return [$e, kt];
|
|
1045
1045
|
}, N = function() {
|
|
1046
1046
|
return [$e, x1];
|
|
1047
1047
|
};
|
|
@@ -1681,7 +1681,7 @@ function H5() {
|
|
|
1681
1681
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1682
1682
|
*/
|
|
1683
1683
|
"font-weight": [{
|
|
1684
|
-
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black",
|
|
1684
|
+
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", kt]
|
|
1685
1685
|
}],
|
|
1686
1686
|
/**
|
|
1687
1687
|
* Font Family
|
|
@@ -2773,7 +2773,7 @@ function H5() {
|
|
|
2773
2773
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2774
2774
|
*/
|
|
2775
2775
|
"stroke-w": [{
|
|
2776
|
-
stroke: [F1,
|
|
2776
|
+
stroke: [F1, kt]
|
|
2777
2777
|
}],
|
|
2778
2778
|
/**
|
|
2779
2779
|
* Stroke
|
|
@@ -3681,9 +3681,9 @@ const K = {
|
|
|
3681
3681
|
xs: { d: "M6 0C9.31371 0 12 2.68629 12 6C12 9.31371 9.31371 12 6 12C2.68629 12 0 9.31371 0 6C0 2.68629 2.68629 0 6 0ZM8.35547 3.64648C8.16025 3.45142 7.84366 3.45142 7.64844 3.64648L6.00098 5.29395L4.35352 3.64648C4.15824 3.45137 3.8417 3.45127 3.64648 3.64648C3.45127 3.8417 3.45137 4.15824 3.64648 4.35352L5.29395 6.00098L3.64648 7.64844C3.45143 7.84367 3.45142 8.16025 3.64648 8.35547C3.84171 8.55041 4.15833 8.55048 4.35352 8.35547L6.00098 6.70801L7.64844 8.35547C7.84373 8.55031 8.16035 8.55059 8.35547 8.35547C8.55059 8.16035 8.55031 7.84373 8.35547 7.64844L6.70801 6.00098L8.35547 4.35352C8.55049 4.15833 8.55042 3.84172 8.35547 3.64648Z" }
|
|
3682
3682
|
}
|
|
3683
3683
|
}
|
|
3684
|
-
}, yn = q(K.attachment), A9 = q(K.microphone), zn = q(K.add), lr = q(K.plus), er = q(K.done),
|
|
3684
|
+
}, yn = q(K.attachment), A9 = q(K.microphone), zn = q(K.add), lr = q(K.plus), er = q(K.done), Zr = q(K.minus), Hn = q(K.send), Yr = q(K.search), s9 = q(K.star), l9 = q(K.heart), Lr = q(K.clear), A2 = q(K.analytics), u9 = q(K.trash), Jr = q(K.chat), kn = q(K.chatPro), Qr = q(K.filters), bn = q(K.pen), Er = q(K.tick), s2 = q(K.document), d9 = q(K.sparkles), l2 = q(K.expand), p9 = q(K.speaker), C9 = q(K.copy), g9 = q(K.date), x9 = q(K.refresh), _r = q(K.activity), m9 = q(K.menu), In = q(K.invite), u2 = q(K.report), Gt = q(K.sidebar), j9 = q(K.download), f9 = q(K.upload), V9 = q(K.preview), O9 = q(K.fixes), d2 = q(K.issues), p2 = q(K.more), C2 = q(K.bulb), Ke = q(K.ship), y9 = q(K.person), z9 = q(K.archive), H9 = q(K.logOut), Pn = q(K.settings), g2 = q(K.tasks), ur = q(K.workflow), x2 = q(K.form), k9 = q(K.approval), dr = q(K.forms), $r = q(K.book), b9 = q(K.mention), I9 = q(K.actions), et = q(K.critical), Mn = q(K.information), P9 = q(K.caution), vn = q(K.folder), M9 = q(K.folderStarred), Kn = q(K.quality), v9 = q(K.location), K9 = q(K.users), N9 = q(K.undo), Nn = q(K.spinner), S9 = q(K.clock), q9 = q(K.gap), m2 = q(K.defectReport), U9 = q(K.task), j2 = q(K.file), h9 = q(K.reportActions), Sn = q(K.checkbox), rr = q(K.status), w9 = {
|
|
3685
3685
|
heart: l9,
|
|
3686
|
-
clear:
|
|
3686
|
+
clear: Lr,
|
|
3687
3687
|
chevron: z1,
|
|
3688
3688
|
arrow: On,
|
|
3689
3689
|
attachment: yn,
|
|
@@ -3691,17 +3691,17 @@ const K = {
|
|
|
3691
3691
|
add: zn,
|
|
3692
3692
|
plus: lr,
|
|
3693
3693
|
done: er,
|
|
3694
|
-
minus:
|
|
3694
|
+
minus: Zr,
|
|
3695
3695
|
send: Hn,
|
|
3696
|
-
search:
|
|
3696
|
+
search: Yr,
|
|
3697
3697
|
star: s9,
|
|
3698
3698
|
analytics: A2,
|
|
3699
3699
|
trash: u9,
|
|
3700
|
-
chat:
|
|
3700
|
+
chat: Jr,
|
|
3701
3701
|
chatPro: kn,
|
|
3702
|
-
filters:
|
|
3702
|
+
filters: Qr,
|
|
3703
3703
|
pen: bn,
|
|
3704
|
-
tick:
|
|
3704
|
+
tick: Er,
|
|
3705
3705
|
document: s2,
|
|
3706
3706
|
sparkles: d9,
|
|
3707
3707
|
expand: l2,
|
|
@@ -3709,11 +3709,11 @@ const K = {
|
|
|
3709
3709
|
copy: C9,
|
|
3710
3710
|
date: g9,
|
|
3711
3711
|
refresh: x9,
|
|
3712
|
-
activity:
|
|
3712
|
+
activity: _r,
|
|
3713
3713
|
menu: m9,
|
|
3714
3714
|
invite: In,
|
|
3715
3715
|
report: u2,
|
|
3716
|
-
sidebar:
|
|
3716
|
+
sidebar: Gt,
|
|
3717
3717
|
download: j9,
|
|
3718
3718
|
upload: f9,
|
|
3719
3719
|
preview: V9,
|
|
@@ -3731,10 +3731,10 @@ const K = {
|
|
|
3731
3731
|
form: x2,
|
|
3732
3732
|
approval: k9,
|
|
3733
3733
|
forms: dr,
|
|
3734
|
-
book:
|
|
3734
|
+
book: $r,
|
|
3735
3735
|
mention: b9,
|
|
3736
3736
|
actions: I9,
|
|
3737
|
-
critical:
|
|
3737
|
+
critical: et,
|
|
3738
3738
|
information: Mn,
|
|
3739
3739
|
caution: P9,
|
|
3740
3740
|
folder: vn,
|
|
@@ -3860,7 +3860,7 @@ function R9(...e) {
|
|
|
3860
3860
|
}
|
|
3861
3861
|
var Q1 = globalThis != null && globalThis.document ? l.useLayoutEffect : () => {
|
|
3862
3862
|
}, F9 = l[" useInsertionEffect ".trim().toString()] || Q1;
|
|
3863
|
-
function
|
|
3863
|
+
function rt({
|
|
3864
3864
|
prop: e,
|
|
3865
3865
|
defaultProp: r,
|
|
3866
3866
|
onChange: t = () => {
|
|
@@ -4001,7 +4001,7 @@ var E9 = (e) => `${e} failed to slot onto its children. Expected a single React
|
|
|
4001
4001
|
return n.displayName = `Primitive.${r}`, { ...e, [r]: n };
|
|
4002
4002
|
}, {});
|
|
4003
4003
|
function Un(e, r) {
|
|
4004
|
-
e &&
|
|
4004
|
+
e && Br.flushSync(() => e.dispatchEvent(r));
|
|
4005
4005
|
}
|
|
4006
4006
|
function hn(e) {
|
|
4007
4007
|
const r = e + "CollectionProvider", [t, n] = fe(r), [c, o] = t(
|
|
@@ -4057,7 +4057,7 @@ function ee(e) {
|
|
|
4057
4057
|
return (n = r.current) == null ? void 0 : n.call(r, ...t);
|
|
4058
4058
|
}, []);
|
|
4059
4059
|
}
|
|
4060
|
-
var rc = "DismissableLayer",
|
|
4060
|
+
var rc = "DismissableLayer", Dt = "dismissableLayer.update", tc = "dismissableLayer.pointerDownOutside", nc = "dismissableLayer.focusOutside", I5, V2 = l.createContext({
|
|
4061
4061
|
layers: /* @__PURE__ */ new Set(),
|
|
4062
4062
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
4063
4063
|
branches: /* @__PURE__ */ new Set(),
|
|
@@ -4121,7 +4121,7 @@ var rc = "DismissableLayer", Gt = "dismissableLayer.update", tc = "dismissableLa
|
|
|
4121
4121
|
p && (u.layers.delete(p), u.layersWithOutsidePointerEventsDisabled.delete(p), P5());
|
|
4122
4122
|
}, [p, u]), l.useEffect(() => {
|
|
4123
4123
|
const w = () => x({});
|
|
4124
|
-
return document.addEventListener(
|
|
4124
|
+
return document.addEventListener(Dt, w), () => document.removeEventListener(Dt, w);
|
|
4125
4125
|
}, []), /* @__PURE__ */ a.jsx(
|
|
4126
4126
|
s1.div,
|
|
4127
4127
|
{
|
|
@@ -4256,7 +4256,7 @@ function sc(e, r = globalThis == null ? void 0 : globalThis.document) {
|
|
|
4256
4256
|
};
|
|
4257
4257
|
}
|
|
4258
4258
|
function P5() {
|
|
4259
|
-
const e = new CustomEvent(
|
|
4259
|
+
const e = new CustomEvent(Dt);
|
|
4260
4260
|
document.dispatchEvent(e);
|
|
4261
4261
|
}
|
|
4262
4262
|
function wn(e, r, t, { discrete: n }) {
|
|
@@ -4277,7 +4277,7 @@ function M5() {
|
|
|
4277
4277
|
const e = document.createElement("span");
|
|
4278
4278
|
return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
|
|
4279
4279
|
}
|
|
4280
|
-
var
|
|
4280
|
+
var bt = "focusScope.autoFocusOnMount", It = "focusScope.autoFocusOnUnmount", v5 = { bubbles: !1, cancelable: !0 }, lc = "FocusScope", y2 = l.forwardRef((e, r) => {
|
|
4281
4281
|
const {
|
|
4282
4282
|
loop: t = !1,
|
|
4283
4283
|
trapped: n = !1,
|
|
@@ -4319,13 +4319,13 @@ var kt = "focusScope.autoFocusOnMount", bt = "focusScope.autoFocusOnUnmount", v5
|
|
|
4319
4319
|
N5.add(g);
|
|
4320
4320
|
const m = document.activeElement;
|
|
4321
4321
|
if (!A.contains(m)) {
|
|
4322
|
-
const O = new CustomEvent(
|
|
4323
|
-
A.addEventListener(
|
|
4322
|
+
const O = new CustomEvent(bt, v5);
|
|
4323
|
+
A.addEventListener(bt, d), A.dispatchEvent(O), O.defaultPrevented || (uc(xc(Tn(A)), { select: !0 }), document.activeElement === m && oe(A));
|
|
4324
4324
|
}
|
|
4325
4325
|
return () => {
|
|
4326
|
-
A.removeEventListener(
|
|
4327
|
-
const O = new CustomEvent(
|
|
4328
|
-
A.addEventListener(
|
|
4326
|
+
A.removeEventListener(bt, d), setTimeout(() => {
|
|
4327
|
+
const O = new CustomEvent(It, v5);
|
|
4328
|
+
A.addEventListener(It, u), A.dispatchEvent(O), O.defaultPrevented || oe(m ?? document.body, { select: !0 }), A.removeEventListener(It, u), N5.remove(g);
|
|
4329
4329
|
}, 0);
|
|
4330
4330
|
};
|
|
4331
4331
|
}
|
|
@@ -4425,7 +4425,7 @@ const fc = ["top", "right", "bottom", "left"], ie = Math.min, N1 = Math.max, hr
|
|
|
4425
4425
|
bottom: "top",
|
|
4426
4426
|
top: "bottom"
|
|
4427
4427
|
};
|
|
4428
|
-
function
|
|
4428
|
+
function Xt(e, r, t) {
|
|
4429
4429
|
return N1(e, ie(r, t));
|
|
4430
4430
|
}
|
|
4431
4431
|
function re(e, r) {
|
|
@@ -4458,9 +4458,9 @@ function Oc(e, r, t) {
|
|
|
4458
4458
|
}
|
|
4459
4459
|
function yc(e) {
|
|
4460
4460
|
const r = wr(e);
|
|
4461
|
-
return [
|
|
4461
|
+
return [Bt(e), r, Bt(r)];
|
|
4462
4462
|
}
|
|
4463
|
-
function
|
|
4463
|
+
function Bt(e) {
|
|
4464
4464
|
return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
|
|
4465
4465
|
}
|
|
4466
4466
|
const q5 = ["left", "right"], U5 = ["right", "left"], zc = ["top", "bottom"], Hc = ["bottom", "top"];
|
|
@@ -4479,7 +4479,7 @@ function kc(e, r, t) {
|
|
|
4479
4479
|
function bc(e, r, t, n) {
|
|
4480
4480
|
const c = he(e);
|
|
4481
4481
|
let o = kc(te(e), t === "start", n);
|
|
4482
|
-
return c && (o = o.map((i) => i + "-" + c), r && (o = o.concat(o.map(
|
|
4482
|
+
return c && (o = o.map((i) => i + "-" + c), r && (o = o.concat(o.map(Bt)))), o;
|
|
4483
4483
|
}
|
|
4484
4484
|
function wr(e) {
|
|
4485
4485
|
const r = te(e);
|
|
@@ -4701,7 +4701,7 @@ const Mc = 50, vc = async (e, r, t) => {
|
|
|
4701
4701
|
}, g = k2(c), x = H2(g), m = await i.getDimensions(d), f = g === "y", O = f ? "top" : "left", y = f ? "bottom" : "right", H = f ? "clientHeight" : "clientWidth", z = o.reference[x] + o.reference[g] - C[g] - o.floating[x], k = C[g] - o.reference[g], P = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(d));
|
|
4702
4702
|
let v = P ? P[H] : 0;
|
|
4703
4703
|
(!v || !await (i.isElement == null ? void 0 : i.isElement(P))) && (v = A.floating[H] || o.floating[x]);
|
|
4704
|
-
const h = z / 2 - k / 2, U = v / 2 - m[x] / 2 - 1, W = ie(p[O], U), w = ie(p[y], U), Z = W, R = v - m[x] - w, F = v / 2 - m[x] / 2 + h, t1 =
|
|
4704
|
+
const h = z / 2 - k / 2, U = v / 2 - m[x] / 2 - 1, W = ie(p[O], U), w = ie(p[y], U), Z = W, R = v - m[x] - w, F = v / 2 - m[x] / 2 + h, t1 = Xt(Z, F, R), X = !s.arrow && he(c) != null && F !== t1 && o.reference[x] / 2 - (F < Z ? W : w) - m[x] / 2 < 0, _ = X ? F < Z ? F - Z : F - R : 0;
|
|
4705
4705
|
return {
|
|
4706
4706
|
[g]: C[g] + _,
|
|
4707
4707
|
data: {
|
|
@@ -4932,11 +4932,11 @@ const Uc = function(e) {
|
|
|
4932
4932
|
let x = u[g], m = u[C];
|
|
4933
4933
|
if (i) {
|
|
4934
4934
|
const O = g === "y" ? "top" : "left", y = g === "y" ? "bottom" : "right", H = x + p[O], z = x - p[y];
|
|
4935
|
-
x =
|
|
4935
|
+
x = Xt(H, x, z);
|
|
4936
4936
|
}
|
|
4937
4937
|
if (A) {
|
|
4938
4938
|
const O = C === "y" ? "top" : "left", y = C === "y" ? "bottom" : "right", H = m + p[O], z = m - p[y];
|
|
4939
|
-
m =
|
|
4939
|
+
m = Xt(H, m, z);
|
|
4940
4940
|
}
|
|
4941
4941
|
const f = s.fn({
|
|
4942
4942
|
...r,
|
|
@@ -5039,7 +5039,7 @@ const Uc = function(e) {
|
|
|
5039
5039
|
}
|
|
5040
5040
|
};
|
|
5041
5041
|
};
|
|
5042
|
-
function
|
|
5042
|
+
function tt() {
|
|
5043
5043
|
return typeof window < "u";
|
|
5044
5044
|
}
|
|
5045
5045
|
function we(e) {
|
|
@@ -5054,16 +5054,16 @@ function _1(e) {
|
|
|
5054
5054
|
return (r = (Gn(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : r.documentElement;
|
|
5055
5055
|
}
|
|
5056
5056
|
function Gn(e) {
|
|
5057
|
-
return
|
|
5057
|
+
return tt() ? e instanceof Node || e instanceof S1(e).Node : !1;
|
|
5058
5058
|
}
|
|
5059
5059
|
function G1(e) {
|
|
5060
|
-
return
|
|
5060
|
+
return tt() ? e instanceof Element || e instanceof S1(e).Element : !1;
|
|
5061
5061
|
}
|
|
5062
5062
|
function ne(e) {
|
|
5063
|
-
return
|
|
5063
|
+
return tt() ? e instanceof HTMLElement || e instanceof S1(e).HTMLElement : !1;
|
|
5064
5064
|
}
|
|
5065
5065
|
function T5(e) {
|
|
5066
|
-
return !
|
|
5066
|
+
return !tt() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof S1(e).ShadowRoot;
|
|
5067
5067
|
}
|
|
5068
5068
|
function pr(e) {
|
|
5069
5069
|
const {
|
|
@@ -5077,7 +5077,7 @@ function pr(e) {
|
|
|
5077
5077
|
function Tc(e) {
|
|
5078
5078
|
return /^(table|td|th)$/.test(we(e));
|
|
5079
5079
|
}
|
|
5080
|
-
function
|
|
5080
|
+
function nt(e) {
|
|
5081
5081
|
try {
|
|
5082
5082
|
if (e.matches(":popover-open"))
|
|
5083
5083
|
return !0;
|
|
@@ -5090,7 +5090,7 @@ function tt(e) {
|
|
|
5090
5090
|
}
|
|
5091
5091
|
}
|
|
5092
5092
|
const Rc = /transform|translate|scale|rotate|perspective|filter/, Fc = /paint|layout|strict|content/, de = (e) => !!e && e !== "none";
|
|
5093
|
-
let
|
|
5093
|
+
let Pt;
|
|
5094
5094
|
function b2(e) {
|
|
5095
5095
|
const r = G1(e) ? D1(e) : e;
|
|
5096
5096
|
return de(r.transform) || de(r.translate) || de(r.scale) || de(r.rotate) || de(r.perspective) || !I2() && (de(r.backdropFilter) || de(r.filter)) || Rc.test(r.willChange || "") || Fc.test(r.contain || "");
|
|
@@ -5100,14 +5100,14 @@ function Gc(e) {
|
|
|
5100
5100
|
for (; ne(r) && !Ne(r); ) {
|
|
5101
5101
|
if (b2(r))
|
|
5102
5102
|
return r;
|
|
5103
|
-
if (
|
|
5103
|
+
if (nt(r))
|
|
5104
5104
|
return null;
|
|
5105
5105
|
r = Ae(r);
|
|
5106
5106
|
}
|
|
5107
5107
|
return null;
|
|
5108
5108
|
}
|
|
5109
5109
|
function I2() {
|
|
5110
|
-
return
|
|
5110
|
+
return Pt == null && (Pt = typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none")), Pt;
|
|
5111
5111
|
}
|
|
5112
5112
|
function Ne(e) {
|
|
5113
5113
|
return /^(html|body|#document)$/.test(we(e));
|
|
@@ -5115,7 +5115,7 @@ function Ne(e) {
|
|
|
5115
5115
|
function D1(e) {
|
|
5116
5116
|
return S1(e).getComputedStyle(e);
|
|
5117
5117
|
}
|
|
5118
|
-
function
|
|
5118
|
+
function at(e) {
|
|
5119
5119
|
return G1(e) ? {
|
|
5120
5120
|
scrollLeft: e.scrollLeft,
|
|
5121
5121
|
scrollTop: e.scrollTop
|
|
@@ -5145,12 +5145,12 @@ function nr(e, r, t) {
|
|
|
5145
5145
|
r === void 0 && (r = []), t === void 0 && (t = !0);
|
|
5146
5146
|
const c = Dn(e), o = c === ((n = e.ownerDocument) == null ? void 0 : n.body), i = S1(c);
|
|
5147
5147
|
if (o) {
|
|
5148
|
-
const A =
|
|
5148
|
+
const A = Zt(i);
|
|
5149
5149
|
return r.concat(i, i.visualViewport || [], pr(c) ? c : [], A && t ? nr(A) : []);
|
|
5150
5150
|
} else
|
|
5151
5151
|
return r.concat(c, nr(c, [], t));
|
|
5152
5152
|
}
|
|
5153
|
-
function
|
|
5153
|
+
function Zt(e) {
|
|
5154
5154
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
5155
5155
|
}
|
|
5156
5156
|
function Xn(e) {
|
|
@@ -5201,10 +5201,10 @@ function xe(e, r, t, n) {
|
|
|
5201
5201
|
let s = (c.left + A.x) / i.x, d = (c.top + A.y) / i.y, u = c.width / i.x, p = c.height / i.y;
|
|
5202
5202
|
if (o) {
|
|
5203
5203
|
const C = S1(o), g = n && G1(n) ? S1(n) : n;
|
|
5204
|
-
let x = C, m =
|
|
5204
|
+
let x = C, m = Zt(x);
|
|
5205
5205
|
for (; m && n && g !== x; ) {
|
|
5206
5206
|
const f = Me(m), O = m.getBoundingClientRect(), y = D1(m), H = O.left + (m.clientLeft + parseFloat(y.paddingLeft)) * f.x, z = O.top + (m.clientTop + parseFloat(y.paddingTop)) * f.y;
|
|
5207
|
-
s *= f.x, d *= f.y, u *= f.x, p *= f.y, s += H, d += z, x = S1(m), m =
|
|
5207
|
+
s *= f.x, d *= f.y, u *= f.x, p *= f.y, s += H, d += z, x = S1(m), m = Zt(x);
|
|
5208
5208
|
}
|
|
5209
5209
|
}
|
|
5210
5210
|
return Wr({
|
|
@@ -5214,12 +5214,12 @@ function xe(e, r, t, n) {
|
|
|
5214
5214
|
y: d
|
|
5215
5215
|
});
|
|
5216
5216
|
}
|
|
5217
|
-
function
|
|
5218
|
-
const t =
|
|
5217
|
+
function ct(e, r) {
|
|
5218
|
+
const t = at(e).scrollLeft;
|
|
5219
5219
|
return r ? r.left + t : xe(_1(e)).left + t;
|
|
5220
5220
|
}
|
|
5221
5221
|
function Zn(e, r) {
|
|
5222
|
-
const t = e.getBoundingClientRect(), n = t.left + r.scrollLeft -
|
|
5222
|
+
const t = e.getBoundingClientRect(), n = t.left + r.scrollLeft - ct(e, t), c = t.top + r.scrollTop;
|
|
5223
5223
|
return {
|
|
5224
5224
|
x: n,
|
|
5225
5225
|
y: c
|
|
@@ -5232,7 +5232,7 @@ function Bc(e) {
|
|
|
5232
5232
|
offsetParent: n,
|
|
5233
5233
|
strategy: c
|
|
5234
5234
|
} = e;
|
|
5235
|
-
const o = c === "fixed", i = _1(n), A = r ?
|
|
5235
|
+
const o = c === "fixed", i = _1(n), A = r ? nt(r.floating) : !1;
|
|
5236
5236
|
if (n === i || A && o)
|
|
5237
5237
|
return t;
|
|
5238
5238
|
let s = {
|
|
@@ -5240,7 +5240,7 @@ function Bc(e) {
|
|
|
5240
5240
|
scrollTop: 0
|
|
5241
5241
|
}, d = E1(1);
|
|
5242
5242
|
const u = E1(0), p = ne(n);
|
|
5243
|
-
if ((p || !p && !o) && ((we(n) !== "body" || pr(i)) && (s =
|
|
5243
|
+
if ((p || !p && !o) && ((we(n) !== "body" || pr(i)) && (s = at(n)), p)) {
|
|
5244
5244
|
const g = xe(n);
|
|
5245
5245
|
d = Me(n), u.x = g.x + n.clientLeft, u.y = g.y + n.clientTop;
|
|
5246
5246
|
}
|
|
@@ -5256,8 +5256,8 @@ function Zc(e) {
|
|
|
5256
5256
|
return Array.from(e.getClientRects());
|
|
5257
5257
|
}
|
|
5258
5258
|
function Yc(e) {
|
|
5259
|
-
const r = _1(e), t =
|
|
5260
|
-
let i = -t.scrollLeft +
|
|
5259
|
+
const r = _1(e), t = at(e), n = e.ownerDocument.body, c = N1(r.scrollWidth, r.clientWidth, n.scrollWidth, n.clientWidth), o = N1(r.scrollHeight, r.clientHeight, n.scrollHeight, n.clientHeight);
|
|
5260
|
+
let i = -t.scrollLeft + ct(e);
|
|
5261
5261
|
const A = -t.scrollTop;
|
|
5262
5262
|
return D1(n).direction === "rtl" && (i += N1(r.clientWidth, n.clientWidth) - c), {
|
|
5263
5263
|
width: c,
|
|
@@ -5275,7 +5275,7 @@ function Lc(e, r) {
|
|
|
5275
5275
|
const u = I2();
|
|
5276
5276
|
(!u || u && r === "fixed") && (A = c.offsetLeft, s = c.offsetTop);
|
|
5277
5277
|
}
|
|
5278
|
-
const d =
|
|
5278
|
+
const d = ct(n);
|
|
5279
5279
|
if (d <= 0) {
|
|
5280
5280
|
const u = n.ownerDocument, p = u.body, C = getComputedStyle(p), g = u.compatMode === "CSS1Compat" && parseFloat(C.marginLeft) + parseFloat(C.marginRight) || 0, x = Math.abs(n.clientWidth - p.clientWidth - g);
|
|
5281
5281
|
x <= R5 && (o -= x);
|
|
@@ -5339,7 +5339,7 @@ function Ec(e) {
|
|
|
5339
5339
|
rootBoundary: n,
|
|
5340
5340
|
strategy: c
|
|
5341
5341
|
} = e;
|
|
5342
|
-
const i = [...t === "clippingAncestors" ?
|
|
5342
|
+
const i = [...t === "clippingAncestors" ? nt(r) ? [] : Qc(r, this._c) : [].concat(t), n], A = F5(r, i[0], c);
|
|
5343
5343
|
let s = A.top, d = A.right, u = A.bottom, p = A.left;
|
|
5344
5344
|
for (let C = 1; C < i.length; C++) {
|
|
5345
5345
|
const g = F5(r, i[C], c);
|
|
@@ -5370,10 +5370,10 @@ function $c(e, r, t) {
|
|
|
5370
5370
|
};
|
|
5371
5371
|
const s = E1(0);
|
|
5372
5372
|
function d() {
|
|
5373
|
-
s.x =
|
|
5373
|
+
s.x = ct(c);
|
|
5374
5374
|
}
|
|
5375
5375
|
if (n || !n && !o)
|
|
5376
|
-
if ((we(r) !== "body" || pr(c)) && (A =
|
|
5376
|
+
if ((we(r) !== "body" || pr(c)) && (A = at(r)), n) {
|
|
5377
5377
|
const g = xe(r, !0, o, r);
|
|
5378
5378
|
s.x = g.x + r.clientLeft, s.y = g.y + r.clientTop;
|
|
5379
5379
|
} else c && d();
|
|
@@ -5386,7 +5386,7 @@ function $c(e, r, t) {
|
|
|
5386
5386
|
height: i.height
|
|
5387
5387
|
};
|
|
5388
5388
|
}
|
|
5389
|
-
function
|
|
5389
|
+
function Mt(e) {
|
|
5390
5390
|
return D1(e).position === "static";
|
|
5391
5391
|
}
|
|
5392
5392
|
function G5(e, r) {
|
|
@@ -5399,21 +5399,21 @@ function G5(e, r) {
|
|
|
5399
5399
|
}
|
|
5400
5400
|
function Ln(e, r) {
|
|
5401
5401
|
const t = S1(e);
|
|
5402
|
-
if (
|
|
5402
|
+
if (nt(e))
|
|
5403
5403
|
return t;
|
|
5404
5404
|
if (!ne(e)) {
|
|
5405
5405
|
let c = Ae(e);
|
|
5406
5406
|
for (; c && !Ne(c); ) {
|
|
5407
|
-
if (G1(c) && !
|
|
5407
|
+
if (G1(c) && !Mt(c))
|
|
5408
5408
|
return c;
|
|
5409
5409
|
c = Ae(c);
|
|
5410
5410
|
}
|
|
5411
5411
|
return t;
|
|
5412
5412
|
}
|
|
5413
5413
|
let n = G5(e, r);
|
|
5414
|
-
for (; n && Tc(n) &&
|
|
5414
|
+
for (; n && Tc(n) && Mt(n); )
|
|
5415
5415
|
n = G5(n, r);
|
|
5416
|
-
return n && Ne(n) &&
|
|
5416
|
+
return n && Ne(n) && Mt(n) && !b2(n) ? t : n || Gc(e) || t;
|
|
5417
5417
|
}
|
|
5418
5418
|
const eo = async function(e) {
|
|
5419
5419
|
const r = this.getOffsetParent || Ln, t = this.getDimensions, n = await t(e.floating);
|
|
@@ -5579,7 +5579,7 @@ function X5(e, r) {
|
|
|
5579
5579
|
const t = En(e);
|
|
5580
5580
|
return Math.round(r * t) / t;
|
|
5581
5581
|
}
|
|
5582
|
-
function
|
|
5582
|
+
function vt(e) {
|
|
5583
5583
|
const r = l.useRef(e);
|
|
5584
5584
|
return vr(() => {
|
|
5585
5585
|
r.current = e;
|
|
@@ -5612,7 +5612,7 @@ function _n(e) {
|
|
|
5612
5612
|
I !== P.current && (P.current = I, m(I));
|
|
5613
5613
|
}, []), H = l.useCallback((I) => {
|
|
5614
5614
|
I !== v.current && (v.current = I, O(I));
|
|
5615
|
-
}, []), z = o || x, k = i || f, P = l.useRef(null), v = l.useRef(null), h = l.useRef(u), U = s != null, W =
|
|
5615
|
+
}, []), z = o || x, k = i || f, P = l.useRef(null), v = l.useRef(null), h = l.useRef(u), U = s != null, W = vt(s), w = vt(c), Z = vt(d), R = l.useCallback(() => {
|
|
5616
5616
|
if (!P.current || !v.current)
|
|
5617
5617
|
return;
|
|
5618
5618
|
const I = {
|
|
@@ -5629,7 +5629,7 @@ function _n(e) {
|
|
|
5629
5629
|
// setting it to `true` when `open === false` (must be specified).
|
|
5630
5630
|
isPositioned: Z.current !== !1
|
|
5631
5631
|
};
|
|
5632
|
-
F.current && !Tr(h.current, N) && (h.current = N,
|
|
5632
|
+
F.current && !Tr(h.current, N) && (h.current = N, Br.flushSync(() => {
|
|
5633
5633
|
p(N);
|
|
5634
5634
|
}));
|
|
5635
5635
|
});
|
|
@@ -6039,7 +6039,7 @@ var Ho = l4, ko = d4, bo = p4, Io = g4, Po = "Portal", N2 = l.forwardRef((e, r)
|
|
|
6039
6039
|
const { container: t, ...n } = e, [c, o] = l.useState(!1);
|
|
6040
6040
|
Q1(() => o(!0), []);
|
|
6041
6041
|
const i = t || c && ((A = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : A.body);
|
|
6042
|
-
return i ?
|
|
6042
|
+
return i ? Br.createPortal(/* @__PURE__ */ a.jsx(s1.div, { ...n, ref: r }), i) : null;
|
|
6043
6043
|
});
|
|
6044
6044
|
N2.displayName = Po;
|
|
6045
6045
|
function Mo(e, r) {
|
|
@@ -6134,11 +6134,11 @@ function No(e) {
|
|
|
6134
6134
|
let r = (n = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : n.get, t = r && "isReactWarning" in r && r.isReactWarning;
|
|
6135
6135
|
return t ? e.ref : (r = (c = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : c.get, t = r && "isReactWarning" in r && r.isReactWarning, t ? e.props.ref : e.props.ref || e.ref);
|
|
6136
6136
|
}
|
|
6137
|
-
var
|
|
6137
|
+
var Kt = !1;
|
|
6138
6138
|
function So() {
|
|
6139
|
-
const [e, r] = l.useState(
|
|
6139
|
+
const [e, r] = l.useState(Kt);
|
|
6140
6140
|
return l.useEffect(() => {
|
|
6141
|
-
|
|
6141
|
+
Kt || (Kt = !0, r(!0));
|
|
6142
6142
|
}, []), e;
|
|
6143
6143
|
}
|
|
6144
6144
|
var x4 = l[" useSyncExternalStore ".trim().toString()];
|
|
@@ -6153,11 +6153,11 @@ function Uo() {
|
|
|
6153
6153
|
() => !1
|
|
6154
6154
|
);
|
|
6155
6155
|
}
|
|
6156
|
-
var ho = typeof x4 == "function" ? Uo : So,
|
|
6156
|
+
var ho = typeof x4 == "function" ? Uo : So, Nt = "rovingFocusGroup.onEntryFocus", wo = { bubbles: !1, cancelable: !0 }, Cr = "RovingFocusGroup", [Yt, m4, Wo] = hn(Cr), [To, ot] = fe(
|
|
6157
6157
|
Cr,
|
|
6158
6158
|
[Wo]
|
|
6159
6159
|
), [Ro, Fo] = To(Cr), j4 = l.forwardRef(
|
|
6160
|
-
(e, r) => /* @__PURE__ */ a.jsx(
|
|
6160
|
+
(e, r) => /* @__PURE__ */ a.jsx(Yt.Provider, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ a.jsx(Yt.Slot, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ a.jsx(Go, { ...e, ref: r }) }) })
|
|
6161
6161
|
);
|
|
6162
6162
|
j4.displayName = Cr;
|
|
6163
6163
|
var Go = l.forwardRef((e, r) => {
|
|
@@ -6172,7 +6172,7 @@ var Go = l.forwardRef((e, r) => {
|
|
|
6172
6172
|
onEntryFocus: d,
|
|
6173
6173
|
preventScrollOnEntryFocus: u = !1,
|
|
6174
6174
|
...p
|
|
6175
|
-
} = e, C = l.useRef(null), g = j1(r, C), x = f2(o), [m, f] =
|
|
6175
|
+
} = e, C = l.useRef(null), g = j1(r, C), x = f2(o), [m, f] = rt({
|
|
6176
6176
|
prop: i,
|
|
6177
6177
|
defaultProp: A ?? null,
|
|
6178
6178
|
onChange: s,
|
|
@@ -6181,7 +6181,7 @@ var Go = l.forwardRef((e, r) => {
|
|
|
6181
6181
|
return l.useEffect(() => {
|
|
6182
6182
|
const h = C.current;
|
|
6183
6183
|
if (h)
|
|
6184
|
-
return h.addEventListener(
|
|
6184
|
+
return h.addEventListener(Nt, H), () => h.removeEventListener(Nt, H);
|
|
6185
6185
|
}, [H]), /* @__PURE__ */ a.jsx(
|
|
6186
6186
|
Ro,
|
|
6187
6187
|
{
|
|
@@ -6217,7 +6217,7 @@ var Go = l.forwardRef((e, r) => {
|
|
|
6217
6217
|
onFocus: B(e.onFocus, (h) => {
|
|
6218
6218
|
const U = !k.current;
|
|
6219
6219
|
if (h.target === h.currentTarget && U && !O) {
|
|
6220
|
-
const W = new CustomEvent(
|
|
6220
|
+
const W = new CustomEvent(Nt, wo);
|
|
6221
6221
|
if (h.currentTarget.dispatchEvent(W), !W.defaultPrevented) {
|
|
6222
6222
|
const w = z().filter((X) => X.focusable), Z = w.find((X) => X.active), R = w.find((X) => X.id === m), t1 = [Z, R, ...w].filter(
|
|
6223
6223
|
Boolean
|
|
@@ -6249,7 +6249,7 @@ var Go = l.forwardRef((e, r) => {
|
|
|
6249
6249
|
if (!(f || !n))
|
|
6250
6250
|
return g(), () => x();
|
|
6251
6251
|
}, [f, n, g, x]), /* @__PURE__ */ a.jsx(
|
|
6252
|
-
|
|
6252
|
+
Yt.ItemSlot,
|
|
6253
6253
|
{
|
|
6254
6254
|
scope: t,
|
|
6255
6255
|
id: d,
|
|
@@ -6325,7 +6325,7 @@ var y4 = j4, z4 = V4, Yo = function(e) {
|
|
|
6325
6325
|
return null;
|
|
6326
6326
|
var r = Array.isArray(e) ? e[0] : e;
|
|
6327
6327
|
return r.ownerDocument.body;
|
|
6328
|
-
}, be = /* @__PURE__ */ new WeakMap(), kr = /* @__PURE__ */ new WeakMap(), br = {},
|
|
6328
|
+
}, be = /* @__PURE__ */ new WeakMap(), kr = /* @__PURE__ */ new WeakMap(), br = {}, St = 0, H4 = function(e) {
|
|
6329
6329
|
return e && (e.host || H4(e.parentNode));
|
|
6330
6330
|
}, Lo = function(e, r) {
|
|
6331
6331
|
return r.map(function(t) {
|
|
@@ -6356,11 +6356,11 @@ var y4 = j4, z4 = V4, Yo = function(e) {
|
|
|
6356
6356
|
}
|
|
6357
6357
|
});
|
|
6358
6358
|
};
|
|
6359
|
-
return u(r), A.clear(),
|
|
6359
|
+
return u(r), A.clear(), St++, function() {
|
|
6360
6360
|
i.forEach(function(p) {
|
|
6361
6361
|
var C = be.get(p) - 1, g = o.get(p) - 1;
|
|
6362
6362
|
be.set(p, C), o.set(p, g), C || (kr.has(p) || p.removeAttribute(n), kr.delete(p)), g || p.removeAttribute(t);
|
|
6363
|
-
}),
|
|
6363
|
+
}), St--, St || (be = /* @__PURE__ */ new WeakMap(), be = /* @__PURE__ */ new WeakMap(), kr = /* @__PURE__ */ new WeakMap(), br = {});
|
|
6364
6364
|
};
|
|
6365
6365
|
}, k4 = function(e, r, t) {
|
|
6366
6366
|
t === void 0 && (t = "data-aria-hidden");
|
|
@@ -6391,7 +6391,7 @@ function Qo(e, r, t) {
|
|
|
6391
6391
|
return e.concat(o || Array.prototype.slice.call(r));
|
|
6392
6392
|
}
|
|
6393
6393
|
var Kr = "right-scroll-bar-position", Nr = "width-before-scroll-bar", Eo = "with-scroll-bars-hidden", _o = "--removed-body-scroll-bar-size";
|
|
6394
|
-
function
|
|
6394
|
+
function qt(e, r) {
|
|
6395
6395
|
return typeof e == "function" ? e(r) : e && (e.current = r), e;
|
|
6396
6396
|
}
|
|
6397
6397
|
function $o(e, r) {
|
|
@@ -6419,7 +6419,7 @@ var e7 = typeof window < "u" ? l.useLayoutEffect : l.useEffect, Z5 = /* @__PURE_
|
|
|
6419
6419
|
function r7(e, r) {
|
|
6420
6420
|
var t = $o(null, function(n) {
|
|
6421
6421
|
return e.forEach(function(c) {
|
|
6422
|
-
return
|
|
6422
|
+
return qt(c, n);
|
|
6423
6423
|
});
|
|
6424
6424
|
});
|
|
6425
6425
|
return e7(function() {
|
|
@@ -6427,9 +6427,9 @@ function r7(e, r) {
|
|
|
6427
6427
|
if (n) {
|
|
6428
6428
|
var c = new Set(n), o = new Set(e), i = t.current;
|
|
6429
6429
|
c.forEach(function(A) {
|
|
6430
|
-
o.has(A) ||
|
|
6430
|
+
o.has(A) || qt(A, null);
|
|
6431
6431
|
}), o.forEach(function(A) {
|
|
6432
|
-
c.has(A) ||
|
|
6432
|
+
c.has(A) || qt(A, i);
|
|
6433
6433
|
});
|
|
6434
6434
|
}
|
|
6435
6435
|
Z5.set(t, e);
|
|
@@ -6511,12 +6511,12 @@ I4.isSideCarExport = !0;
|
|
|
6511
6511
|
function c7(e, r) {
|
|
6512
6512
|
return e.useMedium(r), I4;
|
|
6513
6513
|
}
|
|
6514
|
-
var P4 = a7(),
|
|
6515
|
-
},
|
|
6514
|
+
var P4 = a7(), Ut = function() {
|
|
6515
|
+
}, it = l.forwardRef(function(e, r) {
|
|
6516
6516
|
var t = l.useRef(null), n = l.useState({
|
|
6517
|
-
onScrollCapture:
|
|
6518
|
-
onWheelCapture:
|
|
6519
|
-
onTouchMoveCapture:
|
|
6517
|
+
onScrollCapture: Ut,
|
|
6518
|
+
onWheelCapture: Ut,
|
|
6519
|
+
onTouchMoveCapture: Ut
|
|
6520
6520
|
}), c = n[0], o = n[1], i = e.forwardProps, A = e.children, s = e.className, d = e.removeScrollBar, u = e.enabled, p = e.shards, C = e.sideCar, g = e.noRelative, x = e.noIsolation, m = e.inert, f = e.allowPinchZoom, O = e.as, y = O === void 0 ? "div" : O, H = e.gapMode, z = b4(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), k = C, P = r7([t, r]), v = L1(L1({}, z), c);
|
|
6521
6521
|
return l.createElement(
|
|
6522
6522
|
l.Fragment,
|
|
@@ -6525,12 +6525,12 @@ var P4 = a7(), qt = function() {
|
|
|
6525
6525
|
i ? l.cloneElement(l.Children.only(A), L1(L1({}, v), { ref: P })) : l.createElement(y, L1({}, v, { className: s, ref: P }), A)
|
|
6526
6526
|
);
|
|
6527
6527
|
});
|
|
6528
|
-
|
|
6528
|
+
it.defaultProps = {
|
|
6529
6529
|
enabled: !0,
|
|
6530
6530
|
removeScrollBar: !0,
|
|
6531
6531
|
inert: !1
|
|
6532
6532
|
};
|
|
6533
|
-
|
|
6533
|
+
it.classNames = {
|
|
6534
6534
|
fullWidth: Nr,
|
|
6535
6535
|
zeroRight: Kr
|
|
6536
6536
|
};
|
|
@@ -6583,11 +6583,11 @@ var l7 = function() {
|
|
|
6583
6583
|
top: 0,
|
|
6584
6584
|
right: 0,
|
|
6585
6585
|
gap: 0
|
|
6586
|
-
},
|
|
6586
|
+
}, ht = function(e) {
|
|
6587
6587
|
return parseInt(e || "", 10) || 0;
|
|
6588
6588
|
}, p7 = function(e) {
|
|
6589
6589
|
var r = window.getComputedStyle(document.body), t = r[e === "padding" ? "paddingLeft" : "marginLeft"], n = r[e === "padding" ? "paddingTop" : "marginTop"], c = r[e === "padding" ? "paddingRight" : "marginRight"];
|
|
6590
|
-
return [
|
|
6590
|
+
return [ht(t), ht(n), ht(c)];
|
|
6591
6591
|
}, C7 = function(e) {
|
|
6592
6592
|
if (e === void 0 && (e = "margin"), typeof window > "u")
|
|
6593
6593
|
return d7;
|
|
@@ -6659,19 +6659,19 @@ var l7 = function() {
|
|
|
6659
6659
|
return C7(c);
|
|
6660
6660
|
}, [c]);
|
|
6661
6661
|
return l.createElement(g7, { styles: x7(o, !r, c, t ? "" : "!important") });
|
|
6662
|
-
},
|
|
6662
|
+
}, Lt = !1;
|
|
6663
6663
|
if (typeof window < "u")
|
|
6664
6664
|
try {
|
|
6665
6665
|
var Ir = Object.defineProperty({}, "passive", {
|
|
6666
6666
|
get: function() {
|
|
6667
|
-
return
|
|
6667
|
+
return Lt = !0, !0;
|
|
6668
6668
|
}
|
|
6669
6669
|
});
|
|
6670
6670
|
window.addEventListener("test", Ir, Ir), window.removeEventListener("test", Ir, Ir);
|
|
6671
6671
|
} catch {
|
|
6672
|
-
|
|
6672
|
+
Lt = !1;
|
|
6673
6673
|
}
|
|
6674
|
-
var Ie =
|
|
6674
|
+
var Ie = Lt ? { passive: !1 } : !1, f7 = function(e) {
|
|
6675
6675
|
return e.tagName === "TEXTAREA";
|
|
6676
6676
|
}, v4 = function(e, r) {
|
|
6677
6677
|
if (!(e instanceof Element))
|
|
@@ -6840,21 +6840,21 @@ function v7(e) {
|
|
|
6840
6840
|
}
|
|
6841
6841
|
const K7 = c7(P4, M7);
|
|
6842
6842
|
var S2 = l.forwardRef(function(e, r) {
|
|
6843
|
-
return l.createElement(
|
|
6843
|
+
return l.createElement(it, L1({}, e, { ref: r, sideCar: K7 }));
|
|
6844
6844
|
});
|
|
6845
|
-
S2.classNames =
|
|
6846
|
-
var
|
|
6847
|
-
ltr: [...
|
|
6848
|
-
rtl: [...
|
|
6845
|
+
S2.classNames = it.classNames;
|
|
6846
|
+
var Jt = ["Enter", " "], N7 = ["ArrowDown", "PageUp", "Home"], S4 = ["ArrowUp", "PageDown", "End"], S7 = [...N7, ...S4], q7 = {
|
|
6847
|
+
ltr: [...Jt, "ArrowRight"],
|
|
6848
|
+
rtl: [...Jt, "ArrowLeft"]
|
|
6849
6849
|
}, U7 = {
|
|
6850
6850
|
ltr: ["ArrowLeft"],
|
|
6851
6851
|
rtl: ["ArrowRight"]
|
|
6852
6852
|
}, gr = "Menu", [ar, h7, w7] = hn(gr), [Ve, q4] = fe(gr, [
|
|
6853
6853
|
w7,
|
|
6854
6854
|
A4,
|
|
6855
|
-
|
|
6856
|
-
]),
|
|
6857
|
-
const { __scopeMenu: r, open: t = !1, children: n, dir: c, onOpenChange: o, modal: i = !0 } = e, A =
|
|
6855
|
+
ot
|
|
6856
|
+
]), At = A4(), U4 = ot(), [W7, Oe] = Ve(gr), [T7, xr] = Ve(gr), h4 = (e) => {
|
|
6857
|
+
const { __scopeMenu: r, open: t = !1, children: n, dir: c, onOpenChange: o, modal: i = !0 } = e, A = At(r), [s, d] = l.useState(null), u = l.useRef(!1), p = ee(o), C = f2(c);
|
|
6858
6858
|
return l.useEffect(() => {
|
|
6859
6859
|
const g = () => {
|
|
6860
6860
|
u.current = !0, document.addEventListener("pointerdown", x, { capture: !0, once: !0 }), document.addEventListener("pointermove", x, { capture: !0, once: !0 });
|
|
@@ -6892,7 +6892,7 @@ var Lt = ["Enter", " "], N7 = ["ArrowDown", "PageUp", "Home"], S4 = ["ArrowUp",
|
|
|
6892
6892
|
h4.displayName = gr;
|
|
6893
6893
|
var R7 = "MenuAnchor", q2 = l.forwardRef(
|
|
6894
6894
|
(e, r) => {
|
|
6895
|
-
const { __scopeMenu: t, ...n } = e, c =
|
|
6895
|
+
const { __scopeMenu: t, ...n } = e, c = At(t);
|
|
6896
6896
|
return /* @__PURE__ */ a.jsx(ko, { ...c, ...n, ref: r });
|
|
6897
6897
|
}
|
|
6898
6898
|
);
|
|
@@ -6962,7 +6962,7 @@ var w1 = "MenuContent", [G7, h2] = Ve(w1), T4 = l.forwardRef(
|
|
|
6962
6962
|
onDismiss: g,
|
|
6963
6963
|
disableOutsideScroll: x,
|
|
6964
6964
|
...m
|
|
6965
|
-
} = e, f = Oe(w1, t), O = xr(w1, t), y =
|
|
6965
|
+
} = e, f = Oe(w1, t), O = xr(w1, t), y = At(t), H = U4(t), z = h7(t), [k, P] = l.useState(null), v = l.useRef(null), h = j1(r, v, f.onContentChange), U = l.useRef(0), W = l.useRef(""), w = l.useRef(0), Z = l.useRef(null), R = l.useRef("right"), F = l.useRef(0), t1 = x ? S2 : l.Fragment, X = x ? { as: B7, allowPinchZoom: !0 } : void 0, _ = (b) => {
|
|
6966
6966
|
var E, Y;
|
|
6967
6967
|
const N = W.current + b, T = z().filter((e1) => !e1.disabled), G = document.activeElement, n1 = (E = T.find((e1) => e1.ref.current === G)) == null ? void 0 : E.textValue, L = T.map((e1) => e1.textValue), l1 = n6(L, N, n1), c1 = (Y = T.find((e1) => e1.textValue === l1)) == null ? void 0 : Y.ref.current;
|
|
6968
6968
|
(function e1(i1) {
|
|
@@ -7097,7 +7097,7 @@ var Y7 = "MenuLabel", R4 = l.forwardRef(
|
|
|
7097
7097
|
}
|
|
7098
7098
|
);
|
|
7099
7099
|
R4.displayName = Y7;
|
|
7100
|
-
var Rr = "MenuItem", E5 = "menu.itemSelect",
|
|
7100
|
+
var Rr = "MenuItem", E5 = "menu.itemSelect", st = l.forwardRef(
|
|
7101
7101
|
(e, r) => {
|
|
7102
7102
|
const { disabled: t = !1, onSelect: n, ...c } = e, o = l.useRef(null), i = xr(Rr, e.__scopeMenu), A = h2(Rr, e.__scopeMenu), s = j1(r, o), d = l.useRef(!1), u = () => {
|
|
7103
7103
|
const p = o.current;
|
|
@@ -7122,13 +7122,13 @@ var Rr = "MenuItem", E5 = "menu.itemSelect", At = l.forwardRef(
|
|
|
7122
7122
|
d.current || (C = p.currentTarget) == null || C.click();
|
|
7123
7123
|
}),
|
|
7124
7124
|
onKeyDown: B(e.onKeyDown, (p) => {
|
|
7125
|
-
t || p.target !== p.currentTarget || A.searchRef.current !== "" && p.key === " " ||
|
|
7125
|
+
t || p.target !== p.currentTarget || A.searchRef.current !== "" && p.key === " " || Jt.includes(p.key) && (p.currentTarget.click(), p.preventDefault());
|
|
7126
7126
|
})
|
|
7127
7127
|
}
|
|
7128
7128
|
);
|
|
7129
7129
|
}
|
|
7130
7130
|
);
|
|
7131
|
-
|
|
7131
|
+
st.displayName = Rr;
|
|
7132
7132
|
var F4 = l.forwardRef(
|
|
7133
7133
|
(e, r) => {
|
|
7134
7134
|
const { __scopeMenu: t, disabled: n = !1, textValue: c, ...o } = e, i = h2(Rr, t), A = U4(t), s = l.useRef(null), d = j1(r, s), [u, p] = l.useState(!1), [C, g] = l.useState("");
|
|
@@ -7171,7 +7171,7 @@ var F4 = l.forwardRef(
|
|
|
7171
7171
|
(e, r) => {
|
|
7172
7172
|
const { checked: t = !1, onCheckedChange: n, ...c } = e;
|
|
7173
7173
|
return /* @__PURE__ */ a.jsx(Y4, { scope: e.__scopeMenu, checked: t, children: /* @__PURE__ */ a.jsx(
|
|
7174
|
-
|
|
7174
|
+
st,
|
|
7175
7175
|
{
|
|
7176
7176
|
role: "menuitemcheckbox",
|
|
7177
7177
|
"aria-checked": Fr(t) ? "mixed" : t,
|
|
@@ -7203,7 +7203,7 @@ var B4 = "MenuRadioItem", Z4 = l.forwardRef(
|
|
|
7203
7203
|
(e, r) => {
|
|
7204
7204
|
const { value: t, ...n } = e, c = Q7(B4, e.__scopeMenu), o = t === c.value;
|
|
7205
7205
|
return /* @__PURE__ */ a.jsx(Y4, { scope: e.__scopeMenu, checked: o, children: /* @__PURE__ */ a.jsx(
|
|
7206
|
-
|
|
7206
|
+
st,
|
|
7207
7207
|
{
|
|
7208
7208
|
role: "menuitemradio",
|
|
7209
7209
|
"aria-checked": o,
|
|
@@ -7263,7 +7263,7 @@ var _7 = "MenuSeparator", J4 = l.forwardRef(
|
|
|
7263
7263
|
J4.displayName = _7;
|
|
7264
7264
|
var $7 = "MenuArrow", Q4 = l.forwardRef(
|
|
7265
7265
|
(e, r) => {
|
|
7266
|
-
const { __scopeMenu: t, ...n } = e, c =
|
|
7266
|
+
const { __scopeMenu: t, ...n } = e, c = At(t);
|
|
7267
7267
|
return /* @__PURE__ */ a.jsx(Io, { ...c, ...n, ref: r });
|
|
7268
7268
|
}
|
|
7269
7269
|
);
|
|
@@ -7419,10 +7419,10 @@ function c6(e, r) {
|
|
|
7419
7419
|
function cr(e) {
|
|
7420
7420
|
return (r) => r.pointerType === "mouse" ? e(r) : void 0;
|
|
7421
7421
|
}
|
|
7422
|
-
var o6 = h4, i6 = q2, A6 = W4, s6 = T4, l6 = W2, u6 = R4, d6 =
|
|
7423
|
-
|
|
7422
|
+
var o6 = h4, i6 = q2, A6 = W4, s6 = T4, l6 = W2, u6 = R4, d6 = st, p6 = G4, C6 = X4, g6 = Z4, x6 = L4, m6 = J4, j6 = Q4, f6 = _4, V6 = ea, lt = "DropdownMenu", [O6] = fe(
|
|
7423
|
+
lt,
|
|
7424
7424
|
[q4]
|
|
7425
|
-
), I1 = q4(), [y6, ta] = O6(
|
|
7425
|
+
), I1 = q4(), [y6, ta] = O6(lt), na = (e) => {
|
|
7426
7426
|
const {
|
|
7427
7427
|
__scopeDropdownMenu: r,
|
|
7428
7428
|
children: t,
|
|
@@ -7431,11 +7431,11 @@ var o6 = h4, i6 = q2, A6 = W4, s6 = T4, l6 = W2, u6 = R4, d6 = At, p6 = G4, C6 =
|
|
|
7431
7431
|
defaultOpen: o,
|
|
7432
7432
|
onOpenChange: i,
|
|
7433
7433
|
modal: A = !0
|
|
7434
|
-
} = e, s = I1(r), d = l.useRef(null), [u, p] =
|
|
7434
|
+
} = e, s = I1(r), d = l.useRef(null), [u, p] = rt({
|
|
7435
7435
|
prop: c,
|
|
7436
7436
|
defaultProp: o ?? !1,
|
|
7437
7437
|
onChange: i,
|
|
7438
|
-
caller:
|
|
7438
|
+
caller: lt
|
|
7439
7439
|
});
|
|
7440
7440
|
return /* @__PURE__ */ a.jsx(
|
|
7441
7441
|
y6,
|
|
@@ -7452,7 +7452,7 @@ var o6 = h4, i6 = q2, A6 = W4, s6 = T4, l6 = W2, u6 = R4, d6 = At, p6 = G4, C6 =
|
|
|
7452
7452
|
}
|
|
7453
7453
|
);
|
|
7454
7454
|
};
|
|
7455
|
-
na.displayName =
|
|
7455
|
+
na.displayName = lt;
|
|
7456
7456
|
var aa = "DropdownMenuTrigger", ca = l.forwardRef(
|
|
7457
7457
|
(e, r) => {
|
|
7458
7458
|
const { __scopeDropdownMenu: t, disabled: n = !1, ...c } = e, o = ta(aa, t), i = I1(t), A = j1(r, o.triggerRef);
|
|
@@ -7665,7 +7665,7 @@ const F2 = ({
|
|
|
7665
7665
|
tertiary: "bg-action-tertiary-idle text-action-tertiary-on-idle hover:bg-action-tertiary-hover hover:text-action-tertiary-on-hover",
|
|
7666
7666
|
quaternary: "bg-action-quaternary-idle text-action-quaternary-on-idle hover:bg-action-quaternary-hover hover:text-action-quaternary-on-hover",
|
|
7667
7667
|
destructive: "bg-action-destructive-idle text-action-destructive-on-idle hover:bg-action-destructive-hover hover:text-action-destructive-on-hover"
|
|
7668
|
-
},
|
|
7668
|
+
}, wt = (e, r) => r3[e][r], n3 = (e, r) => t3[e], _5 = (e) => {
|
|
7669
7669
|
if (!e) return null;
|
|
7670
7670
|
if (f8(e))
|
|
7671
7671
|
return /* @__PURE__ */ a.jsx("span", { className: "shrink-0 [&>svg]:size-4", children: e });
|
|
@@ -7673,7 +7673,7 @@ const F2 = ({
|
|
|
7673
7673
|
return /* @__PURE__ */ a.jsx("span", { className: "shrink-0 [&>svg]:size-4", children: e });
|
|
7674
7674
|
const r = e;
|
|
7675
7675
|
return /* @__PURE__ */ a.jsx(r, { size: "small", className: "shrink-0" });
|
|
7676
|
-
}, $5 = (e, r) => r || (e ? "disabled" : "idle"), en = (e, r, t) => t ?
|
|
7676
|
+
}, $5 = (e, r) => r || (e ? "disabled" : "idle"), en = (e, r, t) => t ? wt(e, r) : r === "disabled" ? wt(e, "disabled") : r === "hover" ? wt(e, "hover") : n3(e), Wt = (e) => e ? "cursor-not-allowed" : "cursor-pointer", rn = (e, r, t) => e !== "secondary" ? t : V(
|
|
7677
7677
|
t,
|
|
7678
7678
|
r === "main" ? "border-r-0" : "border-l-0"
|
|
7679
7679
|
), or = ({
|
|
@@ -7721,7 +7721,7 @@ const F2 = ({
|
|
|
7721
7721
|
onClick: p,
|
|
7722
7722
|
className: V(
|
|
7723
7723
|
"inline-flex min-h-10 items-center justify-center rounded-control p-2 text-caption-1 tracking-[0.32px] transition-colors",
|
|
7724
|
-
|
|
7724
|
+
Wt(r),
|
|
7725
7725
|
z,
|
|
7726
7726
|
d
|
|
7727
7727
|
),
|
|
@@ -7737,7 +7737,7 @@ const F2 = ({
|
|
|
7737
7737
|
onClick: p,
|
|
7738
7738
|
className: V(
|
|
7739
7739
|
"inline-flex min-h-10 items-center justify-center rounded-none rounded-l-control p-2 text-caption-1 tracking-[0.32px] transition-colors",
|
|
7740
|
-
|
|
7740
|
+
Wt(r),
|
|
7741
7741
|
rn(e, "main", z)
|
|
7742
7742
|
),
|
|
7743
7743
|
...C,
|
|
@@ -7751,7 +7751,7 @@ const F2 = ({
|
|
|
7751
7751
|
"aria-label": "Open menu",
|
|
7752
7752
|
className: V(
|
|
7753
7753
|
"inline-flex min-h-10 shrink-0 items-center justify-center rounded-none rounded-r-control px-1 transition-colors",
|
|
7754
|
-
|
|
7754
|
+
Wt(O),
|
|
7755
7755
|
rn(e, "dropdown", k)
|
|
7756
7756
|
),
|
|
7757
7757
|
children: /* @__PURE__ */ a.jsx(z1, { direction: "down", size: "small" })
|
|
@@ -7921,7 +7921,7 @@ const ua = "M9.89258 5.62793L13.2041 14.625H11.9316L9.20117 11.8926H9.03223L6.29
|
|
|
7921
7921
|
className: V("ring-2 ring-white", n > 0 && "-ml-2")
|
|
7922
7922
|
},
|
|
7923
7923
|
`${t.chief}-${n}`
|
|
7924
|
-
)) }),
|
|
7924
|
+
)) }), Tt = ({
|
|
7925
7925
|
header: e = !1,
|
|
7926
7926
|
destructive: r = !1,
|
|
7927
7927
|
children: t,
|
|
@@ -8098,7 +8098,7 @@ var V3 = [
|
|
|
8098
8098
|
return n.displayName = `Primitive.${r}`, { ...e, [r]: n };
|
|
8099
8099
|
}, {});
|
|
8100
8100
|
function O3(e, r) {
|
|
8101
|
-
e &&
|
|
8101
|
+
e && Br.flushSync(() => e.dispatchEvent(r));
|
|
8102
8102
|
}
|
|
8103
8103
|
function X2(e) {
|
|
8104
8104
|
const r = l.useRef(e);
|
|
@@ -8127,7 +8127,7 @@ function z3(e, r = globalThis == null ? void 0 : globalThis.document) {
|
|
|
8127
8127
|
return r.addEventListener("keydown", n, { capture: !0 }), () => r.removeEventListener("keydown", n, { capture: !0 });
|
|
8128
8128
|
}, [t, r]);
|
|
8129
8129
|
}
|
|
8130
|
-
var H3 = "DismissableLayer",
|
|
8130
|
+
var H3 = "DismissableLayer", Qt = "dismissableLayer.update", k3 = "dismissableLayer.pointerDownOutside", b3 = "dismissableLayer.focusOutside", nn, xa = l.createContext({
|
|
8131
8131
|
layers: /* @__PURE__ */ new Set(),
|
|
8132
8132
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
8133
8133
|
branches: /* @__PURE__ */ new Set()
|
|
@@ -8159,7 +8159,7 @@ var H3 = "DismissableLayer", Jt = "dismissableLayer.update", k3 = "dismissableLa
|
|
|
8159
8159
|
u && (d.layers.delete(u), d.layersWithOutsidePointerEventsDisabled.delete(u), an());
|
|
8160
8160
|
}, [u, d]), l.useEffect(() => {
|
|
8161
8161
|
const v = () => g({});
|
|
8162
|
-
return document.addEventListener(
|
|
8162
|
+
return document.addEventListener(Qt, v), () => document.removeEventListener(Qt, v);
|
|
8163
8163
|
}, []), /* @__PURE__ */ a.jsx(
|
|
8164
8164
|
ze.div,
|
|
8165
8165
|
{
|
|
@@ -8236,7 +8236,7 @@ function v3(e, r = globalThis == null ? void 0 : globalThis.document) {
|
|
|
8236
8236
|
};
|
|
8237
8237
|
}
|
|
8238
8238
|
function an() {
|
|
8239
|
-
const e = new CustomEvent(
|
|
8239
|
+
const e = new CustomEvent(Qt);
|
|
8240
8240
|
document.dispatchEvent(e);
|
|
8241
8241
|
}
|
|
8242
8242
|
function ja(e, r, t, { discrete: n }) {
|
|
@@ -8723,9 +8723,9 @@ var Ai = [
|
|
|
8723
8723
|
)
|
|
8724
8724
|
);
|
|
8725
8725
|
Ka.displayName = ui;
|
|
8726
|
-
var di = Ka, [
|
|
8726
|
+
var di = Ka, [ut] = Ca("Tooltip", [
|
|
8727
8727
|
Oa
|
|
8728
|
-
]),
|
|
8728
|
+
]), dt = Oa(), Na = "TooltipProvider", pi = 700, Et = "tooltip.open", [Ci, L2] = ut(Na), Sa = (e) => {
|
|
8729
8729
|
const {
|
|
8730
8730
|
__scopeTooltip: r,
|
|
8731
8731
|
delayDuration: t = pi,
|
|
@@ -8761,7 +8761,7 @@ var di = Ka, [lt] = Ca("Tooltip", [
|
|
|
8761
8761
|
);
|
|
8762
8762
|
};
|
|
8763
8763
|
Sa.displayName = Na;
|
|
8764
|
-
var ir = "Tooltip", [gi, mr] =
|
|
8764
|
+
var ir = "Tooltip", [gi, mr] = ut(ir), qa = (e) => {
|
|
8765
8765
|
const {
|
|
8766
8766
|
__scopeTooltip: r,
|
|
8767
8767
|
children: t,
|
|
@@ -8770,11 +8770,11 @@ var ir = "Tooltip", [gi, mr] = lt(ir), qa = (e) => {
|
|
|
8770
8770
|
onOpenChange: o,
|
|
8771
8771
|
disableHoverableContent: i,
|
|
8772
8772
|
delayDuration: A
|
|
8773
|
-
} = e, s = L2(ir, e.__scopeTooltip), d =
|
|
8773
|
+
} = e, s = L2(ir, e.__scopeTooltip), d = dt(r), [u, p] = l.useState(null), C = S3(), g = l.useRef(0), x = i ?? s.disableHoverableContent, m = A ?? s.delayDuration, f = l.useRef(!1), [O, y] = _3({
|
|
8774
8774
|
prop: n,
|
|
8775
8775
|
defaultProp: c ?? !1,
|
|
8776
8776
|
onChange: (v) => {
|
|
8777
|
-
v ? (s.onOpen(), document.dispatchEvent(new CustomEvent(
|
|
8777
|
+
v ? (s.onOpen(), document.dispatchEvent(new CustomEvent(Et))) : s.onClose(), o == null || o(v);
|
|
8778
8778
|
},
|
|
8779
8779
|
caller: ir
|
|
8780
8780
|
}), H = l.useMemo(() => O ? f.current ? "delayed-open" : "instant-open" : "closed", [O]), z = l.useCallback(() => {
|
|
@@ -8811,9 +8811,9 @@ var ir = "Tooltip", [gi, mr] = lt(ir), qa = (e) => {
|
|
|
8811
8811
|
) });
|
|
8812
8812
|
};
|
|
8813
8813
|
qa.displayName = ir;
|
|
8814
|
-
var
|
|
8814
|
+
var _t = "TooltipTrigger", Ua = l.forwardRef(
|
|
8815
8815
|
(e, r) => {
|
|
8816
|
-
const { __scopeTooltip: t, ...n } = e, c = mr(
|
|
8816
|
+
const { __scopeTooltip: t, ...n } = e, c = mr(_t, t), o = L2(_t, t), i = dt(t), A = l.useRef(null), s = ye(r, A, c.onTriggerChange), d = l.useRef(!1), u = l.useRef(!1), p = l.useCallback(() => d.current = !1, []);
|
|
8817
8817
|
return l.useEffect(() => () => document.removeEventListener("pointerup", p), [p]), /* @__PURE__ */ a.jsx(X3, { asChild: !0, ...i, children: /* @__PURE__ */ a.jsx(
|
|
8818
8818
|
ze.button,
|
|
8819
8819
|
{
|
|
@@ -8839,8 +8839,8 @@ var Et = "TooltipTrigger", Ua = l.forwardRef(
|
|
|
8839
8839
|
) });
|
|
8840
8840
|
}
|
|
8841
8841
|
);
|
|
8842
|
-
Ua.displayName =
|
|
8843
|
-
var J2 = "TooltipPortal", [xi, mi] =
|
|
8842
|
+
Ua.displayName = _t;
|
|
8843
|
+
var J2 = "TooltipPortal", [xi, mi] = ut(J2, {
|
|
8844
8844
|
forceMount: void 0
|
|
8845
8845
|
}), ha = (e) => {
|
|
8846
8846
|
const { __scopeTooltip: r, forceMount: t, children: n, container: c } = e, o = mr(J2, r);
|
|
@@ -8878,7 +8878,7 @@ var Se = "TooltipContent", wa = l.forwardRef(
|
|
|
8878
8878
|
return document.addEventListener("pointermove", x), () => document.removeEventListener("pointermove", x);
|
|
8879
8879
|
}
|
|
8880
8880
|
}, [s, u, i, d, C]), /* @__PURE__ */ a.jsx(Wa, { ...e, ref: o });
|
|
8881
|
-
}), [fi, Vi] =
|
|
8881
|
+
}), [fi, Vi] = ut(ir, { isInside: !1 }), Oi = /* @__PURE__ */ x3("TooltipContent"), Wa = l.forwardRef(
|
|
8882
8882
|
(e, r) => {
|
|
8883
8883
|
const {
|
|
8884
8884
|
__scopeTooltip: t,
|
|
@@ -8887,8 +8887,8 @@ var Se = "TooltipContent", wa = l.forwardRef(
|
|
|
8887
8887
|
onEscapeKeyDown: o,
|
|
8888
8888
|
onPointerDownOutside: i,
|
|
8889
8889
|
...A
|
|
8890
|
-
} = e, s = mr(Se, t), d =
|
|
8891
|
-
return l.useEffect(() => (document.addEventListener(
|
|
8890
|
+
} = e, s = mr(Se, t), d = dt(t), { onClose: u } = s;
|
|
8891
|
+
return l.useEffect(() => (document.addEventListener(Et, u), () => document.removeEventListener(Et, u)), [u]), l.useEffect(() => {
|
|
8892
8892
|
if (s.trigger) {
|
|
8893
8893
|
const p = (C) => {
|
|
8894
8894
|
const g = C.target;
|
|
@@ -8933,7 +8933,7 @@ var Se = "TooltipContent", wa = l.forwardRef(
|
|
|
8933
8933
|
wa.displayName = Se;
|
|
8934
8934
|
var Ta = "TooltipArrow", yi = l.forwardRef(
|
|
8935
8935
|
(e, r) => {
|
|
8936
|
-
const { __scopeTooltip: t, ...n } = e, c =
|
|
8936
|
+
const { __scopeTooltip: t, ...n } = e, c = dt(t);
|
|
8937
8937
|
return Vi(
|
|
8938
8938
|
Ta,
|
|
8939
8939
|
t
|
|
@@ -9034,7 +9034,7 @@ function Pi(e) {
|
|
|
9034
9034
|
return t.pop(), r.length === 1 && t.length === 1 && r[0].x === t[0].x && r[0].y === t[0].y ? r : r.concat(t);
|
|
9035
9035
|
}
|
|
9036
9036
|
var Mi = Sa, vi = qa, Ki = Ua, Ni = ha, Si = wa;
|
|
9037
|
-
const bl = Mi,
|
|
9037
|
+
const bl = Mi, pt = ({
|
|
9038
9038
|
children: e,
|
|
9039
9039
|
content: r,
|
|
9040
9040
|
hint: t = !1,
|
|
@@ -9083,7 +9083,7 @@ const bl = Mi, dt = ({
|
|
|
9083
9083
|
` })
|
|
9084
9084
|
]
|
|
9085
9085
|
}
|
|
9086
|
-
),
|
|
9086
|
+
), Ct = ({ value: e, className: r }) => /* @__PURE__ */ a.jsx(
|
|
9087
9087
|
"span",
|
|
9088
9088
|
{
|
|
9089
9089
|
className: V(
|
|
@@ -9475,7 +9475,7 @@ const bl = Mi, dt = ({
|
|
|
9475
9475
|
"aria-label": `Remove ${r}`,
|
|
9476
9476
|
onClick: o,
|
|
9477
9477
|
className: "size-6 [&>svg]:size-3",
|
|
9478
|
-
children: /* @__PURE__ */ a.jsx(
|
|
9478
|
+
children: /* @__PURE__ */ a.jsx(Lr, { size: "xs" })
|
|
9479
9479
|
}
|
|
9480
9480
|
)
|
|
9481
9481
|
]
|
|
@@ -9535,8 +9535,8 @@ const bl = Mi, dt = ({
|
|
|
9535
9535
|
"peer-disabled:border-divider-primary peer-disabled:bg-grey-50"
|
|
9536
9536
|
),
|
|
9537
9537
|
children: [
|
|
9538
|
-
e && !r && /* @__PURE__ */ a.jsx(
|
|
9539
|
-
r && /* @__PURE__ */ a.jsx(
|
|
9538
|
+
e && !r && /* @__PURE__ */ a.jsx(Er, { size: "xs", className: "text-white" }),
|
|
9539
|
+
r && /* @__PURE__ */ a.jsx(Zr, { size: "small", className: "text-white" })
|
|
9540
9540
|
]
|
|
9541
9541
|
}
|
|
9542
9542
|
)
|
|
@@ -9571,9 +9571,9 @@ const bl = Mi, dt = ({
|
|
|
9571
9571
|
]
|
|
9572
9572
|
}
|
|
9573
9573
|
);
|
|
9574
|
-
var
|
|
9575
|
-
|
|
9576
|
-
]), Fa =
|
|
9574
|
+
var gt = "Tabs", [Ri] = fe(gt, [
|
|
9575
|
+
ot
|
|
9576
|
+
]), Fa = ot(), [Fi, Q2] = Ri(gt), Ga = l.forwardRef(
|
|
9577
9577
|
(e, r) => {
|
|
9578
9578
|
const {
|
|
9579
9579
|
__scopeTabs: t,
|
|
@@ -9584,11 +9584,11 @@ var Ct = "Tabs", [Ri] = fe(Ct, [
|
|
|
9584
9584
|
dir: A,
|
|
9585
9585
|
activationMode: s = "automatic",
|
|
9586
9586
|
...d
|
|
9587
|
-
} = e, u = f2(A), [p, C] =
|
|
9587
|
+
} = e, u = f2(A), [p, C] = rt({
|
|
9588
9588
|
prop: n,
|
|
9589
9589
|
onChange: c,
|
|
9590
9590
|
defaultProp: o ?? "",
|
|
9591
|
-
caller:
|
|
9591
|
+
caller: gt
|
|
9592
9592
|
});
|
|
9593
9593
|
return /* @__PURE__ */ a.jsx(
|
|
9594
9594
|
Fi,
|
|
@@ -9613,7 +9613,7 @@ var Ct = "Tabs", [Ri] = fe(Ct, [
|
|
|
9613
9613
|
);
|
|
9614
9614
|
}
|
|
9615
9615
|
);
|
|
9616
|
-
Ga.displayName =
|
|
9616
|
+
Ga.displayName = gt;
|
|
9617
9617
|
var Da = "TabsList", Xa = l.forwardRef(
|
|
9618
9618
|
(e, r) => {
|
|
9619
9619
|
const { __scopeTabs: t, loop: n = !0, ...c } = e, o = Q2(Da, t), i = Fa(t);
|
|
@@ -9826,7 +9826,7 @@ const Yl = ({
|
|
|
9826
9826
|
]
|
|
9827
9827
|
}
|
|
9828
9828
|
), Xi = {
|
|
9829
|
-
chat: /* @__PURE__ */ a.jsx(
|
|
9829
|
+
chat: /* @__PURE__ */ a.jsx(Jr, { className: "size-4" }),
|
|
9830
9830
|
issue: /* @__PURE__ */ a.jsx(rr, { className: "size-4" }),
|
|
9831
9831
|
report: /* @__PURE__ */ a.jsx(u2, { className: "size-4" })
|
|
9832
9832
|
}, Bi = ({
|
|
@@ -9924,7 +9924,7 @@ const Yl = ({
|
|
|
9924
9924
|
]
|
|
9925
9925
|
}
|
|
9926
9926
|
);
|
|
9927
|
-
var
|
|
9927
|
+
var xt = "Dialog", [n0] = fe(xt), [Zi, B1] = n0(xt), a0 = (e) => {
|
|
9928
9928
|
const {
|
|
9929
9929
|
__scopeDialog: r,
|
|
9930
9930
|
children: t,
|
|
@@ -9932,11 +9932,11 @@ var gt = "Dialog", [n0] = fe(gt), [Zi, B1] = n0(gt), a0 = (e) => {
|
|
|
9932
9932
|
defaultOpen: c,
|
|
9933
9933
|
onOpenChange: o,
|
|
9934
9934
|
modal: i = !0
|
|
9935
|
-
} = e, A = l.useRef(null), s = l.useRef(null), [d, u] =
|
|
9935
|
+
} = e, A = l.useRef(null), s = l.useRef(null), [d, u] = rt({
|
|
9936
9936
|
prop: n,
|
|
9937
9937
|
defaultProp: c ?? !1,
|
|
9938
9938
|
onChange: o,
|
|
9939
|
-
caller:
|
|
9939
|
+
caller: xt
|
|
9940
9940
|
});
|
|
9941
9941
|
return /* @__PURE__ */ a.jsx(
|
|
9942
9942
|
Zi,
|
|
@@ -9955,7 +9955,7 @@ var gt = "Dialog", [n0] = fe(gt), [Zi, B1] = n0(gt), a0 = (e) => {
|
|
|
9955
9955
|
}
|
|
9956
9956
|
);
|
|
9957
9957
|
};
|
|
9958
|
-
a0.displayName =
|
|
9958
|
+
a0.displayName = xt;
|
|
9959
9959
|
var c0 = "DialogTrigger", o0 = l.forwardRef(
|
|
9960
9960
|
(e, r) => {
|
|
9961
9961
|
const { __scopeDialog: t, ...n } = e, c = B1(c0, t), o = j1(r, c.triggerRef);
|
|
@@ -10191,7 +10191,7 @@ const El = ({
|
|
|
10191
10191
|
/* @__PURE__ */ a.jsx("div", { className: "grow text-subheader-em text-display-on-light-primary", children: t }),
|
|
10192
10192
|
/* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-4", children: [
|
|
10193
10193
|
r,
|
|
10194
|
-
/* @__PURE__ */ a.jsx(K1, { hierarchy: "quaternary", size: "small", "aria-label": "Close", onClick: e, children: /* @__PURE__ */ a.jsx(
|
|
10194
|
+
/* @__PURE__ */ a.jsx(K1, { hierarchy: "quaternary", size: "small", "aria-label": "Close", onClick: e, children: /* @__PURE__ */ a.jsx(Lr, { size: "small" }) })
|
|
10195
10195
|
] })
|
|
10196
10196
|
] }), tA = ({ children: e, className: r }) => /* @__PURE__ */ a.jsx("div", { className: V("w-full overflow-auto", r), children: e }), j0 = {
|
|
10197
10197
|
Header: rA,
|
|
@@ -10354,7 +10354,7 @@ const El = ({
|
|
|
10354
10354
|
)
|
|
10355
10355
|
] }),
|
|
10356
10356
|
/* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-1", children: [
|
|
10357
|
-
/* @__PURE__ */ a.jsx("button", { type: "button", className: Je, onClick: u.zoomOut, "aria-label": "Zoom out", children: /* @__PURE__ */ a.jsx(
|
|
10357
|
+
/* @__PURE__ */ a.jsx("button", { type: "button", className: Je, onClick: u.zoomOut, "aria-label": "Zoom out", children: /* @__PURE__ */ a.jsx(Zr, { size: "small" }) }),
|
|
10358
10358
|
/* @__PURE__ */ a.jsxs("span", { className: "w-14 text-center text-caption-2", children: [
|
|
10359
10359
|
d,
|
|
10360
10360
|
"%"
|
|
@@ -10484,7 +10484,7 @@ const Qe = "flex h-8 w-8 items-center justify-center rounded-control border bord
|
|
|
10484
10484
|
] }),
|
|
10485
10485
|
/* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
10486
10486
|
/* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-1", children: [
|
|
10487
|
-
/* @__PURE__ */ a.jsx("button", { type: "button", className: Qe, onClick: i.zoomOut, "aria-label": "Zoom out", children: /* @__PURE__ */ a.jsx(
|
|
10487
|
+
/* @__PURE__ */ a.jsx("button", { type: "button", className: Qe, onClick: i.zoomOut, "aria-label": "Zoom out", children: /* @__PURE__ */ a.jsx(Zr, { size: "small" }) }),
|
|
10488
10488
|
/* @__PURE__ */ a.jsxs(
|
|
10489
10489
|
"button",
|
|
10490
10490
|
{
|
|
@@ -10797,7 +10797,7 @@ const eu = ({
|
|
|
10797
10797
|
}), [jr, We] = q1 || [], Te = We, Re = Te == null ? void 0 : Te.docx_mapping, Fe = !!q1, Ge = (Re == null ? void 0 : Re.true_name) === d1, fr = () => {
|
|
10798
10798
|
const O1 = document.createElement("span");
|
|
10799
10799
|
return O1.textContent = H1, O1.className = "inline-checkbox-readonly", O1;
|
|
10800
|
-
},
|
|
10800
|
+
}, mt = () => {
|
|
10801
10801
|
const O1 = document.createElement("span");
|
|
10802
10802
|
O1.className = "inline-radio-container";
|
|
10803
10803
|
const M1 = document.createElement("input");
|
|
@@ -10814,8 +10814,8 @@ const eu = ({
|
|
|
10814
10814
|
M1.target.checked
|
|
10815
10815
|
);
|
|
10816
10816
|
}), O1;
|
|
10817
|
-
}, Or = () => o && fr(),
|
|
10818
|
-
return Or() ||
|
|
10817
|
+
}, Or = () => o && fr(), jt = () => !o && Fe && mt(), ft = () => !o && !Fe && Vr();
|
|
10818
|
+
return Or() || jt() || ft();
|
|
10819
10819
|
})() : (() => {
|
|
10820
10820
|
var q1;
|
|
10821
10821
|
const d1 = ((q1 = r.properties) == null ? void 0 : q1[C1]) || {};
|
|
@@ -11118,7 +11118,7 @@ const eu = ({
|
|
|
11118
11118
|
} },
|
|
11119
11119
|
{ id: "example-2", label: "Example two", onSelect: () => {
|
|
11120
11120
|
} }
|
|
11121
|
-
], Ar = "bg-[rgba(38,36,32,0.04)]", z0 = "bg-[rgba(38,36,32,0.08)]", Ee = "gap-2",
|
|
11121
|
+
], Ar = "bg-[rgba(38,36,32,0.04)]", z0 = "bg-[rgba(38,36,32,0.08)]", Ee = "gap-2", $t = "gap-1", H0 = "box-border flex h-9 w-full items-center rounded-control p-2", lA = "box-border flex h-10 w-full items-center rounded-control p-2", e2 = "relative box-border flex w-full flex-col items-center justify-center rounded-control p-2", uA = "pointer-events-none absolute left-0 top-0 size-6", dA = "absolute right-0 top-0 size-1.5 rounded-full bg-[#802c20]", k0 = "flex w-full min-w-0 items-center gap-2 pl-1", Dr = "shrink-0 [&>svg]:size-4", b0 = "min-w-0 flex-1 truncate text-caption-2 tracking-[0.01em]", Xr = "bg-transparent text-action-quaternary-on-idle hover:bg-[rgba(38,36,32,0.04)] hover:text-action-quaternary-on-hover disabled:bg-transparent disabled:opacity-50", pA = "sidebar-scroll flex min-h-0 flex-1 flex-col overflow-x-hidden overflow-y-auto", me = "transition-colors hover:bg-[rgba(38,36,32,0.04)] hover:text-display-on-light-primary", CA = "group/newchat transition-colors hover:bg-action-primary-hover hover:text-action-primary-on-hover", gA = "group-hover/newchat:text-action-primary-on-hover", I0 = "text-display-on-light-secondary", xA = V(Ar, "text-display-on-light-primary"), P0 = V(z0, "text-display-on-light-primary"), mA = "text-display-on-light-secondary", jA = V(Ar, "text-display-on-light-primary"), fA = V(z0, "text-display-on-light-primary"), VA = "box-border flex h-9 w-full items-center gap-1 rounded-control px-2 py-1.5", OA = "px-2 py-1.5", yA = "min-h-9", zA = "rounded-control", HA = (e) => V(
|
|
11122
11122
|
"group/row relative flex w-full items-center gap-1",
|
|
11123
11123
|
OA,
|
|
11124
11124
|
yA,
|
|
@@ -11140,7 +11140,7 @@ const eu = ({
|
|
|
11140
11140
|
}) => t && (c || n === "hover") ? /* @__PURE__ */ a.jsx(
|
|
11141
11141
|
"div",
|
|
11142
11142
|
{
|
|
11143
|
-
className: V(
|
|
11143
|
+
className: V(e2, Ar, i),
|
|
11144
11144
|
"data-collapsed": t,
|
|
11145
11145
|
"data-state": "hover",
|
|
11146
11146
|
children: /* @__PURE__ */ a.jsx(
|
|
@@ -11149,9 +11149,9 @@ const eu = ({
|
|
|
11149
11149
|
hierarchy: "quaternary",
|
|
11150
11150
|
size: "small",
|
|
11151
11151
|
"aria-label": "Expand sidebar",
|
|
11152
|
-
className: V("size-6 p-1",
|
|
11152
|
+
className: V("size-6 p-1", Xr),
|
|
11153
11153
|
onClick: o,
|
|
11154
|
-
children: /* @__PURE__ */ a.jsx(
|
|
11154
|
+
children: /* @__PURE__ */ a.jsx(Gt, { size: "small" })
|
|
11155
11155
|
}
|
|
11156
11156
|
)
|
|
11157
11157
|
}
|
|
@@ -11159,7 +11159,7 @@ const eu = ({
|
|
|
11159
11159
|
"div",
|
|
11160
11160
|
{
|
|
11161
11161
|
className: V(
|
|
11162
|
-
|
|
11162
|
+
e2,
|
|
11163
11163
|
n === "idle" && me,
|
|
11164
11164
|
i
|
|
11165
11165
|
),
|
|
@@ -11184,7 +11184,7 @@ const eu = ({
|
|
|
11184
11184
|
n === "idle" && me
|
|
11185
11185
|
),
|
|
11186
11186
|
children: /* @__PURE__ */ a.jsxs("div", { className: k0, children: [
|
|
11187
|
-
/* @__PURE__ */ a.jsx("span", { className: V(
|
|
11187
|
+
/* @__PURE__ */ a.jsx("span", { className: V(Dr, "size-4 overflow-hidden rounded-full"), children: /* @__PURE__ */ a.jsx(An, { src: r ?? aA }) }),
|
|
11188
11188
|
/* @__PURE__ */ a.jsx("span", { className: b0, children: e })
|
|
11189
11189
|
] })
|
|
11190
11190
|
}
|
|
@@ -11195,9 +11195,9 @@ const eu = ({
|
|
|
11195
11195
|
hierarchy: "quaternary",
|
|
11196
11196
|
size: "small",
|
|
11197
11197
|
"aria-label": "Collapse sidebar",
|
|
11198
|
-
className: V("size-6 shrink-0 p-1",
|
|
11198
|
+
className: V("size-6 shrink-0 p-1", Xr),
|
|
11199
11199
|
onClick: o,
|
|
11200
|
-
children: /* @__PURE__ */ a.jsx(
|
|
11200
|
+
children: /* @__PURE__ */ a.jsx(Gt, { size: "small" })
|
|
11201
11201
|
}
|
|
11202
11202
|
)
|
|
11203
11203
|
]
|
|
@@ -11225,7 +11225,7 @@ const eu = ({
|
|
|
11225
11225
|
className: s
|
|
11226
11226
|
}
|
|
11227
11227
|
);
|
|
11228
|
-
return o ? d : t && !c && n !== "hover" ? /* @__PURE__ */ a.jsx(
|
|
11228
|
+
return o ? d : t && !c && n !== "hover" ? /* @__PURE__ */ a.jsx(pt, { content: e, side: "right", className: "w-full", children: d }) : t ? d : /* @__PURE__ */ a.jsx(F2, { side: "top", align: "start", trigger: d, children: i.map((u) => /* @__PURE__ */ a.jsxs(
|
|
11229
11229
|
G2,
|
|
11230
11230
|
{
|
|
11231
11231
|
className: V(u.destructive && "text-red-500 hover:bg-red-50 hover:text-red-700"),
|
|
@@ -11307,7 +11307,7 @@ const eu = ({
|
|
|
11307
11307
|
"aria-expanded": d,
|
|
11308
11308
|
className: V(
|
|
11309
11309
|
"size-6 min-h-6 shrink-0 p-1",
|
|
11310
|
-
|
|
11310
|
+
Xr,
|
|
11311
11311
|
!i && !d && "hidden group-hover/row:inline-flex",
|
|
11312
11312
|
(i || d) && "inline-flex"
|
|
11313
11313
|
),
|
|
@@ -11357,7 +11357,7 @@ const eu = ({
|
|
|
11357
11357
|
{
|
|
11358
11358
|
className: V(
|
|
11359
11359
|
"relative",
|
|
11360
|
-
|
|
11360
|
+
e2,
|
|
11361
11361
|
sn[n],
|
|
11362
11362
|
n === "idle" && me,
|
|
11363
11363
|
p
|
|
@@ -11376,7 +11376,7 @@ const eu = ({
|
|
|
11376
11376
|
}
|
|
11377
11377
|
),
|
|
11378
11378
|
/* @__PURE__ */ a.jsxs("span", { className: "pointer-events-none relative z-10 inline-flex shrink-0 items-center", children: [
|
|
11379
|
-
t && /* @__PURE__ */ a.jsx("span", { className:
|
|
11379
|
+
t && /* @__PURE__ */ a.jsx("span", { className: Dr, children: t }),
|
|
11380
11380
|
u && /* @__PURE__ */ a.jsx("span", { "aria-hidden": !0, className: uA, children: /* @__PURE__ */ a.jsx("span", { className: dA }) })
|
|
11381
11381
|
] })
|
|
11382
11382
|
]
|
|
@@ -11413,7 +11413,7 @@ const eu = ({
|
|
|
11413
11413
|
),
|
|
11414
11414
|
children: [
|
|
11415
11415
|
/* @__PURE__ */ a.jsxs("span", { className: "flex min-w-0 flex-1 items-center gap-2 truncate text-left", children: [
|
|
11416
|
-
t && /* @__PURE__ */ a.jsx("span", { className:
|
|
11416
|
+
t && /* @__PURE__ */ a.jsx("span", { className: Dr, children: t }),
|
|
11417
11417
|
/* @__PURE__ */ a.jsx("span", { className: b0, children: r }),
|
|
11418
11418
|
i
|
|
11419
11419
|
] }),
|
|
@@ -11424,20 +11424,20 @@ const eu = ({
|
|
|
11424
11424
|
]
|
|
11425
11425
|
}
|
|
11426
11426
|
);
|
|
11427
|
-
return d || !c || !s ? g : /* @__PURE__ */ a.jsx(
|
|
11428
|
-
}, MA = h1, vA = (e) => e === "status" ? /* @__PURE__ */ a.jsx(rr, { size: "small" }) : e === "statusClosed" ? /* @__PURE__ */ a.jsx(rr, { size: "small", variant: "closed" }) : e === "chatPro" ? /* @__PURE__ */ a.jsx(kn, { size: "small" }) : /* @__PURE__ */ a.jsx(
|
|
11427
|
+
return d || !c || !s ? g : /* @__PURE__ */ a.jsx(pt, { content: s ?? r, side: "right", className: "w-full", children: g });
|
|
11428
|
+
}, MA = h1, vA = (e) => e === "status" ? /* @__PURE__ */ a.jsx(rr, { size: "small" }) : e === "statusClosed" ? /* @__PURE__ */ a.jsx(rr, { size: "small", variant: "closed" }) : e === "chatPro" ? /* @__PURE__ */ a.jsx(kn, { size: "small" }) : /* @__PURE__ */ a.jsx(Jr, { size: "small" }), a5 = ({
|
|
11429
11429
|
href: e,
|
|
11430
11430
|
chief: r,
|
|
11431
11431
|
empty: t = !1,
|
|
11432
11432
|
label: n = "Activity",
|
|
11433
|
-
icon: c = /* @__PURE__ */ a.jsx(
|
|
11433
|
+
icon: c = /* @__PURE__ */ a.jsx(_r, { size: "small", className: "text-display-on-light-tertiary" }),
|
|
11434
11434
|
className: o,
|
|
11435
11435
|
onNavigate: i,
|
|
11436
11436
|
entryMenuItems: A
|
|
11437
11437
|
}) => /* @__PURE__ */ a.jsxs(
|
|
11438
11438
|
"div",
|
|
11439
11439
|
{
|
|
11440
|
-
className: V("flex w-full max-w-[248px] flex-col",
|
|
11440
|
+
className: V("flex w-full max-w-[248px] flex-col", $t, o),
|
|
11441
11441
|
"data-chief": r,
|
|
11442
11442
|
"data-empty": t,
|
|
11443
11443
|
children: [
|
|
@@ -11449,7 +11449,7 @@ const eu = ({
|
|
|
11449
11449
|
label: s.label,
|
|
11450
11450
|
icon: vA(s.icon),
|
|
11451
11451
|
badge: s.count ? /* @__PURE__ */ a.jsx(
|
|
11452
|
-
|
|
11452
|
+
Ct,
|
|
11453
11453
|
{
|
|
11454
11454
|
value: s.count,
|
|
11455
11455
|
className: "min-h-5 min-w-5 bg-red-600 px-0.5 py-0.5 text-[13px] font-medium leading-4 tracking-[0.02em] text-white"
|
|
@@ -11475,7 +11475,7 @@ const eu = ({
|
|
|
11475
11475
|
}) => /* @__PURE__ */ a.jsxs(
|
|
11476
11476
|
"div",
|
|
11477
11477
|
{
|
|
11478
|
-
className: V("flex w-full max-w-[264px] flex-col",
|
|
11478
|
+
className: V("flex w-full max-w-[264px] flex-col", $t, i),
|
|
11479
11479
|
"data-expanded": n,
|
|
11480
11480
|
children: [
|
|
11481
11481
|
/* @__PURE__ */ a.jsx(
|
|
@@ -11493,7 +11493,7 @@ const eu = ({
|
|
|
11493
11493
|
size: "small",
|
|
11494
11494
|
"aria-expanded": n,
|
|
11495
11495
|
"aria-label": n ? `Collapse ${r}` : `Expand ${r}`,
|
|
11496
|
-
className: V("size-6 shrink-0 p-1",
|
|
11496
|
+
className: V("size-6 shrink-0 p-1", Xr),
|
|
11497
11497
|
onClick: (d) => {
|
|
11498
11498
|
d.preventDefault(), d.stopPropagation(), c(!n);
|
|
11499
11499
|
},
|
|
@@ -11518,14 +11518,14 @@ const eu = ({
|
|
|
11518
11518
|
"grid transition-[grid-template-rows,opacity] duration-200 ease-in-out",
|
|
11519
11519
|
n ? "grid-rows-[1fr] opacity-100" : "grid-rows-[0fr] opacity-0"
|
|
11520
11520
|
),
|
|
11521
|
-
children: /* @__PURE__ */ a.jsx("div", { className: V("flex min-h-0 flex-col overflow-hidden",
|
|
11521
|
+
children: /* @__PURE__ */ a.jsx("div", { className: V("flex min-h-0 flex-col overflow-hidden", $t), children: o.map((d) => /* @__PURE__ */ a.jsx(
|
|
11522
11522
|
sr,
|
|
11523
11523
|
{
|
|
11524
11524
|
href: d.href ?? `#${d.id}`,
|
|
11525
11525
|
label: d.name,
|
|
11526
11526
|
icon: /* @__PURE__ */ a.jsx(Ke, { size: "small", className: "text-display-on-light-primary" }),
|
|
11527
11527
|
badge: d.count ? /* @__PURE__ */ a.jsx(
|
|
11528
|
-
|
|
11528
|
+
Ct,
|
|
11529
11529
|
{
|
|
11530
11530
|
value: d.count,
|
|
11531
11531
|
className: "min-h-5 min-w-5 bg-red-600 px-0.5 py-0.5 text-[13px] font-medium leading-4 tracking-[0.02em] text-white"
|
|
@@ -11600,7 +11600,7 @@ const eu = ({
|
|
|
11600
11600
|
] })
|
|
11601
11601
|
}
|
|
11602
11602
|
);
|
|
11603
|
-
return n || !r ? A : /* @__PURE__ */ a.jsx(
|
|
11603
|
+
return n || !r ? A : /* @__PURE__ */ a.jsx(pt, { content: "New chat", side: "right", className: "w-full", children: A });
|
|
11604
11604
|
}, UA = ({
|
|
11605
11605
|
label: e,
|
|
11606
11606
|
icon: r,
|
|
@@ -11628,12 +11628,12 @@ const eu = ({
|
|
|
11628
11628
|
"data-active": n,
|
|
11629
11629
|
"data-collapsed": c,
|
|
11630
11630
|
children: [
|
|
11631
|
-
r && /* @__PURE__ */ a.jsx("span", { className:
|
|
11631
|
+
r && /* @__PURE__ */ a.jsx("span", { className: Dr, children: r }),
|
|
11632
11632
|
!c && /* @__PURE__ */ a.jsx("span", { className: "min-w-0 flex-1 truncate", children: e })
|
|
11633
11633
|
]
|
|
11634
11634
|
}
|
|
11635
11635
|
);
|
|
11636
|
-
return !c || !o ? A : /* @__PURE__ */ a.jsx(
|
|
11636
|
+
return !c || !o ? A : /* @__PURE__ */ a.jsx(pt, { content: o ?? e, side: "right", className: "w-full", children: A });
|
|
11637
11637
|
}, hA = [
|
|
11638
11638
|
"search",
|
|
11639
11639
|
"workflows",
|
|
@@ -11760,25 +11760,25 @@ const eu = ({
|
|
|
11760
11760
|
children: /* @__PURE__ */ a.jsx(D2, { chief: e, className: "size-6 shrink-0" })
|
|
11761
11761
|
}
|
|
11762
11762
|
), Sr = (e) => `#${e.replace(/([A-Z])/g, "-$1").toLowerCase()}`, Y1 = {
|
|
11763
|
-
search: /* @__PURE__ */ a.jsx(
|
|
11763
|
+
search: /* @__PURE__ */ a.jsx(Yr, { size: "small", className: "text-display-on-light-primary" }),
|
|
11764
11764
|
workflows: /* @__PURE__ */ a.jsx(ur, { size: "small", className: "text-display-on-light-primary" }),
|
|
11765
11765
|
analytics: /* @__PURE__ */ a.jsx(A2, { size: "small", className: "text-display-on-light-primary" }),
|
|
11766
11766
|
forms: /* @__PURE__ */ a.jsx(dr, { size: "small", className: "text-display-on-light-primary" }),
|
|
11767
11767
|
ships: /* @__PURE__ */ a.jsx(Ke, { size: "small", className: "text-display-on-light-primary" }),
|
|
11768
11768
|
defectReports: /* @__PURE__ */ a.jsx(m2, { size: "small", className: "text-display-on-light-primary" }),
|
|
11769
11769
|
tasks: /* @__PURE__ */ a.jsx(g2, { size: "small", className: "text-display-on-light-primary" }),
|
|
11770
|
-
knowledge: /* @__PURE__ */ a.jsx(
|
|
11771
|
-
activity: /* @__PURE__ */ a.jsx(
|
|
11770
|
+
knowledge: /* @__PURE__ */ a.jsx($r, { size: "small", className: "text-display-on-light-primary" }),
|
|
11771
|
+
activity: /* @__PURE__ */ a.jsx(_r, { size: "small", className: "text-display-on-light-tertiary" })
|
|
11772
11772
|
}, FA = {
|
|
11773
|
-
search: /* @__PURE__ */ a.jsx(
|
|
11773
|
+
search: /* @__PURE__ */ a.jsx(Yr, { size: "small" }),
|
|
11774
11774
|
workflows: /* @__PURE__ */ a.jsx(ur, { size: "small" }),
|
|
11775
11775
|
analytics: /* @__PURE__ */ a.jsx(A2, { size: "small" }),
|
|
11776
11776
|
forms: /* @__PURE__ */ a.jsx(dr, { size: "small" }),
|
|
11777
11777
|
ships: /* @__PURE__ */ a.jsx(Ke, { size: "small" }),
|
|
11778
11778
|
defectReports: /* @__PURE__ */ a.jsx(m2, { size: "small" }),
|
|
11779
11779
|
tasks: /* @__PURE__ */ a.jsx(g2, { size: "small" }),
|
|
11780
|
-
knowledge: /* @__PURE__ */ a.jsx(
|
|
11781
|
-
activity: /* @__PURE__ */ a.jsx(
|
|
11780
|
+
knowledge: /* @__PURE__ */ a.jsx($r, { size: "small" }),
|
|
11781
|
+
activity: /* @__PURE__ */ a.jsx(_r, { size: "small" })
|
|
11782
11782
|
}, U0 = (e, r, t, { shipsExpanded: n, onShipsExpandedChange: c, presentation: o, entryMenuItems: i }, A) => /* @__PURE__ */ a.jsx(
|
|
11783
11783
|
c5,
|
|
11784
11784
|
{
|
|
@@ -12127,7 +12127,7 @@ const eu = ({
|
|
|
12127
12127
|
] }),
|
|
12128
12128
|
/* @__PURE__ */ a.jsx("p", { className: "mt-0.5 line-clamp-2 text-caption-2 text-display-on-light-secondary", children: t })
|
|
12129
12129
|
] }),
|
|
12130
|
-
/* @__PURE__ */ a.jsx(
|
|
12130
|
+
/* @__PURE__ */ a.jsx(Jr, { className: "size-4 shrink-0 text-display-on-light-quaternary" })
|
|
12131
12131
|
]
|
|
12132
12132
|
}
|
|
12133
12133
|
), LA = {
|
|
@@ -12245,7 +12245,7 @@ const eu = ({
|
|
|
12245
12245
|
t
|
|
12246
12246
|
),
|
|
12247
12247
|
children: [
|
|
12248
|
-
/* @__PURE__ */ a.jsx(
|
|
12248
|
+
/* @__PURE__ */ a.jsx($r, { className: "size-3.5 shrink-0" }),
|
|
12249
12249
|
/* @__PURE__ */ a.jsx("span", { className: "truncate", children: e }),
|
|
12250
12250
|
r && /* @__PURE__ */ a.jsx("span", { className: "text-display-on-light-quaternary", children: r })
|
|
12251
12251
|
]
|
|
@@ -12321,7 +12321,7 @@ const eu = ({
|
|
|
12321
12321
|
),
|
|
12322
12322
|
"data-variant": e,
|
|
12323
12323
|
children: [
|
|
12324
|
-
/* @__PURE__ */ a.jsx("span", { className: "shrink-0 text-display-on-light-tertiary", children: e === "issue" ? /* @__PURE__ */ a.jsx(
|
|
12324
|
+
/* @__PURE__ */ a.jsx("span", { className: "shrink-0 text-display-on-light-tertiary", children: e === "issue" ? /* @__PURE__ */ a.jsx(et, { className: "size-5 text-meta-red" }) : o.icon }),
|
|
12325
12325
|
t && /* @__PURE__ */ a.jsx(W1, { chief: t, size: 24 }),
|
|
12326
12326
|
/* @__PURE__ */ a.jsx("h2", { className: "min-w-0 flex-1 truncate text-subheader-em text-display-on-light-primary", children: i }),
|
|
12327
12327
|
n && /* @__PURE__ */ a.jsx(K1, { hierarchy: "quaternary", size: "small", "aria-label": "Close", onClick: n, children: /* @__PURE__ */ a.jsx("span", { className: "text-caption-1", children: "✕" }) })
|
|
@@ -12368,9 +12368,9 @@ const eu = ({
|
|
|
12368
12368
|
),
|
|
12369
12369
|
"data-type": e,
|
|
12370
12370
|
children: [
|
|
12371
|
-
e === "count" && /* @__PURE__ */ a.jsx(
|
|
12371
|
+
e === "count" && /* @__PURE__ */ a.jsx(Ct, { value: r }),
|
|
12372
12372
|
e === "completed" && /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
12373
|
-
/* @__PURE__ */ a.jsx(
|
|
12373
|
+
/* @__PURE__ */ a.jsx(Er, { className: "size-3.5 text-meta-green" }),
|
|
12374
12374
|
/* @__PURE__ */ a.jsx("span", { children: "Completed" })
|
|
12375
12375
|
] }),
|
|
12376
12376
|
e === "dropdown" && /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
@@ -12680,7 +12680,7 @@ const eu = ({
|
|
|
12680
12680
|
children: [
|
|
12681
12681
|
/* @__PURE__ */ a.jsxs("div", { className: "flex items-center justify-between gap-2", children: [
|
|
12682
12682
|
/* @__PURE__ */ a.jsx("p", { className: "min-w-0 flex-1 truncate text-body-em text-display-on-light-primary", children: e }),
|
|
12683
|
-
n > 0 && /* @__PURE__ */ a.jsx(
|
|
12683
|
+
n > 0 && /* @__PURE__ */ a.jsx(Ct, { value: n, className: "bg-red-600" })
|
|
12684
12684
|
] }),
|
|
12685
12685
|
/* @__PURE__ */ a.jsxs("div", { className: "mt-1 flex gap-4 text-caption-2 text-display-on-light-secondary", children: [
|
|
12686
12686
|
/* @__PURE__ */ a.jsxs("span", { children: [
|
|
@@ -13060,7 +13060,7 @@ const eu = ({
|
|
|
13060
13060
|
t
|
|
13061
13061
|
),
|
|
13062
13062
|
"aria-label": `${e} importance, ${r}`,
|
|
13063
|
-
children: n || c ? /* @__PURE__ */ a.jsx(er, { size: "small" }) : e === "critical" ? /* @__PURE__ */ a.jsx(
|
|
13063
|
+
children: n || c ? /* @__PURE__ */ a.jsx(er, { size: "small" }) : e === "critical" ? /* @__PURE__ */ a.jsx(et, { size: "small" }) : /* @__PURE__ */ a.jsx(rr, { size: "small" })
|
|
13064
13064
|
}
|
|
13065
13065
|
);
|
|
13066
13066
|
}, vs = {
|
|
@@ -13238,7 +13238,7 @@ const eu = ({
|
|
|
13238
13238
|
]
|
|
13239
13239
|
}
|
|
13240
13240
|
), Rs = {
|
|
13241
|
-
"validation-checks": { title: "Validation Checks", icon:
|
|
13241
|
+
"validation-checks": { title: "Validation Checks", icon: Er },
|
|
13242
13242
|
"quality-flags": { title: "Quality Flags", icon: Kn },
|
|
13243
13243
|
"ai-insights": { title: "AI Insights", icon: C2 }
|
|
13244
13244
|
}, Fs = ({
|
|
@@ -13282,19 +13282,19 @@ const eu = ({
|
|
|
13282
13282
|
),
|
|
13283
13283
|
children: [
|
|
13284
13284
|
/* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-2 border-b border-divider-primary px-3 py-2", children: [
|
|
13285
|
-
/* @__PURE__ */ a.jsx(
|
|
13285
|
+
/* @__PURE__ */ a.jsx(et, { size: "small", className: "text-red-500" }),
|
|
13286
13286
|
/* @__PURE__ */ a.jsx("span", { className: "text-caption-1-em text-display-on-light-primary", children: r })
|
|
13287
13287
|
] }),
|
|
13288
13288
|
/* @__PURE__ */ a.jsxs("div", { className: "p-1", children: [
|
|
13289
|
-
/* @__PURE__ */ a.jsxs(
|
|
13289
|
+
/* @__PURE__ */ a.jsxs(Tt, { children: [
|
|
13290
13290
|
/* @__PURE__ */ a.jsx(er, { size: "small", className: n ? "text-meta-green" : "text-display-on-light-quaternary" }),
|
|
13291
13291
|
"Fire pump inspection"
|
|
13292
13292
|
] }),
|
|
13293
|
-
/* @__PURE__ */ a.jsxs(
|
|
13293
|
+
/* @__PURE__ */ a.jsxs(Tt, { children: [
|
|
13294
13294
|
/* @__PURE__ */ a.jsx(er, { size: "small", className: n ? "text-meta-green" : "text-display-on-light-quaternary" }),
|
|
13295
13295
|
"Emergency generator test"
|
|
13296
13296
|
] }),
|
|
13297
|
-
/* @__PURE__ */ a.jsxs(
|
|
13297
|
+
/* @__PURE__ */ a.jsxs(Tt, { children: [
|
|
13298
13298
|
/* @__PURE__ */ a.jsx(er, { size: "small", className: "text-display-on-light-quaternary" }),
|
|
13299
13299
|
"Liferaft servicing"
|
|
13300
13300
|
] })
|
|
@@ -13308,7 +13308,7 @@ const eu = ({
|
|
|
13308
13308
|
activeFilter: r = "All",
|
|
13309
13309
|
className: t
|
|
13310
13310
|
}) => /* @__PURE__ */ a.jsxs("div", { className: V("flex flex-wrap items-center gap-2", t), children: [
|
|
13311
|
-
/* @__PURE__ */ a.jsx("span", { className: "mr-1 flex size-9 items-center justify-center rounded-full bg-background-secondary text-display-on-light-secondary", children: /* @__PURE__ */ a.jsx(
|
|
13311
|
+
/* @__PURE__ */ a.jsx("span", { className: "mr-1 flex size-9 items-center justify-center rounded-full bg-background-secondary text-display-on-light-secondary", children: /* @__PURE__ */ a.jsx(Qr, { size: "small" }) }),
|
|
13312
13312
|
e.map((n) => {
|
|
13313
13313
|
const c = n === r;
|
|
13314
13314
|
return /* @__PURE__ */ a.jsx(
|
|
@@ -13353,12 +13353,12 @@ const eu = ({
|
|
|
13353
13353
|
type: "button",
|
|
13354
13354
|
"aria-label": "Open filters",
|
|
13355
13355
|
className: "flex size-9 items-center justify-center rounded-full bg-background-secondary text-display-on-light-secondary hover:text-display-on-light-primary",
|
|
13356
|
-
children: /* @__PURE__ */ a.jsx(
|
|
13356
|
+
children: /* @__PURE__ */ a.jsx(Qr, { size: "small" })
|
|
13357
13357
|
}
|
|
13358
13358
|
),
|
|
13359
13359
|
/* @__PURE__ */ a.jsxs("div", { className: "flex w-[250px] items-center gap-2 rounded-md border border-divider-primary px-3 py-2", children: [
|
|
13360
13360
|
/* @__PURE__ */ a.jsx("span", { className: "flex-1 text-body text-display-on-light-secondary", children: c }),
|
|
13361
|
-
/* @__PURE__ */ a.jsx(
|
|
13361
|
+
/* @__PURE__ */ a.jsx(Yr, { size: "small", className: "text-display-on-light-tertiary" })
|
|
13362
13362
|
] })
|
|
13363
13363
|
] })
|
|
13364
13364
|
] }),
|
|
@@ -13391,7 +13391,7 @@ const eu = ({
|
|
|
13391
13391
|
children: [
|
|
13392
13392
|
/* @__PURE__ */ a.jsx("span", { className: "text-caption-2-em", children: e }),
|
|
13393
13393
|
/* @__PURE__ */ a.jsx("span", { className: "flex size-6 items-center justify-center rounded-full bg-background-primary text-footnote-em", children: r }),
|
|
13394
|
-
/* @__PURE__ */ a.jsx(
|
|
13394
|
+
/* @__PURE__ */ a.jsx(Lr, { size: "xs" })
|
|
13395
13395
|
]
|
|
13396
13396
|
}
|
|
13397
13397
|
), Js = ({ indicator: e = "off", className: r }) => /* @__PURE__ */ a.jsxs(
|
|
@@ -13404,7 +13404,7 @@ const eu = ({
|
|
|
13404
13404
|
r
|
|
13405
13405
|
),
|
|
13406
13406
|
children: [
|
|
13407
|
-
/* @__PURE__ */ a.jsx(
|
|
13407
|
+
/* @__PURE__ */ a.jsx(Qr, { size: "small" }),
|
|
13408
13408
|
e === "on" && /* @__PURE__ */ a.jsx("span", { className: "absolute right-1 top-1 size-2 rounded-full bg-blue-600", "aria-hidden": !0 })
|
|
13409
13409
|
]
|
|
13410
13410
|
}
|
|
@@ -13741,7 +13741,7 @@ const eu = ({
|
|
|
13741
13741
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
13742
13742
|
export {
|
|
13743
13743
|
I9 as ActionsIcon,
|
|
13744
|
-
|
|
13744
|
+
_r as ActivityIcon,
|
|
13745
13745
|
zn as AddIcon,
|
|
13746
13746
|
A2 as AnalyticsIcon,
|
|
13747
13747
|
k9 as ApprovalIcon,
|
|
@@ -13751,24 +13751,24 @@ export {
|
|
|
13751
13751
|
hl as AuditPreparationIllustration,
|
|
13752
13752
|
W1 as Avatar,
|
|
13753
13753
|
qe as Badge,
|
|
13754
|
-
|
|
13754
|
+
$r as BookIcon,
|
|
13755
13755
|
C2 as BulbIcon,
|
|
13756
13756
|
or as Button,
|
|
13757
13757
|
Pl as Callout,
|
|
13758
13758
|
P9 as CautionIcon,
|
|
13759
|
-
|
|
13759
|
+
Jr as ChatIcon,
|
|
13760
13760
|
kn as ChatProIcon,
|
|
13761
13761
|
Bl as Checkbox,
|
|
13762
13762
|
Sn as CheckboxIcon,
|
|
13763
13763
|
z1 as ChevronIcon,
|
|
13764
13764
|
Xl as Chip,
|
|
13765
|
-
|
|
13765
|
+
Lr as ClearIcon,
|
|
13766
13766
|
S9 as ClockIcon,
|
|
13767
13767
|
ql as CompletedTasksIllustration,
|
|
13768
13768
|
C9 as CopyIcon,
|
|
13769
|
-
|
|
13769
|
+
Ct as Count,
|
|
13770
13770
|
Sl as CreationIllustration,
|
|
13771
|
-
|
|
13771
|
+
et as CriticalIcon,
|
|
13772
13772
|
g9 as DateIcon,
|
|
13773
13773
|
m2 as DefectReportIcon,
|
|
13774
13774
|
eu as DocumentEditor,
|
|
@@ -13783,7 +13783,7 @@ export {
|
|
|
13783
13783
|
Bi as Entry,
|
|
13784
13784
|
l2 as ExpandIcon,
|
|
13785
13785
|
j2 as FileIcon,
|
|
13786
|
-
|
|
13786
|
+
Qr as FiltersIcon,
|
|
13787
13787
|
O9 as FixesIcon,
|
|
13788
13788
|
vn as FolderIcon,
|
|
13789
13789
|
M9 as FolderStarredIcon,
|
|
@@ -13810,9 +13810,9 @@ export {
|
|
|
13810
13810
|
D2 as Logo,
|
|
13811
13811
|
b9 as MentionIcon,
|
|
13812
13812
|
m9 as MenuIcon,
|
|
13813
|
-
|
|
13813
|
+
Tt as MenuItem,
|
|
13814
13814
|
A9 as MicrophoneIcon,
|
|
13815
|
-
|
|
13815
|
+
Zr as MinusIcon,
|
|
13816
13816
|
_i as Modal,
|
|
13817
13817
|
eA as ModalBody,
|
|
13818
13818
|
Ql as ModalClose,
|
|
@@ -13840,11 +13840,11 @@ export {
|
|
|
13840
13840
|
u2 as ReportIcon,
|
|
13841
13841
|
Gl as ReportInput,
|
|
13842
13842
|
Wl as RightShipInspectionIllustration,
|
|
13843
|
-
|
|
13843
|
+
Yr as SearchIcon,
|
|
13844
13844
|
Hn as SendIcon,
|
|
13845
13845
|
Pn as SettingsIcon,
|
|
13846
13846
|
Ke as ShipIcon,
|
|
13847
|
-
|
|
13847
|
+
Gt as SidebarIcon,
|
|
13848
13848
|
d9 as SparklesIcon,
|
|
13849
13849
|
p9 as SpeakerIcon,
|
|
13850
13850
|
Nn as SpinnerIcon,
|
|
@@ -13859,8 +13859,8 @@ export {
|
|
|
13859
13859
|
U9 as TaskIcon,
|
|
13860
13860
|
g2 as TasksIcon,
|
|
13861
13861
|
Ra as ThinkingDot,
|
|
13862
|
-
|
|
13863
|
-
|
|
13862
|
+
Er as TickIcon,
|
|
13863
|
+
pt as Tooltip,
|
|
13864
13864
|
bl as TooltipProvider,
|
|
13865
13865
|
u9 as TrashIcon,
|
|
13866
13866
|
N9 as UndoIcon,
|