@instockng/storefront-ui 1.0.67 → 1.0.68

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.
Files changed (270) hide show
  1. package/dist/components/ProductAddOns.d.ts.map +1 -1
  2. package/dist/index10.mjs +36 -40
  3. package/dist/index100.mjs +41 -52
  4. package/dist/index101.mjs +2 -6
  5. package/dist/index102.mjs +2 -5
  6. package/dist/index103.mjs +25 -176
  7. package/dist/index104.mjs +17 -52
  8. package/dist/index105.mjs +215 -69
  9. package/dist/index106.mjs +180 -2
  10. package/dist/index107.mjs +22 -34
  11. package/dist/index108.mjs +22 -42
  12. package/dist/index109.mjs +33 -2
  13. package/dist/index110.mjs +155 -22
  14. package/dist/index111.mjs +11 -9
  15. package/dist/index112.mjs +23 -207
  16. package/dist/index113.mjs +74 -171
  17. package/dist/index114.mjs +31 -15
  18. package/dist/index115.mjs +139 -17
  19. package/dist/index116.mjs +50 -28
  20. package/dist/index117.mjs +19 -152
  21. package/dist/index118.mjs +20 -13
  22. package/dist/index119.mjs +17 -25
  23. package/dist/index120.mjs +17 -76
  24. package/dist/index121.mjs +14 -31
  25. package/dist/index122.mjs +17 -140
  26. package/dist/index123.mjs +16 -51
  27. package/dist/index124.mjs +59 -17
  28. package/dist/index125.mjs +11 -20
  29. package/dist/index126.mjs +33 -17
  30. package/dist/index127.mjs +17 -18
  31. package/dist/index128.mjs +26 -13
  32. package/dist/index129.mjs +18 -13
  33. package/dist/index13.mjs +1 -1
  34. package/dist/index130.mjs +12 -14
  35. package/dist/index131.mjs +13 -57
  36. package/dist/index132.mjs +40 -11
  37. package/dist/index133.mjs +15 -31
  38. package/dist/index134.mjs +263 -19
  39. package/dist/index135.mjs +61 -25
  40. package/dist/index136.mjs +7 -26
  41. package/dist/index137.mjs +2 -19
  42. package/dist/index138.mjs +2 -21
  43. package/dist/index139.mjs +28 -42
  44. package/dist/index140.mjs +2 -23
  45. package/dist/index141.mjs +20 -267
  46. package/dist/index142.mjs +54 -68
  47. package/dist/index143.mjs +28 -7
  48. package/dist/index144.mjs +7 -2
  49. package/dist/index145.mjs +52 -2
  50. package/dist/index146.mjs +6 -2
  51. package/dist/index147.mjs +11 -32
  52. package/dist/index148.mjs +7 -2
  53. package/dist/index149.mjs +30 -19
  54. package/dist/index15.mjs +4 -4
  55. package/dist/index150.mjs +4 -16
  56. package/dist/index151.mjs +70 -62
  57. package/dist/index152.mjs +167 -2
  58. package/dist/index156.mjs +13 -129
  59. package/dist/index157.mjs +26 -16
  60. package/dist/index158.mjs +32 -32
  61. package/dist/index159.mjs +18 -2
  62. package/dist/index16.mjs +2 -2
  63. package/dist/index160.mjs +13 -35
  64. package/dist/index161.mjs +2 -47
  65. package/dist/index162.mjs +19 -20
  66. package/dist/index163.mjs +44 -54
  67. package/dist/index164.mjs +2 -29
  68. package/dist/index165.mjs +29 -6
  69. package/dist/index166.mjs +16 -50
  70. package/dist/index167.mjs +2 -6
  71. package/dist/index168.mjs +2 -12
  72. package/dist/index169.mjs +2 -7
  73. package/dist/index170.mjs +2 -28
  74. package/dist/index171.mjs +72 -2
  75. package/dist/index172.mjs +2 -70
  76. package/dist/index173.mjs +50 -164
  77. package/dist/index174.mjs +2 -2
  78. package/dist/index175.mjs +36 -2
  79. package/dist/index176.mjs +152 -2
  80. package/dist/index177.mjs +2 -18
  81. package/dist/index178.mjs +2 -32
  82. package/dist/index179.mjs +14 -33
  83. package/dist/index18.mjs +1 -1
  84. package/dist/index180.mjs +2 -18
  85. package/dist/index181.mjs +2 -18
  86. package/dist/index182.mjs +26 -2
  87. package/dist/index183.mjs +2 -20
  88. package/dist/index184.mjs +2 -46
  89. package/dist/index185.mjs +24 -2
  90. package/dist/index186.mjs +19 -26
  91. package/dist/index187.mjs +2 -18
  92. package/dist/index188.mjs +2 -2
  93. package/dist/index189.mjs +2 -2
  94. package/dist/index19.mjs +1 -1
  95. package/dist/index190.mjs +23 -2
  96. package/dist/index191.mjs +2 -2
  97. package/dist/index192.mjs +18 -67
  98. package/dist/index193.mjs +2 -2
  99. package/dist/index194.mjs +2 -53
  100. package/dist/index196.mjs +15 -28
  101. package/dist/index197.mjs +2 -152
  102. package/dist/index198.mjs +23 -2
  103. package/dist/index199.mjs +2 -2
  104. package/dist/index200.mjs +2 -19
  105. package/dist/index201.mjs +2 -2
  106. package/dist/index202.mjs +2 -2
  107. package/dist/index203.mjs +2 -26
  108. package/dist/index204.mjs +2 -2
  109. package/dist/index205.mjs +2 -2
  110. package/dist/index206.mjs +2 -24
  111. package/dist/index207.mjs +124 -20
  112. package/dist/index209.mjs +74 -2
  113. package/dist/index210.mjs +74 -2
  114. package/dist/index211.mjs +2 -23
  115. package/dist/index212.mjs +31 -2
  116. package/dist/index213.mjs +10 -22
  117. package/dist/index214.mjs +4 -2
  118. package/dist/index215.mjs +4 -2
  119. package/dist/index216.mjs +13 -2
  120. package/dist/index217.mjs +7 -23
  121. package/dist/index218.mjs +12 -2
  122. package/dist/index219.mjs +4 -22
  123. package/dist/index22.mjs +2 -2
  124. package/dist/index220.mjs +33 -2
  125. package/dist/index221.mjs +31 -2
  126. package/dist/index222.mjs +28 -2
  127. package/dist/index223.mjs +61 -2
  128. package/dist/index224.mjs +2 -2
  129. package/dist/index225.mjs +108 -2
  130. package/dist/index226.mjs +2 -2
  131. package/dist/index227.mjs +2 -2
  132. package/dist/index228.mjs +2 -127
  133. package/dist/index230.mjs +2 -74
  134. package/dist/index231.mjs +2 -74
  135. package/dist/index232.mjs +2 -2
  136. package/dist/index233.mjs +34 -645
  137. package/dist/index234.mjs +2 -2
  138. package/dist/index235.mjs +2 -2
  139. package/dist/index236.mjs +2 -43
  140. package/dist/index237.mjs +2 -20
  141. package/dist/index238.mjs +243 -18
  142. package/dist/index240.mjs +33 -2
  143. package/dist/index241.mjs +64 -30
  144. package/dist/index242.mjs +24 -10
  145. package/dist/index243.mjs +2 -4
  146. package/dist/index244.mjs +2 -4
  147. package/dist/index245.mjs +2 -13
  148. package/dist/index246.mjs +2 -7
  149. package/dist/index247.mjs +2 -12
  150. package/dist/index248.mjs +2 -5
  151. package/dist/index249.mjs +2 -33
  152. package/dist/index25.mjs +2 -2
  153. package/dist/index250.mjs +2 -31
  154. package/dist/index251.mjs +2 -28
  155. package/dist/index252.mjs +2 -61
  156. package/dist/index253.mjs +2 -2
  157. package/dist/index254.mjs +4 -2
  158. package/dist/index255.mjs +3 -2
  159. package/dist/index256.mjs +2 -2
  160. package/dist/index257.mjs +2 -2
  161. package/dist/index258.mjs +17 -2
  162. package/dist/index259.mjs +12 -107
  163. package/dist/index26.mjs +1 -1
  164. package/dist/index260.mjs +6 -2
  165. package/dist/index261.mjs +30 -2
  166. package/dist/index262.mjs +2 -2
  167. package/dist/index263.mjs +2 -2
  168. package/dist/index264.mjs +2 -37
  169. package/dist/index265.mjs +18 -2
  170. package/dist/index266.mjs +47 -2
  171. package/dist/index267.mjs +2 -2
  172. package/dist/index268.mjs +2 -244
  173. package/dist/index270.mjs +89 -31
  174. package/dist/index271.mjs +2 -65
  175. package/dist/index272.mjs +2 -25
  176. package/dist/index274.mjs +2 -2
  177. package/dist/index34.mjs +11 -11
  178. package/dist/index40.mjs +2 -2
  179. package/dist/index42.mjs +2 -2
  180. package/dist/index43.mjs +32 -6
  181. package/dist/index44.mjs +7 -32
  182. package/dist/index45.mjs +1432 -6
  183. package/dist/index46.mjs +69 -1432
  184. package/dist/index47.mjs +2 -70
  185. package/dist/index48.mjs +60 -2
  186. package/dist/index49.mjs +48 -57
  187. package/dist/index50.mjs +33 -51
  188. package/dist/index51.mjs +15 -33
  189. package/dist/index52.mjs +2260 -12
  190. package/dist/index53.mjs +36 -2263
  191. package/dist/index54.mjs +44 -36
  192. package/dist/index55.mjs +99 -44
  193. package/dist/index56.mjs +113 -99
  194. package/dist/index57.mjs +50 -82
  195. package/dist/index58.mjs +79 -53
  196. package/dist/index59.mjs +63 -75
  197. package/dist/index60.mjs +57 -71
  198. package/dist/index61.mjs +55 -57
  199. package/dist/index62.mjs +15 -75
  200. package/dist/index63.mjs +14 -13
  201. package/dist/index64.mjs +59 -16
  202. package/dist/index65.mjs +105 -43
  203. package/dist/index66.mjs +93 -89
  204. package/dist/index67.mjs +23 -128
  205. package/dist/index68.mjs +149 -19
  206. package/dist/index69.mjs +2 -24
  207. package/dist/index70.mjs +23 -2
  208. package/dist/index71.mjs +74 -37
  209. package/dist/index72.mjs +15 -2
  210. package/dist/index73.mjs +58 -148
  211. package/dist/index75.mjs +2 -75
  212. package/dist/index76.mjs +6 -15
  213. package/dist/index77.mjs +1128 -57
  214. package/dist/index78.mjs +19 -5
  215. package/dist/index79.mjs +51 -352
  216. package/dist/index80.mjs +30 -216
  217. package/dist/index81.mjs +2 -59
  218. package/dist/index82.mjs +235 -2
  219. package/dist/index83.mjs +6 -2
  220. package/dist/index84.mjs +134 -2
  221. package/dist/index85.mjs +67 -1134
  222. package/dist/index86.mjs +86 -19
  223. package/dist/index87.mjs +28 -54
  224. package/dist/index88.mjs +8 -32
  225. package/dist/index89.mjs +69 -229
  226. package/dist/index90.mjs +3 -5
  227. package/dist/index91.mjs +2 -134
  228. package/dist/index92.mjs +79 -64
  229. package/dist/index93.mjs +51 -84
  230. package/dist/index94.mjs +5 -28
  231. package/dist/index95.mjs +4 -8
  232. package/dist/index96.mjs +173 -69
  233. package/dist/index97.mjs +53 -4
  234. package/dist/index98.mjs +69 -2
  235. package/dist/index99.mjs +31 -80
  236. package/package.json +1 -1
  237. package/src/components/ProductAddOns.tsx +4 -8
  238. package/dist/index275.mjs +0 -5
  239. package/dist/index276.mjs +0 -5
  240. package/dist/index277.mjs +0 -5
  241. package/dist/index278.mjs +0 -5
  242. package/dist/index279.mjs +0 -5
  243. package/dist/index280.mjs +0 -5
  244. package/dist/index281.mjs +0 -7
  245. package/dist/index282.mjs +0 -5
  246. package/dist/index283.mjs +0 -5
  247. package/dist/index284.mjs +0 -5
  248. package/dist/index285.mjs +0 -5
  249. package/dist/index286.mjs +0 -5
  250. package/dist/index287.mjs +0 -5
  251. package/dist/index288.mjs +0 -6
  252. package/dist/index289.mjs +0 -5
  253. package/dist/index290.mjs +0 -5
  254. package/dist/index291.mjs +0 -20
  255. package/dist/index292.mjs +0 -16
  256. package/dist/index293.mjs +0 -9
  257. package/dist/index294.mjs +0 -33
  258. package/dist/index295.mjs +0 -5
  259. package/dist/index296.mjs +0 -5
  260. package/dist/index297.mjs +0 -21
  261. package/dist/index298.mjs +0 -50
  262. package/dist/index299.mjs +0 -5
  263. package/dist/index300.mjs +0 -5
  264. package/dist/index301.mjs +0 -5
  265. package/dist/index302.mjs +0 -5
  266. package/dist/index303.mjs +0 -94
  267. package/dist/index304.mjs +0 -5
  268. package/dist/index305.mjs +0 -5
  269. package/dist/index306.mjs +0 -5
  270. package/dist/index307.mjs +0 -5
