@instockng/storefront-ui 1.0.60 → 1.0.62

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 (50) hide show
  1. package/dist/index10.mjs +20 -20
  2. package/dist/index141.mjs +1 -1
  3. package/dist/index143.mjs +1 -1
  4. package/dist/index144.mjs +2 -2
  5. package/dist/index148.mjs +2 -2
  6. package/dist/index172.mjs +2 -2
  7. package/dist/index174.mjs +1 -1
  8. package/dist/index176.mjs +2 -2
  9. package/dist/index177.mjs +5 -5
  10. package/dist/index180.mjs +1 -1
  11. package/dist/index183.mjs +1 -1
  12. package/dist/index191.mjs +1 -1
  13. package/dist/index193.mjs +1 -1
  14. package/dist/index197.mjs +1 -1
  15. package/dist/index199.mjs +1 -1
  16. package/dist/index212.mjs +12 -30
  17. package/dist/index213.mjs +7 -11
  18. package/dist/index214.mjs +30 -3
  19. package/dist/index215.mjs +10 -3
  20. package/dist/index216.mjs +4 -13
  21. package/dist/index217.mjs +4 -7
  22. package/dist/index234.mjs +2 -2
  23. package/dist/index235.mjs +2 -37
  24. package/dist/index236.mjs +37 -2
  25. package/dist/index237.mjs +2 -244
  26. package/dist/index238.mjs +244 -2
  27. package/dist/index239.mjs +2 -33
  28. package/dist/index240.mjs +28 -60
  29. package/dist/index241.mjs +60 -20
  30. package/dist/index242.mjs +25 -2
  31. package/dist/index249.mjs +2 -2
  32. package/dist/index250.mjs +2 -2
  33. package/dist/index252.mjs +1 -1
  34. package/dist/index255.mjs +1 -1
  35. package/dist/index263.mjs +2 -2
  36. package/dist/index264.mjs +2 -18
  37. package/dist/index265.mjs +13 -42
  38. package/dist/index266.mjs +47 -2
  39. package/dist/index40.mjs +1 -1
  40. package/dist/index42.mjs +2 -2
  41. package/dist/index49.mjs +1 -1
  42. package/dist/index68.mjs +20 -21
  43. package/dist/index69.mjs +21 -150
  44. package/dist/index70.mjs +149 -19
  45. package/dist/index74.mjs +1 -1
  46. package/dist/index97.mjs +1 -1
  47. package/dist/styles.css +1 -1
  48. package/package.json +1 -1
  49. package/src/components/ProductAddOns.tsx +3 -3
  50. package/src/styles.css +4 -0
package/dist/index10.mjs CHANGED
@@ -4,28 +4,28 @@ import { useRef as W, useState as E } from "react";
4
4
  import { ChevronLeft as F, ChevronRight as L } from "lucide-react";
5
5
  import { Switch as O } from "./index43.mjs";
6
6
  import { Badge as R } from "./index18.mjs";
7
- import { cn as d, formatCurrency as v } from "./index22.mjs";
7
+ import { cn as u, formatCurrency as v } from "./index22.mjs";
8
8
  import "./index23.mjs";
9
9
  import "@tanstack/react-query";
10
10
  import { useGetProductAddOns as U } from "./index37.mjs";
11
11
  import { useCart as G } from "./index3.mjs";
