@lateralus-ai/shipping-ui 1.3.1 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/PdfViewer/PdfViewer.d.ts +1 -1
- package/dist/index.cjs +10 -10
- package/dist/index.esm.js +207 -210
- package/package.json +1 -1
- package/src/components/PdfViewer/PdfViewer.tsx +7 -12
package/dist/index.esm.js
CHANGED
|
@@ -1052,9 +1052,9 @@ function qE() {
|
|
|
1052
1052
|
}
|
|
1053
1053
|
}
|
|
1054
1054
|
}
|
|
1055
|
-
var
|
|
1055
|
+
var ye = Array.isArray;
|
|
1056
1056
|
function ee(Q) {
|
|
1057
|
-
return
|
|
1057
|
+
return ye(Q);
|
|
1058
1058
|
}
|
|
1059
1059
|
function Ee(Q) {
|
|
1060
1060
|
{
|
|
@@ -1336,8 +1336,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1336
1336
|
}()), Jc;
|
|
1337
1337
|
}
|
|
1338
1338
|
process.env.NODE_ENV === "production" ? a0.exports = GE() : a0.exports = qE();
|
|
1339
|
-
var
|
|
1340
|
-
const _5 = () => /* @__PURE__ */
|
|
1339
|
+
var we = a0.exports;
|
|
1340
|
+
const _5 = () => /* @__PURE__ */ we.jsx("div", { className: "bg-red-800 text-white p-2", children: "Hello world" });
|
|
1341
1341
|
function WE() {
|
|
1342
1342
|
for (var i = 0, e, t, r = ""; i < arguments.length; )
|
|
1343
1343
|
(e = arguments[i++]) && (t = W2(e)) && (r && (r += " "), r += t);
|
|
@@ -3443,7 +3443,7 @@ function $l(...i) {
|
|
|
3443
3443
|
return y_(w_(i));
|
|
3444
3444
|
}
|
|
3445
3445
|
function x_({ className: i = "", size: e = "1em" }) {
|
|
3446
|
-
return /* @__PURE__ */
|
|
3446
|
+
return /* @__PURE__ */ we.jsxs(
|
|
3447
3447
|
"svg",
|
|
3448
3448
|
{
|
|
3449
3449
|
width: "24",
|
|
@@ -3453,14 +3453,14 @@ function x_({ className: i = "", size: e = "1em" }) {
|
|
|
3453
3453
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3454
3454
|
className: i,
|
|
3455
3455
|
children: [
|
|
3456
|
-
/* @__PURE__ */
|
|
3456
|
+
/* @__PURE__ */ we.jsx(
|
|
3457
3457
|
"path",
|
|
3458
3458
|
{
|
|
3459
3459
|
d: "M12.001 7.7395C12.2367 7.73978 12.4591 7.85076 12.6006 8.03931L15.376 11.7395C15.5459 11.9666 15.5731 12.2708 15.4463 12.5247C15.3193 12.7785 15.0592 12.9395 14.7754 12.9397H12.75V17.2766C12.7499 17.6907 12.4142 18.0266 12 18.0266C11.5858 18.0266 11.2501 17.6907 11.25 17.2766V12.9397H9.22559C8.94169 12.9397 8.68182 12.7785 8.55469 12.5247C8.42778 12.2706 8.45558 11.9667 8.62598 11.7395L11.4004 8.03931L11.457 7.97192C11.5977 7.82422 11.7945 7.7395 12.001 7.7395Z",
|
|
3460
3460
|
fill: "currentColor"
|
|
3461
3461
|
}
|
|
3462
3462
|
),
|
|
3463
|
-
/* @__PURE__ */
|
|
3463
|
+
/* @__PURE__ */ we.jsx(
|
|
3464
3464
|
"path",
|
|
3465
3465
|
{
|
|
3466
3466
|
"fill-rule": "evenodd",
|
|
@@ -3474,7 +3474,7 @@ function x_({ className: i = "", size: e = "1em" }) {
|
|
|
3474
3474
|
);
|
|
3475
3475
|
}
|
|
3476
3476
|
function A_({ className: i = "", size: e = "1em" }) {
|
|
3477
|
-
return /* @__PURE__ */
|
|
3477
|
+
return /* @__PURE__ */ we.jsx(
|
|
3478
3478
|
"svg",
|
|
3479
3479
|
{
|
|
3480
3480
|
width: "24",
|
|
@@ -3483,7 +3483,7 @@ function A_({ className: i = "", size: e = "1em" }) {
|
|
|
3483
3483
|
fill: "none",
|
|
3484
3484
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3485
3485
|
className: i,
|
|
3486
|
-
children: /* @__PURE__ */
|
|
3486
|
+
children: /* @__PURE__ */ we.jsx(
|
|
3487
3487
|
"path",
|
|
3488
3488
|
{
|
|
3489
3489
|
d: "M12 2C10.0222 2 8.08879 2.58649 6.4443 3.6853C4.79981 4.78412 3.51809 6.3459 2.76121 8.17316C2.00433 10.0004 1.8063 12.0111 2.19215 13.9509C2.578 15.8907 3.53041 17.6725 4.92894 19.0711C6.32746 20.4696 8.10929 21.422 10.0491 21.8078C11.9889 22.1937 13.9996 21.9957 15.8268 21.2388C17.6541 20.4819 19.2159 19.2002 20.3147 17.5557C21.4135 15.9112 22 13.9778 22 12C21.9971 9.34871 20.9426 6.80684 19.0679 4.9321C17.1932 3.05736 14.6513 2.00287 12 2ZM15.7092 11.7642C15.6751 11.8349 15.6217 11.8945 15.5553 11.9363C15.4888 11.978 15.4118 12.0001 15.3333 12H12.8333V16.1667C12.8333 16.3877 12.7455 16.5996 12.5893 16.7559C12.433 16.9122 12.221 17 12 17C11.779 17 11.567 16.9122 11.4107 16.7559C11.2545 16.5996 11.1667 16.3877 11.1667 16.1667V12H8.66667C8.58819 12 8.5113 11.9779 8.44484 11.9362C8.37839 11.8945 8.32507 11.8348 8.29102 11.7641C8.25697 11.6934 8.24359 11.6145 8.2524 11.5365C8.26121 11.4586 8.29187 11.3847 8.34084 11.3233L11.6742 7.15667C11.7146 7.10991 11.7646 7.07241 11.8209 7.04671C11.8771 7.021 11.9382 7.0077 12 7.0077C12.0618 7.0077 12.1229 7.021 12.1791 7.04671C12.2354 7.07241 12.2854 7.10991 12.3258 7.15667L15.6592 11.3233C15.7082 11.3846 15.7389 11.4585 15.7477 11.5365C15.7566 11.6145 15.7432 11.6934 15.7092 11.7642Z",
|
|
@@ -3499,7 +3499,7 @@ const E_ = ({
|
|
|
3499
3499
|
...t
|
|
3500
3500
|
}) => {
|
|
3501
3501
|
const [r, n] = On(!1);
|
|
3502
|
-
return /* @__PURE__ */
|
|
3502
|
+
return /* @__PURE__ */ we.jsx(Lb, { content: i, children: /* @__PURE__ */ we.jsx(
|
|
3503
3503
|
nn,
|
|
3504
3504
|
{
|
|
3505
3505
|
variant: "text",
|
|
@@ -3509,14 +3509,14 @@ const E_ = ({
|
|
|
3509
3509
|
onMouseEnter: () => n(!0),
|
|
3510
3510
|
onMouseLeave: () => n(!1),
|
|
3511
3511
|
...t,
|
|
3512
|
-
children: r ? /* @__PURE__ */
|
|
3512
|
+
children: r ? /* @__PURE__ */ we.jsx(A_, { className: "size-6 " }) : /* @__PURE__ */ we.jsx(x_, { className: "size-6 " })
|
|
3513
3513
|
}
|
|
3514
3514
|
) });
|
|
3515
3515
|
}, J2 = ({
|
|
3516
3516
|
onSubmit: i = () => {
|
|
3517
3517
|
},
|
|
3518
3518
|
...e
|
|
3519
|
-
}) => /* @__PURE__ */
|
|
3519
|
+
}) => /* @__PURE__ */ we.jsx(
|
|
3520
3520
|
VE,
|
|
3521
3521
|
{
|
|
3522
3522
|
autoFocus: !0,
|
|
@@ -3531,21 +3531,21 @@ const E_ = ({
|
|
|
3531
3531
|
bottom: i,
|
|
3532
3532
|
right: e,
|
|
3533
3533
|
top: t,
|
|
3534
|
-
textArea: r = /* @__PURE__ */
|
|
3534
|
+
textArea: r = /* @__PURE__ */ we.jsx(J2, {}),
|
|
3535
3535
|
...n
|
|
3536
|
-
}) => /* @__PURE__ */
|
|
3536
|
+
}) => /* @__PURE__ */ we.jsxs(
|
|
3537
3537
|
"div",
|
|
3538
3538
|
{
|
|
3539
3539
|
className: "border gap-2 rounded-lg bg-white shadow-[0px_2px_2px_0px_#0000000A,0px_8px_8px_-8px_#0000000A] border-gray-100",
|
|
3540
3540
|
...n,
|
|
3541
3541
|
children: [
|
|
3542
3542
|
t,
|
|
3543
|
-
/* @__PURE__ */
|
|
3544
|
-
/* @__PURE__ */
|
|
3543
|
+
/* @__PURE__ */ we.jsxs("div", { className: "flex gap-2 p-4 rounded-lg bg-white", children: [
|
|
3544
|
+
/* @__PURE__ */ we.jsxs("div", { className: "grow flex flex-col items-start justify-center", children: [
|
|
3545
3545
|
r,
|
|
3546
3546
|
i
|
|
3547
3547
|
] }),
|
|
3548
|
-
/* @__PURE__ */
|
|
3548
|
+
/* @__PURE__ */ we.jsx("div", { className: "shrink flex items-end justify-end", children: e })
|
|
3549
3549
|
] })
|
|
3550
3550
|
]
|
|
3551
3551
|
}
|
|
@@ -3563,7 +3563,7 @@ const E_ = ({
|
|
|
3563
3563
|
const h = c ?? !o;
|
|
3564
3564
|
e === void 0 && n(h), t == null || t(h);
|
|
3565
3565
|
};
|
|
3566
|
-
return /* @__PURE__ */
|
|
3566
|
+
return /* @__PURE__ */ we.jsx(
|
|
3567
3567
|
Bc.Provider,
|
|
3568
3568
|
{
|
|
3569
3569
|
value: { isCollapsed: o, toggleCollapsed: l, isHovered: s, setIsHovered: a },
|
|
@@ -3576,7 +3576,7 @@ const E_ = ({
|
|
|
3576
3576
|
...t
|
|
3577
3577
|
}) => {
|
|
3578
3578
|
const { isCollapsed: r, isHovered: n, setIsHovered: s } = Yl(Bc);
|
|
3579
|
-
return /* @__PURE__ */
|
|
3579
|
+
return /* @__PURE__ */ we.jsx(
|
|
3580
3580
|
"div",
|
|
3581
3581
|
{
|
|
3582
3582
|
className: $l(
|
|
@@ -3597,9 +3597,9 @@ const E_ = ({
|
|
|
3597
3597
|
isCollapsed: t,
|
|
3598
3598
|
onSwitchLayout: r,
|
|
3599
3599
|
...n
|
|
3600
|
-
}) => /* @__PURE__ */
|
|
3600
|
+
}) => /* @__PURE__ */ we.jsx(e1, { isCollapsed: t, onSwitchLayout: r, children: /* @__PURE__ */ we.jsx(t1, { className: i, ...n, children: e }) }), S_ = ({ icon: i, children: e, ...t }) => {
|
|
3601
3601
|
const { isCollapsed: r, isHovered: n } = Yl(Bc);
|
|
3602
|
-
return /* @__PURE__ */
|
|
3602
|
+
return /* @__PURE__ */ we.jsxs(
|
|
3603
3603
|
"button",
|
|
3604
3604
|
{
|
|
3605
3605
|
className: "flex items-center gap-2 w-full hover:bg-gray-100 text-caption-1-em text-gray-600 hover:text-gray-900 h-[38px] rounded-lg px-2",
|
|
@@ -3613,7 +3613,7 @@ const E_ = ({
|
|
|
3613
3613
|
);
|
|
3614
3614
|
};
|
|
3615
3615
|
function T_(i) {
|
|
3616
|
-
return /* @__PURE__ */
|
|
3616
|
+
return /* @__PURE__ */ we.jsx(
|
|
3617
3617
|
"svg",
|
|
3618
3618
|
{
|
|
3619
3619
|
width: "16",
|
|
@@ -3622,7 +3622,7 @@ function T_(i) {
|
|
|
3622
3622
|
fill: "none",
|
|
3623
3623
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3624
3624
|
...i,
|
|
3625
|
-
children: /* @__PURE__ */
|
|
3625
|
+
children: /* @__PURE__ */ we.jsx(
|
|
3626
3626
|
"path",
|
|
3627
3627
|
{
|
|
3628
3628
|
d: "M13 1C14.6569 1 16 2.34315 16 4V12L15.9961 12.1543C15.9158 13.7394 14.6051 15 13 15H3L2.8457 14.9961C1.31166 14.9184 0.0816253 13.6883 0.00390625 12.1543L0 12V4C1.28853e-07 2.34315 1.34315 1 3 1H13ZM3 2.5C2.17157 2.5 1.5 3.17157 1.5 4V12C1.5 12.8284 2.17157 13.5 3 13.5H13C13.8284 13.5 14.5 12.8284 14.5 12V4C14.5 3.17157 13.8284 2.5 13 2.5H3ZM3.75 3.5C4.16421 3.5 4.5 3.83579 4.5 4.25V11.75C4.5 12.1642 4.16421 12.5 3.75 12.5C3.33579 12.5 3 12.1642 3 11.75V4.25C3 3.83579 3.33579 3.5 3.75 3.5Z",
|
|
@@ -3633,7 +3633,7 @@ function T_(i) {
|
|
|
3633
3633
|
);
|
|
3634
3634
|
}
|
|
3635
3635
|
function k_(i) {
|
|
3636
|
-
return /* @__PURE__ */
|
|
3636
|
+
return /* @__PURE__ */ we.jsx(
|
|
3637
3637
|
"svg",
|
|
3638
3638
|
{
|
|
3639
3639
|
width: "16",
|
|
@@ -3642,7 +3642,7 @@ function k_(i) {
|
|
|
3642
3642
|
fill: "none",
|
|
3643
3643
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3644
3644
|
...i,
|
|
3645
|
-
children: /* @__PURE__ */
|
|
3645
|
+
children: /* @__PURE__ */ we.jsx(
|
|
3646
3646
|
"path",
|
|
3647
3647
|
{
|
|
3648
3648
|
d: "M13 1C14.6569 1 16 2.34315 16 4V12L15.9961 12.1543C15.9158 13.7394 14.6051 15 13 15H3L2.8457 14.9961C1.31166 14.9184 0.0816253 13.6883 0.00390625 12.1543L0 12V4C1.28853e-07 2.34315 1.34315 1 3 1H13ZM3 2.5C2.17157 2.5 1.5 3.17157 1.5 4V12C1.5 12.8284 2.17157 13.5 3 13.5H13C13.8284 13.5 14.5 12.8284 14.5 12V4C14.5 3.17157 13.8284 2.5 13 2.5H3ZM7.5 4C7.77614 4 8 4.22386 8 4.5V11.5C8 11.7761 7.77614 12 7.5 12H3.5C3.22386 12 3 11.7761 3 11.5V4.5C3 4.22386 3.22386 4 3.5 4H7.5Z",
|
|
@@ -3654,7 +3654,7 @@ function k_(i) {
|
|
|
3654
3654
|
}
|
|
3655
3655
|
const D_ = () => {
|
|
3656
3656
|
const { isCollapsed: i, isHovered: e, toggleCollapsed: t } = Yl(Bc);
|
|
3657
|
-
return i && !e ? null : /* @__PURE__ */
|
|
3657
|
+
return i && !e ? null : /* @__PURE__ */ we.jsx(nn, { variant: "text", color: "gray", onClick: () => t(), children: i ? /* @__PURE__ */ we.jsx(T_, { className: "size-4" }) : /* @__PURE__ */ we.jsx(k_, { className: "size-4" }) });
|
|
3658
3658
|
}, P_ = ({
|
|
3659
3659
|
children: i,
|
|
3660
3660
|
className: e,
|
|
@@ -3664,7 +3664,7 @@ const D_ = () => {
|
|
|
3664
3664
|
...s
|
|
3665
3665
|
}) => {
|
|
3666
3666
|
const { isCollapsed: a, isHovered: o } = Yl(Bc);
|
|
3667
|
-
return /* @__PURE__ */
|
|
3667
|
+
return /* @__PURE__ */ we.jsxs(
|
|
3668
3668
|
"div",
|
|
3669
3669
|
{
|
|
3670
3670
|
className: $l(
|
|
@@ -3674,7 +3674,7 @@ const D_ = () => {
|
|
|
3674
3674
|
),
|
|
3675
3675
|
...s,
|
|
3676
3676
|
children: [
|
|
3677
|
-
/* @__PURE__ */
|
|
3677
|
+
/* @__PURE__ */ we.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
3678
3678
|
t,
|
|
3679
3679
|
(!a || o) && i
|
|
3680
3680
|
] }),
|
|
@@ -3691,7 +3691,7 @@ const D_ = () => {
|
|
|
3691
3691
|
...s
|
|
3692
3692
|
}) => {
|
|
3693
3693
|
const { isCollapsed: a, isHovered: o } = Yl(Bc);
|
|
3694
|
-
return /* @__PURE__ */
|
|
3694
|
+
return /* @__PURE__ */ we.jsxs(
|
|
3695
3695
|
"div",
|
|
3696
3696
|
{
|
|
3697
3697
|
className: $l(
|
|
@@ -3701,7 +3701,7 @@ const D_ = () => {
|
|
|
3701
3701
|
),
|
|
3702
3702
|
...s,
|
|
3703
3703
|
children: [
|
|
3704
|
-
/* @__PURE__ */
|
|
3704
|
+
/* @__PURE__ */ we.jsxs("div", { className: "flex items-center gap-2 overflow-auto", children: [
|
|
3705
3705
|
(!a || o) && n,
|
|
3706
3706
|
" ",
|
|
3707
3707
|
(!a || o) && i
|
|
@@ -3719,7 +3719,7 @@ const D_ = () => {
|
|
|
3719
3719
|
Provider: e1,
|
|
3720
3720
|
SecondaryItem: R_,
|
|
3721
3721
|
ToggleCollapseButton: D_
|
|
3722
|
-
}, Symbol.toStringTag, { value: "Module" })), I_ = (i) => /* @__PURE__ */
|
|
3722
|
+
}, Symbol.toStringTag, { value: "Module" })), I_ = (i) => /* @__PURE__ */ we.jsx(
|
|
3723
3723
|
"svg",
|
|
3724
3724
|
{
|
|
3725
3725
|
width: "16",
|
|
@@ -3728,7 +3728,7 @@ const D_ = () => {
|
|
|
3728
3728
|
fill: "none",
|
|
3729
3729
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3730
3730
|
...i,
|
|
3731
|
-
children: /* @__PURE__ */
|
|
3731
|
+
children: /* @__PURE__ */ we.jsx(
|
|
3732
3732
|
"path",
|
|
3733
3733
|
{
|
|
3734
3734
|
d: "M12.7197 2.21954C13.0125 1.92683 13.4874 1.92694 13.7803 2.21954C14.073 2.51241 14.073 2.98722 13.7803 3.28008L9.05955 7.99981L13.7803 12.7205L13.832 12.7772C14.0721 13.0717 14.0548 13.5065 13.7803 13.7811C13.5057 14.0555 13.0709 14.0729 12.7764 13.8328L12.7197 13.7811L7.99901 9.06036L3.27928 13.7811C2.9864 14.0737 2.51156 14.0738 2.21873 13.7811C1.92618 13.4882 1.92616 13.0133 2.21873 12.7205L6.93846 7.99981L2.21873 3.28008C1.92615 2.98722 1.92607 2.51235 2.21873 2.21954C2.51154 1.92673 2.98637 1.92691 3.27928 2.21954L7.99901 6.93926L12.7197 2.21954Z",
|
|
@@ -3740,11 +3740,11 @@ const D_ = () => {
|
|
|
3740
3740
|
onClose: i,
|
|
3741
3741
|
right: e,
|
|
3742
3742
|
children: t
|
|
3743
|
-
}) => /* @__PURE__ */
|
|
3744
|
-
/* @__PURE__ */
|
|
3745
|
-
/* @__PURE__ */
|
|
3743
|
+
}) => /* @__PURE__ */ we.jsxs("div", { className: "bg-gray-50 flex gap-2 items-center px-2 py-3 rounded-t-xl", children: [
|
|
3744
|
+
/* @__PURE__ */ we.jsx("div", { className: "grow text-subheader-em", children: t }),
|
|
3745
|
+
/* @__PURE__ */ we.jsxs("div", { className: "flex items-center gap-4", children: [
|
|
3746
3746
|
e,
|
|
3747
|
-
/* @__PURE__ */
|
|
3747
|
+
/* @__PURE__ */ we.jsx(
|
|
3748
3748
|
nn,
|
|
3749
3749
|
{
|
|
3750
3750
|
variant: "text",
|
|
@@ -3752,13 +3752,13 @@ const D_ = () => {
|
|
|
3752
3752
|
color: "gray",
|
|
3753
3753
|
className: "rounded-full",
|
|
3754
3754
|
onClick: i,
|
|
3755
|
-
children: /* @__PURE__ */
|
|
3755
|
+
children: /* @__PURE__ */ we.jsx(I_, { className: "size-4 text-gray-600" })
|
|
3756
3756
|
}
|
|
3757
3757
|
)
|
|
3758
3758
|
] })
|
|
3759
3759
|
] }), r1 = {
|
|
3760
3760
|
Header: N_
|
|
3761
|
-
}, n1 = (i) => /* @__PURE__ */
|
|
3761
|
+
}, n1 = (i) => /* @__PURE__ */ we.jsx(
|
|
3762
3762
|
"svg",
|
|
3763
3763
|
{
|
|
3764
3764
|
width: "16",
|
|
@@ -3767,7 +3767,7 @@ const D_ = () => {
|
|
|
3767
3767
|
fill: "none",
|
|
3768
3768
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3769
3769
|
...i,
|
|
3770
|
-
children: /* @__PURE__ */
|
|
3770
|
+
children: /* @__PURE__ */ we.jsx(
|
|
3771
3771
|
"path",
|
|
3772
3772
|
{
|
|
3773
3773
|
d: "M2.25 5.5C2.66421 5.5 3 5.83579 3 6.25C3 6.66421 2.66421 7 2.25 7H2C1.72386 7 1.5 7.22386 1.5 7.5V13.5C1.5 13.7761 1.72386 14 2 14H8C8.27614 14 8.5 13.7761 8.5 13.5V13.25C8.5 12.8358 8.83579 12.5 9.25 12.5C9.66421 12.5 10 12.8358 10 13.25V13.5C10 14.5357 9.21278 15.387 8.2041 15.4893L8 15.5H2L1.7959 15.4893C0.854346 15.3938 0.1062 14.6457 0.0107422 13.7041L0 13.5V7.5C0 6.39543 0.895431 5.5 2 5.5H2.25ZM13.75 0C14.7165 1.28853e-07 15.5 0.783502 15.5 1.75V9.75C15.5 10.7165 14.7165 11.5 13.75 11.5H5.75C4.7835 11.5 4 10.7165 4 9.75V1.75C4 0.783502 4.7835 8.0532e-09 5.75 0H13.75ZM5.75 1.5C5.61193 1.5 5.5 1.61193 5.5 1.75V9.75C5.5 9.88807 5.61193 10 5.75 10H13.75C13.8881 10 14 9.88807 14 9.75V1.75C14 1.61193 13.8881 1.5 13.75 1.5H5.75ZM11.75 3C11.795 3 11.839 3.00413 11.8818 3.01172C11.8874 3.0127 11.8929 3.01354 11.8984 3.01465C11.9118 3.01733 11.9244 3.02298 11.9375 3.02637C11.9707 3.03495 12.0041 3.04344 12.0361 3.05664C12.0653 3.06868 12.092 3.08512 12.1191 3.10059C12.1763 3.1331 12.2316 3.171 12.2803 3.21973C12.3287 3.26812 12.366 3.3232 12.3984 3.37988C12.414 3.40703 12.4303 3.43375 12.4424 3.46289C12.4631 3.51289 12.4779 3.56459 12.4873 3.61719C12.495 3.66035 12.5 3.70462 12.5 3.75V7.75C12.5 8.16421 12.1642 8.5 11.75 8.5C11.3358 8.5 11 8.16421 11 7.75V5.56055L8.28027 8.28027C7.98738 8.57317 7.51262 8.57317 7.21973 8.28027C6.92683 7.98738 6.92683 7.51262 7.21973 7.21973L9.93945 4.5H7.75C7.33579 4.5 7 4.16421 7 3.75C7 3.33579 7.33579 3 7.75 3H11.75Z",
|
|
@@ -3840,11 +3840,11 @@ const D_ = () => {
|
|
|
3840
3840
|
documentUrl: n,
|
|
3841
3841
|
title: s = "PDF Viewer"
|
|
3842
3842
|
}) => {
|
|
3843
|
-
const [a, o] = i1(), [l, c] = s1(), [{ pan: h, isDragging: d }, p] = a1(), [{ currentPage: g }, y] = o1(t), b = /* @__PURE__ */
|
|
3844
|
-
return /* @__PURE__ */
|
|
3845
|
-
/* @__PURE__ */
|
|
3846
|
-
/* @__PURE__ */
|
|
3847
|
-
/* @__PURE__ */
|
|
3843
|
+
const [a, o] = i1(), [l, c] = s1(), [{ pan: h, isDragging: d }, p] = a1(), [{ currentPage: g }, y] = o1(t), b = /* @__PURE__ */ we.jsx(nn, { variant: "text", color: "gray", children: /* @__PURE__ */ we.jsx("a", { href: n, target: "_blank", rel: "noopener noreferrer", children: /* @__PURE__ */ we.jsx(n1, { className: "size-4" }) }) });
|
|
3844
|
+
return /* @__PURE__ */ we.jsxs("div", { className: $l("shadow rounded-t-lg flex flex-col h-full", i), children: [
|
|
3845
|
+
/* @__PURE__ */ we.jsx(r1.Header, { onClose: e, right: b, children: s }),
|
|
3846
|
+
/* @__PURE__ */ we.jsx("div", { className: "flex-1 grid", children: /* @__PURE__ */ we.jsxs("div", { className: "grid relative", children: [
|
|
3847
|
+
/* @__PURE__ */ we.jsx(
|
|
3848
3848
|
"div",
|
|
3849
3849
|
{
|
|
3850
3850
|
className: "overflow-hidden col-start-1 row-start-1 bg-gray-200 h-full relative",
|
|
@@ -3852,7 +3852,7 @@ const D_ = () => {
|
|
|
3852
3852
|
onMouseUp: p.handleMouseUp,
|
|
3853
3853
|
onMouseLeave: p.handleMouseUp,
|
|
3854
3854
|
onWheel: o.handleWheel,
|
|
3855
|
-
children: /* @__PURE__ */
|
|
3855
|
+
children: /* @__PURE__ */ we.jsx(
|
|
3856
3856
|
"div",
|
|
3857
3857
|
{
|
|
3858
3858
|
style: {
|
|
@@ -3865,7 +3865,7 @@ const D_ = () => {
|
|
|
3865
3865
|
justifyContent: "center"
|
|
3866
3866
|
},
|
|
3867
3867
|
onMouseDown: p.handleMouseDown,
|
|
3868
|
-
children: /* @__PURE__ */
|
|
3868
|
+
children: /* @__PURE__ */ we.jsx(
|
|
3869
3869
|
"div",
|
|
3870
3870
|
{
|
|
3871
3871
|
style: {
|
|
@@ -3873,7 +3873,7 @@ const D_ = () => {
|
|
|
3873
3873
|
transformOrigin: "center",
|
|
3874
3874
|
transition: d ? "none" : "transform 0.3s ease"
|
|
3875
3875
|
},
|
|
3876
|
-
children: /* @__PURE__ */
|
|
3876
|
+
children: /* @__PURE__ */ we.jsx(
|
|
3877
3877
|
"img",
|
|
3878
3878
|
{
|
|
3879
3879
|
src: r(g),
|
|
@@ -3886,19 +3886,19 @@ const D_ = () => {
|
|
|
3886
3886
|
)
|
|
3887
3887
|
}
|
|
3888
3888
|
),
|
|
3889
|
-
/* @__PURE__ */
|
|
3890
|
-
/* @__PURE__ */
|
|
3891
|
-
/* @__PURE__ */
|
|
3889
|
+
/* @__PURE__ */ we.jsxs("div", { className: "col-start-1 row-start-1 self-end p-4 flex gap-2 justify-between w-full z-10", children: [
|
|
3890
|
+
/* @__PURE__ */ we.jsxs(xu, { className: "divide-x-0 h-[52px]", children: [
|
|
3891
|
+
/* @__PURE__ */ we.jsx(
|
|
3892
3892
|
nn,
|
|
3893
3893
|
{
|
|
3894
3894
|
variant: "filled",
|
|
3895
3895
|
color: "white",
|
|
3896
3896
|
className: "py-[26px]",
|
|
3897
3897
|
onClick: o.zoomOut,
|
|
3898
|
-
children: /* @__PURE__ */
|
|
3898
|
+
children: /* @__PURE__ */ we.jsx(wi, { icon: "lucide:minus" })
|
|
3899
3899
|
}
|
|
3900
3900
|
),
|
|
3901
|
-
/* @__PURE__ */
|
|
3901
|
+
/* @__PURE__ */ we.jsx(Lb, { content: "Click to reset zoom and pan", children: /* @__PURE__ */ we.jsxs(
|
|
3902
3902
|
"button",
|
|
3903
3903
|
{
|
|
3904
3904
|
className: "!bg-white text-center cursor-pointer w-[60px]",
|
|
@@ -3911,41 +3911,41 @@ const D_ = () => {
|
|
|
3911
3911
|
]
|
|
3912
3912
|
}
|
|
3913
3913
|
) }),
|
|
3914
|
-
/* @__PURE__ */
|
|
3914
|
+
/* @__PURE__ */ we.jsx(
|
|
3915
3915
|
nn,
|
|
3916
3916
|
{
|
|
3917
3917
|
variant: "filled",
|
|
3918
3918
|
color: "white",
|
|
3919
3919
|
className: "py-[26px]",
|
|
3920
3920
|
onClick: o.zoomIn,
|
|
3921
|
-
children: /* @__PURE__ */
|
|
3921
|
+
children: /* @__PURE__ */ we.jsx(wi, { icon: "lucide:plus" })
|
|
3922
3922
|
}
|
|
3923
3923
|
)
|
|
3924
3924
|
] }),
|
|
3925
|
-
/* @__PURE__ */
|
|
3926
|
-
/* @__PURE__ */
|
|
3925
|
+
/* @__PURE__ */ we.jsxs(xu, { className: "divide-x-0 h-[52px]", children: [
|
|
3926
|
+
/* @__PURE__ */ we.jsx(
|
|
3927
3927
|
nn,
|
|
3928
3928
|
{
|
|
3929
3929
|
variant: "filled",
|
|
3930
3930
|
color: "white",
|
|
3931
3931
|
className: "py-[26px]",
|
|
3932
3932
|
onClick: c.rotateClockwise,
|
|
3933
|
-
children: /* @__PURE__ */
|
|
3933
|
+
children: /* @__PURE__ */ we.jsx(wi, { icon: "lucide:iteration-cw" })
|
|
3934
3934
|
}
|
|
3935
3935
|
),
|
|
3936
|
-
/* @__PURE__ */
|
|
3936
|
+
/* @__PURE__ */ we.jsx(
|
|
3937
3937
|
nn,
|
|
3938
3938
|
{
|
|
3939
3939
|
variant: "filled",
|
|
3940
3940
|
color: "white",
|
|
3941
3941
|
className: "py-[26px]",
|
|
3942
3942
|
onClick: c.rotateCounterClockwise,
|
|
3943
|
-
children: /* @__PURE__ */
|
|
3943
|
+
children: /* @__PURE__ */ we.jsx(wi, { icon: "lucide:iteration-ccw" })
|
|
3944
3944
|
}
|
|
3945
3945
|
)
|
|
3946
3946
|
] }),
|
|
3947
|
-
/* @__PURE__ */
|
|
3948
|
-
/* @__PURE__ */
|
|
3947
|
+
/* @__PURE__ */ we.jsxs(xu, { className: "divide-x-0 ", children: [
|
|
3948
|
+
/* @__PURE__ */ we.jsx(
|
|
3949
3949
|
nn,
|
|
3950
3950
|
{
|
|
3951
3951
|
variant: "filled",
|
|
@@ -3953,10 +3953,10 @@ const D_ = () => {
|
|
|
3953
3953
|
className: "py-[26px]",
|
|
3954
3954
|
onClick: y.prevPage,
|
|
3955
3955
|
disabled: g === 1,
|
|
3956
|
-
children: /* @__PURE__ */
|
|
3956
|
+
children: /* @__PURE__ */ we.jsx(wi, { icon: "lucide:chevron-left" })
|
|
3957
3957
|
}
|
|
3958
3958
|
),
|
|
3959
|
-
/* @__PURE__ */
|
|
3959
|
+
/* @__PURE__ */ we.jsx(
|
|
3960
3960
|
"input",
|
|
3961
3961
|
{
|
|
3962
3962
|
className: "bg-white pl-4 flex items-center w-[50px] text-center focus:outline-none w-[60px]",
|
|
@@ -3970,11 +3970,11 @@ const D_ = () => {
|
|
|
3970
3970
|
max: t
|
|
3971
3971
|
}
|
|
3972
3972
|
),
|
|
3973
|
-
/* @__PURE__ */
|
|
3973
|
+
/* @__PURE__ */ we.jsxs("div", { className: "flex items-center bg-white px-2", children: [
|
|
3974
3974
|
"of ",
|
|
3975
3975
|
t
|
|
3976
3976
|
] }),
|
|
3977
|
-
/* @__PURE__ */
|
|
3977
|
+
/* @__PURE__ */ we.jsx(
|
|
3978
3978
|
nn,
|
|
3979
3979
|
{
|
|
3980
3980
|
variant: "filled",
|
|
@@ -3982,7 +3982,7 @@ const D_ = () => {
|
|
|
3982
3982
|
className: "py-[26px]",
|
|
3983
3983
|
onClick: y.nextPage,
|
|
3984
3984
|
disabled: g === t,
|
|
3985
|
-
children: /* @__PURE__ */
|
|
3985
|
+
children: /* @__PURE__ */ we.jsx(wi, { icon: "lucide:chevron-right" })
|
|
3986
3986
|
}
|
|
3987
3987
|
)
|
|
3988
3988
|
] })
|
|
@@ -19732,7 +19732,7 @@ class zS {
|
|
|
19732
19732
|
}
|
|
19733
19733
|
}
|
|
19734
19734
|
function _u({ children: i, type: e }) {
|
|
19735
|
-
return
|
|
19735
|
+
return we.jsx("div", { className: `react-pdf__message react-pdf__message--${e}`, children: i });
|
|
19736
19736
|
}
|
|
19737
19737
|
const Sy = {
|
|
19738
19738
|
NEED_PASSWORD: 1,
|
|
@@ -19989,12 +19989,12 @@ const KS = BE(function({ children: e, className: t, error: r = "Failed to load P
|
|
|
19989
19989
|
if (!Te(ce))
|
|
19990
19990
|
throw new Error("pdf is undefined");
|
|
19991
19991
|
const x = typeof e == "function" ? e(ce) : e;
|
|
19992
|
-
return
|
|
19992
|
+
return we.jsx(Ex.Provider, { value: ce, children: x });
|
|
19993
19993
|
}
|
|
19994
19994
|
function Ie() {
|
|
19995
|
-
return a ? S == null ?
|
|
19995
|
+
return a ? S == null ? we.jsx(_u, { type: "loading", children: typeof c == "function" ? c() : c }) : S === !1 ? we.jsx(_u, { type: "error", children: typeof r == "function" ? r() : r }) : Se() : we.jsx(_u, { type: "no-data", children: typeof h == "function" ? h() : h });
|
|
19996
19996
|
}
|
|
19997
|
-
return
|
|
19997
|
+
return we.jsx("div", {
|
|
19998
19998
|
className: Bg("react-pdf__Document", t),
|
|
19999
19999
|
// Assertion is needed for React 18 compatibility
|
|
20000
20000
|
ref: o,
|
|
@@ -20104,7 +20104,7 @@ function QS() {
|
|
|
20104
20104
|
}
|
|
20105
20105
|
return () => {
|
|
20106
20106
|
};
|
|
20107
|
-
}, [w, r, n, c, h, d, k]),
|
|
20107
|
+
}, [w, r, n, c, h, d, k]), we.jsx("div", { className: Bg("react-pdf__Page__annotations", "annotationLayer"), ref: A });
|
|
20108
20108
|
}
|
|
20109
20109
|
const Dx = {
|
|
20110
20110
|
// Document level structure types
|
|
@@ -20211,9 +20211,9 @@ function rT(i) {
|
|
|
20211
20211
|
function Ix({ className: i, node: e }) {
|
|
20212
20212
|
const t = Yi(() => rT(e), [e]), r = Yi(() => !Ug(e) || Px(e) ? null : e.children.map((n, s) => (
|
|
20213
20213
|
// biome-ignore lint/suspicious/noArrayIndexKey: index is stable here
|
|
20214
|
-
|
|
20214
|
+
we.jsx(Ix, { node: n }, s)
|
|
20215
20215
|
)), [e]);
|
|
20216
|
-
return
|
|
20216
|
+
return we.jsx("span", { className: i, ...t, children: r });
|
|
20217
20217
|
}
|
|
20218
20218
|
function nT() {
|
|
20219
20219
|
const i = jg();
|
|
@@ -20244,7 +20244,7 @@ function nT() {
|
|
|
20244
20244
|
}
|
|
20245
20245
|
c();
|
|
20246
20246
|
}
|
|
20247
|
-
}, [s]), s ?
|
|
20247
|
+
}, [s]), s ? we.jsx(Ix, { className: "react-pdf__Page__structTree structTree", node: s }) : null;
|
|
20248
20248
|
}
|
|
20249
20249
|
const Py = As;
|
|
20250
20250
|
function iT(i) {
|
|
@@ -20283,10 +20283,10 @@ function iT(i) {
|
|
|
20283
20283
|
const { current: _ } = y;
|
|
20284
20284
|
_ && (_.width = 0, _.height = 0);
|
|
20285
20285
|
}, []);
|
|
20286
|
-
return Kt(() => E, [E]),
|
|
20286
|
+
return Kt(() => E, [E]), we.jsx("canvas", { className: `${r}__canvas`, dir: "ltr", ref: Tx(g, y), style: {
|
|
20287
20287
|
display: "block",
|
|
20288
20288
|
userSelect: "none"
|
|
20289
|
-
}, children: h ?
|
|
20289
|
+
}, children: h ? we.jsx(nT, {}) : null });
|
|
20290
20290
|
}
|
|
20291
20291
|
function sT(i) {
|
|
20292
20292
|
return "str" in i;
|
|
@@ -20383,7 +20383,7 @@ function aT() {
|
|
|
20383
20383
|
g,
|
|
20384
20384
|
I
|
|
20385
20385
|
]), // biome-ignore lint/a11y/noStaticElementInteractions: False positive caused by non interactive wrapper listening for bubbling events
|
|
20386
|
-
|
|
20386
|
+
we.jsx("div", { className: Bg("react-pdf__Page__textContent", "textLayer"), onMouseUp: C, onMouseDown: _, ref: b });
|
|
20387
20387
|
}
|
|
20388
20388
|
const Ry = 1;
|
|
20389
20389
|
function oT(i) {
|
|
@@ -20495,23 +20495,23 @@ function oT(i) {
|
|
|
20495
20495
|
() => xx(le, () => Ae && (B ? Ab(Ae, B) : void 0)),
|
|
20496
20496
|
// biome-ignore lint/correctness/useExhaustiveDependencies: FIXME
|
|
20497
20497
|
[le, Ae, B]
|
|
20498
|
-
),
|
|
20498
|
+
), ye = `${Te}@${B}/${U}`;
|
|
20499
20499
|
function ee() {
|
|
20500
20500
|
switch (te) {
|
|
20501
20501
|
case "custom":
|
|
20502
|
-
return Zt(c, 'renderMode was set to "custom", but no customRenderer was passed.'),
|
|
20502
|
+
return Zt(c, 'renderMode was set to "custom", but no customRenderer was passed.'), we.jsx(c, {}, `${ye}_custom`);
|
|
20503
20503
|
case "none":
|
|
20504
20504
|
return null;
|
|
20505
20505
|
case "canvas":
|
|
20506
20506
|
default:
|
|
20507
|
-
return
|
|
20507
|
+
return we.jsx(iT, { canvasRef: a }, `${ye}_canvas`);
|
|
20508
20508
|
}
|
|
20509
20509
|
}
|
|
20510
20510
|
function Ee() {
|
|
20511
|
-
return j ?
|
|
20511
|
+
return j ? we.jsx(aT, {}, `${ye}_text`) : null;
|
|
20512
20512
|
}
|
|
20513
20513
|
function De() {
|
|
20514
|
-
return K ?
|
|
20514
|
+
return K ? we.jsx(QS, {}, `${ye}_annotations`) : null;
|
|
20515
20515
|
}
|
|
20516
20516
|
function Ce() {
|
|
20517
20517
|
function He(St) {
|
|
@@ -20520,12 +20520,12 @@ function oT(i) {
|
|
|
20520
20520
|
if (!He(q))
|
|
20521
20521
|
throw new Error("page is undefined");
|
|
20522
20522
|
const We = typeof o == "function" ? o(q) : o;
|
|
20523
|
-
return
|
|
20523
|
+
return we.jsxs(kx.Provider, { value: q, children: [ee(), Ee(), De(), We] });
|
|
20524
20524
|
}
|
|
20525
20525
|
function Ne() {
|
|
20526
|
-
return x ? W === null || Ae === void 0 || Ae === null ?
|
|
20526
|
+
return x ? W === null || Ae === void 0 || Ae === null ? we.jsx(_u, { type: "loading", children: typeof b == "function" ? b() : b }) : W === !1 || Ae === !1 ? we.jsx(_u, { type: "error", children: typeof p == "function" ? p() : p }) : Ce() : we.jsx(_u, { type: "no-data", children: typeof w == "function" ? w() : w });
|
|
20527
20527
|
}
|
|
20528
|
-
return
|
|
20528
|
+
return we.jsx("div", {
|
|
20529
20529
|
className: Bg(r, l),
|
|
20530
20530
|
"data-page-number": x,
|
|
20531
20531
|
// Assertion is needed for React 18 compatibility
|
|
@@ -20556,21 +20556,18 @@ const D5 = ({
|
|
|
20556
20556
|
onOpen: n
|
|
20557
20557
|
}) => {
|
|
20558
20558
|
const [s, a] = i1(), [o, l] = s1(), [{ currentPage: c, totalPages: h }, d] = o1(), [{ pan: p, isDragging: g }, y] = a1(), b = (v) => {
|
|
20559
|
-
n == null || n(v), !v.defaultPrevented
|
|
20560
|
-
|
|
20561
|
-
|
|
20562
|
-
|
|
20563
|
-
|
|
20564
|
-
|
|
20565
|
-
rel: "noopener noreferrer",
|
|
20566
|
-
onClick: b,
|
|
20567
|
-
children: /* @__PURE__ */ ye.jsx(n1, { className: "size-4" })
|
|
20559
|
+
if (n == null || n(v), !v.defaultPrevented) {
|
|
20560
|
+
if (!e) {
|
|
20561
|
+
v.preventDefault();
|
|
20562
|
+
return;
|
|
20563
|
+
}
|
|
20564
|
+
window.open(e, "_blank", "noopener,noreferrer");
|
|
20568
20565
|
}
|
|
20569
|
-
) });
|
|
20570
|
-
return /* @__PURE__ */
|
|
20571
|
-
/* @__PURE__ */
|
|
20572
|
-
/* @__PURE__ */
|
|
20573
|
-
/* @__PURE__ */
|
|
20566
|
+
}, w = /* @__PURE__ */ we.jsx(nn, { variant: "text", color: "gray", onClick: b, children: /* @__PURE__ */ we.jsx(n1, { className: "size-4" }) });
|
|
20567
|
+
return /* @__PURE__ */ we.jsxs("div", { className: $l("shadow rounded-t-lg flex flex-col h-full", r), children: [
|
|
20568
|
+
/* @__PURE__ */ we.jsx(r1.Header, { onClose: i, right: w, children: t }),
|
|
20569
|
+
/* @__PURE__ */ we.jsxs("div", { className: "grid grow h-full overflow-hidden", children: [
|
|
20570
|
+
/* @__PURE__ */ we.jsx(
|
|
20574
20571
|
"div",
|
|
20575
20572
|
{
|
|
20576
20573
|
className: $l(
|
|
@@ -20584,7 +20581,7 @@ const D5 = ({
|
|
|
20584
20581
|
style: {
|
|
20585
20582
|
userSelect: "none"
|
|
20586
20583
|
},
|
|
20587
|
-
children: /* @__PURE__ */
|
|
20584
|
+
children: /* @__PURE__ */ we.jsx(
|
|
20588
20585
|
"div",
|
|
20589
20586
|
{
|
|
20590
20587
|
style: {
|
|
@@ -20592,7 +20589,7 @@ const D5 = ({
|
|
|
20592
20589
|
transition: g ? "none" : "transform 0.1s",
|
|
20593
20590
|
pointerEvents: "none"
|
|
20594
20591
|
},
|
|
20595
|
-
children: /* @__PURE__ */
|
|
20592
|
+
children: /* @__PURE__ */ we.jsx(
|
|
20596
20593
|
KS,
|
|
20597
20594
|
{
|
|
20598
20595
|
file: e,
|
|
@@ -20601,7 +20598,7 @@ const D5 = ({
|
|
|
20601
20598
|
},
|
|
20602
20599
|
scale: s / 100,
|
|
20603
20600
|
rotate: o,
|
|
20604
|
-
children: /* @__PURE__ */
|
|
20601
|
+
children: /* @__PURE__ */ we.jsx(
|
|
20605
20602
|
oT,
|
|
20606
20603
|
{
|
|
20607
20604
|
pageNumber: c,
|
|
@@ -20615,19 +20612,19 @@ const D5 = ({
|
|
|
20615
20612
|
)
|
|
20616
20613
|
}
|
|
20617
20614
|
),
|
|
20618
|
-
/* @__PURE__ */
|
|
20619
|
-
/* @__PURE__ */
|
|
20620
|
-
/* @__PURE__ */
|
|
20615
|
+
/* @__PURE__ */ we.jsxs("div", { className: "col-start-1 row-start-1 self-end p-4 flex gap-2 justify-between w-full z-10", children: [
|
|
20616
|
+
/* @__PURE__ */ we.jsxs(xu, { className: "divide-x-0 h-[52px]", children: [
|
|
20617
|
+
/* @__PURE__ */ we.jsx(
|
|
20621
20618
|
nn,
|
|
20622
20619
|
{
|
|
20623
20620
|
variant: "filled",
|
|
20624
20621
|
color: "white",
|
|
20625
20622
|
className: "py-[26px]",
|
|
20626
20623
|
onClick: a.zoomOut,
|
|
20627
|
-
children: /* @__PURE__ */
|
|
20624
|
+
children: /* @__PURE__ */ we.jsx(wi, { icon: "lucide:minus" })
|
|
20628
20625
|
}
|
|
20629
20626
|
),
|
|
20630
|
-
/* @__PURE__ */
|
|
20627
|
+
/* @__PURE__ */ we.jsx(Lb, { content: "Click to reset zoom and pan", children: /* @__PURE__ */ we.jsxs(
|
|
20631
20628
|
"button",
|
|
20632
20629
|
{
|
|
20633
20630
|
className: "!bg-white text-center cursor-pointer w-[60px]",
|
|
@@ -20640,41 +20637,41 @@ const D5 = ({
|
|
|
20640
20637
|
]
|
|
20641
20638
|
}
|
|
20642
20639
|
) }),
|
|
20643
|
-
/* @__PURE__ */
|
|
20640
|
+
/* @__PURE__ */ we.jsx(
|
|
20644
20641
|
nn,
|
|
20645
20642
|
{
|
|
20646
20643
|
variant: "filled",
|
|
20647
20644
|
color: "white",
|
|
20648
20645
|
className: "py-[26px]",
|
|
20649
20646
|
onClick: a.zoomIn,
|
|
20650
|
-
children: /* @__PURE__ */
|
|
20647
|
+
children: /* @__PURE__ */ we.jsx(wi, { icon: "lucide:plus" })
|
|
20651
20648
|
}
|
|
20652
20649
|
)
|
|
20653
20650
|
] }),
|
|
20654
|
-
/* @__PURE__ */
|
|
20655
|
-
/* @__PURE__ */
|
|
20651
|
+
/* @__PURE__ */ we.jsxs(xu, { className: "divide-x-0 h-[52px]", children: [
|
|
20652
|
+
/* @__PURE__ */ we.jsx(
|
|
20656
20653
|
nn,
|
|
20657
20654
|
{
|
|
20658
20655
|
variant: "filled",
|
|
20659
20656
|
color: "white",
|
|
20660
20657
|
className: "py-[26px]",
|
|
20661
20658
|
onClick: l.rotateClockwise,
|
|
20662
|
-
children: /* @__PURE__ */
|
|
20659
|
+
children: /* @__PURE__ */ we.jsx(wi, { icon: "lucide:iteration-cw" })
|
|
20663
20660
|
}
|
|
20664
20661
|
),
|
|
20665
|
-
/* @__PURE__ */
|
|
20662
|
+
/* @__PURE__ */ we.jsx(
|
|
20666
20663
|
nn,
|
|
20667
20664
|
{
|
|
20668
20665
|
variant: "filled",
|
|
20669
20666
|
color: "white",
|
|
20670
20667
|
className: "py-[26px]",
|
|
20671
20668
|
onClick: l.rotateCounterClockwise,
|
|
20672
|
-
children: /* @__PURE__ */
|
|
20669
|
+
children: /* @__PURE__ */ we.jsx(wi, { icon: "lucide:iteration-ccw" })
|
|
20673
20670
|
}
|
|
20674
20671
|
)
|
|
20675
20672
|
] }),
|
|
20676
|
-
/* @__PURE__ */
|
|
20677
|
-
/* @__PURE__ */
|
|
20673
|
+
/* @__PURE__ */ we.jsxs(xu, { className: "divide-x-0 ", children: [
|
|
20674
|
+
/* @__PURE__ */ we.jsx(
|
|
20678
20675
|
nn,
|
|
20679
20676
|
{
|
|
20680
20677
|
variant: "filled",
|
|
@@ -20682,10 +20679,10 @@ const D5 = ({
|
|
|
20682
20679
|
className: "py-[26px]",
|
|
20683
20680
|
onClick: d.prevPage,
|
|
20684
20681
|
disabled: c === 1,
|
|
20685
|
-
children: /* @__PURE__ */
|
|
20682
|
+
children: /* @__PURE__ */ we.jsx(wi, { icon: "lucide:chevron-left" })
|
|
20686
20683
|
}
|
|
20687
20684
|
),
|
|
20688
|
-
/* @__PURE__ */
|
|
20685
|
+
/* @__PURE__ */ we.jsx(
|
|
20689
20686
|
"input",
|
|
20690
20687
|
{
|
|
20691
20688
|
className: "bg-white pl-4 flex items-center w-[50px] text-center focus:outline-none w-[60px]",
|
|
@@ -20699,11 +20696,11 @@ const D5 = ({
|
|
|
20699
20696
|
max: h
|
|
20700
20697
|
}
|
|
20701
20698
|
),
|
|
20702
|
-
/* @__PURE__ */
|
|
20699
|
+
/* @__PURE__ */ we.jsxs("div", { className: "flex items-center bg-white px-2", children: [
|
|
20703
20700
|
"of ",
|
|
20704
20701
|
h
|
|
20705
20702
|
] }),
|
|
20706
|
-
/* @__PURE__ */
|
|
20703
|
+
/* @__PURE__ */ we.jsx(
|
|
20707
20704
|
nn,
|
|
20708
20705
|
{
|
|
20709
20706
|
variant: "filled",
|
|
@@ -20711,14 +20708,14 @@ const D5 = ({
|
|
|
20711
20708
|
className: "py-[26px]",
|
|
20712
20709
|
onClick: d.nextPage,
|
|
20713
20710
|
disabled: c === h,
|
|
20714
|
-
children: /* @__PURE__ */
|
|
20711
|
+
children: /* @__PURE__ */ we.jsx(wi, { icon: "lucide:chevron-right" })
|
|
20715
20712
|
}
|
|
20716
20713
|
)
|
|
20717
20714
|
] })
|
|
20718
20715
|
] })
|
|
20719
20716
|
] })
|
|
20720
20717
|
] });
|
|
20721
|
-
}, lT = ({ ...i }) => /* @__PURE__ */
|
|
20718
|
+
}, lT = ({ ...i }) => /* @__PURE__ */ we.jsxs(
|
|
20722
20719
|
"svg",
|
|
20723
20720
|
{
|
|
20724
20721
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -20728,7 +20725,7 @@ const D5 = ({
|
|
|
20728
20725
|
fill: "none",
|
|
20729
20726
|
...i,
|
|
20730
20727
|
children: [
|
|
20731
|
-
/* @__PURE__ */
|
|
20728
|
+
/* @__PURE__ */ we.jsx(
|
|
20732
20729
|
"path",
|
|
20733
20730
|
{
|
|
20734
20731
|
"fill-rule": "evenodd",
|
|
@@ -20737,14 +20734,14 @@ const D5 = ({
|
|
|
20737
20734
|
fill: "currentColor"
|
|
20738
20735
|
}
|
|
20739
20736
|
),
|
|
20740
|
-
/* @__PURE__ */
|
|
20737
|
+
/* @__PURE__ */ we.jsx(
|
|
20741
20738
|
"path",
|
|
20742
20739
|
{
|
|
20743
20740
|
d: "M11.8662 9.66699C12.2804 9.66699 12.6162 10.0028 12.6162 10.417V15.25C12.616 15.6641 12.2803 16 11.8662 16C11.4523 15.9998 11.1164 15.6639 11.1162 15.25V10.417C11.1162 10.0029 11.4522 9.66722 11.8662 9.66699Z",
|
|
20744
20741
|
fill: "currentColor"
|
|
20745
20742
|
}
|
|
20746
20743
|
),
|
|
20747
|
-
/* @__PURE__ */
|
|
20744
|
+
/* @__PURE__ */ we.jsx(
|
|
20748
20745
|
"path",
|
|
20749
20746
|
{
|
|
20750
20747
|
"fill-rule": "evenodd",
|
|
@@ -20753,7 +20750,7 @@ const D5 = ({
|
|
|
20753
20750
|
fill: "currentColor"
|
|
20754
20751
|
}
|
|
20755
20752
|
),
|
|
20756
|
-
/* @__PURE__ */
|
|
20753
|
+
/* @__PURE__ */ we.jsx(
|
|
20757
20754
|
"path",
|
|
20758
20755
|
{
|
|
20759
20756
|
d: "M3.16699 0C3.58107 0.000164881 3.91699 0.335888 3.91699 0.75V5.58301C3.91699 5.99712 3.58107 6.33284 3.16699 6.33301C2.75278 6.33301 2.41699 5.99722 2.41699 5.58301V0.75C2.41699 0.335786 2.75278 0 3.16699 0Z",
|
|
@@ -20762,15 +20759,15 @@ const D5 = ({
|
|
|
20762
20759
|
)
|
|
20763
20760
|
]
|
|
20764
20761
|
}
|
|
20765
|
-
), P5 = () => /* @__PURE__ */
|
|
20766
|
-
/* @__PURE__ */
|
|
20767
|
-
/* @__PURE__ */
|
|
20768
|
-
/* @__PURE__ */
|
|
20769
|
-
/* @__PURE__ */
|
|
20762
|
+
), P5 = () => /* @__PURE__ */ we.jsxs(UE, { className: "w-[800px]", children: [
|
|
20763
|
+
/* @__PURE__ */ we.jsxs(HE, { children: [
|
|
20764
|
+
/* @__PURE__ */ we.jsx(Zv, { value: "chats", children: "Chats" }),
|
|
20765
|
+
/* @__PURE__ */ we.jsx(Zv, { value: "issues", children: "Issues" }),
|
|
20766
|
+
/* @__PURE__ */ we.jsx("button", { className: "cursor-pointer mb-2 ml-auto rounded p-1 hover:bg-gray-100", children: /* @__PURE__ */ we.jsx(lT, { className: "size-4" }) })
|
|
20770
20767
|
] }),
|
|
20771
|
-
/* @__PURE__ */
|
|
20772
|
-
/* @__PURE__ */
|
|
20773
|
-
/* @__PURE__ */
|
|
20768
|
+
/* @__PURE__ */ we.jsxs($E, { children: [
|
|
20769
|
+
/* @__PURE__ */ we.jsx(Kv, { value: "chats", children: "ChatsPanel" }),
|
|
20770
|
+
/* @__PURE__ */ we.jsx(Kv, { value: "issues", children: "IssuesPanel" })
|
|
20774
20771
|
] })
|
|
20775
20772
|
] });
|
|
20776
20773
|
var Nx = { exports: {} }, It = {}, br = {};
|
|
@@ -27076,7 +27073,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
27076
27073
|
return 0;
|
|
27077
27074
|
var q = C(j.slice(F, M), function(De) {
|
|
27078
27075
|
return I(x, De) ? "start" : k(x, De) ? "end" : null;
|
|
27079
|
-
}), de = z(q),
|
|
27076
|
+
}), de = z(q), ye = R(q), ee = de.filter(D), Ee = ye.filter(D);
|
|
27080
27077
|
if (ee.length !== 1 || Ee.length !== 1)
|
|
27081
27078
|
return 0;
|
|
27082
27079
|
}
|
|
@@ -27155,12 +27152,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
27155
27152
|
leftPart: j[Se],
|
|
27156
27153
|
rightPart: j[Ie]
|
|
27157
27154
|
});
|
|
27158
|
-
} catch (
|
|
27159
|
-
ae.push(
|
|
27155
|
+
} catch (ye) {
|
|
27156
|
+
ae.push(ye);
|
|
27160
27157
|
}
|
|
27161
27158
|
}
|
|
27162
|
-
H.sort(function(
|
|
27163
|
-
return
|
|
27159
|
+
H.sort(function(ye, ee) {
|
|
27160
|
+
return ye.left === ee.left ? ee.part.lIndex < ye.part.lIndex ? 1 : -1 : ee.left < ye.left ? 1 : -1;
|
|
27164
27161
|
});
|
|
27165
27162
|
for (var Te = -1, x = 0, U = 0, B = H.length; U < B; U++) {
|
|
27166
27163
|
var F, M = H[U];
|
|
@@ -27168,21 +27165,21 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
27168
27165
|
var q = void 0;
|
|
27169
27166
|
try {
|
|
27170
27167
|
q = be([M.left + x, M.right + x], M.part, j, ie);
|
|
27171
|
-
} catch (
|
|
27168
|
+
} catch (ye) {
|
|
27172
27169
|
if (ie.onError) {
|
|
27173
27170
|
var de = ie.onError(p({
|
|
27174
27171
|
part: M.part,
|
|
27175
|
-
rootError:
|
|
27172
|
+
rootError: ye,
|
|
27176
27173
|
postparsed: j,
|
|
27177
27174
|
expandOne: be
|
|
27178
27175
|
}, ie.errors));
|
|
27179
27176
|
if (de === "ignore")
|
|
27180
27177
|
continue;
|
|
27181
27178
|
}
|
|
27182
|
-
if (
|
|
27183
|
-
ae.push(
|
|
27179
|
+
if (ye instanceof O)
|
|
27180
|
+
ae.push(ye);
|
|
27184
27181
|
else
|
|
27185
|
-
throw
|
|
27182
|
+
throw ye;
|
|
27186
27183
|
}
|
|
27187
27184
|
q && (x += q.inner.length - (q.right + 1 - q.left), (F = j).splice.apply(F, [q.left, q.right + 1 - q.left].concat(e(q.inner))));
|
|
27188
27185
|
}
|
|
@@ -27595,10 +27592,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
27595
27592
|
for (var U = []; oe < ce && (oe = H.indexOf("<", oe), oe !== -1); ) {
|
|
27596
27593
|
var B = oe, F = H.indexOf("<", oe + 1);
|
|
27597
27594
|
oe = H.indexOf(">", oe), (oe === -1 || F !== -1 && oe > F) && A(H, B);
|
|
27598
|
-
var M = H.slice(B, oe + 1), q = J(M), de = q.tag,
|
|
27595
|
+
var M = H.slice(B, oe + 1), q = J(M), de = q.tag, ye = q.position, ee = Ae[de];
|
|
27599
27596
|
ee != null && U.push({
|
|
27600
27597
|
type: "tag",
|
|
27601
|
-
position:
|
|
27598
|
+
position: ye,
|
|
27602
27599
|
text: ee,
|
|
27603
27600
|
offset: B,
|
|
27604
27601
|
value: M,
|
|
@@ -27705,7 +27702,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
27705
27702
|
length: Ae.length,
|
|
27706
27703
|
changedelimiter: !0
|
|
27707
27704
|
});
|
|
27708
|
-
var de = H.substr(Se + ce.length + 1, M - Se - ce.length - 1),
|
|
27705
|
+
var de = H.substr(Se + ce.length + 1, M - Se - ce.length - 1), ye = K(de), ee = e(ye, 2);
|
|
27709
27706
|
ce = ee[0], Ae = ee[1], Se = q;
|
|
27710
27707
|
continue;
|
|
27711
27708
|
}
|
|
@@ -27725,7 +27722,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
27725
27722
|
lIndex: M.lIndex
|
|
27726
27723
|
};
|
|
27727
27724
|
}), Ie = W(ce, oe, le), Te = Ie.delimiterWithErrors, x = Ie.errors, U = 0, B = 0, F = Se.map(function(M, q) {
|
|
27728
|
-
for (var de = M.offset,
|
|
27725
|
+
for (var de = M.offset, ye = [de, de + H[q].value.length], ee = H[q].value, Ee = []; B < Te.length && X(ye, Te[B]); )
|
|
27729
27726
|
Ee.push(Te[B]), B++;
|
|
27730
27727
|
var De = [], Ce = 0;
|
|
27731
27728
|
U > 0 && (Ce = U, U = 0);
|
|
@@ -28728,9 +28725,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
28728
28725
|
function l(x, U) {
|
|
28729
28726
|
var B = x == null ? null : typeof Symbol < "u" && x[Symbol.iterator] || x["@@iterator"];
|
|
28730
28727
|
if (B != null) {
|
|
28731
|
-
var F, M, q, de,
|
|
28728
|
+
var F, M, q, de, ye = [], ee = !0, Ee = !1;
|
|
28732
28729
|
try {
|
|
28733
|
-
if (q = (B = B.call(x)).next, U !== 0) for (; !(ee = (F = q.call(B)).done) && (
|
|
28730
|
+
if (q = (B = B.call(x)).next, U !== 0) for (; !(ee = (F = q.call(B)).done) && (ye.push(F.value), ye.length !== U); ee = !0) ;
|
|
28734
28731
|
} catch (De) {
|
|
28735
28732
|
Ee = !0, M = De;
|
|
28736
28733
|
} finally {
|
|
@@ -28740,7 +28737,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
28740
28737
|
if (Ee) throw M;
|
|
28741
28738
|
}
|
|
28742
28739
|
}
|
|
28743
|
-
return
|
|
28740
|
+
return ye;
|
|
28744
28741
|
}
|
|
28745
28742
|
}
|
|
28746
28743
|
function c(x) {
|
|
@@ -28919,9 +28916,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
28919
28916
|
value: function(B, F) {
|
|
28920
28917
|
if (B === "expandPair") {
|
|
28921
28918
|
for (var M = [], q = 0, de = F.length; q < de; q++) {
|
|
28922
|
-
var
|
|
28923
|
-
E(
|
|
28924
|
-
part:
|
|
28919
|
+
var ye = F[q];
|
|
28920
|
+
E(ye, S) && ye.subparsed == null && M.push({
|
|
28921
|
+
part: ye,
|
|
28925
28922
|
offset: q
|
|
28926
28923
|
});
|
|
28927
28924
|
}
|
|
@@ -28947,9 +28944,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
28947
28944
|
if (!M || M.expandTo !== "auto" || M.module !== S || !K(B))
|
|
28948
28945
|
return B;
|
|
28949
28946
|
M.paragraphLoop = !0;
|
|
28950
|
-
var de = 0,
|
|
28947
|
+
var de = 0, ye = w(B, function(Ne) {
|
|
28951
28948
|
return A(Ne) && (de++, de === 1) ? "start" : C(Ne) && (de--, de === 0) ? "end" : null;
|
|
28952
|
-
}), ee =
|
|
28949
|
+
}), ee = ye[0], Ee = v(ye), De = be(ee), Ce = be(Ee);
|
|
28953
28950
|
return M.hasPageBreakBeginning = oe(ee), M.hasPageBreak = oe(Ee), ce(ee) && (De = 0), ce(Ee) && (Ce = 0), B.slice(De, B.length - Ce);
|
|
28954
28951
|
}
|
|
28955
28952
|
}, {
|
|
@@ -28960,7 +28957,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
28960
28957
|
var M = F.scopeManager, q = M.getValueAsync(B.value, {
|
|
28961
28958
|
part: B
|
|
28962
28959
|
}), de = [];
|
|
28963
|
-
function
|
|
28960
|
+
function ye(Ee, De, Ce) {
|
|
28964
28961
|
var Ne = M.createSubScopeManager(Ee, B.value, De, B, Ce);
|
|
28965
28962
|
de.push(F.resolve(t(t({}, F), {}, {
|
|
28966
28963
|
compiled: B.subparsed,
|
|
@@ -28977,7 +28974,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
28977
28974
|
});
|
|
28978
28975
|
Ee instanceof Array ? Promise.all(Ee).then(De) : De(Ee);
|
|
28979
28976
|
}).then(function(De) {
|
|
28980
|
-
return M.loopOverValue(De,
|
|
28977
|
+
return M.loopOverValue(De, ye, B.inverted), Promise.all(de).then(function(Ce) {
|
|
28981
28978
|
return Ce.map(function(Ne) {
|
|
28982
28979
|
var He = Ne.resolved, We = Ne.errors;
|
|
28983
28980
|
return _(ee, We), He;
|
|
@@ -28997,7 +28994,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
28997
28994
|
return this.lastExt = B, B;
|
|
28998
28995
|
if (!E(B, S))
|
|
28999
28996
|
return null;
|
|
29000
|
-
var M = [], q = [], de = 0,
|
|
28997
|
+
var M = [], q = [], de = 0, ye = this, ee = B.subparsed[0], Ee = 0;
|
|
29001
28998
|
(ee == null ? void 0 : ee.tag) === "a:tr" && (Ee = +z(ee.value, "h")), de -= Ee;
|
|
29002
28999
|
var De = 0, Ce = W(B);
|
|
29003
29000
|
function Ne(rr, yr, tr) {
|
|
@@ -29018,7 +29015,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
29018
29015
|
var it = ge.scopePathItem.some(function(gt) {
|
|
29019
29016
|
return gt !== 0;
|
|
29020
29017
|
});
|
|
29021
|
-
it ? (B.sectPrCount === 1 && (je.parts = le(je.parts)), B.addContinuousType && (je.parts = se(je.parts))) : B.addNextPage && (je.parts = H(je.parts,
|
|
29018
|
+
it ? (B.sectPrCount === 1 && (je.parts = le(je.parts)), B.addContinuousType && (je.parts = se(je.parts))) : B.addNextPage && (je.parts = H(je.parts, ye.sects[B.addNextPage.index])), B.addNextPage && te(je), B.hasPageBreakBeginning && Ce && j(je);
|
|
29022
29019
|
for (var Xe = 0, ut = je.parts; Xe < ut.length; Xe++) {
|
|
29023
29020
|
var ft = ut[Xe];
|
|
29024
29021
|
M.push(ft);
|
|
@@ -29837,7 +29834,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
29837
29834
|
stripInvalidXMLChars: _.boolean().optional()
|
|
29838
29835
|
}).strict(), k = PP(), D = k.getRelsTypes, R = RP(), z = R.collectContentTypes, G = R.getContentTypes, O = ru(), X = dv(), S = IP(), J = NP(), Y = DA(), W = MP(), fe = W.getTags, K = LP(), be = Ki, te = be.throwMultiError, j = be.throwResolveBeforeCompile, ie = be.throwRenderInvalidTemplate, ae = be.throwRenderTwice, H = be.XTInternalError, se = be.XTTemplateError, le = be.throwFileTypeNotIdentified, oe = be.throwFileTypeNotHandled, ce = be.throwApiVersionError;
|
|
29839
29836
|
E.getRelsTypes = D, E.traits = X, E.moduleWrapper = O, E.collectContentTypes = z, E.getContentTypes = G;
|
|
29840
|
-
var Ae = E.getDefaults, Se = E.str2xml, Ie = E.xml2str, Te = E.concatArrays, x = E.uniq, U = E.getDuplicates, B = E.stableSort, F = E.pushArray, M = E.utf8ToWord, q = E.invertMap, de = "[Content_Types].xml",
|
|
29837
|
+
var Ae = E.getDefaults, Se = E.str2xml, Ie = E.xml2str, Te = E.concatArrays, x = E.uniq, U = E.getDuplicates, B = E.stableSort, F = E.pushArray, M = E.utf8ToWord, q = E.invertMap, de = "[Content_Types].xml", ye = "_rels/.rels", ee = [3, 47, 2];
|
|
29841
29838
|
function Ee(ge) {
|
|
29842
29839
|
var ve = U(ge.map(function(he) {
|
|
29843
29840
|
var me = he.name;
|
|
@@ -29863,7 +29860,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
29863
29860
|
var ve = [];
|
|
29864
29861
|
for (var he in ge)
|
|
29865
29862
|
ve.push(he);
|
|
29866
|
-
for (var me = [de,
|
|
29863
|
+
for (var me = [de, ye], Oe = ["word/", "xl/", "ppt/"], je = 0; je < ve.length; je++)
|
|
29867
29864
|
for (var it = ve[je], Xe = 0; Xe < Oe.length; Xe++) {
|
|
29868
29865
|
var ut = Oe[Xe];
|
|
29869
29866
|
it.indexOf("".concat(ut)) === 0 && me.push(it);
|
|
@@ -30519,7 +30516,7 @@ var Ti = {}, Gf = {}, qc = {}, Tb = { exports: {} };
|
|
|
30519
30516
|
f ^= -1;
|
|
30520
30517
|
for (var _e = $; _e < Z; _e++) f = f >>> 8 ^ V[255 & (f ^ P[_e])];
|
|
30521
30518
|
return -1 ^ f;
|
|
30522
|
-
}, oe = { 2: "need dictionary", 1: "stream end", 0: "", "-1": "file error", "-2": "stream error", "-3": "data error", "-4": "insufficient memory", "-5": "buffer error", "-6": "incompatible version" }, ce = { Z_NO_FLUSH: 0, Z_PARTIAL_FLUSH: 1, Z_SYNC_FLUSH: 2, Z_FULL_FLUSH: 3, Z_FINISH: 4, Z_BLOCK: 5, Z_TREES: 6, Z_OK: 0, Z_STREAM_END: 1, Z_NEED_DICT: 2, Z_ERRNO: -1, Z_STREAM_ERROR: -2, Z_DATA_ERROR: -3, Z_MEM_ERROR: -4, Z_BUF_ERROR: -5, Z_NO_COMPRESSION: 0, Z_BEST_SPEED: 1, Z_BEST_COMPRESSION: 9, Z_DEFAULT_COMPRESSION: -1, Z_FILTERED: 1, Z_HUFFMAN_ONLY: 2, Z_RLE: 3, Z_FIXED: 4, Z_DEFAULT_STRATEGY: 0, Z_BINARY: 0, Z_TEXT: 1, Z_UNKNOWN: 2, Z_DEFLATED: 8 }, Ae = ae._tr_init, Se = ae._tr_stored_block, Ie = ae._tr_flush_block, Te = ae._tr_tally, x = ae._tr_align, U = ce.Z_NO_FLUSH, B = ce.Z_PARTIAL_FLUSH, F = ce.Z_FULL_FLUSH, M = ce.Z_FINISH, q = ce.Z_BLOCK, de = ce.Z_OK,
|
|
30519
|
+
}, oe = { 2: "need dictionary", 1: "stream end", 0: "", "-1": "file error", "-2": "stream error", "-3": "data error", "-4": "insufficient memory", "-5": "buffer error", "-6": "incompatible version" }, ce = { Z_NO_FLUSH: 0, Z_PARTIAL_FLUSH: 1, Z_SYNC_FLUSH: 2, Z_FULL_FLUSH: 3, Z_FINISH: 4, Z_BLOCK: 5, Z_TREES: 6, Z_OK: 0, Z_STREAM_END: 1, Z_NEED_DICT: 2, Z_ERRNO: -1, Z_STREAM_ERROR: -2, Z_DATA_ERROR: -3, Z_MEM_ERROR: -4, Z_BUF_ERROR: -5, Z_NO_COMPRESSION: 0, Z_BEST_SPEED: 1, Z_BEST_COMPRESSION: 9, Z_DEFAULT_COMPRESSION: -1, Z_FILTERED: 1, Z_HUFFMAN_ONLY: 2, Z_RLE: 3, Z_FIXED: 4, Z_DEFAULT_STRATEGY: 0, Z_BINARY: 0, Z_TEXT: 1, Z_UNKNOWN: 2, Z_DEFLATED: 8 }, Ae = ae._tr_init, Se = ae._tr_stored_block, Ie = ae._tr_flush_block, Te = ae._tr_tally, x = ae._tr_align, U = ce.Z_NO_FLUSH, B = ce.Z_PARTIAL_FLUSH, F = ce.Z_FULL_FLUSH, M = ce.Z_FINISH, q = ce.Z_BLOCK, de = ce.Z_OK, ye = ce.Z_STREAM_END, ee = ce.Z_STREAM_ERROR, Ee = ce.Z_DATA_ERROR, De = ce.Z_BUF_ERROR, Ce = ce.Z_DEFAULT_COMPRESSION, Ne = ce.Z_FILTERED, He = ce.Z_HUFFMAN_ONLY, We = ce.Z_RLE, St = ce.Z_FIXED, rr = ce.Z_DEFAULT_STRATEGY, yr = ce.Z_UNKNOWN, tr = ce.Z_DEFLATED, ge = 258, ve = 262, he = 42, me = 113, Oe = 666, je = function(f, P) {
|
|
30523
30520
|
return f.msg = oe[P], P;
|
|
30524
30521
|
}, it = function(f) {
|
|
30525
30522
|
return 2 * f - (f > 4 ? 9 : 0);
|
|
@@ -30737,7 +30734,7 @@ var Ti = {}, Gf = {}, qc = {}, Tb = { exports: {} };
|
|
|
30737
30734
|
if (ke !== 3 && ke !== 4 || (m.status = Oe), ke === 1 || ke === 3) return f.avail_out === 0 && (m.last_flush = -1), de;
|
|
30738
30735
|
if (ke === 2 && (P === B ? x(m) : P !== q && (Se(m, 0, 0, !1), P === F && (Xe(m.head), m.lookahead === 0 && (m.strstart = 0, m.block_start = 0, m.insert = 0))), gt(f), f.avail_out === 0)) return m.last_flush = -1, de;
|
|
30739
30736
|
}
|
|
30740
|
-
return P !== M ? de : m.wrap <= 0 ?
|
|
30737
|
+
return P !== M ? de : m.wrap <= 0 ? ye : (m.wrap === 2 ? (st(m, 255 & f.adler), st(m, f.adler >> 8 & 255), st(m, f.adler >> 16 & 255), st(m, f.adler >> 24 & 255), st(m, 255 & f.total_in), st(m, f.total_in >> 8 & 255), st(m, f.total_in >> 16 & 255), st(m, f.total_in >> 24 & 255)) : (sn(m, f.adler >>> 16), sn(m, 65535 & f.adler)), gt(f), m.wrap > 0 && (m.wrap = -m.wrap), m.pending !== 0 ? de : ye);
|
|
30741
30738
|
}, deflateEnd: function(f) {
|
|
30742
30739
|
if (Ts(f)) return ee;
|
|
30743
30740
|
var P = f.state.status;
|
|
@@ -34098,8 +34095,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
34098
34095
|
x.pending_buf[x.pending++] = U >>> 8 & 255, x.pending_buf[x.pending++] = 255 & U;
|
|
34099
34096
|
}
|
|
34100
34097
|
function H(x, U) {
|
|
34101
|
-
var B, F, M = x.max_chain_length, q = x.strstart, de = x.prev_length,
|
|
34102
|
-
x.prev_length >= x.good_match && (M >>= 2),
|
|
34098
|
+
var B, F, M = x.max_chain_length, q = x.strstart, de = x.prev_length, ye = x.nice_match, ee = x.strstart > x.w_size - G ? x.strstart - (x.w_size - G) : 0, Ee = x.window, De = x.w_mask, Ce = x.prev, Ne = x.strstart + z, He = Ee[q + de - 1], We = Ee[q + de];
|
|
34099
|
+
x.prev_length >= x.good_match && (M >>= 2), ye > x.lookahead && (ye = x.lookahead);
|
|
34103
34100
|
do
|
|
34104
34101
|
if (Ee[(B = U) + de] === We && Ee[B + de - 1] === He && Ee[B] === Ee[q] && Ee[++B] === Ee[q + 1]) {
|
|
34105
34102
|
q += 2, B++;
|
|
@@ -34107,7 +34104,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
34107
34104
|
;
|
|
34108
34105
|
while (Ee[++q] === Ee[++B] && Ee[++q] === Ee[++B] && Ee[++q] === Ee[++B] && Ee[++q] === Ee[++B] && Ee[++q] === Ee[++B] && Ee[++q] === Ee[++B] && Ee[++q] === Ee[++B] && Ee[++q] === Ee[++B] && q < Ne);
|
|
34109
34106
|
if (F = z - (Ne - q), q = Ne - z, de < F) {
|
|
34110
|
-
if (x.match_start = U,
|
|
34107
|
+
if (x.match_start = U, ye <= (de = F)) break;
|
|
34111
34108
|
He = Ee[q + de - 1], We = Ee[q + de];
|
|
34112
34109
|
}
|
|
34113
34110
|
}
|
|
@@ -34115,7 +34112,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
34115
34112
|
return de <= x.lookahead ? de : x.lookahead;
|
|
34116
34113
|
}
|
|
34117
34114
|
function se(x) {
|
|
34118
|
-
var U, B, F, M, q, de,
|
|
34115
|
+
var U, B, F, M, q, de, ye, ee, Ee, De, Ce = x.w_size;
|
|
34119
34116
|
do {
|
|
34120
34117
|
if (M = x.window_size - x.lookahead - x.strstart, x.strstart >= Ce + (Ce - G)) {
|
|
34121
34118
|
for (a.arraySet(x.window, x.window, Ce, Ce, 0), x.match_start -= Ce, x.strstart -= Ce, x.block_start -= Ce, U = B = x.hash_size; F = x.head[--U], x.head[U] = Ce <= F ? F - Ce : 0, --B; ) ;
|
|
@@ -34123,7 +34120,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
34123
34120
|
M += Ce;
|
|
34124
34121
|
}
|
|
34125
34122
|
if (x.strm.avail_in === 0) break;
|
|
34126
|
-
if (de = x.strm,
|
|
34123
|
+
if (de = x.strm, ye = x.window, ee = x.strstart + x.lookahead, Ee = M, De = void 0, De = de.avail_in, Ee < De && (De = Ee), B = De === 0 ? 0 : (de.avail_in -= De, a.arraySet(ye, de.input, de.next_in, De, ee), de.state.wrap === 1 ? de.adler = l(de.adler, ye, De, ee) : de.state.wrap === 2 && (de.adler = c(de.adler, ye, De, ee)), de.next_in += De, de.total_in += De, De), x.lookahead += B, x.lookahead + x.insert >= R) for (q = x.strstart - x.insert, x.ins_h = x.window[q], x.ins_h = (x.ins_h << x.hash_shift ^ x.window[q + 1]) & x.hash_mask; x.insert && (x.ins_h = (x.ins_h << x.hash_shift ^ x.window[q + R - 1]) & x.hash_mask, x.prev[q & x.w_mask] = x.head[x.ins_h], x.head[x.ins_h] = q, q++, x.insert--, !(x.lookahead + x.insert < R)); ) ;
|
|
34127
34124
|
} while (x.lookahead < G && x.strm.avail_in !== 0);
|
|
34128
34125
|
}
|
|
34129
34126
|
function le(x, U) {
|
|
@@ -34177,8 +34174,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
34177
34174
|
var de = 1;
|
|
34178
34175
|
if (U === b && (U = 6), F < 0 ? (de = 0, F = -F) : 15 < F && (de = 2, F -= 16), M < 1 || E < M || B !== A || F < 8 || 15 < F || U < 0 || 9 < U || q < 0 || w < q) return fe(x, y);
|
|
34179
34176
|
F === 8 && (F = 9);
|
|
34180
|
-
var
|
|
34181
|
-
return (x.state =
|
|
34177
|
+
var ye = new Ae();
|
|
34178
|
+
return (x.state = ye).strm = x, ye.wrap = de, ye.gzhead = null, ye.w_bits = F, ye.w_size = 1 << ye.w_bits, ye.w_mask = ye.w_size - 1, ye.hash_bits = M + 7, ye.hash_size = 1 << ye.hash_bits, ye.hash_mask = ye.hash_size - 1, ye.hash_shift = ~~((ye.hash_bits + R - 1) / R), ye.window = new a.Buf8(2 * ye.w_size), ye.head = new a.Buf16(ye.hash_size), ye.prev = new a.Buf16(ye.w_size), ye.lit_bufsize = 1 << M + 6, ye.pending_buf_size = 4 * ye.lit_bufsize, ye.pending_buf = new a.Buf8(ye.pending_buf_size), ye.d_buf = 1 * ye.lit_bufsize, ye.l_buf = 3 * ye.lit_bufsize, ye.level = U, ye.strategy = q, ye.method = B, Ie(x);
|
|
34182
34179
|
}
|
|
34183
34180
|
s = [new ce(0, 0, 0, 0, function(x, U) {
|
|
34184
34181
|
var B = 65535;
|
|
@@ -34236,7 +34233,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
34236
34233
|
} else if (x.avail_in === 0 && K(U) <= K(B) && U !== p) return fe(x, -5);
|
|
34237
34234
|
if (F.status === 666 && x.avail_in !== 0) return fe(x, -5);
|
|
34238
34235
|
if (x.avail_in !== 0 || F.lookahead !== 0 || U !== d && F.status !== 666) {
|
|
34239
|
-
var
|
|
34236
|
+
var ye = F.strategy === 2 ? function(ee, Ee) {
|
|
34240
34237
|
for (var De; ; ) {
|
|
34241
34238
|
if (ee.lookahead === 0 && (se(ee), ee.lookahead === 0)) {
|
|
34242
34239
|
if (Ee === d) return S;
|
|
@@ -34262,21 +34259,21 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
34262
34259
|
}
|
|
34263
34260
|
return ee.insert = 0, Ee === p ? (j(ee, !0), ee.strm.avail_out === 0 ? Y : W) : ee.last_lit && (j(ee, !1), ee.strm.avail_out === 0) ? S : J;
|
|
34264
34261
|
}(F, U) : s[F.level].func(F, U);
|
|
34265
|
-
if (
|
|
34266
|
-
if (
|
|
34262
|
+
if (ye !== Y && ye !== W || (F.status = 666), ye === S || ye === Y) return x.avail_out === 0 && (F.last_flush = -1), g;
|
|
34263
|
+
if (ye === J && (U === 1 ? o._tr_align(F) : U !== 5 && (o._tr_stored_block(F, 0, 0, !1), U === 3 && (be(F.head), F.lookahead === 0 && (F.strstart = 0, F.block_start = 0, F.insert = 0))), te(x), x.avail_out === 0)) return F.last_flush = -1, g;
|
|
34267
34264
|
}
|
|
34268
34265
|
return U !== p ? g : F.wrap <= 0 ? 1 : (F.wrap === 2 ? (ie(F, 255 & x.adler), ie(F, x.adler >> 8 & 255), ie(F, x.adler >> 16 & 255), ie(F, x.adler >> 24 & 255), ie(F, 255 & x.total_in), ie(F, x.total_in >> 8 & 255), ie(F, x.total_in >> 16 & 255), ie(F, x.total_in >> 24 & 255)) : (ae(F, x.adler >>> 16), ae(F, 65535 & x.adler)), te(x), 0 < F.wrap && (F.wrap = -F.wrap), F.pending !== 0 ? g : 1);
|
|
34269
34266
|
}, n.deflateEnd = function(x) {
|
|
34270
34267
|
var U;
|
|
34271
34268
|
return x && x.state ? (U = x.state.status) !== O && U !== 69 && U !== 73 && U !== 91 && U !== 103 && U !== X && U !== 666 ? fe(x, y) : (x.state = null, U === X ? fe(x, -3) : g) : y;
|
|
34272
34269
|
}, n.deflateSetDictionary = function(x, U) {
|
|
34273
|
-
var B, F, M, q, de,
|
|
34270
|
+
var B, F, M, q, de, ye, ee, Ee, De = U.length;
|
|
34274
34271
|
if (!x || !x.state || (q = (B = x.state).wrap) === 2 || q === 1 && B.status !== O || B.lookahead) return y;
|
|
34275
|
-
for (q === 1 && (x.adler = l(x.adler, U, De, 0)), B.wrap = 0, De >= B.w_size && (q === 0 && (be(B.head), B.strstart = 0, B.block_start = 0, B.insert = 0), Ee = new a.Buf8(B.w_size), a.arraySet(Ee, U, De - B.w_size, B.w_size, 0), U = Ee, De = B.w_size), de = x.avail_in,
|
|
34272
|
+
for (q === 1 && (x.adler = l(x.adler, U, De, 0)), B.wrap = 0, De >= B.w_size && (q === 0 && (be(B.head), B.strstart = 0, B.block_start = 0, B.insert = 0), Ee = new a.Buf8(B.w_size), a.arraySet(Ee, U, De - B.w_size, B.w_size, 0), U = Ee, De = B.w_size), de = x.avail_in, ye = x.next_in, ee = x.input, x.avail_in = De, x.next_in = 0, x.input = U, se(B); B.lookahead >= R; ) {
|
|
34276
34273
|
for (F = B.strstart, M = B.lookahead - (R - 1); B.ins_h = (B.ins_h << B.hash_shift ^ B.window[F + R - 1]) & B.hash_mask, B.prev[F & B.w_mask] = B.head[B.ins_h], B.head[B.ins_h] = F, F++, --M; ) ;
|
|
34277
34274
|
B.strstart = F, B.lookahead = R - 1, se(B);
|
|
34278
34275
|
}
|
|
34279
|
-
return B.strstart += B.lookahead, B.block_start = B.strstart, B.insert = B.lookahead, B.lookahead = 0, B.match_length = B.prev_length = R - 1, B.match_available = 0, x.next_in =
|
|
34276
|
+
return B.strstart += B.lookahead, B.block_start = B.strstart, B.insert = B.lookahead, B.lookahead = 0, B.match_length = B.prev_length = R - 1, B.match_available = 0, x.next_in = ye, x.input = ee, x.avail_in = de, B.wrap = q, g;
|
|
34280
34277
|
}, n.deflateInfo = "pako deflate (from Nodeca project)";
|
|
34281
34278
|
}, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./messages": 51, "./trees": 52 }], 47: [function(t, r, n) {
|
|
34282
34279
|
r.exports = function() {
|
|
@@ -34810,8 +34807,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
34810
34807
|
var J = new Array(h);
|
|
34811
34808
|
l(J);
|
|
34812
34809
|
var Y, W, fe, K = new Array(g);
|
|
34813
|
-
function be(M, q, de,
|
|
34814
|
-
this.static_tree = M, this.extra_bits = q, this.extra_base = de, this.elems =
|
|
34810
|
+
function be(M, q, de, ye, ee) {
|
|
34811
|
+
this.static_tree = M, this.extra_bits = q, this.extra_base = de, this.elems = ye, this.max_length = ee, this.has_stree = M && M.length;
|
|
34815
34812
|
}
|
|
34816
34813
|
function te(M, q) {
|
|
34817
34814
|
this.dyn_tree = M, this.max_code = 0, this.stat_desc = q;
|
|
@@ -34833,8 +34830,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
34833
34830
|
return de >>> 1;
|
|
34834
34831
|
}
|
|
34835
34832
|
function le(M, q, de) {
|
|
34836
|
-
var
|
|
34837
|
-
for (
|
|
34833
|
+
var ye, ee, Ee = new Array(w + 1), De = 0;
|
|
34834
|
+
for (ye = 1; ye <= w; ye++) Ee[ye] = De = De + de[ye - 1] << 1;
|
|
34838
34835
|
for (ee = 0; ee <= q; ee++) {
|
|
34839
34836
|
var Ce = M[2 * ee + 1];
|
|
34840
34837
|
Ce !== 0 && (M[2 * ee] = se(Ee[Ce]++, Ce));
|
|
@@ -34850,25 +34847,25 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
34850
34847
|
function ce(M) {
|
|
34851
34848
|
8 < M.bi_valid ? ie(M, M.bi_buf) : 0 < M.bi_valid && (M.pending_buf[M.pending++] = M.bi_buf), M.bi_buf = 0, M.bi_valid = 0;
|
|
34852
34849
|
}
|
|
34853
|
-
function Ae(M, q, de,
|
|
34850
|
+
function Ae(M, q, de, ye) {
|
|
34854
34851
|
var ee = 2 * q, Ee = 2 * de;
|
|
34855
|
-
return M[ee] < M[Ee] || M[ee] === M[Ee] &&
|
|
34852
|
+
return M[ee] < M[Ee] || M[ee] === M[Ee] && ye[q] <= ye[de];
|
|
34856
34853
|
}
|
|
34857
34854
|
function Se(M, q, de) {
|
|
34858
|
-
for (var
|
|
34859
|
-
M.heap[de] =
|
|
34855
|
+
for (var ye = M.heap[de], ee = de << 1; ee <= M.heap_len && (ee < M.heap_len && Ae(q, M.heap[ee + 1], M.heap[ee], M.depth) && ee++, !Ae(q, ye, M.heap[ee], M.depth)); ) M.heap[de] = M.heap[ee], de = ee, ee <<= 1;
|
|
34856
|
+
M.heap[de] = ye;
|
|
34860
34857
|
}
|
|
34861
34858
|
function Ie(M, q, de) {
|
|
34862
|
-
var
|
|
34863
|
-
if (M.last_lit !== 0) for (;
|
|
34859
|
+
var ye, ee, Ee, De, Ce = 0;
|
|
34860
|
+
if (M.last_lit !== 0) for (; ye = M.pending_buf[M.d_buf + 2 * Ce] << 8 | M.pending_buf[M.d_buf + 2 * Ce + 1], ee = M.pending_buf[M.l_buf + Ce], Ce++, ye === 0 ? H(M, ee, q) : (H(M, (Ee = S[ee]) + d + 1, q), (De = k[Ee]) !== 0 && ae(M, ee -= J[Ee], De), H(M, Ee = j(--ye), de), (De = D[Ee]) !== 0 && ae(M, ye -= K[Ee], De)), Ce < M.last_lit; ) ;
|
|
34864
34861
|
H(M, E, q);
|
|
34865
34862
|
}
|
|
34866
34863
|
function Te(M, q) {
|
|
34867
|
-
var de,
|
|
34864
|
+
var de, ye, ee, Ee = q.dyn_tree, De = q.stat_desc.static_tree, Ce = q.stat_desc.has_stree, Ne = q.stat_desc.elems, He = -1;
|
|
34868
34865
|
for (M.heap_len = 0, M.heap_max = b, de = 0; de < Ne; de++) Ee[2 * de] !== 0 ? (M.heap[++M.heap_len] = He = de, M.depth[de] = 0) : Ee[2 * de + 1] = 0;
|
|
34869
34866
|
for (; M.heap_len < 2; ) Ee[2 * (ee = M.heap[++M.heap_len] = He < 2 ? ++He : 0)] = 1, M.depth[ee] = 0, M.opt_len--, Ce && (M.static_len -= De[2 * ee + 1]);
|
|
34870
34867
|
for (q.max_code = He, de = M.heap_len >> 1; 1 <= de; de--) Se(M, Ee, de);
|
|
34871
|
-
for (ee = Ne; de = M.heap[1], M.heap[1] = M.heap[M.heap_len--], Se(M, Ee, 1),
|
|
34868
|
+
for (ee = Ne; de = M.heap[1], M.heap[1] = M.heap[M.heap_len--], Se(M, Ee, 1), ye = M.heap[1], M.heap[--M.heap_max] = de, M.heap[--M.heap_max] = ye, Ee[2 * ee] = Ee[2 * de] + Ee[2 * ye], M.depth[ee] = (M.depth[de] >= M.depth[ye] ? M.depth[de] : M.depth[ye]) + 1, Ee[2 * de + 1] = Ee[2 * ye + 1] = ee, M.heap[1] = ee++, Se(M, Ee, 1), 2 <= M.heap_len; ) ;
|
|
34872
34869
|
M.heap[--M.heap_max] = M.heap[1], function(We, St) {
|
|
34873
34870
|
var rr, yr, tr, ge, ve, he, me = St.dyn_tree, Oe = St.max_code, je = St.stat_desc.static_tree, it = St.stat_desc.has_stree, Xe = St.stat_desc.extra_bits, ut = St.stat_desc.extra_base, ft = St.stat_desc.max_length, gt = 0;
|
|
34874
34871
|
for (ge = 0; ge <= w; ge++) We.bl_count[ge] = 0;
|
|
@@ -34883,12 +34880,12 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
34883
34880
|
}(M, q), le(Ee, He, M.bl_count);
|
|
34884
34881
|
}
|
|
34885
34882
|
function x(M, q, de) {
|
|
34886
|
-
var
|
|
34887
|
-
for (De === 0 && (Ne = 138, He = 3), q[2 * (de + 1) + 1] = 65535,
|
|
34883
|
+
var ye, ee, Ee = -1, De = q[1], Ce = 0, Ne = 7, He = 4;
|
|
34884
|
+
for (De === 0 && (Ne = 138, He = 3), q[2 * (de + 1) + 1] = 65535, ye = 0; ye <= de; ye++) ee = De, De = q[2 * (ye + 1) + 1], ++Ce < Ne && ee === De || (Ce < He ? M.bl_tree[2 * ee] += Ce : ee !== 0 ? (ee !== Ee && M.bl_tree[2 * ee]++, M.bl_tree[2 * _]++) : Ce <= 10 ? M.bl_tree[2 * C]++ : M.bl_tree[2 * I]++, Ee = ee, He = (Ce = 0) === De ? (Ne = 138, 3) : ee === De ? (Ne = 6, 3) : (Ne = 7, 4));
|
|
34888
34885
|
}
|
|
34889
34886
|
function U(M, q, de) {
|
|
34890
|
-
var
|
|
34891
|
-
for (De === 0 && (Ne = 138, He = 3),
|
|
34887
|
+
var ye, ee, Ee = -1, De = q[1], Ce = 0, Ne = 7, He = 4;
|
|
34888
|
+
for (De === 0 && (Ne = 138, He = 3), ye = 0; ye <= de; ye++) if (ee = De, De = q[2 * (ye + 1) + 1], !(++Ce < Ne && ee === De)) {
|
|
34892
34889
|
if (Ce < He) for (; H(M, ee, M.bl_tree), --Ce != 0; ) ;
|
|
34893
34890
|
else ee !== 0 ? (ee !== Ee && (H(M, ee, M.bl_tree), Ce--), H(M, _, M.bl_tree), ae(M, Ce - 3, 2)) : Ce <= 10 ? (H(M, C, M.bl_tree), ae(M, Ce - 3, 3)) : (H(M, I, M.bl_tree), ae(M, Ce - 11, 7));
|
|
34894
34891
|
Ee = ee, He = (Ce = 0) === De ? (Ne = 138, 3) : ee === De ? (Ne = 6, 3) : (Ne = 7, 4);
|
|
@@ -34896,16 +34893,16 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
34896
34893
|
}
|
|
34897
34894
|
l(K);
|
|
34898
34895
|
var B = !1;
|
|
34899
|
-
function F(M, q, de,
|
|
34900
|
-
ae(M, (c << 1) + (
|
|
34896
|
+
function F(M, q, de, ye) {
|
|
34897
|
+
ae(M, (c << 1) + (ye ? 1 : 0), 3), function(ee, Ee, De, Ce) {
|
|
34901
34898
|
ce(ee), ie(ee, De), ie(ee, ~De), s.arraySet(ee.pending_buf, ee.window, Ee, De, ee.pending), ee.pending += De;
|
|
34902
34899
|
}(M, q, de);
|
|
34903
34900
|
}
|
|
34904
34901
|
n._tr_init = function(M) {
|
|
34905
34902
|
B || (function() {
|
|
34906
|
-
var q, de,
|
|
34907
|
-
for (ee =
|
|
34908
|
-
for (S[
|
|
34903
|
+
var q, de, ye, ee, Ee, De = new Array(w + 1);
|
|
34904
|
+
for (ee = ye = 0; ee < h - 1; ee++) for (J[ee] = ye, q = 0; q < 1 << k[ee]; q++) S[ye++] = ee;
|
|
34905
|
+
for (S[ye - 1] = ee, ee = Ee = 0; ee < 16; ee++) for (K[ee] = Ee, q = 0; q < 1 << D[ee]; q++) X[Ee++] = ee;
|
|
34909
34906
|
for (Ee >>= 7; ee < g; ee++) for (K[ee] = Ee << 7, q = 0; q < 1 << D[ee] - 7; q++) X[256 + Ee++] = ee;
|
|
34910
34907
|
for (de = 0; de <= w; de++) De[de] = 0;
|
|
34911
34908
|
for (q = 0; q <= 143; ) G[2 * q + 1] = 8, q++, De[8]++;
|
|
@@ -34915,7 +34912,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
34915
34912
|
for (le(G, p + 1, De), q = 0; q < g; q++) O[2 * q + 1] = 5, O[2 * q] = se(q, 5);
|
|
34916
34913
|
Y = new be(G, k, d + 1, p, w), W = new be(O, D, 0, g, w), fe = new be(new Array(0), R, 0, y, A);
|
|
34917
34914
|
}(), B = !0), M.l_desc = new te(M.dyn_ltree, Y), M.d_desc = new te(M.dyn_dtree, W), M.bl_desc = new te(M.bl_tree, fe), M.bi_buf = 0, M.bi_valid = 0, oe(M);
|
|
34918
|
-
}, n._tr_stored_block = F, n._tr_flush_block = function(M, q, de,
|
|
34915
|
+
}, n._tr_stored_block = F, n._tr_flush_block = function(M, q, de, ye) {
|
|
34919
34916
|
var ee, Ee, De = 0;
|
|
34920
34917
|
0 < M.level ? (M.strm.data_type === 2 && (M.strm.data_type = function(Ce) {
|
|
34921
34918
|
var Ne, He = 4093624447;
|
|
@@ -34927,11 +34924,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
34927
34924
|
var Ne;
|
|
34928
34925
|
for (x(Ce, Ce.dyn_ltree, Ce.l_desc.max_code), x(Ce, Ce.dyn_dtree, Ce.d_desc.max_code), Te(Ce, Ce.bl_desc), Ne = y - 1; 3 <= Ne && Ce.bl_tree[2 * z[Ne] + 1] === 0; Ne--) ;
|
|
34929
34926
|
return Ce.opt_len += 3 * (Ne + 1) + 5 + 5 + 4, Ne;
|
|
34930
|
-
}(M), ee = M.opt_len + 3 + 7 >>> 3, (Ee = M.static_len + 3 + 7 >>> 3) <= ee && (ee = Ee)) : ee = Ee = de + 5, de + 4 <= ee && q !== -1 ? F(M, q, de,
|
|
34927
|
+
}(M), ee = M.opt_len + 3 + 7 >>> 3, (Ee = M.static_len + 3 + 7 >>> 3) <= ee && (ee = Ee)) : ee = Ee = de + 5, de + 4 <= ee && q !== -1 ? F(M, q, de, ye) : M.strategy === 4 || Ee === ee ? (ae(M, 2 + (ye ? 1 : 0), 3), Ie(M, G, O)) : (ae(M, 4 + (ye ? 1 : 0), 3), function(Ce, Ne, He, We) {
|
|
34931
34928
|
var St;
|
|
34932
34929
|
for (ae(Ce, Ne - 257, 5), ae(Ce, He - 1, 5), ae(Ce, We - 4, 4), St = 0; St < We; St++) ae(Ce, Ce.bl_tree[2 * z[St] + 1], 3);
|
|
34933
34930
|
U(Ce, Ce.dyn_ltree, Ne - 1), U(Ce, Ce.dyn_dtree, He - 1);
|
|
34934
|
-
}(M, M.l_desc.max_code + 1, M.d_desc.max_code + 1, De + 1), Ie(M, M.dyn_ltree, M.dyn_dtree)), oe(M),
|
|
34931
|
+
}(M, M.l_desc.max_code + 1, M.d_desc.max_code + 1, De + 1), Ie(M, M.dyn_ltree, M.dyn_dtree)), oe(M), ye && ce(M);
|
|
34935
34932
|
}, n._tr_tally = function(M, q, de) {
|
|
34936
34933
|
return M.pending_buf[M.d_buf + 2 * M.last_lit] = q >>> 8 & 255, M.pending_buf[M.d_buf + 2 * M.last_lit + 1] = 255 & q, M.pending_buf[M.l_buf + M.last_lit] = 255 & de, M.last_lit++, q === 0 ? M.dyn_ltree[2 * de]++ : (M.matches++, q--, M.dyn_ltree[2 * (S[de] + d + 1)]++, M.dyn_dtree[2 * j(q)]++), M.last_lit === M.lit_bufsize - 1;
|
|
34937
34934
|
}, n._tr_align = function(M) {
|
|
@@ -38496,15 +38493,15 @@ const R5 = ({
|
|
|
38496
38493
|
const q = Te.replace("checkbox:", ""), de = Object.entries(e.properties || {}).find(([ge, ve]) => {
|
|
38497
38494
|
const me = ve.docx_mapping;
|
|
38498
38495
|
return (me == null ? void 0 : me.type) === "checkbox" && me.true_name && me.false_name && (me.true_name === q || me.false_name === q);
|
|
38499
|
-
}), [
|
|
38496
|
+
}), [ye, ee] = de || [], Ee = ee, De = Ee == null ? void 0 : Ee.docx_mapping, Ce = !!de, Ne = (De == null ? void 0 : De.true_name) === q, He = () => {
|
|
38500
38497
|
const ge = document.createElement("span");
|
|
38501
38498
|
return ge.textContent = Ie, ge.className = "inline-checkbox-readonly", ge;
|
|
38502
38499
|
}, We = () => {
|
|
38503
38500
|
const ge = document.createElement("span");
|
|
38504
38501
|
ge.className = "inline-radio-container";
|
|
38505
38502
|
const ve = document.createElement("input");
|
|
38506
|
-
ve.type = "radio", ve.name = `radio-group-${
|
|
38507
|
-
const he = K[
|
|
38503
|
+
ve.type = "radio", ve.name = `radio-group-${ye}`, ve.value = Ne ? "true" : "false";
|
|
38504
|
+
const he = K[ye];
|
|
38508
38505
|
return ve.checked = Ne ? he === !0 || he === "true" : he === !1 || he === "false", ve.className = "text-green-600 focus:ring-green-500 border-gray-300", ve.setAttribute("data-field-path", q), ve.addEventListener("change", (me) => {
|
|
38509
38506
|
me.target.checked && v(q, !0);
|
|
38510
38507
|
}), ge.appendChild(ve), ge;
|
|
@@ -38600,11 +38597,11 @@ const R5 = ({
|
|
|
38600
38597
|
}, [l, R]), Kt(() => {
|
|
38601
38598
|
p > 0 && !!y.current && R(yn);
|
|
38602
38599
|
}, [p, R]);
|
|
38603
|
-
const G = () => /* @__PURE__ */
|
|
38604
|
-
/* @__PURE__ */
|
|
38605
|
-
/* @__PURE__ */
|
|
38606
|
-
] }), X = l, S = !l && !!h, J = () => X && /* @__PURE__ */
|
|
38607
|
-
/* @__PURE__ */
|
|
38600
|
+
const G = () => /* @__PURE__ */ we.jsx("div", { className: "flex items-center justify-center p-8", children: /* @__PURE__ */ we.jsx("div", { className: "text-body", children: "Loading document..." }) }), O = () => /* @__PURE__ */ we.jsxs("div", { className: "bg-red-50 border border-red-200 rounded-md p-4", children: [
|
|
38601
|
+
/* @__PURE__ */ we.jsx("div", { className: "text-red-800 text-body-em", children: "Error" }),
|
|
38602
|
+
/* @__PURE__ */ we.jsx("div", { className: "text-red-700 text-body mt-1", children: h })
|
|
38603
|
+
] }), X = l, S = !l && !!h, J = () => X && /* @__PURE__ */ we.jsx(G, {}), Y = () => S && /* @__PURE__ */ we.jsx(O, {}), W = () => !X && !S && /* @__PURE__ */ we.jsxs("div", { children: [
|
|
38604
|
+
/* @__PURE__ */ we.jsx("style", { children: `
|
|
38608
38605
|
.inline-field-container {
|
|
38609
38606
|
display: block;
|
|
38610
38607
|
margin: 0;
|
|
@@ -38798,7 +38795,7 @@ const R5 = ({
|
|
|
38798
38795
|
margin: 0 2px;
|
|
38799
38796
|
}
|
|
38800
38797
|
` }),
|
|
38801
|
-
/* @__PURE__ */
|
|
38798
|
+
/* @__PURE__ */ we.jsx("div", { className: "bg-white max-w-full", children: /* @__PURE__ */ we.jsx("div", { ref: y, className: "bg-white" }) })
|
|
38802
38799
|
] });
|
|
38803
38800
|
return J() || Y() || W();
|
|
38804
38801
|
};
|