package/dist/index150.mjs CHANGED
@@ -1,17 +1,5 @@
1
1
  'use client';
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);
2
+ const t = null;
3
+ export {
4
+ t as default
5
+ };
package/dist/index151.mjs CHANGED
@@ -1,65 +1,73 @@
1
1
  'use client';
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;
2
+ import H from "./index82.mjs";
3
+ import D from "./index218.mjs";
4
+ import L from "./index146.mjs";
5
+ import n from "./index93.mjs";
6
+ import y from "./index88.mjs";
7
+ import O from "./index219.mjs";
8
+ import U from "./index148.mjs";
9
+ import q from "./index96.mjs";
10
+ import { progressEventReducer as A } from "./index220.mjs";
11
+ import v from "./index221.mjs";
12
+ const N = typeof XMLHttpRequest < "u", Q = N && function(s) {
13
+ return new Promise(function(C, i) {
14
+ const t = v(s);
15
+ let E = t.data;
16
+ const T = q.from(t.headers).normalize();
17
+ let { responseType: d, onUploadProgress: R, onDownloadProgress: h } = t, l, g, w, u, f;
18
+ function x() {
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;
19
67
  }
68
+ e.send(E || null);
20
69
  });
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);
70
+ };
71
+ export {
72
+ Q as default
73
+ };
package/dist/index152.mjs CHANGED
@@ -1,5 +1,170 @@
1
1
  'use client';
