@fluid-app/fluid-cli-theme-dev 0.1.1020 → 0.1.1022

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 (51) hide show
  1. package/dist/dist-cli-preview/.vite/manifest.json +264 -254
  2. package/dist/dist-cli-preview/account-screens.js +1 -1
  3. package/dist/dist-cli-preview/chunks/Card-D4L2W6cc.js +82 -0
  4. package/dist/dist-cli-preview/chunks/{Combobox-DluUOyIh.js → Combobox-CEX3Z0-U.js} +5 -5
  5. package/dist/dist-cli-preview/chunks/{ContactsScreen-BfIuH4zD.js → ContactsScreen-Cge68-xW.js} +20 -20
  6. package/dist/dist-cli-preview/chunks/MediaScreen-DBtTyyfN.js +8 -0
  7. package/dist/dist-cli-preview/chunks/{MemberManagementProviders-ppb9SRAo.js → MemberManagementProviders-Dg8tTCn6.js} +21 -21
  8. package/dist/dist-cli-preview/chunks/{MemberShareablesScreen-DX_TqMKQ.js → MemberShareablesScreen-qX0-mBK9.js} +55 -54
  9. package/dist/dist-cli-preview/chunks/{MessagingScreen-DSyXhc2b.js → MessagingScreen-B3V1uUNn.js} +10 -10
  10. package/dist/dist-cli-preview/chunks/{MobileActionSheet-D2rBX4Lx.js → MobileActionSheet-Bu4VYNYv.js} +19 -19
  11. package/dist/dist-cli-preview/chunks/{MySiteScreen-CHt-UJwd.js → MySiteScreen-TD4gil6g.js} +99 -98
  12. package/dist/dist-cli-preview/chunks/{OrdersScreen-BjEvn_GA.js → OrdersScreen-CR3uIBN5.js} +19 -19
  13. package/dist/dist-cli-preview/chunks/OrdersScreen-cYuf1LSQ.js +9 -0
  14. package/dist/dist-cli-preview/chunks/PlaylistsScreen-Dj6CaY27.js +8 -0
  15. package/dist/dist-cli-preview/chunks/{PortalTenantClientProvider-B3BFo8T5.js → PortalTenantClientProvider-Cm8sybr0.js} +1 -1
  16. package/dist/dist-cli-preview/chunks/{ProfileScreen-gEK7hkL0.js → ProfileScreen-Dw43QPwf.js} +14 -14
  17. package/dist/dist-cli-preview/chunks/{ResponsiveDialog-Cuv5gFUx.js → ResponsiveDialog-BQjNkHDC.js} +14 -14
  18. package/dist/dist-cli-preview/chunks/{Select-CD9zC8ic.js → Select-sW9YXp54.js} +2 -2
  19. package/dist/dist-cli-preview/chunks/{SubscriptionsScreen-DfRU96gn.js → SubscriptionsScreen-CDlz7hkF.js} +3 -3
  20. package/dist/dist-cli-preview/chunks/{Textarea-BX1sqax1.js → Textarea-DumX44JD.js} +15 -15
  21. package/dist/dist-cli-preview/chunks/{account-screen-runtime-gWamEEiQ.js → account-screen-runtime-DBo540sf.js} +14 -14
  22. package/dist/dist-cli-preview/chunks/{arrow-left-C-2EMJLp.js → arrow-left-BaX36-LV.js} +1 -1
  23. package/dist/dist-cli-preview/chunks/{cli-preview-BstLNvNL.js → cli-preview-BKgnX_vs.js} +9 -9
  24. package/dist/dist-cli-preview/chunks/{client.gen-Bn09emPC.js → client.gen-C9JDLz8R.js} +1 -1
  25. package/dist/dist-cli-preview/chunks/{copy-DO_MJg1G.js → copy-Dtj1yNq0.js} +1 -1
  26. package/dist/dist-cli-preview/chunks/{countries-api-adapter-DRAx82BG.js → countries-api-adapter-fEvFZIhb.js} +2 -2
  27. package/dist/dist-cli-preview/chunks/{create-card-entry-container-Cw8YYFhs.js → create-card-entry-container-BjXD619-.js} +7614 -6243
  28. package/dist/dist-cli-preview/chunks/{hey-api-client-BtWnXt6Y.js → hey-api-client-BwxK1GCx.js} +172 -73
  29. package/dist/dist-cli-preview/chunks/{index-dtGU2026.js → index-BcVHp4rw.js} +2 -2
  30. package/dist/dist-cli-preview/chunks/{index-B23yRHYj.js → index-D0GO5Cwg.js} +17 -17
  31. package/dist/dist-cli-preview/chunks/{index-DSMhrA7P.js → index-DNhH5pOw.js} +1 -1
  32. package/dist/dist-cli-preview/chunks/{map-pin-_fZf7MT1.js → map-pin-RvaS9V_R.js} +1 -1
  33. package/dist/dist-cli-preview/chunks/{mount-account-screen-CLp4ME_b.js → mount-account-screen-DLP2iHgF.js} +8 -8
  34. package/dist/dist-cli-preview/chunks/{navigate-account-screen-thG6x2xQ.js → navigate-account-screen-DijqdMMC.js} +1 -1
  35. package/dist/dist-cli-preview/chunks/{schemas-BGhVnzPl.js → schemas-CJGm6iSl.js} +2 -2
  36. package/dist/dist-cli-preview/chunks/{screen-route-slug-utils-yYCdefUM.js → screen-route-slug-utils-DqTRjYZP.js} +1 -1
  37. package/dist/dist-cli-preview/chunks/{search-DAHGESai.js → search-BIGAexMo.js} +1 -1
  38. package/dist/dist-cli-preview/chunks/{sheet-haptics-context-1PrsBukT.js → sheet-haptics-context-iA31KqTw.js} +1 -1
  39. package/dist/dist-cli-preview/chunks/{sidebar-DqS7s6Fo.js → sidebar-CA_IU2Cj.js} +7 -7
  40. package/dist/dist-cli-preview/chunks/{sortable.esm-aUBXTWUl.js → sortable.esm-DpnYej2Q.js} +573 -653
  41. package/dist/dist-cli-preview/chunks/{store-api-context-DfNTd_aW.js → store-api-context-Cdcr1SaX.js} +1 -1
  42. package/dist/dist-cli-preview/chunks/{translation-api-context-factory-DDptTXAu.js → translation-api-context-factory-BHkbs163.js} +1 -1
  43. package/dist/dist-cli-preview/chunks/{use-mobile-CzhxjMYC.js → use-mobile-D7RwBZ2l.js} +1 -1
  44. package/dist/dist-cli-preview/chunks/{use-optional-store-DdujEdZ6.js → use-optional-store-KM7c5kva.js} +2 -2
  45. package/dist/dist-cli-preview/chunks/{use-store-B2hbh2xH.js → use-store-BcHHhhoB.js} +4 -4
  46. package/dist/dist-cli-preview/chunks/{useInfiniteQuery-BoOiol5L.js → useInfiniteQuery-B0k2lCPD.js} +1 -1
  47. package/dist/dist-cli-preview/chunks/{users-lOg_maXR.js → users-Cxq5CaI4.js} +1 -1
  48. package/package.json +1 -1
  49. package/dist/dist-cli-preview/chunks/MediaScreen-H6iV-Ufc.js +0 -8
  50. package/dist/dist-cli-preview/chunks/OrdersScreen-x3dhaNsm.js +0 -9
  51. package/dist/dist-cli-preview/chunks/PlaylistsScreen-Cs2hdnx7.js +0 -8