12
12
  function Y({
13
- slug: m,
14
- products: h,
15
- onToggle: f,
13
+ slug: d,
14
+ products: m,
15
+ onToggle: h,
16
16
  selectedProductIds: N,
17
- className: x,
17
+ className: f,
18
18
  title: b = "Popular add-ons",
19
19
  limit: y = 6
20
20
  }) {
21
- const { cart: i, addItem: w, removeItem: C } = G(), { data: P, isLoading: g } = U(m || "", y, {
22
- enabled: !!m && !h
23
- }), c = h || P || [], k = N || c.filter((e) => i == null ? void 0 : i.items.some((n) => {
21
+ const { cart: i, addItem: w, removeItem: C } = G(), { data: P, isLoading: x } = U(d || "", y, {
22
+ enabled: !!d && !m
23
+ }), c = m || P || [], k = N || c.filter((e) => i == null ? void 0 : i.items.some((n) => {
24
24
  var r;
25
25
  return n.variant.id === ((r = e.variants[0]) == null ? void 0 : r.id);
26
26
  })).map((e) => e.id), A = async (e, n) => {
27
- if (f) {
28
- f(e, n);
27
+ if (h) {
28
+ h(e, n);
29
29
  return;
30
30
  }
31
31
  const r = e.variants[0];
@@ -47,7 +47,7 @@ function Y({
47
47
  const { scrollLeft: e, scrollWidth: n, clientWidth: r } = o.current, s = e / (n - r);
48
48
  D(s || 0);
49
49
  }
50
- }, p = (e) => {
50
+ }, g = (e) => {
51
51
  if (o.current) {
52
52
  const { clientWidth: n } = o.current, r = n * 0.9;
53
53
  o.current.scrollBy({
@@ -56,27 +56,27 @@ function Y({
56
56
  });
57
57
  }
58
58
  };
59
- return (!c || c.length === 0) && !g ? null : g ? /* @__PURE__ */ l("div", { className: d("w-full py-8 space-y-4 animate-pulse", x), children: [
59
+ return (!c || c.length === 0) && !x ? null : x ? /* @__PURE__ */ l("div", { className: u("w-full py-8 space-y-4 animate-pulse", f), children: [
60
60
  /* @__PURE__ */ t("div", { className: "h-4 w-32 bg-gray-200 rounded px-1 mb-6" }),
61
61
  /* @__PURE__ */ l("div", { className: "flex gap-4 overflow-x-hidden", children: [
62
62
  /* @__PURE__ */ t("div", { className: "min-w-[340px] h-[148px] bg-gray-100 rounded-[2rem]" }),
63
63
  /* @__PURE__ */ t("div", { className: "min-w-[340px] h-[148px] bg-gray-100 rounded-[2rem]" })
64
64
  ] })
65
- ] }) : /* @__PURE__ */ l("div", { className: d("w-full py-8", x), children: [
65
+ ] }) : /* @__PURE__ */ l("div", { className: f, children: [
66
66
  /* @__PURE__ */ t("div", { className: "px-1 mb-3", children: /* @__PURE__ */ t("h3", { className: "text-lg font-bold tracking-tight text-gray-900", children: b }) }),
67
67
  /* @__PURE__ */ t("div", { className: "relative", children: /* @__PURE__ */ t(
68
68
  "div",
69
69
  {
70
70
  ref: o,
71
71
  onScroll: I,
72
- className: "flex gap-4 overflow-x-auto scrollbar-hide snap-x snap-mandatory px-1",
72
+ className: "flex gap-4 overflow-x-auto scrollbar-hide snap-x snap-mandatory px-1 instock-product-add-ons",
73
73
  style: { scrollbarWidth: "none", msOverflowStyle: "none" },
74
74
  children: c.map((e) => {
75
- const n = k.includes(e.id), r = e.variants[0], s = (r == null ? void 0 : r.price) || 0, a = e.compareAtPrice || r.compareAtPrice, u = a && a > s, S = u ? Math.round((a - s) / a * 100) : 0;
75
+ const n = k.includes(e.id), r = e.variants[0], s = (r == null ? void 0 : r.price) || 0, a = e.compareAtPrice || r.compareAtPrice, p = a && a > s, S = p ? Math.round((a - s) / a * 100) : 0;
76
76
  return /* @__PURE__ */ l(
77
77
  "div",
78
78
  {
79
- className: "relative flex min-w-[280px] md:min-w-[420px] snap-start items-center gap-4 rounded-xl bg-[#EBEBEB] p-3 transition-all",
79
+ className: "relative flex min-w-[90%] md:min-w-[420px] snap-start items-center gap-4 rounded-xl bg-[#EBEBEB] p-3 transition-all",
80
80
  children: [
81
81
  /* @__PURE__ */ t("div", { className: "h-16 w-16 flex-shrink-0 overflow-hidden rounded-xl bg-white/40 flex items-center justify-center", children: e.thumbnailUrl ? /* @__PURE__ */ t(
82
82
  "img",
@@ -91,7 +91,7 @@ function Y({
91
91
  e.addonDescription && /* @__PURE__ */ t("p", { className: "text-[11px] text-gray-500 line-clamp-3 italic mb-1", children: e.addonDescription }),
92
92
  /* @__PURE__ */ l("div", { className: "flex items-center gap-2 mt-1", children: [
93
93
  /* @__PURE__ */ t("span", { className: "text-md font-bold text-[#333]", children: v(s) }),
94
- u && /* @__PURE__ */ l(M, { children: [
94
+ p && /* @__PURE__ */ l(M, { children: [
95
95
  /* @__PURE__ */ t("span", { className: "text-sm text-[#DC143C] line-through", children: v(a) }),
96
96
  /* @__PURE__ */ l(R, { className: "bg-[#DC143C]/10 hover:bg-[#DC143C]/20 text-[#DC143C] border-none text-[10px] font-bold px-2 py-0.5 rounded-lg uppercase tracking-tight", children: [
97
97
  S,
@@ -121,7 +121,7 @@ function Y({
121
121
  return /* @__PURE__ */ t(
122
122
  "div",
123
123
  {
124
- className: d(
124
+ className: u(
125
125
  "h-2 w-2 rounded-full transition-all duration-300",
126
126
  r ? "bg-gray-600 scale-110" : "bg-gray-300"
127
127
  )
@@ -133,7 +133,7 @@ function Y({
133
133
  /* @__PURE__ */ t(
134
134
  "button",
135
135
  {
136
- onClick: () => p("left"),
136
+ onClick: () => g("left"),
137
137
  className: "text-gray-400 hover:text-gray-900 transition-colors",
138
138
  "aria-label": "Previous",
139
139
  children: /* @__PURE__ */ t(F, { className: "h-6 w-6 stroke-[2.5px]" })
@@ -142,7 +142,7 @@ function Y({
142
142
  /* @__PURE__ */ t(
143
143
  "button",
144
144
  {
145
- onClick: () => p("right"),
145
+ onClick: () => g("right"),
146
146
  className: "text-gray-400 hover:text-gray-900 transition-colors",
147
147
  "aria-label": "Next",
148
148
  children: /* @__PURE__ */ t(L, { className: "h-6 w-6 stroke-[2.5px]" })
package/dist/index141.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import f from "./index75.mjs";
3
- import d from "./index212.mjs";
3
+ import d from "./index214.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/index143.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import r from "./index213.mjs";
2
+ import r from "./index215.mjs";
3
3
  import p from "./index83.mjs";
4
4
  import l from "./index79.mjs";
5
5
  import m from "./index81.mjs";
package/dist/index144.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
- import r from "./index214.mjs";
3
- import f from "./index215.mjs";
2
+ import r from "./index216.mjs";
3
+ import f from "./index217.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/index148.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
- import o from "./index216.mjs";
3
- import * as t from "./index217.mjs";
2
+ import o from "./index212.mjs";
3
+ import * as t from "./index213.mjs";
4
4
  const m = {
5
5
  ...t,
6
6
  ...o
package/dist/index172.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
- import { __exports as u } from "./index234.mjs";
3
- import { __require as d } from "./index235.mjs";
2
+ import { __exports as u } from "./index235.mjs";
3
+ import { __require as d } from "./index236.mjs";
4
4
  var a;
5
5
  function h() {
6
6
  return a ? u : (a = 1, function(c) {
package/dist/index174.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { __exports as i } from "./index242.mjs";
2
+ import { __exports as i } from "./index234.mjs";
3
3
  var a;
4
4
  function d() {
5
5
  return a ? i : (a = 1, function(f) {
package/dist/index176.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
- import { __exports as n } from "./index236.mjs";
3
- import { __require as d } from "./index237.mjs";
2
+ import { __exports as n } from "./index237.mjs";
3
+ import { __require as d } from "./index238.mjs";
4
4
  var o;
5
5
  function p() {
6
6
  return o ? n : (o = 1, function(i) {
package/dist/index177.mjs CHANGED
@@ -1,11 +1,11 @@
1
1
  'use client';
2
- import { __exports as A } from "./index238.mjs";
3
- import { __require as T } from "./index237.mjs";
2
+ import { __exports as A } from "./index239.mjs";
3
+ import { __require as T } from "./index238.mjs";
4
4
  import { __require as L } from "./index180.mjs";
5
- import { __require as N } from "./index239.mjs";
5
+ import { __require as N } from "./index240.mjs";
6
6
  import { __require as U } from "./index172.mjs";
7
- import { __require as j } from "./index240.mjs";
8
- import { __require as v } from "./index241.mjs";
7
+ import { __require as j } from "./index241.mjs";
8
+ import { __require as v } from "./index242.mjs";
9
9
  var S;
10
10
  function W() {
11
11
  return S ? A : (S = 1, function(R) {
package/dist/index180.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { __exports as r } from "./index243.mjs";
2
+ import { __exports as r } from "./index244.mjs";
3
3
  var n;
4
4
  function i() {
5
5
  return n ? r : (n = 1, function(t) {
package/dist/index183.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { __exports as r } from "./index244.mjs";
2
+ import { __exports as r } from "./index243.mjs";
3
3
  var u;
4
4
  function D() {
5
5
  return u ? r : (u = 1, function(t) {
package/dist/index191.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { __exports as r } from "./index248.mjs";
2
+ import { __exports as r } from "./index247.mjs";
3
3
  import { __require as o } from "./index118.mjs";
4
4
  var i;
5
5
  function _() {
package/dist/index193.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { __exports as e } from "./index247.mjs";
2
+ import { __exports as e } from "./index248.mjs";
3
3
  import { __require as f } from "./index118.mjs";
4
4
  var n;
5
5
  function p() {
package/dist/index197.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { __exports as t } from "./index250.mjs";
2
+ import { __exports as t } from "./index249.mjs";
3
3
  import { __require as a } from "./index193.mjs";
4
4
  var n;
5
5
  function h() {
package/dist/index199.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { __exports as r } from "./index249.mjs";
2
+ import { __exports as r } from "./index250.mjs";
3
3
  import { __require as s } from "./index118.mjs";
4
4
  var a;
5
5
  function _() {
package/dist/index212.mjs CHANGED
@@ -1,34 +1,16 @@
1
1
  'use client';
2
- import p from "./index85.mjs";
3
- function i(n) {
4
- const t = {
5
- "!": "%21",
6
- "'": "%27",
7
- "(": "%28",
8
- ")": "%29",
9
- "~": "%7E",
10
- "%20": "+",
11
- "%00": "\0"
12
- };
13
- return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g, function(r) {
14
- return t[r];
15
- });
16
- }
17
- function a(n, t) {
18
- this._pairs = [], n && p(n, this, t);
19
- }
20
- const c = a.prototype;
21
- c.append = function(t, o) {
22
- this._pairs.push([t, o]);
23
- };
24
- c.toString = function(t) {
25
- const o = t ? function(r) {
26
- return t.call(this, r, i);
27
- } : i;
28
- return this._pairs.map(function(e) {
29
- return o(e[0]) + "=" + o(e[1]);
30
- }, "").join("&");
2
+ import o from "./index255.mjs";
3
+ import r from "./index256.mjs";
4
+ import t from "./index257.mjs";
5
+ const l = {
6
+ isBrowser: !0,
7
+ classes: {
8
+ URLSearchParams: o,
9
+ FormData: r,
10
+ Blob: t
11
+ },
12
+ protocols: ["http", "https", "file", "blob", "url", "data"]
31
13
  };
32
14
  export {
33
- a as default
15
+ l as default
34
16
  };
package/dist/index213.mjs CHANGED
@@ -1,14 +1,10 @@
1
1
  'use client';
2
- import i from "./index75.mjs";
3
- import m from "./index79.mjs";
4
- import s from "./index89.mjs";
5
- function h(f, t) {
6
- const o = this || m, r = t || o, n = s.from(r.headers);
7
- let a = r.data;
8
- return i.forEach(f, function(e) {
9
- a = e.call(o, a, n.normalize(), t ? t.status : void 0);
10
- }), n.normalize(), a;
11
- }
2
+ const e = typeof window < "u" && typeof document < "u", o = typeof navigator == "object" && navigator || void 0, n = e && (!o || ["ReactNative", "NativeScript", "NS"].indexOf(o.product) < 0), t = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
3
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", r = e && window.location.href || "http://localhost";
12
4
  export {
13
- h as default
5
+ e as hasBrowserEnv,
6
+ n as hasStandardBrowserEnv,
7
+ t as hasStandardBrowserWebWorkerEnv,
8
+ o as navigator,
9
+ r as origin
14
10
  };
package/dist/index214.mjs CHANGED
@@ -1,7 +1,34 @@
1
1
  'use client';
2
- function e(t) {
3
- return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);
2
+ import p from "./index85.mjs";
3
+ function i(n) {
4
+ const t = {
5
+ "!": "%21",
6
+ "'": "%27",
7
+ "(": "%28",
8
+ ")": "%29",
9
+ "~": "%7E",
10
+ "%20": "+",
11
+ "%00": "\0"
12
+ };
13
+ return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g, function(r) {
14
+ return t[r];
15
+ });
4
16
  }
17
+ function a(n, t) {
18
+ this._pairs = [], n && p(n, this, t);
19
+ }
20
+ const c = a.prototype;
21
+ c.append = function(t, o) {
22
+ this._pairs.push([t, o]);
23
+ };
24
+ c.toString = function(t) {
25
+ const o = t ? function(r) {
26
+ return t.call(this, r, i);
27
+ } : i;
28
+ return this._pairs.map(function(e) {
29
+ return o(e[0]) + "=" + o(e[1]);
30
+ }, "").join("&");
31
+ };
5
32
  export {
6
- e as default
33
+ a as default
7
34
  };
package/dist/index215.mjs CHANGED
@@ -1,7 +1,14 @@
1
1
  'use client';
2
- function n(e, c) {
3
- return c ? e.replace(/\/?\/$/, "") + "/" + c.replace(/^\/+/, "") : e;
2
+ import i from "./index75.mjs";
3
+ import m from "./index79.mjs";
4
+ import s from "./index89.mjs";
5
+ function h(f, t) {
6
+ const o = this || m, r = t || o, n = s.from(r.headers);
7
+ let a = r.data;
8
+ return i.forEach(f, function(e) {
9
+ a = e.call(o, a, n.normalize(), t ? t.status : void 0);
10
+ }), n.normalize(), a;
4
11
  }
5
12
  export {
6
- n as default
13
+ h as default
7
14
  };
package/dist/index216.mjs CHANGED
@@ -1,16 +1,7 @@
1
1
  'use client';
2
- import o from "./index255.mjs";
3
- import r from "./index256.mjs";
4
- import t from "./index257.mjs";
5
- const l = {
6
- isBrowser: !0,
7
- classes: {
8
- URLSearchParams: o,
9
- FormData: r,
10
- Blob: t
11
- },
12
- protocols: ["http", "https", "file", "blob", "url", "data"]
13
- };
2
+ function e(t) {
3
+ return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);
4
+ }
14
5
  export {
15
- l as default
6
+ e as default
16
7
  };
package/dist/index217.mjs CHANGED
@@ -1,10 +1,7 @@
1
1
  'use client';
2
- const e = typeof window < "u" && typeof document < "u", o = typeof navigator == "object" && navigator || void 0, n = e && (!o || ["ReactNative", "NativeScript", "NS"].indexOf(o.product) < 0), t = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
3
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function", r = e && window.location.href || "http://localhost";
2
+ function n(e, c) {
3
+ return c ? e.replace(/\/?\/$/, "") + "/" + c.replace(/^\/+/, "") : e;
4
+ }
4
5
  export {
5
- e as hasBrowserEnv,
6
- n as hasStandardBrowserEnv,
7
- t as hasStandardBrowserWebWorkerEnv,
8
- o as navigator,
9
- r as origin
6
+ n as default
10
7
  };
package/dist/index234.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- var e = {};
2
+ var r = {};
3
3
  export {
4
- e as __exports
4
+ r as __exports
5
5
  };
package/dist/index235.mjs CHANGED
@@ -1,40 +1,5 @@
1
1
  'use client';
2
- import { __exports as n } from "./index263.mjs";
3
- import { __require as l } from "./index264.mjs";
4
- import { __require as d } from "./index265.mjs";
5
- var t;
6
- function R() {
7
- return t ? n : (t = 1, function(i) {
8
- Object.defineProperty(i, "__esModule", {
9
- value: !0
10
- });
11
- function o(u, e) {
12
- for (var r in e) Object.defineProperty(u, r, {
13
- enumerable: !0,
14
- get: e[r]
15
- });
16
- }
17
- o(i, {
18
- normalizeAppPath: function() {
19
- return a;
20
- },
21
- normalizeRscURL: function() {
22
- return p;
23
- }
24
- });
25
- const s = l(), f = d();
26
- function a(u) {
27
- return (0, s.ensureLeadingSlash)(u.split("/").reduce((e, r, c, _) => !r || (0, f.isGroupSegment)(r) || r[0] === "@" || (r === "page" || r === "route") && c === _.length - 1 ? e : e + "/" + r, ""));
28
- }
29
- function p(u) {
30
- return u.replace(
31
- /\.rsc($|\?)/,
32
- // $1 ensures `?` is preserved
33
- "$1"
34
- );
35
- }
36
- }(n), n);
37
- }
2
+ var e = {};
38
3
  export {
39
- R as __require
4
+ e as __exports
40
5
  };
package/dist/index236.mjs CHANGED
@@ -1,5 +1,40 @@
1
1
  'use client';
2
- var a = {};
2
+ import { __exports as n } from "./index264.mjs";
3
+ import { __require as l } from "./index265.mjs";
4
+ import { __require as d } from "./index266.mjs";
5
+ var t;
6
+ function R() {
7
+ return t ? n : (t = 1, function(i) {
8
+ Object.defineProperty(i, "__esModule", {
9
+ value: !0
10
+ });
11
+ function o(u, e) {
12
+ for (var r in e) Object.defineProperty(u, r, {
13
+ enumerable: !0,
14
+ get: e[r]
15
+ });
16
+ }
17
+ o(i, {
18
+ normalizeAppPath: function() {
19
+ return a;
20
+ },
21
+ normalizeRscURL: function() {
22
+ return p;
23
+ }
24
+ });
25
+ const s = l(), f = d();
26
+ function a(u) {
27
+ return (0, s.ensureLeadingSlash)(u.split("/").reduce((e, r, c, _) => !r || (0, f.isGroupSegment)(r) || r[0] === "@" || (r === "page" || r === "route") && c === _.length - 1 ? e : e + "/" + r, ""));
28
+ }
29
+ function p(u) {
30
+ return u.replace(
31
+ /\.rsc($|\?)/,
32
+ // $1 ensures `?` is preserved
33
+ "$1"
34
+ );
35
+ }
36
+ }(n), n);
37
+ }
3
38
  export {
4
- a as __exports
39
+ R as __require
5
40
  };