@instockng/storefront-ui 1.0.66 → 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.
Files changed (267) hide show
  1. package/dist/components/ProductAddOns.d.ts.map +1 -1
  2. package/dist/index10.mjs +49 -44
  3. package/dist/index100.mjs +52 -41
  4. package/dist/index101.mjs +6 -2
  5. package/dist/index102.mjs +4 -27
  6. package/dist/index103.mjs +176 -15
  7. package/dist/index104.mjs +53 -215
  8. package/dist/index105.mjs +69 -180
  9. package/dist/index106.mjs +2 -22
  10. package/dist/index107.mjs +34 -23
  11. package/dist/index108.mjs +42 -32
  12. package/dist/index109.mjs +2 -156
  13. package/dist/index110.mjs +21 -18
  14. package/dist/index111.mjs +11 -24
  15. package/dist/index112.mjs +206 -75
  16. package/dist/index113.mjs +176 -33
  17. package/dist/index114.mjs +17 -140
  18. package/dist/index115.mjs +17 -49
  19. package/dist/index116.mjs +27 -17
  20. package/dist/index117.mjs +150 -21
  21. package/dist/index118.mjs +13 -16
  22. package/dist/index119.mjs +24 -18
  23. package/dist/index120.mjs +77 -14
  24. package/dist/index121.mjs +31 -15
  25. package/dist/index122.mjs +140 -16
  26. package/dist/index123.mjs +51 -60
  27. package/dist/index124.mjs +17 -12
  28. package/dist/index125.mjs +19 -31
  29. package/dist/index126.mjs +16 -17
  30. package/dist/index127.mjs +17 -26
  31. package/dist/index128.mjs +14 -20
  32. package/dist/index129.mjs +14 -11
  33. package/dist/index13.mjs +1 -1
  34. package/dist/index130.mjs +14 -14
  35. package/dist/index131.mjs +58 -40
  36. package/dist/index132.mjs +11 -16
  37. package/dist/index133.mjs +33 -262
  38. package/dist/index134.mjs +17 -63
  39. package/dist/index135.mjs +31 -5
  40. package/dist/index136.mjs +27 -2
  41. package/dist/index137.mjs +19 -2
  42. package/dist/index138.mjs +14 -26
  43. package/dist/index139.mjs +47 -2
  44. package/dist/index140.mjs +23 -2
  45. package/dist/index141.mjs +268 -2
  46. package/dist/index142.mjs +69 -20
  47. package/dist/index143.mjs +7 -55
  48. package/dist/index144.mjs +2 -29
  49. package/dist/index145.mjs +2 -7
  50. package/dist/index146.mjs +2 -52
  51. package/dist/index147.mjs +33 -6
  52. package/dist/index148.mjs +2 -12
  53. package/dist/index149.mjs +19 -9
  54. package/dist/index15.mjs +4 -4
  55. package/dist/index150.mjs +16 -30
  56. package/dist/index151.mjs +64 -4
  57. package/dist/index152.mjs +2 -70
  58. package/dist/index153.mjs +2 -167
  59. package/dist/index155.mjs +2 -2
  60. package/dist/index156.mjs +134 -2
  61. package/dist/index157.mjs +16 -12
  62. package/dist/index158.mjs +26 -20
  63. package/dist/index159.mjs +2 -38
  64. package/dist/index16.mjs +2 -2
  65. package/dist/index160.mjs +35 -13
  66. package/dist/index161.mjs +42 -13
  67. package/dist/index162.mjs +21 -2
  68. package/dist/index163.mjs +54 -18
  69. package/dist/index164.mjs +28 -45
  70. package/dist/index165.mjs +7 -2
  71. package/dist/index166.mjs +50 -28
  72. package/dist/index167.mjs +6 -18
  73. package/dist/index168.mjs +12 -2
  74. package/dist/index169.mjs +7 -2
  75. package/dist/index170.mjs +28 -2
  76. package/dist/index171.mjs +2 -2
  77. package/dist/index172.mjs +67 -69
  78. package/dist/index173.mjs +167 -2
  79. package/dist/index174.mjs +2 -53
  80. package/dist/index175.mjs +2 -2
  81. package/dist/index176.mjs +2 -36
  82. package/dist/index177.mjs +13 -147
  83. package/dist/index178.mjs +32 -2
  84. package/dist/index179.mjs +38 -2
  85. package/dist/index18.mjs +1 -1
  86. package/dist/index180.mjs +11 -12
  87. package/dist/index181.mjs +18 -2
  88. package/dist/index182.mjs +2 -2
  89. package/dist/index183.mjs +13 -19
  90. package/dist/index184.mjs +46 -2
  91. package/dist/index185.mjs +2 -2
  92. package/dist/index186.mjs +26 -20
  93. package/dist/index187.mjs +10 -15
  94. package/dist/index188.mjs +2 -2
  95. package/dist/index189.mjs +2 -2
  96. package/dist/index19.mjs +1 -1
  97. package/dist/index190.mjs +2 -2
  98. package/dist/index191.mjs +2 -23
  99. package/dist/index192.mjs +72 -2
  100. package/dist/index193.mjs +2 -23
  101. package/dist/index194.mjs +53 -2
  102. package/dist/index196.mjs +36 -2
  103. package/dist/index197.mjs +146 -17
  104. package/dist/index198.mjs +2 -2
  105. package/dist/index199.mjs +2 -23
  106. package/dist/index200.mjs +19 -2
  107. package/dist/index202.mjs +2 -2
  108. package/dist/index203.mjs +26 -2
  109. package/dist/index204.mjs +2 -2
  110. package/dist/index205.mjs +2 -2
  111. package/dist/index206.mjs +24 -2
  112. package/dist/index207.mjs +23 -2
  113. package/dist/index208.mjs +2 -127
  114. package/dist/index210.mjs +2 -74
  115. package/dist/index211.mjs +20 -71
  116. package/dist/index212.mjs +2 -2
  117. package/dist/index213.mjs +23 -2
  118. package/dist/index217.mjs +23 -2
  119. package/dist/index218.mjs +2 -2
  120. package/dist/index219.mjs +23 -2
  121. package/dist/index22.mjs +2 -2
  122. package/dist/index220.mjs +2 -2
  123. package/dist/index221.mjs +2 -37
  124. package/dist/index222.mjs +2 -2
  125. package/dist/index223.mjs +2 -2
  126. package/dist/index224.mjs +2 -2
  127. package/dist/index225.mjs +2 -2
  128. package/dist/index226.mjs +2 -2
  129. package/dist/index227.mjs +2 -244
  130. package/dist/index228.mjs +127 -2
  131. package/dist/index229.mjs +2 -33
  132. package/dist/index230.mjs +72 -63
  133. package/dist/index231.mjs +71 -22
  134. package/dist/index232.mjs +2 -2
  135. package/dist/index233.mjs +640 -100
  136. package/dist/index234.mjs +2 -2
  137. package/dist/index235.mjs +2 -2
  138. package/dist/index236.mjs +43 -2
  139. package/dist/index237.mjs +20 -2
  140. package/dist/index238.mjs +19 -2
  141. package/dist/index239.mjs +2 -2
  142. package/dist/index240.mjs +2 -4
  143. package/dist/index241.mjs +1 -1
  144. package/dist/index242.mjs +3 -3
  145. package/dist/index245.mjs +13 -2
  146. package/dist/index246.mjs +7 -2
  147. package/dist/index247.mjs +12 -13
  148. package/dist/index248.mjs +5 -7
  149. package/dist/index249.mjs +33 -12
  150. package/dist/index25.mjs +2 -2
  151. package/dist/index250.mjs +31 -5
  152. package/dist/index251.mjs +27 -32
  153. package/dist/index252.mjs +58 -28
  154. package/dist/index253.mjs +2 -28
  155. package/dist/index254.mjs +2 -61
  156. package/dist/index255.mjs +2 -2
  157. package/dist/index256.mjs +2 -18
  158. package/dist/index257.mjs +2 -47
  159. package/dist/index258.mjs +2 -2
  160. package/dist/index259.mjs +108 -2
  161. package/dist/index26.mjs +1 -1
  162. package/dist/index260.mjs +2 -2
  163. package/dist/index262.mjs +2 -91
  164. package/dist/index264.mjs +37 -2
  165. package/dist/index265.mjs +2 -3
  166. package/dist/index266.mjs +2 -2
  167. package/dist/index267.mjs +2 -2
  168. package/dist/index268.mjs +243 -16
  169. package/dist/index269.mjs +2 -13
  170. package/dist/index270.mjs +33 -6
  171. package/dist/index271.mjs +64 -29
  172. package/dist/index272.mjs +25 -2
  173. package/dist/index274.mjs +2 -2
  174. package/dist/index275.mjs +5 -0
  175. package/dist/index276.mjs +5 -0
  176. package/dist/index277.mjs +5 -0
  177. package/dist/index278.mjs +5 -0
  178. package/dist/index279.mjs +5 -0
  179. package/dist/index280.mjs +5 -0
  180. package/dist/index281.mjs +7 -0
  181. package/dist/index282.mjs +5 -0
  182. package/dist/index283.mjs +5 -0
  183. package/dist/index284.mjs +5 -0
  184. package/dist/index285.mjs +5 -0
  185. package/dist/index286.mjs +5 -0
  186. package/dist/index287.mjs +5 -0
  187. package/dist/index288.mjs +6 -0
  188. package/dist/index289.mjs +5 -0
  189. package/dist/index290.mjs +5 -0
  190. package/dist/index291.mjs +20 -0
  191. package/dist/index292.mjs +16 -0
  192. package/dist/index293.mjs +9 -0
  193. package/dist/index294.mjs +33 -0
  194. package/dist/index295.mjs +5 -0
  195. package/dist/index296.mjs +5 -0
  196. package/dist/index297.mjs +21 -0
  197. package/dist/index298.mjs +50 -0
  198. package/dist/index299.mjs +5 -0
  199. package/dist/index300.mjs +5 -0
  200. package/dist/index301.mjs +5 -0
  201. package/dist/index302.mjs +5 -0
  202. package/dist/index303.mjs +94 -0
  203. package/dist/index304.mjs +5 -0
  204. package/dist/index305.mjs +5 -0
  205. package/dist/index306.mjs +5 -0
  206. package/dist/index307.mjs +5 -0
  207. package/dist/index34.mjs +11 -11
  208. package/dist/index40.mjs +2 -2
  209. package/dist/index42.mjs +2 -2
  210. package/dist/index43.mjs +6 -32
  211. package/dist/index44.mjs +32 -7
  212. package/dist/index45.mjs +6 -1432
  213. package/dist/index46.mjs +1432 -69
  214. package/dist/index47.mjs +70 -2
  215. package/dist/index48.mjs +2 -60
  216. package/dist/index49.mjs +57 -48
  217. package/dist/index50.mjs +51 -33
  218. package/dist/index51.mjs +33 -15
  219. package/dist/index52.mjs +12 -2260
  220. package/dist/index53.mjs +2263 -36
  221. package/dist/index54.mjs +36 -44
  222. package/dist/index55.mjs +44 -99
  223. package/dist/index56.mjs +99 -113
  224. package/dist/index57.mjs +82 -50
  225. package/dist/index58.mjs +53 -79
  226. package/dist/index59.mjs +75 -63
  227. package/dist/index60.mjs +71 -57
  228. package/dist/index61.mjs +57 -55
  229. package/dist/index62.mjs +75 -15
  230. package/dist/index63.mjs +13 -14
  231. package/dist/index64.mjs +16 -59
  232. package/dist/index65.mjs +43 -105
  233. package/dist/index66.mjs +89 -93
  234. package/dist/index67.mjs +128 -23
  235. package/dist/index68.mjs +23 -2
  236. package/dist/index69.mjs +21 -150
  237. package/dist/index70.mjs +2 -23
  238. package/dist/index71.mjs +37 -74
  239. package/dist/index72.mjs +2 -15
  240. package/dist/index73.mjs +148 -58
  241. package/dist/index75.mjs +75 -2
  242. package/dist/index76.mjs +15 -6
  243. package/dist/index77.mjs +57 -1128
  244. package/dist/index78.mjs +5 -19
  245. package/dist/index79.mjs +352 -51
  246. package/dist/index80.mjs +216 -30
  247. package/dist/index81.mjs +59 -2
  248. package/dist/index82.mjs +2 -235
  249. package/dist/index83.mjs +2 -6
  250. package/dist/index84.mjs +2 -134
  251. package/dist/index85.mjs +1134 -67
  252. package/dist/index86.mjs +19 -86
  253. package/dist/index87.mjs +54 -28
  254. package/dist/index88.mjs +32 -8
  255. package/dist/index89.mjs +229 -69
  256. package/dist/index90.mjs +5 -3
  257. package/dist/index91.mjs +134 -2
  258. package/dist/index92.mjs +64 -79
  259. package/dist/index93.mjs +84 -51
  260. package/dist/index94.mjs +28 -5
  261. package/dist/index95.mjs +8 -4
  262. package/dist/index96.mjs +69 -173
  263. package/dist/index97.mjs +4 -53
  264. package/dist/index98.mjs +2 -69
  265. package/dist/index99.mjs +80 -31
  266. package/package.json +1 -1
  267. package/src/components/ProductAddOns.tsx +8 -3
