@instockng/storefront-ui 1.0.20 → 1.0.22

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 (117) hide show
  1. package/dist/components/ui/modal.d.ts +1 -1
  2. package/dist/components/ui/modal.d.ts.map +1 -1
  3. package/dist/contexts/CartContext.d.ts +2 -0
  4. package/dist/contexts/CartContext.d.ts.map +1 -1
  5. package/dist/index134.mjs +2 -2
  6. package/dist/index135.mjs +1 -1
  7. package/dist/index136.mjs +6 -6
  8. package/dist/index137.mjs +2 -2
  9. package/dist/index138.mjs +2 -2
  10. package/dist/index140.mjs +2 -2
  11. package/dist/index141.mjs +2 -2
  12. package/dist/index142.mjs +1 -1
  13. package/dist/index144.mjs +8 -8
  14. package/dist/index145.mjs +8 -8
  15. package/dist/index150.mjs +1 -1
  16. package/dist/index151.mjs +1 -1
  17. package/dist/index152.mjs +1 -1
  18. package/dist/index153.mjs +1 -1
  19. package/dist/index154.mjs +1 -1
  20. package/dist/index156.mjs +1 -1
  21. package/dist/index157.mjs +1 -1
  22. package/dist/index159.mjs +2 -2
  23. package/dist/index160.mjs +1 -1
  24. package/dist/index167.mjs +1 -1
  25. package/dist/index169.mjs +2 -2
  26. package/dist/index170.mjs +5 -5
  27. package/dist/index173.mjs +1 -1
  28. package/dist/index186.mjs +1 -1
  29. package/dist/index190.mjs +1 -1
  30. package/dist/index192.mjs +1 -1
  31. package/dist/index203.mjs +1 -1
  32. package/dist/index204.mjs +1 -1
  33. package/dist/index205.mjs +2 -2
  34. package/dist/index206.mjs +2 -108
  35. package/dist/index207.mjs +2 -2
  36. package/dist/index208.mjs +2 -2
  37. package/dist/index209.mjs +2 -2
  38. package/dist/index210.mjs +2 -2
  39. package/dist/index211.mjs +2 -2
  40. package/dist/index212.mjs +2 -2
  41. package/dist/index213.mjs +108 -2
  42. package/dist/index214.mjs +2 -2
  43. package/dist/index216.mjs +3 -3
  44. package/dist/index217.mjs +2 -2
  45. package/dist/index218.mjs +244 -2
  46. package/dist/index219.mjs +2 -244
  47. package/dist/index220.mjs +33 -2
  48. package/dist/index221.mjs +60 -28
  49. package/dist/index222.mjs +20 -60
  50. package/dist/index223.mjs +2 -25
  51. package/dist/index224.mjs +2 -2
  52. package/dist/index229.mjs +2 -2
  53. package/dist/index230.mjs +2 -2
  54. package/dist/index234.mjs +2 -31
  55. package/dist/index235.mjs +2 -11
  56. package/dist/index236.mjs +30 -3
  57. package/dist/index237.mjs +10 -3
  58. package/dist/index238.mjs +4 -13
  59. package/dist/index239.mjs +4 -7
  60. package/dist/index240.mjs +13 -12
  61. package/dist/index241.mjs +7 -5
  62. package/dist/index242.mjs +12 -33
  63. package/dist/index243.mjs +5 -31
  64. package/dist/index244.mjs +32 -27
  65. package/dist/index245.mjs +28 -58
  66. package/dist/index246.mjs +28 -2
  67. package/dist/index247.mjs +61 -2
  68. package/dist/index248.mjs +2 -2
  69. package/dist/index249.mjs +18 -2
  70. package/dist/index25.mjs +48 -48
  71. package/dist/index250.mjs +42 -13
  72. package/dist/index251.mjs +2 -47
  73. package/dist/index252.mjs +2 -2
  74. package/dist/index253.mjs +2 -2
  75. package/dist/index254.mjs +2 -2
  76. package/dist/index255.mjs +91 -2
  77. package/dist/index256.mjs +2 -91
  78. package/dist/index258.mjs +1 -1
  79. package/dist/index264.mjs +1 -1
  80. package/dist/index3.mjs +133 -102
  81. package/dist/index32.mjs +26 -26
  82. package/dist/index37.mjs +72 -52
  83. package/dist/index38.mjs +1 -1
  84. package/dist/index4.mjs +53 -48
  85. package/dist/index42.mjs +1 -1
  86. package/dist/index47.mjs +17 -17
  87. package/dist/index48.mjs +2 -2
  88. package/dist/index62.mjs +19 -149
  89. package/dist/index63.mjs +149 -19
  90. package/dist/index66.mjs +1 -1
  91. package/dist/index73.mjs +1 -1
  92. package/dist/index75.mjs +2 -235
  93. package/dist/index76.mjs +233 -4
  94. package/dist/index77.mjs +5 -133
  95. package/dist/index78.mjs +129 -63
  96. package/dist/index79.mjs +67 -86
  97. package/dist/index80.mjs +85 -27
  98. package/dist/index81.mjs +28 -8
  99. package/dist/index82.mjs +8 -74
  100. package/dist/index83.mjs +74 -3
  101. package/dist/index84.mjs +4 -2
  102. package/dist/index85.mjs +2 -83
  103. package/dist/index86.mjs +81 -52
  104. package/dist/index87.mjs +53 -5
  105. package/dist/index88.mjs +5 -4
  106. package/dist/index89.mjs +4 -178
  107. package/dist/index90.mjs +174 -48
  108. package/dist/index91.mjs +51 -67
  109. package/dist/index92.mjs +69 -34
  110. package/dist/index93.mjs +31 -40
  111. package/dist/index94.mjs +43 -2
  112. package/dist/providers/MetaPixelProvider.d.ts +10 -5
  113. package/dist/providers/MetaPixelProvider.d.ts.map +1 -1
  114. package/package.json +9 -10
  115. package/src/components/ui/modal.tsx +1 -1
  116. package/src/contexts/CartContext.tsx +69 -6
  117. package/src/providers/MetaPixelProvider.tsx +46 -30