2
- var a = {};
2
+ import K from "./index148.mjs";
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();
3
168
  export {
4
- a as __exports
169
+ ie as getFetch
5
170
  };
package/dist/index156.mjs CHANGED
@@ -1,137 +1,21 @@
1
1
  'use client';
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", {
2
+ import { __exports as r } from "./index227.mjs";
3
+ var u;
4
+ function a() {
5
+ return u ? r : (u = 1, function(n) {
6
+ Object.defineProperty(n, "__esModule", {
20
7
  value: !0
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 _;
8
+ }), Object.defineProperty(n, "default", {
9
+ enumerable: !0,
10
+ get: function() {
11
+ return o;
34
12
  }
35
13
  });
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
- });
14
+ function o(e, t) {
15
+ return t === void 0 && (t = ""), (e === "/" ? "/index" : /^\/index(\/|$)/.test(e) ? "/index" + e : e) + t;
130
16
  }
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);
17
+ }(r), r);
134
18
  }
135
19
  export {
136
- te as __require
20
+ a as __require
137
21
  };
package/dist/index157.mjs CHANGED
@@ -1,25 +1,35 @@
1
1
  'use client';
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", {
2
+ import { __module as r } from "./index228.mjs";
3
+ var i;
4
+ function c() {
5
+ return i ? r.exports : (i = 1, function(f, e) {
6
+ Object.defineProperty(e, "__esModule", {
12
7
  value: !0
13
- }), Object.defineProperty(t, "ImageConfigContext", {
8
+ }), Object.defineProperty(e, "__unsafeCreateTrustedScriptURL", {
14
9
  enumerable: !0,
15
10
  get: function() {
16
- return r;
11
+ return a;
17
12
  }
18
13
  });
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);
14
+ let n;
15
+ function d() {
16
+ if (typeof n > "u" && typeof window < "u") {
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);
22
32
  }
23
33
  export {
24
- d as __require
34
+ c as __require
25
35
  };
package/dist/index158.mjs CHANGED
@@ -1,41 +1,41 @@
1
1
  'use client';
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) {
2
+ import { __module as n } from "./index229.mjs";
3
+ var a;
4
+ function o() {
5
+ return a ? n.exports : (a = 1, function(f, e) {
7
6
  Object.defineProperty(e, "__esModule", {
8
7
  value: !0
9
- }), Object.defineProperty(e, "useMergedRef", {
10
- enumerable: !0,
11
- get: function() {
12
- return a;
13
- }
14
8
  });
15
- const f = s;
16
- function a(u, t) {
17
- const n = (0, f.useRef)(() => {
18
- }), c = (0, f.useRef)(() => {
9
+ function d(l, t) {
10
+ for (var u in t) Object.defineProperty(l, u, {
11
+ enumerable: !0,
12
+ get: t[u]
19
13
  });
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
- ]);
26
- }
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
14
  }
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);
15
+ d(e, {
16
+ cancelIdleCallback: function() {
17
+ return c;
18
+ },
19
+ requestIdleCallback: function() {
20
+ return r;
21
+ }
22
+ });
23
+ const r = typeof self < "u" && self.requestIdleCallback && self.requestIdleCallback.bind(window) || function(l) {
24
+ let t = Date.now();
25
+ return self.setTimeout(function() {
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);
38
38
  }
39
39
  export {
40
- R as __require
40
+ o as __require
41
41
  };
package/dist/index159.mjs CHANGED
@@ -1,5 +1,21 @@
1
1
  'use client';
2
- var a = {};
2
+ import { __exports as e } from "./index230.mjs";
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
+ }
3
19
  export {
4
- a as __exports
20
+ o as __require
5
21
  };
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 "./index50.mjs";
4
- import { cva as g } from "./index51.mjs";
3
+ import { Root as v } from "./index49.mjs";
4
+ import { cva as g } from "./index50.mjs";
5
5
  import { Loader2 as l } from "lucide-react";
6
6
  import { cn as p } from "./index22.mjs";
7
7
  const b = g(