package/dist/index80.mjs CHANGED
@@ -1,36 +1,222 @@
1
1
  'use client';
2
- import { __module as u } from "./index139.mjs";
3
- import d from "react/jsx-runtime";
4
- import "react";
5
- import { __require as c } from "./index69.mjs";
6
- var n;
7
- function y() {
8
- return n ? u.exports : (n = 1, function(a, e) {
9
- Object.defineProperty(e, "__esModule", {
10
- value: !0
11
- }), Object.defineProperty(e, "default", {
12
- enumerable: !0,
13
- get: function() {
14
- return l;
2
+ import { __module as E } from "./index155.mjs";
3
+ import "./index78.mjs";
4
+ import "./index110.mjs";
5
+ import J from "react/jsx-runtime";
6
+ import K from "react";
7
+ import Q from "react-dom";
8
+ import { __require as Y } from "./index156.mjs";
9
+ import "./index79.mjs";
10
+ import "./index151.mjs";
11
+ import { __require as Z } from "./index157.mjs";
12
+ import "./index149.mjs";
13
+ import { __require as ee } from "./index86.mjs";
14
+ import { __require as te } from "./index81.mjs";
15
+ import { __require as re } from "./index158.mjs";
16
+ import { __exports as oe } from "./index144.mjs";
17
+ import { __exports as ie } from "./index82.mjs";
18
+ import { __exports as ne } from "./index152.mjs";
19
+ import { __exports as se } from "./index83.mjs";
20
+ import { __exports as ae } from "./index153.mjs";
21
+ (function(O, s) {
22
+ "use client";
23
+ Object.defineProperty(s, "__esModule", {
24
+ value: !0
25
+ }), Object.defineProperty(s, "Image", {
26
+ enumerable: !0,
27
+ get: function() {
28
+ return X;
29
+ }
30
+ });
31
+ const P = ie, T = oe, g = J, o = /* @__PURE__ */ T._(K), z = /* @__PURE__ */ P._(Q), M = /* @__PURE__ */ P._(Y()), L = se, D = ne, N = Z(), S = ae, $ = ee(), B = /* @__PURE__ */ P._(te()), V = re(), k = process.env.__NEXT_IMAGE_OPTS;
32
+ typeof window > "u" && (globalThis.__NEXT_IMAGE_IMPORTED = !0);
33
+ function I(e, h, t, a, v, b, d) {
34
+ const l = e == null ? void 0 : e.src;
35
+ if (!e || e["data-loaded-src"] === l)
36
+ return;
37
+ e["data-loaded-src"] = l, ("decode" in e ? e.decode() : Promise.resolve()).catch(() => {
38
+ }).then(() => {
39
+ if (!(!e.parentElement || !e.isConnected)) {
40
+ if (h !== "empty" && v(!0), t != null && t.current) {
41
+ const r = new Event("load");
42
+ Object.defineProperty(r, "target", {
43
+ writable: !1,
44
+ value: e
45
+ });
46
+ let f = !1, i = !1;
47
+ t.current({
48
+ ...r,
49
+ nativeEvent: r,
50
+ currentTarget: e,
51
+ target: e,
52
+ isDefaultPrevented: () => f,
53
+ isPropagationStopped: () => i,
54
+ persist: () => {
55
+ },
56
+ preventDefault: () => {
57
+ f = !0, r.preventDefault();
58
+ },
59
+ stopPropagation: () => {
60
+ i = !0, r.stopPropagation();
61
+ }
62
+ });
63
+ }
64
+ if (a != null && a.current && a.current(e), process.env.NODE_ENV !== "production") {
65
+ const r = new URL(l, "http://n").searchParams.get("url") || l;
66
+ if (e.getAttribute("data-nimg") === "fill") {
67
+ if (!b && (!d || d === "100vw") && e.getBoundingClientRect().width / window.innerWidth < 0.6 && (d === "100vw" ? (0, S.warnOnce)('Image with src "' + r + '" has "fill" prop and "sizes" prop of "100vw", but image is not rendered at full viewport width. Please adjust "sizes" to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes') : (0, S.warnOnce)('Image with src "' + r + '" has "fill" but is missing "sizes" prop. Please add it to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes')), e.parentElement) {
68
+ const { position: _ } = window.getComputedStyle(e.parentElement), p = [
69
+ "absolute",
70
+ "fixed",
71
+ "relative"
72
+ ];
73
+ p.includes(_) || (0, S.warnOnce)('Image with src "' + r + '" has "fill" and parent element with invalid "position". Provided "' + _ + '" should be one of ' + p.map(String).join(",") + ".");
74
+ }
75
+ e.height === 0 && (0, S.warnOnce)('Image with src "' + r + '" has "fill" and a height value of 0. This is likely because the parent element of the image has not been styled to have a set height.');
76
+ }
77
+ const f = e.height.toString() !== e.getAttribute("height"), i = e.width.toString() !== e.getAttribute("width");
78
+ (f && !i || !f && i) && (0, S.warnOnce)('Image with src "' + r + `" has either width or height modified, but not the other. If you use CSS to change the size of your image, also include the styles 'width: "auto"' or 'height: "auto"' to maintain the aspect ratio.`);
79
+ }
15
80
  }
16
81
  });
17
- const f = d, o = c();
18
- function l(t) {
19
- function r(i) {
20
- return /* @__PURE__ */ (0, f.jsx)(t, {
21
- router: (0, o.useRouter)(),
22
- ...i
23
- });
24
- }
25
- if (r.getInitialProps = t.getInitialProps, r.origGetInitialProps = t.origGetInitialProps, process.env.NODE_ENV !== "production") {
26
- const i = t.displayName || t.name || "Unknown";
27
- r.displayName = "withRouter(" + i + ")";
82
+ }
83
+ function j(e) {
84
+ return o.use ? {
85
+ fetchPriority: e
86
+ } : {
87
+ fetchpriority: e
88
+ };
89
+ }
90
+ const G = /* @__PURE__ */ (0, o.forwardRef)((e, h) => {
91
+ let { src: t, srcSet: a, sizes: v, height: b, width: d, decoding: l, className: y, style: r, fetchPriority: f, placeholder: i, loading: _, unoptimized: p, fill: C, onLoadRef: m, onLoadingCompleteRef: x, setBlurComplete: c, setShowAltText: q, sizesInput: R, onLoad: A, onError: u, ...w } = e;
92
+ const F = (0, o.useCallback)((n) => {
93
+ n && (u && (n.src = n.src), process.env.NODE_ENV !== "production" && (t || console.error('Image is missing required "src" property:', n), n.getAttribute("alt") === null && console.error('Image is missing required "alt" property. Please add Alternative Text to describe the image for screen readers and search engines.')), n.complete && I(n, i, m, x, c, p, R));
94
+ }, [
95
+ t,
96
+ i,
97
+ m,
98
+ x,
99
+ c,
100
+ u,
101
+ p,
102
+ R
103
+ ]), H = (0, V.useMergedRef)(h, F);
104
+ return /* @__PURE__ */ (0, g.jsx)("img", {
105
+ ...w,
106
+ ...j(f),
107
+ // It's intended to keep `loading` before `src` because React updates
108
+ // props in order which causes Safari/Firefox to not lazy load properly.
109
+ // See https://github.com/facebook/react/issues/25883
110
+ loading: _,
111
+ width: d,
112
+ height: b,
113
+ decoding: l,
114
+ "data-nimg": C ? "fill" : "1",
115
+ className: y,
116
+ style: r,
117
+ // It's intended to keep `src` the last attribute because React updates
118
+ // attributes in order. If we keep `src` the first one, Safari will
119
+ // immediately start to fetch `src`, before `sizes` and `srcSet` are even
120
+ // updated by React. That causes multiple unnecessary requests if `srcSet`
121
+ // and `sizes` are defined.
122
+ // This bug cannot be reproduced in Chrome or Firefox.
123
+ sizes: v,
124
+ srcSet: a,
125
+ src: t,
126
+ ref: H,
127
+ onLoad: (n) => {
128
+ const W = n.currentTarget;
129
+ I(W, i, m, x, c, p, R);
130
+ },
131
+ onError: (n) => {
132
+ q(!0), i !== "empty" && c(!0), u && u(n);
28
133
  }
29
- return r;
30
- }
31
- (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), a.exports = e.default);
32
- }(u, u.exports), u.exports);
33
- }
134
+ });
135
+ });
136
+ function U(e) {
137
+ let { isAppRouter: h, imgAttributes: t } = e;
138
+ const a = {
139
+ as: "image",
140
+ imageSrcSet: t.srcSet,
141
+ imageSizes: t.sizes,
142
+ crossOrigin: t.crossOrigin,
143
+ referrerPolicy: t.referrerPolicy,
144
+ ...j(t.fetchPriority)
145
+ };
146
+ return h && z.default.preload ? (z.default.preload(
147
+ t.src,
148
+ // @ts-expect-error TODO: upgrade to `@types/react-dom@18.3.x`
149
+ a
150
+ ), null) : /* @__PURE__ */ (0, g.jsx)(M.default, {
151
+ children: /* @__PURE__ */ (0, g.jsx)("link", {
152
+ rel: "preload",
153
+ // Note how we omit the `href` attribute, as it would only be relevant
154
+ // for browsers that do not support `imagesrcset`, and in those cases
155
+ // it would cause the incorrect image to be preloaded.
156
+ //
157
+ // https://html.spec.whatwg.org/multipage/semantics.html#attr-link-imagesrcset
158
+ href: t.srcSet ? void 0 : t.src,
159
+ ...a
160
+ }, "__nimg-" + t.src + t.srcSet + t.sizes)
161
+ });
162
+ }
163
+ const X = /* @__PURE__ */ (0, o.forwardRef)((e, h) => {
164
+ const a = !(0, o.useContext)($.RouterContext), v = (0, o.useContext)(N.ImageConfigContext), b = (0, o.useMemo)(() => {
165
+ var x;
166
+ const c = k || v || D.imageConfigDefault, q = [
167
+ ...c.deviceSizes,
168
+ ...c.imageSizes
169
+ ].sort((u, w) => u - w), R = c.deviceSizes.sort((u, w) => u - w), A = (x = c.qualities) == null ? void 0 : x.sort((u, w) => u - w);
170
+ return {
171
+ ...c,
172
+ allSizes: q,
173
+ deviceSizes: R,
174
+ qualities: A
175
+ };
176
+ }, [
177
+ v
178
+ ]), { onLoad: d, onLoadingComplete: l } = e, y = (0, o.useRef)(d);
179
+ (0, o.useEffect)(() => {
180
+ y.current = d;
181
+ }, [
182
+ d
183
+ ]);
184
+ const r = (0, o.useRef)(l);
185
+ (0, o.useEffect)(() => {
186
+ r.current = l;
187
+ }, [
188
+ l
189
+ ]);
190
+ const [f, i] = (0, o.useState)(!1), [_, p] = (0, o.useState)(!1), { props: C, meta: m } = (0, L.getImgProps)(e, {
191
+ defaultLoader: B.default,
192
+ imgConf: b,
193
+ blurComplete: f,
194
+ showAltText: _
195
+ });
196
+ return /* @__PURE__ */ (0, g.jsxs)(g.Fragment, {
197
+ children: [
198
+ /* @__PURE__ */ (0, g.jsx)(G, {
199
+ ...C,
200
+ unoptimized: m.unoptimized,
201
+ placeholder: m.placeholder,
202
+ fill: m.fill,
203
+ onLoadRef: y,
204
+ onLoadingCompleteRef: r,
205
+ setBlurComplete: i,
206
+ setShowAltText: p,
207
+ sizesInput: e.sizes,
208
+ ref: h
209
+ }),
210
+ m.priority ? /* @__PURE__ */ (0, g.jsx)(U, {
211
+ isAppRouter: a,
212
+ imgAttributes: C
213
+ }) : null
214
+ ]
215
+ });
216
+ });
217
+ (typeof s.default == "function" || typeof s.default == "object" && s.default !== null) && typeof s.default.__esModule > "u" && (Object.defineProperty(s.default, "__esModule", { value: !0 }), Object.assign(s.default, s), O.exports = s.default);
218
+ })(E, E.exports);
219
+ var qe = E.exports;
34
220
  export {
35
- y as __require
221
+ qe as i
36
222
  };
package/dist/index81.mjs CHANGED
@@ -1,5 +1,62 @@
1
1
  'use client';
2
- var e = {};
2
+ import { __exports as c } from "./index159.mjs";
3
+ import { __require as p } from "./index160.mjs";
4
+ import { __require as _ } from "./index161.mjs";
5
+ var l;
6
+ function v() {
7
+ return l ? c : (l = 1, function(u) {
8
+ Object.defineProperty(u, "__esModule", {
9
+ value: !0
10
+ }), Object.defineProperty(u, "default", {
11
+ enumerable: !0,
12
+ get: function() {
13
+ return g;
14
+ }
15
+ });
16
+ const s = 75;
17
+ function m(h) {
18
+ let { config: t, src: e, width: i, quality: n } = h;
19
+ var d;
20
+ if (process.env.NODE_ENV !== "production") {
21
+ const o = [];
22
+ if (e || o.push("src"), i || o.push("width"), o.length > 0)
23
+ throw new Error("Next Image Optimization requires " + o.join(", ") + " to be provided. Make sure you pass them as props to the `next/image` component. Received: " + JSON.stringify({
24
+ src: e,
25
+ width: i,
26
+ quality: n
27
+ }));
28
+ if (e.startsWith("//"))
29
+ throw new Error('Failed to parse src "' + e + '" on `next/image`, protocol-relative URL (//) must be changed to an absolute URL (http:// or https://)');
30
+ if (e.startsWith("/") && t.localPatterns && process.env.NODE_ENV !== "test" && // micromatch isn't compatible with edge runtime
31
+ process.env.NEXT_RUNTIME !== "edge") {
32
+ const { hasLocalMatch: r } = p();
33
+ if (!r(t.localPatterns, e))
34
+ throw new Error("Invalid src prop (" + e + ") on `next/image` does not match `images.localPatterns` configured in your `next.config.js`\nSee more info: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns");
35
+ }
36
+ if (!e.startsWith("/") && (t.domains || t.remotePatterns)) {
37
+ let r;
38
+ try {
39
+ r = new URL(e);
40
+ } catch (a) {
41
+ throw console.error(a), new Error('Failed to parse src "' + e + '" on `next/image`, if using relative image it must start with a leading slash "/" or be an absolute URL (http:// or https://)');
42
+ }
43
+ if (process.env.NODE_ENV !== "test" && // micromatch isn't compatible with edge runtime
44
+ process.env.NEXT_RUNTIME !== "edge") {
45
+ const { hasRemoteMatch: a } = _();
46
+ if (!a(t.domains, t.remotePatterns, r))
47
+ throw new Error("Invalid src prop (" + e + ') on `next/image`, hostname "' + r.hostname + '" is not configured under images in your `next.config.js`\nSee more info: https://nextjs.org/docs/messages/next-image-unconfigured-host');
48
+ }
49
+ }
50
+ if (n && t.qualities && !t.qualities.includes(n))
51
+ throw new Error("Invalid quality prop (" + n + ") on `next/image` does not match `images.qualities` configured in your `next.config.js`\nSee more info: https://nextjs.org/docs/messages/next-image-unconfigured-qualities");
52
+ }
53
+ const f = n || ((d = t.qualities) == null ? void 0 : d.reduce((o, r) => Math.abs(r - s) < Math.abs(o - s) ? r : o)) || s;
54
+ return t.path + "?url=" + encodeURIComponent(e) + "&w=" + i + "&q=" + f + (e.startsWith("/_next/static/media/") && process.env.NEXT_DEPLOYMENT_ID ? "&dpl=" + process.env.NEXT_DEPLOYMENT_ID : "");
55
+ }
56
+ m.__next_img_default = !0;
57
+ const g = m;
58
+ }(c), c);
59
+ }
3
60
  export {
4
- e as __exports
61
+ v as __require
5
62
  };
package/dist/index82.mjs CHANGED
@@ -1,238 +1,5 @@
1
1
  'use client';
2
- import R from "./index83.mjs";
3
- const { toString: T } = Object.prototype, { getPrototypeOf: A } = Object, { iterator: g, toStringTag: S } = Symbol, F = /* @__PURE__ */ ((e) => (t) => {
4
- const n = T.call(t);
5
- return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
6
- })(/* @__PURE__ */ Object.create(null)), f = (e) => (e = e.toLowerCase(), (t) => F(t) === e), O = (e) => (t) => typeof t === e, { isArray: p } = Array, a = O("undefined");
7
- function d(e) {
8
- return e !== null && !a(e) && e.constructor !== null && !a(e.constructor) && c(e.constructor.isBuffer) && e.constructor.isBuffer(e);
9
- }
10
- const B = f("ArrayBuffer");
11
- function M(e) {
12
- let t;
13
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && B(e.buffer), t;
14
- }
15
- const k = O("string"), c = O("function"), E = O("number"), y = (e) => e !== null && typeof e == "object", N = (e) => e === !0 || e === !1, w = (e) => {
16
- if (F(e) !== "object")
17
- return !1;
18
- const t = A(e);
19
- return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(S in e) && !(g in e);
20
- }, U = (e) => {
21
- if (!y(e) || d(e))
22
- return !1;
23
- try {
24
- return Object.keys(e).length === 0 && Object.getPrototypeOf(e) === Object.prototype;
25
- } catch {
26
- return !1;
27
- }
28
- }, I = f("Date"), V = f("File"), _ = f("Blob"), q = f("FileList"), H = (e) => y(e) && c(e.pipe), z = (e) => {
29
- let t;
30
- return e && (typeof FormData == "function" && e instanceof FormData || c(e.append) && ((t = F(e)) === "formdata" || // detect form-data instance
31
- t === "object" && c(e.toString) && e.toString() === "[object FormData]"));
32
- }, J = f("URLSearchParams"), [K, $, W, G] = ["ReadableStream", "Request", "Response", "Headers"].map(f), Q = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
33
- function m(e, t, { allOwnKeys: n = !1 } = {}) {
34
- if (e === null || typeof e > "u")
35
- return;
36
- let r, s;
37
- if (typeof e != "object" && (e = [e]), p(e))
38
- for (r = 0, s = e.length; r < s; r++)
39
- t.call(null, e[r], r, e);
40
- else {
41
- if (d(e))
42
- return;
43
- const o = n ? Object.getOwnPropertyNames(e) : Object.keys(e), i = o.length;
44
- let l;
45
- for (r = 0; r < i; r++)
46
- l = o[r], t.call(null, e[l], l, e);
47
- }
48
- }
49
- function P(e, t) {
50
- if (d(e))
51
- return null;
52
- t = t.toLowerCase();
53
- const n = Object.keys(e);
54
- let r = n.length, s;
55
- for (; r-- > 0; )
56
- if (s = n[r], t === s.toLowerCase())
57
- return s;
58
- return null;
59
- }
60
- const u = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, L = (e) => !a(e) && e !== u;
61
- function h() {
62
- const { caseless: e, skipUndefined: t } = L(this) && this || {}, n = {}, r = (s, o) => {
63
- const i = e && P(n, o) || o;
64
- w(n[i]) && w(s) ? n[i] = h(n[i], s) : w(s) ? n[i] = h({}, s) : p(s) ? n[i] = s.slice() : (!t || !a(s)) && (n[i] = s);
65
- };
66
- for (let s = 0, o = arguments.length; s < o; s++)
67
- arguments[s] && m(arguments[s], r);
68
- return n;
69
- }
70
- const X = (e, t, n, { allOwnKeys: r } = {}) => (m(t, (s, o) => {
71
- n && c(s) ? e[o] = R(s, n) : e[o] = s;
72
- }, { allOwnKeys: r }), e), Y = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Z = (e, t, n, r) => {
73
- e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
74
- value: t.prototype
75
- }), n && Object.assign(e.prototype, n);
76
- }, j = (e, t, n, r) => {
77
- let s, o, i;
78
- const l = {};
79
- if (t = t || {}, e == null) return t;
80
- do {
81
- for (s = Object.getOwnPropertyNames(e), o = s.length; o-- > 0; )
82
- i = s[o], (!r || r(i, e, t)) && !l[i] && (t[i] = e[i], l[i] = !0);
83
- e = n !== !1 && A(e);
84
- } while (e && (!n || n(e, t)) && e !== Object.prototype);
85
- return t;
86
- }, v = (e, t, n) => {
87
- e = String(e), (n === void 0 || n > e.length) && (n = e.length), n -= t.length;
88
- const r = e.indexOf(t, n);
89
- return r !== -1 && r === n;
90
- }, ee = (e) => {
91
- if (!e) return null;
92
- if (p(e)) return e;
93
- let t = e.length;
94
- if (!E(t)) return null;
95
- const n = new Array(t);
96
- for (; t-- > 0; )
97
- n[t] = e[t];
98
- return n;
99
- }, te = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && A(Uint8Array)), ne = (e, t) => {
100
- const r = (e && e[g]).call(e);
101
- let s;
102
- for (; (s = r.next()) && !s.done; ) {
103
- const o = s.value;
104
- t.call(e, o[0], o[1]);
105
- }
106
- }, re = (e, t) => {
107
- let n;
108
- const r = [];
109
- for (; (n = e.exec(t)) !== null; )
110
- r.push(n);
111
- return r;
112
- }, se = f("HTMLFormElement"), oe = (e) => e.toLowerCase().replace(
113
- /[-_\s]([a-z\d])(\w*)/g,
114
- function(n, r, s) {
115
- return r.toUpperCase() + s;
116
- }
117
- ), x = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), ie = f("RegExp"), C = (e, t) => {
118
- const n = Object.getOwnPropertyDescriptors(e), r = {};
119
- m(n, (s, o) => {
120
- let i;
121
- (i = t(s, o, e)) !== !1 && (r[o] = i || s);
122
- }), Object.defineProperties(e, r);
123
- }, ce = (e) => {
124
- C(e, (t, n) => {
125
- if (c(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
126
- return !1;
127
- const r = e[n];
128
- if (c(r)) {
129
- if (t.enumerable = !1, "writable" in t) {
130
- t.writable = !1;
131
- return;
132
- }
133
- t.set || (t.set = () => {
134
- throw Error("Can not rewrite read-only method '" + n + "'");
135
- });
136
- }
137
- });
138
- }, fe = (e, t) => {
139
- const n = {}, r = (s) => {
140
- s.forEach((o) => {
141
- n[o] = !0;
142
- });
143
- };
144
- return p(e) ? r(e) : r(String(e).split(t)), n;
145
- }, le = () => {
146
- }, ue = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
147
- function ae(e) {
148
- return !!(e && c(e.append) && e[S] === "FormData" && e[g]);
149
- }
150
- const pe = (e) => {
151
- const t = new Array(10), n = (r, s) => {
152
- if (y(r)) {
153
- if (t.indexOf(r) >= 0)
154
- return;
155
- if (d(r))
156
- return r;
157
- if (!("toJSON" in r)) {
158
- t[s] = r;
159
- const o = p(r) ? [] : {};
160
- return m(r, (i, l) => {
161
- const b = n(i, s + 1);
162
- !a(b) && (o[l] = b);
163
- }), t[s] = void 0, o;
164
- }
165
- }
166
- return r;
167
- };
168
- return n(e, 0);
169
- }, de = f("AsyncFunction"), ye = (e) => e && (y(e) || c(e)) && c(e.then) && c(e.catch), D = ((e, t) => e ? setImmediate : t ? ((n, r) => (u.addEventListener("message", ({ source: s, data: o }) => {
170
- s === u && o === n && r.length && r.shift()();
171
- }, !1), (s) => {
172
- r.push(s), u.postMessage(n, "*");
173
- }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
174
- typeof setImmediate == "function",
175
- c(u.postMessage)
176
- ), me = typeof queueMicrotask < "u" ? queueMicrotask.bind(u) : typeof process < "u" && process.nextTick || D, we = (e) => e != null && c(e[g]), Fe = {
177
- isArray: p,
178
- isArrayBuffer: B,
179
- isBuffer: d,
180
- isFormData: z,
181
- isArrayBufferView: M,
182
- isString: k,
183
- isNumber: E,
184
- isBoolean: N,
185
- isObject: y,
186
- isPlainObject: w,
187
- isEmptyObject: U,
188
- isReadableStream: K,
189
- isRequest: $,
190
- isResponse: W,
191
- isHeaders: G,
192
- isUndefined: a,
193
- isDate: I,
194
- isFile: V,
195
- isBlob: _,
196
- isRegExp: ie,
197
- isFunction: c,
198
- isStream: H,
199
- isURLSearchParams: J,
200
- isTypedArray: te,
201
- isFileList: q,
202
- forEach: m,
203
- merge: h,
204
- extend: X,
205
- trim: Q,
206
- stripBOM: Y,
207
- inherits: Z,
208
- toFlatObject: j,
209
- kindOf: F,
210
- kindOfTest: f,
211
- endsWith: v,
212
- toArray: ee,
213
- forEachEntry: ne,
214
- matchAll: re,
215
- isHTMLForm: se,
216
- hasOwnProperty: x,
217
- hasOwnProp: x,
218
- // an alias to avoid ESLint no-prototype-builtins detection
219
- reduceDescriptors: C,
220
- freezeMethods: ce,
221
- toObjectSet: fe,
222
- toCamelCase: oe,
223
- noop: le,
224
- toFiniteNumber: ue,
225
- findKey: P,
226
- global: u,
227
- isContextDefined: L,
228
- isSpecCompliantForm: ae,
229
- toJSONObject: pe,
230
- isAsyncFn: de,
231
- isThenable: ye,
232
- setImmediate: D,
233
- asap: me,
234
- isIterable: we
235
- };
2
+ var e = {};
236
3
  export {
237
- Fe as default
4
+ e as __exports
238
5
  };
package/dist/index83.mjs CHANGED
@@ -1,9 +1,5 @@
1
1
  'use client';
2
- function u(n, r) {
3
- return function() {
4
- return n.apply(r, arguments);
5
- };
6
- }
2
+ var r = {};
7
3
  export {
8
- u as default
4
+ r as __exports
9
5
  };