@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/index80.mjs CHANGED
@@ -1,222 +1,36 @@
1
1
  'use client';
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
- }
2
+ import { __module as u } from "./index140.mjs";
3
+ import d from "react/jsx-runtime";
4
+ import "react";
5
+ import { __require as c } from "./index68.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;
80
15
  }
81
16
  });
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);
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
+ });
133
24
  }
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;
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 + ")";
28
+ }
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
+ }
220
34
  export {
221
- qe as i
35
+ y as __require
222
36
  };
package/dist/index81.mjs CHANGED
@@ -1,62 +1,5 @@
1
1
  'use client';
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
- }
2
+ var e = {};
60
3
  export {
61
- v as __require
4
+ e as __exports
62
5
  };
package/dist/index82.mjs CHANGED
@@ -1,5 +1,238 @@
1
1
  'use client';
2
- var e = {};
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
+ };
3
236
  export {
4
- e as __exports
237
+ Fe as default
5
238
  };
package/dist/index83.mjs CHANGED
@@ -1,5 +1,9 @@
1
1
  'use client';
2
- var r = {};
2
+ function u(n, r) {
3
+ return function() {
4
+ return n.apply(r, arguments);
5
+ };
6
+ }
3
7
  export {
4
- r as __exports
8
+ u as default
5
9
  };