@instockng/storefront-ui 1.0.65 → 1.0.67
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/ProductAddOns.d.ts.map +1 -1
- package/dist/index10.mjs +50 -45
- package/dist/index100.mjs +52 -41
- package/dist/index101.mjs +6 -2
- package/dist/index102.mjs +5 -2
- package/dist/index103.mjs +176 -25
- package/dist/index104.mjs +52 -17
- package/dist/index105.mjs +69 -215
- package/dist/index106.mjs +2 -180
- package/dist/index107.mjs +34 -22
- package/dist/index108.mjs +42 -22
- package/dist/index109.mjs +2 -33
- package/dist/index110.mjs +22 -155
- package/dist/index111.mjs +9 -11
- package/dist/index112.mjs +207 -23
- package/dist/index113.mjs +171 -74
- package/dist/index114.mjs +15 -31
- package/dist/index115.mjs +17 -139
- package/dist/index116.mjs +28 -50
- package/dist/index117.mjs +152 -19
- package/dist/index118.mjs +13 -20
- package/dist/index119.mjs +25 -17
- package/dist/index120.mjs +76 -17
- package/dist/index121.mjs +31 -14
- package/dist/index122.mjs +140 -17
- package/dist/index123.mjs +51 -16
- package/dist/index124.mjs +17 -59
- package/dist/index125.mjs +20 -11
- package/dist/index126.mjs +17 -33
- package/dist/index127.mjs +18 -17
- package/dist/index128.mjs +13 -26
- package/dist/index129.mjs +13 -18
- package/dist/index13.mjs +1 -1
- package/dist/index130.mjs +14 -12
- package/dist/index131.mjs +57 -13
- package/dist/index132.mjs +11 -40
- package/dist/index133.mjs +31 -15
- package/dist/index134.mjs +19 -263
- package/dist/index135.mjs +25 -61
- package/dist/index136.mjs +26 -7
- package/dist/index137.mjs +19 -2
- package/dist/index138.mjs +21 -2
- package/dist/index139.mjs +42 -28
- package/dist/index140.mjs +23 -2
- package/dist/index141.mjs +267 -20
- package/dist/index142.mjs +68 -54
- package/dist/index143.mjs +7 -28
- package/dist/index144.mjs +2 -7
- package/dist/index145.mjs +2 -52
- package/dist/index146.mjs +2 -6
- package/dist/index147.mjs +32 -11
- package/dist/index148.mjs +2 -7
- package/dist/index149.mjs +19 -30
- package/dist/index15.mjs +4 -4
- package/dist/index150.mjs +16 -4
- package/dist/index151.mjs +62 -70
- package/dist/index152.mjs +2 -167
- package/dist/index156.mjs +129 -13
- package/dist/index157.mjs +16 -26
- package/dist/index158.mjs +32 -32
- package/dist/index159.mjs +2 -18
- package/dist/index16.mjs +2 -2
- package/dist/index160.mjs +35 -13
- package/dist/index161.mjs +47 -2
- package/dist/index162.mjs +20 -19
- package/dist/index163.mjs +54 -44
- package/dist/index164.mjs +29 -2
- package/dist/index165.mjs +6 -29
- package/dist/index166.mjs +50 -16
- package/dist/index167.mjs +6 -2
- package/dist/index168.mjs +12 -2
- package/dist/index169.mjs +7 -2
- package/dist/index170.mjs +28 -2
- package/dist/index171.mjs +2 -72
- package/dist/index172.mjs +70 -2
- package/dist/index173.mjs +164 -50
- package/dist/index174.mjs +2 -2
- package/dist/index175.mjs +2 -36
- package/dist/index176.mjs +2 -152
- package/dist/index177.mjs +18 -2
- package/dist/index178.mjs +32 -2
- package/dist/index179.mjs +33 -14
- package/dist/index18.mjs +1 -1
- package/dist/index180.mjs +18 -2
- package/dist/index181.mjs +18 -2
- package/dist/index182.mjs +2 -26
- package/dist/index183.mjs +20 -2
- package/dist/index184.mjs +46 -2
- package/dist/index185.mjs +2 -24
- package/dist/index186.mjs +26 -19
- package/dist/index187.mjs +18 -2
- package/dist/index188.mjs +2 -2
- package/dist/index189.mjs +2 -2
- package/dist/index19.mjs +1 -1
- package/dist/index190.mjs +2 -23
- package/dist/index191.mjs +2 -2
- package/dist/index192.mjs +67 -18
- package/dist/index193.mjs +2 -2
- package/dist/index194.mjs +53 -2
- package/dist/index196.mjs +28 -15
- package/dist/index197.mjs +152 -2
- package/dist/index198.mjs +2 -23
- package/dist/index199.mjs +2 -2
- package/dist/index200.mjs +19 -2
- package/dist/index201.mjs +2 -2
- package/dist/index202.mjs +2 -2
- package/dist/index203.mjs +26 -2
- package/dist/index204.mjs +2 -2
- package/dist/index205.mjs +2 -2
- package/dist/index206.mjs +24 -2
- package/dist/index207.mjs +20 -124
- package/dist/index209.mjs +2 -74
- package/dist/index210.mjs +2 -74
- package/dist/index211.mjs +23 -2
- package/dist/index212.mjs +2 -31
- package/dist/index213.mjs +22 -10
- package/dist/index214.mjs +2 -4
- package/dist/index215.mjs +2 -4
- package/dist/index216.mjs +2 -13
- package/dist/index217.mjs +23 -7
- package/dist/index218.mjs +2 -12
- package/dist/index219.mjs +22 -4
- package/dist/index22.mjs +2 -2
- package/dist/index220.mjs +2 -33
- package/dist/index221.mjs +2 -31
- package/dist/index222.mjs +2 -28
- package/dist/index223.mjs +2 -61
- package/dist/index225.mjs +2 -2
- package/dist/index226.mjs +2 -2
- package/dist/index227.mjs +2 -2
- package/dist/index228.mjs +127 -2
- package/dist/index229.mjs +2 -2
- package/dist/index230.mjs +74 -2
- package/dist/index231.mjs +74 -2
- package/dist/index232.mjs +2 -108
- package/dist/index233.mjs +648 -2
- package/dist/index234.mjs +2 -2
- package/dist/index235.mjs +2 -37
- package/dist/index236.mjs +43 -2
- package/dist/index237.mjs +17 -241
- package/dist/index238.mjs +19 -2
- package/dist/index239.mjs +2 -33
- package/dist/index240.mjs +2 -65
- package/dist/index241.mjs +30 -24
- package/dist/index242.mjs +11 -2
- package/dist/index243.mjs +4 -2
- package/dist/index244.mjs +4 -2
- package/dist/index245.mjs +13 -2
- package/dist/index246.mjs +7 -2
- package/dist/index247.mjs +12 -2
- package/dist/index248.mjs +5 -2
- package/dist/index249.mjs +33 -2
- package/dist/index25.mjs +2 -2
- package/dist/index250.mjs +31 -2
- package/dist/index251.mjs +28 -2
- package/dist/index252.mjs +61 -4
- package/dist/index253.mjs +2 -2
- package/dist/index254.mjs +2 -2
- package/dist/index255.mjs +2 -3
- package/dist/index256.mjs +2 -2
- package/dist/index257.mjs +2 -2
- package/dist/index258.mjs +2 -2
- package/dist/index259.mjs +108 -2
- package/dist/index26.mjs +1 -1
- package/dist/index260.mjs +2 -18
- package/dist/index261.mjs +2 -47
- package/dist/index262.mjs +2 -17
- package/dist/index263.mjs +2 -13
- package/dist/index264.mjs +37 -6
- package/dist/index265.mjs +2 -30
- package/dist/index266.mjs +2 -2
- package/dist/index267.mjs +2 -2
- package/dist/index268.mjs +244 -2
- package/dist/index270.mjs +31 -89
- package/dist/index271.mjs +65 -2
- package/dist/index272.mjs +25 -2
- package/dist/index274.mjs +2 -2
- package/dist/index275.mjs +5 -0
- package/dist/index276.mjs +5 -0
- package/dist/index277.mjs +5 -0
- package/dist/index278.mjs +5 -0
- package/dist/index279.mjs +5 -0
- package/dist/index280.mjs +5 -0
- package/dist/index281.mjs +7 -0
- package/dist/index282.mjs +5 -0
- package/dist/index283.mjs +5 -0
- package/dist/index284.mjs +5 -0
- package/dist/index285.mjs +5 -0
- package/dist/index286.mjs +5 -0
- package/dist/index287.mjs +5 -0
- package/dist/index288.mjs +6 -0
- package/dist/index289.mjs +5 -0
- package/dist/index290.mjs +5 -0
- package/dist/index291.mjs +20 -0
- package/dist/index292.mjs +16 -0
- package/dist/index293.mjs +9 -0
- package/dist/index294.mjs +33 -0
- package/dist/index295.mjs +5 -0
- package/dist/index296.mjs +5 -0
- package/dist/index297.mjs +21 -0
- package/dist/index298.mjs +50 -0
- package/dist/index299.mjs +5 -0
- package/dist/index300.mjs +5 -0
- package/dist/index301.mjs +5 -0
- package/dist/index302.mjs +5 -0
- package/dist/index303.mjs +94 -0
- package/dist/index304.mjs +5 -0
- package/dist/index305.mjs +5 -0
- package/dist/index306.mjs +5 -0
- package/dist/index307.mjs +5 -0
- package/dist/index34.mjs +11 -11
- package/dist/index40.mjs +2 -2
- package/dist/index42.mjs +2 -2
- package/dist/index43.mjs +6 -32
- package/dist/index44.mjs +32 -7
- package/dist/index45.mjs +6 -1432
- package/dist/index46.mjs +1432 -69
- package/dist/index47.mjs +70 -2
- package/dist/index48.mjs +2 -60
- package/dist/index49.mjs +57 -48
- package/dist/index50.mjs +51 -33
- package/dist/index51.mjs +33 -15
- package/dist/index52.mjs +12 -2260
- package/dist/index53.mjs +2263 -36
- package/dist/index54.mjs +36 -44
- package/dist/index55.mjs +44 -99
- package/dist/index56.mjs +99 -113
- package/dist/index57.mjs +82 -50
- package/dist/index58.mjs +53 -79
- package/dist/index59.mjs +75 -63
- package/dist/index60.mjs +71 -57
- package/dist/index61.mjs +57 -55
- package/dist/index62.mjs +75 -15
- package/dist/index63.mjs +13 -14
- package/dist/index64.mjs +16 -59
- package/dist/index65.mjs +43 -105
- package/dist/index66.mjs +89 -93
- package/dist/index67.mjs +128 -23
- package/dist/index68.mjs +19 -149
- package/dist/index69.mjs +24 -2
- package/dist/index70.mjs +2 -23
- package/dist/index71.mjs +37 -74
- package/dist/index72.mjs +2 -15
- package/dist/index73.mjs +148 -58
- package/dist/index75.mjs +75 -2
- package/dist/index76.mjs +15 -6
- package/dist/index77.mjs +57 -1128
- package/dist/index78.mjs +5 -19
- package/dist/index79.mjs +352 -51
- package/dist/index80.mjs +216 -30
- package/dist/index81.mjs +59 -2
- package/dist/index82.mjs +2 -235
- package/dist/index83.mjs +2 -6
- package/dist/index84.mjs +2 -134
- package/dist/index85.mjs +1134 -67
- package/dist/index86.mjs +19 -86
- package/dist/index87.mjs +54 -28
- package/dist/index88.mjs +32 -8
- package/dist/index89.mjs +229 -69
- package/dist/index90.mjs +5 -3
- package/dist/index91.mjs +134 -2
- package/dist/index92.mjs +64 -79
- package/dist/index93.mjs +84 -51
- package/dist/index94.mjs +28 -5
- package/dist/index95.mjs +8 -4
- package/dist/index96.mjs +69 -173
- package/dist/index97.mjs +4 -53
- package/dist/index98.mjs +2 -69
- package/dist/index99.mjs +80 -31
- package/package.json +1 -1
- package/src/components/ProductAddOns.tsx +10 -5
package/dist/index150.mjs
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
import { __exports as v } from "./index154.mjs";
|
|
3
|
+
(function(e) {
|
|
4
|
+
Object.defineProperty(e, "__esModule", {
|
|
5
|
+
value: !0
|
|
6
|
+
}), Object.defineProperty(e, "getImageBlurSvg", {
|
|
7
|
+
enumerable: !0,
|
|
8
|
+
get: function() {
|
|
9
|
+
return u;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
function u(a) {
|
|
13
|
+
let { widthInt: g, heightInt: c, blurWidth: t, blurHeight: i, blurDataURL: d, objectFit: r } = a;
|
|
14
|
+
const o = 20, s = t ? t * 40 : g, n = i ? i * 40 : c, l = s && n ? "viewBox='0 0 " + s + " " + n + "'" : "", f = l ? "none" : r === "contain" ? "xMidYMid" : r === "cover" ? "xMidYMid slice" : "none";
|
|
15
|
+
return "%3Csvg xmlns='http://www.w3.org/2000/svg' " + l + "%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='" + o + "'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='" + o + "'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='" + f + "' style='filter: url(%23b);' href='" + d + "'/%3E%3C/svg%3E";
|
|
16
|
+
}
|
|
17
|
+
})(v);
|
package/dist/index151.mjs
CHANGED
|
@@ -1,73 +1,65 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
u && u(), f && f(), t.cancelToken && t.cancelToken.unsubscribe(l), t.signal && t.signal.removeEventListener("abort", l);
|
|
20
|
-
}
|
|
21
|
-
let e = new XMLHttpRequest();
|
|
22
|
-
e.open(t.method.toUpperCase(), t.url, !0), e.timeout = t.timeout;
|
|
23
|
-
function b() {
|
|
24
|
-
if (!e)
|
|
25
|
-
return;
|
|
26
|
-
const o = q.from(
|
|
27
|
-
"getAllResponseHeaders" in e && e.getAllResponseHeaders()
|
|
28
|
-
), a = {
|
|
29
|
-
data: !d || d === "text" || d === "json" ? e.responseText : e.response,
|
|
30
|
-
status: e.status,
|
|
31
|
-
statusText: e.statusText,
|
|
32
|
-
headers: o,
|
|
33
|
-
config: s,
|
|
34
|
-
request: e
|
|
35
|
-
};
|
|
36
|
-
D(function(c) {
|
|
37
|
-
C(c), x();
|
|
38
|
-
}, function(c) {
|
|
39
|
-
i(c), x();
|
|
40
|
-
}, a), e = null;
|
|
41
|
-
}
|
|
42
|
-
"onloadend" in e ? e.onloadend = b : e.onreadystatechange = function() {
|
|
43
|
-
!e || e.readyState !== 4 || e.status === 0 && !(e.responseURL && e.responseURL.indexOf("file:") === 0) || setTimeout(b);
|
|
44
|
-
}, e.onabort = function() {
|
|
45
|
-
e && (i(new n("Request aborted", n.ECONNABORTED, s, e)), e = null);
|
|
46
|
-
}, e.onerror = function(r) {
|
|
47
|
-
const a = r && r.message ? r.message : "Network Error", p = new n(a, n.ERR_NETWORK, s, e);
|
|
48
|
-
p.event = r || null, i(p), e = null;
|
|
49
|
-
}, e.ontimeout = function() {
|
|
50
|
-
let r = t.timeout ? "timeout of " + t.timeout + "ms exceeded" : "timeout exceeded";
|
|
51
|
-
const a = t.transitional || L;
|
|
52
|
-
t.timeoutErrorMessage && (r = t.timeoutErrorMessage), i(new n(
|
|
53
|
-
r,
|
|
54
|
-
a.clarifyTimeoutError ? n.ETIMEDOUT : n.ECONNABORTED,
|
|
55
|
-
s,
|
|
56
|
-
e
|
|
57
|
-
)), e = null;
|
|
58
|
-
}, E === void 0 && T.setContentType(null), "setRequestHeader" in e && H.forEach(T.toJSON(), function(r, a) {
|
|
59
|
-
e.setRequestHeader(a, r);
|
|
60
|
-
}), H.isUndefined(t.withCredentials) || (e.withCredentials = !!t.withCredentials), d && d !== "json" && (e.responseType = t.responseType), h && ([w, f] = A(h, !0), e.addEventListener("progress", w)), R && e.upload && ([g, u] = A(R), e.upload.addEventListener("progress", g), e.upload.addEventListener("loadend", u)), (t.cancelToken || t.signal) && (l = (o) => {
|
|
61
|
-
e && (i(!o || o.type ? new y(null, s, e) : o), e.abort(), e = null);
|
|
62
|
-
}, t.cancelToken && t.cancelToken.subscribe(l), t.signal && (t.signal.aborted ? l() : t.signal.addEventListener("abort", l)));
|
|
63
|
-
const m = O(t.url);
|
|
64
|
-
if (m && U.protocols.indexOf(m) === -1) {
|
|
65
|
-
i(new n("Unsupported protocol " + m + ":", n.ERR_BAD_REQUEST, s));
|
|
66
|
-
return;
|
|
2
|
+
import { __exports as s } from "./index152.mjs";
|
|
3
|
+
(function(e) {
|
|
4
|
+
Object.defineProperty(e, "__esModule", {
|
|
5
|
+
value: !0
|
|
6
|
+
});
|
|
7
|
+
function n(r, t) {
|
|
8
|
+
for (var i in t) Object.defineProperty(r, i, {
|
|
9
|
+
enumerable: !0,
|
|
10
|
+
get: t[i]
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
n(e, {
|
|
14
|
+
VALID_LOADERS: function() {
|
|
15
|
+
return a;
|
|
16
|
+
},
|
|
17
|
+
imageConfigDefault: function() {
|
|
18
|
+
return o;
|
|
67
19
|
}
|
|
68
|
-
e.send(E || null);
|
|
69
20
|
});
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
21
|
+
const a = [
|
|
22
|
+
"default",
|
|
23
|
+
"imgix",
|
|
24
|
+
"cloudinary",
|
|
25
|
+
"akamai",
|
|
26
|
+
"custom"
|
|
27
|
+
], o = {
|
|
28
|
+
deviceSizes: [
|
|
29
|
+
640,
|
|
30
|
+
750,
|
|
31
|
+
828,
|
|
32
|
+
1080,
|
|
33
|
+
1200,
|
|
34
|
+
1920,
|
|
35
|
+
2048,
|
|
36
|
+
3840
|
|
37
|
+
],
|
|
38
|
+
imageSizes: [
|
|
39
|
+
16,
|
|
40
|
+
32,
|
|
41
|
+
48,
|
|
42
|
+
64,
|
|
43
|
+
96,
|
|
44
|
+
128,
|
|
45
|
+
256,
|
|
46
|
+
384
|
|
47
|
+
],
|
|
48
|
+
path: "/_next/image",
|
|
49
|
+
loader: "default",
|
|
50
|
+
loaderFile: "",
|
|
51
|
+
domains: [],
|
|
52
|
+
disableStaticImages: !1,
|
|
53
|
+
minimumCacheTTL: 60,
|
|
54
|
+
formats: [
|
|
55
|
+
"image/webp"
|
|
56
|
+
],
|
|
57
|
+
dangerouslyAllowSVG: !1,
|
|
58
|
+
contentSecurityPolicy: "script-src 'none'; frame-src 'none'; sandbox;",
|
|
59
|
+
contentDispositionType: "attachment",
|
|
60
|
+
localPatterns: void 0,
|
|
61
|
+
remotePatterns: [],
|
|
62
|
+
qualities: void 0,
|
|
63
|
+
unoptimized: !1
|
|
64
|
+
};
|
|
65
|
+
})(s);
|
package/dist/index152.mjs
CHANGED
|
@@ -1,170 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
|
|
3
|
-
import t from "./index82.mjs";
|
|
4
|
-
import b from "./index93.mjs";
|
|
5
|
-
import ee from "./index222.mjs";
|
|
6
|
-
import { trackStream as z } from "./index223.mjs";
|
|
7
|
-
import te from "./index96.mjs";
|
|
8
|
-
import { progressEventDecorator as I, progressEventReducer as M, asyncDecorator as j } from "./index220.mjs";
|
|
9
|
-
import se from "./index221.mjs";
|
|
10
|
-
import re from "./index218.mjs";
|
|
11
|
-
const J = 64 * 1024, { isFunction: P } = t, ne = (({ Request: r, Response: n }) => ({
|
|
12
|
-
Request: r,
|
|
13
|
-
Response: n
|
|
14
|
-
}))(t.global), {
|
|
15
|
-
ReadableStream: V,
|
|
16
|
-
TextEncoder: W
|
|
17
|
-
} = t.global, Z = (r, ...n) => {
|
|
18
|
-
try {
|
|
19
|
-
return !!r(...n);
|
|
20
|
-
} catch {
|
|
21
|
-
return !1;
|
|
22
|
-
}
|
|
23
|
-
}, oe = (r) => {
|
|
24
|
-
r = t.merge.call({
|
|
25
|
-
skipUndefined: !0
|
|
26
|
-
}, ne, r);
|
|
27
|
-
const { fetch: n, Request: o, Response: y } = r, g = n ? P(n) : typeof fetch == "function", f = P(o), F = P(y);
|
|
28
|
-
if (!g)
|
|
29
|
-
return !1;
|
|
30
|
-
const w = g && P(V), R = g && (typeof W == "function" ? /* @__PURE__ */ ((e) => (s) => e.encode(s))(new W()) : async (e) => new Uint8Array(await new o(e).arrayBuffer())), d = f && w && Z(() => {
|
|
31
|
-
let e = !1;
|
|
32
|
-
const s = new o(K.origin, {
|
|
33
|
-
body: new V(),
|
|
34
|
-
method: "POST",
|
|
35
|
-
get duplex() {
|
|
36
|
-
return e = !0, "half";
|
|
37
|
-
}
|
|
38
|
-
}).headers.has("Content-Type");
|
|
39
|
-
return e && !s;
|
|
40
|
-
}), h = F && w && Z(() => t.isReadableStream(new y("").body)), x = {
|
|
41
|
-
stream: h && ((e) => e.body)
|
|
42
|
-
};
|
|
43
|
-
g && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((e) => {
|
|
44
|
-
!x[e] && (x[e] = (s, i) => {
|
|
45
|
-
let c = s && s[e];
|
|
46
|
-
if (c)
|
|
47
|
-
return c.call(s);
|
|
48
|
-
throw new b(`Response type '${e}' is not supported`, b.ERR_NOT_SUPPORT, i);
|
|
49
|
-
});
|
|
50
|
-
});
|
|
51
|
-
const $ = async (e) => {
|
|
52
|
-
if (e == null)
|
|
53
|
-
return 0;
|
|
54
|
-
if (t.isBlob(e))
|
|
55
|
-
return e.size;
|
|
56
|
-
if (t.isSpecCompliantForm(e))
|
|
57
|
-
return (await new o(K.origin, {
|
|
58
|
-
method: "POST",
|
|
59
|
-
body: e
|
|
60
|
-
}).arrayBuffer()).byteLength;
|
|
61
|
-
if (t.isArrayBufferView(e) || t.isArrayBuffer(e))
|
|
62
|
-
return e.byteLength;
|
|
63
|
-
if (t.isURLSearchParams(e) && (e = e + ""), t.isString(e))
|
|
64
|
-
return (await R(e)).byteLength;
|
|
65
|
-
}, G = async (e, s) => {
|
|
66
|
-
const i = t.toFiniteNumber(e.getContentLength());
|
|
67
|
-
return i ?? $(s);
|
|
68
|
-
};
|
|
69
|
-
return async (e) => {
|
|
70
|
-
let {
|
|
71
|
-
url: s,
|
|
72
|
-
method: i,
|
|
73
|
-
data: c,
|
|
74
|
-
signal: Q,
|
|
75
|
-
cancelToken: _,
|
|
76
|
-
timeout: X,
|
|
77
|
-
onDownloadProgress: O,
|
|
78
|
-
onUploadProgress: B,
|
|
79
|
-
responseType: l,
|
|
80
|
-
headers: q,
|
|
81
|
-
withCredentials: C = "same-origin",
|
|
82
|
-
fetchOptions: U
|
|
83
|
-
} = se(e), v = n || fetch;
|
|
84
|
-
l = l ? (l + "").toLowerCase() : "text";
|
|
85
|
-
let E = ee([Q, _ && _.toAbortSignal()], X), T = null;
|
|
86
|
-
const m = E && E.unsubscribe && (() => {
|
|
87
|
-
E.unsubscribe();
|
|
88
|
-
});
|
|
89
|
-
let D;
|
|
90
|
-
try {
|
|
91
|
-
if (B && d && i !== "get" && i !== "head" && (D = await G(q, c)) !== 0) {
|
|
92
|
-
let p = new o(s, {
|
|
93
|
-
method: "POST",
|
|
94
|
-
body: c,
|
|
95
|
-
duplex: "half"
|
|
96
|
-
}), S;
|
|
97
|
-
if (t.isFormData(c) && (S = p.headers.get("content-type")) && q.setContentType(S), p.body) {
|
|
98
|
-
const [A, L] = I(
|
|
99
|
-
D,
|
|
100
|
-
M(j(B))
|
|
101
|
-
);
|
|
102
|
-
c = z(p.body, J, A, L);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
t.isString(C) || (C = C ? "include" : "omit");
|
|
106
|
-
const a = f && "credentials" in o.prototype, N = {
|
|
107
|
-
...U,
|
|
108
|
-
signal: E,
|
|
109
|
-
method: i.toUpperCase(),
|
|
110
|
-
headers: q.normalize().toJSON(),
|
|
111
|
-
body: c,
|
|
112
|
-
duplex: "half",
|
|
113
|
-
credentials: a ? C : void 0
|
|
114
|
-
};
|
|
115
|
-
T = f && new o(s, N);
|
|
116
|
-
let u = await (f ? v(T, U) : v(s, N));
|
|
117
|
-
const k = h && (l === "stream" || l === "response");
|
|
118
|
-
if (h && (O || k && m)) {
|
|
119
|
-
const p = {};
|
|
120
|
-
["status", "statusText", "headers"].forEach((H) => {
|
|
121
|
-
p[H] = u[H];
|
|
122
|
-
});
|
|
123
|
-
const S = t.toFiniteNumber(u.headers.get("content-length")), [A, L] = O && I(
|
|
124
|
-
S,
|
|
125
|
-
M(j(O), !0)
|
|
126
|
-
) || [];
|
|
127
|
-
u = new y(
|
|
128
|
-
z(u.body, J, A, () => {
|
|
129
|
-
L && L(), m && m();
|
|
130
|
-
}),
|
|
131
|
-
p
|
|
132
|
-
);
|
|
133
|
-
}
|
|
134
|
-
l = l || "text";
|
|
135
|
-
let Y = await x[t.findKey(x, l) || "text"](u, e);
|
|
136
|
-
return !k && m && m(), await new Promise((p, S) => {
|
|
137
|
-
re(p, S, {
|
|
138
|
-
data: Y,
|
|
139
|
-
headers: te.from(u.headers),
|
|
140
|
-
status: u.status,
|
|
141
|
-
statusText: u.statusText,
|
|
142
|
-
config: e,
|
|
143
|
-
request: T
|
|
144
|
-
});
|
|
145
|
-
});
|
|
146
|
-
} catch (a) {
|
|
147
|
-
throw m && m(), a && a.name === "TypeError" && /Load failed|fetch/i.test(a.message) ? Object.assign(
|
|
148
|
-
new b("Network Error", b.ERR_NETWORK, e, T),
|
|
149
|
-
{
|
|
150
|
-
cause: a.cause || a
|
|
151
|
-
}
|
|
152
|
-
) : b.from(a, a && a.code, e, T);
|
|
153
|
-
}
|
|
154
|
-
};
|
|
155
|
-
}, ae = /* @__PURE__ */ new Map(), ie = (r) => {
|
|
156
|
-
let n = r ? r.env : {};
|
|
157
|
-
const { fetch: o, Request: y, Response: g } = n, f = [
|
|
158
|
-
y,
|
|
159
|
-
g,
|
|
160
|
-
o
|
|
161
|
-
];
|
|
162
|
-
let F = f.length, w = F, R, d, h = ae;
|
|
163
|
-
for (; w--; )
|
|
164
|
-
R = f[w], d = h.get(R), d === void 0 && h.set(R, d = w ? /* @__PURE__ */ new Map() : oe(n)), h = d;
|
|
165
|
-
return d;
|
|
166
|
-
};
|
|
167
|
-
ie();
|
|
2
|
+
var a = {};
|
|
168
3
|
export {
|
|
169
|
-
|
|
4
|
+
a as __exports
|
|
170
5
|
};
|
package/dist/index156.mjs
CHANGED
|
@@ -1,21 +1,137 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
import { __module as c } from "./index235.mjs";
|
|
3
|
+
import "./index78.mjs";
|
|
4
|
+
import "./index110.mjs";
|
|
5
|
+
import T from "react/jsx-runtime";
|
|
6
|
+
import A from "react";
|
|
7
|
+
import { __require as N } from "./index236.mjs";
|
|
8
|
+
import { __require as $ } from "./index237.mjs";
|
|
9
|
+
import { __require as D } from "./index183.mjs";
|
|
10
|
+
import { __require as R } from "./index238.mjs";
|
|
11
|
+
import "./index149.mjs";
|
|
12
|
+
import { __exports as I } from "./index82.mjs";
|
|
13
|
+
import { __exports as U } from "./index144.mjs";
|
|
14
|
+
import { __exports as F } from "./index153.mjs";
|
|
15
|
+
var g;
|
|
16
|
+
function te() {
|
|
17
|
+
return g ? c.exports : (g = 1, function(q, a) {
|
|
18
|
+
"use client";
|
|
19
|
+
Object.defineProperty(a, "__esModule", {
|
|
7
20
|
value: !0
|
|
8
|
-
})
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
21
|
+
});
|
|
22
|
+
function w(r, t) {
|
|
23
|
+
for (var n in t) Object.defineProperty(r, n, {
|
|
24
|
+
enumerable: !0,
|
|
25
|
+
get: t[n]
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
w(a, {
|
|
29
|
+
default: function() {
|
|
30
|
+
return P;
|
|
31
|
+
},
|
|
32
|
+
defaultHead: function() {
|
|
33
|
+
return _;
|
|
12
34
|
}
|
|
13
35
|
});
|
|
14
|
-
|
|
15
|
-
|
|
36
|
+
const x = I, v = U, d = T, p = /* @__PURE__ */ v._(A), k = /* @__PURE__ */ x._(N()), S = $(), O = D(), E = R(), m = F;
|
|
37
|
+
function _(r) {
|
|
38
|
+
r === void 0 && (r = !1);
|
|
39
|
+
const t = [
|
|
40
|
+
/* @__PURE__ */ (0, d.jsx)("meta", {
|
|
41
|
+
charSet: "utf-8"
|
|
42
|
+
}, "charset")
|
|
43
|
+
];
|
|
44
|
+
return r || t.push(/* @__PURE__ */ (0, d.jsx)("meta", {
|
|
45
|
+
name: "viewport",
|
|
46
|
+
content: "width=device-width"
|
|
47
|
+
}, "viewport")), t;
|
|
48
|
+
}
|
|
49
|
+
function b(r, t) {
|
|
50
|
+
return typeof t == "string" || typeof t == "number" ? r : t.type === p.default.Fragment ? r.concat(
|
|
51
|
+
// @ts-expect-error @types/react does not remove fragments but this could also return ReactPortal[]
|
|
52
|
+
p.default.Children.toArray(t.props.children).reduce(
|
|
53
|
+
// @ts-expect-error @types/react does not remove fragments but this could also return ReactPortal[]
|
|
54
|
+
(n, e) => typeof e == "string" || typeof e == "number" ? n : n.concat(e),
|
|
55
|
+
[]
|
|
56
|
+
)
|
|
57
|
+
) : r.concat(t);
|
|
58
|
+
}
|
|
59
|
+
const y = [
|
|
60
|
+
"name",
|
|
61
|
+
"httpEquiv",
|
|
62
|
+
"charSet",
|
|
63
|
+
"itemProp"
|
|
64
|
+
];
|
|
65
|
+
function j() {
|
|
66
|
+
const r = /* @__PURE__ */ new Set(), t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), e = {};
|
|
67
|
+
return (o) => {
|
|
68
|
+
let u = !0, s = !1;
|
|
69
|
+
if (o.key && typeof o.key != "number" && o.key.indexOf("$") > 0) {
|
|
70
|
+
s = !0;
|
|
71
|
+
const f = o.key.slice(o.key.indexOf("$") + 1);
|
|
72
|
+
r.has(f) ? u = !1 : r.add(f);
|
|
73
|
+
}
|
|
74
|
+
switch (o.type) {
|
|
75
|
+
case "title":
|
|
76
|
+
case "base":
|
|
77
|
+
t.has(o.type) ? u = !1 : t.add(o.type);
|
|
78
|
+
break;
|
|
79
|
+
case "meta":
|
|
80
|
+
for (let f = 0, H = y.length; f < H; f++) {
|
|
81
|
+
const i = y[f];
|
|
82
|
+
if (o.props.hasOwnProperty(i))
|
|
83
|
+
if (i === "charSet")
|
|
84
|
+
n.has(i) ? u = !1 : n.add(i);
|
|
85
|
+
else {
|
|
86
|
+
const h = o.props[i], l = e[i] || /* @__PURE__ */ new Set();
|
|
87
|
+
(i !== "name" || !s) && l.has(h) ? u = !1 : (l.add(h), e[i] = l);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
break;
|
|
91
|
+
}
|
|
92
|
+
return u;
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
function M(r, t) {
|
|
96
|
+
const { inAmpMode: n } = t;
|
|
97
|
+
return r.reduce(b, []).reverse().concat(_(n).reverse()).filter(j()).reverse().map((e, o) => {
|
|
98
|
+
const u = e.key || o;
|
|
99
|
+
if (process.env.NODE_ENV !== "development" && process.env.__NEXT_OPTIMIZE_FONTS && !n && e.type === "link" && e.props.href && // TODO(prateekbh@): Replace this with const from `constants` when the tree shaking works.
|
|
100
|
+
[
|
|
101
|
+
"https://fonts.googleapis.com/css",
|
|
102
|
+
"https://use.typekit.net/"
|
|
103
|
+
].some((s) => e.props.href.startsWith(s))) {
|
|
104
|
+
const s = {
|
|
105
|
+
...e.props || {}
|
|
106
|
+
};
|
|
107
|
+
return s["data-href"] = s.href, s.href = void 0, s["data-optimized-fonts"] = !0, /* @__PURE__ */ p.default.cloneElement(e, s);
|
|
108
|
+
}
|
|
109
|
+
if (process.env.NODE_ENV === "development")
|
|
110
|
+
if (e.type === "script" && e.props.type !== "application/ld+json") {
|
|
111
|
+
const s = e.props.src ? '<script> tag with src="' + e.props.src + '"' : "inline <script>";
|
|
112
|
+
(0, m.warnOnce)("Do not add <script> tags using next/head (see " + s + `). Use next/script instead.
|
|
113
|
+
See more info here: https://nextjs.org/docs/messages/no-script-tags-in-head-component`);
|
|
114
|
+
} else e.type === "link" && e.props.rel === "stylesheet" && (0, m.warnOnce)('Do not add stylesheets using next/head (see <link rel="stylesheet"> tag with href="' + e.props.href + `"). Use Document instead.
|
|
115
|
+
See more info here: https://nextjs.org/docs/messages/no-stylesheets-in-head-component`);
|
|
116
|
+
return /* @__PURE__ */ p.default.cloneElement(e, {
|
|
117
|
+
key: u
|
|
118
|
+
});
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
function C(r) {
|
|
122
|
+
let { children: t } = r;
|
|
123
|
+
const n = (0, p.useContext)(S.AmpStateContext), e = (0, p.useContext)(O.HeadManagerContext);
|
|
124
|
+
return /* @__PURE__ */ (0, d.jsx)(k.default, {
|
|
125
|
+
reduceComponentsToState: M,
|
|
126
|
+
headManager: e,
|
|
127
|
+
inAmpMode: (0, E.isInAmpMode)(n),
|
|
128
|
+
children: t
|
|
129
|
+
});
|
|
16
130
|
}
|
|
17
|
-
|
|
131
|
+
const P = C;
|
|
132
|
+
(typeof a.default == "function" || typeof a.default == "object" && a.default !== null) && typeof a.default.__esModule > "u" && (Object.defineProperty(a.default, "__esModule", { value: !0 }), Object.assign(a.default, a), q.exports = a.default);
|
|
133
|
+
}(c, c.exports), c.exports);
|
|
18
134
|
}
|
|
19
135
|
export {
|
|
20
|
-
|
|
136
|
+
te as __require
|
|
21
137
|
};
|
package/dist/index157.mjs
CHANGED
|
@@ -1,35 +1,25 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
import { __exports as e } from "./index239.mjs";
|
|
3
|
+
import "./index78.mjs";
|
|
4
|
+
import a from "react";
|
|
5
|
+
import "./index151.mjs";
|
|
6
|
+
import { __exports as _ } from "./index82.mjs";
|
|
7
|
+
import { __exports as u } from "./index152.mjs";
|
|
8
|
+
var o;
|
|
9
|
+
function d() {
|
|
10
|
+
return o ? e : (o = 1, function(t) {
|
|
11
|
+
Object.defineProperty(t, "__esModule", {
|
|
7
12
|
value: !0
|
|
8
|
-
}), Object.defineProperty(
|
|
13
|
+
}), Object.defineProperty(t, "ImageConfigContext", {
|
|
9
14
|
enumerable: !0,
|
|
10
15
|
get: function() {
|
|
11
|
-
return
|
|
16
|
+
return r;
|
|
12
17
|
}
|
|
13
18
|
});
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
var u;
|
|
18
|
-
n = ((u = window.trustedTypes) == null ? void 0 : u.createPolicy("nextjs", {
|
|
19
|
-
createHTML: (t) => t,
|
|
20
|
-
createScript: (t) => t,
|
|
21
|
-
createScriptURL: (t) => t
|
|
22
|
-
})) || null;
|
|
23
|
-
}
|
|
24
|
-
return n;
|
|
25
|
-
}
|
|
26
|
-
function a(u) {
|
|
27
|
-
var t;
|
|
28
|
-
return ((t = d()) == null ? void 0 : t.createScriptURL(u)) || u;
|
|
29
|
-
}
|
|
30
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), f.exports = e.default);
|
|
31
|
-
}(r, r.exports), r.exports);
|
|
19
|
+
const i = /* @__PURE__ */ _._(a), n = u, r = i.default.createContext(n.imageConfigDefault);
|
|
20
|
+
process.env.NODE_ENV !== "production" && (r.displayName = "ImageConfigContext");
|
|
21
|
+
}(e), e);
|
|
32
22
|
}
|
|
33
23
|
export {
|
|
34
|
-
|
|
24
|
+
d as __require
|
|
35
25
|
};
|
package/dist/index158.mjs
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { __module as
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
import { __module as r } from "./index240.mjs";
|
|
3
|
+
import s from "react";
|
|
4
|
+
var i;
|
|
5
|
+
function R() {
|
|
6
|
+
return i ? r.exports : (i = 1, function(d, e) {
|
|
6
7
|
Object.defineProperty(e, "__esModule", {
|
|
7
8
|
value: !0
|
|
9
|
+
}), Object.defineProperty(e, "useMergedRef", {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: function() {
|
|
12
|
+
return a;
|
|
13
|
+
}
|
|
8
14
|
});
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
15
|
+
const f = s;
|
|
16
|
+
function a(u, t) {
|
|
17
|
+
const n = (0, f.useRef)(() => {
|
|
18
|
+
}), c = (0, f.useRef)(() => {
|
|
13
19
|
});
|
|
20
|
+
return (0, f.useMemo)(() => !u || !t ? u || t : (l) => {
|
|
21
|
+
l === null ? (n.current(), c.current()) : (n.current = o(u, l), c.current = o(t, l));
|
|
22
|
+
}, [
|
|
23
|
+
u,
|
|
24
|
+
t
|
|
25
|
+
]);
|
|
14
26
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
return
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
l({
|
|
27
|
-
didTimeout: !1,
|
|
28
|
-
timeRemaining: function() {
|
|
29
|
-
return Math.max(0, 50 - (Date.now() - t));
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
}, 1);
|
|
33
|
-
}, c = typeof self < "u" && self.cancelIdleCallback && self.cancelIdleCallback.bind(window) || function(l) {
|
|
34
|
-
return clearTimeout(l);
|
|
35
|
-
};
|
|
36
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), f.exports = e.default);
|
|
37
|
-
}(n, n.exports), n.exports);
|
|
27
|
+
function o(u, t) {
|
|
28
|
+
if (typeof u == "function") {
|
|
29
|
+
const n = u(t);
|
|
30
|
+
return typeof n == "function" ? n : () => u(null);
|
|
31
|
+
} else
|
|
32
|
+
return u.current = t, () => {
|
|
33
|
+
u.current = null;
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), d.exports = e.default);
|
|
37
|
+
}(r, r.exports), r.exports);
|
|
38
38
|
}
|
|
39
39
|
export {
|
|
40
|
-
|
|
40
|
+
R as __require
|
|
41
41
|
};
|
package/dist/index159.mjs
CHANGED
|
@@ -1,21 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
|
|
3
|
-
var t;
|
|
4
|
-
function o() {
|
|
5
|
-
return t ? e : (t = 1, function(r) {
|
|
6
|
-
Object.defineProperty(r, "__esModule", {
|
|
7
|
-
value: !0
|
|
8
|
-
}), Object.defineProperty(r, "getDeploymentIdQueryOrEmptyString", {
|
|
9
|
-
enumerable: !0,
|
|
10
|
-
get: function() {
|
|
11
|
-
return n;
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
function n() {
|
|
15
|
-
return process.env.NEXT_DEPLOYMENT_ID ? `?dpl=${process.env.NEXT_DEPLOYMENT_ID}` : "";
|
|
16
|
-
}
|
|
17
|
-
}(e), e);
|
|
18
|
-
}
|
|
2
|
+
var a = {};
|
|
19
3
|
export {
|
|
20
|
-
|
|
4
|
+
a as __exports
|
|
21
5
|
};
|
package/dist/index16.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsxs as c, jsx as u } from "react/jsx-runtime";
|
|
3
|
-
import { Root as v } from "./
|
|
4
|
-
import { cva as g } from "./
|
|
3
|
+
import { Root as v } from "./index50.mjs";
|
|
4
|
+
import { cva as g } from "./index51.mjs";
|
|
5
5
|
import { Loader2 as l } from "lucide-react";
|
|
6
6
|
import { cn as p } from "./index22.mjs";
|
|
7
7
|
const b = g(
|