@instockng/storefront-ui 1.0.52 → 1.0.54

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 (237) hide show
  1. package/dist/components/Checkout.d.ts +2 -1
  2. package/dist/components/Checkout.d.ts.map +1 -1
  3. package/dist/components/ShoppingCart.d.ts +4 -1
  4. package/dist/components/ShoppingCart.d.ts.map +1 -1
  5. package/dist/index100.mjs +2 -21
  6. package/dist/index101.mjs +26 -20
  7. package/dist/index102.mjs +10 -13
  8. package/dist/index103.mjs +205 -55
  9. package/dist/index104.mjs +175 -13
  10. package/dist/index105.mjs +15 -32
  11. package/dist/index106.mjs +16 -17
  12. package/dist/index107.mjs +26 -27
  13. package/dist/index108.mjs +150 -21
  14. package/dist/index109.mjs +13 -12
  15. package/dist/index11.mjs +74 -67
  16. package/dist/index110.mjs +24 -14
  17. package/dist/index111.mjs +76 -39
  18. package/dist/index112.mjs +31 -16
  19. package/dist/index113.mjs +132 -255
  20. package/dist/index114.mjs +49 -64
  21. package/dist/index115.mjs +22 -7
  22. package/dist/index116.mjs +27 -2
  23. package/dist/index117.mjs +23 -2
  24. package/dist/index118.mjs +20 -28
  25. package/dist/index119.mjs +21 -2
  26. package/dist/index120.mjs +22 -34
  27. package/dist/index121.mjs +20 -42
  28. package/dist/index122.mjs +61 -231
  29. package/dist/index123.mjs +17 -5
  30. package/dist/index124.mjs +34 -129
  31. package/dist/index125.mjs +23 -67
  32. package/dist/index126.mjs +31 -84
  33. package/dist/index127.mjs +26 -28
  34. package/dist/index128.mjs +18 -8
  35. package/dist/index129.mjs +18 -72
  36. package/dist/index13.mjs +2 -2
  37. package/dist/index130.mjs +46 -3
  38. package/dist/index131.mjs +23 -2
  39. package/dist/index132.mjs +266 -81
  40. package/dist/index133.mjs +69 -53
  41. package/dist/index134.mjs +7 -5
  42. package/dist/index135.mjs +2 -5
  43. package/dist/index136.mjs +2 -179
  44. package/dist/index137.mjs +30 -50
  45. package/dist/index138.mjs +2 -69
  46. package/dist/index139.mjs +21 -2
  47. package/dist/index140.mjs +56 -2
  48. package/dist/index141.mjs +29 -2
  49. package/dist/index142.mjs +7 -2
  50. package/dist/index143.mjs +50 -16
  51. package/dist/index144.mjs +6 -32
  52. package/dist/index145.mjs +11 -37
  53. package/dist/index146.mjs +7 -18
  54. package/dist/index147.mjs +28 -18
  55. package/dist/index148.mjs +2 -2
  56. package/dist/index149.mjs +70 -20
  57. package/dist/index150.mjs +163 -42
  58. package/dist/index152.mjs +2 -30
  59. package/dist/index153.mjs +2 -18
  60. package/dist/index154.mjs +2 -2
  61. package/dist/index155.mjs +18 -2
  62. package/dist/index156.mjs +32 -2
  63. package/dist/index157.mjs +38 -2
  64. package/dist/index158.mjs +13 -67
  65. package/dist/index159.mjs +18 -2
  66. package/dist/index160.mjs +2 -53
  67. package/dist/index161.mjs +20 -2
  68. package/dist/index162.mjs +39 -29
  69. package/dist/index163.mjs +2 -152
  70. package/dist/index164.mjs +30 -2
  71. package/dist/index165.mjs +18 -2
  72. package/dist/index166.mjs +2 -19
  73. package/dist/index167.mjs +2 -2
  74. package/dist/index168.mjs +2 -2
  75. package/dist/index169.mjs +2 -26
  76. package/dist/index170.mjs +72 -2
  77. package/dist/index171.mjs +2 -2
  78. package/dist/index172.mjs +49 -20
  79. package/dist/index173.mjs +2 -23
  80. package/dist/index174.mjs +36 -2
  81. package/dist/index175.mjs +152 -2
  82. package/dist/index176.mjs +2 -2
  83. package/dist/index177.mjs +2 -23
  84. package/dist/index178.mjs +19 -2
  85. package/dist/index179.mjs +2 -23
  86. package/dist/index181.mjs +26 -2
  87. package/dist/index182.mjs +2 -2
  88. package/dist/index183.mjs +2 -23
  89. package/dist/index184.mjs +24 -2
  90. package/dist/index185.mjs +15 -15
  91. package/dist/index186.mjs +2 -2
  92. package/dist/index187.mjs +2 -2
  93. package/dist/index188.mjs +2 -2
  94. package/dist/index189.mjs +23 -2
  95. package/dist/index190.mjs +2 -2
  96. package/dist/index191.mjs +23 -2
  97. package/dist/index192.mjs +2 -2
  98. package/dist/index193.mjs +2 -2
  99. package/dist/index194.mjs +2 -127
  100. package/dist/index195.mjs +23 -2
  101. package/dist/index196.mjs +2 -74
  102. package/dist/index197.mjs +20 -71
  103. package/dist/index198.mjs +2 -2
  104. package/dist/index199.mjs +2 -108
  105. package/dist/index200.mjs +2 -2
  106. package/dist/index201.mjs +2 -2
  107. package/dist/index202.mjs +2 -2
  108. package/dist/index203.mjs +2 -2
  109. package/dist/index204.mjs +2 -2
  110. package/dist/index205.mjs +2 -2
  111. package/dist/index206.mjs +127 -2
  112. package/dist/index207.mjs +2 -2
  113. package/dist/index208.mjs +74 -2
  114. package/dist/index209.mjs +74 -2
  115. package/dist/index210.mjs +30 -36
  116. package/dist/index211.mjs +11 -2
  117. package/dist/index212.mjs +3 -243
  118. package/dist/index213.mjs +4 -2
  119. package/dist/index214.mjs +13 -33
  120. package/dist/index215.mjs +7 -65
  121. package/dist/index216.mjs +11 -24
  122. package/dist/index217.mjs +5 -2
  123. package/dist/index218.mjs +33 -2
  124. package/dist/index219.mjs +31 -2
  125. package/dist/index220.mjs +27 -20
  126. package/dist/index221.mjs +58 -53
  127. package/dist/index222.mjs +2 -29
  128. package/dist/index223.mjs +2 -7
  129. package/dist/index224.mjs +2 -52
  130. package/dist/index225.mjs +2 -6
  131. package/dist/index226.mjs +2 -12
  132. package/dist/index227.mjs +2 -7
  133. package/dist/index228.mjs +108 -28
  134. package/dist/index229.mjs +2 -2
  135. package/dist/index230.mjs +2 -70
  136. package/dist/index231.mjs +34 -164
  137. package/dist/index232.mjs +2 -2
  138. package/dist/index233.mjs +244 -2
  139. package/dist/index234.mjs +2 -2
  140. package/dist/index235.mjs +33 -2
  141. package/dist/index236.mjs +65 -2
  142. package/dist/index237.mjs +25 -2
  143. package/dist/index238.mjs +2 -4
  144. package/dist/index239.mjs +2 -2
  145. package/dist/index241.mjs +2 -2
  146. package/dist/index243.mjs +2 -18
  147. package/dist/index244.mjs +2 -47
  148. package/dist/index245.mjs +2 -2
  149. package/dist/index246.mjs +2 -2
  150. package/dist/index247.mjs +2 -2
  151. package/dist/index248.mjs +2 -2
  152. package/dist/index249.mjs +2 -91
  153. package/dist/index250.mjs +4 -2
  154. package/dist/index251.mjs +2 -31
  155. package/dist/index252.mjs +2 -11
  156. package/dist/index253.mjs +2 -3
  157. package/dist/index254.mjs +2 -4
  158. package/dist/index255.mjs +1 -12
  159. package/dist/index256.mjs +17 -7
  160. package/dist/index257.mjs +12 -11
  161. package/dist/index258.mjs +6 -5
  162. package/dist/index259.mjs +30 -33
  163. package/dist/index260.mjs +2 -31
  164. package/dist/index261.mjs +2 -28
  165. package/dist/index262.mjs +2 -61
  166. package/dist/index263.mjs +18 -2
  167. package/dist/index264.mjs +47 -2
  168. package/dist/index265.mjs +2 -2
  169. package/dist/index266.mjs +2 -3
  170. package/dist/index267.mjs +2 -2
  171. package/dist/index268.mjs +91 -2
  172. package/dist/index269.mjs +2 -17
  173. package/dist/index270.mjs +2 -13
  174. package/dist/index271.mjs +2 -6
  175. package/dist/index272.mjs +2 -30
  176. package/dist/index33.mjs +1 -1
  177. package/dist/index34.mjs +1 -1
  178. package/dist/index35.mjs +1 -1
  179. package/dist/index36.mjs +1 -1
  180. package/dist/index37.mjs +1 -1
  181. package/dist/index38.mjs +1 -1
  182. package/dist/index40.mjs +2 -2
  183. package/dist/index43.mjs +3 -3
  184. package/dist/index44.mjs +19 -19
  185. package/dist/index47.mjs +1 -1
  186. package/dist/index52.mjs +17 -17
  187. package/dist/index53.mjs +2 -2
  188. package/dist/index54.mjs +1 -1
  189. package/dist/index55.mjs +1 -1
  190. package/dist/index56.mjs +1 -1
  191. package/dist/index57.mjs +1 -1
  192. package/dist/index58.mjs +1 -1
  193. package/dist/index59.mjs +1 -1
  194. package/dist/index60.mjs +1 -1
  195. package/dist/index61.mjs +1 -1
  196. package/dist/index62.mjs +1 -1
  197. package/dist/index63.mjs +1 -1
  198. package/dist/index64.mjs +1 -1
  199. package/dist/index65.mjs +4 -23
  200. package/dist/index66.mjs +19 -149
  201. package/dist/index67.mjs +21 -20
  202. package/dist/index69.mjs +149 -71
  203. package/dist/index70.mjs +74 -14
  204. package/dist/index71.mjs +14 -62
  205. package/dist/index72.mjs +63 -2
  206. package/dist/index73.mjs +234 -5
  207. package/dist/index74.mjs +5 -1133
  208. package/dist/index75.mjs +131 -17
  209. package/dist/index76.mjs +67 -54
  210. package/dist/index77.mjs +84 -30
  211. package/dist/index78.mjs +29 -2
  212. package/dist/index79.mjs +8 -4
  213. package/dist/index80.mjs +75 -2
  214. package/dist/index81.mjs +4 -2
  215. package/dist/index82.mjs +2 -28
  216. package/dist/index83.mjs +81 -16
  217. package/dist/index84.mjs +53 -214
  218. package/dist/index85.mjs +5 -179
  219. package/dist/index86.mjs +4 -21
  220. package/dist/index87.mjs +176 -20
  221. package/dist/index88.mjs +52 -32
  222. package/dist/index89.mjs +69 -156
  223. package/dist/index90.mjs +34 -20
  224. package/dist/index91.mjs +42 -30
  225. package/dist/index92.mjs +2 -84
  226. package/dist/index93.mjs +5 -37
  227. package/dist/index94.mjs +1109 -120
  228. package/dist/index95.mjs +16 -51
  229. package/dist/index96.mjs +51 -19
  230. package/dist/index97.mjs +26 -20
  231. package/dist/index98.mjs +2 -23
  232. package/dist/index99.mjs +2 -25
  233. package/dist/styles.css +1 -1
  234. package/package.json +1 -1
  235. package/src/components/Checkout.tsx +3 -3
  236. package/src/components/PostPurchaseUpsell.tsx +3 -3
  237. package/src/components/ShoppingCart.tsx +10 -3
