@lateralus-ai/shipping-ui 2.0.0-dev.13 → 2.0.0-dev.14
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 +2 -2
- package/dist/index.esm.js +784 -770
- package/package.json +2 -2
- package/src/patterns/Sidebar/CollapsibleNavGroup.tsx +1 -0
- package/src/patterns/Sidebar/SidebarAction.tsx +15 -11
- package/src/patterns/Sidebar/SidebarEntry.tsx +56 -39
- package/src/patterns/Sidebar/SidebarLink.tsx +30 -20
package/dist/index.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var x8 = Object.defineProperty;
|
|
2
2
|
var m8 = (e, r, t) => r in e ? x8(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
|
|
3
3
|
var De = (e, r, t) => m8(e, typeof r != "symbol" ? r + "" : r, t);
|
|
4
|
-
import { b as
|
|
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
7
|
import * as Xr from "react-dom";
|
|
@@ -9,8 +9,8 @@ import O8 from "react-dom";
|
|
|
9
9
|
import g5 from "docxtemplater";
|
|
10
10
|
import x5 from "pizzip";
|
|
11
11
|
import * as y8 from "docx-preview";
|
|
12
|
-
import { Document as
|
|
13
|
-
const
|
|
12
|
+
import { Document as z8, Page as H8, pdfjs as m5 } from "react-pdf";
|
|
13
|
+
const ml = {
|
|
14
14
|
action: {
|
|
15
15
|
primary: {
|
|
16
16
|
idle: "var(--action-primary-idle)",
|
|
@@ -97,11 +97,11 @@ const fl = {
|
|
|
97
97
|
purple: "var(--meta-purple)",
|
|
98
98
|
onPurple: "var(--meta-on-purple)"
|
|
99
99
|
}
|
|
100
|
-
},
|
|
100
|
+
}, jl = {
|
|
101
101
|
heading: ['"TRY Vesterbro"', "Georgia", "serif"],
|
|
102
102
|
body: ['"Matter-TRIAL"', "system-ui", "sans-serif"],
|
|
103
103
|
mono: ['"Roboto Mono"', "monospace"]
|
|
104
|
-
},
|
|
104
|
+
}, fl = {
|
|
105
105
|
title: { size: "28px", lineHeight: "34px", letterSpacing: "-0.02em", weight: 400 },
|
|
106
106
|
"title-em": { size: "28px", lineHeight: "34px", letterSpacing: "-0.02em", weight: 500 },
|
|
107
107
|
heading: { size: "22px", lineHeight: "28px", letterSpacing: "0", weight: 500 },
|
|
@@ -165,10 +165,10 @@ function b8() {
|
|
|
165
165
|
{
|
|
166
166
|
for (var M = arguments.length, S = new Array(M > 1 ? M - 1 : 0), D = 1; D < M; D++)
|
|
167
167
|
S[D - 1] = arguments[D];
|
|
168
|
-
|
|
168
|
+
H("error", j, S);
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function H(j, M, S) {
|
|
172
172
|
{
|
|
173
173
|
var D = O.ReactDebugCurrentFrame, a1 = D.getStackAddendum();
|
|
174
174
|
a1 !== "" && (M += "%s", S = S.concat([a1]));
|
|
@@ -178,10 +178,10 @@ function b8() {
|
|
|
178
178
|
o1.unshift("Warning: " + M), Function.prototype.apply.call(console[j], console, o1);
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
|
-
var
|
|
181
|
+
var z = !1, k = !1, P = !1, v = !1, h = !1, U;
|
|
182
182
|
U = Symbol.for("react.module.reference");
|
|
183
183
|
function W(j) {
|
|
184
|
-
return !!(typeof j == "string" || typeof j == "function" || j === n || j === o || h || j === c || j === d || j === u || v || j === g ||
|
|
184
|
+
return !!(typeof j == "string" || typeof j == "function" || j === n || j === o || h || j === c || j === d || j === u || v || j === g || z || k || P || typeof j == "object" && j !== null && (j.$$typeof === C || j.$$typeof === p || j.$$typeof === i || j.$$typeof === A || j.$$typeof === s || // This needs to include all possible module reference object
|
|
185
185
|
// types supported by any Flight configuration anywhere since
|
|
186
186
|
// we don't know which Flight build this will end up being used
|
|
187
187
|
// with.
|
|
@@ -323,7 +323,7 @@ function b8() {
|
|
|
323
323
|
var P1 = typeof WeakMap == "function" ? WeakMap : Map;
|
|
324
324
|
i1 = new P1();
|
|
325
325
|
}
|
|
326
|
-
function
|
|
326
|
+
function H1(j, M) {
|
|
327
327
|
if (!j || e1)
|
|
328
328
|
return "";
|
|
329
329
|
{
|
|
@@ -395,7 +395,7 @@ function b8() {
|
|
|
395
395
|
return typeof j == "function" && i1.set(j, ue), ue;
|
|
396
396
|
}
|
|
397
397
|
function C1(j, M, S) {
|
|
398
|
-
return
|
|
398
|
+
return H1(j, !1);
|
|
399
399
|
}
|
|
400
400
|
function J(j) {
|
|
401
401
|
var M = j.prototype;
|
|
@@ -405,7 +405,7 @@ function b8() {
|
|
|
405
405
|
if (j == null)
|
|
406
406
|
return "";
|
|
407
407
|
if (typeof j == "function")
|
|
408
|
-
return
|
|
408
|
+
return H1(j, J(j));
|
|
409
409
|
if (typeof j == "string")
|
|
410
410
|
return Y(j);
|
|
411
411
|
switch (j) {
|
|
@@ -576,7 +576,7 @@ function b8() {
|
|
|
576
576
|
}
|
|
577
577
|
}
|
|
578
578
|
var Vt = O.ReactCurrentOwner, A5 = O.ReactDebugCurrentFrame;
|
|
579
|
-
function
|
|
579
|
+
function He(j) {
|
|
580
580
|
if (j) {
|
|
581
581
|
var M = j._owner, S = u1(j.type, j._source, M ? M.type : null);
|
|
582
582
|
A5.setExtraStackFrame(S);
|
|
@@ -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 !== Vt.current && (D = " It was passed a child from " + R(j._owner.type) + "."),
|
|
629
|
+
j && j._owner && j._owner !== Vt.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) {
|
|
@@ -678,11 +678,11 @@ Check the top-level render call using <` + S + ">.");
|
|
|
678
678
|
for (var M = Object.keys(j.props), S = 0; S < M.length; S++) {
|
|
679
679
|
var D = M[S];
|
|
680
680
|
if (D !== "children" && D !== "key") {
|
|
681
|
-
|
|
681
|
+
He(j), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", D), He(null);
|
|
682
682
|
break;
|
|
683
683
|
}
|
|
684
684
|
}
|
|
685
|
-
j.ref !== null && (
|
|
685
|
+
j.ref !== null && (He(j), y("Invalid attribute `ref` supplied to `React.Fragment`."), He(null));
|
|
686
686
|
}
|
|
687
687
|
}
|
|
688
688
|
var p5 = {};
|
|
@@ -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
|
+
}), zt = v1.length > 0 ? "{key: someKey, " + v1.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
720
|
+
if (!p5[ue + zt]) {
|
|
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} />`, zt, ue, C8, ue), p5[ue + zt] = !0;
|
|
728
728
|
}
|
|
729
729
|
}
|
|
730
730
|
return j === n ? s8(g1) : A8(g1), g1;
|
|
@@ -977,14 +977,14 @@ function B8(e) {
|
|
|
977
977
|
function Z8(e) {
|
|
978
978
|
return je(e, "url", J8);
|
|
979
979
|
}
|
|
980
|
-
function
|
|
980
|
+
function Ht(e) {
|
|
981
981
|
return je(e, "number", $e);
|
|
982
982
|
}
|
|
983
983
|
function $e(e) {
|
|
984
984
|
return !Number.isNaN(Number(e));
|
|
985
985
|
}
|
|
986
986
|
function Ze(e) {
|
|
987
|
-
return
|
|
987
|
+
return z5(e) || je(e, "number", z5);
|
|
988
988
|
}
|
|
989
989
|
function x1(e) {
|
|
990
990
|
return mn.test(e);
|
|
@@ -1011,14 +1011,14 @@ function jn() {
|
|
|
1011
1011
|
function J8(e) {
|
|
1012
1012
|
return e.startsWith("url(");
|
|
1013
1013
|
}
|
|
1014
|
-
function
|
|
1014
|
+
function z5(e) {
|
|
1015
1015
|
return Number.isInteger(Number(e));
|
|
1016
1016
|
}
|
|
1017
1017
|
function Q8(e) {
|
|
1018
1018
|
return D8.test(e);
|
|
1019
1019
|
}
|
|
1020
|
-
function
|
|
1021
|
-
var e = A1("colors"), r = A1("spacing"), t = A1("blur"), n = A1("brightness"), c = A1("borderColor"), o = A1("borderRadius"), i = A1("borderSpacing"), A = A1("borderWidth"), s = A1("contrast"), d = A1("grayscale"), u = A1("hueRotate"), p = A1("invert"), C = A1("gap"), g = A1("gradientColorStops"), x = A1("inset"), m = A1("margin"), f = A1("opacity"), O = A1("padding"), y = A1("saturate"),
|
|
1020
|
+
function H5() {
|
|
1021
|
+
var e = A1("colors"), r = A1("spacing"), t = A1("blur"), n = A1("brightness"), c = A1("borderColor"), o = A1("borderRadius"), i = A1("borderSpacing"), A = A1("borderWidth"), s = A1("contrast"), d = A1("grayscale"), u = A1("hueRotate"), p = A1("invert"), C = A1("gap"), g = A1("gradientColorStops"), x = A1("inset"), m = A1("margin"), f = A1("opacity"), O = A1("padding"), y = A1("saturate"), H = A1("scale"), z = A1("sepia"), k = A1("skew"), P = A1("space"), v = A1("translate"), h = function() {
|
|
1022
1022
|
return ["auto", "contain", "none"];
|
|
1023
1023
|
}, U = function() {
|
|
1024
1024
|
return ["auto", "hidden", "clip", "visible", "scroll"];
|
|
@@ -1041,7 +1041,7 @@ function z5() {
|
|
|
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, Ht];
|
|
1045
1045
|
}, N = function() {
|
|
1046
1046
|
return [$e, x1];
|
|
1047
1047
|
};
|
|
@@ -1681,7 +1681,7 @@ function z5() {
|
|
|
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", Ht]
|
|
1685
1685
|
}],
|
|
1686
1686
|
/**
|
|
1687
1687
|
* Font Family
|
|
@@ -2347,7 +2347,7 @@ function z5() {
|
|
|
2347
2347
|
* @see https://tailwindcss.com/docs/sepia
|
|
2348
2348
|
*/
|
|
2349
2349
|
sepia: [{
|
|
2350
|
-
sepia: [
|
|
2350
|
+
sepia: [z]
|
|
2351
2351
|
}],
|
|
2352
2352
|
/**
|
|
2353
2353
|
* Backdrop Filter
|
|
@@ -2418,7 +2418,7 @@ function z5() {
|
|
|
2418
2418
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2419
2419
|
*/
|
|
2420
2420
|
"backdrop-sepia": [{
|
|
2421
|
-
"backdrop-sepia": [
|
|
2421
|
+
"backdrop-sepia": [z]
|
|
2422
2422
|
}],
|
|
2423
2423
|
// Tables
|
|
2424
2424
|
/**
|
|
@@ -2505,21 +2505,21 @@ function z5() {
|
|
|
2505
2505
|
* @see https://tailwindcss.com/docs/scale
|
|
2506
2506
|
*/
|
|
2507
2507
|
scale: [{
|
|
2508
|
-
scale: [
|
|
2508
|
+
scale: [H]
|
|
2509
2509
|
}],
|
|
2510
2510
|
/**
|
|
2511
2511
|
* Scale X
|
|
2512
2512
|
* @see https://tailwindcss.com/docs/scale
|
|
2513
2513
|
*/
|
|
2514
2514
|
"scale-x": [{
|
|
2515
|
-
"scale-x": [
|
|
2515
|
+
"scale-x": [H]
|
|
2516
2516
|
}],
|
|
2517
2517
|
/**
|
|
2518
2518
|
* Scale Y
|
|
2519
2519
|
* @see https://tailwindcss.com/docs/scale
|
|
2520
2520
|
*/
|
|
2521
2521
|
"scale-y": [{
|
|
2522
|
-
"scale-y": [
|
|
2522
|
+
"scale-y": [H]
|
|
2523
2523
|
}],
|
|
2524
2524
|
/**
|
|
2525
2525
|
* Rotate
|
|
@@ -2773,7 +2773,7 @@ function z5() {
|
|
|
2773
2773
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2774
2774
|
*/
|
|
2775
2775
|
"stroke-w": [{
|
|
2776
|
-
stroke: [F1,
|
|
2776
|
+
stroke: [F1, Ht]
|
|
2777
2777
|
}],
|
|
2778
2778
|
/**
|
|
2779
2779
|
* Stroke
|
|
@@ -2858,8 +2858,8 @@ function fn(e, r, t) {
|
|
|
2858
2858
|
function e9(e) {
|
|
2859
2859
|
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
|
|
2860
2860
|
t[n - 1] = arguments[n];
|
|
2861
|
-
return typeof e == "function" ? y5.apply(void 0, [
|
|
2862
|
-
return E8(
|
|
2861
|
+
return typeof e == "function" ? y5.apply(void 0, [H5, e].concat(t)) : y5.apply(void 0, [function() {
|
|
2862
|
+
return E8(H5(), e);
|
|
2863
2863
|
}].concat(t));
|
|
2864
2864
|
}
|
|
2865
2865
|
function Vn(e) {
|
|
@@ -2955,7 +2955,7 @@ const i2 = {
|
|
|
2955
2955
|
}
|
|
2956
2956
|
);
|
|
2957
2957
|
return c.displayName = e, c;
|
|
2958
|
-
},
|
|
2958
|
+
}, Vl = ({
|
|
2959
2959
|
Icon: e,
|
|
2960
2960
|
filled: r
|
|
2961
2961
|
}) => /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
@@ -2977,7 +2977,7 @@ const i2 = {
|
|
|
2977
2977
|
upDown: {
|
|
2978
2978
|
small: { d: "M12.1679 11.1259C12.3743 10.9426 12.6906 10.9615 12.874 11.1679C13.0572 11.3742 13.0383 11.6905 12.832 11.8739L8.332 15.8739C8.14266 16.0419 7.85728 16.0419 7.66794 15.8739L3.16794 11.8739C2.96165 11.6905 2.94278 11.3742 3.12595 11.1679C3.30933 10.9615 3.6256 10.9426 3.832 11.1259L7.99997 14.83L12.1679 11.1259ZM7.74313 0.0711718C7.92719 -0.0392683 8.16625 -0.021282 8.332 0.125859L12.832 4.12586C13.0383 4.30925 13.0572 4.62554 12.874 4.83191C12.6906 5.03814 12.3743 5.05706 12.1679 4.87391L7.99997 1.16883L3.832 4.87391C3.62563 5.05706 3.30932 5.03814 3.12595 4.83191C2.94274 4.62554 2.96168 4.30925 3.16794 4.12586L7.66794 0.125859L7.74313 0.0711718Z" }
|
|
2979
2979
|
}
|
|
2980
|
-
},
|
|
2980
|
+
}, z1 = X1(({ size: e = "small", direction: r = "right", className: t, ...n }, c) => {
|
|
2981
2981
|
const o = i2[e], A = o9[r][e];
|
|
2982
2982
|
if (!A) return null;
|
|
2983
2983
|
const s = A.strokeWidth !== void 0;
|
|
@@ -3000,7 +3000,7 @@ const i2 = {
|
|
|
3000
3000
|
}
|
|
3001
3001
|
);
|
|
3002
3002
|
});
|
|
3003
|
-
|
|
3003
|
+
z1.displayName = "ChevronIcon";
|
|
3004
3004
|
const i9 = {
|
|
3005
3005
|
left: {
|
|
3006
3006
|
large: { d: "M10.2217 6.21973C10.5146 5.9271 10.9894 5.92692 11.2822 6.21973C11.5749 6.51254 11.5748 6.98742 11.2822 7.28027L7.56055 11.002H18.2549C18.6688 11.0023 19.0049 11.3379 19.0049 11.752C19.0049 12.166 18.6688 12.5016 18.2549 12.502H7.56055L11.2822 16.2236C11.5748 16.5165 11.5748 16.9914 11.2822 17.2842C10.9894 17.5769 10.5146 17.5768 10.2217 17.2842L5.21973 12.2822C5.16331 12.2258 5.12062 12.1611 5.08594 12.0938C5.07633 12.0751 5.06469 12.0576 5.05664 12.0381C5.04919 12.02 5.04504 12.0009 5.03906 11.9824C5.01544 11.9095 5 11.8327 5 11.752C5 11.6709 5.01525 11.5937 5.03906 11.5205C5.04453 11.5037 5.04801 11.4862 5.05469 11.4697L5.05859 11.46C5.06783 11.4381 5.08061 11.4182 5.0918 11.3975C5.12559 11.3348 5.16683 11.2746 5.21973 11.2217L10.2217 6.21973Z" }
|
|
@@ -3681,18 +3681,18 @@ 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),
|
|
3684
|
+
}, yn = q(K.attachment), A9 = q(K.microphone), zn = q(K.add), lr = q(K.plus), er = q(K.done), Br = q(K.minus), Hn = q(K.send), Zr = q(K.search), s9 = q(K.star), l9 = q(K.heart), Yr = q(K.clear), A2 = q(K.analytics), u9 = q(K.trash), Lr = q(K.chat), kn = q(K.chatPro), Jr = q(K.filters), bn = q(K.pen), Qr = 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), Er = q(K.activity), m9 = q(K.menu), In = q(K.invite), u2 = q(K.report), Ft = 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), $r = 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
3686
|
clear: Yr,
|
|
3687
|
-
chevron:
|
|
3687
|
+
chevron: z1,
|
|
3688
3688
|
arrow: On,
|
|
3689
3689
|
attachment: yn,
|
|
3690
3690
|
microphone: A9,
|
|
3691
|
-
add:
|
|
3691
|
+
add: zn,
|
|
3692
3692
|
plus: lr,
|
|
3693
3693
|
done: er,
|
|
3694
3694
|
minus: Br,
|
|
3695
|
-
send:
|
|
3695
|
+
send: Hn,
|
|
3696
3696
|
search: Zr,
|
|
3697
3697
|
star: s9,
|
|
3698
3698
|
analytics: A2,
|
|
@@ -3723,8 +3723,8 @@ const K = {
|
|
|
3723
3723
|
bulb: C2,
|
|
3724
3724
|
ship: Ke,
|
|
3725
3725
|
person: y9,
|
|
3726
|
-
archive:
|
|
3727
|
-
logOut:
|
|
3726
|
+
archive: z9,
|
|
3727
|
+
logOut: H9,
|
|
3728
3728
|
settings: Pn,
|
|
3729
3729
|
tasks: g2,
|
|
3730
3730
|
workflow: ur,
|
|
@@ -3771,7 +3771,7 @@ const K = {
|
|
|
3771
3771
|
);
|
|
3772
3772
|
};
|
|
3773
3773
|
W9.displayName = "Icon";
|
|
3774
|
-
const qn = (e) => e ? Object.keys(e) : [],
|
|
3774
|
+
const qn = (e) => e ? Object.keys(e) : [], Ol = (e) => qn(K[e].outline), yl = (e) => qn(K[e].filled), zl = (e, r, t = !1) => {
|
|
3775
3775
|
const n = t ? K[e].filled : K[e].outline;
|
|
3776
3776
|
return !!(n != null && n[r]);
|
|
3777
3777
|
};
|
|
@@ -4008,21 +4008,21 @@ function hn(e) {
|
|
|
4008
4008
|
r,
|
|
4009
4009
|
{ collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
|
|
4010
4010
|
), i = (m) => {
|
|
4011
|
-
const { scope: f, children: O } = m, y = l.useRef(null),
|
|
4012
|
-
return /* @__PURE__ */ a.jsx(c, { scope: f, itemMap:
|
|
4011
|
+
const { scope: f, children: O } = m, y = l.useRef(null), H = l.useRef(/* @__PURE__ */ new Map()).current;
|
|
4012
|
+
return /* @__PURE__ */ a.jsx(c, { scope: f, itemMap: H, collectionRef: y, children: O });
|
|
4013
4013
|
};
|
|
4014
4014
|
i.displayName = r;
|
|
4015
4015
|
const A = e + "CollectionSlot", s = /* @__PURE__ */ tr(A), d = l.forwardRef(
|
|
4016
4016
|
(m, f) => {
|
|
4017
|
-
const { scope: O, children: y } = m,
|
|
4018
|
-
return /* @__PURE__ */ a.jsx(s, { ref:
|
|
4017
|
+
const { scope: O, children: y } = m, H = o(A, O), z = j1(f, H.collectionRef);
|
|
4018
|
+
return /* @__PURE__ */ a.jsx(s, { ref: z, children: y });
|
|
4019
4019
|
}
|
|
4020
4020
|
);
|
|
4021
4021
|
d.displayName = A;
|
|
4022
4022
|
const u = e + "CollectionItemSlot", p = "data-radix-collection-item", C = /* @__PURE__ */ tr(u), g = l.forwardRef(
|
|
4023
4023
|
(m, f) => {
|
|
4024
|
-
const { scope: O, children: y, ...
|
|
4025
|
-
return l.useEffect(() => (P.itemMap.set(
|
|
4024
|
+
const { scope: O, children: y, ...H } = m, z = l.useRef(null), k = j1(f, z), P = o(u, O);
|
|
4025
|
+
return l.useEffect(() => (P.itemMap.set(z, { ref: z, ...H }), () => void P.itemMap.delete(z))), /* @__PURE__ */ a.jsx(C, { [p]: "", ref: k, children: y });
|
|
4026
4026
|
}
|
|
4027
4027
|
);
|
|
4028
4028
|
g.displayName = u;
|
|
@@ -4031,9 +4031,9 @@ function hn(e) {
|
|
|
4031
4031
|
return l.useCallback(() => {
|
|
4032
4032
|
const y = f.collectionRef.current;
|
|
4033
4033
|
if (!y) return [];
|
|
4034
|
-
const
|
|
4034
|
+
const H = Array.from(y.querySelectorAll(`[${p}]`));
|
|
4035
4035
|
return Array.from(f.itemMap.values()).sort(
|
|
4036
|
-
(P, v) =>
|
|
4036
|
+
(P, v) => H.indexOf(P.ref.current) - H.indexOf(v.ref.current)
|
|
4037
4037
|
);
|
|
4038
4038
|
}, [f.collectionRef, f.itemMap]);
|
|
4039
4039
|
}
|
|
@@ -4080,7 +4080,7 @@ var rc = "DismissableLayer", Gt = "dismissableLayer.update", tc = "dismissableLa
|
|
|
4080
4080
|
...d
|
|
4081
4081
|
} = e, u = l.useContext(V2), [p, C] = l.useState(null), g = (p == null ? void 0 : p.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, x] = l.useState({}), m = j1(r, C), f = Array.from(u.layers), [O] = [
|
|
4082
4082
|
...u.layersWithOutsidePointerEventsDisabled
|
|
4083
|
-
].slice(-1), y = O ? f.indexOf(O) : -1,
|
|
4083
|
+
].slice(-1), y = O ? f.indexOf(O) : -1, H = p ? f.indexOf(p) : -1, z = u.layersWithOutsidePointerEventsDisabled.size > 0, k = H >= y, P = l.useRef(!1), v = Ac(
|
|
4084
4084
|
(w) => {
|
|
4085
4085
|
o == null || o(w), A == null || A(w), w.defaultPrevented || s == null || s();
|
|
4086
4086
|
},
|
|
@@ -4106,7 +4106,7 @@ var rc = "DismissableLayer", Gt = "dismissableLayer.update", tc = "dismissableLa
|
|
|
4106
4106
|
return;
|
|
4107
4107
|
const Z = w.target;
|
|
4108
4108
|
[...u.branches].some((F) => F.contains(Z)) || (i == null || i(w), A == null || A(w), w.defaultPrevented || s == null || s());
|
|
4109
|
-
}, g), U = p ?
|
|
4109
|
+
}, g), U = p ? H === f.length - 1 : !1, W = ee((w) => {
|
|
4110
4110
|
w.key === "Escape" && (c == null || c(w), !w.defaultPrevented && s && (w.preventDefault(), s()));
|
|
4111
4111
|
});
|
|
4112
4112
|
return l.useEffect(() => {
|
|
@@ -4128,7 +4128,7 @@ var rc = "DismissableLayer", Gt = "dismissableLayer.update", tc = "dismissableLa
|
|
|
4128
4128
|
...d,
|
|
4129
4129
|
ref: m,
|
|
4130
4130
|
style: {
|
|
4131
|
-
pointerEvents:
|
|
4131
|
+
pointerEvents: z ? k ? "auto" : "none" : void 0,
|
|
4132
4132
|
...e.style
|
|
4133
4133
|
},
|
|
4134
4134
|
onFocusCapture: B(e.onFocusCapture, h.onFocusCapture),
|
|
@@ -4179,20 +4179,20 @@ function Ac(e, r) {
|
|
|
4179
4179
|
function g() {
|
|
4180
4180
|
return Array.from(u.current.values()).some(Boolean);
|
|
4181
4181
|
}
|
|
4182
|
-
function x(
|
|
4182
|
+
function x(H) {
|
|
4183
4183
|
if (!d.current)
|
|
4184
4184
|
return;
|
|
4185
|
-
const
|
|
4186
|
-
|
|
4185
|
+
const z = H.target;
|
|
4186
|
+
z instanceof Node && [...o].some((P) => P.contains(z)) || u.current.set(H.type, !0), H.type === "click" && window.setTimeout(() => {
|
|
4187
4187
|
d.current && p.current();
|
|
4188
4188
|
}, 0);
|
|
4189
4189
|
}
|
|
4190
|
-
function m(
|
|
4191
|
-
d.current && u.current.set(
|
|
4190
|
+
function m(H) {
|
|
4191
|
+
d.current && u.current.set(H.type, !1);
|
|
4192
4192
|
}
|
|
4193
|
-
const f = (
|
|
4194
|
-
if (
|
|
4195
|
-
let
|
|
4193
|
+
const f = (H) => {
|
|
4194
|
+
if (H.target && !s.current) {
|
|
4195
|
+
let z = function() {
|
|
4196
4196
|
t.removeEventListener("click", p.current);
|
|
4197
4197
|
const P = g();
|
|
4198
4198
|
C(), P || wn(
|
|
@@ -4202,12 +4202,12 @@ function Ac(e, r) {
|
|
|
4202
4202
|
{ discrete: !0 }
|
|
4203
4203
|
);
|
|
4204
4204
|
};
|
|
4205
|
-
if (!i(
|
|
4205
|
+
if (!i(H.target)) {
|
|
4206
4206
|
t.removeEventListener("click", p.current), C(), s.current = !1;
|
|
4207
4207
|
return;
|
|
4208
4208
|
}
|
|
4209
|
-
const k = { originalEvent:
|
|
4210
|
-
d.current = !0, c.current = n &&
|
|
4209
|
+
const k = { originalEvent: H };
|
|
4210
|
+
d.current = !0, c.current = n && H.button === 0, u.current.clear(), !n || H.button !== 0 ? z() : (t.removeEventListener("click", p.current), p.current = z, t.addEventListener("click", p.current, { once: !0 }));
|
|
4211
4211
|
} else
|
|
4212
4212
|
t.removeEventListener("click", p.current), C();
|
|
4213
4213
|
s.current = !1;
|
|
@@ -4219,15 +4219,15 @@ function Ac(e, r) {
|
|
|
4219
4219
|
"touchend",
|
|
4220
4220
|
"click"
|
|
4221
4221
|
];
|
|
4222
|
-
for (const
|
|
4223
|
-
t.addEventListener(
|
|
4222
|
+
for (const H of O)
|
|
4223
|
+
t.addEventListener(H, x, !0), t.addEventListener(H, m);
|
|
4224
4224
|
const y = window.setTimeout(() => {
|
|
4225
4225
|
t.addEventListener("pointerdown", f);
|
|
4226
4226
|
}, 0);
|
|
4227
4227
|
return () => {
|
|
4228
4228
|
window.clearTimeout(y), t.removeEventListener("pointerdown", f), t.removeEventListener("click", p.current);
|
|
4229
|
-
for (const
|
|
4230
|
-
t.removeEventListener(
|
|
4229
|
+
for (const H of O)
|
|
4230
|
+
t.removeEventListener(H, x, !0), t.removeEventListener(H, m);
|
|
4231
4231
|
};
|
|
4232
4232
|
}, [
|
|
4233
4233
|
t,
|
|
@@ -4263,13 +4263,13 @@ function wn(e, r, t, { discrete: n }) {
|
|
|
4263
4263
|
const c = t.originalEvent.target, o = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: t });
|
|
4264
4264
|
r && c.addEventListener(e, r, { once: !0 }), n ? Un(c, o) : c.dispatchEvent(o);
|
|
4265
4265
|
}
|
|
4266
|
-
var
|
|
4266
|
+
var zr = 0, Z1 = null;
|
|
4267
4267
|
function Wn() {
|
|
4268
4268
|
l.useEffect(() => {
|
|
4269
4269
|
Z1 || (Z1 = { start: M5(), end: M5() });
|
|
4270
4270
|
const { start: e, end: r } = Z1;
|
|
4271
|
-
return document.body.firstElementChild !== e && document.body.insertAdjacentElement("afterbegin", e), document.body.lastElementChild !== r && document.body.insertAdjacentElement("beforeend", r),
|
|
4272
|
-
|
|
4271
|
+
return document.body.firstElementChild !== e && document.body.insertAdjacentElement("afterbegin", e), document.body.lastElementChild !== r && document.body.insertAdjacentElement("beforeend", r), zr++, () => {
|
|
4272
|
+
zr === 1 && (Z1 == null || Z1.start.remove(), Z1 == null || Z1.end.remove(), Z1 = null), zr = Math.max(0, zr - 1);
|
|
4273
4273
|
};
|
|
4274
4274
|
}, []);
|
|
4275
4275
|
}
|
|
@@ -4295,17 +4295,17 @@ var kt = "focusScope.autoFocusOnMount", bt = "focusScope.autoFocusOnUnmount", v5
|
|
|
4295
4295
|
}).current;
|
|
4296
4296
|
l.useEffect(() => {
|
|
4297
4297
|
if (n) {
|
|
4298
|
-
let m = function(
|
|
4298
|
+
let m = function(H) {
|
|
4299
4299
|
if (g.paused || !A) return;
|
|
4300
|
-
const
|
|
4301
|
-
A.contains(
|
|
4302
|
-
}, f = function(
|
|
4300
|
+
const z = H.target;
|
|
4301
|
+
A.contains(z) ? p.current = z : oe(p.current, { select: !0 });
|
|
4302
|
+
}, f = function(H) {
|
|
4303
4303
|
if (g.paused || !A) return;
|
|
4304
|
-
const
|
|
4305
|
-
|
|
4306
|
-
}, O = function(
|
|
4304
|
+
const z = H.relatedTarget;
|
|
4305
|
+
z !== null && (A.contains(z) || oe(p.current, { select: !0 }));
|
|
4306
|
+
}, O = function(H) {
|
|
4307
4307
|
if (document.activeElement === document.body)
|
|
4308
|
-
for (const k of
|
|
4308
|
+
for (const k of H)
|
|
4309
4309
|
k.removedNodes.length > 0 && oe(A);
|
|
4310
4310
|
};
|
|
4311
4311
|
document.addEventListener("focusin", m), document.addEventListener("focusout", f);
|
|
@@ -4335,8 +4335,8 @@ var kt = "focusScope.autoFocusOnMount", bt = "focusScope.autoFocusOnUnmount", v5
|
|
|
4335
4335
|
if (!t && !n || g.paused) return;
|
|
4336
4336
|
const f = m.key === "Tab" && !m.altKey && !m.ctrlKey && !m.metaKey, O = document.activeElement;
|
|
4337
4337
|
if (f && O) {
|
|
4338
|
-
const y = m.currentTarget, [
|
|
4339
|
-
|
|
4338
|
+
const y = m.currentTarget, [H, z] = dc(y);
|
|
4339
|
+
H && z ? !m.shiftKey && O === z ? (m.preventDefault(), t && oe(H, { select: !0 })) : m.shiftKey && O === H && (m.preventDefault(), t && oe(z, { select: !0 })) : O === y && m.preventDefault();
|
|
4340
4340
|
}
|
|
4341
4341
|
},
|
|
4342
4342
|
[t, n, g.paused]
|
|
@@ -4416,7 +4416,7 @@ function ge(e) {
|
|
|
4416
4416
|
t((n) => n ?? String(jc++));
|
|
4417
4417
|
}, [e]), e || (r ? `radix-${r}` : "");
|
|
4418
4418
|
}
|
|
4419
|
-
const fc = ["top", "right", "bottom", "left"], ie = Math.min, N1 = Math.max, hr = Math.round,
|
|
4419
|
+
const fc = ["top", "right", "bottom", "left"], ie = Math.min, N1 = Math.max, hr = Math.round, Hr = Math.floor, E1 = (e) => ({
|
|
4420
4420
|
x: e,
|
|
4421
4421
|
y: e
|
|
4422
4422
|
}), Vc = {
|
|
@@ -4437,10 +4437,10 @@ function te(e) {
|
|
|
4437
4437
|
function he(e) {
|
|
4438
4438
|
return e.split("-")[1];
|
|
4439
4439
|
}
|
|
4440
|
-
function
|
|
4440
|
+
function z2(e) {
|
|
4441
4441
|
return e === "x" ? "y" : "x";
|
|
4442
4442
|
}
|
|
4443
|
-
function
|
|
4443
|
+
function H2(e) {
|
|
4444
4444
|
return e === "y" ? "height" : "width";
|
|
4445
4445
|
}
|
|
4446
4446
|
function J1(e) {
|
|
@@ -4448,11 +4448,11 @@ function J1(e) {
|
|
|
4448
4448
|
return r === "t" || r === "b" ? "y" : "x";
|
|
4449
4449
|
}
|
|
4450
4450
|
function k2(e) {
|
|
4451
|
-
return
|
|
4451
|
+
return z2(J1(e));
|
|
4452
4452
|
}
|
|
4453
4453
|
function Oc(e, r, t) {
|
|
4454
4454
|
t === void 0 && (t = !1);
|
|
4455
|
-
const n = he(e), c = k2(e), o =
|
|
4455
|
+
const n = he(e), c = k2(e), o = H2(c);
|
|
4456
4456
|
let i = c === "x" ? n === (t ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
|
|
4457
4457
|
return r.reference[o] > r.floating[o] && (i = wr(i)), [i, wr(i)];
|
|
4458
4458
|
}
|
|
@@ -4463,7 +4463,7 @@ function yc(e) {
|
|
|
4463
4463
|
function Xt(e) {
|
|
4464
4464
|
return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
|
|
4465
4465
|
}
|
|
4466
|
-
const q5 = ["left", "right"], U5 = ["right", "left"],
|
|
4466
|
+
const q5 = ["left", "right"], U5 = ["right", "left"], zc = ["top", "bottom"], Hc = ["bottom", "top"];
|
|
4467
4467
|
function kc(e, r, t) {
|
|
4468
4468
|
switch (e) {
|
|
4469
4469
|
case "top":
|
|
@@ -4471,7 +4471,7 @@ function kc(e, r, t) {
|
|
|
4471
4471
|
return t ? r ? U5 : q5 : r ? q5 : U5;
|
|
4472
4472
|
case "left":
|
|
4473
4473
|
case "right":
|
|
4474
|
-
return r ?
|
|
4474
|
+
return r ? zc : Hc;
|
|
4475
4475
|
default:
|
|
4476
4476
|
return [];
|
|
4477
4477
|
}
|
|
@@ -4525,7 +4525,7 @@ function h5(e, r, t) {
|
|
|
4525
4525
|
reference: n,
|
|
4526
4526
|
floating: c
|
|
4527
4527
|
} = e;
|
|
4528
|
-
const o = J1(r), i = k2(r), A =
|
|
4528
|
+
const o = J1(r), i = k2(r), A = H2(i), s = te(r), d = o === "y", u = n.x + n.width / 2 - c.width / 2, p = n.y + n.height / 2 - c.height / 2, C = n[A] / 2 - c[A] / 2;
|
|
4529
4529
|
let g;
|
|
4530
4530
|
switch (s) {
|
|
4531
4531
|
case "top":
|
|
@@ -4594,7 +4594,7 @@ async function Pc(e, r) {
|
|
|
4594
4594
|
y: c,
|
|
4595
4595
|
width: i.floating.width,
|
|
4596
4596
|
height: i.floating.height
|
|
4597
|
-
} : i.reference,
|
|
4597
|
+
} : i.reference, H = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(A.floating)), z = await (o.isElement == null ? void 0 : o.isElement(H)) ? await (o.getScale == null ? void 0 : o.getScale(H)) || {
|
|
4598
4598
|
x: 1,
|
|
4599
4599
|
y: 1
|
|
4600
4600
|
} : {
|
|
@@ -4603,14 +4603,14 @@ async function Pc(e, r) {
|
|
|
4603
4603
|
}, k = Wr(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
4604
4604
|
elements: A,
|
|
4605
4605
|
rect: y,
|
|
4606
|
-
offsetParent:
|
|
4606
|
+
offsetParent: H,
|
|
4607
4607
|
strategy: s
|
|
4608
4608
|
}) : y);
|
|
4609
4609
|
return {
|
|
4610
|
-
top: (O.top - k.top + x.top) /
|
|
4611
|
-
bottom: (k.bottom - O.bottom + x.bottom) /
|
|
4612
|
-
left: (O.left - k.left + x.left) /
|
|
4613
|
-
right: (k.right - O.right + x.right) /
|
|
4610
|
+
top: (O.top - k.top + x.top) / z.y,
|
|
4611
|
+
bottom: (k.bottom - O.bottom + x.bottom) / z.y,
|
|
4612
|
+
left: (O.left - k.left + x.left) / z.x,
|
|
4613
|
+
right: (k.right - O.right + x.right) / z.x
|
|
4614
4614
|
};
|
|
4615
4615
|
}
|
|
4616
4616
|
const Mc = 50, vc = async (e, r, t) => {
|
|
@@ -4640,8 +4640,8 @@ const Mc = 50, vc = async (e, r, t) => {
|
|
|
4640
4640
|
name: O,
|
|
4641
4641
|
fn: y
|
|
4642
4642
|
} = f, {
|
|
4643
|
-
x:
|
|
4644
|
-
y:
|
|
4643
|
+
x: H,
|
|
4644
|
+
y: z,
|
|
4645
4645
|
data: k,
|
|
4646
4646
|
reset: P
|
|
4647
4647
|
} = await y({
|
|
@@ -4658,7 +4658,7 @@ const Mc = 50, vc = async (e, r, t) => {
|
|
|
4658
4658
|
floating: r
|
|
4659
4659
|
}
|
|
4660
4660
|
});
|
|
4661
|
-
u =
|
|
4661
|
+
u = H ?? u, p = z ?? p, x[O] = {
|
|
4662
4662
|
...x[O],
|
|
4663
4663
|
...k
|
|
4664
4664
|
}, P && g < Mc && (g++, typeof P == "object" && (P.placement && (C = P.placement), P.rects && (d = P.rects === !0 ? await i.getElementRects({
|
|
@@ -4698,10 +4698,10 @@ const Mc = 50, vc = async (e, r, t) => {
|
|
|
4698
4698
|
const p = Rn(u), C = {
|
|
4699
4699
|
x: t,
|
|
4700
4700
|
y: n
|
|
4701
|
-
}, g = k2(c), x =
|
|
4702
|
-
let v = P ? P[
|
|
4703
|
-
(!v || !await (i.isElement == null ? void 0 : i.isElement(P))) && (v = A.floating[
|
|
4704
|
-
const h =
|
|
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
|
+
let v = P ? P[H] : 0;
|
|
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 = Dt(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: {
|
|
@@ -4738,12 +4738,12 @@ const Mc = 50, vc = async (e, r, t) => {
|
|
|
4738
4738
|
} = re(e, r);
|
|
4739
4739
|
if ((t = o.arrow) != null && t.alignmentOffset)
|
|
4740
4740
|
return {};
|
|
4741
|
-
const O = te(c), y = J1(A),
|
|
4742
|
-
!C && P && k.push(...bc(A, m, x,
|
|
4741
|
+
const O = te(c), y = J1(A), H = te(A) === A, z = await (s.isRTL == null ? void 0 : s.isRTL(d.floating)), k = C || (H || !m ? [wr(A)] : yc(A)), P = x !== "none";
|
|
4742
|
+
!C && P && k.push(...bc(A, m, x, z));
|
|
4743
4743
|
const v = [A, ...k], h = await s.detectOverflow(r, f), U = [];
|
|
4744
4744
|
let W = ((n = o.flip) == null ? void 0 : n.overflows) || [];
|
|
4745
4745
|
if (u && U.push(h[O]), p) {
|
|
4746
|
-
const F = Oc(c, i,
|
|
4746
|
+
const F = Oc(c, i, z);
|
|
4747
4747
|
U.push(h[F[0]], h[F[1]]);
|
|
4748
4748
|
}
|
|
4749
4749
|
if (W = [...W, {
|
|
@@ -4916,11 +4916,11 @@ const Uc = function(e) {
|
|
|
4916
4916
|
fn: (O) => {
|
|
4917
4917
|
let {
|
|
4918
4918
|
x: y,
|
|
4919
|
-
y:
|
|
4919
|
+
y: H
|
|
4920
4920
|
} = O;
|
|
4921
4921
|
return {
|
|
4922
4922
|
x: y,
|
|
4923
|
-
y:
|
|
4923
|
+
y: H
|
|
4924
4924
|
};
|
|
4925
4925
|
}
|
|
4926
4926
|
},
|
|
@@ -4928,15 +4928,15 @@ const Uc = function(e) {
|
|
|
4928
4928
|
} = re(e, r), u = {
|
|
4929
4929
|
x: t,
|
|
4930
4930
|
y: n
|
|
4931
|
-
}, p = await o.detectOverflow(r, d), C = J1(te(c)), g =
|
|
4931
|
+
}, p = await o.detectOverflow(r, d), C = J1(te(c)), g = z2(C);
|
|
4932
4932
|
let x = u[g], m = u[C];
|
|
4933
4933
|
if (i) {
|
|
4934
|
-
const O = g === "y" ? "top" : "left", y = g === "y" ? "bottom" : "right",
|
|
4935
|
-
x = Dt(
|
|
4934
|
+
const O = g === "y" ? "top" : "left", y = g === "y" ? "bottom" : "right", H = x + p[O], z = x - p[y];
|
|
4935
|
+
x = Dt(H, x, z);
|
|
4936
4936
|
}
|
|
4937
4937
|
if (A) {
|
|
4938
|
-
const O = C === "y" ? "top" : "left", y = C === "y" ? "bottom" : "right",
|
|
4939
|
-
m = Dt(
|
|
4938
|
+
const O = C === "y" ? "top" : "left", y = C === "y" ? "bottom" : "right", H = m + p[O], z = m - p[y];
|
|
4939
|
+
m = Dt(H, m, z);
|
|
4940
4940
|
}
|
|
4941
4941
|
const f = s.fn({
|
|
4942
4942
|
...r,
|
|
@@ -4973,7 +4973,7 @@ const Uc = function(e) {
|
|
|
4973
4973
|
} = re(e, r), u = {
|
|
4974
4974
|
x: t,
|
|
4975
4975
|
y: n
|
|
4976
|
-
}, p = J1(c), C =
|
|
4976
|
+
}, p = J1(c), C = z2(p);
|
|
4977
4977
|
let g = u[C], x = u[p];
|
|
4978
4978
|
const m = re(A, r), f = typeof m == "number" ? {
|
|
4979
4979
|
mainAxis: m,
|
|
@@ -4984,12 +4984,12 @@ const Uc = function(e) {
|
|
|
4984
4984
|
...m
|
|
4985
4985
|
};
|
|
4986
4986
|
if (s) {
|
|
4987
|
-
const
|
|
4988
|
-
g <
|
|
4987
|
+
const H = C === "y" ? "height" : "width", z = o.reference[C] - o.floating[H] + f.mainAxis, k = o.reference[C] + o.reference[H] - f.mainAxis;
|
|
4988
|
+
g < z ? g = z : g > k && (g = k);
|
|
4989
4989
|
}
|
|
4990
4990
|
if (d) {
|
|
4991
4991
|
var O, y;
|
|
4992
|
-
const
|
|
4992
|
+
const H = C === "y" ? "width" : "height", z = Fn.has(te(c)), k = o.reference[p] - o.floating[H] + (z && ((O = i.offset) == null ? void 0 : O[p]) || 0) + (z ? 0 : f.crossAxis), P = o.reference[p] + o.reference[H] + (z ? 0 : ((y = i.offset) == null ? void 0 : y[p]) || 0) - (z ? f.crossAxis : 0);
|
|
4993
4993
|
x < k ? x = k : x > P && (x = P);
|
|
4994
4994
|
}
|
|
4995
4995
|
return {
|
|
@@ -5019,9 +5019,9 @@ const Uc = function(e) {
|
|
|
5019
5019
|
} = o.floating;
|
|
5020
5020
|
let f, O;
|
|
5021
5021
|
p === "top" || p === "bottom" ? (f = p, O = C === (await (i.isRTL == null ? void 0 : i.isRTL(A.floating)) ? "start" : "end") ? "left" : "right") : (O = p, f = C === "end" ? "top" : "bottom");
|
|
5022
|
-
const y = m - u.top - u.bottom,
|
|
5023
|
-
let v =
|
|
5024
|
-
if ((t = r.middlewareData.shift) != null && t.enabled.x && (h =
|
|
5022
|
+
const y = m - u.top - u.bottom, H = x - u.left - u.right, z = ie(m - u[f], y), k = ie(x - u[O], H), P = !r.middlewareData.shift;
|
|
5023
|
+
let v = z, h = k;
|
|
5024
|
+
if ((t = r.middlewareData.shift) != null && t.enabled.x && (h = H), (n = r.middlewareData.shift) != null && n.enabled.y && (v = y), P && !C) {
|
|
5025
5025
|
const W = N1(u.left, 0), w = N1(u.right, 0), Z = N1(u.top, 0), R = N1(u.bottom, 0);
|
|
5026
5026
|
g ? h = x - 2 * (W !== 0 || w !== 0 ? W + w : N1(u.left, u.right)) : v = m - 2 * (Z !== 0 || R !== 0 ? Z + R : N1(u.top, u.bottom));
|
|
5027
5027
|
}
|
|
@@ -5203,8 +5203,8 @@ function xe(e, r, t, n) {
|
|
|
5203
5203
|
const C = S1(o), g = n && G1(n) ? S1(n) : n;
|
|
5204
5204
|
let x = C, m = Bt(x);
|
|
5205
5205
|
for (; m && n && g !== x; ) {
|
|
5206
|
-
const f = Me(m), O = m.getBoundingClientRect(), y = D1(m),
|
|
5207
|
-
s *= f.x, d *= f.y, u *= f.x, p *= f.y, s +=
|
|
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 = Bt(x);
|
|
5208
5208
|
}
|
|
5209
5209
|
}
|
|
5210
5210
|
return Wr({
|
|
@@ -5415,7 +5415,7 @@ function Ln(e, r) {
|
|
|
5415
5415
|
n = G5(n, r);
|
|
5416
5416
|
return n && Ne(n) && Pt(n) && !b2(n) ? t : n || Gc(e) || t;
|
|
5417
5417
|
}
|
|
5418
|
-
const
|
|
5418
|
+
const eo = async function(e) {
|
|
5419
5419
|
const r = this.getOffsetParent || Ln, t = this.getDimensions, n = await t(e.floating);
|
|
5420
5420
|
return {
|
|
5421
5421
|
reference: $c(e.reference, await r(e.floating), e.strategy),
|
|
@@ -5427,25 +5427,25 @@ const e7 = async function(e) {
|
|
|
5427
5427
|
}
|
|
5428
5428
|
};
|
|
5429
5429
|
};
|
|
5430
|
-
function
|
|
5430
|
+
function ro(e) {
|
|
5431
5431
|
return D1(e).direction === "rtl";
|
|
5432
5432
|
}
|
|
5433
|
-
const
|
|
5433
|
+
const to = {
|
|
5434
5434
|
convertOffsetParentRelativeRectToViewportRelativeRect: Bc,
|
|
5435
5435
|
getDocumentElement: _1,
|
|
5436
5436
|
getClippingRect: Ec,
|
|
5437
5437
|
getOffsetParent: Ln,
|
|
5438
|
-
getElementRects:
|
|
5438
|
+
getElementRects: eo,
|
|
5439
5439
|
getClientRects: Zc,
|
|
5440
5440
|
getDimensions: _c,
|
|
5441
5441
|
getScale: Me,
|
|
5442
5442
|
isElement: G1,
|
|
5443
|
-
isRTL:
|
|
5443
|
+
isRTL: ro
|
|
5444
5444
|
};
|
|
5445
5445
|
function Jn(e, r) {
|
|
5446
5446
|
return e.x === r.x && e.y === r.y && e.width === r.width && e.height === r.height;
|
|
5447
5447
|
}
|
|
5448
|
-
function
|
|
5448
|
+
function no(e, r) {
|
|
5449
5449
|
let t = null, n;
|
|
5450
5450
|
const c = _1(e);
|
|
5451
5451
|
function o() {
|
|
@@ -5462,30 +5462,30 @@ function n7(e, r) {
|
|
|
5462
5462
|
} = d;
|
|
5463
5463
|
if (A || r(), !C || !g)
|
|
5464
5464
|
return;
|
|
5465
|
-
const x =
|
|
5465
|
+
const x = Hr(p), m = Hr(c.clientWidth - (u + C)), f = Hr(c.clientHeight - (p + g)), O = Hr(u), H = {
|
|
5466
5466
|
rootMargin: -x + "px " + -m + "px " + -f + "px " + -O + "px",
|
|
5467
5467
|
threshold: N1(0, ie(1, s)) || 1
|
|
5468
5468
|
};
|
|
5469
|
-
let
|
|
5469
|
+
let z = !0;
|
|
5470
5470
|
function k(P) {
|
|
5471
5471
|
const v = P[0].intersectionRatio;
|
|
5472
5472
|
if (v !== s) {
|
|
5473
|
-
if (!
|
|
5473
|
+
if (!z)
|
|
5474
5474
|
return i();
|
|
5475
5475
|
v ? i(!1, v) : n = setTimeout(() => {
|
|
5476
5476
|
i(!1, 1e-7);
|
|
5477
5477
|
}, 1e3);
|
|
5478
5478
|
}
|
|
5479
|
-
v === 1 && !Jn(d, e.getBoundingClientRect()) && i(),
|
|
5479
|
+
v === 1 && !Jn(d, e.getBoundingClientRect()) && i(), z = !1;
|
|
5480
5480
|
}
|
|
5481
5481
|
try {
|
|
5482
5482
|
t = new IntersectionObserver(k, {
|
|
5483
|
-
...
|
|
5483
|
+
...H,
|
|
5484
5484
|
// Handle <iframe>s
|
|
5485
5485
|
root: c.ownerDocument
|
|
5486
5486
|
});
|
|
5487
5487
|
} catch {
|
|
5488
|
-
t = new IntersectionObserver(k,
|
|
5488
|
+
t = new IntersectionObserver(k, H);
|
|
5489
5489
|
}
|
|
5490
5490
|
t.observe(e);
|
|
5491
5491
|
}
|
|
@@ -5505,13 +5505,13 @@ function Qn(e, r, t, n) {
|
|
|
5505
5505
|
passive: !0
|
|
5506
5506
|
}), o && O.addEventListener("resize", t);
|
|
5507
5507
|
});
|
|
5508
|
-
const p = d && A ?
|
|
5508
|
+
const p = d && A ? no(d, t) : null;
|
|
5509
5509
|
let C = -1, g = null;
|
|
5510
5510
|
i && (g = new ResizeObserver((O) => {
|
|
5511
5511
|
let [y] = O;
|
|
5512
5512
|
y && y.target === d && g && r && (g.unobserve(r), cancelAnimationFrame(C), C = requestAnimationFrame(() => {
|
|
5513
|
-
var
|
|
5514
|
-
(
|
|
5513
|
+
var H;
|
|
5514
|
+
(H = g) == null || H.observe(r);
|
|
5515
5515
|
})), t();
|
|
5516
5516
|
}), d && !s && g.observe(d), r && g.observe(r));
|
|
5517
5517
|
let x, m = s ? xe(e) : null;
|
|
@@ -5527,9 +5527,9 @@ function Qn(e, r, t, n) {
|
|
|
5527
5527
|
}), p == null || p(), (O = g) == null || O.disconnect(), g = null, s && cancelAnimationFrame(x);
|
|
5528
5528
|
};
|
|
5529
5529
|
}
|
|
5530
|
-
const
|
|
5530
|
+
const ao = Uc, co = hc, oo = Nc, io = Wc, Ao = Sc, D5 = Kc, so = wc, lo = (e, r, t) => {
|
|
5531
5531
|
const n = /* @__PURE__ */ new Map(), c = {
|
|
5532
|
-
platform:
|
|
5532
|
+
platform: to,
|
|
5533
5533
|
...t
|
|
5534
5534
|
}, o = {
|
|
5535
5535
|
...c.platform,
|
|
@@ -5540,8 +5540,8 @@ const a7 = Uc, c7 = hc, o7 = Nc, i7 = Wc, A7 = Sc, D5 = Kc, s7 = wc, l7 = (e, r,
|
|
|
5540
5540
|
platform: o
|
|
5541
5541
|
});
|
|
5542
5542
|
};
|
|
5543
|
-
var
|
|
5544
|
-
}, vr =
|
|
5543
|
+
var uo = typeof document < "u", po = function() {
|
|
5544
|
+
}, vr = uo ? j8 : po;
|
|
5545
5545
|
function Tr(e, r) {
|
|
5546
5546
|
if (e === r)
|
|
5547
5547
|
return !0;
|
|
@@ -5610,9 +5610,9 @@ function _n(e) {
|
|
|
5610
5610
|
Tr(C, n) || g(n);
|
|
5611
5611
|
const [x, m] = l.useState(null), [f, O] = l.useState(null), y = l.useCallback((I) => {
|
|
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
|
-
}, []),
|
|
5615
|
+
}, []), z = o || x, k = i || f, P = l.useRef(null), v = l.useRef(null), h = l.useRef(u), U = s != null, W = Mt(s), w = Mt(c), Z = Mt(d), R = l.useCallback(() => {
|
|
5616
5616
|
if (!P.current || !v.current)
|
|
5617
5617
|
return;
|
|
5618
5618
|
const I = {
|
|
@@ -5620,7 +5620,7 @@ function _n(e) {
|
|
|
5620
5620
|
strategy: t,
|
|
5621
5621
|
middleware: C
|
|
5622
5622
|
};
|
|
5623
|
-
w.current && (I.platform = w.current),
|
|
5623
|
+
w.current && (I.platform = w.current), lo(P.current, v.current, I).then((b) => {
|
|
5624
5624
|
const N = {
|
|
5625
5625
|
...b,
|
|
5626
5626
|
// The floating element's position may be recomputed while it's closed
|
|
@@ -5644,21 +5644,21 @@ function _n(e) {
|
|
|
5644
5644
|
vr(() => (F.current = !0, () => {
|
|
5645
5645
|
F.current = !1;
|
|
5646
5646
|
}), []), vr(() => {
|
|
5647
|
-
if (
|
|
5647
|
+
if (z && (P.current = z), k && (v.current = k), z && k) {
|
|
5648
5648
|
if (W.current)
|
|
5649
|
-
return W.current(
|
|
5649
|
+
return W.current(z, k, R);
|
|
5650
5650
|
R();
|
|
5651
5651
|
}
|
|
5652
|
-
}, [
|
|
5652
|
+
}, [z, k, R, W, U]);
|
|
5653
5653
|
const t1 = l.useMemo(() => ({
|
|
5654
5654
|
reference: P,
|
|
5655
5655
|
floating: v,
|
|
5656
5656
|
setReference: y,
|
|
5657
|
-
setFloating:
|
|
5658
|
-
}), [y,
|
|
5659
|
-
reference:
|
|
5657
|
+
setFloating: H
|
|
5658
|
+
}), [y, H]), X = l.useMemo(() => ({
|
|
5659
|
+
reference: z,
|
|
5660
5660
|
floating: k
|
|
5661
|
-
}), [
|
|
5661
|
+
}), [z, k]), _ = l.useMemo(() => {
|
|
5662
5662
|
const I = {
|
|
5663
5663
|
position: t,
|
|
5664
5664
|
left: 0,
|
|
@@ -5687,7 +5687,7 @@ function _n(e) {
|
|
|
5687
5687
|
floatingStyles: _
|
|
5688
5688
|
}), [u, R, t1, X, _]);
|
|
5689
5689
|
}
|
|
5690
|
-
const
|
|
5690
|
+
const Co = (e) => {
|
|
5691
5691
|
function r(t) {
|
|
5692
5692
|
return {}.hasOwnProperty.call(t, "current");
|
|
5693
5693
|
}
|
|
@@ -5709,52 +5709,52 @@ const p7 = (e) => {
|
|
|
5709
5709
|
}
|
|
5710
5710
|
};
|
|
5711
5711
|
}, $n = (e, r) => {
|
|
5712
|
-
const t =
|
|
5712
|
+
const t = ao(e);
|
|
5713
5713
|
return {
|
|
5714
5714
|
name: t.name,
|
|
5715
5715
|
fn: t.fn,
|
|
5716
5716
|
options: [e, r]
|
|
5717
5717
|
};
|
|
5718
5718
|
}, e4 = (e, r) => {
|
|
5719
|
-
const t =
|
|
5719
|
+
const t = co(e);
|
|
5720
5720
|
return {
|
|
5721
5721
|
name: t.name,
|
|
5722
5722
|
fn: t.fn,
|
|
5723
5723
|
options: [e, r]
|
|
5724
5724
|
};
|
|
5725
5725
|
}, r4 = (e, r) => ({
|
|
5726
|
-
fn:
|
|
5726
|
+
fn: so(e).fn,
|
|
5727
5727
|
options: [e, r]
|
|
5728
5728
|
}), t4 = (e, r) => {
|
|
5729
|
-
const t =
|
|
5729
|
+
const t = oo(e);
|
|
5730
5730
|
return {
|
|
5731
5731
|
name: t.name,
|
|
5732
5732
|
fn: t.fn,
|
|
5733
5733
|
options: [e, r]
|
|
5734
5734
|
};
|
|
5735
5735
|
}, n4 = (e, r) => {
|
|
5736
|
-
const t =
|
|
5736
|
+
const t = io(e);
|
|
5737
5737
|
return {
|
|
5738
5738
|
name: t.name,
|
|
5739
5739
|
fn: t.fn,
|
|
5740
5740
|
options: [e, r]
|
|
5741
5741
|
};
|
|
5742
5742
|
}, a4 = (e, r) => {
|
|
5743
|
-
const t =
|
|
5743
|
+
const t = Ao(e);
|
|
5744
5744
|
return {
|
|
5745
5745
|
name: t.name,
|
|
5746
5746
|
fn: t.fn,
|
|
5747
5747
|
options: [e, r]
|
|
5748
5748
|
};
|
|
5749
5749
|
}, c4 = (e, r) => {
|
|
5750
|
-
const t =
|
|
5750
|
+
const t = Co(e);
|
|
5751
5751
|
return {
|
|
5752
5752
|
name: t.name,
|
|
5753
5753
|
fn: t.fn,
|
|
5754
5754
|
options: [e, r]
|
|
5755
5755
|
};
|
|
5756
5756
|
};
|
|
5757
|
-
var
|
|
5757
|
+
var go = "Arrow", o4 = l.forwardRef((e, r) => {
|
|
5758
5758
|
const { children: t, width: n = 10, height: c = 5, ...o } = e;
|
|
5759
5759
|
return /* @__PURE__ */ a.jsx(
|
|
5760
5760
|
s1.svg,
|
|
@@ -5769,9 +5769,9 @@ var C7 = "Arrow", o4 = l.forwardRef((e, r) => {
|
|
|
5769
5769
|
}
|
|
5770
5770
|
);
|
|
5771
5771
|
});
|
|
5772
|
-
o4.displayName =
|
|
5773
|
-
var
|
|
5774
|
-
function
|
|
5772
|
+
o4.displayName = go;
|
|
5773
|
+
var xo = o4;
|
|
5774
|
+
function mo(e) {
|
|
5775
5775
|
const [r, t] = l.useState(void 0);
|
|
5776
5776
|
return Q1(() => {
|
|
5777
5777
|
if (e) {
|
|
@@ -5793,10 +5793,10 @@ function x7(e) {
|
|
|
5793
5793
|
t(void 0);
|
|
5794
5794
|
}, [e]), r;
|
|
5795
5795
|
}
|
|
5796
|
-
var M2 = "Popper", [i4, A4] = fe(M2), [
|
|
5796
|
+
var M2 = "Popper", [i4, A4] = fe(M2), [jo, s4] = i4(M2), l4 = (e) => {
|
|
5797
5797
|
const { __scopePopper: r, children: t } = e, [n, c] = l.useState(null), [o, i] = l.useState(void 0);
|
|
5798
5798
|
return /* @__PURE__ */ a.jsx(
|
|
5799
|
-
|
|
5799
|
+
jo,
|
|
5800
5800
|
{
|
|
5801
5801
|
scope: r,
|
|
5802
5802
|
anchor: n,
|
|
@@ -5835,9 +5835,9 @@ var u4 = "PopperAnchor", d4 = l.forwardRef(
|
|
|
5835
5835
|
}
|
|
5836
5836
|
);
|
|
5837
5837
|
d4.displayName = u4;
|
|
5838
|
-
var v2 = "PopperContent", [
|
|
5838
|
+
var v2 = "PopperContent", [fo, Vo] = i4(v2), p4 = l.forwardRef(
|
|
5839
5839
|
(e, r) => {
|
|
5840
|
-
var Y, e1, i1, P1,
|
|
5840
|
+
var Y, e1, i1, P1, H1, C1;
|
|
5841
5841
|
const {
|
|
5842
5842
|
__scopePopper: t,
|
|
5843
5843
|
side: n = "bottom",
|
|
@@ -5853,9 +5853,9 @@ var v2 = "PopperContent", [j7, f7] = i4(v2), p4 = l.forwardRef(
|
|
|
5853
5853
|
updatePositionStrategy: g = "optimized",
|
|
5854
5854
|
onPlaced: x,
|
|
5855
5855
|
...m
|
|
5856
|
-
} = e, f = s4(v2, t), [O, y] = l.useState(null),
|
|
5856
|
+
} = e, f = s4(v2, t), [O, y] = l.useState(null), H = j1(r, y), [z, k] = l.useState(null), P = mo(z), v = (P == null ? void 0 : P.width) ?? 0, h = (P == null ? void 0 : P.height) ?? 0, U = n + (o !== "center" ? "-" + o : ""), W = typeof u == "number" ? u : { top: 0, right: 0, bottom: 0, left: 0, ...u }, w = Array.isArray(d) ? d : [d], Z = w.length > 0, R = {
|
|
5857
5857
|
padding: W,
|
|
5858
|
-
boundary: w.filter(
|
|
5858
|
+
boundary: w.filter(yo),
|
|
5859
5859
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
|
5860
5860
|
altBoundary: Z
|
|
5861
5861
|
}, { refs: F, floatingStyles: t1, placement: X, isPositioned: _, middlewareData: I } = _n({
|
|
@@ -5884,8 +5884,8 @@ var v2 = "PopperContent", [j7, f7] = i4(v2), p4 = l.forwardRef(
|
|
|
5884
5884
|
q1.setProperty("--radix-popper-available-width", `${Q}px`), q1.setProperty("--radix-popper-available-height", `${f1}px`), q1.setProperty("--radix-popper-anchor-width", `${V1}px`), q1.setProperty("--radix-popper-anchor-height", `${d1}px`);
|
|
5885
5885
|
}
|
|
5886
5886
|
}),
|
|
5887
|
-
|
|
5888
|
-
|
|
5887
|
+
z && c4({ element: z, padding: A }),
|
|
5888
|
+
zo({ arrowWidth: v, arrowHeight: h }),
|
|
5889
5889
|
C && a4({
|
|
5890
5890
|
strategy: "referenceHidden",
|
|
5891
5891
|
...R,
|
|
@@ -5923,7 +5923,7 @@ var v2 = "PopperContent", [j7, f7] = i4(v2), p4 = l.forwardRef(
|
|
|
5923
5923
|
zIndex: c1,
|
|
5924
5924
|
"--radix-popper-transform-origin": [
|
|
5925
5925
|
(P1 = I.transformOrigin) == null ? void 0 : P1.x,
|
|
5926
|
-
(
|
|
5926
|
+
(H1 = I.transformOrigin) == null ? void 0 : H1.y
|
|
5927
5927
|
].join(" "),
|
|
5928
5928
|
// hide the content if using the hide middleware and should be hidden
|
|
5929
5929
|
// set visibility to hidden and disable pointer events so the UI behaves
|
|
@@ -5935,7 +5935,7 @@ var v2 = "PopperContent", [j7, f7] = i4(v2), p4 = l.forwardRef(
|
|
|
5935
5935
|
},
|
|
5936
5936
|
dir: e.dir,
|
|
5937
5937
|
children: /* @__PURE__ */ a.jsx(
|
|
5938
|
-
|
|
5938
|
+
fo,
|
|
5939
5939
|
{
|
|
5940
5940
|
scope: t,
|
|
5941
5941
|
placedSide: N,
|
|
@@ -5950,7 +5950,7 @@ var v2 = "PopperContent", [j7, f7] = i4(v2), p4 = l.forwardRef(
|
|
|
5950
5950
|
"data-side": N,
|
|
5951
5951
|
"data-align": T,
|
|
5952
5952
|
...m,
|
|
5953
|
-
ref:
|
|
5953
|
+
ref: H,
|
|
5954
5954
|
style: {
|
|
5955
5955
|
...m.style,
|
|
5956
5956
|
// if the PopperContent hasn't been placed yet (not all measurements done)
|
|
@@ -5966,13 +5966,13 @@ var v2 = "PopperContent", [j7, f7] = i4(v2), p4 = l.forwardRef(
|
|
|
5966
5966
|
}
|
|
5967
5967
|
);
|
|
5968
5968
|
p4.displayName = v2;
|
|
5969
|
-
var C4 = "PopperArrow",
|
|
5969
|
+
var C4 = "PopperArrow", Oo = {
|
|
5970
5970
|
top: "bottom",
|
|
5971
5971
|
right: "left",
|
|
5972
5972
|
bottom: "top",
|
|
5973
5973
|
left: "right"
|
|
5974
5974
|
}, g4 = l.forwardRef(function(r, t) {
|
|
5975
|
-
const { __scopePopper: n, ...c } = r, o =
|
|
5975
|
+
const { __scopePopper: n, ...c } = r, o = Vo(C4, n), i = Oo[o.placedSide];
|
|
5976
5976
|
return (
|
|
5977
5977
|
// we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
|
|
5978
5978
|
// doesn't report size as we'd expect on SVG elements.
|
|
@@ -6001,7 +6001,7 @@ var C4 = "PopperArrow", V7 = {
|
|
|
6001
6001
|
visibility: o.shouldHideArrow ? "hidden" : void 0
|
|
6002
6002
|
},
|
|
6003
6003
|
children: /* @__PURE__ */ a.jsx(
|
|
6004
|
-
|
|
6004
|
+
xo,
|
|
6005
6005
|
{
|
|
6006
6006
|
...c,
|
|
6007
6007
|
ref: t,
|
|
@@ -6017,10 +6017,10 @@ var C4 = "PopperArrow", V7 = {
|
|
|
6017
6017
|
);
|
|
6018
6018
|
});
|
|
6019
6019
|
g4.displayName = C4;
|
|
6020
|
-
function
|
|
6020
|
+
function yo(e) {
|
|
6021
6021
|
return e !== null;
|
|
6022
6022
|
}
|
|
6023
|
-
var
|
|
6023
|
+
var zo = (e) => ({
|
|
6024
6024
|
name: "transformOrigin",
|
|
6025
6025
|
options: e,
|
|
6026
6026
|
fn(r) {
|
|
@@ -6034,24 +6034,24 @@ function K2(e) {
|
|
|
6034
6034
|
const [r, t = "center"] = e.split("-");
|
|
6035
6035
|
return [r, t];
|
|
6036
6036
|
}
|
|
6037
|
-
var
|
|
6037
|
+
var Ho = l4, ko = d4, bo = p4, Io = g4, Po = "Portal", N2 = l.forwardRef((e, r) => {
|
|
6038
6038
|
var A;
|
|
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
6042
|
return i ? Xr.createPortal(/* @__PURE__ */ a.jsx(s1.div, { ...n, ref: r }), i) : null;
|
|
6043
6043
|
});
|
|
6044
|
-
N2.displayName =
|
|
6045
|
-
function
|
|
6044
|
+
N2.displayName = Po;
|
|
6045
|
+
function Mo(e, r) {
|
|
6046
6046
|
return l.useReducer((t, n) => r[t][n] ?? t, e);
|
|
6047
6047
|
}
|
|
6048
6048
|
var ae = (e) => {
|
|
6049
|
-
const { present: r, children: t } = e, n =
|
|
6049
|
+
const { present: r, children: t } = e, n = vo(r), c = typeof t == "function" ? t({ present: n.isPresent }) : l.Children.only(t), o = Ko(n.ref, No(c));
|
|
6050
6050
|
return typeof t == "function" || n.isPresent ? l.cloneElement(c, { ref: o }) : null;
|
|
6051
6051
|
};
|
|
6052
6052
|
ae.displayName = "Presence";
|
|
6053
|
-
function
|
|
6054
|
-
const [r, t] = l.useState(), n = l.useRef(null), c = l.useRef(e), o = l.useRef("none"), i = l.useRef(void 0), A = e ? "mounted" : "unmounted", [s, d] =
|
|
6053
|
+
function vo(e) {
|
|
6054
|
+
const [r, t] = l.useState(), n = l.useRef(null), c = l.useRef(e), o = l.useRef("none"), i = l.useRef(void 0), A = e ? "mounted" : "unmounted", [s, d] = Mo(A, {
|
|
6055
6055
|
mounted: {
|
|
6056
6056
|
UNMOUNT: "unmounted",
|
|
6057
6057
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -6108,7 +6108,7 @@ function B5(e, r) {
|
|
|
6108
6108
|
return e(r);
|
|
6109
6109
|
e != null && (e.current = r);
|
|
6110
6110
|
}
|
|
6111
|
-
function
|
|
6111
|
+
function Ko(...e) {
|
|
6112
6112
|
const r = l.useRef(e);
|
|
6113
6113
|
return r.current = e, l.useCallback((t) => {
|
|
6114
6114
|
const n = r.current;
|
|
@@ -6129,38 +6129,38 @@ function v7(...e) {
|
|
|
6129
6129
|
function Le(e) {
|
|
6130
6130
|
return (e == null ? void 0 : e.animationName) || "none";
|
|
6131
6131
|
}
|
|
6132
|
-
function
|
|
6132
|
+
function No(e) {
|
|
6133
6133
|
var n, c;
|
|
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
6137
|
var vt = !1;
|
|
6138
|
-
function
|
|
6138
|
+
function So() {
|
|
6139
6139
|
const [e, r] = l.useState(vt);
|
|
6140
6140
|
return l.useEffect(() => {
|
|
6141
6141
|
vt || (vt = !0, r(!0));
|
|
6142
6142
|
}, []), e;
|
|
6143
6143
|
}
|
|
6144
6144
|
var x4 = l[" useSyncExternalStore ".trim().toString()];
|
|
6145
|
-
function
|
|
6145
|
+
function qo() {
|
|
6146
6146
|
return () => {
|
|
6147
6147
|
};
|
|
6148
6148
|
}
|
|
6149
|
-
function
|
|
6149
|
+
function Uo() {
|
|
6150
6150
|
return x4(
|
|
6151
|
-
|
|
6151
|
+
qo,
|
|
6152
6152
|
() => !0,
|
|
6153
6153
|
() => !1
|
|
6154
6154
|
);
|
|
6155
6155
|
}
|
|
6156
|
-
var
|
|
6156
|
+
var ho = typeof x4 == "function" ? Uo : So, Kt = "rovingFocusGroup.onEntryFocus", wo = { bubbles: !1, cancelable: !0 }, Cr = "RovingFocusGroup", [Zt, m4, Wo] = hn(Cr), [To, ct] = fe(
|
|
6157
6157
|
Cr,
|
|
6158
|
-
[
|
|
6159
|
-
), [
|
|
6160
|
-
(e, r) => /* @__PURE__ */ a.jsx(Zt.Provider, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ a.jsx(Zt.Slot, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ a.jsx(
|
|
6158
|
+
[Wo]
|
|
6159
|
+
), [Ro, Fo] = To(Cr), j4 = l.forwardRef(
|
|
6160
|
+
(e, r) => /* @__PURE__ */ a.jsx(Zt.Provider, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ a.jsx(Zt.Slot, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ a.jsx(Go, { ...e, ref: r }) }) })
|
|
6161
6161
|
);
|
|
6162
6162
|
j4.displayName = Cr;
|
|
6163
|
-
var
|
|
6163
|
+
var Go = l.forwardRef((e, r) => {
|
|
6164
6164
|
const {
|
|
6165
6165
|
__scopeRovingFocusGroup: t,
|
|
6166
6166
|
orientation: n,
|
|
@@ -6177,13 +6177,13 @@ var F7 = l.forwardRef((e, r) => {
|
|
|
6177
6177
|
defaultProp: A ?? null,
|
|
6178
6178
|
onChange: s,
|
|
6179
6179
|
caller: Cr
|
|
6180
|
-
}), [O, y] = l.useState(!1),
|
|
6180
|
+
}), [O, y] = l.useState(!1), H = ee(d), z = m4(t), k = l.useRef(!1), [P, v] = l.useState(0);
|
|
6181
6181
|
return l.useEffect(() => {
|
|
6182
6182
|
const h = C.current;
|
|
6183
6183
|
if (h)
|
|
6184
|
-
return h.addEventListener(Kt,
|
|
6185
|
-
}, [
|
|
6186
|
-
|
|
6184
|
+
return h.addEventListener(Kt, H), () => h.removeEventListener(Kt, H);
|
|
6185
|
+
}, [H]), /* @__PURE__ */ a.jsx(
|
|
6186
|
+
Ro,
|
|
6187
6187
|
{
|
|
6188
6188
|
scope: t,
|
|
6189
6189
|
orientation: n,
|
|
@@ -6217,9 +6217,9 @@ var F7 = 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(Kt,
|
|
6220
|
+
const W = new CustomEvent(Kt, wo);
|
|
6221
6221
|
if (h.currentTarget.dispatchEvent(W), !W.defaultPrevented) {
|
|
6222
|
-
const w =
|
|
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
|
|
6224
6224
|
).map((X) => X.ref.current);
|
|
6225
6225
|
O4(t1, u);
|
|
@@ -6241,7 +6241,7 @@ var F7 = l.forwardRef((e, r) => {
|
|
|
6241
6241
|
tabStopId: o,
|
|
6242
6242
|
children: i,
|
|
6243
6243
|
...A
|
|
6244
|
-
} = e, s = ge(), d = o || s, u =
|
|
6244
|
+
} = e, s = ge(), d = o || s, u = Fo(f4, t), p = u.currentTabStopId === d, C = m4(t), { onFocusableItemAdd: g, onFocusableItemRemove: x, currentTabStopId: m } = u, f = ho();
|
|
6245
6245
|
return Q1(() => {
|
|
6246
6246
|
if (!(!f || !n))
|
|
6247
6247
|
return g(), () => x();
|
|
@@ -6272,18 +6272,18 @@ var F7 = l.forwardRef((e, r) => {
|
|
|
6272
6272
|
return;
|
|
6273
6273
|
}
|
|
6274
6274
|
if (O.target !== O.currentTarget) return;
|
|
6275
|
-
const y =
|
|
6275
|
+
const y = Bo(O, u.orientation, u.dir);
|
|
6276
6276
|
if (y !== void 0) {
|
|
6277
6277
|
if (O.metaKey || O.ctrlKey || O.altKey || O.shiftKey) return;
|
|
6278
6278
|
O.preventDefault();
|
|
6279
|
-
let
|
|
6280
|
-
if (y === "last")
|
|
6279
|
+
let z = C().filter((k) => k.focusable).map((k) => k.ref.current);
|
|
6280
|
+
if (y === "last") z.reverse();
|
|
6281
6281
|
else if (y === "prev" || y === "next") {
|
|
6282
|
-
y === "prev" &&
|
|
6283
|
-
const k =
|
|
6284
|
-
|
|
6282
|
+
y === "prev" && z.reverse();
|
|
6283
|
+
const k = z.indexOf(O.currentTarget);
|
|
6284
|
+
z = u.loop ? Zo(z, k + 1) : z.slice(k + 1);
|
|
6285
6285
|
}
|
|
6286
|
-
setTimeout(() => O4(
|
|
6286
|
+
setTimeout(() => O4(z));
|
|
6287
6287
|
}
|
|
6288
6288
|
}),
|
|
6289
6289
|
children: typeof i == "function" ? i({ isCurrentTabStop: p, hasTabStop: m != null }) : i
|
|
@@ -6294,7 +6294,7 @@ var F7 = l.forwardRef((e, r) => {
|
|
|
6294
6294
|
}
|
|
6295
6295
|
);
|
|
6296
6296
|
V4.displayName = f4;
|
|
6297
|
-
var
|
|
6297
|
+
var Do = {
|
|
6298
6298
|
ArrowLeft: "prev",
|
|
6299
6299
|
ArrowUp: "prev",
|
|
6300
6300
|
ArrowRight: "next",
|
|
@@ -6304,40 +6304,40 @@ var G7 = {
|
|
|
6304
6304
|
PageDown: "last",
|
|
6305
6305
|
End: "last"
|
|
6306
6306
|
};
|
|
6307
|
-
function
|
|
6307
|
+
function Xo(e, r) {
|
|
6308
6308
|
return r !== "rtl" ? e : e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e;
|
|
6309
6309
|
}
|
|
6310
|
-
function
|
|
6311
|
-
const n =
|
|
6310
|
+
function Bo(e, r, t) {
|
|
6311
|
+
const n = Xo(e.key, t);
|
|
6312
6312
|
if (!(r === "vertical" && ["ArrowLeft", "ArrowRight"].includes(n)) && !(r === "horizontal" && ["ArrowUp", "ArrowDown"].includes(n)))
|
|
6313
|
-
return
|
|
6313
|
+
return Do[n];
|
|
6314
6314
|
}
|
|
6315
6315
|
function O4(e, r = !1) {
|
|
6316
6316
|
const t = document.activeElement;
|
|
6317
6317
|
for (const n of e)
|
|
6318
6318
|
if (n === t || (n.focus({ preventScroll: r }), document.activeElement !== t)) return;
|
|
6319
6319
|
}
|
|
6320
|
-
function
|
|
6320
|
+
function Zo(e, r) {
|
|
6321
6321
|
return e.map((t, n) => e[(r + n) % e.length]);
|
|
6322
6322
|
}
|
|
6323
|
-
var y4 = j4,
|
|
6323
|
+
var y4 = j4, z4 = V4, Yo = function(e) {
|
|
6324
6324
|
if (typeof document > "u")
|
|
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 = {}, Nt = 0,
|
|
6329
|
-
return e && (e.host ||
|
|
6330
|
-
},
|
|
6328
|
+
}, be = /* @__PURE__ */ new WeakMap(), kr = /* @__PURE__ */ new WeakMap(), br = {}, Nt = 0, H4 = function(e) {
|
|
6329
|
+
return e && (e.host || H4(e.parentNode));
|
|
6330
|
+
}, Lo = function(e, r) {
|
|
6331
6331
|
return r.map(function(t) {
|
|
6332
6332
|
if (e.contains(t))
|
|
6333
6333
|
return t;
|
|
6334
|
-
var n =
|
|
6334
|
+
var n = H4(t);
|
|
6335
6335
|
return n && e.contains(n) ? n : (console.error("aria-hidden", t, "in not contained inside", e, ". Doing nothing"), null);
|
|
6336
6336
|
}).filter(function(t) {
|
|
6337
6337
|
return !!t;
|
|
6338
6338
|
});
|
|
6339
|
-
},
|
|
6340
|
-
var c =
|
|
6339
|
+
}, Jo = function(e, r, t, n) {
|
|
6340
|
+
var c = Lo(r, Array.isArray(e) ? e : [e]);
|
|
6341
6341
|
br[t] || (br[t] = /* @__PURE__ */ new WeakMap());
|
|
6342
6342
|
var o = br[t], i = [], A = /* @__PURE__ */ new Set(), s = new Set(c), d = function(p) {
|
|
6343
6343
|
!p || A.has(p) || (A.add(p), d(p.parentNode));
|
|
@@ -6364,8 +6364,8 @@ var y4 = j4, H4 = V4, Z7 = function(e) {
|
|
|
6364
6364
|
};
|
|
6365
6365
|
}, k4 = function(e, r, t) {
|
|
6366
6366
|
t === void 0 && (t = "data-aria-hidden");
|
|
6367
|
-
var n = Array.from(Array.isArray(e) ? e : [e]), c =
|
|
6368
|
-
return c ? (n.push.apply(n, Array.from(c.querySelectorAll("[aria-live], script"))),
|
|
6367
|
+
var n = Array.from(Array.isArray(e) ? e : [e]), c = Yo(e);
|
|
6368
|
+
return c ? (n.push.apply(n, Array.from(c.querySelectorAll("[aria-live], script"))), Jo(n, c, t, "aria-hidden")) : function() {
|
|
6369
6369
|
return null;
|
|
6370
6370
|
};
|
|
6371
6371
|
}, L1 = function() {
|
|
@@ -6385,16 +6385,16 @@ function b4(e, r) {
|
|
|
6385
6385
|
r.indexOf(n[c]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[c]) && (t[n[c]] = e[n[c]]);
|
|
6386
6386
|
return t;
|
|
6387
6387
|
}
|
|
6388
|
-
function
|
|
6388
|
+
function Qo(e, r, t) {
|
|
6389
6389
|
if (t || arguments.length === 2) for (var n = 0, c = r.length, o; n < c; n++)
|
|
6390
6390
|
(o || !(n in r)) && (o || (o = Array.prototype.slice.call(r, 0, n)), o[n] = r[n]);
|
|
6391
6391
|
return e.concat(o || Array.prototype.slice.call(r));
|
|
6392
6392
|
}
|
|
6393
|
-
var Kr = "right-scroll-bar-position", Nr = "width-before-scroll-bar",
|
|
6393
|
+
var Kr = "right-scroll-bar-position", Nr = "width-before-scroll-bar", Eo = "with-scroll-bars-hidden", _o = "--removed-body-scroll-bar-size";
|
|
6394
6394
|
function St(e, r) {
|
|
6395
6395
|
return typeof e == "function" ? e(r) : e && (e.current = r), e;
|
|
6396
6396
|
}
|
|
6397
|
-
function
|
|
6397
|
+
function $o(e, r) {
|
|
6398
6398
|
var t = m1(function() {
|
|
6399
6399
|
return {
|
|
6400
6400
|
// value
|
|
@@ -6415,14 +6415,14 @@ function _7(e, r) {
|
|
|
6415
6415
|
})[0];
|
|
6416
6416
|
return t.callback = r, t.facade;
|
|
6417
6417
|
}
|
|
6418
|
-
var
|
|
6419
|
-
function
|
|
6420
|
-
var t =
|
|
6418
|
+
var e7 = typeof window < "u" ? l.useLayoutEffect : l.useEffect, Z5 = /* @__PURE__ */ new WeakMap();
|
|
6419
|
+
function r7(e, r) {
|
|
6420
|
+
var t = $o(null, function(n) {
|
|
6421
6421
|
return e.forEach(function(c) {
|
|
6422
6422
|
return St(c, n);
|
|
6423
6423
|
});
|
|
6424
6424
|
});
|
|
6425
|
-
return
|
|
6425
|
+
return e7(function() {
|
|
6426
6426
|
var n = Z5.get(t);
|
|
6427
6427
|
if (n) {
|
|
6428
6428
|
var c = new Set(n), o = new Set(e), i = t.current;
|
|
@@ -6435,11 +6435,11 @@ function eo(e, r) {
|
|
|
6435
6435
|
Z5.set(t, e);
|
|
6436
6436
|
}, [e]), t;
|
|
6437
6437
|
}
|
|
6438
|
-
function
|
|
6438
|
+
function t7(e) {
|
|
6439
6439
|
return e;
|
|
6440
6440
|
}
|
|
6441
|
-
function
|
|
6442
|
-
r === void 0 && (r =
|
|
6441
|
+
function n7(e, r) {
|
|
6442
|
+
r === void 0 && (r = t7);
|
|
6443
6443
|
var t = [], n = !1, c = {
|
|
6444
6444
|
read: function() {
|
|
6445
6445
|
if (n)
|
|
@@ -6493,9 +6493,9 @@ function to(e, r) {
|
|
|
6493
6493
|
};
|
|
6494
6494
|
return c;
|
|
6495
6495
|
}
|
|
6496
|
-
function
|
|
6496
|
+
function a7(e) {
|
|
6497
6497
|
e === void 0 && (e = {});
|
|
6498
|
-
var r =
|
|
6498
|
+
var r = n7(null);
|
|
6499
6499
|
return r.options = L1({ async: !0, ssr: !1 }, e), r;
|
|
6500
6500
|
}
|
|
6501
6501
|
var I4 = function(e) {
|
|
@@ -6508,20 +6508,20 @@ var I4 = function(e) {
|
|
|
6508
6508
|
return l.createElement(n, L1({}, t));
|
|
6509
6509
|
};
|
|
6510
6510
|
I4.isSideCarExport = !0;
|
|
6511
|
-
function
|
|
6511
|
+
function c7(e, r) {
|
|
6512
6512
|
return e.useMedium(r), I4;
|
|
6513
6513
|
}
|
|
6514
|
-
var P4 =
|
|
6514
|
+
var P4 = a7(), qt = function() {
|
|
6515
6515
|
}, ot = l.forwardRef(function(e, r) {
|
|
6516
6516
|
var t = l.useRef(null), n = l.useState({
|
|
6517
6517
|
onScrollCapture: qt,
|
|
6518
6518
|
onWheelCapture: qt,
|
|
6519
6519
|
onTouchMoveCapture: qt
|
|
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,
|
|
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,
|
|
6523
6523
|
null,
|
|
6524
|
-
u && l.createElement(k, { sideCar: P4, removeScrollBar: d, shards: p, noRelative: g, noIsolation: x, inert: m, setCallbacks: o, allowPinchZoom: !!f, lockRef: t, gapMode:
|
|
6524
|
+
u && l.createElement(k, { sideCar: P4, removeScrollBar: d, shards: p, noRelative: g, noIsolation: x, inert: m, setCallbacks: o, allowPinchZoom: !!f, lockRef: t, gapMode: H }),
|
|
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
|
});
|
|
@@ -6534,37 +6534,37 @@ ot.classNames = {
|
|
|
6534
6534
|
fullWidth: Nr,
|
|
6535
6535
|
zeroRight: Kr
|
|
6536
6536
|
};
|
|
6537
|
-
var
|
|
6537
|
+
var o7 = function() {
|
|
6538
6538
|
if (typeof __webpack_nonce__ < "u")
|
|
6539
6539
|
return __webpack_nonce__;
|
|
6540
6540
|
};
|
|
6541
|
-
function
|
|
6541
|
+
function i7() {
|
|
6542
6542
|
if (!document)
|
|
6543
6543
|
return null;
|
|
6544
6544
|
var e = document.createElement("style");
|
|
6545
6545
|
e.type = "text/css";
|
|
6546
|
-
var r =
|
|
6546
|
+
var r = o7();
|
|
6547
6547
|
return r && e.setAttribute("nonce", r), e;
|
|
6548
6548
|
}
|
|
6549
|
-
function
|
|
6549
|
+
function A7(e, r) {
|
|
6550
6550
|
e.styleSheet ? e.styleSheet.cssText = r : e.appendChild(document.createTextNode(r));
|
|
6551
6551
|
}
|
|
6552
|
-
function
|
|
6552
|
+
function s7(e) {
|
|
6553
6553
|
var r = document.head || document.getElementsByTagName("head")[0];
|
|
6554
6554
|
r.appendChild(e);
|
|
6555
6555
|
}
|
|
6556
|
-
var
|
|
6556
|
+
var l7 = function() {
|
|
6557
6557
|
var e = 0, r = null;
|
|
6558
6558
|
return {
|
|
6559
6559
|
add: function(t) {
|
|
6560
|
-
e == 0 && (r =
|
|
6560
|
+
e == 0 && (r = i7()) && (A7(r, t), s7(r)), e++;
|
|
6561
6561
|
},
|
|
6562
6562
|
remove: function() {
|
|
6563
6563
|
e--, !e && r && (r.parentNode && r.parentNode.removeChild(r), r = null);
|
|
6564
6564
|
}
|
|
6565
6565
|
};
|
|
6566
|
-
},
|
|
6567
|
-
var e =
|
|
6566
|
+
}, u7 = function() {
|
|
6567
|
+
var e = l7();
|
|
6568
6568
|
return function(r, t) {
|
|
6569
6569
|
l.useEffect(function() {
|
|
6570
6570
|
return e.add(r), function() {
|
|
@@ -6573,35 +6573,35 @@ var so = function() {
|
|
|
6573
6573
|
}, [r && t]);
|
|
6574
6574
|
};
|
|
6575
6575
|
}, M4 = function() {
|
|
6576
|
-
var e =
|
|
6576
|
+
var e = u7(), r = function(t) {
|
|
6577
6577
|
var n = t.styles, c = t.dynamic;
|
|
6578
6578
|
return e(n, c), null;
|
|
6579
6579
|
};
|
|
6580
6580
|
return r;
|
|
6581
|
-
},
|
|
6581
|
+
}, d7 = {
|
|
6582
6582
|
left: 0,
|
|
6583
6583
|
top: 0,
|
|
6584
6584
|
right: 0,
|
|
6585
6585
|
gap: 0
|
|
6586
6586
|
}, Ut = 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
6590
|
return [Ut(t), Ut(n), Ut(c)];
|
|
6591
|
-
},
|
|
6591
|
+
}, C7 = function(e) {
|
|
6592
6592
|
if (e === void 0 && (e = "margin"), typeof window > "u")
|
|
6593
|
-
return
|
|
6594
|
-
var r =
|
|
6593
|
+
return d7;
|
|
6594
|
+
var r = p7(e), t = document.documentElement.clientWidth, n = window.innerWidth;
|
|
6595
6595
|
return {
|
|
6596
6596
|
left: r[0],
|
|
6597
6597
|
top: r[1],
|
|
6598
6598
|
right: r[2],
|
|
6599
6599
|
gap: Math.max(0, n - t + r[2] - r[0])
|
|
6600
6600
|
};
|
|
6601
|
-
},
|
|
6601
|
+
}, g7 = M4(), ve = "data-scroll-locked", x7 = function(e, r, t, n) {
|
|
6602
6602
|
var c = e.left, o = e.top, i = e.right, A = e.gap;
|
|
6603
6603
|
return t === void 0 && (t = "margin"), `
|
|
6604
|
-
.`.concat(
|
|
6604
|
+
.`.concat(Eo, ` {
|
|
6605
6605
|
overflow: hidden `).concat(n, `;
|
|
6606
6606
|
padding-right: `).concat(A, "px ").concat(n, `;
|
|
6607
6607
|
}
|
|
@@ -6639,26 +6639,26 @@ var so = function() {
|
|
|
6639
6639
|
}
|
|
6640
6640
|
|
|
6641
6641
|
body[`).concat(ve, `] {
|
|
6642
|
-
`).concat(
|
|
6642
|
+
`).concat(_o, ": ").concat(A, `px;
|
|
6643
6643
|
}
|
|
6644
6644
|
`);
|
|
6645
6645
|
}, Y5 = function() {
|
|
6646
6646
|
var e = parseInt(document.body.getAttribute(ve) || "0", 10);
|
|
6647
6647
|
return isFinite(e) ? e : 0;
|
|
6648
|
-
},
|
|
6648
|
+
}, m7 = function() {
|
|
6649
6649
|
l.useEffect(function() {
|
|
6650
6650
|
return document.body.setAttribute(ve, (Y5() + 1).toString()), function() {
|
|
6651
6651
|
var e = Y5() - 1;
|
|
6652
6652
|
e <= 0 ? document.body.removeAttribute(ve) : document.body.setAttribute(ve, e.toString());
|
|
6653
6653
|
};
|
|
6654
6654
|
}, []);
|
|
6655
|
-
},
|
|
6655
|
+
}, j7 = function(e) {
|
|
6656
6656
|
var r = e.noRelative, t = e.noImportant, n = e.gapMode, c = n === void 0 ? "margin" : n;
|
|
6657
|
-
|
|
6657
|
+
m7();
|
|
6658
6658
|
var o = l.useMemo(function() {
|
|
6659
|
-
return
|
|
6659
|
+
return C7(c);
|
|
6660
6660
|
}, [c]);
|
|
6661
|
-
return l.createElement(
|
|
6661
|
+
return l.createElement(g7, { styles: x7(o, !r, c, t ? "" : "!important") });
|
|
6662
6662
|
}, Yt = !1;
|
|
6663
6663
|
if (typeof window < "u")
|
|
6664
6664
|
try {
|
|
@@ -6671,7 +6671,7 @@ if (typeof window < "u")
|
|
|
6671
6671
|
} catch {
|
|
6672
6672
|
Yt = !1;
|
|
6673
6673
|
}
|
|
6674
|
-
var Ie = Yt ? { passive: !1 } : !1,
|
|
6674
|
+
var Ie = Yt ? { passive: !1 } : !1, f7 = function(e) {
|
|
6675
6675
|
return e.tagName === "TEXTAREA";
|
|
6676
6676
|
}, v4 = function(e, r) {
|
|
6677
6677
|
if (!(e instanceof Element))
|
|
@@ -6680,11 +6680,11 @@ var Ie = Yt ? { passive: !1 } : !1, fo = function(e) {
|
|
|
6680
6680
|
return (
|
|
6681
6681
|
// not-not-scrollable
|
|
6682
6682
|
t[r] !== "hidden" && // contains scroll inside self
|
|
6683
|
-
!(t.overflowY === t.overflowX && !
|
|
6683
|
+
!(t.overflowY === t.overflowX && !f7(e) && t[r] === "visible")
|
|
6684
6684
|
);
|
|
6685
|
-
},
|
|
6685
|
+
}, V7 = function(e) {
|
|
6686
6686
|
return v4(e, "overflowY");
|
|
6687
|
-
},
|
|
6687
|
+
}, O7 = function(e) {
|
|
6688
6688
|
return v4(e, "overflowX");
|
|
6689
6689
|
}, L5 = function(e, r) {
|
|
6690
6690
|
var t = r.ownerDocument, n = r;
|
|
@@ -6699,14 +6699,14 @@ var Ie = Yt ? { passive: !1 } : !1, fo = function(e) {
|
|
|
6699
6699
|
n = n.parentNode;
|
|
6700
6700
|
} while (n && n !== t.body);
|
|
6701
6701
|
return !1;
|
|
6702
|
-
},
|
|
6702
|
+
}, y7 = function(e) {
|
|
6703
6703
|
var r = e.scrollTop, t = e.scrollHeight, n = e.clientHeight;
|
|
6704
6704
|
return [
|
|
6705
6705
|
r,
|
|
6706
6706
|
t,
|
|
6707
6707
|
n
|
|
6708
6708
|
];
|
|
6709
|
-
},
|
|
6709
|
+
}, z7 = function(e) {
|
|
6710
6710
|
var r = e.scrollLeft, t = e.scrollWidth, n = e.clientWidth;
|
|
6711
6711
|
return [
|
|
6712
6712
|
r,
|
|
@@ -6714,13 +6714,13 @@ var Ie = Yt ? { passive: !1 } : !1, fo = function(e) {
|
|
|
6714
6714
|
n
|
|
6715
6715
|
];
|
|
6716
6716
|
}, K4 = function(e, r) {
|
|
6717
|
-
return e === "v" ?
|
|
6717
|
+
return e === "v" ? V7(r) : O7(r);
|
|
6718
6718
|
}, N4 = function(e, r) {
|
|
6719
|
-
return e === "v" ?
|
|
6720
|
-
},
|
|
6719
|
+
return e === "v" ? y7(r) : z7(r);
|
|
6720
|
+
}, H7 = function(e, r) {
|
|
6721
6721
|
return e === "h" && r === "rtl" ? -1 : 1;
|
|
6722
|
-
},
|
|
6723
|
-
var o =
|
|
6722
|
+
}, k7 = function(e, r, t, n, c) {
|
|
6723
|
+
var o = H7(e, window.getComputedStyle(r).direction), i = o * n, A = t.target, s = r.contains(A), d = !1, u = i > 0, p = 0, C = 0;
|
|
6724
6724
|
do {
|
|
6725
6725
|
if (!A)
|
|
6726
6726
|
break;
|
|
@@ -6740,22 +6740,22 @@ var Ie = Yt ? { passive: !1 } : !1, fo = function(e) {
|
|
|
6740
6740
|
return [e.deltaX, e.deltaY];
|
|
6741
6741
|
}, Q5 = function(e) {
|
|
6742
6742
|
return e && "current" in e ? e.current : e;
|
|
6743
|
-
},
|
|
6743
|
+
}, b7 = function(e, r) {
|
|
6744
6744
|
return e[0] === r[0] && e[1] === r[1];
|
|
6745
|
-
},
|
|
6745
|
+
}, I7 = function(e) {
|
|
6746
6746
|
return `
|
|
6747
6747
|
.block-interactivity-`.concat(e, ` {pointer-events: none;}
|
|
6748
6748
|
.allow-interactivity-`).concat(e, ` {pointer-events: all;}
|
|
6749
6749
|
`);
|
|
6750
|
-
},
|
|
6751
|
-
function
|
|
6752
|
-
var r = l.useRef([]), t = l.useRef([0, 0]), n = l.useRef(), c = l.useState(
|
|
6750
|
+
}, P7 = 0, Pe = [];
|
|
6751
|
+
function M7(e) {
|
|
6752
|
+
var r = l.useRef([]), t = l.useRef([0, 0]), n = l.useRef(), c = l.useState(P7++)[0], o = l.useState(M4)[0], i = l.useRef(e);
|
|
6753
6753
|
l.useEffect(function() {
|
|
6754
6754
|
i.current = e;
|
|
6755
6755
|
}, [e]), l.useEffect(function() {
|
|
6756
6756
|
if (e.inert) {
|
|
6757
6757
|
document.body.classList.add("block-interactivity-".concat(c));
|
|
6758
|
-
var m =
|
|
6758
|
+
var m = Qo([e.lockRef.current], (e.shards || []).map(Q5), !0).filter(Boolean);
|
|
6759
6759
|
return m.forEach(function(f) {
|
|
6760
6760
|
return f.classList.add("allow-interactivity-".concat(c));
|
|
6761
6761
|
}), function() {
|
|
@@ -6768,7 +6768,7 @@ function Mo(e) {
|
|
|
6768
6768
|
var A = l.useCallback(function(m, f) {
|
|
6769
6769
|
if ("touches" in m && m.touches.length === 2 || m.type === "wheel" && m.ctrlKey)
|
|
6770
6770
|
return !i.current.allowPinchZoom;
|
|
6771
|
-
var O = Pr(m), y = t.current,
|
|
6771
|
+
var O = Pr(m), y = t.current, H = "deltaX" in m ? m.deltaX : y[0] - O[0], z = "deltaY" in m ? m.deltaY : y[1] - O[1], k, P = m.target, v = Math.abs(H) > Math.abs(z) ? "h" : "v";
|
|
6772
6772
|
if ("touches" in m && v === "h" && P.type === "range")
|
|
6773
6773
|
return !1;
|
|
6774
6774
|
var h = window.getSelection(), U = h && h.anchorNode, W = U ? U === P || U.contains(P) : !1;
|
|
@@ -6779,32 +6779,32 @@ function Mo(e) {
|
|
|
6779
6779
|
return !0;
|
|
6780
6780
|
if (w ? k = v : (k = v === "v" ? "h" : "v", w = L5(v, P)), !w)
|
|
6781
6781
|
return !1;
|
|
6782
|
-
if (!n.current && "changedTouches" in m && (
|
|
6782
|
+
if (!n.current && "changedTouches" in m && (H || z) && (n.current = k), !k)
|
|
6783
6783
|
return !0;
|
|
6784
6784
|
var Z = n.current || k;
|
|
6785
|
-
return
|
|
6785
|
+
return k7(Z, f, m, Z === "h" ? H : z);
|
|
6786
6786
|
}, []), s = l.useCallback(function(m) {
|
|
6787
6787
|
var f = m;
|
|
6788
6788
|
if (!(!Pe.length || Pe[Pe.length - 1] !== o)) {
|
|
6789
6789
|
var O = "deltaY" in f ? J5(f) : Pr(f), y = r.current.filter(function(k) {
|
|
6790
|
-
return k.name === f.type && (k.target === f.target || f.target === k.shadowParent) &&
|
|
6790
|
+
return k.name === f.type && (k.target === f.target || f.target === k.shadowParent) && b7(k.delta, O);
|
|
6791
6791
|
})[0];
|
|
6792
6792
|
if (y && y.should) {
|
|
6793
6793
|
f.cancelable && f.preventDefault();
|
|
6794
6794
|
return;
|
|
6795
6795
|
}
|
|
6796
6796
|
if (!y) {
|
|
6797
|
-
var
|
|
6797
|
+
var H = (i.current.shards || []).map(Q5).filter(Boolean).filter(function(k) {
|
|
6798
6798
|
return k.contains(f.target);
|
|
6799
|
-
}),
|
|
6800
|
-
|
|
6799
|
+
}), z = H.length > 0 ? A(f, H[0]) : !i.current.noIsolation;
|
|
6800
|
+
z && f.cancelable && f.preventDefault();
|
|
6801
6801
|
}
|
|
6802
6802
|
}
|
|
6803
6803
|
}, []), d = l.useCallback(function(m, f, O, y) {
|
|
6804
|
-
var
|
|
6805
|
-
r.current.push(
|
|
6806
|
-
r.current = r.current.filter(function(
|
|
6807
|
-
return
|
|
6804
|
+
var H = { name: m, delta: f, target: O, should: y, shadowParent: v7(O) };
|
|
6805
|
+
r.current.push(H), setTimeout(function() {
|
|
6806
|
+
r.current = r.current.filter(function(z) {
|
|
6807
|
+
return z !== H;
|
|
6808
6808
|
});
|
|
6809
6809
|
}, 1);
|
|
6810
6810
|
}, []), u = l.useCallback(function(m) {
|
|
@@ -6829,31 +6829,31 @@ function Mo(e) {
|
|
|
6829
6829
|
return l.createElement(
|
|
6830
6830
|
l.Fragment,
|
|
6831
6831
|
null,
|
|
6832
|
-
x ? l.createElement(o, { styles:
|
|
6833
|
-
g ? l.createElement(
|
|
6832
|
+
x ? l.createElement(o, { styles: I7(c) }) : null,
|
|
6833
|
+
g ? l.createElement(j7, { noRelative: e.noRelative, gapMode: e.gapMode }) : null
|
|
6834
6834
|
);
|
|
6835
6835
|
}
|
|
6836
|
-
function
|
|
6836
|
+
function v7(e) {
|
|
6837
6837
|
for (var r = null; e !== null; )
|
|
6838
6838
|
e instanceof ShadowRoot && (r = e.host, e = e.host), e = e.parentNode;
|
|
6839
6839
|
return r;
|
|
6840
6840
|
}
|
|
6841
|
-
const
|
|
6841
|
+
const K7 = c7(P4, M7);
|
|
6842
6842
|
var S2 = l.forwardRef(function(e, r) {
|
|
6843
|
-
return l.createElement(ot, L1({}, e, { ref: r, sideCar:
|
|
6843
|
+
return l.createElement(ot, L1({}, e, { ref: r, sideCar: K7 }));
|
|
6844
6844
|
});
|
|
6845
6845
|
S2.classNames = ot.classNames;
|
|
6846
|
-
var Lt = ["Enter", " "],
|
|
6846
|
+
var Lt = ["Enter", " "], N7 = ["ArrowDown", "PageUp", "Home"], S4 = ["ArrowUp", "PageDown", "End"], S7 = [...N7, ...S4], q7 = {
|
|
6847
6847
|
ltr: [...Lt, "ArrowRight"],
|
|
6848
6848
|
rtl: [...Lt, "ArrowLeft"]
|
|
6849
|
-
},
|
|
6849
|
+
}, U7 = {
|
|
6850
6850
|
ltr: ["ArrowLeft"],
|
|
6851
6851
|
rtl: ["ArrowRight"]
|
|
6852
|
-
}, gr = "Menu", [ar,
|
|
6853
|
-
|
|
6852
|
+
}, gr = "Menu", [ar, h7, w7] = hn(gr), [Ve, q4] = fe(gr, [
|
|
6853
|
+
w7,
|
|
6854
6854
|
A4,
|
|
6855
6855
|
ct
|
|
6856
|
-
]), it = A4(), U4 = ct(), [
|
|
6856
|
+
]), it = A4(), U4 = ct(), [W7, Oe] = Ve(gr), [T7, xr] = Ve(gr), h4 = (e) => {
|
|
6857
6857
|
const { __scopeMenu: r, open: t = !1, children: n, dir: c, onOpenChange: o, modal: i = !0 } = e, A = it(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 = () => {
|
|
@@ -6867,8 +6867,8 @@ var Lt = ["Enter", " "], No = ["ArrowDown", "PageUp", "Home"], S4 = ["ArrowUp",
|
|
|
6867
6867
|
return;
|
|
6868
6868
|
const g = () => p(!1);
|
|
6869
6869
|
return window.addEventListener("blur", g), () => window.removeEventListener("blur", g);
|
|
6870
|
-
}, [t, p]), /* @__PURE__ */ a.jsx(
|
|
6871
|
-
|
|
6870
|
+
}, [t, p]), /* @__PURE__ */ a.jsx(Ho, { ...A, children: /* @__PURE__ */ a.jsx(
|
|
6871
|
+
W7,
|
|
6872
6872
|
{
|
|
6873
6873
|
scope: r,
|
|
6874
6874
|
open: t,
|
|
@@ -6876,7 +6876,7 @@ var Lt = ["Enter", " "], No = ["ArrowDown", "PageUp", "Home"], S4 = ["ArrowUp",
|
|
|
6876
6876
|
content: s,
|
|
6877
6877
|
onContentChange: d,
|
|
6878
6878
|
children: /* @__PURE__ */ a.jsx(
|
|
6879
|
-
|
|
6879
|
+
T7,
|
|
6880
6880
|
{
|
|
6881
6881
|
scope: r,
|
|
6882
6882
|
onClose: l.useCallback(() => p(!1), [p]),
|
|
@@ -6890,26 +6890,26 @@ var Lt = ["Enter", " "], No = ["ArrowDown", "PageUp", "Home"], S4 = ["ArrowUp",
|
|
|
6890
6890
|
) });
|
|
6891
6891
|
};
|
|
6892
6892
|
h4.displayName = gr;
|
|
6893
|
-
var
|
|
6893
|
+
var R7 = "MenuAnchor", q2 = l.forwardRef(
|
|
6894
6894
|
(e, r) => {
|
|
6895
6895
|
const { __scopeMenu: t, ...n } = e, c = it(t);
|
|
6896
|
-
return /* @__PURE__ */ a.jsx(
|
|
6896
|
+
return /* @__PURE__ */ a.jsx(ko, { ...c, ...n, ref: r });
|
|
6897
6897
|
}
|
|
6898
6898
|
);
|
|
6899
|
-
q2.displayName =
|
|
6900
|
-
var U2 = "MenuPortal", [
|
|
6899
|
+
q2.displayName = R7;
|
|
6900
|
+
var U2 = "MenuPortal", [F7, w4] = Ve(U2, {
|
|
6901
6901
|
forceMount: void 0
|
|
6902
6902
|
}), W4 = (e) => {
|
|
6903
6903
|
const { __scopeMenu: r, forceMount: t, children: n, container: c } = e, o = Oe(U2, r);
|
|
6904
|
-
return /* @__PURE__ */ a.jsx(
|
|
6904
|
+
return /* @__PURE__ */ a.jsx(F7, { scope: r, forceMount: t, children: /* @__PURE__ */ a.jsx(ae, { present: t || o.open, children: /* @__PURE__ */ a.jsx(N2, { asChild: !0, container: c, children: n }) }) });
|
|
6905
6905
|
};
|
|
6906
6906
|
W4.displayName = U2;
|
|
6907
|
-
var w1 = "MenuContent", [
|
|
6907
|
+
var w1 = "MenuContent", [G7, h2] = Ve(w1), T4 = l.forwardRef(
|
|
6908
6908
|
(e, r) => {
|
|
6909
6909
|
const t = w4(w1, e.__scopeMenu), { forceMount: n = t.forceMount, ...c } = e, o = Oe(w1, e.__scopeMenu), i = xr(w1, e.__scopeMenu);
|
|
6910
|
-
return /* @__PURE__ */ a.jsx(ar.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ a.jsx(ae, { present: n || o.open, children: /* @__PURE__ */ a.jsx(ar.Slot, { scope: e.__scopeMenu, children: i.modal ? /* @__PURE__ */ a.jsx(
|
|
6910
|
+
return /* @__PURE__ */ a.jsx(ar.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ a.jsx(ae, { present: n || o.open, children: /* @__PURE__ */ a.jsx(ar.Slot, { scope: e.__scopeMenu, children: i.modal ? /* @__PURE__ */ a.jsx(D7, { ...c, ref: r }) : /* @__PURE__ */ a.jsx(X7, { ...c, ref: r }) }) }) });
|
|
6911
6911
|
}
|
|
6912
|
-
),
|
|
6912
|
+
), D7 = l.forwardRef(
|
|
6913
6913
|
(e, r) => {
|
|
6914
6914
|
const t = Oe(w1, e.__scopeMenu), n = l.useRef(null), c = j1(r, n);
|
|
6915
6915
|
return l.useEffect(() => {
|
|
@@ -6932,7 +6932,7 @@ var w1 = "MenuContent", [Go, h2] = Ve(w1), T4 = l.forwardRef(
|
|
|
6932
6932
|
}
|
|
6933
6933
|
);
|
|
6934
6934
|
}
|
|
6935
|
-
),
|
|
6935
|
+
), X7 = l.forwardRef((e, r) => {
|
|
6936
6936
|
const t = Oe(w1, e.__scopeMenu);
|
|
6937
6937
|
return /* @__PURE__ */ a.jsx(
|
|
6938
6938
|
w2,
|
|
@@ -6945,7 +6945,7 @@ var w1 = "MenuContent", [Go, h2] = Ve(w1), T4 = l.forwardRef(
|
|
|
6945
6945
|
onDismiss: () => t.onOpenChange(!1)
|
|
6946
6946
|
}
|
|
6947
6947
|
);
|
|
6948
|
-
}),
|
|
6948
|
+
}), B7 = /* @__PURE__ */ tr("MenuContent.ScrollLock"), w2 = l.forwardRef(
|
|
6949
6949
|
(e, r) => {
|
|
6950
6950
|
const {
|
|
6951
6951
|
__scopeMenu: t,
|
|
@@ -6962,9 +6962,9 @@ var w1 = "MenuContent", [Go, 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 = it(t),
|
|
6965
|
+
} = e, f = Oe(w1, t), O = xr(w1, t), y = it(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
|
-
const N = W.current + b, T =
|
|
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) {
|
|
6969
6969
|
W.current = i1, window.clearTimeout(U.current), i1 !== "" && (U.current = window.setTimeout(() => e1(""), 1e3));
|
|
6970
6970
|
})(N), c1 && setTimeout(() => c1.focus());
|
|
@@ -6975,7 +6975,7 @@ var w1 = "MenuContent", [Go, h2] = Ve(w1), T4 = l.forwardRef(
|
|
|
6975
6975
|
return R.current === ((T = Z.current) == null ? void 0 : T.side) && c6(b, (G = Z.current) == null ? void 0 : G.area);
|
|
6976
6976
|
}, []);
|
|
6977
6977
|
return /* @__PURE__ */ a.jsx(
|
|
6978
|
-
|
|
6978
|
+
G7,
|
|
6979
6979
|
{
|
|
6980
6980
|
scope: t,
|
|
6981
6981
|
searchRef: W,
|
|
@@ -7026,7 +7026,7 @@ var w1 = "MenuContent", [Go, h2] = Ve(w1), T4 = l.forwardRef(
|
|
|
7026
7026
|
y4,
|
|
7027
7027
|
{
|
|
7028
7028
|
asChild: !0,
|
|
7029
|
-
...
|
|
7029
|
+
...H,
|
|
7030
7030
|
dir: O.dir,
|
|
7031
7031
|
orientation: "vertical",
|
|
7032
7032
|
loop: n,
|
|
@@ -7037,7 +7037,7 @@ var w1 = "MenuContent", [Go, h2] = Ve(w1), T4 = l.forwardRef(
|
|
|
7037
7037
|
}),
|
|
7038
7038
|
preventScrollOnEntryFocus: !0,
|
|
7039
7039
|
children: /* @__PURE__ */ a.jsx(
|
|
7040
|
-
|
|
7040
|
+
bo,
|
|
7041
7041
|
{
|
|
7042
7042
|
role: "menu",
|
|
7043
7043
|
"aria-orientation": "vertical",
|
|
@@ -7052,9 +7052,9 @@ var w1 = "MenuContent", [Go, h2] = Ve(w1), T4 = l.forwardRef(
|
|
|
7052
7052
|
const T = b.target.closest("[data-radix-menu-content]") === b.currentTarget, G = b.ctrlKey || b.altKey || b.metaKey, n1 = b.key.length === 1;
|
|
7053
7053
|
T && (b.key === "Tab" && b.preventDefault(), !G && n1 && _(b.key));
|
|
7054
7054
|
const L = v.current;
|
|
7055
|
-
if (b.target !== L || !
|
|
7055
|
+
if (b.target !== L || !S7.includes(b.key)) return;
|
|
7056
7056
|
b.preventDefault();
|
|
7057
|
-
const c1 =
|
|
7057
|
+
const c1 = z().filter((E) => !E.disabled).map((E) => E.ref.current);
|
|
7058
7058
|
S4.includes(b.key) && c1.reverse(), r6(c1);
|
|
7059
7059
|
}),
|
|
7060
7060
|
onBlur: B(e.onBlur, (b) => {
|
|
@@ -7083,20 +7083,20 @@ var w1 = "MenuContent", [Go, h2] = Ve(w1), T4 = l.forwardRef(
|
|
|
7083
7083
|
}
|
|
7084
7084
|
);
|
|
7085
7085
|
T4.displayName = w1;
|
|
7086
|
-
var
|
|
7086
|
+
var Z7 = "MenuGroup", W2 = l.forwardRef(
|
|
7087
7087
|
(e, r) => {
|
|
7088
7088
|
const { __scopeMenu: t, ...n } = e;
|
|
7089
7089
|
return /* @__PURE__ */ a.jsx(s1.div, { role: "group", ...n, ref: r });
|
|
7090
7090
|
}
|
|
7091
7091
|
);
|
|
7092
|
-
W2.displayName =
|
|
7093
|
-
var
|
|
7092
|
+
W2.displayName = Z7;
|
|
7093
|
+
var Y7 = "MenuLabel", R4 = l.forwardRef(
|
|
7094
7094
|
(e, r) => {
|
|
7095
7095
|
const { __scopeMenu: t, ...n } = e;
|
|
7096
7096
|
return /* @__PURE__ */ a.jsx(s1.div, { ...n, ref: r });
|
|
7097
7097
|
}
|
|
7098
7098
|
);
|
|
7099
|
-
R4.displayName =
|
|
7099
|
+
R4.displayName = Y7;
|
|
7100
7100
|
var Rr = "MenuItem", E5 = "menu.itemSelect", At = 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 = () => {
|
|
@@ -7141,7 +7141,7 @@ var F4 = l.forwardRef(
|
|
|
7141
7141
|
scope: t,
|
|
7142
7142
|
disabled: n,
|
|
7143
7143
|
textValue: c ?? C,
|
|
7144
|
-
children: /* @__PURE__ */ a.jsx(
|
|
7144
|
+
children: /* @__PURE__ */ a.jsx(z4, { asChild: !0, ...A, focusable: !n, children: /* @__PURE__ */ a.jsx(
|
|
7145
7145
|
s1.div,
|
|
7146
7146
|
{
|
|
7147
7147
|
role: "menuitem",
|
|
@@ -7167,7 +7167,7 @@ var F4 = l.forwardRef(
|
|
|
7167
7167
|
}
|
|
7168
7168
|
);
|
|
7169
7169
|
}
|
|
7170
|
-
),
|
|
7170
|
+
), L7 = "MenuCheckboxItem", G4 = 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(
|
|
@@ -7187,21 +7187,21 @@ var F4 = l.forwardRef(
|
|
|
7187
7187
|
) });
|
|
7188
7188
|
}
|
|
7189
7189
|
);
|
|
7190
|
-
G4.displayName =
|
|
7191
|
-
var D4 = "MenuRadioGroup", [
|
|
7190
|
+
G4.displayName = L7;
|
|
7191
|
+
var D4 = "MenuRadioGroup", [J7, Q7] = Ve(
|
|
7192
7192
|
D4,
|
|
7193
7193
|
{ value: void 0, onValueChange: () => {
|
|
7194
7194
|
} }
|
|
7195
7195
|
), X4 = l.forwardRef(
|
|
7196
7196
|
(e, r) => {
|
|
7197
7197
|
const { value: t, onValueChange: n, ...c } = e, o = ee(n);
|
|
7198
|
-
return /* @__PURE__ */ a.jsx(
|
|
7198
|
+
return /* @__PURE__ */ a.jsx(J7, { scope: e.__scopeMenu, value: t, onValueChange: o, children: /* @__PURE__ */ a.jsx(W2, { ...c, ref: r }) });
|
|
7199
7199
|
}
|
|
7200
7200
|
);
|
|
7201
7201
|
X4.displayName = D4;
|
|
7202
7202
|
var B4 = "MenuRadioItem", Z4 = l.forwardRef(
|
|
7203
7203
|
(e, r) => {
|
|
7204
|
-
const { value: t, ...n } = e, c =
|
|
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
|
At,
|
|
7207
7207
|
{
|
|
@@ -7223,12 +7223,12 @@ var B4 = "MenuRadioItem", Z4 = l.forwardRef(
|
|
|
7223
7223
|
}
|
|
7224
7224
|
);
|
|
7225
7225
|
Z4.displayName = B4;
|
|
7226
|
-
var T2 = "MenuItemIndicator", [Y4,
|
|
7226
|
+
var T2 = "MenuItemIndicator", [Y4, E7] = Ve(
|
|
7227
7227
|
T2,
|
|
7228
7228
|
{ checked: !1 }
|
|
7229
7229
|
), L4 = l.forwardRef(
|
|
7230
7230
|
(e, r) => {
|
|
7231
|
-
const { __scopeMenu: t, forceMount: n, ...c } = e, o =
|
|
7231
|
+
const { __scopeMenu: t, forceMount: n, ...c } = e, o = E7(T2, t);
|
|
7232
7232
|
return /* @__PURE__ */ a.jsx(
|
|
7233
7233
|
ae,
|
|
7234
7234
|
{
|
|
@@ -7246,7 +7246,7 @@ var T2 = "MenuItemIndicator", [Y4, Eo] = Ve(
|
|
|
7246
7246
|
}
|
|
7247
7247
|
);
|
|
7248
7248
|
L4.displayName = T2;
|
|
7249
|
-
var
|
|
7249
|
+
var _7 = "MenuSeparator", J4 = l.forwardRef(
|
|
7250
7250
|
(e, r) => {
|
|
7251
7251
|
const { __scopeMenu: t, ...n } = e;
|
|
7252
7252
|
return /* @__PURE__ */ a.jsx(
|
|
@@ -7260,15 +7260,15 @@ var _o = "MenuSeparator", J4 = l.forwardRef(
|
|
|
7260
7260
|
);
|
|
7261
7261
|
}
|
|
7262
7262
|
);
|
|
7263
|
-
J4.displayName =
|
|
7264
|
-
var $
|
|
7263
|
+
J4.displayName = _7;
|
|
7264
|
+
var $7 = "MenuArrow", Q4 = l.forwardRef(
|
|
7265
7265
|
(e, r) => {
|
|
7266
7266
|
const { __scopeMenu: t, ...n } = e, c = it(t);
|
|
7267
|
-
return /* @__PURE__ */ a.jsx(
|
|
7267
|
+
return /* @__PURE__ */ a.jsx(Io, { ...c, ...n, ref: r });
|
|
7268
7268
|
}
|
|
7269
7269
|
);
|
|
7270
|
-
Q4.displayName = $
|
|
7271
|
-
var e6 = "MenuSub", [
|
|
7270
|
+
Q4.displayName = $7;
|
|
7271
|
+
var e6 = "MenuSub", [Hl, E4] = Ve(e6), _e = "MenuSubTrigger", _4 = l.forwardRef(
|
|
7272
7272
|
(e, r) => {
|
|
7273
7273
|
const t = Oe(_e, e.__scopeMenu), n = xr(_e, e.__scopeMenu), c = E4(_e, e.__scopeMenu), o = h2(_e, e.__scopeMenu), i = l.useRef(null), { pointerGraceTimerRef: A, onPointerGraceIntentChange: s } = o, d = { __scopeMenu: e.__scopeMenu }, u = l.useCallback(() => {
|
|
7274
7274
|
i.current && window.clearTimeout(i.current), i.current = null;
|
|
@@ -7309,16 +7309,16 @@ var e6 = "MenuSub", [bl, E4] = Ve(e6), _e = "MenuSubTrigger", _4 = l.forwardRef(
|
|
|
7309
7309
|
u();
|
|
7310
7310
|
const g = (x = t.content) == null ? void 0 : x.getBoundingClientRect();
|
|
7311
7311
|
if (g) {
|
|
7312
|
-
const f = (m = t.content) == null ? void 0 : m.dataset.side, O = f === "right", y = O ? -5 : 5,
|
|
7312
|
+
const f = (m = t.content) == null ? void 0 : m.dataset.side, O = f === "right", y = O ? -5 : 5, H = g[O ? "left" : "right"], z = g[O ? "right" : "left"];
|
|
7313
7313
|
o.onPointerGraceIntentChange({
|
|
7314
7314
|
area: [
|
|
7315
7315
|
// Apply a bleed on clientX to ensure that our exit point is
|
|
7316
7316
|
// consistently within polygon bounds
|
|
7317
7317
|
{ x: C.clientX + y, y: C.clientY },
|
|
7318
|
-
{ x: z, y: g.top },
|
|
7319
7318
|
{ x: H, y: g.top },
|
|
7320
|
-
{ x:
|
|
7321
|
-
{ x: z, y: g.bottom }
|
|
7319
|
+
{ x: z, y: g.top },
|
|
7320
|
+
{ x: z, y: g.bottom },
|
|
7321
|
+
{ x: H, y: g.bottom }
|
|
7322
7322
|
],
|
|
7323
7323
|
side: f
|
|
7324
7324
|
}), window.clearTimeout(A.current), A.current = window.setTimeout(
|
|
@@ -7333,7 +7333,7 @@ var e6 = "MenuSub", [bl, E4] = Ve(e6), _e = "MenuSubTrigger", _4 = l.forwardRef(
|
|
|
7333
7333
|
),
|
|
7334
7334
|
onKeyDown: B(e.onKeyDown, (C) => {
|
|
7335
7335
|
var x;
|
|
7336
|
-
e.disabled || C.target !== C.currentTarget || o.searchRef.current !== "" && C.key === " " ||
|
|
7336
|
+
e.disabled || C.target !== C.currentTarget || o.searchRef.current !== "" && C.key === " " || q7[n.dir].includes(C.key) && (t.onOpenChange(!0), (x = t.content) == null || x.focus(), C.preventDefault());
|
|
7337
7337
|
})
|
|
7338
7338
|
}
|
|
7339
7339
|
) });
|
|
@@ -7368,7 +7368,7 @@ var $4 = "MenuSubContent", ea = l.forwardRef(
|
|
|
7368
7368
|
}),
|
|
7369
7369
|
onKeyDown: B(e.onKeyDown, (p) => {
|
|
7370
7370
|
var x;
|
|
7371
|
-
const C = p.currentTarget.contains(p.target), g =
|
|
7371
|
+
const C = p.currentTarget.contains(p.target), g = U7[A.dir].includes(p.key);
|
|
7372
7372
|
C && g && (i.onOpenChange(!1), (x = s.trigger) == null || x.focus(), p.preventDefault());
|
|
7373
7373
|
})
|
|
7374
7374
|
}
|
|
@@ -7480,11 +7480,11 @@ var aa = "DropdownMenuTrigger", ca = l.forwardRef(
|
|
|
7480
7480
|
}
|
|
7481
7481
|
);
|
|
7482
7482
|
ca.displayName = aa;
|
|
7483
|
-
var
|
|
7483
|
+
var z6 = "DropdownMenuPortal", oa = (e) => {
|
|
7484
7484
|
const { __scopeDropdownMenu: r, ...t } = e, n = I1(r);
|
|
7485
7485
|
return /* @__PURE__ */ a.jsx(A6, { ...n, ...t });
|
|
7486
7486
|
};
|
|
7487
|
-
oa.displayName =
|
|
7487
|
+
oa.displayName = z6;
|
|
7488
7488
|
var ia = "DropdownMenuContent", Aa = l.forwardRef(
|
|
7489
7489
|
(e, r) => {
|
|
7490
7490
|
const { __scopeDropdownMenu: t, ...n } = e, c = ta(ia, t), o = I1(t), i = l.useRef(!1);
|
|
@@ -7517,13 +7517,13 @@ var ia = "DropdownMenuContent", Aa = l.forwardRef(
|
|
|
7517
7517
|
}
|
|
7518
7518
|
);
|
|
7519
7519
|
Aa.displayName = ia;
|
|
7520
|
-
var
|
|
7520
|
+
var H6 = "DropdownMenuGroup", k6 = l.forwardRef(
|
|
7521
7521
|
(e, r) => {
|
|
7522
7522
|
const { __scopeDropdownMenu: t, ...n } = e, c = I1(t);
|
|
7523
7523
|
return /* @__PURE__ */ a.jsx(l6, { ...c, ...n, ref: r });
|
|
7524
7524
|
}
|
|
7525
7525
|
);
|
|
7526
|
-
k6.displayName =
|
|
7526
|
+
k6.displayName = H6;
|
|
7527
7527
|
var b6 = "DropdownMenuLabel", I6 = l.forwardRef(
|
|
7528
7528
|
(e, r) => {
|
|
7529
7529
|
const { __scopeDropdownMenu: t, ...n } = e, c = I1(t);
|
|
@@ -7633,7 +7633,7 @@ const F2 = ({
|
|
|
7633
7633
|
),
|
|
7634
7634
|
...r
|
|
7635
7635
|
}
|
|
7636
|
-
),
|
|
7636
|
+
), kl = () => /* @__PURE__ */ a.jsx(J6, { className: "my-1 h-px bg-divider-primary" }), Q6 = {
|
|
7637
7637
|
idle: "bg-action-primary-idle text-action-primary-on-idle",
|
|
7638
7638
|
hover: "bg-action-primary-hover text-action-primary-on-hover",
|
|
7639
7639
|
disabled: "bg-action-primary-disabled text-action-primary-on-disabled"
|
|
@@ -7691,13 +7691,13 @@ const F2 = ({
|
|
|
7691
7691
|
onClick: p,
|
|
7692
7692
|
...C
|
|
7693
7693
|
}) => {
|
|
7694
|
-
const x = _5(t ?? n), m = x != null, f = !!(c != null && c.length), O = !(c != null && c.some((U) => !U.disabled)), y = $5(r, A),
|
|
7694
|
+
const x = _5(t ?? n), m = x != null, f = !!(c != null && c.length), O = !(c != null && c.some((U) => !U.disabled)), y = $5(r, A), H = $5(O, A), z = en(
|
|
7695
7695
|
e,
|
|
7696
7696
|
y,
|
|
7697
7697
|
A
|
|
7698
7698
|
), k = en(
|
|
7699
7699
|
e,
|
|
7700
|
-
|
|
7700
|
+
H,
|
|
7701
7701
|
A
|
|
7702
7702
|
), P = /* @__PURE__ */ a.jsxs(
|
|
7703
7703
|
"span",
|
|
@@ -7722,7 +7722,7 @@ const F2 = ({
|
|
|
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
|
),
|
|
7728
7728
|
...C,
|
|
@@ -7738,7 +7738,7 @@ const F2 = ({
|
|
|
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
|
-
rn(e, "main",
|
|
7741
|
+
rn(e, "main", z)
|
|
7742
7742
|
),
|
|
7743
7743
|
...C,
|
|
7744
7744
|
children: P
|
|
@@ -7754,7 +7754,7 @@ const F2 = ({
|
|
|
7754
7754
|
wt(O),
|
|
7755
7755
|
rn(e, "dropdown", k)
|
|
7756
7756
|
),
|
|
7757
|
-
children: /* @__PURE__ */ a.jsx(
|
|
7757
|
+
children: /* @__PURE__ */ a.jsx(z1, { direction: "down", size: "small" })
|
|
7758
7758
|
}
|
|
7759
7759
|
);
|
|
7760
7760
|
return /* @__PURE__ */ a.jsxs(
|
|
@@ -8090,7 +8090,7 @@ var V3 = [
|
|
|
8090
8090
|
"span",
|
|
8091
8091
|
"svg",
|
|
8092
8092
|
"ul"
|
|
8093
|
-
],
|
|
8093
|
+
], ze = V3.reduce((e, r) => {
|
|
8094
8094
|
const t = /* @__PURE__ */ C3(`Primitive.${r}`), n = l.forwardRef((c, o) => {
|
|
8095
8095
|
const { asChild: i, ...A } = c, s = i ? t : r;
|
|
8096
8096
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ a.jsx(s, { ...A, ref: o });
|
|
@@ -8118,7 +8118,7 @@ function y3(e) {
|
|
|
8118
8118
|
return (n = r.current) == null ? void 0 : n.call(r, ...t);
|
|
8119
8119
|
}, []);
|
|
8120
8120
|
}
|
|
8121
|
-
function
|
|
8121
|
+
function z3(e, r = globalThis == null ? void 0 : globalThis.document) {
|
|
8122
8122
|
const t = y3(e);
|
|
8123
8123
|
l.useEffect(() => {
|
|
8124
8124
|
const n = (c) => {
|
|
@@ -8127,7 +8127,7 @@ function H3(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
|
|
8130
|
+
var H3 = "DismissableLayer", Jt = "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()
|
|
@@ -8141,14 +8141,14 @@ var z3 = "DismissableLayer", Jt = "dismissableLayer.update", k3 = "dismissableLa
|
|
|
8141
8141
|
onInteractOutside: i,
|
|
8142
8142
|
onDismiss: A,
|
|
8143
8143
|
...s
|
|
8144
|
-
} = e, d = l.useContext(xa), [u, p] = l.useState(null), C = (u == null ? void 0 : u.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, g] = l.useState({}), x = ye(r, (v) => p(v)), m = Array.from(d.layers), [f] = [...d.layersWithOutsidePointerEventsDisabled].slice(-1), O = m.indexOf(f), y = u ? m.indexOf(u) : -1,
|
|
8144
|
+
} = e, d = l.useContext(xa), [u, p] = l.useState(null), C = (u == null ? void 0 : u.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, g] = l.useState({}), x = ye(r, (v) => p(v)), m = Array.from(d.layers), [f] = [...d.layersWithOutsidePointerEventsDisabled].slice(-1), O = m.indexOf(f), y = u ? m.indexOf(u) : -1, H = d.layersWithOutsidePointerEventsDisabled.size > 0, z = y >= O, k = M3((v) => {
|
|
8145
8145
|
const h = v.target, U = [...d.branches].some((W) => W.contains(h));
|
|
8146
|
-
!
|
|
8146
|
+
!z || U || (c == null || c(v), i == null || i(v), v.defaultPrevented || A == null || A());
|
|
8147
8147
|
}, C), P = v3((v) => {
|
|
8148
8148
|
const h = v.target;
|
|
8149
8149
|
[...d.branches].some((W) => W.contains(h)) || (o == null || o(v), i == null || i(v), v.defaultPrevented || A == null || A());
|
|
8150
8150
|
}, C);
|
|
8151
|
-
return
|
|
8151
|
+
return z3((v) => {
|
|
8152
8152
|
y === d.layers.size - 1 && (n == null || n(v), !v.defaultPrevented && A && (v.preventDefault(), A()));
|
|
8153
8153
|
}, C), l.useEffect(() => {
|
|
8154
8154
|
if (u)
|
|
@@ -8161,12 +8161,12 @@ var z3 = "DismissableLayer", Jt = "dismissableLayer.update", k3 = "dismissableLa
|
|
|
8161
8161
|
const v = () => g({});
|
|
8162
8162
|
return document.addEventListener(Jt, v), () => document.removeEventListener(Jt, v);
|
|
8163
8163
|
}, []), /* @__PURE__ */ a.jsx(
|
|
8164
|
-
|
|
8164
|
+
ze.div,
|
|
8165
8165
|
{
|
|
8166
8166
|
...s,
|
|
8167
8167
|
ref: x,
|
|
8168
8168
|
style: {
|
|
8169
|
-
pointerEvents:
|
|
8169
|
+
pointerEvents: H ? z ? "auto" : "none" : void 0,
|
|
8170
8170
|
...e.style
|
|
8171
8171
|
},
|
|
8172
8172
|
onFocusCapture: $1(e.onFocusCapture, P.onFocusCapture),
|
|
@@ -8179,7 +8179,7 @@ var z3 = "DismissableLayer", Jt = "dismissableLayer.update", k3 = "dismissableLa
|
|
|
8179
8179
|
);
|
|
8180
8180
|
}
|
|
8181
8181
|
);
|
|
8182
|
-
ma.displayName =
|
|
8182
|
+
ma.displayName = H3;
|
|
8183
8183
|
var I3 = "DismissableLayerBranch", P3 = l.forwardRef((e, r) => {
|
|
8184
8184
|
const t = l.useContext(xa), n = l.useRef(null), c = ye(r, n);
|
|
8185
8185
|
return l.useEffect(() => {
|
|
@@ -8188,7 +8188,7 @@ var I3 = "DismissableLayerBranch", P3 = l.forwardRef((e, r) => {
|
|
|
8188
8188
|
return t.branches.add(o), () => {
|
|
8189
8189
|
t.branches.delete(o);
|
|
8190
8190
|
};
|
|
8191
|
-
}, [t.branches]), /* @__PURE__ */ a.jsx(
|
|
8191
|
+
}, [t.branches]), /* @__PURE__ */ a.jsx(ze.div, { ...e, ref: c });
|
|
8192
8192
|
});
|
|
8193
8193
|
P3.displayName = I3;
|
|
8194
8194
|
function M3(e, r = globalThis == null ? void 0 : globalThis.document) {
|
|
@@ -8255,7 +8255,7 @@ function S3(e) {
|
|
|
8255
8255
|
var q3 = "Arrow", fa = l.forwardRef((e, r) => {
|
|
8256
8256
|
const { children: t, width: n = 10, height: c = 5, ...o } = e;
|
|
8257
8257
|
return /* @__PURE__ */ a.jsx(
|
|
8258
|
-
|
|
8258
|
+
ze.svg,
|
|
8259
8259
|
{
|
|
8260
8260
|
...o,
|
|
8261
8261
|
ref: r,
|
|
@@ -8291,24 +8291,24 @@ function h3(e) {
|
|
|
8291
8291
|
t(void 0);
|
|
8292
8292
|
}, [e]), r;
|
|
8293
8293
|
}
|
|
8294
|
-
var B2 = "Popper", [Va, Oa] = Ca(B2), [w3, ya] = Va(B2),
|
|
8294
|
+
var B2 = "Popper", [Va, Oa] = Ca(B2), [w3, ya] = Va(B2), za = (e) => {
|
|
8295
8295
|
const { __scopePopper: r, children: t } = e, [n, c] = l.useState(null);
|
|
8296
8296
|
return /* @__PURE__ */ a.jsx(w3, { scope: r, anchor: n, onAnchorChange: c, children: t });
|
|
8297
8297
|
};
|
|
8298
|
-
|
|
8299
|
-
var
|
|
8298
|
+
za.displayName = B2;
|
|
8299
|
+
var Ha = "PopperAnchor", ka = l.forwardRef(
|
|
8300
8300
|
(e, r) => {
|
|
8301
|
-
const { __scopePopper: t, virtualRef: n, ...c } = e, o = ya(
|
|
8301
|
+
const { __scopePopper: t, virtualRef: n, ...c } = e, o = ya(Ha, t), i = l.useRef(null), A = ye(r, i), s = l.useRef(null);
|
|
8302
8302
|
return l.useEffect(() => {
|
|
8303
8303
|
const d = s.current;
|
|
8304
8304
|
s.current = (n == null ? void 0 : n.current) || i.current, d !== s.current && o.onAnchorChange(s.current);
|
|
8305
|
-
}), n ? null : /* @__PURE__ */ a.jsx(
|
|
8305
|
+
}), n ? null : /* @__PURE__ */ a.jsx(ze.div, { ...c, ref: A });
|
|
8306
8306
|
}
|
|
8307
8307
|
);
|
|
8308
|
-
ka.displayName =
|
|
8308
|
+
ka.displayName = Ha;
|
|
8309
8309
|
var Z2 = "PopperContent", [W3, T3] = Va(Z2), ba = l.forwardRef(
|
|
8310
8310
|
(e, r) => {
|
|
8311
|
-
var E, Y, e1, i1, P1,
|
|
8311
|
+
var E, Y, e1, i1, P1, H1;
|
|
8312
8312
|
const {
|
|
8313
8313
|
__scopePopper: t,
|
|
8314
8314
|
side: n = "bottom",
|
|
@@ -8324,7 +8324,7 @@ var Z2 = "PopperContent", [W3, T3] = Va(Z2), ba = l.forwardRef(
|
|
|
8324
8324
|
updatePositionStrategy: g = "optimized",
|
|
8325
8325
|
onPlaced: x,
|
|
8326
8326
|
...m
|
|
8327
|
-
} = e, f = ya(Z2, t), [O, y] = l.useState(null),
|
|
8327
|
+
} = e, f = ya(Z2, t), [O, y] = l.useState(null), H = ye(r, (C1) => y(C1)), [z, k] = l.useState(null), P = h3(z), v = (P == null ? void 0 : P.width) ?? 0, h = (P == null ? void 0 : P.height) ?? 0, U = n + (o !== "center" ? "-" + o : ""), W = typeof u == "number" ? u : { top: 0, right: 0, bottom: 0, left: 0, ...u }, w = Array.isArray(d) ? d : [d], Z = w.length > 0, R = {
|
|
8328
8328
|
padding: W,
|
|
8329
8329
|
boundary: w.filter(F3),
|
|
8330
8330
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
|
@@ -8355,7 +8355,7 @@ var Z2 = "PopperContent", [W3, T3] = Va(Z2), ba = l.forwardRef(
|
|
|
8355
8355
|
d1.setProperty("--radix-popper-available-width", `${u1}px`), d1.setProperty("--radix-popper-available-height", `${Q}px`), d1.setProperty("--radix-popper-anchor-width", `${f1}px`), d1.setProperty("--radix-popper-anchor-height", `${V1}px`);
|
|
8356
8356
|
}
|
|
8357
8357
|
}),
|
|
8358
|
-
|
|
8358
|
+
z && c4({ element: z, padding: A }),
|
|
8359
8359
|
G3({ arrowWidth: v, arrowHeight: h }),
|
|
8360
8360
|
C && a4({ strategy: "referenceHidden", ...R })
|
|
8361
8361
|
]
|
|
@@ -8384,7 +8384,7 @@ var Z2 = "PopperContent", [W3, T3] = Va(Z2), ba = l.forwardRef(
|
|
|
8384
8384
|
// hide the content if using the hide middleware and should be hidden
|
|
8385
8385
|
// set visibility to hidden and disable pointer events so the UI behaves
|
|
8386
8386
|
// as if the PopperContent isn't there at all
|
|
8387
|
-
...((
|
|
8387
|
+
...((H1 = I.hide) == null ? void 0 : H1.referenceHidden) && {
|
|
8388
8388
|
visibility: "hidden",
|
|
8389
8389
|
pointerEvents: "none"
|
|
8390
8390
|
}
|
|
@@ -8400,12 +8400,12 @@ var Z2 = "PopperContent", [W3, T3] = Va(Z2), ba = l.forwardRef(
|
|
|
8400
8400
|
arrowY: n1,
|
|
8401
8401
|
shouldHideArrow: L,
|
|
8402
8402
|
children: /* @__PURE__ */ a.jsx(
|
|
8403
|
-
|
|
8403
|
+
ze.div,
|
|
8404
8404
|
{
|
|
8405
8405
|
"data-side": b,
|
|
8406
8406
|
"data-align": N,
|
|
8407
8407
|
...m,
|
|
8408
|
-
ref:
|
|
8408
|
+
ref: H,
|
|
8409
8409
|
style: {
|
|
8410
8410
|
...m.style,
|
|
8411
8411
|
// if the PopperContent hasn't been placed yet (not all measurements done)
|
|
@@ -8489,12 +8489,12 @@ function Ma(e) {
|
|
|
8489
8489
|
const [r, t = "center"] = e.split("-");
|
|
8490
8490
|
return [r, t];
|
|
8491
8491
|
}
|
|
8492
|
-
var D3 =
|
|
8492
|
+
var D3 = za, X3 = ka, B3 = ba, Z3 = Pa, Y3 = "Portal", va = l.forwardRef((e, r) => {
|
|
8493
8493
|
var A;
|
|
8494
8494
|
const { container: t, ...n } = e, [c, o] = l.useState(!1);
|
|
8495
8495
|
se(() => o(!0), []);
|
|
8496
8496
|
const i = t || c && ((A = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : A.body);
|
|
8497
|
-
return i ? O8.createPortal(/* @__PURE__ */ a.jsx(
|
|
8497
|
+
return i ? O8.createPortal(/* @__PURE__ */ a.jsx(ze.div, { ...n, ref: r }), i) : null;
|
|
8498
8498
|
});
|
|
8499
8499
|
va.displayName = Y3;
|
|
8500
8500
|
function L3(e, r) {
|
|
@@ -8777,7 +8777,7 @@ var ir = "Tooltip", [gi, mr] = lt(ir), qa = (e) => {
|
|
|
8777
8777
|
v ? (s.onOpen(), document.dispatchEvent(new CustomEvent(Qt))) : 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(() => {
|
|
8781
8781
|
window.clearTimeout(g.current), g.current = 0, f.current = !1, y(!0);
|
|
8782
8782
|
}, [y]), k = l.useCallback(() => {
|
|
8783
8783
|
window.clearTimeout(g.current), g.current = 0, y(!1);
|
|
@@ -8794,16 +8794,16 @@ var ir = "Tooltip", [gi, mr] = lt(ir), qa = (e) => {
|
|
|
8794
8794
|
scope: r,
|
|
8795
8795
|
contentId: C,
|
|
8796
8796
|
open: O,
|
|
8797
|
-
stateAttribute:
|
|
8797
|
+
stateAttribute: H,
|
|
8798
8798
|
trigger: u,
|
|
8799
8799
|
onTriggerChange: p,
|
|
8800
8800
|
onTriggerEnter: l.useCallback(() => {
|
|
8801
|
-
s.isOpenDelayedRef.current ? P() :
|
|
8802
|
-
}, [s.isOpenDelayedRef, P,
|
|
8801
|
+
s.isOpenDelayedRef.current ? P() : z();
|
|
8802
|
+
}, [s.isOpenDelayedRef, P, z]),
|
|
8803
8803
|
onTriggerLeave: l.useCallback(() => {
|
|
8804
8804
|
x ? k() : (window.clearTimeout(g.current), g.current = 0);
|
|
8805
8805
|
}, [k, x]),
|
|
8806
|
-
onOpen:
|
|
8806
|
+
onOpen: z,
|
|
8807
8807
|
onClose: k,
|
|
8808
8808
|
disableHoverableContent: x,
|
|
8809
8809
|
children: t
|
|
@@ -8815,7 +8815,7 @@ var Et = "TooltipTrigger", Ua = l.forwardRef(
|
|
|
8815
8815
|
(e, r) => {
|
|
8816
8816
|
const { __scopeTooltip: t, ...n } = e, c = mr(Et, t), o = L2(Et, t), i = ut(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
|
{
|
|
8820
8820
|
"aria-describedby": c.open ? c.contentId : void 0,
|
|
8821
8821
|
"data-state": c.stateAttribute,
|
|
@@ -8857,7 +8857,7 @@ var Se = "TooltipContent", wa = l.forwardRef(
|
|
|
8857
8857
|
A(null), p(!1);
|
|
8858
8858
|
}, [p]), g = l.useCallback(
|
|
8859
8859
|
(x, m) => {
|
|
8860
|
-
const f = x.currentTarget, O = { x: x.clientX, y: x.clientY }, y =
|
|
8860
|
+
const f = x.currentTarget, O = { x: x.clientX, y: x.clientY }, y = zi(O, f.getBoundingClientRect()), H = Hi(O, y), z = ki(m.getBoundingClientRect()), k = Ii([...H, ...z]);
|
|
8861
8861
|
A(k), p(!0);
|
|
8862
8862
|
},
|
|
8863
8863
|
[p]
|
|
@@ -8872,8 +8872,8 @@ var Se = "TooltipContent", wa = l.forwardRef(
|
|
|
8872
8872
|
}, [s, u, g, C]), l.useEffect(() => {
|
|
8873
8873
|
if (i) {
|
|
8874
8874
|
const x = (m) => {
|
|
8875
|
-
const f = m.target, O = { x: m.clientX, y: m.clientY }, y = (s == null ? void 0 : s.contains(f)) || (u == null ? void 0 : u.contains(f)),
|
|
8876
|
-
y ? C() :
|
|
8875
|
+
const f = m.target, O = { x: m.clientX, y: m.clientY }, y = (s == null ? void 0 : s.contains(f)) || (u == null ? void 0 : u.contains(f)), H = !bi(O, i);
|
|
8876
|
+
y ? C() : H && (C(), d());
|
|
8877
8877
|
};
|
|
8878
8878
|
return document.addEventListener("pointermove", x), () => document.removeEventListener("pointermove", x);
|
|
8879
8879
|
}
|
|
@@ -8941,7 +8941,7 @@ var Ta = "TooltipArrow", yi = l.forwardRef(
|
|
|
8941
8941
|
}
|
|
8942
8942
|
);
|
|
8943
8943
|
yi.displayName = Ta;
|
|
8944
|
-
function
|
|
8944
|
+
function zi(e, r) {
|
|
8945
8945
|
const t = Math.abs(r.top - e.y), n = Math.abs(r.bottom - e.y), c = Math.abs(r.right - e.x), o = Math.abs(r.left - e.x);
|
|
8946
8946
|
switch (Math.min(t, n, c, o)) {
|
|
8947
8947
|
case o:
|
|
@@ -8956,7 +8956,7 @@ function Hi(e, r) {
|
|
|
8956
8956
|
throw new Error("unreachable");
|
|
8957
8957
|
}
|
|
8958
8958
|
}
|
|
8959
|
-
function
|
|
8959
|
+
function Hi(e, r, t = 5) {
|
|
8960
8960
|
const n = [];
|
|
8961
8961
|
switch (r) {
|
|
8962
8962
|
case "top":
|
|
@@ -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
|
|
9037
|
+
const bl = Mi, dt = ({
|
|
9038
9038
|
children: e,
|
|
9039
9039
|
content: r,
|
|
9040
9040
|
hint: t = !1,
|
|
@@ -9093,7 +9093,7 @@ const Pl = Mi, dt = ({
|
|
|
9093
9093
|
"aria-label": `Count: ${e}`,
|
|
9094
9094
|
children: e > 99 ? "99+" : e
|
|
9095
9095
|
}
|
|
9096
|
-
),
|
|
9096
|
+
), Il = ({
|
|
9097
9097
|
checked: e,
|
|
9098
9098
|
onChange: r,
|
|
9099
9099
|
disabled: t = !1,
|
|
@@ -9148,7 +9148,7 @@ const Pl = Mi, dt = ({
|
|
|
9148
9148
|
),
|
|
9149
9149
|
children: t
|
|
9150
9150
|
}
|
|
9151
|
-
),
|
|
9151
|
+
), Pl = ({ children: e, icon: r, className: t }) => /* @__PURE__ */ a.jsxs(
|
|
9152
9152
|
"div",
|
|
9153
9153
|
{
|
|
9154
9154
|
className: V(
|
|
@@ -9178,7 +9178,7 @@ const Pl = Mi, dt = ({
|
|
|
9178
9178
|
}
|
|
9179
9179
|
);
|
|
9180
9180
|
return t.displayName = e, t;
|
|
9181
|
-
},
|
|
9181
|
+
}, Ml = T1({
|
|
9182
9182
|
name: "Workflows",
|
|
9183
9183
|
children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
9184
9184
|
/* @__PURE__ */ a.jsx("rect", { x: "20", y: "24", width: "32", height: "24", rx: "6", fill: "var(--blue-50)", stroke: "var(--blue-600)", strokeWidth: "1.5" }),
|
|
@@ -9186,14 +9186,14 @@ const Pl = Mi, dt = ({
|
|
|
9186
9186
|
/* @__PURE__ */ a.jsx("rect", { x: "44", y: "72", width: "32", height: "24", rx: "6", fill: "var(--blue-100)", stroke: "var(--blue-600)", strokeWidth: "1.5" }),
|
|
9187
9187
|
/* @__PURE__ */ a.jsx("path", { d: "M52 48v12M68 48v12M52 60h16", stroke: "var(--blue-400)", strokeWidth: "1.5", strokeLinecap: "round" })
|
|
9188
9188
|
] })
|
|
9189
|
-
}),
|
|
9189
|
+
}), vl = T1({
|
|
9190
9190
|
name: "Upload",
|
|
9191
9191
|
children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
9192
9192
|
/* @__PURE__ */ a.jsx("rect", { x: "28", y: "36", width: "64", height: "48", rx: "8", fill: "var(--grey-100)", stroke: "var(--grey-300)", strokeWidth: "1.5" }),
|
|
9193
9193
|
/* @__PURE__ */ a.jsx("path", { d: "M60 52v20M52 60l8-8 8 8", stroke: "var(--blue-600)", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
9194
9194
|
/* @__PURE__ */ a.jsx("rect", { x: "36", y: "28", width: "48", height: "8", rx: "4", fill: "var(--grey-200)" })
|
|
9195
9195
|
] })
|
|
9196
|
-
}),
|
|
9196
|
+
}), Kl = T1({
|
|
9197
9197
|
name: "Processing",
|
|
9198
9198
|
children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
9199
9199
|
/* @__PURE__ */ a.jsx("circle", { cx: "60", cy: "60", r: "28", fill: "var(--blue-50)", stroke: "var(--blue-100)", strokeWidth: "1.5" }),
|
|
@@ -9208,7 +9208,7 @@ const Pl = Mi, dt = ({
|
|
|
9208
9208
|
),
|
|
9209
9209
|
/* @__PURE__ */ a.jsx("circle", { cx: "60", cy: "60", r: "4", fill: "var(--blue-600)" })
|
|
9210
9210
|
] })
|
|
9211
|
-
}),
|
|
9211
|
+
}), Nl = T1({
|
|
9212
9212
|
name: "Invite",
|
|
9213
9213
|
children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
9214
9214
|
/* @__PURE__ */ a.jsx("circle", { cx: "48", cy: "52", r: "16", fill: "var(--green-100)", stroke: "var(--green-700)", strokeWidth: "1.5" }),
|
|
@@ -9216,7 +9216,7 @@ const Pl = Mi, dt = ({
|
|
|
9216
9216
|
/* @__PURE__ */ a.jsx("path", { d: "M64 52h8M68 48v8", stroke: "var(--grey-700)", strokeWidth: "2", strokeLinecap: "round" }),
|
|
9217
9217
|
/* @__PURE__ */ a.jsx("rect", { x: "32", y: "76", width: "56", height: "20", rx: "6", fill: "var(--grey-100)", stroke: "var(--grey-200)", strokeWidth: "1.5" })
|
|
9218
9218
|
] })
|
|
9219
|
-
}),
|
|
9219
|
+
}), Sl = T1({
|
|
9220
9220
|
name: "Creation",
|
|
9221
9221
|
children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
9222
9222
|
/* @__PURE__ */ a.jsx("rect", { x: "32", y: "28", width: "56", height: "64", rx: "8", fill: "var(--grey-50)", stroke: "var(--grey-300)", strokeWidth: "1.5" }),
|
|
@@ -9224,7 +9224,7 @@ const Pl = Mi, dt = ({
|
|
|
9224
9224
|
/* @__PURE__ */ a.jsx("circle", { cx: "84", cy: "36", r: "12", fill: "var(--blue-600)" }),
|
|
9225
9225
|
/* @__PURE__ */ a.jsx("path", { d: "M84 30v12M78 36h12", stroke: "white", strokeWidth: "2", strokeLinecap: "round" })
|
|
9226
9226
|
] })
|
|
9227
|
-
}),
|
|
9227
|
+
}), ql = T1({
|
|
9228
9228
|
name: "Completed tasks",
|
|
9229
9229
|
children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
9230
9230
|
/* @__PURE__ */ a.jsx("rect", { x: "28", y: "32", width: "64", height: "12", rx: "4", fill: "var(--green-100)" }),
|
|
@@ -9235,7 +9235,7 @@ const Pl = Mi, dt = ({
|
|
|
9235
9235
|
/* @__PURE__ */ a.jsx("circle", { cx: "36", cy: "78", r: "4", fill: "var(--grey-300)" }),
|
|
9236
9236
|
/* @__PURE__ */ a.jsx("path", { d: "M34 38l1.5 1.5 3-3M34 58l1.5 1.5 3-3", stroke: "white", strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
9237
9237
|
] })
|
|
9238
|
-
}),
|
|
9238
|
+
}), Ul = T1({
|
|
9239
9239
|
name: "Workflow created",
|
|
9240
9240
|
children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
9241
9241
|
/* @__PURE__ */ a.jsx("rect", { x: "24", y: "40", width: "72", height: "40", rx: "8", fill: "var(--blue-50)", stroke: "var(--blue-600)", strokeWidth: "1.5" }),
|
|
@@ -9243,7 +9243,7 @@ const Pl = Mi, dt = ({
|
|
|
9243
9243
|
/* @__PURE__ */ a.jsx("circle", { cx: "84", cy: "32", r: "14", fill: "var(--green-100)", stroke: "var(--green-700)", strokeWidth: "1.5" }),
|
|
9244
9244
|
/* @__PURE__ */ a.jsx("path", { d: "M79 32l3 3 6-6", stroke: "var(--green-700)", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
9245
9245
|
] })
|
|
9246
|
-
}),
|
|
9246
|
+
}), hl = T1({
|
|
9247
9247
|
name: "Audit preparation",
|
|
9248
9248
|
children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
9249
9249
|
/* @__PURE__ */ a.jsx("rect", { x: "36", y: "24", width: "48", height: "64", rx: "6", fill: "var(--grey-50)", stroke: "var(--grey-300)", strokeWidth: "1.5" }),
|
|
@@ -9253,7 +9253,7 @@ const Pl = Mi, dt = ({
|
|
|
9253
9253
|
/* @__PURE__ */ a.jsx("path", { d: "M28 88h64", stroke: "var(--grey-300)", strokeWidth: "2", strokeLinecap: "round" }),
|
|
9254
9254
|
/* @__PURE__ */ a.jsx("path", { d: "M52 76v12M68 76v12", stroke: "var(--grey-400)", strokeWidth: "2", strokeLinecap: "round" })
|
|
9255
9255
|
] })
|
|
9256
|
-
}),
|
|
9256
|
+
}), wl = T1({
|
|
9257
9257
|
name: "Port state control",
|
|
9258
9258
|
children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
9259
9259
|
/* @__PURE__ */ a.jsx("path", { d: "M24 80h72", stroke: "var(--blue-400)", strokeWidth: "2", strokeLinecap: "round" }),
|
|
@@ -9261,7 +9261,7 @@ const Pl = Mi, dt = ({
|
|
|
9261
9261
|
/* @__PURE__ */ a.jsx("rect", { x: "52", y: "60", width: "16", height: "20", rx: "2", fill: "var(--blue-100)", stroke: "var(--blue-600)", strokeWidth: "1.5" }),
|
|
9262
9262
|
/* @__PURE__ */ a.jsx("circle", { cx: "72", cy: "44", r: "8", fill: "var(--orange-50)", stroke: "var(--orange-700)", strokeWidth: "1.5" })
|
|
9263
9263
|
] })
|
|
9264
|
-
}),
|
|
9264
|
+
}), Wl = T1({
|
|
9265
9265
|
name: "RightShip inspection",
|
|
9266
9266
|
children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
9267
9267
|
/* @__PURE__ */ a.jsx(
|
|
@@ -9277,7 +9277,7 @@ const Pl = Mi, dt = ({
|
|
|
9277
9277
|
/* @__PURE__ */ a.jsx("path", { d: "M42 72h36", stroke: "var(--grey-400)", strokeWidth: "2", strokeLinecap: "round" }),
|
|
9278
9278
|
/* @__PURE__ */ a.jsx("circle", { cx: "78", cy: "36", r: "6", fill: "var(--green-700)" })
|
|
9279
9279
|
] })
|
|
9280
|
-
}),
|
|
9280
|
+
}), Tl = T1({
|
|
9281
9281
|
name: "Internal audit",
|
|
9282
9282
|
children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
9283
9283
|
/* @__PURE__ */ a.jsx("circle", { cx: "60", cy: "52", r: "24", fill: "var(--purple-100)", stroke: "var(--purple-700)", strokeWidth: "1.5" }),
|
|
@@ -9285,7 +9285,7 @@ const Pl = Mi, dt = ({
|
|
|
9285
9285
|
/* @__PURE__ */ a.jsx("rect", { x: "32", y: "80", width: "56", height: "8", rx: "4", fill: "var(--grey-200)" }),
|
|
9286
9286
|
/* @__PURE__ */ a.jsx("rect", { x: "40", y: "72", width: "40", height: "4", rx: "2", fill: "var(--grey-300)" })
|
|
9287
9287
|
] })
|
|
9288
|
-
}),
|
|
9288
|
+
}), Rl = T1({
|
|
9289
9289
|
name: "Questions done",
|
|
9290
9290
|
children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
9291
9291
|
/* @__PURE__ */ a.jsx("rect", { x: "32", y: "28", width: "56", height: "64", rx: "8", fill: "var(--grey-50)", stroke: "var(--grey-300)", strokeWidth: "1.5" }),
|
|
@@ -9301,7 +9301,7 @@ const Pl = Mi, dt = ({
|
|
|
9301
9301
|
hover: "border-grey-300 bg-white",
|
|
9302
9302
|
disabled: "border-divider-primary bg-grey-50 text-display-on-light-quaternary cursor-not-allowed",
|
|
9303
9303
|
edit: "border-accent-on-light bg-white ring-1 ring-accent-on-light"
|
|
9304
|
-
},
|
|
9304
|
+
}, Fl = ({
|
|
9305
9305
|
label: e,
|
|
9306
9306
|
value: r = "",
|
|
9307
9307
|
placeholder: t,
|
|
@@ -9344,7 +9344,7 @@ const Pl = Mi, dt = ({
|
|
|
9344
9344
|
idle: "border-divider-primary bg-white",
|
|
9345
9345
|
hover: "border-grey-300 bg-white",
|
|
9346
9346
|
edit: "border-accent-on-light bg-white ring-1 ring-accent-on-light"
|
|
9347
|
-
},
|
|
9347
|
+
}, Gl = ({
|
|
9348
9348
|
label: e,
|
|
9349
9349
|
value: r = "",
|
|
9350
9350
|
placeholder: t,
|
|
@@ -9384,7 +9384,7 @@ const Pl = Mi, dt = ({
|
|
|
9384
9384
|
}, Wi = {
|
|
9385
9385
|
text: { on: "On", off: "Off" },
|
|
9386
9386
|
binary: { on: "Yes", off: "No" }
|
|
9387
|
-
},
|
|
9387
|
+
}, Dl = ({
|
|
9388
9388
|
type: e,
|
|
9389
9389
|
state: r,
|
|
9390
9390
|
onChange: t,
|
|
@@ -9445,7 +9445,7 @@ const Pl = Mi, dt = ({
|
|
|
9445
9445
|
orange: "bg-meta-orange",
|
|
9446
9446
|
purple: "bg-meta-purple",
|
|
9447
9447
|
grey: "bg-grey-400"
|
|
9448
|
-
},
|
|
9448
|
+
}, Xl = ({
|
|
9449
9449
|
variant: e,
|
|
9450
9450
|
label: r,
|
|
9451
9451
|
avatar: t,
|
|
@@ -9480,7 +9480,7 @@ const Pl = Mi, dt = ({
|
|
|
9480
9480
|
)
|
|
9481
9481
|
]
|
|
9482
9482
|
}
|
|
9483
|
-
),
|
|
9483
|
+
), Bl = ({
|
|
9484
9484
|
checked: e = !1,
|
|
9485
9485
|
indeterminate: r = !1,
|
|
9486
9486
|
disabled: t = !1,
|
|
@@ -9545,7 +9545,7 @@ const Pl = Mi, dt = ({
|
|
|
9545
9545
|
]
|
|
9546
9546
|
}
|
|
9547
9547
|
);
|
|
9548
|
-
},
|
|
9548
|
+
}, Zl = ({ label: e, state: r = "idle", className: t, ...n }) => /* @__PURE__ */ a.jsxs(
|
|
9549
9549
|
"button",
|
|
9550
9550
|
{
|
|
9551
9551
|
type: "button",
|
|
@@ -9643,7 +9643,7 @@ var Ba = "TabsTrigger", Za = l.forwardRef(
|
|
|
9643
9643
|
(e, r) => {
|
|
9644
9644
|
const { __scopeTabs: t, value: n, disabled: c = !1, ...o } = e, i = Q2(Ba, t), A = Fa(t), s = Ja(i.baseId, n), d = Qa(i.baseId, n), u = n === i.value;
|
|
9645
9645
|
return /* @__PURE__ */ a.jsx(
|
|
9646
|
-
|
|
9646
|
+
z4,
|
|
9647
9647
|
{
|
|
9648
9648
|
asChild: !0,
|
|
9649
9649
|
...A,
|
|
@@ -9795,7 +9795,7 @@ const t0 = X1(({ className: e, ...r }, t) => /* @__PURE__ */ a.jsx(
|
|
|
9795
9795
|
}
|
|
9796
9796
|
));
|
|
9797
9797
|
t0.displayName = $a.displayName;
|
|
9798
|
-
const
|
|
9798
|
+
const Yl = ({
|
|
9799
9799
|
variant: e = "standard",
|
|
9800
9800
|
title: r,
|
|
9801
9801
|
actions: t,
|
|
@@ -9892,7 +9892,7 @@ const Jl = ({
|
|
|
9892
9892
|
]
|
|
9893
9893
|
}
|
|
9894
9894
|
);
|
|
9895
|
-
},
|
|
9895
|
+
}, Ll = ({
|
|
9896
9896
|
illustration: e,
|
|
9897
9897
|
title: r,
|
|
9898
9898
|
description: t,
|
|
@@ -10124,7 +10124,7 @@ p0.displayName = d0;
|
|
|
10124
10124
|
function n5(e) {
|
|
10125
10125
|
return e ? "open" : "closed";
|
|
10126
10126
|
}
|
|
10127
|
-
const _i = a0,
|
|
10127
|
+
const _i = a0, Jl = o0, Ql = p0, $i = A0, C0 = X1(({ className: e, ...r }, t) => /* @__PURE__ */ a.jsx(
|
|
10128
10128
|
$2,
|
|
10129
10129
|
{
|
|
10130
10130
|
ref: t,
|
|
@@ -10184,7 +10184,7 @@ const m0 = X1(({ className: e, ...r }, t) => /* @__PURE__ */ a.jsx(
|
|
|
10184
10184
|
}
|
|
10185
10185
|
));
|
|
10186
10186
|
m0.displayName = t5.displayName;
|
|
10187
|
-
const
|
|
10187
|
+
const El = ({
|
|
10188
10188
|
children: e,
|
|
10189
10189
|
className: r
|
|
10190
10190
|
}) => /* @__PURE__ */ a.jsx("div", { className: V("shrink-0", r), children: e }), eA = ({ children: e, className: r }) => /* @__PURE__ */ a.jsx("div", { className: V("min-h-0 overflow-auto", r), children: e }), rA = ({ onClose: e, right: r, children: t }) => /* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-2 rounded-t-xl bg-background-secondary px-2 py-3", children: [
|
|
@@ -10253,7 +10253,7 @@ const $l = ({
|
|
|
10253
10253
|
}, [])
|
|
10254
10254
|
};
|
|
10255
10255
|
return [{ currentPage: t, totalPages: c }, i];
|
|
10256
|
-
}, Je = "flex h-8 w-8 items-center justify-center rounded-control border border-divider-primary bg-white text-display-on-light-secondary hover:bg-background-secondary disabled:opacity-50",
|
|
10256
|
+
}, Je = "flex h-8 w-8 items-center justify-center rounded-control border border-divider-primary bg-white text-display-on-light-secondary hover:bg-background-secondary disabled:opacity-50", _l = ({
|
|
10257
10257
|
className: e,
|
|
10258
10258
|
canvasClassName: r,
|
|
10259
10259
|
mainCanvasClassname: t,
|
|
@@ -10264,14 +10264,14 @@ const $l = ({
|
|
|
10264
10264
|
documentUrl: A,
|
|
10265
10265
|
title: s = "PDF Viewer"
|
|
10266
10266
|
}) => {
|
|
10267
|
-
const [d, u] = f0(), [p, C] = V0(), [{ pan: g, isDragging: x }, m] = O0(), [{ currentPage: f }, O] = y0(o, n), [y,
|
|
10267
|
+
const [d, u] = f0(), [p, C] = V0(), [{ pan: g, isDragging: x }, m] = O0(), [{ currentPage: f }, O] = y0(o, n), [y, H] = m1("");
|
|
10268
10268
|
Ce(() => {
|
|
10269
10269
|
(async () => {
|
|
10270
10270
|
const P = await i(f);
|
|
10271
|
-
|
|
10271
|
+
H(P);
|
|
10272
10272
|
})();
|
|
10273
10273
|
}, [f, i]);
|
|
10274
|
-
const
|
|
10274
|
+
const z = () => {
|
|
10275
10275
|
A && window.open(A, "_blank", "noopener,noreferrer");
|
|
10276
10276
|
};
|
|
10277
10277
|
return /* @__PURE__ */ a.jsxs("div", { className: V("flex h-full flex-col rounded-t-lg shadow-raise2", e), children: [
|
|
@@ -10279,7 +10279,7 @@ const $l = ({
|
|
|
10279
10279
|
j0.Header,
|
|
10280
10280
|
{
|
|
10281
10281
|
onClose: c,
|
|
10282
|
-
right: A ? /* @__PURE__ */ a.jsx(K1, { hierarchy: "quaternary", size: "small", "aria-label": "Open", onClick:
|
|
10282
|
+
right: A ? /* @__PURE__ */ a.jsx(K1, { hierarchy: "quaternary", size: "small", "aria-label": "Open", onClick: z, children: /* @__PURE__ */ a.jsx(l2, { size: "small" }) }) : void 0,
|
|
10283
10283
|
children: s
|
|
10284
10284
|
}
|
|
10285
10285
|
),
|
|
@@ -10320,7 +10320,7 @@ const $l = ({
|
|
|
10320
10320
|
onClick: O.prevPage,
|
|
10321
10321
|
disabled: f === 1,
|
|
10322
10322
|
"aria-label": "Previous page",
|
|
10323
|
-
children: /* @__PURE__ */ a.jsx(
|
|
10323
|
+
children: /* @__PURE__ */ a.jsx(z1, { direction: "left", size: "small" })
|
|
10324
10324
|
}
|
|
10325
10325
|
),
|
|
10326
10326
|
/* @__PURE__ */ a.jsx(
|
|
@@ -10349,7 +10349,7 @@ const $l = ({
|
|
|
10349
10349
|
onClick: O.nextPage,
|
|
10350
10350
|
disabled: f === o,
|
|
10351
10351
|
"aria-label": "Next page",
|
|
10352
|
-
children: /* @__PURE__ */ a.jsx(
|
|
10352
|
+
children: /* @__PURE__ */ a.jsx(z1, { direction: "right", size: "small" })
|
|
10353
10353
|
}
|
|
10354
10354
|
)
|
|
10355
10355
|
] }),
|
|
@@ -10367,7 +10367,7 @@ const $l = ({
|
|
|
10367
10367
|
className: Je,
|
|
10368
10368
|
onClick: C.rotateCounterClockwise,
|
|
10369
10369
|
"aria-label": "Rotate",
|
|
10370
|
-
children: /* @__PURE__ */ a.jsx(
|
|
10370
|
+
children: /* @__PURE__ */ a.jsx(z1, { direction: "left", size: "small" })
|
|
10371
10371
|
}
|
|
10372
10372
|
)
|
|
10373
10373
|
] })
|
|
@@ -10376,7 +10376,7 @@ const $l = ({
|
|
|
10376
10376
|
] });
|
|
10377
10377
|
};
|
|
10378
10378
|
m5.GlobalWorkerOptions.workerSrc = `//unpkg.com/pdfjs-dist@${m5.version}/build/pdf.worker.min.mjs`;
|
|
10379
|
-
const Qe = "flex h-8 w-8 items-center justify-center rounded-control border border-divider-primary bg-white text-display-on-light-secondary hover:bg-background-secondary disabled:opacity-50",
|
|
10379
|
+
const Qe = "flex h-8 w-8 items-center justify-center rounded-control border border-divider-primary bg-white text-display-on-light-secondary hover:bg-background-secondary disabled:opacity-50", $l = ({
|
|
10380
10380
|
onClose: e,
|
|
10381
10381
|
src: r,
|
|
10382
10382
|
title: t = "PDF Viewer",
|
|
@@ -10385,22 +10385,22 @@ const Qe = "flex h-8 w-8 items-center justify-center rounded-control border bord
|
|
|
10385
10385
|
}) => {
|
|
10386
10386
|
const [o, i] = f0(), [A, s] = V0(), [{ currentPage: d, totalPages: u }, p] = y0(), [{ pan: C, isDragging: g }, x] = O0(), [m, f] = m1(1), O = c2(null);
|
|
10387
10387
|
Ce(() => {
|
|
10388
|
-
const
|
|
10388
|
+
const z = () => {
|
|
10389
10389
|
if (!O.current) return;
|
|
10390
10390
|
const P = O.current.offsetWidth / 612;
|
|
10391
10391
|
f(P * (o / 100));
|
|
10392
10392
|
};
|
|
10393
|
-
return
|
|
10393
|
+
return z(), window.addEventListener("resize", z), () => window.removeEventListener("resize", z);
|
|
10394
10394
|
}, [o]);
|
|
10395
|
-
const y = (
|
|
10396
|
-
if (c == null || c(
|
|
10397
|
-
|
|
10395
|
+
const y = (z) => {
|
|
10396
|
+
if (c == null || c(z), z.defaultPrevented || !r) {
|
|
10397
|
+
z.preventDefault();
|
|
10398
10398
|
return;
|
|
10399
10399
|
}
|
|
10400
10400
|
window.open(r, "_blank", "noopener,noreferrer");
|
|
10401
|
-
},
|
|
10401
|
+
}, H = /* @__PURE__ */ a.jsx(K1, { hierarchy: "quaternary", size: "small", "aria-label": "Open in new tab", onClick: y, children: /* @__PURE__ */ a.jsx(l2, { size: "small" }) });
|
|
10402
10402
|
return /* @__PURE__ */ a.jsxs("div", { className: V("flex h-full flex-col rounded-t-lg shadow-raise2", n), ref: O, children: [
|
|
10403
|
-
/* @__PURE__ */ a.jsx(j0.Header, { onClose: e, right:
|
|
10403
|
+
/* @__PURE__ */ a.jsx(j0.Header, { onClose: e, right: H, children: t }),
|
|
10404
10404
|
/* @__PURE__ */ a.jsxs("div", { className: "grid h-full grow overflow-hidden shadow", children: [
|
|
10405
10405
|
/* @__PURE__ */ a.jsx(
|
|
10406
10406
|
"div",
|
|
@@ -10424,15 +10424,15 @@ const Qe = "flex h-8 w-8 items-center justify-center rounded-control border bord
|
|
|
10424
10424
|
maxWidth: "650px"
|
|
10425
10425
|
},
|
|
10426
10426
|
children: /* @__PURE__ */ a.jsx(
|
|
10427
|
-
|
|
10427
|
+
z8,
|
|
10428
10428
|
{
|
|
10429
10429
|
externalLinkRel: "noopener noreferrer",
|
|
10430
10430
|
externalLinkTarget: "_blank",
|
|
10431
10431
|
file: r,
|
|
10432
|
-
onLoadSuccess: ({ numPages:
|
|
10432
|
+
onLoadSuccess: ({ numPages: z }) => p.setTotalPages(z),
|
|
10433
10433
|
scale: m,
|
|
10434
10434
|
rotate: A,
|
|
10435
|
-
children: /* @__PURE__ */ a.jsx(
|
|
10435
|
+
children: /* @__PURE__ */ a.jsx(H8, { pageNumber: d, renderTextLayer: !0, renderAnnotationLayer: !0 })
|
|
10436
10436
|
}
|
|
10437
10437
|
)
|
|
10438
10438
|
}
|
|
@@ -10449,7 +10449,7 @@ const Qe = "flex h-8 w-8 items-center justify-center rounded-control border bord
|
|
|
10449
10449
|
onClick: p.prevPage,
|
|
10450
10450
|
disabled: d === 1,
|
|
10451
10451
|
"aria-label": "Previous page",
|
|
10452
|
-
children: /* @__PURE__ */ a.jsx(
|
|
10452
|
+
children: /* @__PURE__ */ a.jsx(z1, { direction: "left", size: "small" })
|
|
10453
10453
|
}
|
|
10454
10454
|
),
|
|
10455
10455
|
/* @__PURE__ */ a.jsx(
|
|
@@ -10457,8 +10457,8 @@ const Qe = "flex h-8 w-8 items-center justify-center rounded-control border bord
|
|
|
10457
10457
|
{
|
|
10458
10458
|
className: "h-8 w-14 rounded-control border border-divider-primary bg-white px-1 py-1 text-center text-caption-2 text-display-on-light-primary",
|
|
10459
10459
|
value: d,
|
|
10460
|
-
onChange: (
|
|
10461
|
-
const k = parseInt(
|
|
10460
|
+
onChange: (z) => {
|
|
10461
|
+
const k = parseInt(z.target.value, 10);
|
|
10462
10462
|
isNaN(k) || p.goToPage(k);
|
|
10463
10463
|
},
|
|
10464
10464
|
type: "number",
|
|
@@ -10478,7 +10478,7 @@ const Qe = "flex h-8 w-8 items-center justify-center rounded-control border bord
|
|
|
10478
10478
|
onClick: p.nextPage,
|
|
10479
10479
|
disabled: d === u,
|
|
10480
10480
|
"aria-label": "Next page",
|
|
10481
|
-
children: /* @__PURE__ */ a.jsx(
|
|
10481
|
+
children: /* @__PURE__ */ a.jsx(z1, { direction: "right", size: "small" })
|
|
10482
10482
|
}
|
|
10483
10483
|
)
|
|
10484
10484
|
] }),
|
|
@@ -10509,7 +10509,7 @@ const Qe = "flex h-8 w-8 items-center justify-center rounded-control border bord
|
|
|
10509
10509
|
className: Qe,
|
|
10510
10510
|
onClick: s.rotateCounterClockwise,
|
|
10511
10511
|
"aria-label": "Rotate counter-clockwise",
|
|
10512
|
-
children: /* @__PURE__ */ a.jsx(
|
|
10512
|
+
children: /* @__PURE__ */ a.jsx(z1, { direction: "left", size: "small" })
|
|
10513
10513
|
}
|
|
10514
10514
|
)
|
|
10515
10515
|
] })
|
|
@@ -10615,7 +10615,7 @@ class nA {
|
|
|
10615
10615
|
}
|
|
10616
10616
|
}
|
|
10617
10617
|
let b1 = {}, on = {};
|
|
10618
|
-
const
|
|
10618
|
+
const eu = ({
|
|
10619
10619
|
docxUrl: e,
|
|
10620
10620
|
schema: r,
|
|
10621
10621
|
onDataChange: t,
|
|
@@ -10630,7 +10630,7 @@ const tu = ({
|
|
|
10630
10630
|
N.push(T[1]);
|
|
10631
10631
|
return [...new Set(N)];
|
|
10632
10632
|
}, []), f = y1((I, b) => {
|
|
10633
|
-
b1 = { ...b1, [I]: b },
|
|
10633
|
+
b1 = { ...b1, [I]: b }, H(I, b), t == null || t(b1);
|
|
10634
10634
|
}, [t]), O = y1(
|
|
10635
10635
|
(I, b) => {
|
|
10636
10636
|
!Object.entries(r.properties || {}).find(([T, G]) => {
|
|
@@ -10652,7 +10652,7 @@ const tu = ({
|
|
|
10652
10652
|
return !(b === N || b === "" && N == null || N === "" && b == null);
|
|
10653
10653
|
},
|
|
10654
10654
|
[]
|
|
10655
|
-
),
|
|
10655
|
+
), H = y1(
|
|
10656
10656
|
(I, b) => {
|
|
10657
10657
|
const N = !!x.current, T = y(I, b);
|
|
10658
10658
|
N && x.current.querySelectorAll(
|
|
@@ -10663,11 +10663,11 @@ const tu = ({
|
|
|
10663
10663
|
});
|
|
10664
10664
|
},
|
|
10665
10665
|
[y]
|
|
10666
|
-
),
|
|
10666
|
+
), z = y1(() => {
|
|
10667
10667
|
!!x.current && Object.entries(b1).forEach(([b, N]) => {
|
|
10668
|
-
|
|
10668
|
+
H(b, N);
|
|
10669
10669
|
});
|
|
10670
|
-
}, [
|
|
10670
|
+
}, [H]), k = y1(async () => {
|
|
10671
10671
|
t == null || t(b1), g((I) => I + 1);
|
|
10672
10672
|
}, [t]);
|
|
10673
10673
|
Ce(() => {
|
|
@@ -10764,8 +10764,8 @@ const tu = ({
|
|
|
10764
10764
|
V1.target.value
|
|
10765
10765
|
), f1();
|
|
10766
10766
|
}), setTimeout(f1, 0), G.appendChild(Q), G;
|
|
10767
|
-
}, i1 = () => n1 && l1(), P1 = () => !n1 && N.type === "boolean" && c1(),
|
|
10768
|
-
return i1() || P1() ||
|
|
10767
|
+
}, i1 = () => n1 && l1(), P1 = () => !n1 && N.type === "boolean" && c1(), H1 = () => !n1 && N.enum && E(), C1 = () => !n1 && (N.format === "date" || N.format === "date-time") && Y();
|
|
10768
|
+
return i1() || P1() || H1() || C1() || e1();
|
|
10769
10769
|
},
|
|
10770
10770
|
[f, o]
|
|
10771
10771
|
), h = y1(
|
|
@@ -10786,7 +10786,7 @@ const tu = ({
|
|
|
10786
10786
|
const i1 = document.createDocumentFragment();
|
|
10787
10787
|
n1.textContent.replace(
|
|
10788
10788
|
l1,
|
|
10789
|
-
(P1,
|
|
10789
|
+
(P1, H1, C1, J) => {
|
|
10790
10790
|
J > e1 && i1.appendChild(
|
|
10791
10791
|
document.createTextNode(c1.slice(e1, J))
|
|
10792
10792
|
);
|
|
@@ -10796,7 +10796,7 @@ const tu = ({
|
|
|
10796
10796
|
return (R1 == null ? void 0 : R1.type) === "checkbox" && R1.true_name && R1.false_name && (R1.true_name === d1 || R1.false_name === d1);
|
|
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
|
-
return O1.textContent =
|
|
10799
|
+
return O1.textContent = H1, O1.className = "inline-checkbox-readonly", O1;
|
|
10800
10800
|
}, xt = () => {
|
|
10801
10801
|
const O1 = document.createElement("span");
|
|
10802
10802
|
O1.className = "inline-radio-container";
|
|
@@ -10808,7 +10808,7 @@ const tu = ({
|
|
|
10808
10808
|
}), O1.appendChild(M1), O1;
|
|
10809
10809
|
}, Vr = () => {
|
|
10810
10810
|
const O1 = document.createElement("input");
|
|
10811
|
-
return O1.type = "checkbox", O1.checked =
|
|
10811
|
+
return O1.type = "checkbox", O1.checked = H1 === "☑", O1.className = "inline-checkbox rounded border-gray-300 text-green-600 focus:ring-green-500", O1.setAttribute("data-field-path", d1), O1.addEventListener("change", (M1) => {
|
|
10812
10812
|
O(
|
|
10813
10813
|
d1,
|
|
10814
10814
|
M1.target.checked
|
|
@@ -10819,7 +10819,7 @@ const tu = ({
|
|
|
10819
10819
|
})() : (() => {
|
|
10820
10820
|
var q1;
|
|
10821
10821
|
const d1 = ((q1 = r.properties) == null ? void 0 : q1[C1]) || {};
|
|
10822
|
-
return v(C1,
|
|
10822
|
+
return v(C1, H1, d1, b);
|
|
10823
10823
|
})();
|
|
10824
10824
|
return i1.appendChild(V1), e1 = J + P1.length, P1;
|
|
10825
10825
|
}
|
|
@@ -10857,7 +10857,7 @@ const tu = ({
|
|
|
10857
10857
|
renderChanges: !1,
|
|
10858
10858
|
renderComments: !1
|
|
10859
10859
|
}), setTimeout(() => {
|
|
10860
|
-
!!x.current && (h(x.current, I),
|
|
10860
|
+
!!x.current && (h(x.current, I), z());
|
|
10861
10861
|
}, 100);
|
|
10862
10862
|
} catch (N) {
|
|
10863
10863
|
console.error("Error updating preview:", N), !!x.current && (() => {
|
|
@@ -10869,7 +10869,7 @@ const tu = ({
|
|
|
10869
10869
|
}
|
|
10870
10870
|
})();
|
|
10871
10871
|
},
|
|
10872
|
-
[P, h,
|
|
10872
|
+
[P, h, z]
|
|
10873
10873
|
), W = y1(async () => {
|
|
10874
10874
|
try {
|
|
10875
10875
|
d(!0);
|
|
@@ -10878,7 +10878,7 @@ const tu = ({
|
|
|
10878
10878
|
const L = {};
|
|
10879
10879
|
n1.forEach((c1) => {
|
|
10880
10880
|
var C1;
|
|
10881
|
-
const E = (C1 = r.properties) == null ? void 0 : C1[c1], Y = !!E, e1 = () => Y && E.type === "boolean" && !1, i1 = () => Y && E.type === "string" && E.format === "date" && "", P1 = () => Y && E.type !== "boolean" && !(E.type === "string" && E.format === "date") && "",
|
|
10881
|
+
const E = (C1 = r.properties) == null ? void 0 : C1[c1], Y = !!E, e1 = () => Y && E.type === "boolean" && !1, i1 = () => Y && E.type === "string" && E.format === "date" && "", P1 = () => Y && E.type !== "boolean" && !(E.type === "string" && E.format === "date") && "", H1 = () => !Y && "";
|
|
10882
10882
|
L[c1] = e1() || i1() || P1() || "";
|
|
10883
10883
|
});
|
|
10884
10884
|
const l1 = { ...L, ...n };
|
|
@@ -11118,24 +11118,18 @@ const tu = ({
|
|
|
11118
11118
|
} },
|
|
11119
11119
|
{ id: "example-2", label: "Example two", onSelect: () => {
|
|
11120
11120
|
} }
|
|
11121
|
-
], Ar = "bg-[rgba(38,36,32,0.04)]",
|
|
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", $t = "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", e2 = "shrink-0 [&>svg]:size-4", b0 = "min-w-0 flex-1 truncate text-caption-2 tracking-[0.01em]", Dr = "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,
|
|
11125
|
-
|
|
11125
|
+
zA,
|
|
11126
11126
|
e
|
|
11127
|
-
), kA =
|
|
11128
|
-
"flex min-w-0 flex-1 items-center gap-2 truncate text-left text-caption-2 transition-colors",
|
|
11129
|
-
e
|
|
11130
|
-
), bA = (e) => V(
|
|
11131
|
-
"flex min-w-0 flex-1 items-center gap-2 truncate text-left text-caption-2 transition-colors",
|
|
11132
|
-
e
|
|
11133
|
-
), IA = [
|
|
11127
|
+
), kA = [
|
|
11134
11128
|
{ id: "settings", label: "Settings", onSelect: () => {
|
|
11135
11129
|
} },
|
|
11136
11130
|
{ id: "logout", label: "Log out", destructive: !0, onSelect: () => {
|
|
11137
11131
|
} }
|
|
11138
|
-
], An = ({ src: e, className: r }) => /* @__PURE__ */ a.jsx("img", { src: e, alt: "", className: V("size-full object-cover", r) }),
|
|
11132
|
+
], An = ({ src: e, className: r }) => /* @__PURE__ */ a.jsx("img", { src: e, alt: "", className: V("size-full object-cover", r) }), bA = ({
|
|
11139
11133
|
name: e,
|
|
11140
11134
|
avatarSrc: r,
|
|
11141
11135
|
collapsed: t,
|
|
@@ -11184,7 +11178,7 @@ const tu = ({
|
|
|
11184
11178
|
"div",
|
|
11185
11179
|
{
|
|
11186
11180
|
className: V(
|
|
11187
|
-
|
|
11181
|
+
H0,
|
|
11188
11182
|
"min-w-0 flex-1",
|
|
11189
11183
|
n === "hover" && Ar,
|
|
11190
11184
|
n === "idle" && me
|
|
@@ -11215,12 +11209,12 @@ const tu = ({
|
|
|
11215
11209
|
state: n = "idle",
|
|
11216
11210
|
sidebarHovered: c = !1,
|
|
11217
11211
|
presentation: o = !1,
|
|
11218
|
-
menuItems: i =
|
|
11212
|
+
menuItems: i = kA,
|
|
11219
11213
|
onToggleCollapsed: A,
|
|
11220
11214
|
className: s
|
|
11221
11215
|
}) => {
|
|
11222
11216
|
const d = /* @__PURE__ */ a.jsx(
|
|
11223
|
-
|
|
11217
|
+
bA,
|
|
11224
11218
|
{
|
|
11225
11219
|
name: e,
|
|
11226
11220
|
avatarSrc: r,
|
|
@@ -11245,7 +11239,7 @@ const tu = ({
|
|
|
11245
11239
|
},
|
|
11246
11240
|
u.id
|
|
11247
11241
|
)) });
|
|
11248
|
-
},
|
|
11242
|
+
}, IA = {
|
|
11249
11243
|
idle: mA,
|
|
11250
11244
|
hover: jA,
|
|
11251
11245
|
selected: fA
|
|
@@ -11267,33 +11261,37 @@ const tu = ({
|
|
|
11267
11261
|
className: V(
|
|
11268
11262
|
"group/row relative w-full",
|
|
11269
11263
|
VA,
|
|
11270
|
-
|
|
11264
|
+
IA[t],
|
|
11271
11265
|
t === "idle" && me,
|
|
11272
11266
|
A
|
|
11273
11267
|
),
|
|
11274
11268
|
"data-state": t,
|
|
11275
11269
|
children: [
|
|
11276
|
-
/* @__PURE__ */ a.
|
|
11270
|
+
/* @__PURE__ */ a.jsx(
|
|
11277
11271
|
"a",
|
|
11278
11272
|
{
|
|
11279
11273
|
href: e,
|
|
11280
|
-
className:
|
|
11274
|
+
className: "absolute inset-0 z-0 rounded-control",
|
|
11275
|
+
"aria-label": r,
|
|
11281
11276
|
"aria-current": t === "selected" ? "true" : void 0,
|
|
11282
|
-
onClick: s
|
|
11283
|
-
children: [
|
|
11284
|
-
n && /* @__PURE__ */ a.jsx("span", { className: "shrink-0 px-1 py-0.5 [&>svg]:size-4", children: n }),
|
|
11285
|
-
/* @__PURE__ */ a.jsx("span", { className: "truncate", children: r })
|
|
11286
|
-
]
|
|
11277
|
+
onClick: s
|
|
11287
11278
|
}
|
|
11288
11279
|
),
|
|
11280
|
+
/* @__PURE__ */ a.jsxs("div", { className: "pointer-events-none relative z-10 flex min-w-0 flex-1 items-center gap-2 text-caption-2", children: [
|
|
11281
|
+
n && /* @__PURE__ */ a.jsx("span", { className: "shrink-0 px-1 py-0.5 [&>svg]:size-4", children: n }),
|
|
11282
|
+
/* @__PURE__ */ a.jsx("span", { className: "truncate", children: r })
|
|
11283
|
+
] }),
|
|
11289
11284
|
c && !(p && C) && /* @__PURE__ */ a.jsx(
|
|
11290
11285
|
"span",
|
|
11291
11286
|
{
|
|
11292
|
-
className: V(
|
|
11287
|
+
className: V(
|
|
11288
|
+
"pointer-events-none relative z-10 shrink-0",
|
|
11289
|
+
p && !i && "group-hover/row:hidden"
|
|
11290
|
+
),
|
|
11293
11291
|
children: c
|
|
11294
11292
|
}
|
|
11295
11293
|
),
|
|
11296
|
-
p && /* @__PURE__ */ a.jsx(
|
|
11294
|
+
p && /* @__PURE__ */ a.jsx("div", { className: "relative z-10 shrink-0", children: /* @__PURE__ */ a.jsx(
|
|
11297
11295
|
F2,
|
|
11298
11296
|
{
|
|
11299
11297
|
open: d,
|
|
@@ -11319,7 +11317,9 @@ const tu = ({
|
|
|
11319
11317
|
children: o == null ? void 0 : o.map((g) => /* @__PURE__ */ a.jsxs(
|
|
11320
11318
|
G2,
|
|
11321
11319
|
{
|
|
11322
|
-
className: V(
|
|
11320
|
+
className: V(
|
|
11321
|
+
g.destructive && "text-red-500 hover:bg-red-50 hover:text-red-700"
|
|
11322
|
+
),
|
|
11323
11323
|
onSelect: () => g.onSelect(),
|
|
11324
11324
|
children: [
|
|
11325
11325
|
g.icon && /* @__PURE__ */ a.jsx("span", { className: "shrink-0 [&>svg]:size-4", children: g.icon }),
|
|
@@ -11329,11 +11329,11 @@ const tu = ({
|
|
|
11329
11329
|
g.id
|
|
11330
11330
|
))
|
|
11331
11331
|
}
|
|
11332
|
-
)
|
|
11332
|
+
) })
|
|
11333
11333
|
]
|
|
11334
11334
|
}
|
|
11335
11335
|
);
|
|
11336
|
-
},
|
|
11336
|
+
}, PA = sr, sn = {
|
|
11337
11337
|
idle: I0,
|
|
11338
11338
|
hover: xA,
|
|
11339
11339
|
active: P0
|
|
@@ -11352,10 +11352,11 @@ const tu = ({
|
|
|
11352
11352
|
className: p,
|
|
11353
11353
|
onNavigate: C
|
|
11354
11354
|
}) => {
|
|
11355
|
-
const g = c ? /* @__PURE__ */ a.
|
|
11355
|
+
const g = c ? /* @__PURE__ */ a.jsxs(
|
|
11356
11356
|
"div",
|
|
11357
11357
|
{
|
|
11358
11358
|
className: V(
|
|
11359
|
+
"relative",
|
|
11359
11360
|
$t,
|
|
11360
11361
|
sn[n],
|
|
11361
11362
|
n === "idle" && me,
|
|
@@ -11363,53 +11364,68 @@ const tu = ({
|
|
|
11363
11364
|
),
|
|
11364
11365
|
"data-state": n,
|
|
11365
11366
|
"data-collapsed": c,
|
|
11366
|
-
children:
|
|
11367
|
-
|
|
11368
|
-
|
|
11369
|
-
|
|
11370
|
-
|
|
11371
|
-
|
|
11372
|
-
|
|
11373
|
-
|
|
11374
|
-
|
|
11375
|
-
|
|
11376
|
-
|
|
11377
|
-
|
|
11378
|
-
|
|
11379
|
-
|
|
11367
|
+
children: [
|
|
11368
|
+
/* @__PURE__ */ a.jsx(
|
|
11369
|
+
"a",
|
|
11370
|
+
{
|
|
11371
|
+
href: e,
|
|
11372
|
+
className: "absolute inset-0 z-0 rounded-control",
|
|
11373
|
+
"aria-current": n === "active" ? "page" : void 0,
|
|
11374
|
+
"aria-label": r,
|
|
11375
|
+
onClick: C
|
|
11376
|
+
}
|
|
11377
|
+
),
|
|
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: e2, children: t }),
|
|
11380
|
+
u && /* @__PURE__ */ a.jsx("span", { "aria-hidden": !0, className: uA, children: /* @__PURE__ */ a.jsx("span", { className: dA }) })
|
|
11381
|
+
] })
|
|
11382
|
+
]
|
|
11380
11383
|
}
|
|
11381
|
-
) : /* @__PURE__ */ a.
|
|
11384
|
+
) : /* @__PURE__ */ a.jsxs(
|
|
11382
11385
|
"div",
|
|
11383
11386
|
{
|
|
11384
11387
|
className: V(
|
|
11385
|
-
|
|
11388
|
+
"relative",
|
|
11389
|
+
o ? lA : H0,
|
|
11386
11390
|
sn[n],
|
|
11387
11391
|
n === "idle" && me,
|
|
11388
11392
|
p
|
|
11389
11393
|
),
|
|
11390
11394
|
"data-state": n,
|
|
11391
11395
|
"data-collapsed": c,
|
|
11392
|
-
children:
|
|
11393
|
-
/* @__PURE__ */ a.
|
|
11396
|
+
children: [
|
|
11397
|
+
/* @__PURE__ */ a.jsx(
|
|
11394
11398
|
"a",
|
|
11395
11399
|
{
|
|
11396
11400
|
href: e,
|
|
11397
|
-
className: "
|
|
11401
|
+
className: "absolute inset-0 z-0 rounded-control",
|
|
11398
11402
|
"aria-current": n === "active" ? "page" : void 0,
|
|
11399
|
-
|
|
11403
|
+
"aria-label": r,
|
|
11404
|
+
onClick: C
|
|
11405
|
+
}
|
|
11406
|
+
),
|
|
11407
|
+
/* @__PURE__ */ a.jsxs(
|
|
11408
|
+
"div",
|
|
11409
|
+
{
|
|
11410
|
+
className: V(
|
|
11411
|
+
k0,
|
|
11412
|
+
"pointer-events-none relative z-10"
|
|
11413
|
+
),
|
|
11400
11414
|
children: [
|
|
11401
|
-
|
|
11402
|
-
|
|
11403
|
-
|
|
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: e2, children: t }),
|
|
11417
|
+
/* @__PURE__ */ a.jsx("span", { className: b0, children: r }),
|
|
11418
|
+
i
|
|
11419
|
+
] }),
|
|
11420
|
+
A != null && /* @__PURE__ */ a.jsx("span", { className: "pointer-events-auto shrink-0", children: A })
|
|
11404
11421
|
]
|
|
11405
11422
|
}
|
|
11406
|
-
)
|
|
11407
|
-
|
|
11408
|
-
] })
|
|
11423
|
+
)
|
|
11424
|
+
]
|
|
11409
11425
|
}
|
|
11410
11426
|
);
|
|
11411
11427
|
return d || !c || !s ? g : /* @__PURE__ */ a.jsx(dt, { content: s ?? r, side: "right", className: "w-full", children: g });
|
|
11412
|
-
},
|
|
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(Lr, { size: "small" }), a5 = ({
|
|
11413
11429
|
href: e,
|
|
11414
11430
|
chief: r,
|
|
11415
11431
|
empty: t = !1,
|
|
@@ -11431,7 +11447,7 @@ const tu = ({
|
|
|
11431
11447
|
{
|
|
11432
11448
|
href: s.href,
|
|
11433
11449
|
label: s.label,
|
|
11434
|
-
icon:
|
|
11450
|
+
icon: vA(s.icon),
|
|
11435
11451
|
badge: s.count ? /* @__PURE__ */ a.jsx(
|
|
11436
11452
|
pt,
|
|
11437
11453
|
{
|
|
@@ -11446,7 +11462,7 @@ const tu = ({
|
|
|
11446
11462
|
!t && /* @__PURE__ */ a.jsx(sr, { href: e, label: "Show all", onNavigate: i })
|
|
11447
11463
|
]
|
|
11448
11464
|
}
|
|
11449
|
-
),
|
|
11465
|
+
), KA = a5, c5 = ({
|
|
11450
11466
|
href: e,
|
|
11451
11467
|
label: r = "Ships",
|
|
11452
11468
|
icon: t = /* @__PURE__ */ a.jsx(Ke, { size: "small", className: "text-display-on-light-primary" }),
|
|
@@ -11482,7 +11498,7 @@ const tu = ({
|
|
|
11482
11498
|
d.preventDefault(), d.stopPropagation(), c(!n);
|
|
11483
11499
|
},
|
|
11484
11500
|
children: /* @__PURE__ */ a.jsx(
|
|
11485
|
-
|
|
11501
|
+
z1,
|
|
11486
11502
|
{
|
|
11487
11503
|
direction: "right",
|
|
11488
11504
|
className: V(
|
|
@@ -11515,7 +11531,8 @@ const tu = ({
|
|
|
11515
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"
|
|
11516
11532
|
}
|
|
11517
11533
|
) : void 0,
|
|
11518
|
-
menuItems: s
|
|
11534
|
+
menuItems: s,
|
|
11535
|
+
onNavigate: A
|
|
11519
11536
|
},
|
|
11520
11537
|
d.id
|
|
11521
11538
|
)) })
|
|
@@ -11523,7 +11540,7 @@ const tu = ({
|
|
|
11523
11540
|
)
|
|
11524
11541
|
]
|
|
11525
11542
|
}
|
|
11526
|
-
),
|
|
11543
|
+
), NA = c5, v0 = 280, K0 = 56, N0 = ({
|
|
11527
11544
|
title: e,
|
|
11528
11545
|
collapsed: r = !1,
|
|
11529
11546
|
state: t = "idle",
|
|
@@ -11541,10 +11558,10 @@ const tu = ({
|
|
|
11541
11558
|
"data-state": t,
|
|
11542
11559
|
children: [
|
|
11543
11560
|
/* @__PURE__ */ a.jsx("span", { className: "truncate text-caption-2 text-display-on-light-secondary", children: e }),
|
|
11544
|
-
r && /* @__PURE__ */ a.jsx(
|
|
11561
|
+
r && /* @__PURE__ */ a.jsx(z1, { direction: "right", className: "size-4 shrink-0 text-display-on-light-primary" })
|
|
11545
11562
|
]
|
|
11546
11563
|
}
|
|
11547
|
-
),
|
|
11564
|
+
), SA = N0, qA = ({ chief: e, className: r }) => /* @__PURE__ */ a.jsx("div", { className: V("size-6 shrink-0", r), "aria-label": `Active chief: ${e}`, children: /* @__PURE__ */ a.jsx(D2, { chief: e, className: "size-6" }) }), S0 = ({
|
|
11548
11565
|
href: e = "#new-chat",
|
|
11549
11566
|
collapsed: r = !1,
|
|
11550
11567
|
state: t = "idle",
|
|
@@ -11569,7 +11586,7 @@ const tu = ({
|
|
|
11569
11586
|
"data-state": t,
|
|
11570
11587
|
children: /* @__PURE__ */ a.jsxs("span", { className: V("flex w-full items-center", r ? "justify-center" : "gap-2"), children: [
|
|
11571
11588
|
/* @__PURE__ */ a.jsx(
|
|
11572
|
-
|
|
11589
|
+
zn,
|
|
11573
11590
|
{
|
|
11574
11591
|
size: "large",
|
|
11575
11592
|
filled: !0,
|
|
@@ -11584,7 +11601,7 @@ const tu = ({
|
|
|
11584
11601
|
}
|
|
11585
11602
|
);
|
|
11586
11603
|
return n || !r ? A : /* @__PURE__ */ a.jsx(dt, { content: "New chat", side: "right", className: "w-full", children: A });
|
|
11587
|
-
},
|
|
11604
|
+
}, UA = ({
|
|
11588
11605
|
label: e,
|
|
11589
11606
|
icon: r,
|
|
11590
11607
|
onClick: t,
|
|
@@ -11593,34 +11610,31 @@ const tu = ({
|
|
|
11593
11610
|
tooltip: o,
|
|
11594
11611
|
className: i
|
|
11595
11612
|
}) => {
|
|
11596
|
-
const A = /* @__PURE__ */ a.
|
|
11597
|
-
"
|
|
11613
|
+
const A = /* @__PURE__ */ a.jsxs(
|
|
11614
|
+
"button",
|
|
11598
11615
|
{
|
|
11599
|
-
|
|
11616
|
+
type: "button",
|
|
11617
|
+
onClick: t,
|
|
11618
|
+
"aria-label": e,
|
|
11619
|
+
className: HA(
|
|
11600
11620
|
V(
|
|
11621
|
+
"cursor-pointer text-left",
|
|
11601
11622
|
n ? P0 : I0,
|
|
11602
11623
|
!n && me,
|
|
11624
|
+
c ? "justify-center" : "gap-2",
|
|
11603
11625
|
i
|
|
11604
11626
|
)
|
|
11605
11627
|
),
|
|
11606
11628
|
"data-active": n,
|
|
11607
11629
|
"data-collapsed": c,
|
|
11608
|
-
children:
|
|
11609
|
-
"
|
|
11610
|
-
{
|
|
11611
|
-
|
|
11612
|
-
className: bA(c ? "justify-center" : void 0),
|
|
11613
|
-
onClick: t,
|
|
11614
|
-
children: [
|
|
11615
|
-
r && /* @__PURE__ */ a.jsx("span", { className: "shrink-0 [&>svg]:size-5", children: r }),
|
|
11616
|
-
!c && /* @__PURE__ */ a.jsx("span", { className: "truncate", children: e })
|
|
11617
|
-
]
|
|
11618
|
-
}
|
|
11619
|
-
)
|
|
11630
|
+
children: [
|
|
11631
|
+
r && /* @__PURE__ */ a.jsx("span", { className: "shrink-0 [&>svg]:size-5", children: r }),
|
|
11632
|
+
!c && /* @__PURE__ */ a.jsx("span", { className: "min-w-0 flex-1 truncate", children: e })
|
|
11633
|
+
]
|
|
11620
11634
|
}
|
|
11621
11635
|
);
|
|
11622
11636
|
return !c || !o ? A : /* @__PURE__ */ a.jsx(dt, { content: o ?? e, side: "right", className: "w-full", children: A });
|
|
11623
|
-
},
|
|
11637
|
+
}, hA = [
|
|
11624
11638
|
"search",
|
|
11625
11639
|
"workflows",
|
|
11626
11640
|
"analytics",
|
|
@@ -11628,7 +11642,7 @@ const tu = ({
|
|
|
11628
11642
|
"defectReports",
|
|
11629
11643
|
"knowledge",
|
|
11630
11644
|
"activity"
|
|
11631
|
-
],
|
|
11645
|
+
], wA = [
|
|
11632
11646
|
"search",
|
|
11633
11647
|
"workflows",
|
|
11634
11648
|
"forms",
|
|
@@ -11637,14 +11651,14 @@ const tu = ({
|
|
|
11637
11651
|
"knowledge",
|
|
11638
11652
|
"analytics",
|
|
11639
11653
|
"activity"
|
|
11640
|
-
],
|
|
11654
|
+
], WA = [
|
|
11641
11655
|
{ id: "search" },
|
|
11642
11656
|
{ id: "workflows" },
|
|
11643
11657
|
{ id: "analytics" },
|
|
11644
11658
|
{ id: "ships", unread: !0 },
|
|
11645
11659
|
{ id: "defectReports" },
|
|
11646
11660
|
{ id: "activity", unread: !0 }
|
|
11647
|
-
],
|
|
11661
|
+
], TA = [
|
|
11648
11662
|
{ id: "search" },
|
|
11649
11663
|
{ id: "workflows", unread: !0 },
|
|
11650
11664
|
{ id: "ships" },
|
|
@@ -11662,9 +11676,9 @@ const tu = ({
|
|
|
11662
11676
|
tasks: "Tasks",
|
|
11663
11677
|
knowledge: "Knowledge",
|
|
11664
11678
|
activity: "Activity"
|
|
11665
|
-
},
|
|
11666
|
-
expandedItems: e === "compliance" ?
|
|
11667
|
-
collapsedItems: e === "compliance" ?
|
|
11679
|
+
}, RA = (e) => ({
|
|
11680
|
+
expandedItems: e === "compliance" ? wA : hA,
|
|
11681
|
+
collapsedItems: e === "compliance" ? TA : WA
|
|
11668
11682
|
}), t2 = {
|
|
11669
11683
|
technical: "Technical",
|
|
11670
11684
|
compliance: "Compliance"
|
|
@@ -11755,7 +11769,7 @@ const tu = ({
|
|
|
11755
11769
|
tasks: /* @__PURE__ */ a.jsx(g2, { size: "small", className: "text-display-on-light-primary" }),
|
|
11756
11770
|
knowledge: /* @__PURE__ */ a.jsx(_r, { size: "small", className: "text-display-on-light-primary" }),
|
|
11757
11771
|
activity: /* @__PURE__ */ a.jsx(Er, { size: "small", className: "text-display-on-light-tertiary" })
|
|
11758
|
-
},
|
|
11772
|
+
}, FA = {
|
|
11759
11773
|
search: /* @__PURE__ */ a.jsx(Zr, { size: "small" }),
|
|
11760
11774
|
workflows: /* @__PURE__ */ a.jsx(ur, { size: "small" }),
|
|
11761
11775
|
analytics: /* @__PURE__ */ a.jsx(A2, { size: "small" }),
|
|
@@ -11798,7 +11812,7 @@ const tu = ({
|
|
|
11798
11812
|
},
|
|
11799
11813
|
e
|
|
11800
11814
|
);
|
|
11801
|
-
},
|
|
11815
|
+
}, GA = (e, r) => /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
11802
11816
|
e.showSearch && /* @__PURE__ */ a.jsx(
|
|
11803
11817
|
h1,
|
|
11804
11818
|
{
|
|
@@ -11846,7 +11860,7 @@ const tu = ({
|
|
|
11846
11860
|
}
|
|
11847
11861
|
),
|
|
11848
11862
|
h0("#activity", "Activity", Y1.activity, e, r)
|
|
11849
|
-
] }),
|
|
11863
|
+
] }), DA = ({
|
|
11850
11864
|
chief: e = "technical",
|
|
11851
11865
|
activity: r = !0,
|
|
11852
11866
|
ships: t = !0,
|
|
@@ -11855,14 +11869,14 @@ const tu = ({
|
|
|
11855
11869
|
presentation: o = !1,
|
|
11856
11870
|
className: i
|
|
11857
11871
|
}) => {
|
|
11858
|
-
const [A, s] = m1(!1), [d, u] = m1(n), [p, C] = m1(t), [g, x] = m1(e), m =
|
|
11872
|
+
const [A, s] = m1(!1), [d, u] = m1(n), [p, C] = m1(t), [g, x] = m1(e), m = RA(g), f = o ? n : d, O = o ? t : p, y = o ? e : g, H = o ? void 0 : [...sA], z = {
|
|
11859
11873
|
chief: y,
|
|
11860
11874
|
activity: r,
|
|
11861
11875
|
shipsExpanded: O,
|
|
11862
11876
|
onShipsExpandedChange: C,
|
|
11863
11877
|
presentation: o,
|
|
11864
11878
|
showSearch: c,
|
|
11865
|
-
entryMenuItems:
|
|
11879
|
+
entryMenuItems: H
|
|
11866
11880
|
}, k = (U) => {
|
|
11867
11881
|
U.preventDefault();
|
|
11868
11882
|
}, P = (U) => {
|
|
@@ -11872,7 +11886,7 @@ const tu = ({
|
|
|
11872
11886
|
{
|
|
11873
11887
|
href: Sr(W),
|
|
11874
11888
|
label: r2[W],
|
|
11875
|
-
icon:
|
|
11889
|
+
icon: FA[W],
|
|
11876
11890
|
collapsed: !0,
|
|
11877
11891
|
unread: w,
|
|
11878
11892
|
presentation: o,
|
|
@@ -11881,10 +11895,10 @@ const tu = ({
|
|
|
11881
11895
|
},
|
|
11882
11896
|
W
|
|
11883
11897
|
)), h = () => o ? m.expandedItems.map(
|
|
11884
|
-
(U) => un(U,
|
|
11898
|
+
(U) => un(U, z, k)
|
|
11885
11899
|
) : e === "compliance" ? m.expandedItems.map(
|
|
11886
|
-
(U) => un(U,
|
|
11887
|
-
) :
|
|
11900
|
+
(U) => un(U, z, k)
|
|
11901
|
+
) : GA(z, k);
|
|
11888
11902
|
return /* @__PURE__ */ a.jsx(
|
|
11889
11903
|
"aside",
|
|
11890
11904
|
{
|
|
@@ -11960,7 +11974,7 @@ const tu = ({
|
|
|
11960
11974
|
] })
|
|
11961
11975
|
}
|
|
11962
11976
|
);
|
|
11963
|
-
},
|
|
11977
|
+
}, XA = ({
|
|
11964
11978
|
sidebar: e,
|
|
11965
11979
|
children: r,
|
|
11966
11980
|
bannerOffset: t = 0,
|
|
@@ -11978,7 +11992,7 @@ const tu = ({
|
|
|
11978
11992
|
/* @__PURE__ */ a.jsx("main", { className: V("min-h-0 min-w-0 flex-1 overflow-auto", c), children: r })
|
|
11979
11993
|
]
|
|
11980
11994
|
}
|
|
11981
|
-
),
|
|
11995
|
+
), BA = ({
|
|
11982
11996
|
name: e = "inspection-report.pdf",
|
|
11983
11997
|
size: r = "2.4 MB",
|
|
11984
11998
|
className: t
|
|
@@ -12025,7 +12039,7 @@ const tu = ({
|
|
|
12025
12039
|
)
|
|
12026
12040
|
]
|
|
12027
12041
|
}
|
|
12028
|
-
),
|
|
12042
|
+
), ZA = {
|
|
12029
12043
|
technical: "Technical Chief",
|
|
12030
12044
|
compliance: "Compliance Chief"
|
|
12031
12045
|
}, w0 = ({
|
|
@@ -12042,7 +12056,7 @@ const tu = ({
|
|
|
12042
12056
|
children: [
|
|
12043
12057
|
/* @__PURE__ */ a.jsx(W1, { chief: e, size: 32 }),
|
|
12044
12058
|
/* @__PURE__ */ a.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
12045
|
-
/* @__PURE__ */ a.jsx("p", { className: "truncate text-caption-2 text-display-on-light-tertiary", children:
|
|
12059
|
+
/* @__PURE__ */ a.jsx("p", { className: "truncate text-caption-2 text-display-on-light-tertiary", children: ZA[e] }),
|
|
12046
12060
|
/* @__PURE__ */ a.jsx("h2", { className: "truncate text-subheader-em text-display-on-light-primary", children: r })
|
|
12047
12061
|
] }),
|
|
12048
12062
|
/* @__PURE__ */ a.jsx(K1, { hierarchy: "quaternary", size: "small", "aria-label": "More options", children: /* @__PURE__ */ a.jsx(p2, {}) })
|
|
@@ -12069,7 +12083,7 @@ const tu = ({
|
|
|
12069
12083
|
"aria-label": "Message input"
|
|
12070
12084
|
}
|
|
12071
12085
|
),
|
|
12072
|
-
/* @__PURE__ */ a.jsx(K1, { hierarchy: "tertiary", size: "small", "aria-label": "Send message", children: /* @__PURE__ */ a.jsx(
|
|
12086
|
+
/* @__PURE__ */ a.jsx(K1, { hierarchy: "tertiary", size: "small", "aria-label": "Send message", children: /* @__PURE__ */ a.jsx(Hn, {}) })
|
|
12073
12087
|
]
|
|
12074
12088
|
}
|
|
12075
12089
|
), T0 = ({
|
|
@@ -12090,7 +12104,7 @@ const tu = ({
|
|
|
12090
12104
|
/* @__PURE__ */ a.jsx("span", { children: r })
|
|
12091
12105
|
]
|
|
12092
12106
|
}
|
|
12093
|
-
),
|
|
12107
|
+
), YA = ({
|
|
12094
12108
|
chief: e = "technical",
|
|
12095
12109
|
title: r = "Hull inspection report",
|
|
12096
12110
|
preview: t = "Based on the inspection data, all critical systems are operating...",
|
|
@@ -12116,7 +12130,7 @@ const tu = ({
|
|
|
12116
12130
|
/* @__PURE__ */ a.jsx(Lr, { className: "size-4 shrink-0 text-display-on-light-quaternary" })
|
|
12117
12131
|
]
|
|
12118
12132
|
}
|
|
12119
|
-
),
|
|
12133
|
+
), LA = {
|
|
12120
12134
|
technical: "How can I help with technical matters?",
|
|
12121
12135
|
compliance: "How can I help with compliance today?"
|
|
12122
12136
|
}, R0 = ({
|
|
@@ -12130,7 +12144,7 @@ const tu = ({
|
|
|
12130
12144
|
"Hello, ",
|
|
12131
12145
|
r
|
|
12132
12146
|
] }),
|
|
12133
|
-
/* @__PURE__ */ a.jsx("p", { className: "mt-2 text-body text-display-on-light-secondary", children:
|
|
12147
|
+
/* @__PURE__ */ a.jsx("p", { className: "mt-2 text-body text-display-on-light-secondary", children: LA[e] })
|
|
12134
12148
|
] })
|
|
12135
12149
|
] }), F0 = ({
|
|
12136
12150
|
title: e = "ISM Code Section 10",
|
|
@@ -12151,7 +12165,7 @@ const tu = ({
|
|
|
12151
12165
|
/* @__PURE__ */ a.jsx("p", { className: "line-clamp-2 text-caption-2 text-display-on-light-secondary", children: r })
|
|
12152
12166
|
]
|
|
12153
12167
|
}
|
|
12154
|
-
),
|
|
12168
|
+
), JA = [
|
|
12155
12169
|
{ title: "ISM Code Section 10", excerpt: "The company should establish procedures to ensure that the ship is maintained..." },
|
|
12156
12170
|
{ title: "Port State Control MOU", excerpt: "Inspections are carried out to verify compliance with international conventions..." }
|
|
12157
12171
|
], G0 = ({ count: e = 2, className: r }) => /* @__PURE__ */ a.jsxs("div", { className: V("flex flex-col gap-2", r), role: "region", "aria-label": "Sources", children: [
|
|
@@ -12160,7 +12174,7 @@ const tu = ({
|
|
|
12160
12174
|
" source",
|
|
12161
12175
|
e !== 1 ? "s" : ""
|
|
12162
12176
|
] }),
|
|
12163
|
-
|
|
12177
|
+
JA.slice(0, e).map((t) => /* @__PURE__ */ a.jsx(F0, { title: t.title, excerpt: t.excerpt }, t.title))
|
|
12164
12178
|
] }), D0 = ({
|
|
12165
12179
|
label: e = "Summarize the latest inspection findings",
|
|
12166
12180
|
className: r
|
|
@@ -12177,14 +12191,14 @@ const tu = ({
|
|
|
12177
12191
|
/* @__PURE__ */ a.jsx("span", { children: e })
|
|
12178
12192
|
]
|
|
12179
12193
|
}
|
|
12180
|
-
),
|
|
12194
|
+
), QA = [
|
|
12181
12195
|
"Summarize the latest inspection findings",
|
|
12182
12196
|
"What actions are required before next port call?",
|
|
12183
12197
|
"Compare with previous survey results"
|
|
12184
12198
|
], X0 = ({ className: e }) => /* @__PURE__ */ a.jsxs("div", { className: V("flex flex-col gap-2", e), role: "group", "aria-label": "Suggestions", children: [
|
|
12185
12199
|
/* @__PURE__ */ a.jsx("p", { className: "text-footnote-em text-display-on-light-tertiary", children: "Suggested prompts" }),
|
|
12186
|
-
|
|
12187
|
-
] }),
|
|
12200
|
+
QA.map((r) => /* @__PURE__ */ a.jsx(D0, { label: r }, r))
|
|
12201
|
+
] }), EA = ({
|
|
12188
12202
|
chief: e = "technical",
|
|
12189
12203
|
empty: r = !1,
|
|
12190
12204
|
thinking: t = !1,
|
|
@@ -12201,7 +12215,7 @@ const tu = ({
|
|
|
12201
12215
|
t && /* @__PURE__ */ a.jsx(T0, { status: "thinking" })
|
|
12202
12216
|
] }) }),
|
|
12203
12217
|
/* @__PURE__ */ a.jsx("div", { className: "border-t border-divider-primary p-4", children: /* @__PURE__ */ a.jsx(W0, {}) })
|
|
12204
|
-
] }),
|
|
12218
|
+
] }), _A = ({
|
|
12205
12219
|
content: e = "Based on the inspection report, I recommend scheduling a follow-up survey within 30 days...",
|
|
12206
12220
|
className: r
|
|
12207
12221
|
}) => /* @__PURE__ */ a.jsxs(
|
|
@@ -12218,7 +12232,7 @@ const tu = ({
|
|
|
12218
12232
|
/* @__PURE__ */ a.jsx("p", { className: "text-body text-display-on-light-primary", children: e })
|
|
12219
12233
|
]
|
|
12220
12234
|
}
|
|
12221
|
-
),
|
|
12235
|
+
), $A = ({
|
|
12222
12236
|
title: e = "SOLAS Chapter II-1",
|
|
12223
12237
|
page: r = "p. 42",
|
|
12224
12238
|
className: t
|
|
@@ -12236,7 +12250,7 @@ const tu = ({
|
|
|
12236
12250
|
r && /* @__PURE__ */ a.jsx("span", { className: "text-display-on-light-quaternary", children: r })
|
|
12237
12251
|
]
|
|
12238
12252
|
}
|
|
12239
|
-
),
|
|
12253
|
+
), es = ({
|
|
12240
12254
|
variant: e = "single",
|
|
12241
12255
|
name: r = "Jordan Lee",
|
|
12242
12256
|
names: t = ["Jordan Lee", "Sam Patel", "Riley Chen"],
|
|
@@ -12258,10 +12272,10 @@ const tu = ({
|
|
|
12258
12272
|
/* @__PURE__ */ a.jsx(In, { className: "size-4 shrink-0 text-display-on-light-quaternary" })
|
|
12259
12273
|
]
|
|
12260
12274
|
}
|
|
12261
|
-
),
|
|
12275
|
+
), rs = {
|
|
12262
12276
|
technical: "Technical Chief",
|
|
12263
12277
|
compliance: "Compliance Chief"
|
|
12264
|
-
},
|
|
12278
|
+
}, ts = ({
|
|
12265
12279
|
chief: e = "technical",
|
|
12266
12280
|
className: r
|
|
12267
12281
|
}) => /* @__PURE__ */ a.jsxs(
|
|
@@ -12275,7 +12289,7 @@ const tu = ({
|
|
|
12275
12289
|
children: [
|
|
12276
12290
|
/* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
12277
12291
|
/* @__PURE__ */ a.jsx(W1, { chief: e, size: 24 }),
|
|
12278
|
-
/* @__PURE__ */ a.jsx("span", { className: "text-caption-2 text-display-on-light-secondary", children:
|
|
12292
|
+
/* @__PURE__ */ a.jsx("span", { className: "text-caption-2 text-display-on-light-secondary", children: rs[e] })
|
|
12279
12293
|
] }),
|
|
12280
12294
|
/* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
12281
12295
|
/* @__PURE__ */ a.jsx(or, { hierarchy: "secondary", children: "Cancel" }),
|
|
@@ -12283,21 +12297,21 @@ const tu = ({
|
|
|
12283
12297
|
] })
|
|
12284
12298
|
]
|
|
12285
12299
|
}
|
|
12286
|
-
),
|
|
12300
|
+
), ns = {
|
|
12287
12301
|
issue: { icon: /* @__PURE__ */ a.jsx(d2, { className: "size-5" }), defaultTitle: "Issue details" },
|
|
12288
12302
|
thinking: { icon: /* @__PURE__ */ a.jsx(Ra, {}), defaultTitle: "Chief is thinking" },
|
|
12289
12303
|
generic: { icon: /* @__PURE__ */ a.jsx(Mn, { className: "size-5" }), defaultTitle: "Information" },
|
|
12290
12304
|
settings: { icon: /* @__PURE__ */ a.jsx(Pn, { className: "size-5" }), defaultTitle: "Settings" },
|
|
12291
12305
|
audit: { icon: /* @__PURE__ */ a.jsx(u2, { className: "size-5" }), defaultTitle: "Audit trail" },
|
|
12292
12306
|
forms: { icon: /* @__PURE__ */ a.jsx(dr, { className: "size-5" }), defaultTitle: "Forms" }
|
|
12293
|
-
},
|
|
12307
|
+
}, as = ({
|
|
12294
12308
|
variant: e = "generic",
|
|
12295
12309
|
title: r,
|
|
12296
12310
|
chief: t,
|
|
12297
12311
|
onClose: n,
|
|
12298
12312
|
className: c
|
|
12299
12313
|
}) => {
|
|
12300
|
-
const o =
|
|
12314
|
+
const o = ns[e], i = r ?? o.defaultTitle;
|
|
12301
12315
|
return /* @__PURE__ */ a.jsxs(
|
|
12302
12316
|
"header",
|
|
12303
12317
|
{
|
|
@@ -12314,13 +12328,13 @@ const tu = ({
|
|
|
12314
12328
|
]
|
|
12315
12329
|
}
|
|
12316
12330
|
);
|
|
12317
|
-
},
|
|
12331
|
+
}, cs = {
|
|
12318
12332
|
idle: "border-divider-primary bg-background-primary text-display-on-light-secondary hover:bg-background-hover",
|
|
12319
12333
|
active: "border-blue-300 bg-blue-50 text-blue-700"
|
|
12320
|
-
},
|
|
12334
|
+
}, os = {
|
|
12321
12335
|
large: "px-4 py-2 text-caption-1",
|
|
12322
12336
|
small: "px-3 py-1 text-caption-2"
|
|
12323
|
-
},
|
|
12337
|
+
}, is = ({
|
|
12324
12338
|
state: e = "idle",
|
|
12325
12339
|
size: r = "large",
|
|
12326
12340
|
children: t,
|
|
@@ -12331,8 +12345,8 @@ const tu = ({
|
|
|
12331
12345
|
type: "button",
|
|
12332
12346
|
className: V(
|
|
12333
12347
|
"inline-flex items-center rounded-full border transition-colors",
|
|
12334
|
-
|
|
12335
|
-
|
|
12348
|
+
cs[e],
|
|
12349
|
+
os[r],
|
|
12336
12350
|
n
|
|
12337
12351
|
),
|
|
12338
12352
|
"data-state": e,
|
|
@@ -12340,7 +12354,7 @@ const tu = ({
|
|
|
12340
12354
|
"aria-pressed": e === "active",
|
|
12341
12355
|
children: t
|
|
12342
12356
|
}
|
|
12343
|
-
),
|
|
12357
|
+
), As = ({
|
|
12344
12358
|
type: e = "count",
|
|
12345
12359
|
value: r = 5,
|
|
12346
12360
|
label: t = "Filters",
|
|
@@ -12361,7 +12375,7 @@ const tu = ({
|
|
|
12361
12375
|
] }),
|
|
12362
12376
|
e === "dropdown" && /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
12363
12377
|
/* @__PURE__ */ a.jsx("span", { children: t }),
|
|
12364
|
-
/* @__PURE__ */ a.jsx(
|
|
12378
|
+
/* @__PURE__ */ a.jsx(z1, { direction: "down", className: "size-3.5" })
|
|
12365
12379
|
] })
|
|
12366
12380
|
]
|
|
12367
12381
|
}
|
|
@@ -12394,7 +12408,7 @@ const tu = ({
|
|
|
12394
12408
|
),
|
|
12395
12409
|
children: e
|
|
12396
12410
|
}
|
|
12397
|
-
),
|
|
12411
|
+
), ss = () => /* @__PURE__ */ a.jsxs("div", { className: "flex flex-col gap-4 p-4", "aria-hidden": !0, children: [
|
|
12398
12412
|
/* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
12399
12413
|
/* @__PURE__ */ a.jsx("div", { className: "size-8 animate-pulse rounded-full bg-grey-200" }),
|
|
12400
12414
|
/* @__PURE__ */ a.jsxs("div", { className: "flex flex-1 flex-col gap-2", children: [
|
|
@@ -12408,7 +12422,7 @@ const tu = ({
|
|
|
12408
12422
|
/* @__PURE__ */ a.jsx("div", { className: "h-4 w-2/3 animate-pulse rounded bg-grey-100" })
|
|
12409
12423
|
] }),
|
|
12410
12424
|
/* @__PURE__ */ a.jsx("div", { className: "h-24 animate-pulse rounded-control bg-grey-100" })
|
|
12411
|
-
] }),
|
|
12425
|
+
] }), ls = () => {
|
|
12412
12426
|
const e = [250, 300, 220, 255, 250, 300, 220, 255];
|
|
12413
12427
|
return /* @__PURE__ */ a.jsx("div", { className: "flex flex-col gap-1.5 p-4", "aria-hidden": !0, children: e.map((r, t) => /* @__PURE__ */ a.jsxs("div", { className: "flex items-start gap-2 py-2", children: [
|
|
12414
12428
|
/* @__PURE__ */ a.jsx("div", { className: "size-3 shrink-0 animate-pulse rounded-md bg-grey-200" }),
|
|
@@ -12427,14 +12441,14 @@ const tu = ({
|
|
|
12427
12441
|
role: "status",
|
|
12428
12442
|
"aria-label": "Loading",
|
|
12429
12443
|
"data-variant": e,
|
|
12430
|
-
children: e === "content" ? /* @__PURE__ */ a.jsx(
|
|
12444
|
+
children: e === "content" ? /* @__PURE__ */ a.jsx(ss, {}) : /* @__PURE__ */ a.jsx(ls, {})
|
|
12431
12445
|
}
|
|
12432
12446
|
), L0 = [
|
|
12433
12447
|
{ value: "all", label: "All", count: 0 },
|
|
12434
12448
|
{ value: "reports", label: "Reports", count: 0 },
|
|
12435
12449
|
{ value: "chats", label: "Chats", count: 0 },
|
|
12436
12450
|
{ value: "issues", label: "Issues", count: 0 }
|
|
12437
|
-
],
|
|
12451
|
+
], us = ({
|
|
12438
12452
|
state: e,
|
|
12439
12453
|
className: r,
|
|
12440
12454
|
contentClassName: t,
|
|
@@ -12535,7 +12549,7 @@ const tu = ({
|
|
|
12535
12549
|
/* @__PURE__ */ a.jsx("div", { className: "min-h-0 flex-1 overflow-y-auto", children: n })
|
|
12536
12550
|
]
|
|
12537
12551
|
}
|
|
12538
|
-
),
|
|
12552
|
+
), ds = ({
|
|
12539
12553
|
value: e,
|
|
12540
12554
|
children: r,
|
|
12541
12555
|
className: t
|
|
@@ -12560,7 +12574,7 @@ const tu = ({
|
|
|
12560
12574
|
}
|
|
12561
12575
|
),
|
|
12562
12576
|
/* @__PURE__ */ a.jsx("div", { className: "min-h-0 flex-1 overflow-y-auto", children: /* @__PURE__ */ a.jsx(o5, { items: r, children: t }) })
|
|
12563
|
-
] }), e8 = ({ className: e }) => /* @__PURE__ */ a.jsx(Y0, { variant: "search", className: V("rounded-none", e) }),
|
|
12577
|
+
] }), e8 = ({ className: e }) => /* @__PURE__ */ a.jsx(Y0, { variant: "search", className: V("rounded-none", e) }), ps = ({
|
|
12564
12578
|
state: e = "idle",
|
|
12565
12579
|
query: r = "",
|
|
12566
12580
|
onQueryChange: t,
|
|
@@ -12591,63 +12605,63 @@ const tu = ({
|
|
|
12591
12605
|
)
|
|
12592
12606
|
] })
|
|
12593
12607
|
] });
|
|
12594
|
-
},
|
|
12608
|
+
}, ru = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12595
12609
|
__proto__: null,
|
|
12596
12610
|
Account: M0,
|
|
12597
|
-
Activity:
|
|
12611
|
+
Activity: KA,
|
|
12598
12612
|
ActivityNavGroup: a5,
|
|
12599
|
-
Attachment:
|
|
12613
|
+
Attachment: BA,
|
|
12600
12614
|
ChatEntry: n2,
|
|
12601
12615
|
ChatHeader: w0,
|
|
12602
12616
|
ChatInput: W0,
|
|
12603
12617
|
ChatStatus: T0,
|
|
12604
|
-
ChatTile:
|
|
12618
|
+
ChatTile: YA,
|
|
12605
12619
|
CollapsibleNavGroup: c5,
|
|
12606
|
-
Copilot:
|
|
12607
|
-
Draft:
|
|
12608
|
-
Entry:
|
|
12620
|
+
Copilot: EA,
|
|
12621
|
+
Draft: _A,
|
|
12622
|
+
Entry: PA,
|
|
12609
12623
|
Greeting: R0,
|
|
12610
|
-
Heading:
|
|
12611
|
-
Indicator:
|
|
12612
|
-
Invitee:
|
|
12613
|
-
ModalFooter:
|
|
12614
|
-
ModalHeader:
|
|
12624
|
+
Heading: SA,
|
|
12625
|
+
Indicator: qA,
|
|
12626
|
+
Invitee: es,
|
|
12627
|
+
ModalFooter: ts,
|
|
12628
|
+
ModalHeader: as,
|
|
12615
12629
|
NewChat: S0,
|
|
12616
|
-
Pill:
|
|
12617
|
-
PillInfo:
|
|
12618
|
-
Reference:
|
|
12630
|
+
Pill: is,
|
|
12631
|
+
PillInfo: As,
|
|
12632
|
+
Reference: $A,
|
|
12619
12633
|
ResultRow: B0,
|
|
12620
12634
|
SIDEBAR_COLLAPSED_WIDTH: K0,
|
|
12621
12635
|
SIDEBAR_EXPANDED_WIDTH: v0,
|
|
12622
|
-
SearchModal:
|
|
12636
|
+
SearchModal: us,
|
|
12623
12637
|
SearchModalBody: E0,
|
|
12624
12638
|
SearchModalDivider: Q0,
|
|
12625
|
-
SearchModalFilterPanel:
|
|
12639
|
+
SearchModalFilterPanel: ds,
|
|
12626
12640
|
SearchModalFilters: _0,
|
|
12627
12641
|
SearchModalIdle: $0,
|
|
12628
12642
|
SearchModalInput: J0,
|
|
12629
12643
|
SearchModalLoading: e8,
|
|
12630
|
-
SearchModalPanel:
|
|
12644
|
+
SearchModalPanel: ps,
|
|
12631
12645
|
SearchModalResults: o5,
|
|
12632
|
-
Section:
|
|
12646
|
+
Section: MA,
|
|
12633
12647
|
SectionHeader: Z0,
|
|
12634
|
-
Ships:
|
|
12635
|
-
Sidebar:
|
|
12636
|
-
SidebarAction:
|
|
12648
|
+
Ships: NA,
|
|
12649
|
+
Sidebar: DA,
|
|
12650
|
+
SidebarAction: UA,
|
|
12637
12651
|
SidebarEntry: sr,
|
|
12638
12652
|
SidebarHeading: N0,
|
|
12639
12653
|
SidebarLink: h1,
|
|
12640
|
-
SidebarShell:
|
|
12654
|
+
SidebarShell: XA,
|
|
12641
12655
|
Skeleton: Y0,
|
|
12642
12656
|
Source: F0,
|
|
12643
12657
|
Sources: G0,
|
|
12644
12658
|
Suggestion: D0,
|
|
12645
12659
|
Suggestions: X0,
|
|
12646
12660
|
Switcher: q0
|
|
12647
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
12661
|
+
}, Symbol.toStringTag, { value: "Module" })), Cs = {
|
|
12648
12662
|
idle: "bg-transparent",
|
|
12649
12663
|
hover: "bg-background-secondary"
|
|
12650
|
-
},
|
|
12664
|
+
}, gs = ({
|
|
12651
12665
|
name: e = "Ship name",
|
|
12652
12666
|
chatCount: r = 17,
|
|
12653
12667
|
issueCount: t = 12,
|
|
@@ -12659,7 +12673,7 @@ const tu = ({
|
|
|
12659
12673
|
{
|
|
12660
12674
|
className: V(
|
|
12661
12675
|
"flex w-full flex-col rounded-control p-2 transition-colors",
|
|
12662
|
-
|
|
12676
|
+
Cs[c],
|
|
12663
12677
|
c === "idle" && "hover:bg-background-secondary",
|
|
12664
12678
|
o
|
|
12665
12679
|
),
|
|
@@ -12696,7 +12710,7 @@ const tu = ({
|
|
|
12696
12710
|
children: /* @__PURE__ */ a.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
12697
12711
|
/* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
12698
12712
|
/* @__PURE__ */ a.jsx(
|
|
12699
|
-
|
|
12713
|
+
z1,
|
|
12700
12714
|
{
|
|
12701
12715
|
size: "small",
|
|
12702
12716
|
direction: t === "on" ? "right" : "down",
|
|
@@ -12709,7 +12723,7 @@ const tu = ({
|
|
|
12709
12723
|
t === "off" && c && /* @__PURE__ */ a.jsx("div", { className: "mt-3 pl-6", children: c })
|
|
12710
12724
|
] })
|
|
12711
12725
|
}
|
|
12712
|
-
),
|
|
12726
|
+
), xs = {
|
|
12713
12727
|
off: "bg-transparent",
|
|
12714
12728
|
on: "bg-background-secondary"
|
|
12715
12729
|
}, qr = ({
|
|
@@ -12725,7 +12739,7 @@ const tu = ({
|
|
|
12725
12739
|
{
|
|
12726
12740
|
className: V(
|
|
12727
12741
|
"flex w-full items-center gap-2 rounded-control px-2 py-1 transition-colors",
|
|
12728
|
-
|
|
12742
|
+
xs[t],
|
|
12729
12743
|
t === "off" && "hover:bg-background-secondary",
|
|
12730
12744
|
c
|
|
12731
12745
|
),
|
|
@@ -12786,7 +12800,7 @@ const tu = ({
|
|
|
12786
12800
|
),
|
|
12787
12801
|
children: e
|
|
12788
12802
|
}
|
|
12789
|
-
),
|
|
12803
|
+
), ms = ({
|
|
12790
12804
|
title: e = "Port State Control Report",
|
|
12791
12805
|
className: r,
|
|
12792
12806
|
children: t
|
|
@@ -12817,7 +12831,7 @@ const tu = ({
|
|
|
12817
12831
|
] }) })
|
|
12818
12832
|
]
|
|
12819
12833
|
}
|
|
12820
|
-
),
|
|
12834
|
+
), js = ({
|
|
12821
12835
|
name: e = "Main engine",
|
|
12822
12836
|
type: r = "MAN B&W 6S50ME-C",
|
|
12823
12837
|
editable: t = "on",
|
|
@@ -12845,11 +12859,11 @@ const tu = ({
|
|
|
12845
12859
|
)
|
|
12846
12860
|
]
|
|
12847
12861
|
}
|
|
12848
|
-
),
|
|
12862
|
+
), fs = {
|
|
12849
12863
|
idle: "bg-transparent text-display-on-light-primary",
|
|
12850
12864
|
hover: "bg-background-secondary text-display-on-light-primary",
|
|
12851
12865
|
selected: "bg-background-selected text-display-on-dark-primary"
|
|
12852
|
-
},
|
|
12866
|
+
}, Vs = ({
|
|
12853
12867
|
label: e = "MV Atlantic Star",
|
|
12854
12868
|
subtitle: r = "Active vessel",
|
|
12855
12869
|
state: t = "idle",
|
|
@@ -12860,7 +12874,7 @@ const tu = ({
|
|
|
12860
12874
|
{
|
|
12861
12875
|
className: V(
|
|
12862
12876
|
"flex w-full items-center gap-3 rounded-control px-3 py-2 transition-colors",
|
|
12863
|
-
|
|
12877
|
+
fs[t],
|
|
12864
12878
|
t === "idle" && "hover:bg-background-secondary",
|
|
12865
12879
|
c
|
|
12866
12880
|
),
|
|
@@ -12898,10 +12912,10 @@ const tu = ({
|
|
|
12898
12912
|
] })
|
|
12899
12913
|
]
|
|
12900
12914
|
}
|
|
12901
|
-
),
|
|
12915
|
+
), Os = {
|
|
12902
12916
|
idle: "bg-transparent",
|
|
12903
12917
|
hover: "bg-background-secondary"
|
|
12904
|
-
},
|
|
12918
|
+
}, ys = ({
|
|
12905
12919
|
name: e = "Jane Doe",
|
|
12906
12920
|
role: r = "Chief Engineer",
|
|
12907
12921
|
state: t = "idle",
|
|
@@ -12913,7 +12927,7 @@ const tu = ({
|
|
|
12913
12927
|
{
|
|
12914
12928
|
className: V(
|
|
12915
12929
|
"flex w-full items-center justify-between gap-4 rounded-control px-3 py-3 transition-colors",
|
|
12916
|
-
|
|
12930
|
+
Os[t],
|
|
12917
12931
|
t === "idle" && "hover:bg-background-secondary",
|
|
12918
12932
|
o
|
|
12919
12933
|
),
|
|
@@ -12928,10 +12942,10 @@ const tu = ({
|
|
|
12928
12942
|
n === "label" ? /* @__PURE__ */ a.jsx("span", { className: "shrink-0 text-caption-2-em text-display-on-light-tertiary", children: c }) : /* @__PURE__ */ a.jsx(or, { hierarchy: "tertiary", className: "min-h-8 shrink-0 px-3 py-1 text-caption-2", children: "Remove" })
|
|
12929
12943
|
]
|
|
12930
12944
|
}
|
|
12931
|
-
),
|
|
12945
|
+
), zs = {
|
|
12932
12946
|
idle: "bg-background-primary",
|
|
12933
12947
|
hover: "bg-background-secondary"
|
|
12934
|
-
},
|
|
12948
|
+
}, Hs = ({
|
|
12935
12949
|
name: e = "Name",
|
|
12936
12950
|
description: r = "Description",
|
|
12937
12951
|
state: t = "idle",
|
|
@@ -12942,7 +12956,7 @@ const tu = ({
|
|
|
12942
12956
|
{
|
|
12943
12957
|
className: V(
|
|
12944
12958
|
"flex w-full items-center gap-4 rounded-2xl border border-divider-primary p-3 transition-colors",
|
|
12945
|
-
|
|
12959
|
+
zs[t],
|
|
12946
12960
|
t === "idle" && "hover:bg-background-secondary",
|
|
12947
12961
|
c
|
|
12948
12962
|
),
|
|
@@ -12954,13 +12968,13 @@ const tu = ({
|
|
|
12954
12968
|
] })
|
|
12955
12969
|
]
|
|
12956
12970
|
}
|
|
12957
|
-
),
|
|
12971
|
+
), ks = {
|
|
12958
12972
|
"0%": 0,
|
|
12959
12973
|
"40%": 40,
|
|
12960
12974
|
"54%": 54,
|
|
12961
12975
|
"89%": 89,
|
|
12962
12976
|
"all-done": 100
|
|
12963
|
-
},
|
|
12977
|
+
}, bs = {
|
|
12964
12978
|
"0%": "0% complete",
|
|
12965
12979
|
"40%": "40% complete",
|
|
12966
12980
|
"54%": "54% complete",
|
|
@@ -12971,7 +12985,7 @@ const tu = ({
|
|
|
12971
12985
|
label: r,
|
|
12972
12986
|
className: t
|
|
12973
12987
|
}) => {
|
|
12974
|
-
const n =
|
|
12988
|
+
const n = ks[e], c = r ?? bs[e], o = e === "all-done";
|
|
12975
12989
|
return /* @__PURE__ */ a.jsxs("div", { className: V("flex min-w-[212px] flex-col gap-2", t), children: [
|
|
12976
12990
|
/* @__PURE__ */ a.jsxs("div", { className: "flex items-center justify-between gap-2", children: [
|
|
12977
12991
|
/* @__PURE__ */ a.jsx("span", { className: "text-caption-2-em text-display-on-light-primary", children: c }),
|
|
@@ -12991,11 +13005,11 @@ const tu = ({
|
|
|
12991
13005
|
}
|
|
12992
13006
|
) })
|
|
12993
13007
|
] });
|
|
12994
|
-
},
|
|
13008
|
+
}, Is = {
|
|
12995
13009
|
"audit-response": "Audit Response",
|
|
12996
13010
|
"audit-preparation": "Audit Preparation",
|
|
12997
13011
|
"monthly-forms": "Monthly Forms"
|
|
12998
|
-
},
|
|
13012
|
+
}, Ps = ({
|
|
12999
13013
|
workflow: e = "audit-response",
|
|
13000
13014
|
variant: r = "created",
|
|
13001
13015
|
title: t,
|
|
@@ -13003,7 +13017,7 @@ const tu = ({
|
|
|
13003
13017
|
dueDate: c = "Due 14 Jul 2026",
|
|
13004
13018
|
className: o
|
|
13005
13019
|
}) => {
|
|
13006
|
-
const i = t ??
|
|
13020
|
+
const i = t ?? Is[e], A = r === "pending";
|
|
13007
13021
|
return /* @__PURE__ */ a.jsx(
|
|
13008
13022
|
"div",
|
|
13009
13023
|
{
|
|
@@ -13026,7 +13040,7 @@ const tu = ({
|
|
|
13026
13040
|
] })
|
|
13027
13041
|
}
|
|
13028
13042
|
);
|
|
13029
|
-
},
|
|
13043
|
+
}, Ms = {
|
|
13030
13044
|
critical: "bg-red-100 text-red-600",
|
|
13031
13045
|
normal: "bg-blue-100 text-blue-700",
|
|
13032
13046
|
low: "bg-grey-100 text-display-on-light-secondary",
|
|
@@ -13042,17 +13056,17 @@ const tu = ({
|
|
|
13042
13056
|
{
|
|
13043
13057
|
className: V(
|
|
13044
13058
|
"inline-flex size-6 shrink-0 items-center justify-center rounded-full",
|
|
13045
|
-
n || c ? "bg-meta-green text-meta-on-green" :
|
|
13059
|
+
n || c ? "bg-meta-green text-meta-on-green" : Ms[e],
|
|
13046
13060
|
t
|
|
13047
13061
|
),
|
|
13048
13062
|
"aria-label": `${e} importance, ${r}`,
|
|
13049
13063
|
children: n || c ? /* @__PURE__ */ a.jsx(er, { size: "small" }) : e === "critical" ? /* @__PURE__ */ a.jsx($r, { size: "small" }) : /* @__PURE__ */ a.jsx(rr, { size: "small" })
|
|
13050
13064
|
}
|
|
13051
13065
|
);
|
|
13052
|
-
},
|
|
13066
|
+
}, vs = {
|
|
13053
13067
|
idle: "bg-transparent",
|
|
13054
13068
|
hover: "bg-background-secondary"
|
|
13055
|
-
},
|
|
13069
|
+
}, Ks = ({
|
|
13056
13070
|
label: e = "Verify fire pump maintenance records",
|
|
13057
13071
|
state: r = "idle",
|
|
13058
13072
|
status: t = "uncompleted",
|
|
@@ -13062,7 +13076,7 @@ const tu = ({
|
|
|
13062
13076
|
{
|
|
13063
13077
|
className: V(
|
|
13064
13078
|
"flex w-full items-center gap-3 rounded-control px-3 py-2 transition-colors",
|
|
13065
|
-
|
|
13079
|
+
vs[r],
|
|
13066
13080
|
r === "idle" && "hover:bg-background-secondary",
|
|
13067
13081
|
n
|
|
13068
13082
|
),
|
|
@@ -13086,10 +13100,10 @@ const tu = ({
|
|
|
13086
13100
|
)
|
|
13087
13101
|
]
|
|
13088
13102
|
}
|
|
13089
|
-
),
|
|
13103
|
+
), Ns = {
|
|
13090
13104
|
idle: "bg-transparent",
|
|
13091
13105
|
hover: "bg-background-secondary"
|
|
13092
|
-
},
|
|
13106
|
+
}, Ss = ({
|
|
13093
13107
|
label: e = "Are all fire dampers operational and tested within the last 12 months?",
|
|
13094
13108
|
state: r = "idle",
|
|
13095
13109
|
expanded: t = "on",
|
|
@@ -13099,7 +13113,7 @@ const tu = ({
|
|
|
13099
13113
|
{
|
|
13100
13114
|
className: V(
|
|
13101
13115
|
"flex w-full items-center gap-3 rounded-control px-3 py-2 transition-colors",
|
|
13102
|
-
|
|
13116
|
+
Ns[r],
|
|
13103
13117
|
r === "idle" && "hover:bg-background-secondary",
|
|
13104
13118
|
n
|
|
13105
13119
|
),
|
|
@@ -13107,7 +13121,7 @@ const tu = ({
|
|
|
13107
13121
|
/* @__PURE__ */ a.jsx(i5, { importance: "normal", status: "uncompleted" }),
|
|
13108
13122
|
/* @__PURE__ */ a.jsx("p", { className: "min-w-0 flex-1 text-caption-1 text-display-on-light-primary", children: e }),
|
|
13109
13123
|
/* @__PURE__ */ a.jsx(
|
|
13110
|
-
|
|
13124
|
+
z1,
|
|
13111
13125
|
{
|
|
13112
13126
|
size: "small",
|
|
13113
13127
|
direction: t === "on" ? "down" : "right",
|
|
@@ -13116,10 +13130,10 @@ const tu = ({
|
|
|
13116
13130
|
)
|
|
13117
13131
|
]
|
|
13118
13132
|
}
|
|
13119
|
-
),
|
|
13133
|
+
), qs = {
|
|
13120
13134
|
idle: "bg-background-primary",
|
|
13121
13135
|
hover: "bg-background-secondary"
|
|
13122
|
-
},
|
|
13136
|
+
}, Us = ({
|
|
13123
13137
|
name: e = "Safety Management Form",
|
|
13124
13138
|
description: r = "ISM Code compliance checklist",
|
|
13125
13139
|
state: t = "idle",
|
|
@@ -13129,7 +13143,7 @@ const tu = ({
|
|
|
13129
13143
|
{
|
|
13130
13144
|
className: V(
|
|
13131
13145
|
"flex w-full items-center gap-4 rounded-control border border-divider-primary px-4 py-3 transition-colors",
|
|
13132
|
-
|
|
13146
|
+
qs[t],
|
|
13133
13147
|
t === "idle" && "hover:bg-background-secondary",
|
|
13134
13148
|
n
|
|
13135
13149
|
),
|
|
@@ -13141,7 +13155,7 @@ const tu = ({
|
|
|
13141
13155
|
] })
|
|
13142
13156
|
]
|
|
13143
13157
|
}
|
|
13144
|
-
),
|
|
13158
|
+
), hs = ({
|
|
13145
13159
|
property: e = "pending",
|
|
13146
13160
|
title: r = "Fire safety inspection",
|
|
13147
13161
|
subtitle: t = "Assigned to Chief Technical · 3 forms remaining",
|
|
@@ -13171,7 +13185,7 @@ const tu = ({
|
|
|
13171
13185
|
]
|
|
13172
13186
|
}
|
|
13173
13187
|
);
|
|
13174
|
-
},
|
|
13188
|
+
}, ws = {
|
|
13175
13189
|
"7%": 7,
|
|
13176
13190
|
"37%": 37,
|
|
13177
13191
|
"54%": 54,
|
|
@@ -13181,7 +13195,7 @@ const tu = ({
|
|
|
13181
13195
|
progress: e = "7%",
|
|
13182
13196
|
className: r
|
|
13183
13197
|
}) => {
|
|
13184
|
-
const t =
|
|
13198
|
+
const t = ws[e], n = e === "100%";
|
|
13185
13199
|
return /* @__PURE__ */ a.jsxs("div", { className: V("flex w-full max-w-[200px] flex-col gap-1", r), children: [
|
|
13186
13200
|
/* @__PURE__ */ a.jsx("div", { className: "h-1.5 overflow-hidden rounded-full bg-grey-200", children: /* @__PURE__ */ a.jsx(
|
|
13187
13201
|
"div",
|
|
@@ -13195,10 +13209,10 @@ const tu = ({
|
|
|
13195
13209
|
"%"
|
|
13196
13210
|
] })
|
|
13197
13211
|
] });
|
|
13198
|
-
},
|
|
13212
|
+
}, Ws = {
|
|
13199
13213
|
off: "bg-transparent",
|
|
13200
13214
|
on: "bg-background-secondary"
|
|
13201
|
-
},
|
|
13215
|
+
}, Ts = ({
|
|
13202
13216
|
title: e = "Monthly safety review",
|
|
13203
13217
|
subtitle: r = "Updated 2 hours ago",
|
|
13204
13218
|
chief: t = "technical",
|
|
@@ -13210,7 +13224,7 @@ const tu = ({
|
|
|
13210
13224
|
{
|
|
13211
13225
|
className: V(
|
|
13212
13226
|
"flex w-full items-center gap-4 rounded-control px-3 py-2 transition-colors",
|
|
13213
|
-
|
|
13227
|
+
Ws[n],
|
|
13214
13228
|
n === "off" && "hover:bg-background-secondary",
|
|
13215
13229
|
o
|
|
13216
13230
|
),
|
|
@@ -13223,17 +13237,17 @@ const tu = ({
|
|
|
13223
13237
|
/* @__PURE__ */ a.jsx(a8, { progress: c })
|
|
13224
13238
|
]
|
|
13225
13239
|
}
|
|
13226
|
-
),
|
|
13240
|
+
), Rs = {
|
|
13227
13241
|
"validation-checks": { title: "Validation Checks", icon: Qr },
|
|
13228
13242
|
"quality-flags": { title: "Quality Flags", icon: Kn },
|
|
13229
13243
|
"ai-insights": { title: "AI Insights", icon: C2 }
|
|
13230
|
-
},
|
|
13244
|
+
}, Fs = ({
|
|
13231
13245
|
group: e = "validation-checks",
|
|
13232
13246
|
title: r,
|
|
13233
13247
|
count: t = 4,
|
|
13234
13248
|
className: n
|
|
13235
13249
|
}) => {
|
|
13236
|
-
const c =
|
|
13250
|
+
const c = Rs[e], o = c.icon, i = r ?? c.title;
|
|
13237
13251
|
return /* @__PURE__ */ a.jsxs(
|
|
13238
13252
|
"div",
|
|
13239
13253
|
{
|
|
@@ -13253,7 +13267,7 @@ const tu = ({
|
|
|
13253
13267
|
]
|
|
13254
13268
|
}
|
|
13255
13269
|
);
|
|
13256
|
-
},
|
|
13270
|
+
}, Gs = ({
|
|
13257
13271
|
state: e = "critical-pending",
|
|
13258
13272
|
title: r = "Critical items",
|
|
13259
13273
|
className: t
|
|
@@ -13289,8 +13303,8 @@ const tu = ({
|
|
|
13289
13303
|
]
|
|
13290
13304
|
}
|
|
13291
13305
|
);
|
|
13292
|
-
},
|
|
13293
|
-
filters: e =
|
|
13306
|
+
}, Ds = ["All", "Pending", "In review", "Completed"], Xs = ({
|
|
13307
|
+
filters: e = Ds,
|
|
13294
13308
|
activeFilter: r = "All",
|
|
13295
13309
|
className: t
|
|
13296
13310
|
}) => /* @__PURE__ */ a.jsxs("div", { className: V("flex flex-wrap items-center gap-2", t), children: [
|
|
@@ -13310,10 +13324,10 @@ const tu = ({
|
|
|
13310
13324
|
n
|
|
13311
13325
|
);
|
|
13312
13326
|
})
|
|
13313
|
-
] }),
|
|
13327
|
+
] }), Bs = ["All", "Reports", "Chats", "Issues", "Forms", "Workflows"], Zs = ({
|
|
13314
13328
|
tabs: e = "on",
|
|
13315
13329
|
filters: r = "off",
|
|
13316
|
-
tabLabels: t =
|
|
13330
|
+
tabLabels: t = Bs,
|
|
13317
13331
|
activeTab: n = "All",
|
|
13318
13332
|
searchPlaceholder: c = "Search",
|
|
13319
13333
|
filterChips: o = ["Status", "Date", "Chief"],
|
|
@@ -13356,10 +13370,10 @@ const tu = ({
|
|
|
13356
13370
|
},
|
|
13357
13371
|
A
|
|
13358
13372
|
)) })
|
|
13359
|
-
] }),
|
|
13373
|
+
] }), Ys = {
|
|
13360
13374
|
idle: "bg-background-secondary text-display-on-light-tertiary",
|
|
13361
13375
|
hover: "bg-grey-200 text-display-on-light-primary"
|
|
13362
|
-
},
|
|
13376
|
+
}, Ls = ({
|
|
13363
13377
|
label: e = "Filtered",
|
|
13364
13378
|
count: r = 12,
|
|
13365
13379
|
state: t = "idle",
|
|
@@ -13370,7 +13384,7 @@ const tu = ({
|
|
|
13370
13384
|
type: "button",
|
|
13371
13385
|
className: V(
|
|
13372
13386
|
"inline-flex min-h-9 items-center gap-2 rounded-full px-3 py-1 transition-colors",
|
|
13373
|
-
|
|
13387
|
+
Ys[t],
|
|
13374
13388
|
t === "idle" && "hover:bg-grey-200 hover:text-display-on-light-primary",
|
|
13375
13389
|
n
|
|
13376
13390
|
),
|
|
@@ -13380,7 +13394,7 @@ const tu = ({
|
|
|
13380
13394
|
/* @__PURE__ */ a.jsx(Yr, { size: "xs" })
|
|
13381
13395
|
]
|
|
13382
13396
|
}
|
|
13383
|
-
),
|
|
13397
|
+
), Js = ({ indicator: e = "off", className: r }) => /* @__PURE__ */ a.jsxs(
|
|
13384
13398
|
"button",
|
|
13385
13399
|
{
|
|
13386
13400
|
type: "button",
|
|
@@ -13394,10 +13408,10 @@ const tu = ({
|
|
|
13394
13408
|
e === "on" && /* @__PURE__ */ a.jsx("span", { className: "absolute right-1 top-1 size-2 rounded-full bg-blue-600", "aria-hidden": !0 })
|
|
13395
13409
|
]
|
|
13396
13410
|
}
|
|
13397
|
-
),
|
|
13411
|
+
), Qs = {
|
|
13398
13412
|
idle: "bg-background-primary",
|
|
13399
13413
|
hover: "bg-background-secondary"
|
|
13400
|
-
},
|
|
13414
|
+
}, Es = ({
|
|
13401
13415
|
name: e = "Name",
|
|
13402
13416
|
description: r = "Description",
|
|
13403
13417
|
formCount: t = 4,
|
|
@@ -13410,7 +13424,7 @@ const tu = ({
|
|
|
13410
13424
|
{
|
|
13411
13425
|
className: V(
|
|
13412
13426
|
"flex w-full max-w-[560px] flex-col overflow-hidden rounded-2xl border border-divider-primary transition-colors",
|
|
13413
|
-
|
|
13427
|
+
Qs[c],
|
|
13414
13428
|
c === "idle" && "hover:bg-background-secondary",
|
|
13415
13429
|
i
|
|
13416
13430
|
),
|
|
@@ -13437,10 +13451,10 @@ const tu = ({
|
|
|
13437
13451
|
] })
|
|
13438
13452
|
]
|
|
13439
13453
|
}
|
|
13440
|
-
),
|
|
13454
|
+
), _s = {
|
|
13441
13455
|
idle: "bg-transparent",
|
|
13442
13456
|
hover: "bg-background-secondary"
|
|
13443
|
-
},
|
|
13457
|
+
}, $s = ({
|
|
13444
13458
|
name: e = "ISM Code checklist",
|
|
13445
13459
|
subtitle: r = "Last updated 3 days ago",
|
|
13446
13460
|
state: t = "idle",
|
|
@@ -13450,7 +13464,7 @@ const tu = ({
|
|
|
13450
13464
|
{
|
|
13451
13465
|
className: V(
|
|
13452
13466
|
"flex w-full items-center gap-3 rounded-control px-3 py-2 transition-colors",
|
|
13453
|
-
|
|
13467
|
+
_s[t],
|
|
13454
13468
|
t === "idle" && "hover:bg-background-secondary",
|
|
13455
13469
|
n
|
|
13456
13470
|
),
|
|
@@ -13462,7 +13476,7 @@ const tu = ({
|
|
|
13462
13476
|
] })
|
|
13463
13477
|
]
|
|
13464
13478
|
}
|
|
13465
|
-
),
|
|
13479
|
+
), el = ({
|
|
13466
13480
|
title: e = "Safety Management System Review",
|
|
13467
13481
|
subtitle: r = "MV Atlantic Star · Chief Technical",
|
|
13468
13482
|
status: t = "In progress",
|
|
@@ -13486,17 +13500,17 @@ const tu = ({
|
|
|
13486
13500
|
/* @__PURE__ */ a.jsx("p", { className: "mt-4 text-caption-2-em text-display-on-light-secondary", children: n })
|
|
13487
13501
|
]
|
|
13488
13502
|
}
|
|
13489
|
-
),
|
|
13503
|
+
), rl = {
|
|
13490
13504
|
high: { label: "High risk", score: 85, bar: "bg-red-500", text: "text-red-600" },
|
|
13491
13505
|
medium: { label: "Medium risk", score: 52, bar: "bg-orange-700", text: "text-orange-700" },
|
|
13492
13506
|
low: { label: "Low risk", score: 18, bar: "bg-meta-green", text: "text-green-700" }
|
|
13493
|
-
},
|
|
13507
|
+
}, tl = ({
|
|
13494
13508
|
level: e = "high",
|
|
13495
13509
|
label: r,
|
|
13496
13510
|
score: t,
|
|
13497
13511
|
className: n
|
|
13498
13512
|
}) => {
|
|
13499
|
-
const c =
|
|
13513
|
+
const c = rl[e], o = r ?? c.label, i = t ?? c.score;
|
|
13500
13514
|
return /* @__PURE__ */ a.jsxs(
|
|
13501
13515
|
"div",
|
|
13502
13516
|
{
|
|
@@ -13522,7 +13536,7 @@ const tu = ({
|
|
|
13522
13536
|
]
|
|
13523
13537
|
}
|
|
13524
13538
|
);
|
|
13525
|
-
},
|
|
13539
|
+
}, nl = {
|
|
13526
13540
|
idle: "bg-transparent text-display-on-light-primary",
|
|
13527
13541
|
hover: "bg-background-secondary text-display-on-light-primary",
|
|
13528
13542
|
selected: "bg-background-selected text-display-on-dark-primary"
|
|
@@ -13536,7 +13550,7 @@ const tu = ({
|
|
|
13536
13550
|
{
|
|
13537
13551
|
className: V(
|
|
13538
13552
|
"flex w-full items-center gap-3 rounded-control px-3 py-3 transition-colors",
|
|
13539
|
-
|
|
13553
|
+
nl[t],
|
|
13540
13554
|
t === "idle" && "hover:bg-background-secondary",
|
|
13541
13555
|
n
|
|
13542
13556
|
),
|
|
@@ -13565,7 +13579,7 @@ const tu = ({
|
|
|
13565
13579
|
)
|
|
13566
13580
|
] }),
|
|
13567
13581
|
/* @__PURE__ */ a.jsx(
|
|
13568
|
-
|
|
13582
|
+
z1,
|
|
13569
13583
|
{
|
|
13570
13584
|
size: "small",
|
|
13571
13585
|
direction: "right",
|
|
@@ -13574,19 +13588,19 @@ const tu = ({
|
|
|
13574
13588
|
)
|
|
13575
13589
|
]
|
|
13576
13590
|
}
|
|
13577
|
-
),
|
|
13591
|
+
), al = {
|
|
13578
13592
|
idle: "PDF · 2.4 MB",
|
|
13579
13593
|
uploaded: "Uploaded just now",
|
|
13580
13594
|
uploading: "Uploading… 64%",
|
|
13581
13595
|
waiting: "Waiting for upload",
|
|
13582
13596
|
huge: "PDF · 18.6 MB"
|
|
13583
|
-
},
|
|
13597
|
+
}, cl = ({
|
|
13584
13598
|
name: e = "Safety certificate.pdf",
|
|
13585
13599
|
meta: r,
|
|
13586
13600
|
state: t = "idle",
|
|
13587
13601
|
className: n
|
|
13588
13602
|
}) => {
|
|
13589
|
-
const c = r ??
|
|
13603
|
+
const c = r ?? al[t], o = t === "huge";
|
|
13590
13604
|
return /* @__PURE__ */ a.jsxs(
|
|
13591
13605
|
"div",
|
|
13592
13606
|
{
|
|
@@ -13615,7 +13629,7 @@ const tu = ({
|
|
|
13615
13629
|
]
|
|
13616
13630
|
}
|
|
13617
13631
|
);
|
|
13618
|
-
},
|
|
13632
|
+
}, ol = ({
|
|
13619
13633
|
label: e = "Library",
|
|
13620
13634
|
nested: r = "off",
|
|
13621
13635
|
className: t
|
|
@@ -13630,18 +13644,18 @@ const tu = ({
|
|
|
13630
13644
|
"aria-label": "Library navigation",
|
|
13631
13645
|
children: [
|
|
13632
13646
|
/* @__PURE__ */ a.jsx("button", { type: "button", className: "text-display-on-light-tertiary hover:text-display-on-light-primary", children: "Documents" }),
|
|
13633
|
-
/* @__PURE__ */ a.jsx(
|
|
13647
|
+
/* @__PURE__ */ a.jsx(z1, { size: "small", direction: "right", className: "text-display-on-light-quaternary" }),
|
|
13634
13648
|
/* @__PURE__ */ a.jsx("span", { className: "text-caption-2-em text-display-on-light-primary", children: e })
|
|
13635
13649
|
]
|
|
13636
13650
|
}
|
|
13637
|
-
),
|
|
13651
|
+
), il = [
|
|
13638
13652
|
{ name: "Certificates", fileCount: 24, selected: !0 },
|
|
13639
13653
|
{ name: "Crew documents", fileCount: 12 },
|
|
13640
13654
|
{ name: "Inspection reports", fileCount: 8 },
|
|
13641
13655
|
{ name: "Maintenance logs", fileCount: 31 }
|
|
13642
|
-
],
|
|
13656
|
+
], Al = ({
|
|
13643
13657
|
layout: e = "expanded",
|
|
13644
|
-
folders: r =
|
|
13658
|
+
folders: r = il,
|
|
13645
13659
|
className: t
|
|
13646
13660
|
}) => {
|
|
13647
13661
|
const n = e === "collapsed" ? r.slice(0, 1) : r;
|
|
@@ -13663,10 +13677,10 @@ const tu = ({
|
|
|
13663
13677
|
))
|
|
13664
13678
|
}
|
|
13665
13679
|
);
|
|
13666
|
-
},
|
|
13680
|
+
}, sl = {
|
|
13667
13681
|
idle: "bg-transparent",
|
|
13668
13682
|
hover: "bg-background-secondary"
|
|
13669
|
-
},
|
|
13683
|
+
}, ll = ({
|
|
13670
13684
|
name: e = "ISM annual review.pdf",
|
|
13671
13685
|
updatedAt: r = "Updated yesterday",
|
|
13672
13686
|
state: t = "idle",
|
|
@@ -13676,7 +13690,7 @@ const tu = ({
|
|
|
13676
13690
|
{
|
|
13677
13691
|
className: V(
|
|
13678
13692
|
"flex w-full items-center gap-3 rounded-control px-3 py-2 transition-colors",
|
|
13679
|
-
|
|
13693
|
+
sl[t],
|
|
13680
13694
|
t === "idle" && "hover:bg-background-secondary",
|
|
13681
13695
|
n
|
|
13682
13696
|
),
|
|
@@ -13688,84 +13702,84 @@ const tu = ({
|
|
|
13688
13702
|
] })
|
|
13689
13703
|
]
|
|
13690
13704
|
}
|
|
13691
|
-
),
|
|
13705
|
+
), tu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13692
13706
|
__proto__: null,
|
|
13693
|
-
EquipmentRow:
|
|
13694
|
-
File:
|
|
13695
|
-
FilterPill:
|
|
13696
|
-
FilteredPill:
|
|
13697
|
-
FiltersBar:
|
|
13707
|
+
EquipmentRow: js,
|
|
13708
|
+
File: cl,
|
|
13709
|
+
FilterPill: Js,
|
|
13710
|
+
FilteredPill: Ls,
|
|
13711
|
+
FiltersBar: Zs,
|
|
13698
13712
|
Folder: c8,
|
|
13699
|
-
Folders:
|
|
13700
|
-
FormCard:
|
|
13701
|
-
FormHeader:
|
|
13702
|
-
FormListRow:
|
|
13703
|
-
GroupHeader:
|
|
13713
|
+
Folders: Al,
|
|
13714
|
+
FormCard: Es,
|
|
13715
|
+
FormHeader: el,
|
|
13716
|
+
FormListRow: $s,
|
|
13717
|
+
GroupHeader: Fs,
|
|
13704
13718
|
Importance: i5,
|
|
13705
13719
|
InfoHeading: t8,
|
|
13706
13720
|
InfoRow: Ur,
|
|
13707
|
-
LibraryListRow:
|
|
13708
|
-
MemberRow:
|
|
13709
|
-
Navigation:
|
|
13721
|
+
LibraryListRow: ll,
|
|
13722
|
+
MemberRow: ys,
|
|
13723
|
+
Navigation: ol,
|
|
13710
13724
|
Progress: n8,
|
|
13711
|
-
Question:
|
|
13712
|
-
Report:
|
|
13713
|
-
RiskMeter:
|
|
13725
|
+
Question: Ss,
|
|
13726
|
+
Report: ms,
|
|
13727
|
+
RiskMeter: tl,
|
|
13714
13728
|
SectionHeader: r8,
|
|
13715
|
-
SettingRow:
|
|
13716
|
-
ShipRow:
|
|
13717
|
-
StatusPopover:
|
|
13718
|
-
Task:
|
|
13719
|
-
TaskHeader:
|
|
13729
|
+
SettingRow: Vs,
|
|
13730
|
+
ShipRow: gs,
|
|
13731
|
+
StatusPopover: Gs,
|
|
13732
|
+
Task: Ks,
|
|
13733
|
+
TaskHeader: hs,
|
|
13720
13734
|
TaskRow: qr,
|
|
13721
|
-
WorkflowFilters:
|
|
13722
|
-
WorkflowForm:
|
|
13723
|
-
WorkflowHeader:
|
|
13724
|
-
WorkflowListItem:
|
|
13735
|
+
WorkflowFilters: Xs,
|
|
13736
|
+
WorkflowForm: Us,
|
|
13737
|
+
WorkflowHeader: Ps,
|
|
13738
|
+
WorkflowListItem: Ts,
|
|
13725
13739
|
WorkflowProgress: a8,
|
|
13726
|
-
WorkflowRow:
|
|
13740
|
+
WorkflowRow: Hs
|
|
13727
13741
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
13728
13742
|
export {
|
|
13729
13743
|
I9 as ActionsIcon,
|
|
13730
13744
|
Er as ActivityIcon,
|
|
13731
|
-
|
|
13745
|
+
zn as AddIcon,
|
|
13732
13746
|
A2 as AnalyticsIcon,
|
|
13733
13747
|
k9 as ApprovalIcon,
|
|
13734
|
-
|
|
13748
|
+
z9 as ArchiveIcon,
|
|
13735
13749
|
On as ArrowIcon,
|
|
13736
13750
|
yn as AttachmentIcon,
|
|
13737
|
-
|
|
13751
|
+
hl as AuditPreparationIllustration,
|
|
13738
13752
|
W1 as Avatar,
|
|
13739
13753
|
qe as Badge,
|
|
13740
13754
|
_r as BookIcon,
|
|
13741
13755
|
C2 as BulbIcon,
|
|
13742
13756
|
or as Button,
|
|
13743
|
-
|
|
13757
|
+
Pl as Callout,
|
|
13744
13758
|
P9 as CautionIcon,
|
|
13745
13759
|
Lr as ChatIcon,
|
|
13746
13760
|
kn as ChatProIcon,
|
|
13747
|
-
|
|
13761
|
+
Bl as Checkbox,
|
|
13748
13762
|
Sn as CheckboxIcon,
|
|
13749
|
-
|
|
13750
|
-
|
|
13763
|
+
z1 as ChevronIcon,
|
|
13764
|
+
Xl as Chip,
|
|
13751
13765
|
Yr as ClearIcon,
|
|
13752
13766
|
S9 as ClockIcon,
|
|
13753
|
-
|
|
13767
|
+
ql as CompletedTasksIllustration,
|
|
13754
13768
|
C9 as CopyIcon,
|
|
13755
13769
|
pt as Count,
|
|
13756
|
-
|
|
13770
|
+
Sl as CreationIllustration,
|
|
13757
13771
|
$r as CriticalIcon,
|
|
13758
13772
|
g9 as DateIcon,
|
|
13759
13773
|
m2 as DefectReportIcon,
|
|
13760
|
-
|
|
13774
|
+
eu as DocumentEditor,
|
|
13761
13775
|
s2 as DocumentIcon,
|
|
13762
|
-
|
|
13776
|
+
tu as Domain,
|
|
13763
13777
|
er as DoneIcon,
|
|
13764
13778
|
j9 as DownloadIcon,
|
|
13765
13779
|
F2 as DropdownMenu,
|
|
13766
13780
|
G2 as DropdownMenuItem,
|
|
13767
|
-
|
|
13768
|
-
|
|
13781
|
+
kl as DropdownMenuSeparator,
|
|
13782
|
+
Ll as EmptyState,
|
|
13769
13783
|
Bi as Entry,
|
|
13770
13784
|
l2 as ExpandIcon,
|
|
13771
13785
|
j2 as FileIcon,
|
|
@@ -13777,22 +13791,22 @@ export {
|
|
|
13777
13791
|
dr as FormsIcon,
|
|
13778
13792
|
q9 as GapIcon,
|
|
13779
13793
|
da as GroupedAvatars,
|
|
13780
|
-
|
|
13794
|
+
Yl as Header,
|
|
13781
13795
|
l9 as HeartIcon,
|
|
13782
13796
|
i2 as ICON_BOX,
|
|
13783
13797
|
W9 as Icon,
|
|
13784
13798
|
K1 as IconButton,
|
|
13785
|
-
|
|
13786
|
-
|
|
13799
|
+
Vl as IconSizeRow,
|
|
13800
|
+
_l as ImageViewer,
|
|
13787
13801
|
Mn as InformationIcon,
|
|
13788
|
-
|
|
13789
|
-
|
|
13790
|
-
|
|
13802
|
+
Fl as Input,
|
|
13803
|
+
Dl as InputType,
|
|
13804
|
+
Tl as InternalAuditIllustration,
|
|
13791
13805
|
In as InviteIcon,
|
|
13792
|
-
|
|
13806
|
+
Nl as InviteIllustration,
|
|
13793
13807
|
d2 as IssuesIcon,
|
|
13794
13808
|
v9 as LocationIcon,
|
|
13795
|
-
|
|
13809
|
+
H9 as LogOutIcon,
|
|
13796
13810
|
D2 as Logo,
|
|
13797
13811
|
b9 as MentionIcon,
|
|
13798
13812
|
m9 as MenuIcon,
|
|
@@ -13801,33 +13815,33 @@ export {
|
|
|
13801
13815
|
Br as MinusIcon,
|
|
13802
13816
|
_i as Modal,
|
|
13803
13817
|
eA as ModalBody,
|
|
13804
|
-
|
|
13818
|
+
Ql as ModalClose,
|
|
13805
13819
|
g0 as ModalContent,
|
|
13806
13820
|
m0 as ModalDescription,
|
|
13807
|
-
|
|
13821
|
+
El as ModalHeaderSlot,
|
|
13808
13822
|
C0 as ModalOverlay,
|
|
13809
13823
|
j0 as ModalPanel,
|
|
13810
13824
|
$i as ModalPortal,
|
|
13811
13825
|
x0 as ModalTitle,
|
|
13812
|
-
|
|
13826
|
+
Jl as ModalTrigger,
|
|
13813
13827
|
p2 as MoreIcon,
|
|
13814
|
-
|
|
13815
|
-
|
|
13828
|
+
ru as Patterns,
|
|
13829
|
+
$l as PdfViewer,
|
|
13816
13830
|
bn as PenIcon,
|
|
13817
13831
|
y9 as PersonIcon,
|
|
13818
13832
|
lr as PlusIcon,
|
|
13819
|
-
|
|
13833
|
+
wl as PortStateControlIllustration,
|
|
13820
13834
|
V9 as PreviewIcon,
|
|
13821
|
-
|
|
13835
|
+
Kl as ProcessingIllustration,
|
|
13822
13836
|
Kn as QualityIcon,
|
|
13823
|
-
|
|
13837
|
+
Rl as QuestionsDoneIllustration,
|
|
13824
13838
|
x9 as RefreshIcon,
|
|
13825
13839
|
h9 as ReportActionsIcon,
|
|
13826
13840
|
u2 as ReportIcon,
|
|
13827
|
-
|
|
13828
|
-
|
|
13841
|
+
Gl as ReportInput,
|
|
13842
|
+
Wl as RightShipInspectionIllustration,
|
|
13829
13843
|
Zr as SearchIcon,
|
|
13830
|
-
|
|
13844
|
+
Hn as SendIcon,
|
|
13831
13845
|
Pn as SettingsIcon,
|
|
13832
13846
|
Ke as ShipIcon,
|
|
13833
13847
|
Ft as SidebarIcon,
|
|
@@ -13836,8 +13850,8 @@ export {
|
|
|
13836
13850
|
Nn as SpinnerIcon,
|
|
13837
13851
|
s9 as StarIcon,
|
|
13838
13852
|
rr as StatusIcon,
|
|
13839
|
-
|
|
13840
|
-
|
|
13853
|
+
Il as Switch,
|
|
13854
|
+
Zl as Tab,
|
|
13841
13855
|
Di as Tabs,
|
|
13842
13856
|
t0 as TabsContent,
|
|
13843
13857
|
e0 as TabsList,
|
|
@@ -13847,34 +13861,34 @@ export {
|
|
|
13847
13861
|
Ra as ThinkingDot,
|
|
13848
13862
|
Qr as TickIcon,
|
|
13849
13863
|
dt as Tooltip,
|
|
13850
|
-
|
|
13864
|
+
bl as TooltipProvider,
|
|
13851
13865
|
u9 as TrashIcon,
|
|
13852
13866
|
N9 as UndoIcon,
|
|
13853
13867
|
f9 as UploadIcon,
|
|
13854
|
-
|
|
13868
|
+
vl as UploadIllustration,
|
|
13855
13869
|
K9 as UsersIcon,
|
|
13856
|
-
|
|
13870
|
+
Ul as WorkflowCreatedIllustration,
|
|
13857
13871
|
ur as WorkflowIcon,
|
|
13858
|
-
|
|
13859
|
-
|
|
13860
|
-
|
|
13861
|
-
|
|
13872
|
+
Ml as WorkflowsIllustration,
|
|
13873
|
+
cu as blue,
|
|
13874
|
+
ou as borderRadius,
|
|
13875
|
+
iu as colorScales,
|
|
13862
13876
|
q as createIcon,
|
|
13863
13877
|
T1 as createIllustration,
|
|
13864
|
-
|
|
13865
|
-
|
|
13866
|
-
|
|
13867
|
-
|
|
13868
|
-
|
|
13869
|
-
|
|
13870
|
-
|
|
13871
|
-
|
|
13878
|
+
Au as elevation,
|
|
13879
|
+
jl as fontFamilies,
|
|
13880
|
+
fl as fontSizes,
|
|
13881
|
+
yl as getFilledSizes,
|
|
13882
|
+
Ol as getOutlineSizes,
|
|
13883
|
+
su as green,
|
|
13884
|
+
lu as grey,
|
|
13885
|
+
zl as hasIconSize,
|
|
13872
13886
|
w9 as iconRegistry,
|
|
13873
13887
|
K as iconsData,
|
|
13874
|
-
|
|
13875
|
-
|
|
13876
|
-
|
|
13877
|
-
|
|
13878
|
-
|
|
13879
|
-
|
|
13888
|
+
uu as orange,
|
|
13889
|
+
du as purple,
|
|
13890
|
+
pu as red,
|
|
13891
|
+
ml as semanticTokens,
|
|
13892
|
+
Cu as tailwindTheme,
|
|
13893
|
+
gu as white
|
|
13880
13894
|
};
|