@instockng/storefront-ui 1.0.115 → 1.0.117
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/index100.mjs +4 -8
- package/dist/index101.mjs +173 -69
- package/dist/index102.mjs +53 -4
- package/dist/index103.mjs +69 -2
- package/dist/index104.mjs +34 -80
- package/dist/index105.mjs +41 -52
- package/dist/index106.mjs +2 -6
- package/dist/index107.mjs +5 -4
- package/dist/index108.mjs +1123 -168
- package/dist/index109.mjs +20 -53
- package/dist/index110.mjs +55 -69
- package/dist/index111.mjs +33 -37
- package/dist/index112.mjs +2 -43
- package/dist/index115.mjs +1 -1
- package/dist/index116.mjs +1 -1
- package/dist/index117.mjs +8 -8
- package/dist/index118.mjs +6 -6
- package/dist/index119.mjs +3 -3
- package/dist/index120.mjs +1 -1
- package/dist/index121.mjs +1 -1
- package/dist/index122.mjs +1 -1
- package/dist/index123.mjs +2 -2
- package/dist/index124.mjs +2 -2
- package/dist/index125.mjs +3 -3
- package/dist/index126.mjs +1 -1
- package/dist/index127.mjs +3 -3
- package/dist/index128.mjs +2 -2
- package/dist/index129.mjs +2 -2
- package/dist/index130.mjs +1 -1
- package/dist/index131.mjs +3 -3
- package/dist/index132.mjs +1 -1
- package/dist/index133.mjs +1 -1
- package/dist/index134.mjs +3 -3
- package/dist/index135.mjs +2 -2
- package/dist/index136.mjs +4 -4
- package/dist/index137.mjs +1 -1
- package/dist/index138.mjs +3 -3
- package/dist/index139.mjs +4 -4
- package/dist/index140.mjs +1 -1
- package/dist/index141.mjs +1 -1
- package/dist/index142.mjs +1 -1
- package/dist/index143.mjs +1 -1
- package/dist/index144.mjs +1 -1
- package/dist/index145.mjs +1 -1
- package/dist/index146.mjs +1 -1
- package/dist/index147.mjs +2 -2
- package/dist/index148.mjs +3 -3
- package/dist/index151.mjs +1 -1
- package/dist/index153.mjs +1 -1
- package/dist/index154.mjs +1 -1
- package/dist/index155.mjs +5 -5
- package/dist/index157.mjs +2 -2
- package/dist/index159.mjs +2 -2
- package/dist/index161.mjs +1 -1
- package/dist/index163.mjs +4 -4
- package/dist/index164.mjs +3 -3
- package/dist/index165.mjs +2 -2
- package/dist/index167.mjs +2 -2
- package/dist/index168.mjs +2 -18
- package/dist/index169.mjs +11 -25
- package/dist/index170.mjs +26 -32
- package/dist/index171.mjs +32 -12
- package/dist/index172.mjs +9 -9
- package/dist/index173.mjs +18 -2
- package/dist/index174.mjs +2 -20
- package/dist/index175.mjs +13 -39
- package/dist/index176.mjs +46 -2
- package/dist/index177.mjs +2 -30
- package/dist/index178.mjs +24 -12
- package/dist/index179.mjs +18 -2
- package/dist/index180.mjs +2 -2
- package/dist/index181.mjs +2 -2
- package/dist/index182.mjs +2 -2
- package/dist/index183.mjs +2 -72
- package/dist/index184.mjs +72 -2
- package/dist/index185.mjs +2 -53
- package/dist/index186.mjs +53 -2
- package/dist/index187.mjs +2 -36
- package/dist/index188.mjs +30 -146
- package/dist/index189.mjs +152 -2
- package/dist/index190.mjs +2 -2
- package/dist/index191.mjs +2 -19
- package/dist/index192.mjs +19 -2
- package/dist/index193.mjs +2 -2
- package/dist/index194.mjs +2 -26
- package/dist/index195.mjs +26 -2
- package/dist/index196.mjs +2 -2
- package/dist/index197.mjs +2 -24
- package/dist/index198.mjs +17 -16
- package/dist/index199.mjs +23 -2
- package/dist/index201.mjs +2 -2
- package/dist/index202.mjs +2 -23
- package/dist/index203.mjs +23 -2
- package/dist/index204.mjs +2 -23
- package/dist/index205.mjs +23 -2
- package/dist/index206.mjs +2 -2
- package/dist/index208.mjs +2 -23
- package/dist/index209.mjs +23 -2
- package/dist/index210.mjs +2 -23
- package/dist/index211.mjs +23 -2
- package/dist/index212.mjs +2 -2
- package/dist/index213.mjs +2 -2
- package/dist/index215.mjs +2 -2
- package/dist/index216.mjs +2 -2
- package/dist/index217.mjs +2 -2
- package/dist/index218.mjs +2 -2
- package/dist/index219.mjs +2 -127
- package/dist/index22.mjs +9 -9
- package/dist/index220.mjs +127 -2
- package/dist/index221.mjs +2 -74
- package/dist/index222.mjs +60 -60
- package/dist/index223.mjs +74 -2
- package/dist/index224.mjs +1 -1
- package/dist/index225.mjs +3 -3
- package/dist/index228.mjs +3 -3
- package/dist/index23.mjs +7 -7
- package/dist/index230.mjs +1 -1
- package/dist/index232.mjs +3 -3
- package/dist/index233.mjs +5 -5
- package/dist/index234.mjs +3 -3
- package/dist/index236.mjs +2 -2
- package/dist/index237.mjs +2 -2
- package/dist/index239.mjs +2 -2
- package/dist/index240.mjs +2 -2
- package/dist/index242.mjs +37 -2
- package/dist/index244.mjs +1 -1
- package/dist/index247.mjs +2 -37
- package/dist/index250.mjs +1 -1
- package/dist/index252.mjs +2 -2
- package/dist/index253.mjs +1 -1
- package/dist/index254.mjs +2 -2
- package/dist/index263.mjs +2 -2
- package/dist/index264.mjs +2 -4
- package/dist/index265.mjs +2 -2
- package/dist/index266.mjs +4 -2
- package/dist/index267.mjs +3 -2
- package/dist/index268.mjs +2 -2
- package/dist/index269.mjs +2 -18
- package/dist/index270.mjs +16 -46
- package/dist/index271.mjs +13 -2
- package/dist/index272.mjs +6 -2
- package/dist/index273.mjs +30 -2
- package/dist/index274.mjs +2 -2
- package/dist/index275.mjs +16 -89
- package/dist/index276.mjs +47 -3
- package/dist/index277.mjs +2 -2
- package/dist/index278.mjs +2 -2
- package/dist/index279.mjs +2 -17
- package/dist/index280.mjs +2 -13
- package/dist/index281.mjs +2 -6
- package/dist/index282.mjs +91 -30
- package/dist/index43.mjs +1 -1
- package/dist/index44.mjs +1 -1
- package/dist/index45.mjs +1 -1
- package/dist/index46.mjs +1 -1
- package/dist/index47.mjs +1 -1
- package/dist/index48.mjs +2 -2
- package/dist/index50.mjs +2 -2
- package/dist/index54.mjs +3 -3
- package/dist/index58.mjs +1 -1
- package/dist/index63.mjs +17 -17
- package/dist/index64.mjs +2 -2
- package/dist/index65.mjs +1 -1
- package/dist/index66.mjs +1 -1
- package/dist/index67.mjs +1 -1
- package/dist/index68.mjs +1 -1
- package/dist/index69.mjs +1 -1
- package/dist/index70.mjs +1 -1
- package/dist/index71.mjs +1 -1
- package/dist/index72.mjs +1 -1
- package/dist/index73.mjs +1 -1
- package/dist/index74.mjs +1 -1
- package/dist/index75.mjs +1 -1
- package/dist/index76.mjs +1 -1
- package/dist/index77.mjs +1 -1
- package/dist/index78.mjs +1 -1
- package/dist/index79.mjs +4 -23
- package/dist/index80.mjs +23 -2
- package/dist/index81.mjs +71 -149
- package/dist/index82.mjs +15 -23
- package/dist/index83.mjs +56 -68
- package/dist/index84.mjs +24 -15
- package/dist/index85.mjs +148 -58
- package/dist/index86.mjs +2 -5
- package/dist/index87.mjs +235 -2
- package/dist/index88.mjs +5 -5
- package/dist/index89.mjs +125 -1125
- package/dist/index90.mjs +67 -19
- package/dist/index91.mjs +82 -50
- package/dist/index92.mjs +28 -32
- package/dist/index93.mjs +9 -2
- package/dist/index94.mjs +69 -229
- package/dist/index95.mjs +3 -5
- package/dist/index96.mjs +2 -134
- package/dist/index97.mjs +79 -64
- package/dist/index98.mjs +51 -84
- package/dist/index99.mjs +5 -28
- package/package.json +1 -1
- package/src/components/AssistantDrawer.tsx +2 -2
- package/src/components/ProductAssistantChips.tsx +1 -1
package/dist/index223.mjs
CHANGED
|
@@ -1,5 +1,77 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
|
|
2
|
+
import { __exports as e } from "./index264.mjs";
|
|
3
|
+
/**
|
|
4
|
+
* @license React
|
|
5
|
+
* react-is.development.js
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the MIT license found in the
|
|
10
|
+
* LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/
|
|
12
|
+
var R;
|
|
13
|
+
function d() {
|
|
14
|
+
return R ? e : (R = 1, process.env.NODE_ENV !== "production" && function() {
|
|
15
|
+
function n(r) {
|
|
16
|
+
if (typeof r == "object" && r !== null) {
|
|
17
|
+
var m = r.$$typeof;
|
|
18
|
+
switch (m) {
|
|
19
|
+
case _:
|
|
20
|
+
switch (r = r.type, r) {
|
|
21
|
+
case t:
|
|
22
|
+
case f:
|
|
23
|
+
case o:
|
|
24
|
+
case a:
|
|
25
|
+
case E:
|
|
26
|
+
return r;
|
|
27
|
+
default:
|
|
28
|
+
switch (r = r && r.$$typeof, r) {
|
|
29
|
+
case i:
|
|
30
|
+
case u:
|
|
31
|
+
case l:
|
|
32
|
+
case c:
|
|
33
|
+
return r;
|
|
34
|
+
case s:
|
|
35
|
+
return r;
|
|
36
|
+
default:
|
|
37
|
+
return m;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
case T:
|
|
41
|
+
return m;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
var _ = Symbol.for("react.transitional.element"), T = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), s = Symbol.for("react.consumer"), i = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), E = Symbol.for("react.suspense_list"), c = Symbol.for("react.memo"), l = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), C = Symbol.for("react.client.reference");
|
|
46
|
+
e.ContextConsumer = s, e.ContextProvider = i, e.Element = _, e.ForwardRef = u, e.Fragment = t, e.Lazy = l, e.Memo = c, e.Portal = T, e.Profiler = f, e.StrictMode = o, e.Suspense = a, e.SuspenseList = E, e.isContextConsumer = function(r) {
|
|
47
|
+
return n(r) === s;
|
|
48
|
+
}, e.isContextProvider = function(r) {
|
|
49
|
+
return n(r) === i;
|
|
50
|
+
}, e.isElement = function(r) {
|
|
51
|
+
return typeof r == "object" && r !== null && r.$$typeof === _;
|
|
52
|
+
}, e.isForwardRef = function(r) {
|
|
53
|
+
return n(r) === u;
|
|
54
|
+
}, e.isFragment = function(r) {
|
|
55
|
+
return n(r) === t;
|
|
56
|
+
}, e.isLazy = function(r) {
|
|
57
|
+
return n(r) === l;
|
|
58
|
+
}, e.isMemo = function(r) {
|
|
59
|
+
return n(r) === c;
|
|
60
|
+
}, e.isPortal = function(r) {
|
|
61
|
+
return n(r) === T;
|
|
62
|
+
}, e.isProfiler = function(r) {
|
|
63
|
+
return n(r) === f;
|
|
64
|
+
}, e.isStrictMode = function(r) {
|
|
65
|
+
return n(r) === o;
|
|
66
|
+
}, e.isSuspense = function(r) {
|
|
67
|
+
return n(r) === a;
|
|
68
|
+
}, e.isSuspenseList = function(r) {
|
|
69
|
+
return n(r) === E;
|
|
70
|
+
}, e.isValidElementType = function(r) {
|
|
71
|
+
return typeof r == "string" || typeof r == "function" || r === t || r === f || r === o || r === a || r === E || r === S || typeof r == "object" && r !== null && (r.$$typeof === l || r.$$typeof === c || r.$$typeof === i || r.$$typeof === s || r.$$typeof === u || r.$$typeof === C || r.getModuleId !== void 0);
|
|
72
|
+
}, e.typeOf = n;
|
|
73
|
+
}(), e);
|
|
74
|
+
}
|
|
3
75
|
export {
|
|
4
|
-
|
|
76
|
+
d as __require
|
|
5
77
|
};
|
package/dist/index224.mjs
CHANGED
package/dist/index225.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import i from "./
|
|
3
|
-
import m from "./
|
|
4
|
-
import s from "./
|
|
2
|
+
import i from "./index87.mjs";
|
|
3
|
+
import m from "./index91.mjs";
|
|
4
|
+
import s from "./index101.mjs";
|
|
5
5
|
function h(f, t) {
|
|
6
6
|
const o = this || m, r = t || o, n = s.from(r.headers);
|
|
7
7
|
let a = r.data;
|
package/dist/index228.mjs
CHANGED
package/dist/index23.mjs
CHANGED
|
@@ -7,24 +7,24 @@ function x({
|
|
|
7
7
|
product: r,
|
|
8
8
|
className: i
|
|
9
9
|
}) {
|
|
10
|
-
const { ask: o } = u(),
|
|
11
|
-
return
|
|
10
|
+
const { ask: o } = u(), l = r.faqs || [], n = r.slug;
|
|
11
|
+
return l.length === 0 ? null : /* @__PURE__ */ e("div", { className: s("space-y-2", i), children: [
|
|
12
12
|
/* @__PURE__ */ e("div", { className: "flex items-center gap-1.5 text-sm font-medium text-gray-700", children: [
|
|
13
13
|
/* @__PURE__ */ t(m, { className: "h-4 w-4 text-orange-500" }),
|
|
14
14
|
"Ask AI"
|
|
15
15
|
] }),
|
|
16
16
|
/* @__PURE__ */ e("div", { className: "flex flex-wrap gap-2", children: [
|
|
17
|
-
|
|
17
|
+
l.slice(0, 3).map((a, c) => /* @__PURE__ */ t(
|
|
18
18
|
"button",
|
|
19
19
|
{
|
|
20
20
|
type: "button",
|
|
21
|
-
onClick: () => o(
|
|
21
|
+
onClick: () => o(a.question, n),
|
|
22
22
|
className: s(
|
|
23
|
-
"rounded-full border border-gray-200 bg-blue-50/60 px-3 py-1.5 text-sm text-gray-700",
|
|
23
|
+
"rounded-full border border-gray-200 bg-blue-50/60 px-3 py-1.5 text-sm text-gray-700 text-left",
|
|
24
24
|
"hover:bg-blue-100 hover:border-blue-200 transition-colors",
|
|
25
25
|
"active:scale-95"
|
|
26
26
|
),
|
|
27
|
-
children:
|
|
27
|
+
children: a.question
|
|
28
28
|
},
|
|
29
29
|
c
|
|
30
30
|
)),
|
|
@@ -32,7 +32,7 @@ function x({
|
|
|
32
32
|
"button",
|
|
33
33
|
{
|
|
34
34
|
type: "button",
|
|
35
|
-
onClick: () => o("",
|
|
35
|
+
onClick: () => o("", n),
|
|
36
36
|
className: s(
|
|
37
37
|
"rounded-full border border-gray-300 bg-gray-800 px-3 py-1.5 text-sm text-white font-medium",
|
|
38
38
|
"hover:bg-gray-700 transition-colors",
|
package/dist/index230.mjs
CHANGED
package/dist/index232.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import i from "./
|
|
3
|
-
import m from "./
|
|
4
|
-
import f from "./
|
|
2
|
+
import i from "./index270.mjs";
|
|
3
|
+
import m from "./index271.mjs";
|
|
4
|
+
import f from "./index87.mjs";
|
|
5
5
|
const h = (t, o, a = 3) => {
|
|
6
6
|
let r = 0;
|
|
7
7
|
const c = i(50, 250);
|
package/dist/index233.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import n from "./index160.mjs";
|
|
3
|
-
import m from "./
|
|
4
|
-
import c from "./
|
|
5
|
-
import h from "./
|
|
3
|
+
import m from "./index87.mjs";
|
|
4
|
+
import c from "./index272.mjs";
|
|
5
|
+
import h from "./index273.mjs";
|
|
6
6
|
import w from "./index156.mjs";
|
|
7
|
-
import b from "./
|
|
8
|
-
import C from "./
|
|
7
|
+
import b from "./index90.mjs";
|
|
8
|
+
import C from "./index101.mjs";
|
|
9
9
|
import g from "./index153.mjs";
|
|
10
10
|
const E = (a) => {
|
|
11
11
|
const e = b({}, a);
|
package/dist/index234.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import a from "./
|
|
3
|
-
import s from "./
|
|
4
|
-
import m from "./
|
|
2
|
+
import a from "./index93.mjs";
|
|
3
|
+
import s from "./index98.mjs";
|
|
4
|
+
import m from "./index87.mjs";
|
|
5
5
|
const h = (e, t) => {
|
|
6
6
|
const { length: l } = e = e ? e.filter(Boolean) : [];
|
|
7
7
|
if (t || l) {
|
package/dist/index236.mjs
CHANGED
package/dist/index237.mjs
CHANGED
package/dist/index239.mjs
CHANGED
package/dist/index240.mjs
CHANGED
package/dist/index242.mjs
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
|
|
2
|
+
import { __exports as n } from "./index274.mjs";
|
|
3
|
+
import { __require as l } from "./index275.mjs";
|
|
4
|
+
import { __require as d } from "./index276.mjs";
|
|
5
|
+
var t;
|
|
6
|
+
function R() {
|
|
7
|
+
return t ? n : (t = 1, function(i) {
|
|
8
|
+
Object.defineProperty(i, "__esModule", {
|
|
9
|
+
value: !0
|
|
10
|
+
});
|
|
11
|
+
function o(u, e) {
|
|
12
|
+
for (var r in e) Object.defineProperty(u, r, {
|
|
13
|
+
enumerable: !0,
|
|
14
|
+
get: e[r]
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
o(i, {
|
|
18
|
+
normalizeAppPath: function() {
|
|
19
|
+
return a;
|
|
20
|
+
},
|
|
21
|
+
normalizeRscURL: function() {
|
|
22
|
+
return p;
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
const s = l(), f = d();
|
|
26
|
+
function a(u) {
|
|
27
|
+
return (0, s.ensureLeadingSlash)(u.split("/").reduce((e, r, c, _) => !r || (0, f.isGroupSegment)(r) || r[0] === "@" || (r === "page" || r === "route") && c === _.length - 1 ? e : e + "/" + r, ""));
|
|
28
|
+
}
|
|
29
|
+
function p(u) {
|
|
30
|
+
return u.replace(
|
|
31
|
+
/\.rsc($|\?)/,
|
|
32
|
+
// $1 ensures `?` is preserved
|
|
33
|
+
"$1"
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
}(n), n);
|
|
37
|
+
}
|
|
3
38
|
export {
|
|
4
|
-
|
|
39
|
+
R as __require
|
|
5
40
|
};
|
package/dist/index244.mjs
CHANGED
package/dist/index247.mjs
CHANGED
|
@@ -1,40 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
|
|
3
|
-
import { __require as l } from "./index269.mjs";
|
|
4
|
-
import { __require as d } from "./index270.mjs";
|
|
5
|
-
var t;
|
|
6
|
-
function R() {
|
|
7
|
-
return t ? n : (t = 1, function(i) {
|
|
8
|
-
Object.defineProperty(i, "__esModule", {
|
|
9
|
-
value: !0
|
|
10
|
-
});
|
|
11
|
-
function o(u, e) {
|
|
12
|
-
for (var r in e) Object.defineProperty(u, r, {
|
|
13
|
-
enumerable: !0,
|
|
14
|
-
get: e[r]
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
o(i, {
|
|
18
|
-
normalizeAppPath: function() {
|
|
19
|
-
return a;
|
|
20
|
-
},
|
|
21
|
-
normalizeRscURL: function() {
|
|
22
|
-
return p;
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
const s = l(), f = d();
|
|
26
|
-
function a(u) {
|
|
27
|
-
return (0, s.ensureLeadingSlash)(u.split("/").reduce((e, r, c, _) => !r || (0, f.isGroupSegment)(r) || r[0] === "@" || (r === "page" || r === "route") && c === _.length - 1 ? e : e + "/" + r, ""));
|
|
28
|
-
}
|
|
29
|
-
function p(u) {
|
|
30
|
-
return u.replace(
|
|
31
|
-
/\.rsc($|\?)/,
|
|
32
|
-
// $1 ensures `?` is preserved
|
|
33
|
-
"$1"
|
|
34
|
-
);
|
|
35
|
-
}
|
|
36
|
-
}(n), n);
|
|
37
|
-
}
|
|
2
|
+
var r = { exports: {} };
|
|
38
3
|
export {
|
|
39
|
-
|
|
4
|
+
r as __module
|
|
40
5
|
};
|
package/dist/index250.mjs
CHANGED
package/dist/index252.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { __exports as t } from "./
|
|
3
|
-
import { __require as u } from "./
|
|
2
|
+
import { __exports as t } from "./index279.mjs";
|
|
3
|
+
import { __require as u } from "./index186.mjs";
|
|
4
4
|
import { __require as p } from "./index124.mjs";
|
|
5
5
|
var s;
|
|
6
6
|
function f() {
|
package/dist/index253.mjs
CHANGED
package/dist/index254.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { __exports as r } from "./
|
|
3
|
-
import { __require as a } from "./
|
|
2
|
+
import { __exports as r } from "./index281.mjs";
|
|
3
|
+
import { __require as a } from "./index282.mjs";
|
|
4
4
|
var t;
|
|
5
5
|
function k() {
|
|
6
6
|
return t ? r : (t = 1, function(o) {
|
package/dist/index263.mjs
CHANGED
package/dist/index264.mjs
CHANGED
package/dist/index265.mjs
CHANGED
package/dist/index266.mjs
CHANGED
package/dist/index267.mjs
CHANGED
package/dist/index268.mjs
CHANGED
package/dist/index269.mjs
CHANGED
|
@@ -1,21 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
|
|
3
|
-
var u;
|
|
4
|
-
function s() {
|
|
5
|
-
return u ? r : (u = 1, function(n) {
|
|
6
|
-
Object.defineProperty(n, "__esModule", {
|
|
7
|
-
value: !0
|
|
8
|
-
}), Object.defineProperty(n, "ensureLeadingSlash", {
|
|
9
|
-
enumerable: !0,
|
|
10
|
-
get: function() {
|
|
11
|
-
return t;
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
function t(e) {
|
|
15
|
-
return e.startsWith("/") ? e : "/" + e;
|
|
16
|
-
}
|
|
17
|
-
}(r), r);
|
|
18
|
-
}
|
|
2
|
+
const l = typeof Blob < "u" ? Blob : null;
|
|
19
3
|
export {
|
|
20
|
-
|
|
4
|
+
l as default
|
|
21
5
|
};
|
package/dist/index270.mjs
CHANGED
|
@@ -1,50 +1,20 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
return E;
|
|
18
|
-
},
|
|
19
|
-
PAGE_SEGMENT_KEY: function() {
|
|
20
|
-
return r;
|
|
21
|
-
},
|
|
22
|
-
addSearchParamsIfPageSegment: function() {
|
|
23
|
-
return s;
|
|
24
|
-
},
|
|
25
|
-
isGroupSegment: function() {
|
|
26
|
-
return c;
|
|
27
|
-
},
|
|
28
|
-
isParallelRouteSegment: function() {
|
|
29
|
-
return f;
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
function c(e) {
|
|
33
|
-
return e[0] === "(" && e.endsWith(")");
|
|
34
|
-
}
|
|
35
|
-
function f(e) {
|
|
36
|
-
return e.startsWith("@") && e !== "@children";
|
|
37
|
-
}
|
|
38
|
-
function s(e, n) {
|
|
39
|
-
if (e.includes(r)) {
|
|
40
|
-
const o = JSON.stringify(n);
|
|
41
|
-
return o !== "{}" ? r + "?" + o : r;
|
|
42
|
-
}
|
|
43
|
-
return e;
|
|
44
|
-
}
|
|
45
|
-
const r = "__PAGE__", E = "__DEFAULT__";
|
|
46
|
-
}(u), u);
|
|
2
|
+
function y(t, n) {
|
|
3
|
+
t = t || 10;
|
|
4
|
+
const c = new Array(t), o = new Array(t);
|
|
5
|
+
let e = 0, r = 0, i;
|
|
6
|
+
return n = n !== void 0 ? n : 1e3, function(h) {
|
|
7
|
+
const d = Date.now(), a = o[r];
|
|
8
|
+
i || (i = d), c[e] = h, o[e] = d;
|
|
9
|
+
let f = r, u = 0;
|
|
10
|
+
for (; f !== e; )
|
|
11
|
+
u += c[f++], f = f % t;
|
|
12
|
+
if (e = (e + 1) % t, e === r && (r = (r + 1) % t), d - i < n)
|
|
13
|
+
return;
|
|
14
|
+
const w = a && d - a;
|
|
15
|
+
return w ? Math.round(u * 1e3 / w) : void 0;
|
|
16
|
+
};
|
|
47
17
|
}
|
|
48
18
|
export {
|
|
49
|
-
|
|
19
|
+
y as default
|
|
50
20
|
};
|
package/dist/index271.mjs
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
|
|
2
|
+
function h(r, a) {
|
|
3
|
+
let s = 0, u = 1e3 / a, e, t;
|
|
4
|
+
const n = (l, o = Date.now()) => {
|
|
5
|
+
s = o, e = null, t && (clearTimeout(t), t = null), r(...l);
|
|
6
|
+
};
|
|
7
|
+
return [(...l) => {
|
|
8
|
+
const o = Date.now(), i = o - s;
|
|
9
|
+
i >= u ? n(l, o) : (e = l, t || (t = setTimeout(() => {
|
|
10
|
+
t = null, n(e);
|
|
11
|
+
}, u - i)));
|
|
12
|
+
}, () => e && n(e)];
|
|
13
|
+
}
|
|
3
14
|
export {
|
|
4
|
-
|
|
15
|
+
h as default
|
|
5
16
|
};
|
package/dist/index272.mjs
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
|
|
2
|
+
import o from "./index160.mjs";
|
|
3
|
+
const n = o.hasStandardBrowserEnv ? /* @__PURE__ */ ((r, e) => (t) => (t = new URL(t, o.origin), r.protocol === t.protocol && r.host === t.host && (e || r.port === t.port)))(
|
|
4
|
+
new URL(o.origin),
|
|
5
|
+
o.navigator && /(msie|trident)/i.test(o.navigator.userAgent)
|
|
6
|
+
) : () => !0;
|
|
3
7
|
export {
|
|
4
|
-
|
|
8
|
+
n as default
|
|
5
9
|
};
|
package/dist/index273.mjs
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
|
|
2
|
+
import r from "./index87.mjs";
|
|
3
|
+
import c from "./index160.mjs";
|
|
4
|
+
const p = c.hasStandardBrowserEnv ? (
|
|
5
|
+
// Standard browser envs support document.cookie
|
|
6
|
+
{
|
|
7
|
+
write(e, t, n, i, s, u) {
|
|
8
|
+
const o = [e + "=" + encodeURIComponent(t)];
|
|
9
|
+
r.isNumber(n) && o.push("expires=" + new Date(n).toGMTString()), r.isString(i) && o.push("path=" + i), r.isString(s) && o.push("domain=" + s), u === !0 && o.push("secure"), document.cookie = o.join("; ");
|
|
10
|
+
},
|
|
11
|
+
read(e) {
|
|
12
|
+
const t = document.cookie.match(new RegExp("(^|;\\s*)(" + e + ")=([^;]*)"));
|
|
13
|
+
return t ? decodeURIComponent(t[3]) : null;
|
|
14
|
+
},
|
|
15
|
+
remove(e) {
|
|
16
|
+
this.write(e, "", Date.now() - 864e5);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
) : (
|
|
20
|
+
// Non-standard browser env (web workers, react-native) lack needed support.
|
|
21
|
+
{
|
|
22
|
+
write() {
|
|
23
|
+
},
|
|
24
|
+
read() {
|
|
25
|
+
return null;
|
|
26
|
+
},
|
|
27
|
+
remove() {
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
);
|
|
3
31
|
export {
|
|
4
|
-
|
|
32
|
+
p as default
|
|
5
33
|
};
|
package/dist/index274.mjs
CHANGED