package/dist/index114.mjs CHANGED
@@ -1,73 +1,58 @@
1
1
  'use client';
2
- import { __exports as n } from "./index193.mjs";
3
- import { __require as c } from "./index194.mjs";
4
- var u;
5
- function y() {
6
- return u ? n : (u = 1, function(a) {
7
- Object.defineProperty(a, "__esModule", {
2
+ import { __exports as c } from "./index179.mjs";
3
+ import { __require as y } from "./index101.mjs";
4
+ import { __require as U } from "./index172.mjs";
5
+ var l;
6
+ function x() {
7
+ return l ? c : (l = 1, function(h) {
8
+ Object.defineProperty(h, "__esModule", {
8
9
  value: !0
9
- }), Object.defineProperty(a, "BloomFilter", {
10
- enumerable: !0,
11
- get: function() {
12
- return i;
13
- }
14
10
  });
15
- function l(o) {
16
- let t = 0;
17
- for (let e = 0; e < o.length; e++) {
18
- const r = o.charCodeAt(e);
19
- t = Math.imul(t ^ r, 1540483477), t ^= t >>> 13, t = Math.imul(t, 1540483477);
20
- }
21
- return t >>> 0;
11
+ function m(e, t) {
12
+ for (var o in t) Object.defineProperty(e, o, {
13
+ enumerable: !0,
14
+ get: t[o]
15
+ });
22
16
  }
23
- const s = 1e-4;
24
- class i {
25
- static from(t, e) {
26
- e === void 0 && (e = s);
27
- const r = new i(t.length, e);
28
- for (const h of t)
29
- r.add(h);
30
- return r;
31
- }
32
- export() {
33
- const t = {
34
- numItems: this.numItems,
35
- errorRate: this.errorRate,
36
- numBits: this.numBits,
37
- numHashes: this.numHashes,
38
- bitArray: this.bitArray
39
- };
40
- if (process.env.NEXT_RUNTIME === "nodejs" && this.errorRate < s) {
41
- const e = JSON.stringify(t), r = c().sync(e);
42
- r > 1024 && console.warn("Creating filter with error rate less than 0.1% (0.001) can increase the size dramatically proceed with caution. Received error rate " + this.errorRate + " resulted in size " + e.length + " bytes, " + r + " bytes (gzip)");
43
- }
44
- return t;
45
- }
46
- import(t) {
47
- this.numItems = t.numItems, this.errorRate = t.errorRate, this.numBits = t.numBits, this.numHashes = t.numHashes, this.bitArray = t.bitArray;
48
- }
49
- add(t) {
50
- this.getHashValues(t).forEach((r) => {
51
- this.bitArray[r] = 1;
52
- });
53
- }
54
- contains(t) {
55
- return this.getHashValues(t).every((r) => this.bitArray[r]);
56
- }
57
- getHashValues(t) {
58
- const e = [];
59
- for (let r = 1; r <= this.numHashes; r++) {
60
- const h = l("" + t + r) % this.numBits;
61
- e.push(h);
62
- }
63
- return e;
64
- }
65
- constructor(t, e = s) {
66
- this.numItems = t, this.errorRate = e, this.numBits = Math.ceil(-(t * Math.log(e)) / (Math.log(2) * Math.log(2))), this.numHashes = Math.ceil(this.numBits / t * Math.log(2)), this.bitArray = new Array(this.numBits).fill(0);
17
+ m(h, {
18
+ formatUrl: function() {
19
+ return p;
20
+ },
21
+ formatWithValidation: function() {
22
+ return q;
23
+ },
24
+ urlObjectKeys: function() {
25
+ return u;
67
26
  }
27
+ });
28
+ const _ = /* @__PURE__ */ y()._(U()), d = /https?|ftp|gopher|file/;
29
+ function p(e) {
30
+ let { auth: t, hostname: o } = e, a = e.protocol || "", n = e.pathname || "", f = e.hash || "", s = e.query || "", r = !1;
31
+ t = t ? encodeURIComponent(t).replace(/%3A/i, ":") + "@" : "", e.host ? r = t + e.host : o && (r = t + (~o.indexOf(":") ? "[" + o + "]" : o), e.port && (r += ":" + e.port)), s && typeof s == "object" && (s = String(_.urlQueryToSearchParams(s)));
32
+ let i = e.search || s && "?" + s || "";
33
+ return a && !a.endsWith(":") && (a += ":"), e.slashes || (!a || d.test(a)) && r !== !1 ? (r = "//" + (r || ""), n && n[0] !== "/" && (n = "/" + n)) : r || (r = ""), f && f[0] !== "#" && (f = "#" + f), i && i[0] !== "?" && (i = "?" + i), n = n.replace(/[?#]/g, encodeURIComponent), i = i.replace("#", "%23"), "" + a + r + n + i + f;
34
+ }
35
+ const u = [
36
+ "auth",
37
+ "hash",
38
+ "host",
39
+ "hostname",
40
+ "href",
41
+ "path",
42
+ "pathname",
43
+ "port",
44
+ "protocol",
45
+ "query",
46
+ "search",
47
+ "slashes"
48
+ ];
49
+ function q(e) {
50
+ return process.env.NODE_ENV === "development" && e !== null && typeof e == "object" && Object.keys(e).forEach((t) => {
51
+ u.includes(t) || console.warn("Unknown key passed via urlObject into url.format: " + t);
52
+ }), p(e);
68
53
  }
69
- }(n), n);
54
+ }(c), c);
70
55
  }
71
56
  export {
72
- y as __require
57
+ x as __require
73
58
  };
package/dist/index115.mjs CHANGED
@@ -1,11 +1,26 @@
1
1
  'use client';
2
- import { __module as e } from "./index195.mjs";
3
- import { __require as o } from "./index196.mjs";
4
- import { __require as t } from "./index197.mjs";
5
- var r;
6
- function p() {
7
- return r ? e.exports : (r = 1, process.env.NODE_ENV === "production" ? e.exports = o() : e.exports = t(), e.exports);
2
+ import { __module as u } from "./index180.mjs";
3
+ import { __require as c } from "./index181.mjs";
4
+ var a;
5
+ function d() {
6
+ return a ? u.exports : (a = 1, function(o, e) {
7
+ Object.defineProperty(e, "__esModule", {
8
+ value: !0
9
+ }), Object.defineProperty(e, "detectDomainLocale", {
10
+ enumerable: !0,
11
+ get: function() {
12
+ return i;
13
+ }
14
+ });
15
+ const i = function() {
16
+ for (var n = arguments.length, r = new Array(n), t = 0; t < n; t++)
17
+ r[t] = arguments[t];
18
+ if (process.env.__NEXT_I18N_SUPPORT)
19
+ return c().detectDomainLocale(...r);
20
+ };
21
+ (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), o.exports = e.default);
22
+ }(u, u.exports), u.exports);
8
23
  }
9
24
  export {
10
- p as __require
25
+ d as __require
11
26
  };
package/dist/index116.mjs CHANGED
@@ -1,5 +1,30 @@
1
1
  'use client';
2
- var e = {};
2
+ import { __exports as u } from "./index182.mjs";
3
+ var a;
4
+ function f() {
5
+ return a ? u : (a = 1, function(s) {
6
+ Object.defineProperty(s, "__esModule", {
7
+ value: !0
8
+ }), Object.defineProperty(s, "parsePath", {
9
+ enumerable: !0,
10
+ get: function() {
11
+ return i;
12
+ }
13
+ });
14
+ function i(r) {
15
+ const e = r.indexOf("#"), n = r.indexOf("?"), t = n > -1 && (e < 0 || n < e);
16
+ return t || e > -1 ? {
17
+ pathname: r.substring(0, t ? n : e),
18
+ query: t ? r.substring(n, e > -1 ? e : void 0) : "",
19
+ hash: e > -1 ? r.slice(e) : ""
20
+ } : {
21
+ pathname: r,
22
+ query: "",
23
+ hash: ""
24
+ };
25
+ }
26
+ }(u), u);
27
+ }
3
28
  export {
4
- e as __exports
29
+ f as __require
5
30
  };
package/dist/index117.mjs CHANGED
@@ -1,5 +1,26 @@
1
1
  'use client';
2
- var r = {};
2
+ import { __module as a } from "./index183.mjs";
3
+ import { __require as f } from "./index184.mjs";
4
+ import { __require as c } from "./index185.mjs";
5
+ var i;
6
+ function g() {
7
+ return i ? a.exports : (i = 1, function(o, e) {
8
+ Object.defineProperty(e, "__esModule", {
9
+ value: !0
10
+ }), Object.defineProperty(e, "addLocale", {
11
+ enumerable: !0,
12
+ get: function() {
13
+ return l;
14
+ }
15
+ });
16
+ const d = f(), l = function(t) {
17
+ for (var u = arguments.length, n = new Array(u > 1 ? u - 1 : 0), r = 1; r < u; r++)
18
+ n[r - 1] = arguments[r];
19
+ return process.env.__NEXT_I18N_SUPPORT ? (0, d.normalizePathTrailingSlash)(c().addLocale(t, ...n)) : t;
20
+ };
21
+ (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), o.exports = e.default);
22
+ }(a, a.exports), a.exports);
23
+ }
3
24
  export {
4
- r as __exports
25
+ g as __require
5
26
  };
package/dist/index118.mjs CHANGED
@@ -1,36 +1,28 @@
1
1
  'use client';
2
- import { __exports as r } from "./index139.mjs";
3
- var c;
4
- function b() {
5
- return c ? r : (c = 1, function(n) {
6
- Object.defineProperty(n, "__esModule", {
2
+ import { __module as o } from "./index186.mjs";
3
+ import { __require as d } from "./index116.mjs";
4
+ var f;
5
+ function m() {
6
+ return f ? o.exports : (f = 1, function(i, e) {
7
+ Object.defineProperty(e, "__esModule", {
7
8
  value: !0
8
- });
9
- function u(e, t) {
10
- for (var i in t) Object.defineProperty(e, i, {
11
- enumerable: !0,
12
- get: t[i]
13
- });
14
- }
15
- u(n, {
16
- getObjectClassLabel: function() {
17
- return o;
18
- },
19
- isPlainObject: function() {
20
- return s;
9
+ }), Object.defineProperty(e, "removeLocale", {
10
+ enumerable: !0,
11
+ get: function() {
12
+ return c;
21
13
  }
22
14
  });
23
- function o(e) {
24
- return Object.prototype.toString.call(e);
25
- }
26
- function s(e) {
27
- if (o(e) !== "[object Object]")
28
- return !1;
29
- const t = Object.getPrototypeOf(e);
30
- return t === null || t.hasOwnProperty("isPrototypeOf");
15
+ const l = d();
16
+ function c(r, t) {
17
+ if (process.env.__NEXT_I18N_SUPPORT) {
18
+ const { pathname: u } = (0, l.parsePath)(r), n = u.toLowerCase(), a = t == null ? void 0 : t.toLowerCase();
19
+ return t && (n.startsWith("/" + a + "/") || n === "/" + a) ? (u.length === t.length + 1 ? "/" : "") + r.slice(t.length + 1) : r;
20
+ }
21
+ return r;
31
22
  }
32
- }(r), r);
23
+ (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), i.exports = e.default);
24
+ }(o, o.exports), o.exports);
33
25
  }
34
26
  export {
35
- b as __require
27
+ m as __require
36
28
  };
package/dist/index119.mjs CHANGED
@@ -1,5 +1,24 @@
1
1
  'use client';
2
- var e = { exports: {} };
2
+ import { __module as r } from "./index187.mjs";
3
+ import { __require as o } from "./index121.mjs";
4
+ var a;
5
+ function l() {
6
+ return a ? r.exports : (a = 1, function(n, e) {
7
+ Object.defineProperty(e, "__esModule", {
8
+ value: !0
9
+ }), Object.defineProperty(e, "removeBasePath", {
10
+ enumerable: !0,
11
+ get: function() {
12
+ return i;
13
+ }
14
+ });
15
+ const f = o(), u = process.env.__NEXT_ROUTER_BASEPATH || "";
16
+ function i(t) {
17
+ return process.env.__NEXT_MANUAL_CLIENT_BASE_PATH && !(0, f.hasBasePath)(t) || u.length === 0 || (t = t.slice(u.length), t.startsWith("/") || (t = "/" + t)), t;
18
+ }
19
+ (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), n.exports = e.default);
20
+ }(r, r.exports), r.exports);
21
+ }
3
22
  export {
4
- e as __module
23
+ l as __require
5
24
  };
package/dist/index120.mjs CHANGED
@@ -1,37 +1,25 @@
1
1
  'use client';
2
- var a = (i, t, e = {}) => {
3
- let r = `${i}=${t}`;
4
- if (i.startsWith("__Secure-") && !e.secure)
5
- throw new Error("__Secure- Cookie must have Secure attributes");
6
- if (i.startsWith("__Host-")) {
7
- if (!e.secure)
8
- throw new Error("__Host- Cookie must have Secure attributes");
9
- if (e.path !== "/")
10
- throw new Error('__Host- Cookie must have Path attributes with "/"');
11
- if (e.domain)
12
- throw new Error("__Host- Cookie must not have Domain attributes");
13
- }
14
- if (e && typeof e.maxAge == "number" && e.maxAge >= 0) {
15
- if (e.maxAge > 3456e4)
16
- throw new Error(
17
- "Cookies Max-Age SHOULD NOT be greater than 400 days (34560000 seconds) in duration."
18
- );
19
- r += `; Max-Age=${e.maxAge | 0}`;
20
- }
21
- if (e.domain && e.prefix !== "host" && (r += `; Domain=${e.domain}`), e.path && (r += `; Path=${e.path}`), e.expires) {
22
- if (e.expires.getTime() - Date.now() > 3456e7)
23
- throw new Error(
24
- "Cookies Expires SHOULD NOT be greater than 400 days (34560000 seconds) in the future."
25
- );
26
- r += `; Expires=${e.expires.toUTCString()}`;
27
- }
28
- if (e.httpOnly && (r += "; HttpOnly"), e.secure && (r += "; Secure"), e.sameSite && (r += `; SameSite=${e.sameSite.charAt(0).toUpperCase() + e.sameSite.slice(1)}`), e.priority && (r += `; Priority=${e.priority.charAt(0).toUpperCase() + e.priority.slice(1)}`), e.partitioned) {
29
- if (!e.secure)
30
- throw new Error("Partitioned Cookie must have Secure attributes");
31
- r += "; Partitioned";
32
- }
33
- return r;
34
- }, s = (i, t, e) => (t = encodeURIComponent(t), a(i, t, e));
2
+ import { __module as a } from "./index188.mjs";
3
+ import { __require as _ } from "./index189.mjs";
4
+ import { __require as l } from "./index184.mjs";
5
+ var t;
6
+ function h() {
7
+ return t ? a.exports : (t = 1, function(u, e) {
8
+ Object.defineProperty(e, "__esModule", {
9
+ value: !0
10
+ }), Object.defineProperty(e, "addBasePath", {
11
+ enumerable: !0,
12
+ get: function() {
13
+ return f;
14
+ }
15
+ });
16
+ const i = _(), d = l(), n = process.env.__NEXT_ROUTER_BASEPATH || "";
17
+ function f(r, o) {
18
+ return (0, d.normalizePathTrailingSlash)(process.env.__NEXT_MANUAL_CLIENT_BASE_PATH && !o ? r : (0, i.addPathPrefix)(r, n));
19
+ }
20
+ (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), u.exports = e.default);
21
+ }(a, a.exports), a.exports);
22
+ }
35
23
  export {
36
- s as serialize
24
+ h as __require
37
25
  };
package/dist/index121.mjs CHANGED
@@ -1,46 +1,24 @@
1
1
  'use client';
2
- var s = (e, r) => (e = e.replace(/\/+$/, ""), e = e + "/", r = r.replace(/^\/+/, ""), e + r), p = (e, r) => {
3
- for (const [n, t] of Object.entries(r)) {
4
- const c = new RegExp("/:" + n + "(?:{[^/]+})?\\??");
5
- e = e.replace(c, t ? `/${t}` : "");
6
- }
7
- return e;
8
- }, f = (e) => {
9
- const r = new URLSearchParams();
10
- for (const [n, t] of Object.entries(e))
11
- if (t !== void 0)
12
- if (Array.isArray(t))
13
- for (const c of t)
14
- r.append(n, c);
15
- else
16
- r.set(n, t);
17
- return r;
18
- }, i = (e, r) => {
19
- switch (r) {
20
- case "ws":
21
- return e.replace(/^http/, "ws");
22
- case "http":
23
- return e.replace(/^ws/, "http");
24
- }
25
- }, l = (e) => /^https?:\/\/[^\/]+?\/index(?=\?|$)/.test(e) ? e.replace(/\/index(?=\?|$)/, "/") : e.replace(/\/index(?=\?|$)/, "");
26
- function a(e) {
27
- return typeof e == "object" && e !== null && !Array.isArray(e);
28
- }
29
- function o(e, r) {
30
- if (!a(e) && !a(r))
31
- return r;
32
- const n = { ...e };
33
- for (const t in r) {
34
- const c = r[t];
35
- a(n[t]) && a(c) ? n[t] = o(n[t], c) : n[t] = c;
36
- }
37
- return n;
2
+ import { __module as t } from "./index190.mjs";
3
+ import { __require as s } from "./index191.mjs";
4
+ var a;
5
+ function _() {
6
+ return a ? t.exports : (a = 1, function(u, e) {
7
+ Object.defineProperty(e, "__esModule", {
8
+ value: !0
9
+ }), Object.defineProperty(e, "hasBasePath", {
10
+ enumerable: !0,
11
+ get: function() {
12
+ return n;
13
+ }
14
+ });
15
+ const r = s(), f = process.env.__NEXT_ROUTER_BASEPATH || "";
16
+ function n(i) {
17
+ return (0, r.pathHasPrefix)(i, f);
18
+ }
19
+ (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), u.exports = e.default);
20
+ }(t, t.exports), t.exports);
38
21
  }
39
22
  export {
40
- f as buildSearchParams,
41
- o as deepMerge,
42
- s as mergePath,
43
- l as removeIndexString,
44
- p as replaceUrlParam,
45
- i as replaceUrlProtocol
23
+ _ as __require
46
24
  };