@@ -27,5 +27,5 @@ export interface ModalProps {
27
27
  /** Whether to show the close button */
28
28
  showCloseButton?: boolean;
29
29
  }
30
- export declare function Modal({ isOpen, onClose, title, children, footer, className, contentClassName, size, closeOnOverlayClick, showCloseButton, }: ModalProps): JSX.Element | null;
30
+ export declare function Modal({ isOpen, onClose, title, children, footer, className, contentClassName, size, closeOnOverlayClick, showCloseButton, }: ModalProps): React.ReactElement | null;
31
31
  //# sourceMappingURL=modal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../../src/components/ui/modal.tsx"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH,OAAO,KAAsC,MAAM,OAAO,CAAC;AAK3D,MAAM,WAAW,UAAU;IACzB,gCAAgC;IAChC,MAAM,EAAE,OAAO,CAAC;IAChB,uCAAuC;IACvC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,mDAAmD;IACnD,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,oBAAoB;IACpB,QAAQ,EAAE,KAAK,CAAC,SAAS,C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C;IAC1C,oDAAoD;IACpD,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,uCAAuC;IACvC,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,wBAAgB,KAAK,CAAC,EACpB,MAAM,EACN,OAAO,EACP,KAAK,EACL,QAAQ,EACR,MAAM,EACN,SAAS,EACT,gBAAgB,EAChB,IAAW,EACX,mBAA0B,EAC1B,eAAsB,GACvB,EAAE,UAAU,GAAG,KAAK,CAAC,YAAY,GAAG,IAAI,CAoIxC"}
