ghost 6.0.10 → 6.2.0

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 (63) hide show
  1. package/components/tryghost-i18n-6.2.0.tgz +0 -0
  2. package/core/built/admin/assets/admin-x-activitypub/admin-x-activitypub.js +1 -1
  3. package/core/built/admin/assets/admin-x-activitypub/{index-wBqnq7A5.mjs → index-DmCoswaX.mjs} +2 -2
  4. package/core/built/admin/assets/admin-x-activitypub/{index-XhNX0QuF.mjs → index-lT95Q15h.mjs} +8212 -8183
  5. package/core/built/admin/assets/admin-x-settings/{CodeEditorView-BDBDWpWl.mjs → CodeEditorView-UxqLGRTu.mjs} +3 -3
  6. package/core/built/admin/assets/admin-x-settings/admin-x-settings.js +1 -1
  7. package/core/built/admin/assets/admin-x-settings/{index-o4Q9MNrB.mjs → index-8WxO2QXI.mjs} +3017 -2827
  8. package/core/built/admin/assets/admin-x-settings/{index-DsbJfrQ7.mjs → index-B5r0jdJS.mjs} +95 -95
  9. package/core/built/admin/assets/admin-x-settings/{index-BB7hgOf0.mjs → index-Co907MFn.mjs} +2 -2
  10. package/core/built/admin/assets/admin-x-settings/{index-BgCSf8S1.mjs → index-DD3HKlR3.mjs} +306 -315
  11. package/core/built/admin/assets/admin-x-settings/{modals-CCpr5VWU.mjs → modals-B7j9sxR4.mjs} +8799 -8807
  12. package/core/built/admin/assets/{chunk.397.e5d027e53a68dff31d76.js → chunk.397.d5e25bb9baf088f52499.js} +2 -2
  13. package/core/built/admin/assets/{chunk.524.695215c994f8cbf547d3.js → chunk.524.70595796c7b8c6003a2d.js} +7 -7
  14. package/core/built/admin/assets/{chunk.582.a949b80543caba37906c.js → chunk.582.d9b970b71da671ac1b7b.js} +8 -8
  15. package/core/built/admin/assets/{ghost-9c608430440a10746540adb7d2cd0f31.js → ghost-2066304fd0b166e1c16d397dd73ef7b2.js} +39 -35
  16. package/core/built/admin/assets/ghost-49475952d56ffe89bd47ab9d9c64ada8.css +1 -0
  17. package/core/built/admin/assets/ghost-dark-27877727751b91f03261d449d74e33b9.css +1 -0
  18. package/core/built/admin/assets/posts/posts.js +27400 -27361
  19. package/core/built/admin/assets/stats/stats.js +28701 -28674
  20. package/core/built/admin/index.html +5 -5
  21. package/core/frontend/public/member-attribution.min.js +1 -1
  22. package/core/server/api/endpoints/search-index.js +2 -2
  23. package/core/server/api/endpoints/stats.js +10 -4
  24. package/core/server/data/migrations/utils/schema.js +11 -6
  25. package/core/server/data/migrations/versions/6.1/2025-09-11-00-38-13-add-uuid-column-to-tokens.js +8 -0
  26. package/core/server/data/migrations/versions/6.1/2025-09-11-00-39-08-backfill-tokens-uuid.js +19 -0
  27. package/core/server/data/migrations/versions/6.1/2025-09-11-00-39-36-tokens-drop-nullable-uuid.js +4 -0
  28. package/core/server/data/migrations/versions/6.2/2025-09-30-14-28-09-add-utm-fields.js +24 -0
  29. package/core/server/data/schema/commands.js +21 -6
  30. package/core/server/data/schema/schema.js +25 -0
  31. package/core/server/data/tinybird/datasources/_mv_hits.datasource +7 -4
  32. package/core/server/data/tinybird/endpoints/api_top_utm_campaigns.pipe +2 -8
  33. package/core/server/data/tinybird/endpoints/api_top_utm_contents.pipe +2 -8
  34. package/core/server/data/tinybird/endpoints/api_top_utm_mediums.pipe +2 -8
  35. package/core/server/data/tinybird/endpoints/api_top_utm_sources.pipe +2 -8
  36. package/core/server/data/tinybird/endpoints/api_top_utm_terms.pipe +2 -8
  37. package/core/server/data/tinybird/fixtures/analytics_events.ndjson +11 -11
  38. package/core/server/data/tinybird/pipes/mv_hits.pipe +12 -2
  39. package/core/server/data/tinybird/pipes/mv_session_data.pipe +16 -6
  40. package/core/server/data/tinybird/tests/api_top_utm_campaigns.yaml +35 -34
  41. package/core/server/data/tinybird/tests/api_top_utm_contents.yaml +57 -48
  42. package/core/server/data/tinybird/tests/api_top_utm_mediums.yaml +40 -38
  43. package/core/server/data/tinybird/tests/api_top_utm_sources.yaml +59 -39
  44. package/core/server/data/tinybird/tests/api_top_utm_terms.yaml +55 -48
  45. package/core/server/models/single-use-token.js +1 -0
  46. package/core/server/services/email-service/EmailRenderer.js +1 -0
  47. package/core/server/services/email-service/email-templates/template.hbs +6 -0
  48. package/core/server/services/lib/MailgunClient.js +4 -3
  49. package/core/server/services/lib/magic-link/MagicLink.js +9 -9
  50. package/core/server/services/mail/GhostMailer.js +4 -1
  51. package/core/server/services/members/MembersConfigProvider.js +0 -15
  52. package/core/server/services/members/SingleUseTokenProvider.js +8 -8
  53. package/core/server/services/members/emails/signin.js +4 -4
  54. package/core/server/services/stats/MrrStatsService.js +10 -5
  55. package/core/server/services/stats/StatsService.js +2 -2
  56. package/core/shared/config/defaults.json +1 -1
  57. package/package.json +9 -9
  58. package/tsconfig.tsbuildinfo +1 -1
  59. package/yarn.lock +1076 -495
  60. package/components/tryghost-i18n-6.0.10.tgz +0 -0
  61. package/core/built/admin/assets/ghost-a7a53bf80dc45c37ae9c174a0d02a882.css +0 -1
  62. package/core/built/admin/assets/ghost-dark-6e0062029f988d8676e87f22d8e7f4a3.css +0 -1
  63. /package/core/built/admin/assets/{chunk.397.e5d027e53a68dff31d76.js.LICENSE.txt → chunk.397.d5e25bb9baf088f52499.js.LICENSE.txt} +0 -0