@@ -1,14 +1,15 @@
1
- import { c as ae, aj as Ie, l as i, j as t, a4 as Be, $ as g, L as Re, X as oe, a7 as de, B as Oe, _ as Ue, a3 as ce, ba as Ke, E as $e, a1 as He, ak as Ve, z as qe } from "./account-screen-runtime-gWamEEiQ.js";
2
- import { C as B, h as ne, i as ge, a as W, j as Ge, k as Ye, l as We, m as Qe, n as Xe, o as Ze, c as be, d as Y, f as ye, D as _e, e as ve, S as je, v as Ne, s as ke, K as Ce, P as Se, u as we, b as Le, G as Ee, p as Je, q as et, r as tt, t as De, w as st, x as at, U as nt, L as rt, M as it } from "./sortable.esm-aUBXTWUl.js";
3
- import { c as lt, a as ot } from "./client.gen-Bn09emPC.js";
4
- import { S as E, I as ue, B as dt, a as ct, b as me, d as ut, c as he, e as mt } from "./sheet-haptics-context-1PrsBukT.js";
5
- import { a as ht, c as pt, b as ft, u as xt } from "./translation-api-context-factory-DDptTXAu.js";
6
- import { U as gt } from "./users-lOg_maXR.js";
7
- import { C as bt } from "./copy-DO_MJg1G.js";
8
- import { A as re } from "./arrow-left-C-2EMJLp.js";
9
- import { C as yt, o as w, n as _, s as c, d as ee, f as _t } from "./schemas-BGhVnzPl.js";
10
- import { P as pe, R as te, e as se, T as ie, f as vt } from "./ResponsiveDialog-Cuv5gFUx.js";
11
- import { u as Pe } from "./sidebar-DqS7s6Fo.js";
1
+ import { c as ae, aj as Ie, l as i, j as t, a4 as Be, $ as g, L as Re, X as oe, a7 as de, B as Oe, _ as Ue, a3 as ce, ba as Ke, E as $e, a1 as He, ak as Ve, z as qe } from "./account-screen-runtime-DBo540sf.js";
2
+ import { f as Ge, g as Ye, h as We, i as Qe, j as Xe, a as ge, b as Y, d as be, D as ye, c as _e, S as ve, v as je, s as Ne, K as ke, P as Ce, u as Se, C as we, G as Le, k as Ze, l as Je, m as et, n as Ee, o as tt, p as st, U as at, L as nt, M as rt } from "./sortable.esm-DpnYej2Q.js";
3
+ import { c as it, a as lt } from "./client.gen-C9JDLz8R.js";
4
+ import { S as E, I as ue, B as ot, a as dt, b as me, d as ct, c as pe, e as ut } from "./sheet-haptics-context-iA31KqTw.js";
5
+ import { a as mt, c as pt, b as ht, u as ft } from "./translation-api-context-factory-BHkbs163.js";
6
+ import { C as B, b as ne, c as De, a as W, d as xt } from "./Card-D4L2W6cc.js";
7
+ import { U as gt } from "./users-Cxq5CaI4.js";
8
+ import { C as bt } from "./copy-Dtj1yNq0.js";
9
+ import { A as re } from "./arrow-left-BaX36-LV.js";
10
+ import { C as yt, o as w, n as _, s as c, d as ee, f as _t } from "./schemas-CJGm6iSl.js";
11
+ import { P as he, R as te, e as se, T as ie, f as vt } from "./ResponsiveDialog-BQjNkHDC.js";
12
+ import { u as Pe } from "./sidebar-CA_IU2Cj.js";
12
13
  /**
13
14
  * @license lucide-react v0.575.0 - ISC
14
15
  *
@@ -59,7 +60,7 @@ function wt(e) {
59
60
  return e instanceof DOMException && e.name === "AbortError" || e instanceof Error && e.name === "AbortError";
60
61
  }
61
62
  function Lt(e) {
62
- const s = lt({
63
+ const s = it({
63
64
  baseUrl: e.baseUrl,
64
65
  credentials: "include",
65
66
  fetch: e.fetch,
@@ -79,7 +80,7 @@ function Lt(e) {
79
80
  l.set(r, o);
80
81
  return new Request(n, { headers: l });
81
82
  }), s.interceptors.error.use(
82
- ot({
83
+ lt({
83
84
  onResponseError: (n) => {
84
85
  n.status === 401 && e.onAuthError?.();
85
86
  },
@@ -483,13 +484,13 @@ const $t = {
483
484
  }
484
485
  });
485
486
  function Vt(e, s) {
486
- return ht(e, s);
487
+ return mt(e, s);
487
488
  }
488
- const { Provider: qt, useTranslation: Gt } = ft("Mysite"), Yt = qt, D = Gt;
489
+ const { Provider: qt, useTranslation: Gt } = ht("Mysite"), Yt = qt, D = Gt;
489
490
  function Wt({
490
491
  children: e
491
492
  }) {
492
- const { locale: s } = Ie(), n = xt(Ht, s), a = i.useMemo(
493
+ const { locale: s } = Ie(), n = ft(Ht, s), a = i.useMemo(
493
494
  () => Vt(s, n),
494
495
  [s, n]
495
496
  );
@@ -538,7 +539,7 @@ function Zt({
538
539
  }) {
539
540
  const { t: n } = D();
540
541
  return /* @__PURE__ */ t.jsxs(B, { className: "h-auto gap-0 py-0 shadow-none", children: [
541
- /* @__PURE__ */ t.jsx(ne, { className: "p-4 pb-3", children: /* @__PURE__ */ t.jsx(ge, { className: "text-sm", children: n("visitor_details") }) }),
542
+ /* @__PURE__ */ t.jsx(ne, { className: "p-4 pb-3", children: /* @__PURE__ */ t.jsx(De, { className: "text-sm", children: n("visitor_details") }) }),
542
543
  /* @__PURE__ */ t.jsxs(W, { className: "flex px-4 pb-4", children: [
543
544
  /* @__PURE__ */ t.jsxs("div", { className: "flex-1", children: [
544
545
  /* @__PURE__ */ t.jsxs("div", { className: "mb-2 flex items-center gap-1.5", children: [
@@ -564,10 +565,10 @@ function Jt({
564
565
  onUpdateSlug: n,
565
566
  onToast: a
566
567
  }) {
567
- const { t: l } = D(), r = s.lastIndexOf("/"), o = r >= 0 ? s.slice(0, r + 1) : "", d = r >= 0 ? s.slice(r + 1) : s, [u, f] = i.useState(!1), [m, h] = i.useState(d), [y, j] = i.useState(!1), v = i.useCallback(() => {
568
- h(d), f(!0);
568
+ const { t: l } = D(), r = s.lastIndexOf("/"), o = r >= 0 ? s.slice(0, r + 1) : "", d = r >= 0 ? s.slice(r + 1) : s, [u, f] = i.useState(!1), [m, p] = i.useState(d), [y, j] = i.useState(!1), v = i.useCallback(() => {
569
+ p(d), f(!0);
569
570
  }, [d]), N = i.useCallback(() => {
570
- f(!1), h(d);
571
+ f(!1), p(d);
571
572
  }, [d]), P = i.useCallback(async () => {
572
573
  const x = m.trim();
573
574
  if (!x) {
@@ -598,8 +599,8 @@ function Jt({
598
599
  }, [e, a, l]);
599
600
  return /* @__PURE__ */ t.jsxs(B, { className: "h-auto gap-0 py-0 shadow-none", children: [
600
601
  /* @__PURE__ */ t.jsxs(ne, { className: "items-center p-4", children: [
601
- /* @__PURE__ */ t.jsx(ge, { className: "text-sm", children: l("your_mysite_link") }),
602
- !u && n && /* @__PURE__ */ t.jsx(Ge, { children: /* @__PURE__ */ t.jsx(g, { variant: "link", size: "sm", onClick: v, children: l("edit_link") }) })
602
+ /* @__PURE__ */ t.jsx(De, { className: "text-sm", children: l("your_mysite_link") }),
603
+ !u && n && /* @__PURE__ */ t.jsx(xt, { children: /* @__PURE__ */ t.jsx(g, { variant: "link", size: "sm", onClick: v, children: l("edit_link") }) })
603
604
  ] }),
604
605
  /* @__PURE__ */ t.jsxs(W, { className: "px-4 pb-4", children: [
605
606
  /* @__PURE__ */ t.jsxs("div", { className: "text-foreground flex items-center gap-2 rounded-lg border bg-gradient-to-r from-[rgba(72,187,120,0.2)] via-[rgba(236,72,153,0.15)] to-[rgba(251,146,60,0.15)] px-3 py-2.5", children: [
@@ -610,7 +611,7 @@ function Jt({
610
611
  {
611
612
  type: "text",
612
613
  value: m,
613
- onChange: (x) => h(x.target.value),
614
+ onChange: (x) => p(x.target.value),
614
615
  onKeyDown: (x) => {
615
616
  x.key === "Enter" && !y && P(), x.key === "Escape" && N();
616
617
  },
@@ -906,10 +907,10 @@ function os({
906
907
  transform: d,
907
908
  transition: u,
908
909
  isDragging: f
909
- } = we({ id: e.id }), m = {
910
- transform: Le.Transform.toString(d),
910
+ } = Se({ id: e.id }), m = {
911
+ transform: we.Transform.toString(d),
911
912
  transition: u
912
- }, h = Fe(e.url), y = h.length > 40 ? `${h.substring(0, 40)}...` : h;
913
+ }, p = Fe(e.url), y = p.length > 40 ? `${p.substring(0, 40)}...` : p;
913
914
  return /* @__PURE__ */ t.jsxs(
914
915
  "div",
915
916
  {
@@ -925,7 +926,7 @@ function os({
925
926
  "aria-label": a("drag_to_reorder"),
926
927
  ...l,
927
928
  ...r,
928
- children: /* @__PURE__ */ t.jsx(Ee, { className: "size-5" })
929
+ children: /* @__PURE__ */ t.jsx(Le, { className: "size-5" })
929
930
  }
930
931
  ),
931
932
  /* @__PURE__ */ t.jsxs("div", { className: "min-w-0 flex-1", children: [
@@ -966,17 +967,17 @@ function ds({
966
967
  onToast: n
967
968
  }) {
968
969
  "use no memo";
969
- const { t: a } = D(), { isMobile: l } = Pe(), r = i.useMemo(() => ls(a), [a]), { data: o = [], isLoading: d } = Ye(), u = We(), f = Qe(), m = Xe(), h = Ze(), [y, j] = i.useState(!1), [v, N] = i.useState(null), [P, C] = i.useState(!1), [x, M] = i.useState(null), {
970
+ const { t: a } = D(), { isMobile: l } = Pe(), r = i.useMemo(() => ls(a), [a]), { data: o = [], isLoading: d } = Ge(), u = Ye(), f = We(), m = Qe(), p = Xe(), [y, j] = i.useState(!1), [v, N] = i.useState(null), [P, C] = i.useState(!1), [x, M] = i.useState(null), {
970
971
  register: k,
971
972
  handleSubmit: R,
972
973
  reset: L,
973
974
  formState: { errors: S, isSubmitting: I }
974
975
  } = _t(r, {
975
976
  defaultValues: { title: "", url: "" }
976
- }), F = be(
977
- Y(Se),
978
- Y(Ce, {
979
- coordinateGetter: ke
977
+ }), F = ge(
978
+ Y(Ce),
979
+ Y(ke, {
980
+ coordinateGetter: Ne
980
981
  })
981
982
  ), $ = i.useCallback(() => {
982
983
  N(null), L({ title: "", url: "" }), j(!0);
@@ -1026,7 +1027,7 @@ function ds({
1026
1027
  n,
1027
1028
  a
1028
1029
  ]
1029
- ), p = i.useCallback((b) => {
1030
+ ), h = i.useCallback((b) => {
1030
1031
  M(b), C(!0);
1031
1032
  }, []), z = i.useCallback(() => {
1032
1033
  C(!1), M(null);
@@ -1050,8 +1051,8 @@ function ds({
1050
1051
  (b) => {
1051
1052
  const { active: V, over: Z } = b;
1052
1053
  if (Z && V.id !== Z.id) {
1053
- const ze = o.findIndex((U) => U.id === V.id), Te = o.findIndex((U) => U.id === Z.id), le = ye(o, ze, Te), Ae = le.map((U) => U.id);
1054
- h.mutate(
1054
+ const ze = o.findIndex((U) => U.id === V.id), Te = o.findIndex((U) => U.id === Z.id), le = be(o, ze, Te), Ae = le.map((U) => U.id);
1055
+ p.mutate(
1055
1056
  { orderedIds: Ae, optimisticItems: le },
1056
1057
  {
1057
1058
  onSuccess: () => {
@@ -1064,7 +1065,7 @@ function ds({
1064
1065
  );
1065
1066
  }
1066
1067
  },
1067
- [o, h, s, n, a]
1068
+ [o, p, s, n, a]
1068
1069
  );
1069
1070
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1070
1071
  /* @__PURE__ */ t.jsxs("div", { className: "flex items-center justify-between", children: [
@@ -1073,7 +1074,7 @@ function ds({
1073
1074
  /* @__PURE__ */ t.jsx("h1", { className: "text-foreground text-xl font-bold", children: a("buttons_heading") })
1074
1075
  ] }),
1075
1076
  /* @__PURE__ */ t.jsxs(g, { size: "sm", onClick: $, children: [
1076
- /* @__PURE__ */ t.jsx(pe, { className: "mr-1 size-4" }),
1077
+ /* @__PURE__ */ t.jsx(he, { className: "mr-1 size-4" }),
1077
1078
  a("add_button")
1078
1079
  ] })
1079
1080
  ] }),
@@ -1097,26 +1098,26 @@ function ds({
1097
1098
  )) }) : o.length === 0 ? /* @__PURE__ */ t.jsxs(B, { className: "p-6 text-center sm:p-8", children: [
1098
1099
  /* @__PURE__ */ t.jsx("p", { className: "text-muted-foreground mb-4", children: a("no_buttons_empty") }),
1099
1100
  /* @__PURE__ */ t.jsxs(g, { size: "sm", onClick: $, children: [
1100
- /* @__PURE__ */ t.jsx(pe, { className: "mr-1 size-4" }),
1101
+ /* @__PURE__ */ t.jsx(he, { className: "mr-1 size-4" }),
1101
1102
  a("add_button")
1102
1103
  ] })
1103
1104
  ] }) : /* @__PURE__ */ t.jsx(
1104
- _e,
1105
+ ye,
1105
1106
  {
1106
1107
  sensors: F,
1107
- collisionDetection: ve,
1108
+ collisionDetection: _e,
1108
1109
  onDragEnd: X,
1109
1110
  children: /* @__PURE__ */ t.jsx(
1110
- je,
1111
+ ve,
1111
1112
  {
1112
1113
  items: o.map((b) => b.id),
1113
- strategy: Ne,
1114
+ strategy: je,
1114
1115
  children: /* @__PURE__ */ t.jsx("div", { className: "space-y-2", children: o.map((b) => /* @__PURE__ */ t.jsx(
1115
1116
  os,
1116
1117
  {
1117
1118
  link: b,
1118
1119
  onEdit: H,
1119
- onDelete: p
1120
+ onDelete: h
1120
1121
  },
1121
1122
  b.id
1122
1123
  )) })
@@ -1170,7 +1171,7 @@ function ds({
1170
1171
  type: "button",
1171
1172
  variant: "destructive",
1172
1173
  onClick: () => {
1173
- A(), p(v);
1174
+ A(), h(v);
1174
1175
  },
1175
1176
  children: [
1176
1177
  /* @__PURE__ */ t.jsx(ie, { className: "mr-1 size-4" }),
@@ -1258,10 +1259,10 @@ function us({
1258
1259
  transform: o,
1259
1260
  transition: d,
1260
1261
  isDragging: u
1261
- } = we({ id: e.id }), f = {
1262
- transform: Le.Transform.toString(o),
1262
+ } = Se({ id: e.id }), f = {
1263
+ transform: we.Transform.toString(o),
1263
1264
  transition: d
1264
- }, m = e.name ?? n("untitled"), h = e.image_url, y = cs[e.favoriteable_type], j = e.favoriteable_type !== "Product" ? y ? n(y) : e.favoriteable_type : null;
1265
+ }, m = e.name ?? n("untitled"), p = e.image_url, y = cs[e.favoriteable_type], j = e.favoriteable_type !== "Product" ? y ? n(y) : e.favoriteable_type : null;
1265
1266
  return /* @__PURE__ */ t.jsxs(
1266
1267
  "div",
1267
1268
  {
@@ -1277,13 +1278,13 @@ function us({
1277
1278
  "aria-label": n("drag_to_reorder"),
1278
1279
  ...a,
1279
1280
  ...l,
1280
- children: /* @__PURE__ */ t.jsx(Ee, { className: "size-5" })
1281
+ children: /* @__PURE__ */ t.jsx(Le, { className: "size-5" })
1281
1282
  }
1282
1283
  ),
1283
- /* @__PURE__ */ t.jsx("div", { className: "bg-muted size-10 shrink-0 overflow-hidden rounded-md", children: h ? /* @__PURE__ */ t.jsx(
1284
+ /* @__PURE__ */ t.jsx("div", { className: "bg-muted size-10 shrink-0 overflow-hidden rounded-md", children: p ? /* @__PURE__ */ t.jsx(
1284
1285
  "img",
1285
1286
  {
1286
- src: h,
1287
+ src: p,
1287
1288
  alt: m,
1288
1289
  loading: "lazy",
1289
1290
  width: 40,
@@ -1315,10 +1316,10 @@ function ms({
1315
1316
  onRefreshPreview: s,
1316
1317
  onToast: n
1317
1318
  }) {
1318
- const { t: a } = D(), { isMobile: l } = Pe(), { data: r = [], isLoading: o } = Je(), d = et(), u = tt(), [f, m] = i.useState(!1), [h, y] = i.useState(null), j = be(
1319
- Y(Se),
1320
- Y(Ce, {
1321
- coordinateGetter: ke
1319
+ const { t: a } = D(), { isMobile: l } = Pe(), { data: r = [], isLoading: o } = Ze(), d = Je(), u = et(), [f, m] = i.useState(!1), [p, y] = i.useState(null), j = ge(
1320
+ Y(Ce),
1321
+ Y(ke, {
1322
+ coordinateGetter: Ne
1322
1323
  })
1323
1324
  ), v = i.useCallback(
1324
1325
  (x) => {
@@ -1328,7 +1329,7 @@ function ms({
1328
1329
  ), N = i.useCallback(() => {
1329
1330
  m(!1), y(null);
1330
1331
  }, []), P = i.useCallback(() => {
1331
- h && d.mutate(h.id, {
1332
+ p && d.mutate(p.id, {
1332
1333
  onSuccess: () => {
1333
1334
  n?.(a("content_removed"), "success"), N(), s?.();
1334
1335
  },
@@ -1337,7 +1338,7 @@ function ms({
1337
1338
  }
1338
1339
  });
1339
1340
  }, [
1340
- h,
1341
+ p,
1341
1342
  d,
1342
1343
  N,
1343
1344
  s,
@@ -1347,7 +1348,7 @@ function ms({
1347
1348
  (x) => {
1348
1349
  const { active: M, over: k } = x;
1349
1350
  if (k && M.id !== k.id) {
1350
- const R = r.findIndex((F) => F.id === M.id), L = r.findIndex((F) => F.id === k.id), S = ye(r, R, L), I = S.map((F) => F.id);
1351
+ const R = r.findIndex((F) => F.id === M.id), L = r.findIndex((F) => F.id === k.id), S = be(r, R, L), I = S.map((F) => F.id);
1351
1352
  u.mutate(
1352
1353
  { orderedIds: I, optimisticItems: S },
1353
1354
  {
@@ -1384,16 +1385,16 @@ function ms({
1384
1385
  },
1385
1386
  M
1386
1387
  )) }) : r.length === 0 ? /* @__PURE__ */ t.jsx(B, { className: "p-6 text-center sm:p-8", children: /* @__PURE__ */ t.jsx("p", { className: "text-muted-foreground", children: a("no_content_empty") }) }) : /* @__PURE__ */ t.jsx(
1387
- _e,
1388
+ ye,
1388
1389
  {
1389
1390
  sensors: j,
1390
- collisionDetection: ve,
1391
+ collisionDetection: _e,
1391
1392
  onDragEnd: C,
1392
1393
  children: /* @__PURE__ */ t.jsx(
1393
- je,
1394
+ ve,
1394
1395
  {
1395
1396
  items: r.map((x) => x.id),
1396
- strategy: Ne,
1397
+ strategy: je,
1397
1398
  children: /* @__PURE__ */ t.jsx("div", { className: "space-y-2", children: r.map((x) => /* @__PURE__ */ t.jsx(
1398
1399
  us,
1399
1400
  {
@@ -1416,7 +1417,7 @@ function ms({
1416
1417
  size: "compact",
1417
1418
  children: [
1418
1419
  /* @__PURE__ */ t.jsx("p", { className: "text-muted-foreground", children: a("remove_content_confirm", {
1419
- name: h?.name ?? a("untitled")
1420
+ name: p?.name ?? a("untitled")
1420
1421
  }) }),
1421
1422
  /* @__PURE__ */ t.jsxs(se, { children: [
1422
1423
  /* @__PURE__ */ t.jsx(
@@ -1444,34 +1445,34 @@ function ms({
1444
1445
  )
1445
1446
  ] });
1446
1447
  }
1447
- const hs = [
1448
- { labelKey: "nav_profile", slug: "profile", icon: nt },
1448
+ const ps = [
1449
+ { labelKey: "nav_profile", slug: "profile", icon: at },
1449
1450
  { labelKey: "nav_theme", key: "theme", icon: Me },
1450
- { labelKey: "nav_content", key: "content", icon: rt },
1451
+ { labelKey: "nav_content", key: "content", icon: nt },
1451
1452
  { labelKey: "nav_buttons", key: "buttons", icon: Ct }
1452
1453
  ];
1453
1454
  function K(e, s) {
1454
1455
  $e({ title: e, type: s });
1455
1456
  }
1456
- function ps({
1457
+ function hs({
1457
1458
  editingSection: e,
1458
1459
  animPhase: s,
1459
1460
  showEditContent: n,
1460
1461
  onEditSection: a,
1461
1462
  onBackClick: l
1462
1463
  }) {
1463
- const { t: r } = D(), { navigate: o } = Oe(), { data: d, isLoading: u } = De(), { data: f = [] } = st(), m = Ue(), h = at({
1464
+ const { t: r } = D(), { navigate: o } = Oe(), { data: d, isLoading: u } = Ee(), { data: f = [] } = tt(), m = Ue(), p = st({
1464
1465
  // The theme saves through here too, and only a slug write moves the URL.
1465
- onSuccess: (p) => p.slug === void 0 ? void 0 : Ke(m)
1466
- }), [y, j] = i.useState(0), v = i.useCallback(() => j((p) => p + 1), []), [N, P] = i.useState(null), C = N ?? d?.theme_id ?? f.find((p) => p.name === "Default")?.id ?? f[0]?.id ?? null, M = f.find((p) => p.id === C)?.name ?? "Default", k = d?.mysite_url ?? "", R = k ? k.replace(/^https?:\/\//, "") : "", L = d?.mysite_views ?? 0, S = d?.mysite_leads ?? 0, I = i.useCallback(
1467
- (p) => {
1468
- if (p.id === C) return;
1466
+ onSuccess: (h) => h.slug === void 0 ? void 0 : Ke(m)
1467
+ }), [y, j] = i.useState(0), v = i.useCallback(() => j((h) => h + 1), []), [N, P] = i.useState(null), C = N ?? d?.theme_id ?? f.find((h) => h.name === "Default")?.id ?? f[0]?.id ?? null, M = f.find((h) => h.id === C)?.name ?? "Default", k = d?.mysite_url ?? "", R = k ? k.replace(/^https?:\/\//, "") : "", L = d?.mysite_views ?? 0, S = d?.mysite_leads ?? 0, I = i.useCallback(
1468
+ (h) => {
1469
+ if (h.id === C) return;
1469
1470
  const z = N;
1470
- P(p.id), h.mutate(
1471
- { theme_id: p.id },
1471
+ P(h.id), p.mutate(
1472
+ { theme_id: h.id },
1472
1473
  {
1473
1474
  onSuccess: () => {
1474
- K(r("theme_changed", { name: p.name }), "success"), v();
1475
+ K(r("theme_changed", { name: h.name }), "success"), v();
1475
1476
  },
1476
1477
  onError: () => {
1477
1478
  P(z), K(r("theme_update_failed"), "error");
@@ -1482,15 +1483,15 @@ function ps({
1482
1483
  [
1483
1484
  C,
1484
1485
  N,
1485
- h,
1486
+ p,
1486
1487
  v,
1487
1488
  r
1488
1489
  ]
1489
1490
  ), F = i.useCallback(
1490
- async (p) => {
1491
+ async (h) => {
1491
1492
  await new Promise((z, O) => {
1492
- h.mutate(
1493
- { slug: p },
1493
+ p.mutate(
1494
+ { slug: h },
1494
1495
  {
1495
1496
  onSuccess: () => z(),
1496
1497
  onError: () => O(new Error("Failed"))
@@ -1498,11 +1499,11 @@ function ps({
1498
1499
  );
1499
1500
  });
1500
1501
  },
1501
- [h]
1502
+ [p]
1502
1503
  ), $ = i.useCallback(() => {
1503
1504
  if (!k) return;
1504
- const p = new URL(k);
1505
- p.searchParams.set("rep_view", "true"), window.open(p.toString(), "_blank");
1505
+ const h = new URL(k);
1506
+ h.searchParams.set("rep_view", "true"), window.open(h.toString(), "_blank");
1506
1507
  }, [k]), H = i.useMemo(() => e === "theme" ? r("nav_theme") : e === "buttons" ? r("nav_buttons") : e === "content" ? r("nav_content") : "", [e, r]);
1507
1508
  if (u)
1508
1509
  return /* @__PURE__ */ t.jsxs("div", { className: "flex h-full flex-col overflow-y-auto px-2 py-6 2xl:flex-row 2xl:overflow-hidden", children: [
@@ -1535,7 +1536,7 @@ function ps({
1535
1536
  themes: f,
1536
1537
  selectedThemeId: C,
1537
1538
  onSelectTheme: I,
1538
- isPending: h.isPending,
1539
+ isPending: p.isPending,
1539
1540
  onBack: l
1540
1541
  }
1541
1542
  ) : n && e === "buttons" ? /* @__PURE__ */ t.jsx(
@@ -1570,8 +1571,8 @@ function ps({
1570
1571
  onToast: K
1571
1572
  }
1572
1573
  ),
1573
- /* @__PURE__ */ t.jsx("div", { className: "border-border bg-card divide-border divide-y overflow-hidden rounded-lg border", children: hs.map((p) => {
1574
- const z = p.icon, O = "group hover:bg-muted flex w-full items-center gap-2.5 px-3 py-2.5 transition-colors text-left cursor-pointer", X = "slug" in p ? () => o(p.slug) : () => a(p.key);
1574
+ /* @__PURE__ */ t.jsx("div", { className: "border-border bg-card divide-border divide-y overflow-hidden rounded-lg border", children: ps.map((h) => {
1575
+ const z = h.icon, O = "group hover:bg-muted flex w-full items-center gap-2.5 px-3 py-2.5 transition-colors text-left cursor-pointer", X = "slug" in h ? () => o(h.slug) : () => a(h.key);
1575
1576
  return /* @__PURE__ */ t.jsxs(
1576
1577
  "button",
1577
1578
  {
@@ -1580,11 +1581,11 @@ function ps({
1580
1581
  className: O,
1581
1582
  children: [
1582
1583
  /* @__PURE__ */ t.jsx("div", { className: "bg-muted text-foreground flex size-7 shrink-0 items-center justify-center rounded-full", children: /* @__PURE__ */ t.jsx(z, { className: "size-3.5" }) }),
1583
- /* @__PURE__ */ t.jsx("span", { className: "text-foreground flex-1 text-sm font-medium", children: r(p.labelKey) }),
1584
+ /* @__PURE__ */ t.jsx("span", { className: "text-foreground flex-1 text-sm font-medium", children: r(h.labelKey) }),
1584
1585
  /* @__PURE__ */ t.jsx(ce, { className: "text-muted-foreground size-3 shrink-0 transition-transform group-hover:translate-x-0.5" })
1585
1586
  ]
1586
1587
  },
1587
- p.labelKey
1588
+ h.labelKey
1588
1589
  );
1589
1590
  }) })
1590
1591
  ] }) })
@@ -1600,7 +1601,7 @@ function ps({
1600
1601
  mysiteUrl: k,
1601
1602
  themeName: M,
1602
1603
  previewKey: y,
1603
- isUpdating: h.isPending,
1604
+ isUpdating: p.isPending,
1604
1605
  onView: $
1605
1606
  }
1606
1607
  )
@@ -1616,8 +1617,8 @@ function fs() {
1616
1617
  }, []);
1617
1618
  const r = i.useCallback(() => {
1618
1619
  l.current.forEach(clearTimeout), l.current = [];
1619
- }, []), o = i.useCallback((m, h) => {
1620
- const y = setTimeout(() => s(m), h);
1620
+ }, []), o = i.useCallback((m, p) => {
1621
+ const y = setTimeout(() => s(m), p);
1621
1622
  l.current.push(y);
1622
1623
  }, []), d = [
1623
1624
  "slide",
@@ -1674,11 +1675,11 @@ function gs(e) {
1674
1675
  [n, o]
1675
1676
  );
1676
1677
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1677
- /* @__PURE__ */ t.jsx(He, { children: /* @__PURE__ */ t.jsx(dt, { children: /* @__PURE__ */ t.jsxs(ct, { className: "text-lg", children: [
1678
- /* @__PURE__ */ t.jsx(me, { children: d ? /* @__PURE__ */ t.jsx(ut, { href: "#", onClick: u, children: "MySite" }) : /* @__PURE__ */ t.jsx(he, { className: "font-semibold", children: "MySite" }) }),
1678
+ /* @__PURE__ */ t.jsx(He, { children: /* @__PURE__ */ t.jsx(ot, { children: /* @__PURE__ */ t.jsxs(dt, { className: "text-lg", children: [
1679
+ /* @__PURE__ */ t.jsx(me, { children: d ? /* @__PURE__ */ t.jsx(ct, { href: "#", onClick: u, children: "MySite" }) : /* @__PURE__ */ t.jsx(pe, { className: "font-semibold", children: "MySite" }) }),
1679
1680
  d && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1680
- /* @__PURE__ */ t.jsx(mt, {}),
1681
- /* @__PURE__ */ t.jsx(me, { children: /* @__PURE__ */ t.jsx(he, { className: "font-semibold", children: d }) })
1681
+ /* @__PURE__ */ t.jsx(ut, {}),
1682
+ /* @__PURE__ */ t.jsx(me, { children: /* @__PURE__ */ t.jsx(pe, { className: "font-semibold", children: d }) })
1682
1683
  ] })
1683
1684
  ] }) }) }),
1684
1685
  /* @__PURE__ */ t.jsx(
@@ -1687,7 +1688,7 @@ function gs(e) {
1687
1688
  ...e,
1688
1689
  className: `h-full min-h-0 flex-1 ${e.className ?? ""}`,
1689
1690
  children: /* @__PURE__ */ t.jsx(
1690
- ps,
1691
+ hs,
1691
1692
  {
1692
1693
  editingSection: n,
1693
1694
  animPhase: a,
@@ -1700,7 +1701,7 @@ function gs(e) {
1700
1701
  )
1701
1702
  ] });
1702
1703
  }
1703
- function Ds() {
1704
+ function Ps() {
1704
1705
  const { config: e } = Ve(), { fetch: s } = qe(), { baseUrl: n, defaultHeaders: a, onAuthError: l } = e, r = i.useMemo(
1705
1706
  () => Kt(
1706
1707
  Lt({
@@ -1712,13 +1713,13 @@ function Ds() {
1712
1713
  ),
1713
1714
  [n, a, l, s]
1714
1715
  );
1715
- return /* @__PURE__ */ t.jsx(it, { value: r, children: /* @__PURE__ */ t.jsx(bs, {}) });
1716
+ return /* @__PURE__ */ t.jsx(rt, { value: r, children: /* @__PURE__ */ t.jsx(bs, {}) });
1716
1717
  }
1717
1718
  function bs() {
1718
- const { error: e } = De();
1719
+ const { error: e } = Ee();
1719
1720
  if (e) throw e;
1720
1721
  return /* @__PURE__ */ t.jsx(xs, {});
1721
1722
  }
1722
1723
  export {
1723
- Ds as default
1724
+ Ps as default
1724
1725
  };
@@ -1,11 +1,11 @@
1
- import { Y as ue, l as u, aj as me, j as t, X as I, a1 as W, ay as pe, B as $, ak as xe, E as fe } from "./account-screen-runtime-gWamEEiQ.js";
2
- import { c as ge, a as he, b as _e, u as be } from "./translation-api-context-factory-DDptTXAu.js";
3
- import { f as q, h as je, I as ye, R as Ne, m as ve, r as z, n as G, i as A, e as we, p as ke } from "./MemberManagementProviders-ppb9SRAo.js";
4
- import { u as Se } from "./useInfiniteQuery-BoOiol5L.js";
5
- import { B as X, a as V, b as T, c as H, I as Oe, S as g, d as De, e as Ce } from "./sheet-haptics-context-1PrsBukT.js";
6
- import "./store-api-context-DfNTd_aW.js";
7
- import { S as Q } from "./search-DAHGESai.js";
8
- import { u as Le } from "./use-optional-store-DdujEdZ6.js";
1
+ import { Y as ue, l as u, aj as me, j as t, X as I, a1 as W, aA as pe, B as $, ak as xe, E as fe } from "./account-screen-runtime-DBo540sf.js";
2
+ import { c as ge, a as he, b as _e, u as be } from "./translation-api-context-factory-BHkbs163.js";
3
+ import { f as q, h as je, I as ye, R as Ne, m as ve, r as A, n as G, i as z, e as we, p as ke } from "./MemberManagementProviders-Dg8tTCn6.js";
4
+ import { u as Se } from "./useInfiniteQuery-B0k2lCPD.js";
5
+ import { B as X, a as V, b as T, c as H, I as Oe, S as g, d as De, e as Ce } from "./sheet-haptics-context-iA31KqTw.js";
6
+ import "./store-api-context-Cdcr1SaX.js";
7
+ import { S as Q } from "./search-BIGAexMo.js";
8
+ import { u as Le } from "./use-optional-store-KM7c5kva.js";
9
9
  const Te = {
10
10
  all: ["orders"]
11
11
  }, P = {
@@ -67,7 +67,7 @@ function Ie() {
67
67
  const { data: e } = Le(), r = e?.reward_points_label_singular?.trim() || B.singular, s = e?.reward_points_label_plural?.trim() || B.plural;
68
68
  return u.useMemo(() => ({ singular: r, plural: s }), [r, s]);
69
69
  }
70
- const ze = {
70
+ const Ae = {
71
71
  breadcrumb: "Orders",
72
72
  breadcrumb_detail: "Order #{{id}}",
73
73
  search_orders: "Search orders...",
@@ -162,8 +162,8 @@ const ze = {
162
162
  track_package: "Track package",
163
163
  track_package_aria: "Track package {{number}}",
164
164
  track_package_aria_with_carrier: "Track {{carrier}} package {{number}}"
165
- }, Ae = ge({
166
- fallback: ze,
165
+ }, ze = ge({
166
+ fallback: Ae,
167
167
  loaders: {
168
168
  ar: () => import("./ar-8iaFSgop.js").then(
169
169
  (e) => e.default
@@ -276,7 +276,7 @@ const { Provider: Ue, useTranslation: Me } = _e("Orders"), Re = Ue, m = Me;
276
276
  function U({
277
277
  children: e
278
278
  }) {
279
- const { locale: r } = me(), s = be(Ae, r), a = u.useMemo(
279
+ const { locale: r } = me(), s = be(ze, r), a = u.useMemo(
280
280
  () => Be(r, s),
281
281
  [r, s]
282
282
  );
@@ -867,7 +867,7 @@ function wt({
867
867
  }) }) }) : /* @__PURE__ */ t.jsx("p", { className: r, style: K, children: e });
868
868
  }
869
869
  function kt(e) {
870
- return e.last4 != null || we(e.card_network) != null || G(e.card_network) != null || A(e.source) || A(e.payment_type);
870
+ return e.last4 != null || we(e.card_network) != null || G(e.card_network) != null || z(e.source) || z(e.payment_type);
871
871
  }
872
872
  function St(e) {
873
873
  return ke(
@@ -878,14 +878,14 @@ function St(e) {
878
878
  }
879
879
  function Ot(e) {
880
880
  if (kt(e))
881
- return z({
881
+ return A({
882
882
  kind: "card",
883
883
  brand: G(e.card_network),
884
884
  last4: e.last4,
885
885
  logoUrl: e.logo_url
886
886
  });
887
887
  const r = St(e);
888
- return z({
888
+ return A({
889
889
  kind: "non_card",
890
890
  brand: r,
891
891
  fallbackLabel: r,
@@ -1267,7 +1267,7 @@ function It({
1267
1267
  ] })
1268
1268
  ] }) });
1269
1269
  }
1270
- function zt({
1270
+ function At({
1271
1271
  id: e,
1272
1272
  googleMapsApiKey: r,
1273
1273
  onNotFound: s,
@@ -1284,7 +1284,7 @@ function zt({
1284
1284
  /* @__PURE__ */ t.jsx(It, { order: d, googleMapsApiKey: r })
1285
1285
  ] }) : null;
1286
1286
  }
1287
- function At({
1287
+ function zt({
1288
1288
  id: e,
1289
1289
  googleMapsApiKey: r,
1290
1290
  onNavigateToList: s,
@@ -1309,7 +1309,7 @@ function At({
1309
1309
  /* @__PURE__ */ t.jsx(T, { children: /* @__PURE__ */ t.jsx(H, { className: "font-semibold", children: i("breadcrumb_detail", { id: d }) }) })
1310
1310
  ] }) }) }),
1311
1311
  /* @__PURE__ */ t.jsx("div", { className: "mx-auto max-w-7xl px-4 py-4 sm:px-6 sm:py-6 lg:px-10 lg:py-8", children: /* @__PURE__ */ t.jsx(
1312
- zt,
1312
+ At,
1313
1313
  {
1314
1314
  id: e,
1315
1315
  googleMapsApiKey: r,
@@ -1326,7 +1326,7 @@ function Bt({
1326
1326
  }) {
1327
1327
  const { navigate: s } = $(), { config: a } = xe(), { t: n } = m();
1328
1328
  return /* @__PURE__ */ t.jsx(
1329
- At,
1329
+ zt,
1330
1330
  {
1331
1331
  id: e,
1332
1332
  googleMapsApiKey: a.googleMapsApiKey,
@@ -0,0 +1,9 @@
1
+ import { j as r } from "./account-screen-runtime-DBo540sf.js";
2
+ import { O as e } from "./OrdersScreen-CR3uIBN5.js";
3
+ import { M as o } from "./MemberManagementProviders-Dg8tTCn6.js";
4
+ function t() {
5
+ return /* @__PURE__ */ r.jsx(o, { children: /* @__PURE__ */ r.jsx(e, {}) });
6
+ }
7
+ export {
8
+ t as OrdersScreen
9
+ };
@@ -0,0 +1,8 @@
1
+ import { j as r } from "./account-screen-runtime-DBo540sf.js";
2
+ import { M as e } from "./MemberShareablesScreen-qX0-mBK9.js";
3
+ function a() {
4
+ return /* @__PURE__ */ r.jsx(e, { curation: "always" });
5
+ }
6
+ export {
7
+ a as PlaylistsScreen
8
+ };
@@ -1,4 +1,4 @@
1
- import { l as t } from "./account-screen-runtime-gWamEEiQ.js";
1
+ import { l as t } from "./account-screen-runtime-DBo540sf.js";
2
2
  const n = t.createContext(null), r = t.createContext(null), a = n.Provider;
3
3
  r.Provider;
4
4
  function l() {