@@ -30,6 +30,8 @@ interface CartContextValue {
30
30
  applyDiscount: (code: string) => Promise<void>;
31
31
  /** Remove discount code */
32
32
  removeDiscount: () => Promise<void>;
33
+ /** Track InitiateCheckout event (call when user starts checkout flow) */
34
+ trackCheckoutInitiated: () => void;
33
35
  /** Clear cart (removes from localStorage) */
34
36
  clearCart: () => void;
35
37
  /** Clear cart and create a new one immediately */
@@ -1 +1 @@
1
- {"version":3,"file":"CartContext.d.ts","sourceRoot":"","sources":["../../src/contexts/CartContext.tsx"],"names":[],"mappings":"AAEA;;;;;;GAMG;AAEH,OAAO,EAAkD,SAAS,EAAuB,MAAM,OAAO,CAAC;AACvG,OAAO,EAGL,aAAa,EAMb,eAAe,EACf,KAAK,IAAI,EACV,MAAM,uBAAuB,CAAC;AAM/B,UAAU,gBAAgB;IACxB,wBAAwB;IACxB,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,mDAAmD;IACnD,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,oBAAoB;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,kBAAkB;IAClB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,gDAAgD;IAChD,kBAAkB,EAAE,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC;IACrD,+CAA+C;IAC/C,gBAAgB,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;IACrD,uDAAuD;IACvD,OAAO,EAAE,CAAC,WAAW,E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,CAAC;IACpC,yEAAyE;IACzE,sBAAsB,EAAE,MAAM,IAAI,CAAC;IACnC,6CAA6C;IAC7C,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,kDAAkD;IAClD,qBAAqB,EAAE,MAAM,IAAI,CAAC;IAClC,wBAAwB;IACxB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,qCAAqC;IACrC,MAAM,EAAE,OAAO,CAAC;IAChB,0BAA0B;IAC1B,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,2BAA2B;IAC3B,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAED,eAAO,MAAM,WAAW,kDAA+C,CAAC;AAExE,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,SAAS,CAAC;IACpB,qCAAqC;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,wDAAwD;IACxD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,kDAAkD;IAClD,iBAAiB,CAAC,EAAE,IAAI,CAAC,OAAO,4BAA4B,EAAE,iBAAiB,EAAE,QAAQ,GAAG,SAAS,CAAC,CAAC;CACxG;AAED,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,aAAa,EAAE,iBAAiB,EAAE,EAAE,iBAAiB,2CAyUxG;AAED;;GAEG;AACH,wBAAgB,OAAO,qBAMtB"}
package/dist/index134.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
- import f from "./index75.mjs";
3
- import d from "./index234.mjs";
2
+ import f from "./index76.mjs";
3
+ import d from "./index236.mjs";
4
4
  function l(e) {
5
5
  return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
6
6
  }
package/dist/index135.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import n from "./index75.mjs";
2
+ import n from "./index76.mjs";
3
3
  class a {
4
4
  constructor() {
5
5
  this.handlers = [];
package/dist/index136.mjs CHANGED
@@ -1,10 +1,10 @@
1
1
  'use client';
2
- import r from "./index235.mjs";
3
- import p from "./index83.mjs";
4
- import l from "./index79.mjs";
5
- import m from "./index81.mjs";
6
- import a from "./index89.mjs";
7
- import o from "./index90.mjs";
2
+ import r from "./index237.mjs";
3
+ import p from "./index84.mjs";
4
+ import l from "./index80.mjs";
5
+ import m from "./index82.mjs";
6
+ import a from "./index90.mjs";
7
+ import o from "./index91.mjs";
8
8
  function d(e) {
9
9
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
10
10
  throw new m(null, e);
package/dist/index137.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
- import r from "./index236.mjs";
3
- import f from "./index237.mjs";
2
+ import r from "./index238.mjs";
3
+ import f from "./index239.mjs";
4
4
  function u(l, i, t) {
5
5
  let o = !r(i);
6
6
  return l && (o || t == !1) ? f(l, i) : i;
package/dist/index138.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
- import { VERSION as w } from "./index84.mjs";
3
- import s from "./index86.mjs";
2
+ import { VERSION as w } from "./index85.mjs";
3
+ import s from "./index87.mjs";
4
4
  const l = {};
5
5
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((n, t) => {
6
6
  l[n] = function(o) {
package/dist/index140.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
- import s from "./index75.mjs";
3
- import f from "./index85.mjs";
2
+ import s from "./index76.mjs";
3
+ import f from "./index86.mjs";
4
4
  import r from "./index141.mjs";
5
5
  function d(o, i) {
6
6
  return f(o, new r.classes.URLSearchParams(), {
package/dist/index141.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
- import o from "./index238.mjs";
3
- import * as t from "./index239.mjs";
2
+ import o from "./index240.mjs";
3
+ import * as t from "./index241.mjs";
4
4
  const m = {
5
5
  ...t,
6
6
  ...o
package/dist/index142.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import n from "./index75.mjs";
2
+ import n from "./index76.mjs";
3
3
  const a = n.toObjectSet([
4
4
  "age",
5
5
  "authorization",
package/dist/index144.mjs CHANGED
@@ -1,14 +1,14 @@
1
1
  'use client';
2
- import H from "./index75.mjs";
3
- import D from "./index240.mjs";
2
+ import H from "./index76.mjs";
3
+ import D from "./index242.mjs";
4
4
  import L from "./index139.mjs";
5
- import n from "./index86.mjs";
6
- import y from "./index81.mjs";
7
- import O from "./index241.mjs";
5
+ import n from "./index87.mjs";
6
+ import y from "./index82.mjs";
7
+ import O from "./index243.mjs";
8
8
  import U from "./index141.mjs";
9
- import q from "./index89.mjs";
10
- import { progressEventReducer as A } from "./index242.mjs";
11
- import v from "./index243.mjs";
9
+ import q from "./index90.mjs";
10
+ import { progressEventReducer as A } from "./index244.mjs";
11
+ import v from "./index245.mjs";
12
12
  const N = typeof XMLHttpRequest < "u", Q = N && function(s) {
13
13
  return new Promise(function(C, i) {
14
14
  const t = v(s);
package/dist/index145.mjs CHANGED
@@ -1,13 +1,13 @@
1
1
  'use client';
2
2
  import K from "./index141.mjs";
3
- import t from "./index75.mjs";
4
- import b from "./index86.mjs";
5
- import ee from "./index244.mjs";
6
- import { trackStream as z } from "./index245.mjs";
7
- import te from "./index89.mjs";
8
- import { progressEventDecorator as I, progressEventReducer as M, asyncDecorator as j } from "./index242.mjs";
9
- import se from "./index243.mjs";
10
- import re from "./index240.mjs";
3
+ import t from "./index76.mjs";
4
+ import b from "./index87.mjs";
5
+ import ee from "./index246.mjs";
6
+ import { trackStream as z } from "./index247.mjs";
7
+ import te from "./index90.mjs";
8
+ import { progressEventDecorator as I, progressEventReducer as M, asyncDecorator as j } from "./index244.mjs";
9
+ import se from "./index245.mjs";
10
+ import re from "./index242.mjs";
11
11
  const J = 64 * 1024, { isFunction: P } = t, ne = (({ Request: r, Response: n }) => ({
12
12
  Request: r,
13
13
  Response: n
package/dist/index150.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { __exports as r } from "./index211.mjs";
2
+ import { __exports as r } from "./index208.mjs";
3
3
  var u;
4
4
  function a() {
5
5
  return u ? r : (u = 1, function(n) {
package/dist/index151.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { __module as r } from "./index212.mjs";
2
+ import { __module as r } from "./index209.mjs";
3
3
  var i;
4
4
  function c() {
5
5
  return i ? r.exports : (i = 1, function(f, e) {
package/dist/index152.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { __module as n } from "./index210.mjs";
2
+ import { __module as n } from "./index207.mjs";
3
3
  var a;
4
4
  function o() {
5
5
  return a ? n.exports : (a = 1, function(f, e) {
package/dist/index153.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { __exports as e } from "./index213.mjs";
2
+ import { __exports as e } from "./index210.mjs";
3
3
  var t;
4
4
  function o() {
5
5
  return t ? e : (t = 1, function(r) {
package/dist/index154.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { __exports as e } from "./index214.mjs";
2
+ import { __exports as e } from "./index211.mjs";
3
3
  var n;
4
4
  function a() {
5
5
  return n ? e : (n = 1, function(r) {
package/dist/index156.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { __exports as e } from "./index208.mjs";
2
+ import { __exports as e } from "./index205.mjs";
3
3
  import "./index69.mjs";
4
4
  import n from "react";
5
5
  import { __exports as o } from "./index74.mjs";
package/dist/index157.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { __module as n } from "./index209.mjs";
2
+ import { __module as n } from "./index206.mjs";
3
3
  var a;
4
4
  function m() {
5
5
  return a ? n.exports : (a = 1, function(f, e) {
package/dist/index159.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
- import { __exports as e } from "./index205.mjs";
3
- import { __require as f } from "./index206.mjs";
2
+ import { __exports as e } from "./index212.mjs";
3
+ import { __require as f } from "./index213.mjs";
4
4
  import { __require as _ } from "./index104.mjs";
5
5
  var i;
6
6
  function R() {
package/dist/index160.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { __exports as e } from "./index207.mjs";
2
+ import { __exports as e } from "./index214.mjs";
3
3
  var t;
4
4
  function u() {
5
5
  return t ? e : (t = 1, function(r) {
package/dist/index167.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { __exports as i } from "./index217.mjs";
2
+ import { __exports as i } from "./index224.mjs";
3
3
  var a;
4
4
  function d() {
5
5
  return a ? i : (a = 1, function(f) {
package/dist/index169.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
- import { __exports as n } from "./index218.mjs";
3
- import { __require as d } from "./index219.mjs";
2
+ import { __exports as n } from "./index217.mjs";
3
+ import { __require as d } from "./index218.mjs";
4
4
  var o;
5
5
  function p() {
6
6
  return o ? n : (o = 1, function(i) {
package/dist/index170.mjs CHANGED
@@ -1,11 +1,11 @@
1
1
  'use client';
2
- import { __exports as A } from "./index220.mjs";
3
- import { __require as T } from "./index219.mjs";
2
+ import { __exports as A } from "./index219.mjs";
3
+ import { __require as T } from "./index218.mjs";
4
4
  import { __require as L } from "./index173.mjs";
5
- import { __require as N } from "./index221.mjs";
5
+ import { __require as N } from "./index220.mjs";
6
6
  import { __require as U } from "./index165.mjs";
7
- import { __require as j } from "./index222.mjs";
8
- import { __require as v } from "./index223.mjs";
7
+ import { __require as j } from "./index221.mjs";
8
+ import { __require as v } from "./index222.mjs";
9
9
  var S;
10
10
  function W() {
11
11
  return S ? A : (S = 1, function(R) {
package/dist/index173.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { __exports as r } from "./index224.mjs";
2
+ import { __exports as r } from "./index223.mjs";
3
3
  var n;
4
4
  function i() {
5
5
  return n ? r : (n = 1, function(t) {
package/dist/index186.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { __exports as e } from "./index230.mjs";
2
+ import { __exports as e } from "./index231.mjs";
3
3
  import { __require as f } from "./index111.mjs";
4
4
  var n;
5
5
  function p() {
package/dist/index190.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { __exports as t } from "./index229.mjs";
2
+ import { __exports as t } from "./index230.mjs";
3
3
  import { __require as a } from "./index186.mjs";
4
4
  var n;
5
5
  function h() {
package/dist/index192.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { __exports as r } from "./index231.mjs";
2
+ import { __exports as r } from "./index229.mjs";
3
3
  import { __require as s } from "./index111.mjs";
4
4
  var a;
5
5
  function _() {
package/dist/index203.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { __exports as e } from "./index246.mjs";
2
+ import { __exports as e } from "./index234.mjs";
3
3
  /**
4
4
  * @license React
5
5
  * react-is.production.js
package/dist/index204.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { __exports as e } from "./index247.mjs";
2
+ import { __exports as e } from "./index235.mjs";
3
3
  /**
4
4
  * @license React
5
5
  * react-is.development.js
package/dist/index205.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- var r = {};
2
+ var e = {};
3
3
  export {
4
- r as __exports
4
+ e as __exports
5
5
  };
package/dist/index206.mjs CHANGED
@@ -1,111 +1,5 @@
1
1
  'use client';
2
- import { __exports as m } from "./index248.mjs";
3
- var p;
4
- function S() {
5
- return p ? m : (p = 1, function(d) {
6
- Object.defineProperty(d, "__esModule", {
7
- value: !0
8
- });
9
- function g(o, e) {
10
- for (var r in e) Object.defineProperty(o, r, {
11
- enumerable: !0,
12
- get: e[r]
13
- });
14
- }
15
- g(d, {
16
- getSortedRouteObjects: function() {
17
- return w;
18
- },
19
- getSortedRoutes: function() {
20
- return f;
21
- }
22
- });
23
- class h {
24
- insert(e) {
25
- this._insert(e.split("/").filter(Boolean), [], !1);
26
- }
27
- smoosh() {
28
- return this._smoosh();
29
- }
30
- _smoosh(e) {
31
- e === void 0 && (e = "/");
32
- const r = [
33
- ...this.children.keys()
34
- ].sort();
35
- this.slugName !== null && r.splice(r.indexOf("[]"), 1), this.restSlugName !== null && r.splice(r.indexOf("[...]"), 1), this.optionalRestSlugName !== null && r.splice(r.indexOf("[[...]]"), 1);
36
- const n = r.map((s) => this.children.get(s)._smoosh("" + e + s + "/")).reduce((s, t) => [
37
- ...s,
38
- ...t
39
- ], []);
40
- if (this.slugName !== null && n.push(...this.children.get("[]")._smoosh(e + "[" + this.slugName + "]/")), !this.placeholder) {
41
- const s = e === "/" ? "/" : e.slice(0, -1);
42
- if (this.optionalRestSlugName != null)
43
- throw new Error('You cannot define a route with the same specificity as a optional catch-all route ("' + s + '" and "' + s + "[[..." + this.optionalRestSlugName + ']]").');
44
- n.unshift(s);
45
- }
46
- return this.restSlugName !== null && n.push(...this.children.get("[...]")._smoosh(e + "[..." + this.restSlugName + "]/")), this.optionalRestSlugName !== null && n.push(...this.children.get("[[...]]")._smoosh(e + "[[..." + this.optionalRestSlugName + "]]/")), n;
47
- }
48
- _insert(e, r, n) {
49
- if (e.length === 0) {
50
- this.placeholder = !1;
51
- return;
52
- }
53
- if (n)
54
- throw new Error("Catch-all must be the last part of the URL.");
55
- let s = e[0];
56
- if (s.startsWith("[") && s.endsWith("]")) {
57
- let l = function(u, a) {
58
- if (u !== null && u !== a)
59
- throw new Error("You cannot use different slug names for the same dynamic path ('" + u + "' !== '" + a + "').");
60
- r.forEach((c) => {
61
- if (c === a)
62
- throw new Error('You cannot have the same slug name "' + a + '" repeat within a single dynamic path');
63
- if (c.replace(/\W/g, "") === s.replace(/\W/g, ""))
64
- throw new Error('You cannot have the slug names "' + c + '" and "' + a + '" differ only by non-word symbols within a single dynamic path');
65
- }), r.push(a);
66
- }, t = s.slice(1, -1), i = !1;
67
- if (t.startsWith("[") && t.endsWith("]") && (t = t.slice(1, -1), i = !0), t.startsWith("…"))
68
- throw new Error("Detected a three-dot character ('…') at ('" + t + "'). Did you mean ('...')?");
69
- if (t.startsWith("...") && (t = t.substring(3), n = !0), t.startsWith("[") || t.endsWith("]"))
70
- throw new Error("Segment names may not start or end with extra brackets ('" + t + "').");
71
- if (t.startsWith("."))
72
- throw new Error("Segment names may not start with erroneous periods ('" + t + "').");
73
- if (n)
74
- if (i) {
75
- if (this.restSlugName != null)
76
- throw new Error('You cannot use both an required and optional catch-all route at the same level ("[...' + this.restSlugName + ']" and "' + e[0] + '" ).');
77
- l(this.optionalRestSlugName, t), this.optionalRestSlugName = t, s = "[[...]]";
78
- } else {
79
- if (this.optionalRestSlugName != null)
80
- throw new Error('You cannot use both an optional and required catch-all route at the same level ("[[...' + this.optionalRestSlugName + ']]" and "' + e[0] + '").');
81
- l(this.restSlugName, t), this.restSlugName = t, s = "[...]";
82
- }
83
- else {
84
- if (i)
85
- throw new Error('Optional route parameters are not yet supported ("' + e[0] + '").');
86
- l(this.slugName, t), this.slugName = t, s = "[]";
87
- }
88
- }
89
- this.children.has(s) || this.children.set(s, new h()), this.children.get(s)._insert(e.slice(1), r, n);
90
- }
91
- constructor() {
92
- this.placeholder = !0, this.children = /* @__PURE__ */ new Map(), this.slugName = null, this.restSlugName = null, this.optionalRestSlugName = null;
93
- }
94
- }
95
- function f(o) {
96
- const e = new h();
97
- return o.forEach((r) => e.insert(r)), e.smoosh();
98
- }
99
- function w(o, e) {
100
- const r = {}, n = [];
101
- for (let t = 0; t < o.length; t++) {
102
- const i = e(o[t]);
103
- r[i] = t, n[t] = i;
104
- }
105
- return f(n).map((t) => o[r[t]]);
106
- }
107
- }(m), m);
108
- }
2
+ var r = { exports: {} };
109
3
  export {
110
- S as __require
4
+ r as __module
111
5
  };
package/dist/index207.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- var a = {};
2
+ var e = { exports: {} };
3
3
  export {
4
- a as __exports
4
+ e as __module
5
5
  };
package/dist/index208.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- var e = {};
2
+ var t = {};
3
3
  export {
4
- e as __exports
4
+ t as __exports
5
5
  };
package/dist/index209.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- var r = { exports: {} };
2
+ var e = { exports: {} };
3
3
  export {
4
- r as __module
4
+ e as __module
5
5
  };
package/dist/index210.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- var e = { exports: {} };
2
+ var e = {};
3
3
  export {
4
- e as __module
4
+ e as __exports
5
5
  };
package/dist/index211.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- var t = {};
2
+ var e = {};
3
3
  export {
4
- t as __exports
4
+ e as __exports
5
5
  };
package/dist/index212.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- var e = { exports: {} };
2
+ var r = {};
3
3
  export {
4
- e as __module
4
+ r as __exports
5
5
  };
package/dist/index213.mjs CHANGED
@@ -1,5 +1,111 @@
1
1
  'use client';
2
- var e = {};
2
+ import { __exports as m } from "./index256.mjs";
3
+ var p;
4
+ function S() {
5
+ return p ? m : (p = 1, function(d) {
6
+ Object.defineProperty(d, "__esModule", {
7
+ value: !0
8
+ });
9
+ function g(o, e) {
10
+ for (var r in e) Object.defineProperty(o, r, {
11
+ enumerable: !0,
12
+ get: e[r]
13
+ });
14
+ }
15
+ g(d, {
16
+ getSortedRouteObjects: function() {
17
+ return w;
18
+ },
19
+ getSortedRoutes: function() {
20
+ return f;
21
+ }
22
+ });
23
+ class h {
24
+ insert(e) {
25
+ this._insert(e.split("/").filter(Boolean), [], !1);
26
+ }
27
+ smoosh() {
28
+ return this._smoosh();
29
+ }
30
+ _smoosh(e) {
31
+ e === void 0 && (e = "/");
32
+ const r = [
33
+ ...this.children.keys()
34
+ ].sort();
35
+ this.slugName !== null && r.splice(r.indexOf("[]"), 1), this.restSlugName !== null && r.splice(r.indexOf("[...]"), 1), this.optionalRestSlugName !== null && r.splice(r.indexOf("[[...]]"), 1);
36
+ const n = r.map((s) => this.children.get(s)._smoosh("" + e + s + "/")).reduce((s, t) => [
37
+ ...s,
38
+ ...t
39
+ ], []);
40
+ if (this.slugName !== null && n.push(...this.children.get("[]")._smoosh(e + "[" + this.slugName + "]/")), !this.placeholder) {
41
+ const s = e === "/" ? "/" : e.slice(0, -1);
42
+ if (this.optionalRestSlugName != null)
43
+ throw new Error('You cannot define a route with the same specificity as a optional catch-all route ("' + s + '" and "' + s + "[[..." + this.optionalRestSlugName + ']]").');
44
+ n.unshift(s);
45
+ }
46
+ return this.restSlugName !== null && n.push(...this.children.get("[...]")._smoosh(e + "[..." + this.restSlugName + "]/")), this.optionalRestSlugName !== null && n.push(...this.children.get("[[...]]")._smoosh(e + "[[..." + this.optionalRestSlugName + "]]/")), n;
47
+ }
48
+ _insert(e, r, n) {
49
+ if (e.length === 0) {
50
+ this.placeholder = !1;
51
+ return;
52
+ }
53
+ if (n)
54
+ throw new Error("Catch-all must be the last part of the URL.");
55
+ let s = e[0];
56
+ if (s.startsWith("[") && s.endsWith("]")) {
57
+ let l = function(u, a) {
58
+ if (u !== null && u !== a)
59
+ throw new Error("You cannot use different slug names for the same dynamic path ('" + u + "' !== '" + a + "').");
60
+ r.forEach((c) => {
61
+ if (c === a)
62
+ throw new Error('You cannot have the same slug name "' + a + '" repeat within a single dynamic path');
63
+ if (c.replace(/\W/g, "") === s.replace(/\W/g, ""))
64
+ throw new Error('You cannot have the slug names "' + c + '" and "' + a + '" differ only by non-word symbols within a single dynamic path');
65
+ }), r.push(a);
66
+ }, t = s.slice(1, -1), i = !1;
67
+ if (t.startsWith("[") && t.endsWith("]") && (t = t.slice(1, -1), i = !0), t.startsWith("…"))
68
+ throw new Error("Detected a three-dot character ('…') at ('" + t + "'). Did you mean ('...')?");
69
+ if (t.startsWith("...") && (t = t.substring(3), n = !0), t.startsWith("[") || t.endsWith("]"))
70
+ throw new Error("Segment names may not start or end with extra brackets ('" + t + "').");
71
+ if (t.startsWith("."))
72
+ throw new Error("Segment names may not start with erroneous periods ('" + t + "').");
73
+ if (n)
74
+ if (i) {
75
+ if (this.restSlugName != null)
76
+ throw new Error('You cannot use both an required and optional catch-all route at the same level ("[...' + this.restSlugName + ']" and "' + e[0] + '" ).');
77
+ l(this.optionalRestSlugName, t), this.optionalRestSlugName = t, s = "[[...]]";
78
+ } else {
79
+ if (this.optionalRestSlugName != null)
80
+ throw new Error('You cannot use both an optional and required catch-all route at the same level ("[[...' + this.optionalRestSlugName + ']]" and "' + e[0] + '").');
81
+ l(this.restSlugName, t), this.restSlugName = t, s = "[...]";
82
+ }
83
+ else {
84
+ if (i)
85
+ throw new Error('Optional route parameters are not yet supported ("' + e[0] + '").');
86
+ l(this.slugName, t), this.slugName = t, s = "[]";
87
+ }
88
+ }
89
+ this.children.has(s) || this.children.set(s, new h()), this.children.get(s)._insert(e.slice(1), r, n);
90
+ }
91
+ constructor() {
92
+ this.placeholder = !0, this.children = /* @__PURE__ */ new Map(), this.slugName = null, this.restSlugName = null, this.optionalRestSlugName = null;
93
+ }
94
+ }
95
+ function f(o) {
96
+ const e = new h();
97
+ return o.forEach((r) => e.insert(r)), e.smoosh();
98
+ }
99
+ function w(o, e) {
100
+ const r = {}, n = [];
101
+ for (let t = 0; t < o.length; t++) {
102
+ const i = e(o[t]);
103
+ r[i] = t, n[t] = i;
104
+ }
105
+ return f(n).map((t) => o[r[t]]);
106
+ }
107
+ }(m), m);
108
+ }
3
109
  export {
4
- e as __exports
110
+ S as __require
5
111
  };
package/dist/index214.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- var e = {};
2
+ var a = {};
3
3
  export {
4
- e as __exports
4
+ a as __exports
5
5
  };