@@ -491,7 +491,7 @@ const X1 = ({ className: e }) => (e || (e = "border-grey-200 dark:border-grey-80
491
491
  r,
492
492
  o
493
493
  ), /* @__PURE__ */ p.jsx("span", { className: o, ...n, children: e });
494
- }, Y4 = e0.lazy(() => import("./CodeEditorView-BDBDWpWl.mjs")), Ki = r0(function(t, o) {
494
+ }, Y4 = e0.lazy(() => import("./CodeEditorView-UxqLGRTu.mjs")), Ki = r0(function(t, o) {
495
495
  return /* @__PURE__ */ p.jsx(vl, { fallback: null, children: /* @__PURE__ */ p.jsx(Y4, { ...t, ref: o }) });
496
496
  }), Nl = (e) => /* @__PURE__ */ d("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 14 14", height: 16, width: 16, ...e }, /* @__PURE__ */ d("g", { id: "user-single-neutral--close-geometric-human-person-single-up-user" }, /* @__PURE__ */ d("path", { id: "Union", fill: "currentColor", fillRule: "evenodd", d: "M10.5 3.5C10.5 5.433 8.93295 7 6.99995 7C5.06695 7 3.49995 5.433 3.49995 3.5C3.49995 1.567 5.06695 0 6.99995 0C8.93295 0 10.5 1.567 10.5 3.5ZM0.320435 13.4C1.21244 10.56 3.86563 8.50003 6.99996 8.50003C10.1343 8.50003 12.7875 10.56 13.6795 13.4C13.7751 13.7044 13.537 14 13.2179 14H0.781996C0.462883 14 0.224811 13.7044 0.320435 13.4Z", clipRule: "evenodd" }))), F4 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2014%2014'%20height='16'%20width='16'%3e%3cg%20id='user-single-neutral--close-geometric-human-person-single-up-user'%3e%3cpath%20id='Union'%20fill='currentColor'%20fill-rule='evenodd'%20d='M10.5%203.5C10.5%205.433%208.93295%207%206.99995%207C5.06695%207%203.49995%205.433%203.49995%203.5C3.49995%201.567%205.06695%200%206.99995%200C8.93295%200%2010.5%201.567%2010.5%203.5ZM0.320435%2013.4C1.21244%2010.56%203.86563%208.50003%206.99996%208.50003C10.1343%208.50003%2012.7875%2010.56%2013.6795%2013.4C13.7751%2013.7044%2013.537%2014%2013.2179%2014H0.781996C0.462883%2014%200.224811%2013.7044%200.320435%2013.4Z'%20clip-rule='evenodd'%3e%3c/path%3e%3c/g%3e%3c/svg%3e", Q4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
497
497
  __proto__: null,
@@ -1956,7 +1956,7 @@ var _g = "Label", Ul = r0((e, t) => /* @__PURE__ */ p.jsx(
1956
1956
  }
1957
1957
  ));
1958
1958
  Ul.displayName = _g;
1959
- var [Wp, YF] = M2("Form"), mp = "Form", [$g, zn] = Wp(mp), [eW, Kl] = Wp(mp), Jl = r0(
1959
+ var [Wp] = M2("Form"), mp = "Form", [$g, zn] = Wp(mp), [eW, Kl] = Wp(mp), Jl = r0(
1960
1960
  (e, t) => {
1961
1961
  const { __scopeForm: o, onClearServerErrors: n = () => {
1962
1962
  }, ...r } = e, c = F(null), s = L1(t, c), [b, a] = T({}), i = G(
@@ -10946,7 +10946,7 @@ const QR = ({ clearBg: e, ...t }) => /* @__PURE__ */ p.jsx(ao.DropdownIndicator,
10946
10946
  a && /* @__PURE__ */ p.jsx(z2, { className: "order-3", color: s ? "red" : "", children: a })
10947
10947
  ] }) });
10948
10948
  };
10949
- var Yc = "Switch", [KR, FF] = M2(Yc), [JR, _R] = KR(Yc), IO = r0(
10949
+ var Yc = "Switch", [KR] = M2(Yc), [JR, _R] = KR(Yc), IO = r0(
10950
10950
  (e, t) => {
10951
10951
  const {
10952
10952
  __scopeSwitch: o,
@@ -11853,7 +11853,7 @@ var b5 = e5, ni = o5, a5 = n5, p5 = c5, kX = Object.freeze({
11853
11853
  )
11854
11854
  );
11855
11855
  i5.displayName = CX;
11856
- var DX = i5, [Vc, QF] = M2("Tooltip", [
11856
+ var DX = i5, [Vc] = M2("Tooltip", [
11857
11857
  Qc
11858
11858
  ]), Uc = Qc(), M5 = "TooltipProvider", HX = 700, b3 = "tooltip.open", [EX, ri] = Vc(M5), z5 = (e) => {
11859
11859
  const {
@@ -11970,7 +11970,7 @@ var a3 = "TooltipTrigger", d5 = r0(
11970
11970
  }
11971
11971
  );
11972
11972
  d5.displayName = a3;
11973
- var IX = "TooltipPortal", [VF, GX] = Vc(IX, {
11973
+ var IX = "TooltipPortal", [YF, GX] = Vc(IX, {
11974
11974
  forceMount: void 0
11975
11975
  }), Jt = "TooltipContent", O5 = r0(
11976
11976
  (e, t) => {
@@ -12568,7 +12568,7 @@ const sN = ({
12568
12568
  children: /* @__PURE__ */ p.jsx("div", { className: "py-4 leading-9", children: typeof t == "string" && t.includes("<") ? /* @__PURE__ */ p.jsx("div", { dangerouslySetInnerHTML: { __html: t } }) : t })
12569
12569
  }
12570
12570
  ), v5 = z1.create(bN);
12571
- var Jc = "Tabs", [aN, UF] = M2(Jc, [
12571
+ var Jc = "Tabs", [aN] = M2(Jc, [
12572
12572
  kO
12573
12573
  ]), h5 = kO(), [pN, si] = aN(Jc), q5 = r0(
12574
12574
  (e, t) => {
@@ -12861,7 +12861,7 @@ function LN() {
12861
12861
  return () => {
12862
12862
  };
12863
12863
  }
12864
- var bi = "Avatar", [xN, KF] = M2(bi), [yN, B5] = xN(bi), j5 = r0(
12864
+ var bi = "Avatar", [xN] = M2(bi), [yN, B5] = xN(bi), j5 = r0(
12865
12865
  (e, t) => {
12866
12866
  const { __scopeAvatar: o, ...n } = e, [r, c] = T("idle");
12867
12867
  return /* @__PURE__ */ p.jsx(
@@ -13695,7 +13695,7 @@ var U5 = r0(function(e, t) {
13695
13695
  return d($c, He({}, e, { ref: t, sideCar: yB }));
13696
13696
  });
13697
13697
  U5.classNames = $c.classNames;
13698
- var es = "Popover", [K5, JF] = M2(es, [
13698
+ var es = "Popover", [K5] = M2(es, [
13699
13699
  Qc
13700
13700
  ]), vn = Qc(), [wB, dt] = K5(es), J5 = (e) => {
13701
13701
  const {
@@ -13755,7 +13755,7 @@ var eA = "PopoverTrigger", tA = r0(
13755
13755
  }
13756
13756
  );
13757
13757
  tA.displayName = eA;
13758
- var RB = "PopoverPortal", [_F, XB] = K5(RB, {
13758
+ var RB = "PopoverPortal", [FF, XB] = K5(RB, {
13759
13759
  forceMount: void 0
13760
13760
  }), $t = "PopoverContent", oA = r0(
13761
13761
  (e, t) => {
@@ -17590,11 +17590,11 @@ const XA = ({ isDragging: e, dragHandleAttributes: t, dragHandleListeners: o, dr
17590
17590
  o
17591
17591
  );
17592
17592
  return /* @__PURE__ */ p.jsx("div", { className: c, ...r, children: /* @__PURE__ */ p.jsx(Ug, { darkMode: e, fetchKoenigLexical: t, children: n }) });
17593
- }, _T = (e) => /* @__PURE__ */ d("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ d("title", null, "social-facebook"), /* @__PURE__ */ d("path", { d: "M20 40.004c11.046 0 20-8.955 20-20 0-11.046-8.954-20-20-20s-20 8.954-20 20c0 11.045 8.954 20 20 20z", fill: "#1977F3" }), /* @__PURE__ */ d("path", { d: "m27.785 25.785.886-5.782h-5.546V16.25c0-1.58.773-3.125 3.26-3.125h2.522V8.204s-2.29-.39-4.477-.39c-4.568 0-7.555 2.767-7.555 7.781v4.408h-5.08v5.782h5.08v13.976a20.08 20.08 0 0 0 3.125.242c1.063 0 2.107-.085 3.125-.242V25.785h4.66z", fill: "#fff" })), $F = (e) => /* @__PURE__ */ d("svg", { viewBox: "0 0 770 294", style: {
17593
+ }, _T = (e) => /* @__PURE__ */ d("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ d("title", null, "social-facebook"), /* @__PURE__ */ d("path", { d: "M20 40.004c11.046 0 20-8.955 20-20 0-11.046-8.954-20-20-20s-20 8.954-20 20c0 11.045 8.954 20 20 20z", fill: "#1977F3" }), /* @__PURE__ */ d("path", { d: "m27.785 25.785.886-5.782h-5.546V16.25c0-1.58.773-3.125 3.26-3.125h2.522V8.204s-2.29-.39-4.477-.39c-4.568 0-7.555 2.767-7.555 7.781v4.408h-5.08v5.782h5.08v13.976a20.08 20.08 0 0 0 3.125.242c1.063 0 2.107-.085 3.125-.242V25.785h4.66z", fill: "#fff" })), QF = (e) => /* @__PURE__ */ d("svg", { viewBox: "0 0 770 294", style: {
17594
17594
  backgroundSize: "100% 100%",
17595
17595
  backgroundRepeat: "no-repeat",
17596
17596
  backgroundImage: "url(https://assets.ghost.io/admin/1597/assets/img/logos/ghost-logo-black-1-fb561a374422b405ec90fa586b05ebdf.png)"
17597
- }, alt: "Ghost", ...e }), eQ = (e) => /* @__PURE__ */ d("svg", { fill: "none", height: 24, viewBox: "0 0 24 24", width: 24, xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ d("path", { clipRule: "evenodd", d: "M24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12ZM11.8326 2.33879C6.37785 2.95189 3.95901 5.20797 3.41126 9.74699C3.34896 10.2632 3.22642 10.7805 3.10443 11.2954C2.93277 12.02 2.76221 12.74 2.76221 13.4458C2.76221 17.9885 6.5856 21.556 11.1283 21.556C12.8959 21.556 14.4433 20.8144 15.8756 20.048C19.0536 18.3478 22.0328 16.2597 22.0328 12.5411C22.0328 9.91512 20.1051 7.56932 18.466 5.5747C18.3834 5.47416 18.3015 5.37451 18.2206 5.27577C17.3866 4.25742 14.4333 2.04643 11.8326 2.33879Z", fill: "currentColor", fillRule: "evenodd" })), $T = (e) => /* @__PURE__ */ d("svg", { fill: "none", viewBox: "0 0 92 31", ...e }, /* @__PURE__ */ d("title", null, "google"), /* @__PURE__ */ d("path", { d: "M39.15 15.898c0 4.303-3.378 7.473-7.525 7.473s-7.526-3.17-7.526-7.473c0-4.334 3.38-7.474 7.526-7.474 4.147 0 7.526 3.14 7.526 7.474zm-3.294 0c0-2.69-1.958-4.529-4.231-4.529-2.273 0-4.231 1.84-4.231 4.529 0 2.662 1.958 4.528 4.231 4.528 2.273 0 4.231-1.87 4.231-4.528z", fill: "#EA4335" }), /* @__PURE__ */ d("path", { d: "M55.386 15.898c0 4.303-3.379 7.473-7.526 7.473-4.146 0-7.526-3.17-7.526-7.473 0-4.33 3.38-7.474 7.526-7.474 4.147 0 7.526 3.14 7.526 7.474zm-3.294 0c0-2.69-1.959-4.529-4.232-4.529s-4.231 1.84-4.231 4.529c0 2.662 1.958 4.528 4.231 4.528 2.273 0 4.232-1.87 4.232-4.528z", fill: "#FBBC05" }), /* @__PURE__ */ d("path", { d: "M70.945 8.875v13.418c0 5.52-3.267 7.774-7.13 7.774-3.636 0-5.825-2.423-6.65-4.404l2.868-1.19c.511 1.217 1.763 2.652 3.779 2.652 2.472 0 4.004-1.52 4.004-4.38V21.67h-.115c-.737.906-2.158 1.698-3.95 1.698-3.751 0-7.188-3.255-7.188-7.443 0-4.22 3.437-7.501 7.188-7.501 1.789 0 3.21.792 3.95 1.671h.115V8.88h3.129v-.004zm-2.895 7.05c0-2.632-1.763-4.556-4.005-4.556-2.273 0-4.177 1.924-4.177 4.556 0 2.604 1.904 4.501 4.177 4.501 2.242 0 4.005-1.897 4.005-4.501z", fill: "#4285F4" }), /* @__PURE__ */ d("path", { d: "M76.103 1.01v21.903H72.89V1.011h3.213z", fill: "#34A853" }), /* @__PURE__ */ d("path", { d: "M88.624 18.357l2.558 1.699c-.826 1.216-2.815 3.312-6.251 3.312-4.262 0-7.445-3.282-7.445-7.474 0-4.444 3.21-7.473 7.076-7.473 3.893 0 5.798 3.086 6.42 4.754l.341.85-10.028 4.137c.768 1.5 1.962 2.264 3.636 2.264 1.678 0 2.841-.822 3.693-2.069zm-7.87-2.688l6.703-2.774c-.368-.933-1.478-1.583-2.783-1.583-1.674 0-4.005 1.472-3.92 4.357z", fill: "#EA4335" }), /* @__PURE__ */ d("path", { d: "M11.936 13.953v-3.17h10.726c.105.552.159 1.206.159 1.914 0 2.378-.653 5.32-2.757 7.416-2.046 2.123-4.66 3.255-8.124 3.255-6.42 0-11.818-5.21-11.818-11.605C.122 5.368 5.52.158 11.94.158c3.551 0 6.081 1.389 7.982 3.198l-2.246 2.237c-1.363-1.273-3.21-2.264-5.74-2.264-4.688 0-8.354 3.764-8.354 8.434s3.666 8.434 8.354 8.434c3.041 0 4.773-1.216 5.882-2.322.9-.896 1.492-2.176 1.725-3.925l-7.607.003z", fill: "#4285F4" })), ek = (e) => /* @__PURE__ */ d("svg", { viewBox: "0 0 24 24", "aria-hidden": "true", ...e }, /* @__PURE__ */ d("g", null, /* @__PURE__ */ d("path", { d: "M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z", fill: "currentColor" }))), tk = () => {
17597
+ }, alt: "Ghost", ...e }), VF = (e) => /* @__PURE__ */ d("svg", { fill: "none", height: 24, viewBox: "0 0 24 24", width: 24, xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ d("path", { clipRule: "evenodd", d: "M24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12ZM11.8326 2.33879C6.37785 2.95189 3.95901 5.20797 3.41126 9.74699C3.34896 10.2632 3.22642 10.7805 3.10443 11.2954C2.93277 12.02 2.76221 12.74 2.76221 13.4458C2.76221 17.9885 6.5856 21.556 11.1283 21.556C12.8959 21.556 14.4433 20.8144 15.8756 20.048C19.0536 18.3478 22.0328 16.2597 22.0328 12.5411C22.0328 9.91512 20.1051 7.56932 18.466 5.5747C18.3834 5.47416 18.3015 5.37451 18.2206 5.27577C17.3866 4.25742 14.4333 2.04643 11.8326 2.33879Z", fill: "currentColor", fillRule: "evenodd" })), $T = (e) => /* @__PURE__ */ d("svg", { fill: "none", viewBox: "0 0 92 31", ...e }, /* @__PURE__ */ d("title", null, "google"), /* @__PURE__ */ d("path", { d: "M39.15 15.898c0 4.303-3.378 7.473-7.525 7.473s-7.526-3.17-7.526-7.473c0-4.334 3.38-7.474 7.526-7.474 4.147 0 7.526 3.14 7.526 7.474zm-3.294 0c0-2.69-1.958-4.529-4.231-4.529-2.273 0-4.231 1.84-4.231 4.529 0 2.662 1.958 4.528 4.231 4.528 2.273 0 4.231-1.87 4.231-4.528z", fill: "#EA4335" }), /* @__PURE__ */ d("path", { d: "M55.386 15.898c0 4.303-3.379 7.473-7.526 7.473-4.146 0-7.526-3.17-7.526-7.473 0-4.33 3.38-7.474 7.526-7.474 4.147 0 7.526 3.14 7.526 7.474zm-3.294 0c0-2.69-1.959-4.529-4.232-4.529s-4.231 1.84-4.231 4.529c0 2.662 1.958 4.528 4.231 4.528 2.273 0 4.232-1.87 4.232-4.528z", fill: "#FBBC05" }), /* @__PURE__ */ d("path", { d: "M70.945 8.875v13.418c0 5.52-3.267 7.774-7.13 7.774-3.636 0-5.825-2.423-6.65-4.404l2.868-1.19c.511 1.217 1.763 2.652 3.779 2.652 2.472 0 4.004-1.52 4.004-4.38V21.67h-.115c-.737.906-2.158 1.698-3.95 1.698-3.751 0-7.188-3.255-7.188-7.443 0-4.22 3.437-7.501 7.188-7.501 1.789 0 3.21.792 3.95 1.671h.115V8.88h3.129v-.004zm-2.895 7.05c0-2.632-1.763-4.556-4.005-4.556-2.273 0-4.177 1.924-4.177 4.556 0 2.604 1.904 4.501 4.177 4.501 2.242 0 4.005-1.897 4.005-4.501z", fill: "#4285F4" }), /* @__PURE__ */ d("path", { d: "M76.103 1.01v21.903H72.89V1.011h3.213z", fill: "#34A853" }), /* @__PURE__ */ d("path", { d: "M88.624 18.357l2.558 1.699c-.826 1.216-2.815 3.312-6.251 3.312-4.262 0-7.445-3.282-7.445-7.474 0-4.444 3.21-7.473 7.076-7.473 3.893 0 5.798 3.086 6.42 4.754l.341.85-10.028 4.137c.768 1.5 1.962 2.264 3.636 2.264 1.678 0 2.841-.822 3.693-2.069zm-7.87-2.688l6.703-2.774c-.368-.933-1.478-1.583-2.783-1.583-1.674 0-4.005 1.472-3.92 4.357z", fill: "#EA4335" }), /* @__PURE__ */ d("path", { d: "M11.936 13.953v-3.17h10.726c.105.552.159 1.206.159 1.914 0 2.378-.653 5.32-2.757 7.416-2.046 2.123-4.66 3.255-8.124 3.255-6.42 0-11.818-5.21-11.818-11.605C.122 5.368 5.52.158 11.94.158c3.551 0 6.081 1.389 7.982 3.198l-2.246 2.237c-1.363-1.273-3.21-2.264-5.74-2.264-4.688 0-8.354 3.764-8.354 8.434s3.666 8.434 8.354 8.434c3.041 0 4.773-1.216 5.882-2.322.9-.896 1.492-2.176 1.725-3.925l-7.607.003z", fill: "#4285F4" })), ek = (e) => /* @__PURE__ */ d("svg", { viewBox: "0 0 24 24", "aria-hidden": "true", ...e }, /* @__PURE__ */ d("g", null, /* @__PURE__ */ d("path", { d: "M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z", fill: "currentColor" }))), tk = () => {
17598
17598
  const { isDirty: e } = qc(), t = () => {
17599
17599
  window.location.hash = "/";
17600
17600
  };
@@ -19503,7 +19503,7 @@ class h3 extends Ao {
19503
19503
  super(t, o, o.errors[0].message, n);
19504
19504
  }
19505
19505
  }
19506
- class nQ extends Error {
19506
+ class JF extends Error {
19507
19507
  constructor(t) {
19508
19508
  super(t);
19509
19509
  }
@@ -19786,15 +19786,15 @@ const Zk = async (e) => {
19786
19786
  settings: e.settings
19787
19787
  })
19788
19788
  }
19789
- }), rQ = w0({
19789
+ }), _F = w0({
19790
19790
  method: "DELETE",
19791
19791
  path: () => "/settings/stripe/connect/",
19792
19792
  invalidateQueries: { dataType: hi }
19793
- }), cQ = w0({
19793
+ }), $F = w0({
19794
19794
  method: "POST",
19795
19795
  path: () => "/slack/test/"
19796
19796
  });
19797
- function sQ(e) {
19797
+ function eQ(e) {
19798
19798
  const t = ["API", "CTA", "RSS"];
19799
19799
  return e.replace(/^[a-z]/, (o) => o.toUpperCase()).replace(/_/g, " ").replace(new RegExp(`\\b(${t.join("|")})\\b`, "ig"), (o) => o.toUpperCase());
19800
19800
  }
@@ -19847,7 +19847,7 @@ function aC(e, t) {
19847
19847
  const o = new URL(e.url).hostname || "";
19848
19848
  return o.startsWith("www.") ? o.replace(/^(www)\.(?=[^/]*\..{2,5})/, "") : o;
19849
19849
  }
19850
- function bQ(e, t, o) {
19850
+ function tQ(e, t, o) {
19851
19851
  const n = aC(t, o);
19852
19852
  return e === "noreply" ? `noreply@${n}` : e;
19853
19853
  }
@@ -19946,7 +19946,7 @@ const cu = r1(void 0), pC = ({ children: e }) => {
19946
19946
  localSettings: t,
19947
19947
  handleSave: o,
19948
19948
  updateSetting: n
19949
- } = N1(), r = l2(), [c, s] = Q0(t, ["codeinjection_head", "codeinjection_foot"]), [b, a] = T("header"), i = F(null), M = F(null), z = n0(() => import("./index-BgCSf8S1.mjs").then((h) => h.html()), []), l = {
19949
+ } = N1(), r = l2(), [c, s] = Q0(t, ["codeinjection_head", "codeinjection_foot"]), [b, a] = T("header"), i = F(null), M = F(null), z = n0(() => import("./index-DD3HKlR3.mjs").then((h) => h.html()), []), l = {
19950
19950
  extensions: [z],
19951
19951
  hint: "Code here will be injected into the {{ghost_head}} tag on every page of the site",
19952
19952
  value: c || "",
@@ -20267,7 +20267,7 @@ const bu = r1({
20267
20267
  sortingState: n,
20268
20268
  setSortingState: r
20269
20269
  }, children: /* @__PURE__ */ p.jsx(pC, { children: /* @__PURE__ */ p.jsx(qC, { children: e }) }) });
20270
- }, is = () => D0(pu), aQ = () => is().officialThemes, Ln = () => is().search, pQ = () => is().upgradeStatus, PC = () => {
20270
+ }, is = () => D0(pu), oQ = () => is().officialThemes, Ln = () => is().search, nQ = () => is().upgradeStatus, PC = () => {
20271
20271
  const { sortingState: e, setSortingState: t } = is();
20272
20272
  return { sortingState: e, setSortingState: t };
20273
20273
  }, B0 = ({ keywords: e, navid: t, children: o, ...n }) => {
@@ -23759,11 +23759,11 @@ function nf() {
23759
23759
  openEditor: v
23760
23760
  };
23761
23761
  }
23762
- const yS = (e) => /* @__PURE__ */ d("svg", { width: 100, height: 100, viewBox: "0 0 100 100", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ d("g", { clipPath: "url(#clip0_2155_3527)" }, /* @__PURE__ */ d("path", { d: "M87.4883 44.5547C86.4414 41.9023 84.8242 39.6016 82.6914 37.7148C80.5703 35.8594 77.8789 34.4141 74.6758 33.4062C71.5273 32.4141 67.7891 31.9141 63.5586 31.9141H56.1328V41.293H63.5586C68.418 41.293 72.0469 42.3711 74.3711 44.4805C76.6875 46.5977 77.8125 49.4844 77.8125 53.3203C77.8125 55.1523 77.5078 56.8555 76.9023 58.3711C76.3047 59.8633 75.4141 61.1562 74.2539 62.2305C73.082 63.3008 71.5859 64.1602 69.832 64.7734C68.0352 65.3984 65.9297 65.707 63.5586 65.707H56.1328V75.125H63.5586C67.5898 75.125 71.2227 74.5898 74.3555 73.5391C77.5273 72.4805 80.2266 70.9688 82.3984 69.0469C84.5547 67.1211 86.2344 64.7891 87.3711 62.1094C88.4883 59.4492 89.0586 56.4961 89.0586 53.3203C89.0586 50.1172 88.5273 47.1758 87.4883 44.5547Z", fill: "#444448" }), /* @__PURE__ */ d("path", { d: "M50.2656 91.5742V31.9141H41.5273L26.3594 44.6211L29.7227 49.2422C30.0234 49.707 30.4648 50.1055 31.0547 50.4258C31.9805 50.9258 33.1328 51.0547 34.3125 50.6562C34.7617 50.4922 35.2148 50.2344 35.6289 49.8984L39.1406 47.1914C39.1367 47.7227 39.1289 48.2617 39.1289 48.8008V91.5742H30.5938V100.02H58.5V91.5742H50.2656Z", fill: "#55ABE3" }), /* @__PURE__ */ d("path", { d: "M39.7969 56.1875V56.2031L39.9414 56.1758V56.1641C39.8945 56.168 39.8398 56.1797 39.7969 56.1875Z", fill: "#444448" }), /* @__PURE__ */ d("path", { d: "M13.9416 73.4297C15.1018 73.7305 16.3323 74.0195 17.6838 74.2695C21.8791 75.043 24.2502 75.1133 31.762 75.1133V65.4609C31.762 65.4609 -3.89429 68.3984 5.62524 49.3594C5.62524 49.3594 -0.0427259 53.125 0.000243083 59.1367C0.504149 67.4141 8.51977 71.9023 13.9416 73.4297Z", fill: "#444448" }), /* @__PURE__ */ d("path", { d: "M44.1222 16.2383C17.4504 32.2187 4.88397 50.1406 10.2863 56.2305C12.3605 58.5664 17.298 59.3242 24.0597 58.5156C12.4777 56.5 19.3801 45.4883 19.3801 45.4883L19.3957 45.5117C24.2238 36.1992 38.5324 23.0898 60.9152 10.9648C69.1769 6.48437 77.2512 2.85938 84.8527 0C74.1496 1.70703 59.4933 7.03125 44.1222 16.2383Z", fill: "#55ABE3" })), /* @__PURE__ */ d("defs", null, /* @__PURE__ */ d("clipPath", { id: "clip0_2155_3527" }, /* @__PURE__ */ d("rect", { width: 100, height: 100, fill: "white" })))), Rn = "IntegrationsResponseType", iQ = Rn, wS = J1({
23762
+ const yS = (e) => /* @__PURE__ */ d("svg", { width: 100, height: 100, viewBox: "0 0 100 100", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ d("g", { clipPath: "url(#clip0_2155_3527)" }, /* @__PURE__ */ d("path", { d: "M87.4883 44.5547C86.4414 41.9023 84.8242 39.6016 82.6914 37.7148C80.5703 35.8594 77.8789 34.4141 74.6758 33.4062C71.5273 32.4141 67.7891 31.9141 63.5586 31.9141H56.1328V41.293H63.5586C68.418 41.293 72.0469 42.3711 74.3711 44.4805C76.6875 46.5977 77.8125 49.4844 77.8125 53.3203C77.8125 55.1523 77.5078 56.8555 76.9023 58.3711C76.3047 59.8633 75.4141 61.1562 74.2539 62.2305C73.082 63.3008 71.5859 64.1602 69.832 64.7734C68.0352 65.3984 65.9297 65.707 63.5586 65.707H56.1328V75.125H63.5586C67.5898 75.125 71.2227 74.5898 74.3555 73.5391C77.5273 72.4805 80.2266 70.9688 82.3984 69.0469C84.5547 67.1211 86.2344 64.7891 87.3711 62.1094C88.4883 59.4492 89.0586 56.4961 89.0586 53.3203C89.0586 50.1172 88.5273 47.1758 87.4883 44.5547Z", fill: "#444448" }), /* @__PURE__ */ d("path", { d: "M50.2656 91.5742V31.9141H41.5273L26.3594 44.6211L29.7227 49.2422C30.0234 49.707 30.4648 50.1055 31.0547 50.4258C31.9805 50.9258 33.1328 51.0547 34.3125 50.6562C34.7617 50.4922 35.2148 50.2344 35.6289 49.8984L39.1406 47.1914C39.1367 47.7227 39.1289 48.2617 39.1289 48.8008V91.5742H30.5938V100.02H58.5V91.5742H50.2656Z", fill: "#55ABE3" }), /* @__PURE__ */ d("path", { d: "M39.7969 56.1875V56.2031L39.9414 56.1758V56.1641C39.8945 56.168 39.8398 56.1797 39.7969 56.1875Z", fill: "#444448" }), /* @__PURE__ */ d("path", { d: "M13.9416 73.4297C15.1018 73.7305 16.3323 74.0195 17.6838 74.2695C21.8791 75.043 24.2502 75.1133 31.762 75.1133V65.4609C31.762 65.4609 -3.89429 68.3984 5.62524 49.3594C5.62524 49.3594 -0.0427259 53.125 0.000243083 59.1367C0.504149 67.4141 8.51977 71.9023 13.9416 73.4297Z", fill: "#444448" }), /* @__PURE__ */ d("path", { d: "M44.1222 16.2383C17.4504 32.2187 4.88397 50.1406 10.2863 56.2305C12.3605 58.5664 17.298 59.3242 24.0597 58.5156C12.4777 56.5 19.3801 45.4883 19.3801 45.4883L19.3957 45.5117C24.2238 36.1992 38.5324 23.0898 60.9152 10.9648C69.1769 6.48437 77.2512 2.85938 84.8527 0C74.1496 1.70703 59.4933 7.03125 44.1222 16.2383Z", fill: "#55ABE3" })), /* @__PURE__ */ d("defs", null, /* @__PURE__ */ d("clipPath", { id: "clip0_2155_3527" }, /* @__PURE__ */ d("rect", { width: 100, height: 100, fill: "white" })))), Rn = "IntegrationsResponseType", rQ = Rn, wS = J1({
23763
23763
  dataType: Rn,
23764
23764
  path: "/integrations/",
23765
23765
  defaultSearchParams: { include: "api_keys,webhooks", limit: "50" }
23766
- }), MQ = w0({
23766
+ }), cQ = w0({
23767
23767
  method: "POST",
23768
23768
  path: () => "/integrations/",
23769
23769
  body: (e) => ({ integrations: [e] }),
@@ -23776,7 +23776,7 @@ const yS = (e) => /* @__PURE__ */ d("svg", { width: 100, height: 100, viewBox: "
23776
23776
  integrations: t.integrations.concat(e.integrations)
23777
23777
  }
23778
23778
  }
23779
- }), zQ = w0({
23779
+ }), sQ = w0({
23780
23780
  method: "PUT",
23781
23781
  path: (e) => `/integrations/${e.id}/`,
23782
23782
  body: (e) => ({ integrations: [e] }),
@@ -24209,11 +24209,11 @@ const Rr = ({ label: e, flag: t, disabled: o }) => {
24209
24209
  isEnd: n ? n.pagination.pages === n.pagination.page : !0
24210
24210
  };
24211
24211
  }
24212
- }), lQ = ou({
24212
+ }), bQ = ou({
24213
24213
  dataType: Xn,
24214
24214
  path: (e) => `/users/slug/${e}/`,
24215
24215
  defaultSearchParams: { include: "roles" }
24216
- }), dQ = w0({
24216
+ }), aQ = w0({
24217
24217
  method: "PUT",
24218
24218
  path: (e) => `/users/${e.id}/`,
24219
24219
  body: (e) => ({ users: [e] }),
@@ -24223,7 +24223,7 @@ const Rr = ({ label: e, flag: t, disabled: o }) => {
24223
24223
  emberUpdateType: "createOrUpdate",
24224
24224
  update: ho("users")
24225
24225
  }
24226
- }), OQ = w0({
24226
+ }), pQ = w0({
24227
24227
  method: "DELETE",
24228
24228
  path: (e) => `/users/${e}/`,
24229
24229
  updateQueries: {
@@ -24231,7 +24231,7 @@ const Rr = ({ label: e, flag: t, disabled: o }) => {
24231
24231
  emberUpdateType: "delete",
24232
24232
  update: rf("users")
24233
24233
  }
24234
- }), AQ = w0({
24234
+ }), iQ = w0({
24235
24235
  method: "PUT",
24236
24236
  path: () => "/users/password/",
24237
24237
  body: ({ newPassword: e, confirmNewPassword: t, userId: o, oldPassword: n }) => ({
@@ -24242,7 +24242,7 @@ const Rr = ({ label: e, flag: t, disabled: o }) => {
24242
24242
  ne2Password: t
24243
24243
  }]
24244
24244
  })
24245
- }), uQ = w0({
24245
+ }), MQ = w0({
24246
24246
  method: "PUT",
24247
24247
  path: () => "/users/owner/",
24248
24248
  body: (e) => ({
@@ -24271,7 +24271,7 @@ function QS(e) {
24271
24271
  function bf(e) {
24272
24272
  return e.roles.some((t) => t.name === "Contributor");
24273
24273
  }
24274
- function fQ(e) {
24274
+ function zQ(e) {
24275
24275
  return QS(e) || bf(e);
24276
24276
  }
24277
24277
  function Iz(e) {
@@ -24392,7 +24392,7 @@ const af = () => {
24392
24392
  isEnd: n ? n.pagination.pages === n.pagination.page : !0
24393
24393
  };
24394
24394
  }
24395
- }), vQ = w0({
24395
+ }), lQ = w0({
24396
24396
  method: "POST",
24397
24397
  path: () => "/newsletters/",
24398
24398
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -24423,7 +24423,7 @@ const af = () => {
24423
24423
  emberUpdateType: "createOrUpdate",
24424
24424
  update: ho("newsletters")
24425
24425
  }
24426
- }), cI = import("./index-BB7hgOf0.mjs").then((e) => e.i);
24426
+ }), cI = import("./index-Co907MFn.mjs").then((e) => e.i);
24427
24427
  class zf extends Error {
24428
24428
  constructor({ errorType: o, errorDetails: n, message: r }) {
24429
24429
  super(r);
@@ -24617,7 +24617,7 @@ const iI = ({ keywords: e }) => {
24617
24617
  ) : /* @__PURE__ */ p.jsx("div", { className: "absolute inset-0 z-0 overflow-hidden opacity-70", children: /* @__PURE__ */ p.jsx("img", { className: "absolute -right-6 -top-6 dark:opacity-10", src: YS }) })
24618
24618
  }
24619
24619
  );
24620
- }, MI = H0(iI, "Labs"), lf = "PostsResponseType", hQ = J1({
24620
+ }, MI = H0(iI, "Labs"), lf = "PostsResponseType", dQ = J1({
24621
24621
  dataType: lf,
24622
24622
  path: "/posts/"
24623
24623
  }), zI = J1({
@@ -24792,7 +24792,7 @@ const iI = ({ keywords: e }) => {
24792
24792
  /* @__PURE__ */ p.jsx(LS, { keywords: Q1.history }),
24793
24793
  /* @__PURE__ */ p.jsx(mS, { keywords: Q1.dangerzone })
24794
24794
  ] });
24795
- function qQ(e, t) {
24795
+ function OQ(e, t) {
24796
24796
  return e.match(/^(?:[a-z]+:)?\/\//i) ? e : `${t}${e}`;
24797
24797
  }
24798
24798
  function Gz(e) {
@@ -25329,9 +25329,9 @@ const yI = ({ keywords: e }) => {
25329
25329
  "web_analytics_enabled"
25330
25330
  ]), v = Jk(t, "email_track_clicks"), [A, u] = T(!1), f = jn(), { updateRoute: h } = L0();
25331
25331
  j(() => {
25332
- f != null && f.isLimited("limitAnalytics") && f.errorIfWouldGoOverLimit("limitAnalytics").catch((W) => {
25332
+ f != null && f.isLimited("limitAnalytics") ? f.errorIfWouldGoOverLimit("limitAnalytics").catch((W) => {
25333
25333
  W instanceof Bn && u(!0);
25334
- });
25334
+ }) : u(!1);
25335
25335
  }, [f]);
25336
25336
  const g = (W, m) => {
25337
25337
  s(W, m.target.checked), b(!0);
@@ -31283,13 +31283,13 @@ const bl = (e) => `https://x.com/${e.replace("@", "")}`, MY = (e) => {
31283
31283
  isEnd: n ? n.pagination.pages === n.pagination.page : !0
31284
31284
  };
31285
31285
  }
31286
- }), gQ = w0({
31286
+ }), AQ = w0({
31287
31287
  method: "POST",
31288
31288
  path: () => "/tiers/",
31289
31289
  body: (e) => ({ tiers: [e] }),
31290
31290
  // We may have queries for paid/archived/etc, so we can't assume how to update the global store and need to reload queries from the server
31291
31291
  invalidateQueries: { dataType: Zi }
31292
- }), WQ = w0({
31292
+ }), uQ = w0({
31293
31293
  method: "PUT",
31294
31294
  path: (e) => `/tiers/${e.id}/`,
31295
31295
  body: (e) => ({ tiers: [e] }),
@@ -31501,10 +31501,10 @@ const Ls = "OffersResponseType", kf = J1({
31501
31501
  path: "/offers/",
31502
31502
  // offers endpoint doesn't support limit or pagination so we exclude the default ?limit=20
31503
31503
  defaultSearchParams: {}
31504
- }), mQ = ou({
31504
+ }), fQ = ou({
31505
31505
  dataType: Ls,
31506
31506
  path: (e) => `/offers/${e}/`
31507
- }), PQ = w0({
31507
+ }), vQ = w0({
31508
31508
  method: "PUT",
31509
31509
  path: (e) => `/offers/${e.id}/`,
31510
31510
  body: (e) => ({ offers: [e] }),
@@ -31513,7 +31513,7 @@ const Ls = "OffersResponseType", kf = J1({
31513
31513
  emberUpdateType: "createOrUpdate",
31514
31514
  update: ho("offers")
31515
31515
  }
31516
- }), LQ = w0({
31516
+ }), hQ = w0({
31517
31517
  method: "POST",
31518
31518
  path: () => "/offers/",
31519
31519
  body: (e) => ({ offers: [e] }),
@@ -31562,7 +31562,7 @@ const Ls = "OffersResponseType", kf = J1({
31562
31562
  /* @__PURE__ */ p.jsx("h1", { className: "mt-6 text-2xl", children: e }),
31563
31563
  /* @__PURE__ */ p.jsx("p", { className: "mt-3 max-w-[420px] text-[1.6rem]", children: t }),
31564
31564
  /* @__PURE__ */ p.jsx(z0, { className: "mt-8", color: "grey", label: n, onClick: o })
31565
- ] }), xQ = () => {
31565
+ ] }), qQ = () => {
31566
31566
  const e = l2(), { updateRoute: t } = L0(), { data: { offers: o = [] } = {}, isFetching: n } = kf(), { data: { tiers: r } = {} } = Ps(), c = o.filter((q) => {
31567
31567
  const W = r == null ? void 0 : r.find((m) => m.id === (q == null ? void 0 : q.tier.id));
31568
31568
  return q.status === "active" && W && W.active === !0;
@@ -31970,14 +31970,14 @@ const Ls = "OffersResponseType", kf = J1({
31970
31970
  invalidateQueries: {
31971
31971
  dataType: Gn
31972
31972
  }
31973
- }), yQ = w0({
31973
+ }), gQ = w0({
31974
31974
  method: "POST",
31975
31975
  path: () => "/recommendations/",
31976
31976
  body: ({ ...e }) => ({ recommendations: [e] }),
31977
31977
  invalidateQueries: {
31978
31978
  dataType: Gn
31979
31979
  }
31980
- }), wQ = w0({
31980
+ }), WQ = w0({
31981
31981
  method: "POST",
31982
31982
  path: () => "/recommendations/check/",
31983
31983
  body: (e) => ({ recommendations: [{ url: e.toString() }] })
@@ -32519,7 +32519,7 @@ junk.com`,
32519
32519
  ] }) }), OF = ({ discount: e }) => e ? /* @__PURE__ */ p.jsxs("span", { className: "mt-1 text-sm font-semibold leading-none text-pink", children: [
32520
32520
  e,
32521
32521
  "% discount"
32522
- ] }) : null, RQ = ({ tier: e, isFreeTier: t }) => {
32522
+ ] }) : null, mQ = ({ tier: e, isFreeTier: t }) => {
32523
32523
  const [o, n] = T(!1), r = (e == null ? void 0 : e.name) || "", c = (e == null ? void 0 : e.description) || "", s = parseFloat((e == null ? void 0 : e.trial_days) || "0"), b = (e == null ? void 0 : e.currency) || "USD", a = bn(b), i = (e == null ? void 0 : e.benefits) || [], M = t ? 0 : 500, z = t ? 0 : 5e3, l = Ft((e == null ? void 0 : e.monthly_price) ?? M), O = Ft((e == null ? void 0 : e.yearly_price) ?? z), v = e != null && e.monthly_price && (e != null && e.yearly_price) ? Math.ceil((l * 12 - O) / (l * 12) * 100) : 0;
32524
32524
  return /* @__PURE__ */ p.jsxs("div", { "data-testid": "tier-preview", children: [
32525
32525
  /* @__PURE__ */ p.jsxs("div", { className: "flex items-baseline justify-between", children: [
@@ -32777,10 +32777,10 @@ junk.com`,
32777
32777
  title: "Announcement bar"
32778
32778
  }
32779
32779
  );
32780
- }, mF = H0(WF, "Announcement bar"), XQ = null, Fi = "CustomThemeSettingsResponseType", PF = Fi, NQ = J1({
32780
+ }, mF = H0(WF, "Announcement bar"), PQ = null, Fi = "CustomThemeSettingsResponseType", PF = Fi, LQ = J1({
32781
32781
  dataType: Fi,
32782
32782
  path: "/custom_theme_settings/"
32783
- }), BQ = w0({
32783
+ }), xQ = w0({
32784
32784
  method: "PUT",
32785
32785
  path: () => "/custom_theme_settings/",
32786
32786
  body: (e) => ({ custom_theme_settings: e }),
@@ -32792,10 +32792,10 @@ junk.com`,
32792
32792
  }), Lo = "ThemesResponseType", LF = J1({
32793
32793
  dataType: Lo,
32794
32794
  path: "/themes/"
32795
- }), jQ = J1({
32795
+ }), yQ = J1({
32796
32796
  dataType: Lo,
32797
32797
  path: "/themes/active/"
32798
- }), TQ = w0({
32798
+ }), wQ = w0({
32799
32799
  method: "PUT",
32800
32800
  path: (e) => `/themes/${e}/activate/`,
32801
32801
  updateQueries: {
@@ -32812,7 +32812,7 @@ junk.com`,
32812
32812
  invalidateQueries: {
32813
32813
  dataType: PF
32814
32814
  }
32815
- }), kQ = w0({
32815
+ }), RQ = w0({
32816
32816
  method: "DELETE",
32817
32817
  path: (e) => `/themes/${e}/`,
32818
32818
  updateQueries: {
@@ -32823,7 +32823,7 @@ junk.com`,
32823
32823
  themes: t.themes.filter((n) => n.name !== o)
32824
32824
  })
32825
32825
  }
32826
- }), CQ = w0({
32826
+ }), XQ = w0({
32827
32827
  method: "POST",
32828
32828
  path: () => "/themes/install/",
32829
32829
  searchParams: (e) => ({ source: "github", ref: e }),
@@ -32839,7 +32839,7 @@ junk.com`,
32839
32839
  ]
32840
32840
  }
32841
32841
  }
32842
- }), DQ = w0({
32842
+ }), NQ = w0({
32843
32843
  method: "POST",
32844
32844
  path: () => "/themes/upload/",
32845
32845
  body: ({ file: e }) => {
@@ -32868,10 +32868,10 @@ function Gf(e) {
32868
32868
  function Zf(e) {
32869
32869
  return e.name.toLowerCase() === "casper";
32870
32870
  }
32871
- function HQ(e) {
32871
+ function BQ(e) {
32872
32872
  return Gf(e) || Zf(e);
32873
32873
  }
32874
- function EQ(e) {
32874
+ function jQ(e) {
32875
32875
  return !Gf(e) && !Zf(e) && !xF(e);
32876
32876
  }
32877
32877
  const yF = () => {
@@ -33163,7 +33163,7 @@ const yF = () => {
33163
33163
  "offers/new": "OffersContainerModal",
33164
33164
  "explore/testimonial": "TestimonialsModal",
33165
33165
  about: "AboutModal"
33166
- }, IF = () => import("./modals-CCpr5VWU.mjs"), GF = () => {
33166
+ }, IF = () => import("./modals-B7j9sxR4.mjs"), GF = () => {
33167
33167
  const { updateNavigatedSection: e, scrollToSection: t } = ps(), { route: o } = L0();
33168
33168
  return fC((n, r) => {
33169
33169
  n === r && t(n.split("/")[0]);
@@ -33171,14 +33171,14 @@ const yF = () => {
33171
33171
  o !== void 0 && e(o.split("/")[0]);
33172
33172
  }, [o, e]), null;
33173
33173
  };
33174
- function SQ({ framework: e, designSystem: t, officialThemes: o, zapierTemplates: n, upgradeStatus: r }) {
33174
+ function TQ({ framework: e, designSystem: t, officialThemes: o, zapierTemplates: n, upgradeStatus: r }) {
33175
33175
  return /* @__PURE__ */ p.jsx(Tk, { ...e, children: /* @__PURE__ */ p.jsx(mC, { officialThemes: o, upgradeStatus: r, zapierTemplates: n, children: /* @__PURE__ */ p.jsx(z1.Provider, { children: /* @__PURE__ */ p.jsx(uC, { basePath: "settings", modals: { paths: SF, load: IF }, children: /* @__PURE__ */ p.jsxs(JT, { className: "admin-x-settings", ...t, children: [
33176
33176
  /* @__PURE__ */ p.jsx(GF, {}),
33177
33177
  /* @__PURE__ */ p.jsx(EF, {})
33178
33178
  ] }) }) }) }) });
33179
33179
  }
33180
33180
  export {
33181
- $F as $,
33181
+ QF as $,
33182
33182
  kO as A,
33183
33183
  z0 as B,
33184
33184
  jO as C,
@@ -33205,10 +33205,10 @@ export {
33205
33205
  z1 as X,
33206
33206
  L0 as Y,
33207
33207
  K0 as Z,
33208
- pQ as _,
33208
+ nQ as _,
33209
33209
  Y0 as a,
33210
33210
  ao as a$,
33211
- MQ as a0,
33211
+ cQ as a0,
33212
33212
  jn as a1,
33213
33213
  q1 as a2,
33214
33214
  Bn as a3,
@@ -33216,7 +33216,7 @@ export {
33216
33216
  AW as a5,
33217
33217
  P1 as a6,
33218
33218
  pf as a7,
33219
- vQ as a8,
33219
+ lQ as a8,
33220
33220
  $A as a9,
33221
33221
  hM as aA,
33222
33222
  fb as aB,
@@ -33224,22 +33224,22 @@ export {
33224
33224
  po as aD,
33225
33225
  _c as aE,
33226
33226
  sN as aF,
33227
- jQ as aG,
33227
+ yQ as aG,
33228
33228
  Gf as aH,
33229
33229
  Zf as aI,
33230
33230
  xF as aJ,
33231
- TQ as aK,
33232
- kQ as aL,
33233
- EQ as aM,
33231
+ wQ as aK,
33232
+ RQ as aL,
33233
+ jQ as aM,
33234
33234
  Gk as aN,
33235
33235
  Ao as aO,
33236
- aQ as aP,
33237
- qQ as aQ,
33238
- HQ as aR,
33236
+ oQ as aP,
33237
+ OQ as aQ,
33238
+ BQ as aR,
33239
33239
  LF as aS,
33240
- CQ as aT,
33240
+ XQ as aT,
33241
33241
  yF as aU,
33242
- DQ as aV,
33242
+ NQ as aV,
33243
33243
  jr as aW,
33244
33244
  Pl as aX,
33245
33245
  d as aY,
@@ -33248,64 +33248,64 @@ export {
33248
33248
  SO as aa,
33249
33249
  le as ab,
33250
33250
  ye as ac,
33251
- yQ as ad,
33251
+ gQ as ad,
33252
33252
  Ef as ae,
33253
33253
  de as af,
33254
33254
  HS as ag,
33255
33255
  FY as ah,
33256
33256
  QT as ai,
33257
- wQ as aj,
33257
+ WQ as aj,
33258
33258
  Vs as ak,
33259
- nQ as al,
33259
+ JF as al,
33260
33260
  Bl as am,
33261
33261
  N1 as an,
33262
33262
  Q0 as ao,
33263
- hQ as ap,
33263
+ dQ as ap,
33264
33264
  bC as aq,
33265
33265
  w0 as ar,
33266
- iQ as as,
33266
+ rQ as as,
33267
33267
  It as at,
33268
33268
  ss as au,
33269
33269
  Ie as av,
33270
33270
  st as aw,
33271
33271
  wS as ax,
33272
- zQ as ay,
33272
+ sQ as ay,
33273
33273
  GI as az,
33274
33274
  T as b,
33275
- AQ as b$,
33275
+ iQ as b$,
33276
33276
  o4 as b0,
33277
33277
  rt as b1,
33278
33278
  ul as b2,
33279
- XQ as b3,
33280
- sQ as b4,
33279
+ PQ as b3,
33280
+ eQ as b4,
33281
33281
  At as b5,
33282
- NQ as b6,
33283
- BQ as b7,
33282
+ LQ as b6,
33283
+ xQ as b7,
33284
33284
  Of as b8,
33285
33285
  bb as b9,
33286
- LQ as bA,
33286
+ hQ as bA,
33287
33287
  kf as bB,
33288
33288
  Fg as bC,
33289
- PQ as bD,
33289
+ vQ as bD,
33290
33290
  Cf as bE,
33291
- xQ as bF,
33291
+ qQ as bF,
33292
33292
  XS as bG,
33293
- bQ as bH,
33293
+ tQ as bH,
33294
33294
  aC as bI,
33295
33295
  w2 as bJ,
33296
- WQ as bK,
33297
- cQ as bL,
33296
+ uQ as bK,
33297
+ $F as bL,
33298
33298
  NS as bM,
33299
- rQ as bN,
33299
+ _F as bN,
33300
33300
  DF as bO,
33301
33301
  yz as bP,
33302
33302
  n1 as bQ,
33303
- gQ as bR,
33303
+ AQ as bR,
33304
33304
  al as bS,
33305
33305
  CY as bT,
33306
33306
  pl as bU,
33307
33307
  OW as bV,
33308
- RQ as bW,
33308
+ mQ as bW,
33309
33309
  BS as bX,
33310
33310
  ST as bY,
33311
33311
  a1 as bZ,
@@ -33326,13 +33326,13 @@ export {
33326
33326
  uX as bn,
33327
33327
  HT as bo,
33328
33328
  oC as bp,
33329
- eQ as bq,
33329
+ VF as bq,
33330
33330
  nC as br,
33331
33331
  Mf as bs,
33332
33332
  nI as bt,
33333
33333
  rC as bu,
33334
33334
  nu as bv,
33335
- mQ as bw,
33335
+ fQ as bw,
33336
33336
  Ft as bx,
33337
33337
  Ps as by,
33338
33338
  Tf as bz,
@@ -33346,14 +33346,14 @@ export {
33346
33346
  MY as c6,
33347
33347
  rl as c7,
33348
33348
  iY as c8,
33349
- lQ as c9,
33349
+ bQ as c9,
33350
33350
  af as ca,
33351
- dQ as cb,
33352
- OQ as cc,
33353
- uQ as cd,
33351
+ aQ as cb,
33352
+ pQ as cc,
33353
+ MQ as cd,
33354
33354
  Iz as ce,
33355
33355
  Di as cf,
33356
- fQ as cg,
33356
+ zQ as cg,
33357
33357
  sf as ch,
33358
33358
  is as ci,
33359
33359
  jS as cj,
@@ -33361,7 +33361,7 @@ export {
33361
33361
  WL as cl,
33362
33362
  A4 as cm,
33363
33363
  d0 as cn,
33364
- SQ as co,
33364
+ TQ as co,
33365
33365
  F as d,
33366
33366
  L1 as e,
33367
33367
  r0 as f,
@@ -33386,4 +33386,4 @@ export {
33386
33386
  J2 as y,
33387
33387
  Mn as z
33388
33388
  };
33389
- //# sourceMappingURL=index-DsbJfrQ7.mjs.map
33389
+ //# sourceMappingURL=index-B5r0jdJS.mjs.map
@@ -1,4 +1,4 @@
1
- import { b0 as Oe, W as Xa, b2 as ll } from "./index-DsbJfrQ7.mjs";
1
+ import { b0 as Oe, W as Xa, b2 as ll } from "./index-B5r0jdJS.mjs";
2
2
  function fl(r, e) {
3
3
  for (var n = 0; n < e.length; n++) {
4
4
  const t = e[n];
@@ -12469,4 +12469,4 @@ const l6 = /* @__PURE__ */ Xa(Yu), p6 = /* @__PURE__ */ fl({
12469
12469
  export {
12470
12470
  p6 as i
12471
12471
  };
12472
- //# sourceMappingURL=index-BB7hgOf0.mjs.map
12472
+ //# sourceMappingURL=index-Co907MFn.mjs.map