ghost 5.130.0 → 5.130.2

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 (31) hide show
  1. package/components/{tryghost-i18n-5.130.0.tgz → tryghost-i18n-5.130.2.tgz} +0 -0
  2. package/core/built/admin/assets/admin-x-activitypub/admin-x-activitypub.js +2 -2
  3. package/core/built/admin/assets/admin-x-activitypub/{index-rDFm98Ub.mjs → index-B8te98RZ.mjs} +22545 -16467
  4. package/core/built/admin/assets/admin-x-activitypub/{index-BhgdXgH_.mjs → index-C8qwgKWF.mjs} +2 -2
  5. package/core/built/admin/assets/admin-x-settings/{CodeEditorView-bO8i1M7l.mjs → CodeEditorView-CAtv7MlN.mjs} +2 -2
  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-DIak5kz8.mjs → index-BVxh86CD.mjs} +180 -180
  8. package/core/built/admin/assets/admin-x-settings/{index-BeD9DTp3.mjs → index-DUhmXSBR.mjs} +2 -2
  9. package/core/built/admin/assets/admin-x-settings/{modals-DLPpqlUq.mjs → modals-B5dtfzsB.mjs} +310 -310
  10. package/core/built/admin/assets/{chunk.524.2443bfd380e6da0cbabd.js → chunk.524.1f2faf572078e5b86b09.js} +7 -7
  11. package/core/built/admin/assets/{chunk.582.434476dff5ddc79ed054.js → chunk.582.675905fe8f9be138fb19.js} +9 -9
  12. package/core/built/admin/assets/{chunk.728.214803966b81ffdb1acd.js → chunk.728.985c45ad584b4b91ca60.js} +124 -124
  13. package/core/built/admin/assets/{ghost-5d9c65b5c4ef960a664cd664b2616dea.js → ghost-280b83af263b51bc4d6ce5bd8f536096.js} +46 -53
  14. package/core/built/admin/assets/posts/posts.js +21688 -21763
  15. package/core/built/admin/assets/stats/stats.js +21635 -21706
  16. package/core/built/admin/assets/{vendor-c89102f24c3d9502e9db741509767580.js → vendor-aed0068cf9b67d042dd23a6343545b7b.js} +1 -1
  17. package/core/built/admin/index.html +5 -5
  18. package/core/frontend/web/middleware/frontend-caching.js +6 -1
  19. package/core/frontend/web/middleware/static-theme.js +3 -5
  20. package/core/server/data/tinybird/README.md +9 -14
  21. package/core/server/services/members/members-api/controllers/RouterController.js +28 -10
  22. package/core/server/services/members/members-api/utils/normalize-email.js +31 -0
  23. package/core/server/services/public-config/config.js +0 -1
  24. package/core/server/web/admin/app.js +5 -6
  25. package/core/server/web/shared/middleware/cache-control.js +2 -1
  26. package/core/shared/config/defaults.json +6 -0
  27. package/package.json +9 -9
  28. package/tsconfig.tsbuildinfo +1 -1
  29. package/yarn.lock +140 -95
  30. package/core/built/admin/assets/img/twitter-7a7a0ba12d9b5bfb8a2058764a827c31.svg +0 -4
  31. /package/core/built/admin/assets/{chunk.728.214803966b81ffdb1acd.js.LICENSE.txt → chunk.728.985c45ad584b4b91ca60.js.LICENSE.txt} +0 -0
@@ -25,9 +25,9 @@ function V7(e) {
25
25
  }), n;
26
26
  }
27
27
  var I1 = { exports: {} }, sa = {};
28
- const _n = React.Children, Eu = React.Component, Ln = React.Fragment, U7 = React.Profiler, K7 = React.PureComponent, J7 = React.StrictMode, S1 = React.Suspense, q7 = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, _7 = React.act, mo = React.cloneElement, Ye = React.createContext, p = React.createElement, $7 = React.createFactory, eh = React.createRef, U = React, J = React.forwardRef, lo = React.isValidElement, th = React.lazy, Bu = React.memo, nh = React.startTransition, rh = React.unstable_act, I = React.useCallback, He = React.useContext, oh = React.useDebugValue, sh = React.useDeferredValue, T = React.useEffect, Dr = React.useId, ih = React.useImperativeHandle, ah = React.useInsertionEffect, bo = React.useLayoutEffect, K = React.useMemo, ia = React.useReducer, G = React.useRef, X = React.useState, lh = React.useSyncExternalStore, ch = React.useTransition, R1 = React.version, $o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28
+ const $n = React.Children, Eu = React.Component, Ln = React.Fragment, U7 = React.Profiler, K7 = React.PureComponent, J7 = React.StrictMode, S1 = React.Suspense, q7 = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, _7 = React.act, mo = React.cloneElement, Ye = React.createContext, p = React.createElement, $7 = React.createFactory, eh = React.createRef, U = React, J = React.forwardRef, lo = React.isValidElement, th = React.lazy, Bu = React.memo, nh = React.startTransition, rh = React.unstable_act, I = React.useCallback, He = React.useContext, oh = React.useDebugValue, sh = React.useDeferredValue, T = React.useEffect, Dr = React.useId, ih = React.useImperativeHandle, ah = React.useInsertionEffect, bo = React.useLayoutEffect, K = React.useMemo, ia = React.useReducer, G = React.useRef, X = React.useState, lh = React.useSyncExternalStore, ch = React.useTransition, R1 = React.version, $o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29
29
  __proto__: null,
30
- Children: _n,
30
+ Children: $n,
31
31
  Component: Eu,
32
32
  Fragment: Ln,
33
33
  Profiler: U7,
@@ -247,7 +247,7 @@ function yh(e, t) {
247
247
  return ia((n, r) => t[n][r] ?? n, e);
248
248
  }
249
249
  var aa = (e) => {
250
- const { present: t, children: n } = e, r = wh(t), o = typeof n == "function" ? n({ present: r.isPresent }) : _n.only(n), s = dt(r.ref, Ah(o));
250
+ const { present: t, children: n } = e, r = wh(t), o = typeof n == "function" ? n({ present: r.isPresent }) : $n.only(n), s = dt(r.ref, Ah(o));
251
251
  return typeof n == "function" || r.isPresent ? mo(o, { ref: s }) : null;
252
252
  };
253
253
  aa.displayName = "Presence";
@@ -324,9 +324,9 @@ ReactDOM.version;
324
324
  // @__NO_SIDE_EFFECTS__
325
325
  function Oi(e) {
326
326
  const t = /* @__PURE__ */ jh(e), n = J((r, o) => {
327
- const { children: s, ...i } = r, a = _n.toArray(s), l = a.find(zh);
327
+ const { children: s, ...i } = r, a = $n.toArray(s), l = a.find(zh);
328
328
  if (l) {
329
- const u = l.props.children, d = a.map((f) => f === l ? _n.count(u) > 1 ? _n.only(null) : lo(u) ? u.props.children : null : f);
329
+ const u = l.props.children, d = a.map((f) => f === l ? $n.count(u) > 1 ? $n.only(null) : lo(u) ? u.props.children : null : f);
330
330
  return /* @__PURE__ */ c.jsx(t, { ...i, ref: o, children: lo(u) ? mo(u, void 0, d) : null });
331
331
  }
332
332
  return /* @__PURE__ */ c.jsx(t, { ...i, ref: o, children: s });
@@ -341,7 +341,7 @@ function jh(e) {
341
341
  const i = Hh(o), a = Oh(s, o.props);
342
342
  return o.type !== Ln && (a.ref = r ? F1(r, i) : i), mo(o, a);
343
343
  }
344
- return _n.count(o) > 1 ? _n.only(null) : null;
344
+ return $n.count(o) > 1 ? $n.only(null) : null;
345
345
  });
346
346
  return t.displayName = `${e}.SlotClone`, t;
347
347
  }
@@ -491,7 +491,7 @@ const mt = ({ className: e }) => (e || (e = "border-grey-200 dark:border-grey-80
491
491
  o,
492
492
  n
493
493
  ), /* @__PURE__ */ c.jsx("span", { className: n, ...r, children: e });
494
- }, Nh = U.lazy(() => import("./CodeEditorView-bO8i1M7l.mjs")), _2 = J(function(t, n) {
494
+ }, Nh = U.lazy(() => import("./CodeEditorView-CAtv7MlN.mjs")), _2 = J(function(t, n) {
495
495
  return /* @__PURE__ */ c.jsx(S1, { fallback: null, children: /* @__PURE__ */ c.jsx(Nh, { ...t, ref: n }) });
496
496
  }), _1 = (e) => /* @__PURE__ */ p("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 14 14", height: 16, width: 16, ...e }, /* @__PURE__ */ p("g", { id: "user-single-neutral--close-geometric-human-person-single-up-user" }, /* @__PURE__ */ p("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" }))), Eh = "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", Bh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
497
497
  __proto__: null,
@@ -1541,7 +1541,7 @@ let Xn = ua.bind({ k: 1 });
1541
1541
  function Gx(e, t, n, r) {
1542
1542
  Jn.p = t, a5 = e, n0 = n, r0 = r;
1543
1543
  }
1544
- function ir(e, t) {
1544
+ function ar(e, t) {
1545
1545
  let n = this || {};
1546
1546
  return function() {
1547
1547
  let r = arguments;
@@ -1586,13 +1586,13 @@ var Fx = (e) => typeof e == "function", Hi = (e, t) => Fx(e) ? e(t) : e, Wx = /*
1586
1586
  let o = t.time - (e.pausedAt || 0);
1587
1587
  return { ...e, pausedAt: void 0, toasts: e.toasts.map((s) => ({ ...s, pauseDuration: s.pauseDuration + o })) };
1588
1588
  }
1589
- }, pi = [], pr = { toasts: [], pausedAt: void 0 }, Mr = (e) => {
1590
- pr = c5(pr, e), pi.forEach((t) => {
1591
- t(pr);
1589
+ }, pi = [], hr = { toasts: [], pausedAt: void 0 }, Mr = (e) => {
1590
+ hr = c5(hr, e), pi.forEach((t) => {
1591
+ t(hr);
1592
1592
  });
1593
1593
  }, Qx = { blank: 4e3, error: 4e3, success: 2e3, loading: 1 / 0, custom: 4e3 }, Vx = (e = {}) => {
1594
- let [t, n] = X(pr), r = G(pr);
1595
- T(() => (r.current !== pr && n(pr), pi.push(n), () => {
1594
+ let [t, n] = X(hr), r = G(hr);
1595
+ T(() => (r.current !== hr && n(hr), pi.push(n), () => {
1596
1596
  let s = pi.indexOf(n);
1597
1597
  s > -1 && pi.splice(s, 1);
1598
1598
  }), []);
@@ -1689,7 +1689,7 @@ from {
1689
1689
  to {
1690
1690
  transform: scale(1) rotate(90deg);
1691
1691
  opacity: 1;
1692
- }`, rP = ir("div")`
1692
+ }`, rP = ar("div")`
1693
1693
  width: 20px;
1694
1694
  opacity: 0;
1695
1695
  height: 20px;
@@ -1729,7 +1729,7 @@ to {
1729
1729
  to {
1730
1730
  transform: rotate(360deg);
1731
1731
  }
1732
- `, sP = ir("div")`
1732
+ `, sP = ar("div")`
1733
1733
  width: 12px;
1734
1734
  height: 12px;
1735
1735
  box-sizing: border-box;
@@ -1760,7 +1760,7 @@ to {
1760
1760
  100% {
1761
1761
  opacity: 1;
1762
1762
  height: 10px;
1763
- }`, lP = ir("div")`
1763
+ }`, lP = ar("div")`
1764
1764
  width: 20px;
1765
1765
  opacity: 0;
1766
1766
  height: 20px;
@@ -1787,9 +1787,9 @@ to {
1787
1787
  height: 10px;
1788
1788
  width: 6px;
1789
1789
  }
1790
- `, cP = ir("div")`
1790
+ `, cP = ar("div")`
1791
1791
  position: absolute;
1792
- `, uP = ir("div")`
1792
+ `, uP = ar("div")`
1793
1793
  position: relative;
1794
1794
  display: flex;
1795
1795
  justify-content: center;
@@ -1804,7 +1804,7 @@ from {
1804
1804
  to {
1805
1805
  transform: scale(1);
1806
1806
  opacity: 1;
1807
- }`, fP = ir("div")`
1807
+ }`, fP = ar("div")`
1808
1808
  position: relative;
1809
1809
  transform: scale(0.6);
1810
1810
  opacity: 0.4;
@@ -1820,7 +1820,7 @@ to {
1820
1820
  `, hP = (e) => `
1821
1821
  0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}
1822
1822
  100% {transform: translate3d(0,${e * -150}%,-1px) scale(.6); opacity:0;}
1823
- `, gP = "0%{opacity:0;} 100%{opacity:1;}", mP = "0%{opacity:1;} 100%{opacity:0;}", bP = ir("div")`
1823
+ `, gP = "0%{opacity:0;} 100%{opacity:1;}", mP = "0%{opacity:1;} 100%{opacity:0;}", bP = ar("div")`
1824
1824
  display: flex;
1825
1825
  align-items: center;
1826
1826
  background: #fff;
@@ -1832,7 +1832,7 @@ to {
1832
1832
  pointer-events: auto;
1833
1833
  padding: 8px 10px;
1834
1834
  border-radius: 8px;
1835
- `, xP = ir("div")`
1835
+ `, xP = ar("div")`
1836
1836
  display: flex;
1837
1837
  justify-content: center;
1838
1838
  margin: 4px 10px;
@@ -2775,7 +2775,7 @@ function my(e, t = 40) {
2775
2775
  }
2776
2776
  return "";
2777
2777
  }
2778
- function hr(e) {
2778
+ function gr(e) {
2779
2779
  return c0(e, /* @__PURE__ */ new Map());
2780
2780
  }
2781
2781
  function c0(e, t) {
@@ -2811,7 +2811,7 @@ function by(e) {
2811
2811
  }
2812
2812
  }
2813
2813
  const pl = "<anonymous>";
2814
- function $n(e) {
2814
+ function er(e) {
2815
2815
  try {
2816
2816
  return !e || typeof e != "function" ? pl : e.name || pl;
2817
2817
  } catch {
@@ -2835,7 +2835,7 @@ function an(e, t) {
2835
2835
  bs && Xe.error(
2836
2836
  `Error while triggering instrumentation handler.
2837
2837
  Type: ${e}
2838
- Name: ${$n(r)}
2838
+ Name: ${er(r)}
2839
2839
  Error:`,
2840
2840
  o
2841
2841
  );
@@ -3290,7 +3290,7 @@ function Qy(e, t) {
3290
3290
  if (typeof t == "number" && t !== t)
3291
3291
  return "[NaN]";
3292
3292
  if (typeof t == "function")
3293
- return `[Function: ${$n(t)}]`;
3293
+ return `[Function: ${er(t)}]`;
3294
3294
  if (typeof t == "symbol")
3295
3295
  return `[${String(t)}]`;
3296
3296
  if (typeof t == "bigint")
@@ -3501,7 +3501,7 @@ function tw(e, t) {
3501
3501
  e.status === "ok" && (n = { status: "exited" }), ha(e, n);
3502
3502
  }
3503
3503
  function nw(e) {
3504
- return hr({
3504
+ return gr({
3505
3505
  sid: `${e.sid}`,
3506
3506
  init: e.init,
3507
3507
  // Make sure that sec is converted to ms for date constructor
@@ -3523,7 +3523,7 @@ function nw(e) {
3523
3523
  const rw = 1;
3524
3524
  function ow(e) {
3525
3525
  const { spanId: t, traceId: n } = e.spanContext(), { data: r, op: o, parent_span_id: s, status: i, tags: a, origin: l } = Li(e);
3526
- return hr({
3526
+ return gr({
3527
3527
  data: r,
3528
3528
  op: o,
3529
3529
  parent_span_id: s,
@@ -3551,7 +3551,7 @@ function aw(e) {
3551
3551
  } : e;
3552
3552
  }
3553
3553
  function lw(e) {
3554
- return e instanceof br || typeof e == "function";
3554
+ return e instanceof xr || typeof e == "function";
3555
3555
  }
3556
3556
  const cw = [
3557
3557
  "user",
@@ -3566,21 +3566,21 @@ const cw = [
3566
3566
  function uw(e) {
3567
3567
  return Object.keys(e).some((t) => cw.includes(t));
3568
3568
  }
3569
- function mr(e, t) {
3570
- return ar().captureException(e, aw(t));
3569
+ function br(e, t) {
3570
+ return lr().captureException(e, aw(t));
3571
3571
  }
3572
3572
  function N5(e, t) {
3573
3573
  const n = typeof t == "string" ? t : void 0, r = typeof t != "string" ? { captureContext: t } : void 0;
3574
- return ar().captureMessage(e, n, r);
3574
+ return lr().captureMessage(e, n, r);
3575
3575
  }
3576
3576
  function E5(e, t) {
3577
- return ar().captureEvent(e, t);
3577
+ return lr().captureEvent(e, t);
3578
3578
  }
3579
3579
  function jr(e, t) {
3580
- ar().addBreadcrumb(e, t);
3580
+ lr().addBreadcrumb(e, t);
3581
3581
  }
3582
3582
  function ga(...e) {
3583
- const t = ar();
3583
+ const t = lr();
3584
3584
  if (e.length === 2) {
3585
3585
  const [n, r] = e;
3586
3586
  return n ? t.withScope(() => (t.getStackTop().scope = n, r(n))) : t.withScope(r);
@@ -3588,16 +3588,16 @@ function ga(...e) {
3588
3588
  return t.withScope(e[0]);
3589
3589
  }
3590
3590
  function Gt() {
3591
- return ar().getClient();
3591
+ return lr().getClient();
3592
3592
  }
3593
3593
  function dw() {
3594
- return ar().getScope();
3594
+ return lr().getScope();
3595
3595
  }
3596
3596
  function B5(e) {
3597
3597
  return e.transaction;
3598
3598
  }
3599
3599
  function fw(e, t, n) {
3600
- const r = t.getOptions(), { publicKey: o } = t.getDsn() || {}, { segment: s } = n && n.getUser() || {}, i = hr({
3600
+ const r = t.getOptions(), { publicKey: o } = t.getDsn() || {}, { segment: s } = n && n.getUser() || {}, i = gr({
3601
3601
  environment: r.environment || T5,
3602
3602
  release: r.release,
3603
3603
  user_segment: s,
@@ -3634,13 +3634,13 @@ function hw(e, t) {
3634
3634
  level: i,
3635
3635
  // eslint-disable-next-line deprecation/deprecation
3636
3636
  transactionName: a
3637
- } = t, l = hr(n);
3637
+ } = t, l = gr(n);
3638
3638
  l && Object.keys(l).length && (e.extra = { ...l, ...e.extra });
3639
- const u = hr(r);
3639
+ const u = gr(r);
3640
3640
  u && Object.keys(u).length && (e.tags = { ...u, ...e.tags });
3641
- const d = hr(o);
3641
+ const d = gr(o);
3642
3642
  d && Object.keys(d).length && (e.user = { ...d, ...e.user });
3643
- const f = hr(s);
3643
+ const f = gr(s);
3644
3644
  f && Object.keys(f).length && (e.contexts = { ...f, ...e.contexts }), i && (e.level = i), a && (e.transaction = a);
3645
3645
  }
3646
3646
  function gw(e, t) {
@@ -3669,7 +3669,7 @@ function xw(e, t) {
3669
3669
  e.fingerprint = e.fingerprint ? yy(e.fingerprint) : [], t && (e.fingerprint = e.fingerprint.concat(t)), e.fingerprint && !e.fingerprint.length && delete e.fingerprint;
3670
3670
  }
3671
3671
  const Pw = 100;
3672
- class br {
3672
+ class xr {
3673
3673
  /** Flag if notifying is happening. */
3674
3674
  /** Callback for client to receive scope changes. */
3675
3675
  /** Callback list that will be called after {@link applyToEvent}. */
@@ -3703,13 +3703,13 @@ class br {
3703
3703
  * @deprecated Use `scope.clone()` and `new Scope()` instead.
3704
3704
  */
3705
3705
  static clone(t) {
3706
- return t ? t.clone() : new br();
3706
+ return t ? t.clone() : new xr();
3707
3707
  }
3708
3708
  /**
3709
3709
  * Clone this scope instance.
3710
3710
  */
3711
3711
  clone() {
3712
- const t = new br();
3712
+ const t = new xr();
3713
3713
  return t._breadcrumbs = [...this._breadcrumbs], t._tags = { ...this._tags }, t._extra = { ...this._extra }, t._contexts = { ...this._contexts }, t._user = this._user, t._level = this._level, t._span = this._span, t._session = this._session, t._transactionName = this._transactionName, t._fingerprint = this._fingerprint, t._eventProcessors = [...this._eventProcessors], t._requestSession = this._requestSession, t._attachments = [...this._attachments], t._sdkProcessingMetadata = { ...this._sdkProcessingMetadata }, t._propagationContext = { ...this._propagationContext }, t._client = this._client, t;
3714
3714
  }
3715
3715
  /** Update the client on the scope. */
@@ -3863,7 +3863,7 @@ class br {
3863
3863
  if (!t)
3864
3864
  return this;
3865
3865
  const n = typeof t == "function" ? t(this) : t;
3866
- if (n instanceof br) {
3866
+ if (n instanceof xr) {
3867
3867
  const r = n.getScopeData();
3868
3868
  this._tags = { ...this._tags, ...r.tags }, this._extra = { ...this._extra, ...r.extra }, this._contexts = { ...this._contexts, ...r.contexts }, r.user && Object.keys(r.user).length && (this._user = r.user), r.level && (this._level = r.level), r.fingerprint.length && (this._fingerprint = r.fingerprint), n.getRequestSession() && (this._requestSession = n.getRequestSession()), r.propagationContext && (this._propagationContext = r.propagationContext);
3869
3869
  } else if (fa(n)) {
@@ -4120,9 +4120,9 @@ class S5 {
4120
4120
  constructor(t, n, r, o = I5) {
4121
4121
  this._version = o;
4122
4122
  let s;
4123
- n ? s = n : (s = new br(), s.setClient(t));
4123
+ n ? s = n : (s = new xr(), s.setClient(t));
4124
4124
  let i;
4125
- r ? i = r : (i = new br(), i.setClient(t)), this._stack = [{ scope: s }], t && this.bindClient(t), this._isolationScope = i;
4125
+ r ? i = r : (i = new xr(), i.setClient(t)), this._stack = [{ scope: s }], t && this.bindClient(t), this._isolationScope = i;
4126
4126
  }
4127
4127
  /**
4128
4128
  * Checks if this hub's version is older than the given version.
@@ -4464,7 +4464,7 @@ function fd(e) {
4464
4464
  const t = ma(), n = b0(t);
4465
4465
  return R5(t, e), n;
4466
4466
  }
4467
- function ar() {
4467
+ function lr() {
4468
4468
  const e = ma();
4469
4469
  if (e.__SENTRY__ && e.__SENTRY__.acs) {
4470
4470
  const t = e.__SENTRY__.acs.getCurrentHub();
@@ -4509,7 +4509,7 @@ function zw(e, t) {
4509
4509
  o += `&${encodeURIComponent(s)}=${encodeURIComponent(t[s])}`;
4510
4510
  return `${r}?${o}`;
4511
4511
  }
4512
- function lr(e, t) {
4512
+ function cr(e, t) {
4513
4513
  return Object.assign(
4514
4514
  function(...r) {
4515
4515
  return t(...r);
@@ -4541,7 +4541,7 @@ const Ow = [
4541
4541
  return Mw(t, s) ? null : t;
4542
4542
  }
4543
4543
  }), G5 = Cw;
4544
- lr(
4544
+ cr(
4545
4545
  Z5,
4546
4546
  G5
4547
4547
  );
@@ -4659,7 +4659,7 @@ const F5 = "FunctionToString", pd = /* @__PURE__ */ new WeakMap(), Sw = () => ({
4659
4659
  pd.set(e, !0);
4660
4660
  }
4661
4661
  }), W5 = Sw;
4662
- lr(
4662
+ cr(
4663
4663
  F5,
4664
4664
  W5
4665
4665
  );
@@ -4695,7 +4695,7 @@ function co(e, t = {}, n) {
4695
4695
  i.addEventProcessor((a) => (t.mechanism && (u0(a, void 0), d0(a, t.mechanism)), a.extra = {
4696
4696
  ...a.extra,
4697
4697
  arguments: o
4698
- }, a)), mr(s);
4698
+ }, a)), br(s);
4699
4699
  }), s;
4700
4700
  }
4701
4701
  };
@@ -4831,7 +4831,7 @@ const $s = 1024, U5 = "Breadcrumbs", Uw = (e = {}) => {
4831
4831
  }
4832
4832
  };
4833
4833
  }, K5 = Uw;
4834
- lr(U5, K5);
4834
+ cr(U5, K5);
4835
4835
  function Kw(e) {
4836
4836
  return function(n) {
4837
4837
  Gt() === e && jr(
@@ -5008,7 +5008,7 @@ const J5 = "Dedupe", nA = () => {
5008
5008
  }
5009
5009
  };
5010
5010
  }, q5 = nA;
5011
- lr(J5, q5);
5011
+ cr(J5, q5);
5012
5012
  function rA(e, t) {
5013
5013
  return t ? !!(oA(e, t) || sA(e, t)) : !1;
5014
5014
  }
@@ -5074,7 +5074,7 @@ const e3 = "GlobalHandlers", iA = (e = {}) => {
5074
5074
  }
5075
5075
  };
5076
5076
  }, t3 = iA;
5077
- lr(
5077
+ cr(
5078
5078
  e3,
5079
5079
  t3
5080
5080
  );
@@ -5191,7 +5191,7 @@ const o3 = "HttpContext", fA = () => ({
5191
5191
  e.request = s;
5192
5192
  }
5193
5193
  }), s3 = fA;
5194
- lr(o3, s3);
5194
+ cr(o3, s3);
5195
5195
  const vA = "cause", pA = 5, i3 = "LinkedErrors", hA = (e = {}) => {
5196
5196
  const t = e.limit || pA, n = e.key || vA;
5197
5197
  return {
@@ -5215,7 +5215,7 @@ const vA = "cause", pA = 5, i3 = "LinkedErrors", hA = (e = {}) => {
5215
5215
  }
5216
5216
  };
5217
5217
  }, a3 = hA;
5218
- lr(i3, a3);
5218
+ cr(i3, a3);
5219
5219
  const gA = [
5220
5220
  "EventTarget",
5221
5221
  "Window",
@@ -5268,7 +5268,7 @@ const gA = [
5268
5268
  }
5269
5269
  };
5270
5270
  }, c3 = mA;
5271
- lr(
5271
+ cr(
5272
5272
  l3,
5273
5273
  c3
5274
5274
  );
@@ -5277,7 +5277,7 @@ function xd(e) {
5277
5277
  const n = t[0];
5278
5278
  return t[0] = co(n, {
5279
5279
  mechanism: {
5280
- data: { function: $n(e) },
5280
+ data: { function: er(e) },
5281
5281
  handled: !1,
5282
5282
  type: "instrument"
5283
5283
  }
@@ -5291,7 +5291,7 @@ function bA(e) {
5291
5291
  mechanism: {
5292
5292
  data: {
5293
5293
  function: "requestAnimationFrame",
5294
- handler: $n(e)
5294
+ handler: er(e)
5295
5295
  },
5296
5296
  handled: !1,
5297
5297
  type: "instrument"
@@ -5309,13 +5309,13 @@ function xA(e) {
5309
5309
  mechanism: {
5310
5310
  data: {
5311
5311
  function: o,
5312
- handler: $n(s)
5312
+ handler: er(s)
5313
5313
  },
5314
5314
  handled: !1,
5315
5315
  type: "instrument"
5316
5316
  }
5317
5317
  }, a = e2(s);
5318
- return a && (i.mechanism.data.handler = $n(a)), co(s, i);
5318
+ return a && (i.mechanism.data.handler = er(a)), co(s, i);
5319
5319
  });
5320
5320
  }), e.apply(this, t);
5321
5321
  };
@@ -5329,7 +5329,7 @@ function PA(e) {
5329
5329
  mechanism: {
5330
5330
  data: {
5331
5331
  function: "handleEvent",
5332
- handler: $n(s),
5332
+ handler: er(s),
5333
5333
  target: e
5334
5334
  },
5335
5335
  handled: !1,
@@ -5345,7 +5345,7 @@ function PA(e) {
5345
5345
  mechanism: {
5346
5346
  data: {
5347
5347
  function: "addEventListener",
5348
- handler: $n(s),
5348
+ handler: er(s),
5349
5349
  target: e
5350
5350
  },
5351
5351
  handled: !1,
@@ -5372,7 +5372,7 @@ function PA(e) {
5372
5372
  ));
5373
5373
  }
5374
5374
  G5(), W5(), c3(), K5(), t3(), a3(), q5(), s3();
5375
- const Pd = (e = {}, t = ar()) => {
5375
+ const Pd = (e = {}, t = lr()) => {
5376
5376
  if (!rt.document) {
5377
5377
  eo && Xe.error("Global document not defined in showReportDialog call");
5378
5378
  return;
@@ -5554,7 +5554,7 @@ let LA = class p3 extends Eu {
5554
5554
  u.name = `React ErrorBoundary ${t.name}`, u.stack = n, MA(t, u);
5555
5555
  }
5556
5556
  r && r(a, t, n);
5557
- const l = mr(t, {
5557
+ const l = br(t, {
5558
5558
  captureContext: {
5559
5559
  contexts: { react: { componentStack: n } }
5560
5560
  },
@@ -5621,7 +5621,7 @@ class EA extends U.Component {
5621
5621
  }
5622
5622
  componentDidCatch(t, n) {
5623
5623
  ga((r) => {
5624
- r.setTag("adminx_settings_component", n.componentStack), mr(t);
5624
+ r.setTag("adminx_settings_component", n.componentStack), br(t);
5625
5625
  }), console.error(t), console.error("In component:", n.componentStack);
5626
5626
  }
5627
5627
  render() {
@@ -6782,7 +6782,7 @@ function Qj(e, t) {
6782
6782
  }
6783
6783
  }));
6784
6784
  }
6785
- const Vj = ["top", "right", "bottom", "left"], er = Math.min, St = Math.max, Bi = Math.round, ti = Math.floor, tr = (e) => ({
6785
+ const Vj = ["top", "right", "bottom", "left"], tr = Math.min, St = Math.max, Bi = Math.round, ti = Math.floor, nr = (e) => ({
6786
6786
  x: e,
6787
6787
  y: e
6788
6788
  }), Uj = {
@@ -6795,7 +6795,7 @@ const Vj = ["top", "right", "bottom", "left"], er = Math.min, St = Math.max, Bi
6795
6795
  end: "start"
6796
6796
  };
6797
6797
  function k0(e, t, n) {
6798
- return St(e, er(t, n));
6798
+ return St(e, tr(t, n));
6799
6799
  }
6800
6800
  function Tn(e, t) {
6801
6801
  return typeof e == "function" ? e(t) : e;
@@ -7056,7 +7056,7 @@ const Md = (e) => ({
7056
7056
  }, v = f2(o), g = d2(v), b = await i.getDimensions(l), h = v === "y", m = h ? "top" : "left", x = h ? "bottom" : "right", P = h ? "clientHeight" : "clientWidth", w = s.reference[g] + s.reference[v] - f[v] - s.floating[g], y = f[v] - s.reference[v], A = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(l));
7057
7057
  let k = A ? A[P] : 0;
7058
7058
  (!k || !await (i.isElement == null ? void 0 : i.isElement(A))) && (k = a.floating[P] || s.floating[g]);
7059
- const j = w / 2 - y / 2, z = k / 2 - b[g] / 2 - 1, H = er(d[m], z), D = er(d[x], z), L = H, N = k - b[g] - D, B = k / 2 - b[g] / 2 + j, S = k0(L, B, N), Y = Ao(o) != null && B != S && s.reference[g] / 2 - (B < L ? H : D) - b[g] / 2 < 0 ? B < L ? L - B : N - B : 0;
7059
+ const j = w / 2 - y / 2, z = k / 2 - b[g] / 2 - 1, H = tr(d[m], z), D = tr(d[x], z), L = H, N = k - b[g] - D, B = k / 2 - b[g] / 2 + j, S = k0(L, B, N), Y = Ao(o) != null && B != S && s.reference[g] / 2 - (B < L ? H : D) - b[g] / 2 < 0 ? B < L ? L - B : N - B : 0;
7060
7060
  return {
7061
7061
  [v]: f[v] - Y,
7062
7062
  data: {
@@ -7349,10 +7349,10 @@ const sk = function(e) {
7349
7349
  let w = m, y = x;
7350
7350
  if (f) {
7351
7351
  const k = v - l.left - l.right;
7352
- y = d || P ? er(x, k) : k;
7352
+ y = d || P ? tr(x, k) : k;
7353
7353
  } else {
7354
7354
  const k = g - l.top - l.bottom;
7355
- w = d || P ? er(m, k) : k;
7355
+ w = d || P ? tr(m, k) : k;
7356
7356
  }
7357
7357
  if (P && !d) {
7358
7358
  const k = St(l.left, 0), j = St(l.right, 0), z = St(l.top, 0), H = St(l.bottom, 0);
@@ -7372,7 +7372,7 @@ const sk = function(e) {
7372
7372
  }
7373
7373
  };
7374
7374
  };
7375
- function nr(e) {
7375
+ function rr(e) {
7376
7376
  return M3(e) ? (e.nodeName || "").toLowerCase() : "#document";
7377
7377
  }
7378
7378
  function Zt(e) {
@@ -7405,7 +7405,7 @@ function Ps(e) {
7405
7405
  return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && !["inline", "contents"].includes(o);
7406
7406
  }
7407
7407
  function ck(e) {
7408
- return ["table", "td", "th"].includes(nr(e));
7408
+ return ["table", "td", "th"].includes(rr(e));
7409
7409
  }
7410
7410
  function v2(e) {
7411
7411
  const t = p2(), n = $t(e);
@@ -7424,7 +7424,7 @@ function p2() {
7424
7424
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
7425
7425
  }
7426
7426
  function La(e) {
7427
- return ["html", "body", "#document"].includes(nr(e));
7427
+ return ["html", "body", "#document"].includes(rr(e));
7428
7428
  }
7429
7429
  function $t(e) {
7430
7430
  return Zt(e).getComputedStyle(e);
@@ -7439,7 +7439,7 @@ function Xa(e) {
7439
7439
  };
7440
7440
  }
7441
7441
  function fo(e) {
7442
- if (nr(e) === "html")
7442
+ if (rr(e) === "html")
7443
7443
  return e;
7444
7444
  const t = (
7445
7445
  // Step into the shadow DOM of the parent of a slotted node.
@@ -7476,7 +7476,7 @@ function h2(e) {
7476
7476
  function ro(e) {
7477
7477
  const t = h2(e);
7478
7478
  if (!jn(t))
7479
- return tr(1);
7479
+ return nr(1);
7480
7480
  const n = t.getBoundingClientRect(), {
7481
7481
  width: r,
7482
7482
  height: o,
@@ -7488,7 +7488,7 @@ function ro(e) {
7488
7488
  y: a
7489
7489
  };
7490
7490
  }
7491
- const dk = /* @__PURE__ */ tr(0);
7491
+ const dk = /* @__PURE__ */ nr(0);
7492
7492
  function T3(e) {
7493
7493
  const t = Zt(e);
7494
7494
  return !p2() || !t.visualViewport ? dk : {
@@ -7502,9 +7502,9 @@ function fk(e, t, n) {
7502
7502
  function zr(e, t, n, r) {
7503
7503
  t === void 0 && (t = !1), n === void 0 && (n = !1);
7504
7504
  const o = e.getBoundingClientRect(), s = h2(e);
7505
- let i = tr(1);
7505
+ let i = nr(1);
7506
7506
  t && (r ? En(r) && (i = ro(r)) : i = ro(e));
7507
- const a = fk(s, n, r) ? T3(s) : tr(0);
7507
+ const a = fk(s, n, r) ? T3(s) : nr(0);
7508
7508
  let l = (o.left + a.x) / i.x, u = (o.top + a.y) / i.y, d = o.width / i.x, f = o.height / i.y;
7509
7509
  if (s) {
7510
7510
  const v = Zt(s), g = r && En(r) ? Zt(r) : r;
@@ -7533,9 +7533,9 @@ function vk(e) {
7533
7533
  let i = {
7534
7534
  scrollLeft: 0,
7535
7535
  scrollTop: 0
7536
- }, a = tr(1);
7537
- const l = tr(0);
7538
- if ((o || !o && r !== "fixed") && ((nr(n) !== "body" || Ps(s)) && (i = Xa(n)), jn(n))) {
7536
+ }, a = nr(1);
7537
+ const l = nr(0);
7538
+ if ((o || !o && r !== "fixed") && ((rr(n) !== "body" || Ps(s)) && (i = Xa(n)), jn(n))) {
7539
7539
  const u = zr(n);
7540
7540
  a = ro(n), l.x = u.x + n.clientLeft, l.y = u.y + n.clientTop;
7541
7541
  }
@@ -7579,7 +7579,7 @@ function gk(e, t) {
7579
7579
  };
7580
7580
  }
7581
7581
  function mk(e, t) {
7582
- const n = zr(e, !0, t === "fixed"), r = n.top + e.clientTop, o = n.left + e.clientLeft, s = jn(e) ? ro(e) : tr(1), i = e.clientWidth * s.x, a = e.clientHeight * s.y, l = o * s.x, u = r * s.y;
7582
+ const n = zr(e, !0, t === "fixed"), r = n.top + e.clientTop, o = n.left + e.clientLeft, s = jn(e) ? ro(e) : nr(1), i = e.clientWidth * s.x, a = e.clientHeight * s.y, l = o * s.x, u = r * s.y;
7583
7583
  return {
7584
7584
  width: i,
7585
7585
  height: a,
@@ -7613,7 +7613,7 @@ function bk(e, t) {
7613
7613
  const n = t.get(e);
7614
7614
  if (n)
7615
7615
  return n;
7616
- let r = Ri(e).filter((a) => En(a) && nr(a) !== "body"), o = null;
7616
+ let r = Ri(e).filter((a) => En(a) && rr(a) !== "body"), o = null;
7617
7617
  const s = $t(e).position === "fixed";
7618
7618
  let i = s ? fo(e) : e;
7619
7619
  for (; En(i) && !La(i); ) {
@@ -7631,7 +7631,7 @@ function xk(e) {
7631
7631
  } = e;
7632
7632
  const i = [...n === "clippingAncestors" ? bk(t, this._c) : [].concat(n), r], a = i[0], l = i.reduce((u, d) => {
7633
7633
  const f = Nd(t, d, o);
7634
- return u.top = St(f.top, u.top), u.right = er(f.right, u.right), u.bottom = er(f.bottom, u.bottom), u.left = St(f.left, u.left), u;
7634
+ return u.top = St(f.top, u.top), u.right = tr(f.right, u.right), u.bottom = tr(f.bottom, u.bottom), u.left = St(f.left, u.left), u;
7635
7635
  }, Nd(t, a, o));
7636
7636
  return {
7637
7637
  width: l.right - l.left,
@@ -7649,9 +7649,9 @@ function yk(e, t, n) {
7649
7649
  scrollLeft: 0,
7650
7650
  scrollTop: 0
7651
7651
  };
7652
- const l = tr(0);
7652
+ const l = nr(0);
7653
7653
  if (r || !r && !s)
7654
- if ((nr(t) !== "body" || Ps(o)) && (a = Xa(t)), r) {
7654
+ if ((rr(t) !== "body" || Ps(o)) && (a = Xa(t)), r) {
7655
7655
  const u = zr(t, !0, s, t);
7656
7656
  l.x = u.x + t.clientLeft, l.y = u.y + t.clientTop;
7657
7657
  } else o && (l.x = N3(o));
@@ -7672,7 +7672,7 @@ function B3(e, t) {
7672
7672
  let r = Ed(e, t);
7673
7673
  for (; r && ck(r) && $t(r).position === "static"; )
7674
7674
  r = Ed(r, t);
7675
- return r && (nr(r) === "html" || nr(r) === "body" && $t(r).position === "static" && !v2(r)) ? n : r || uk(e) || n;
7675
+ return r && (rr(r) === "html" || rr(r) === "body" && $t(r).position === "static" && !v2(r)) ? n : r || uk(e) || n;
7676
7676
  }
7677
7677
  const wk = async function(e) {
7678
7678
  let {
@@ -7723,7 +7723,7 @@ function kk(e, t) {
7723
7723
  return;
7724
7724
  const g = ti(d), b = ti(o.clientWidth - (u + f)), h = ti(o.clientHeight - (d + v)), m = ti(u), P = {
7725
7725
  rootMargin: -g + "px " + -b + "px " + -h + "px " + -m + "px",
7726
- threshold: St(0, er(1, l)) || 1
7726
+ threshold: St(0, tr(1, l)) || 1
7727
7727
  };
7728
7728
  let w = !0;
7729
7729
  function y(A) {
@@ -10593,7 +10593,7 @@ function qO(e) {
10593
10593
  r
10594
10594
  ];
10595
10595
  }
10596
- function rr(e) {
10596
+ function or(e) {
10597
10597
  const t = G(e);
10598
10598
  return T(() => {
10599
10599
  t.current = e;
@@ -10631,7 +10631,7 @@ var oH = J((e, t) => {
10631
10631
  defaultProp: a ?? null,
10632
10632
  onChange: l,
10633
10633
  caller: ws
10634
- }), [x, P] = X(!1), w = rr(u), y = pv(n), A = G(!1), [k, j] = X(0);
10634
+ }), [x, P] = X(!1), w = or(u), y = pv(n), A = G(!1), [k, j] = X(0);
10635
10635
  return T(() => {
10636
10636
  const z = v.current;
10637
10637
  if (z)
@@ -10778,7 +10778,7 @@ const dH = ({ clearBg: e, ...t }) => /* @__PURE__ */ c.jsx(ko.DropdownIndicator,
10778
10778
  t.isSelected && /* @__PURE__ */ c.jsx("span", { children: /* @__PURE__ */ c.jsx(we, { name: "check", size: 14 }) })
10779
10779
  ] }),
10780
10780
  t.data.hint && /* @__PURE__ */ c.jsx("span", { className: "block text-xs text-grey-700 dark:text-grey-300", children: t.data.hint })
10781
- ] }), xr = ({
10781
+ ] }), Pr = ({
10782
10782
  async: e,
10783
10783
  title: t,
10784
10784
  hideTitle: n,
@@ -11335,7 +11335,7 @@ const Ol = (e, t, n) => {
11335
11335
  );
11336
11336
  };
11337
11337
  function EH(e, t = globalThis == null ? void 0 : globalThis.document) {
11338
- const n = rr(e);
11338
+ const n = or(e);
11339
11339
  T(() => {
11340
11340
  const r = (o) => {
11341
11341
  o.key === "Escape" && n(o);
@@ -11408,7 +11408,7 @@ var RH = "DismissableLayerBranch", ZH = J((e, t) => {
11408
11408
  });
11409
11409
  ZH.displayName = RH;
11410
11410
  function GH(e, t = globalThis == null ? void 0 : globalThis.document) {
11411
- const n = rr(e), r = G(!1), o = G(() => {
11411
+ const n = or(e), r = G(!1), o = G(() => {
11412
11412
  });
11413
11413
  return T(() => {
11414
11414
  const s = (a) => {
@@ -11438,7 +11438,7 @@ function GH(e, t = globalThis == null ? void 0 : globalThis.document) {
11438
11438
  };
11439
11439
  }
11440
11440
  function FH(e, t = globalThis == null ? void 0 : globalThis.document) {
11441
- const n = rr(e), r = G(!1);
11441
+ const n = or(e), r = G(!1);
11442
11442
  return T(() => {
11443
11443
  const o = (s) => {
11444
11444
  s.target && !r.current && Hv(SH, n, { originalEvent: s }, {
@@ -11706,7 +11706,7 @@ var P2 = "PopperContent", [KH, JH] = Mv(P2), Ev = J(
11706
11706
  $H({ arrowWidth: j, arrowHeight: z }),
11707
11707
  v && rk({ strategy: "referenceHidden", ...B })
11708
11708
  ]
11709
- }), [he, Ce] = Sv(Y), Ie = rr(b);
11709
+ }), [he, Ce] = Sv(Y), Ie = or(b);
11710
11710
  An(() => {
11711
11711
  q && (Ie == null || Ie());
11712
11712
  }, [q, Ie]);
@@ -12885,7 +12885,7 @@ v9.displayName = k2;
12885
12885
  var p9 = "AvatarImage", h9 = J(
12886
12886
  (e, t) => {
12887
12887
  const { __scopeAvatar: n, src: r, onLoadingStatusChange: o = () => {
12888
- }, ...s } = e, i = f9(p9, n), a = VC(r, s), l = rr((u) => {
12888
+ }, ...s } = e, i = f9(p9, n), a = VC(r, s), l = or((u) => {
12889
12889
  o(u), i.onImageLoadingStatusChange(u);
12890
12890
  });
12891
12891
  return An(() => {
@@ -13063,7 +13063,7 @@ var Dl = "focusScope.autoFocusOnMount", Ml = "focusScope.autoFocusOnUnmount", lf
13063
13063
  onMountAutoFocus: o,
13064
13064
  onUnmountAutoFocus: s,
13065
13065
  ...i
13066
- } = e, [a, l] = X(null), u = rr(o), d = rr(s), f = G(null), v = dt(t, (h) => l(h)), g = G({
13066
+ } = e, [a, l] = X(null), u = or(o), d = or(s), f = G(null), v = dt(t, (h) => l(h)), g = G({
13067
13067
  paused: !1,
13068
13068
  pause() {
13069
13069
  this.paused = !0;
@@ -13387,7 +13387,7 @@ var A9 = xD(), Tl = function() {
13387
13387
  Ln,
13388
13388
  null,
13389
13389
  d && p(y, { sideCar: A9, removeScrollBar: u, shards: f, noIsolation: g, inert: b, setCallbacks: s, allowPinchZoom: !!h, lockRef: n, gapMode: P }),
13390
- i ? mo(_n.only(a), Pn(Pn({}, k), { ref: A })) : p(x, Pn({}, k, { className: l, ref: A }), a)
13390
+ i ? mo($n.only(a), Pn(Pn({}, k), { ref: A })) : p(x, Pn({}, k, { className: l, ref: A }), a)
13391
13391
  );
13392
13392
  });
13393
13393
  Fa.defaultProps = {
@@ -14119,7 +14119,7 @@ function qi(e) {
14119
14119
  y: e.clientY
14120
14120
  } : null;
14121
14121
  }
14122
- const or = /* @__PURE__ */ Object.freeze({
14122
+ const sr = /* @__PURE__ */ Object.freeze({
14123
14123
  Translate: {
14124
14124
  toString(e) {
14125
14125
  if (!e)
@@ -14145,7 +14145,7 @@ const or = /* @__PURE__ */ Object.freeze({
14145
14145
  Transform: {
14146
14146
  toString(e) {
14147
14147
  if (e)
14148
- return [or.Translate.toString(e), or.Scale.toString(e)].join(" ");
14148
+ return [sr.Translate.toString(e), sr.Scale.toString(e)].join(" ");
14149
14149
  }
14150
14150
  },
14151
14151
  Transition: {
@@ -16076,14 +16076,14 @@ const yL = /* @__PURE__ */ Bu(function(t) {
16076
16076
  if (!z.get(tt))
16077
16077
  return;
16078
16078
  const {
16079
- onDragPending: ur
16079
+ onDragPending: dr
16080
16080
  } = he.current, hn = {
16081
16081
  id: tt,
16082
16082
  constraint: en,
16083
16083
  initialCoordinates: Yt,
16084
16084
  offset: tn
16085
16085
  };
16086
- ur == null || ur(hn), P({
16086
+ dr == null || dr(hn), P({
16087
16087
  type: "onDragPending",
16088
16088
  event: hn
16089
16089
  });
@@ -16097,7 +16097,7 @@ const yL = /* @__PURE__ */ Bu(function(t) {
16097
16097
  return;
16098
16098
  const {
16099
16099
  onDragStart: tn
16100
- } = he.current, cr = {
16100
+ } = he.current, ur = {
16101
16101
  activatorEvent: yt,
16102
16102
  active: {
16103
16103
  id: en,
@@ -16106,13 +16106,13 @@ const yL = /* @__PURE__ */ Bu(function(t) {
16106
16106
  }
16107
16107
  };
16108
16108
  Qs(() => {
16109
- tn == null || tn(cr), A(Un.Initializing), x({
16109
+ tn == null || tn(ur), A(Un.Initializing), x({
16110
16110
  type: ot.DragStart,
16111
16111
  initialCoordinates: tt,
16112
16112
  active: en
16113
16113
  }), P({
16114
16114
  type: "onDragStart",
16115
- event: cr
16115
+ event: ur
16116
16116
  }), Y(Fn.current), ie(yt);
16117
16117
  });
16118
16118
  },
@@ -16131,31 +16131,31 @@ const yL = /* @__PURE__ */ Bu(function(t) {
16131
16131
  const {
16132
16132
  active: Yt,
16133
16133
  collisions: tn,
16134
- over: cr,
16135
- scrollAdjustedTranslate: ur
16134
+ over: ur,
16135
+ scrollAdjustedTranslate: dr
16136
16136
  } = be.current;
16137
16137
  let hn = null;
16138
- if (Yt && ur) {
16138
+ if (Yt && dr) {
16139
16139
  const {
16140
- cancelDrop: dr
16140
+ cancelDrop: fr
16141
16141
  } = he.current;
16142
16142
  hn = {
16143
16143
  activatorEvent: yt,
16144
16144
  active: Yt,
16145
16145
  collisions: tn,
16146
- delta: ur,
16147
- over: cr
16148
- }, tt === ot.DragEnd && typeof dr == "function" && await Promise.resolve(dr(hn)) && (tt = ot.DragCancel);
16146
+ delta: dr,
16147
+ over: ur
16148
+ }, tt === ot.DragEnd && typeof fr == "function" && await Promise.resolve(fr(hn)) && (tt = ot.DragCancel);
16149
16149
  }
16150
16150
  S.current = null, Qs(() => {
16151
16151
  x({
16152
16152
  type: tt
16153
16153
  }), A(Un.Uninitialized), Zn(null), Y(null), ie(null), Fn.current = null;
16154
- const dr = tt === ot.DragEnd ? "onDragEnd" : "onDragCancel";
16154
+ const fr = tt === ot.DragEnd ? "onDragEnd" : "onDragCancel";
16155
16155
  if (hn) {
16156
- const Go = he.current[dr];
16156
+ const Go = he.current[fr];
16157
16157
  Go == null || Go(hn), P({
16158
- type: dr,
16158
+ type: fr,
16159
16159
  event: hn
16160
16160
  });
16161
16161
  }
@@ -16534,7 +16534,7 @@ const ML = {
16534
16534
  height: a.height,
16535
16535
  top: a.top,
16536
16536
  left: a.left,
16537
- transform: or.Transform.toString(f),
16537
+ transform: sr.Transform.toString(f),
16538
16538
  transformOrigin: o && r ? AM(r, a) : void 0,
16539
16539
  transition: typeof d == "function" ? d(r) : d,
16540
16540
  ...l
@@ -16572,9 +16572,9 @@ const ML = {
16572
16572
  }
16573
16573
  } = e;
16574
16574
  return [{
16575
- transform: or.Transform.toString(t)
16575
+ transform: sr.Transform.toString(t)
16576
16576
  }, {
16577
- transform: or.Transform.toString(n)
16577
+ transform: sr.Transform.toString(n)
16578
16578
  }];
16579
16579
  }, EL = {
16580
16580
  duration: 250,
@@ -16918,7 +16918,7 @@ const VL = (e) => {
16918
16918
  }, KL = {
16919
16919
  duration: 200,
16920
16920
  easing: "ease"
16921
- }, cp = "transform", JL = /* @__PURE__ */ or.Transition.toString({
16921
+ }, cp = "transform", JL = /* @__PURE__ */ sr.Transition.toString({
16922
16922
  property: cp,
16923
16923
  duration: 0,
16924
16924
  easing: "linear"
@@ -17093,7 +17093,7 @@ function $L(e) {
17093
17093
  )
17094
17094
  return JL;
17095
17095
  if (!(le && !Va(N) || !u) && (re || be))
17096
- return or.Transition.toString({
17096
+ return sr.Transition.toString({
17097
17097
  ...u,
17098
17098
  property: cp
17099
17099
  });
@@ -17156,7 +17156,7 @@ const up = ({ isDragging: e, dragHandleAttributes: t, dragHandleListeners: n, dr
17156
17156
  transform: l,
17157
17157
  transition: u
17158
17158
  } = $L({ id: e }), d = {
17159
- transform: or.Transform.toString(l),
17159
+ transform: sr.Transform.toString(l),
17160
17160
  transition: u
17161
17161
  };
17162
17162
  return o({
@@ -17694,7 +17694,7 @@ function Lf(e, t) {
17694
17694
  if (!t.options.mutationKey)
17695
17695
  return !1;
17696
17696
  if (n) {
17697
- if (gr(t.options.mutationKey) !== gr(s))
17697
+ if (mr(t.options.mutationKey) !== mr(s))
17698
17698
  return !1;
17699
17699
  } else if (!ea(t.options.mutationKey, s))
17700
17700
  return !1;
@@ -17702,9 +17702,9 @@ function Lf(e, t) {
17702
17702
  return !(typeof r == "boolean" && t.state.status === "loading" !== r || o && !o(t));
17703
17703
  }
17704
17704
  function T2(e, t) {
17705
- return ((t == null ? void 0 : t.queryKeyHashFn) || gr)(e);
17705
+ return ((t == null ? void 0 : t.queryKeyHashFn) || mr)(e);
17706
17706
  }
17707
- function gr(e) {
17707
+ function mr(e) {
17708
17708
  return JSON.stringify(e, (t, n) => R0(n) ? Object.keys(n).sort().reduce((r, o) => (r[o] = n[o], r), {}) : n);
17709
17709
  }
17710
17710
  function ea(e, t) {
@@ -18823,7 +18823,7 @@ class Ap {
18823
18823
  this.defaultOptions = t;
18824
18824
  }
18825
18825
  setQueryDefaults(t, n) {
18826
- const r = this.queryDefaults.find((o) => gr(t) === gr(o.queryKey));
18826
+ const r = this.queryDefaults.find((o) => mr(t) === mr(o.queryKey));
18827
18827
  r ? r.defaultOptions = n : this.queryDefaults.push({
18828
18828
  queryKey: t,
18829
18829
  defaultOptions: n
@@ -18836,7 +18836,7 @@ class Ap {
18836
18836
  return n == null ? void 0 : n.defaultOptions;
18837
18837
  }
18838
18838
  setMutationDefaults(t, n) {
18839
- const r = this.mutationDefaults.find((o) => gr(t) === gr(o.mutationKey));
18839
+ const r = this.mutationDefaults.find((o) => mr(t) === mr(o.mutationKey));
18840
18840
  r ? r.defaultOptions = n : this.mutationDefaults.push({
18841
18841
  mutationKey: t,
18842
18842
  defaultOptions: n
@@ -19514,7 +19514,7 @@ const Ue = () => {
19514
19514
  return I((n, { withToast: r = !0 } = {}) => {
19515
19515
  var o, s;
19516
19516
  console.error(n), e && ga((i) => {
19517
- n instanceof _t && n.response && (i.setTag("api_url", n.response.url), i.setTag("api_response_status", n.response.status)), mr(n);
19517
+ n instanceof _t && n.response && (i.setTag("api_url", n.response.url), i.setTag("api_response_status", n.response.status)), br(n);
19518
19518
  }), r && (zP.remove(), n instanceof _t && ((o = n.response) == null ? void 0 : o.status) === 418 || (n instanceof Q0 && ((s = n.data) != null && s.errors[0]) ? qt({
19519
19519
  message: n.data.errors[0].context || n.data.errors[0].message,
19520
19520
  type: "error"
@@ -19725,7 +19725,7 @@ function uT(e, t) {
19725
19725
  const n = e.find((r) => r.key === t);
19726
19726
  return (n == null ? void 0 : n.is_read_only) || !1;
19727
19727
  }
19728
- function Pr(e, t) {
19728
+ function _n(e, t) {
19729
19729
  const n = (s) => e.some((i) => i.key === s && i.value), r = n("stripe_secret_key") && n("stripe_publishable_key"), o = n("stripe_connect_secret_key") && n("stripe_connect_publishable_key");
19730
19730
  return t.stripeDirect ? r : o || r;
19731
19731
  }
@@ -20510,10 +20510,10 @@ function nl() {
20510
20510
  import(`${x.protocol}//${x.host}${x.pathname}`).then(() => {
20511
20511
  o(!0);
20512
20512
  }).catch((y) => {
20513
- mr(y);
20513
+ br(y);
20514
20514
  });
20515
20515
  } catch (x) {
20516
- mr(x);
20516
+ br(x);
20517
20517
  }
20518
20518
  }
20519
20519
  }, [d, g == null ? void 0 : g.js]), T(() => {
@@ -20533,7 +20533,7 @@ function nl() {
20533
20533
  }, document.head.appendChild(P);
20534
20534
  }
20535
20535
  } catch (x) {
20536
- mr(x);
20536
+ br(x);
20537
20537
  }
20538
20538
  }
20539
20539
  }, [f, g == null ? void 0 : g.css]);
@@ -20876,7 +20876,7 @@ const Uo = ({ label: e, flag: t, disabled: n }) => {
20876
20876
  a(u);
20877
20877
  }
20878
20878
  } });
20879
- }, vr = ({
20879
+ }, pr = ({
20880
20880
  title: e,
20881
20881
  detail: t,
20882
20882
  action: n
@@ -21018,7 +21018,7 @@ const Jp = () => {
21018
21018
  emberUpdateType: "createOrUpdate",
21019
21019
  update: Xo("newsletters")
21020
21020
  }
21021
- }), bN = import("./index-BeD9DTp3.mjs").then((e) => e.i);
21021
+ }), bN = import("./index-DUhmXSBR.mjs").then((e) => e.i);
21022
21022
  class _p extends Error {
21023
21023
  constructor({ errorType: n, errorDetails: r, message: o }) {
21024
21024
  super(o);
@@ -21111,7 +21111,7 @@ const No = () => {
21111
21111
  });
21112
21112
  }, [e, r]), /* @__PURE__ */ c.jsxs(zo, { titleSeparator: !1, children: [
21113
21113
  g && /* @__PURE__ */ c.jsx(
21114
- vr,
21114
+ pr,
21115
21115
  {
21116
21116
  action: /* @__PURE__ */ c.jsx(Uo, { disabled: l, flag: "ActivityPub" }),
21117
21117
  detail: /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
@@ -21128,7 +21128,7 @@ const No = () => {
21128
21128
  }
21129
21129
  ),
21130
21130
  /* @__PURE__ */ c.jsx(
21131
- vr,
21131
+ pr,
21132
21132
  {
21133
21133
  action: /* @__PURE__ */ c.jsx(Uo, { flag: "superEditors" }),
21134
21134
  detail: /* @__PURE__ */ c.jsx(c.Fragment, { children: "Allows newly-assigned editors to manage members and comments in addition to regular roles." }),
@@ -21136,7 +21136,7 @@ const No = () => {
21136
21136
  }
21137
21137
  ),
21138
21138
  /* @__PURE__ */ c.jsx(
21139
- vr,
21139
+ pr,
21140
21140
  {
21141
21141
  action: /* @__PURE__ */ c.jsx(Uo, { flag: "editorExcerpt" }),
21142
21142
  detail: /* @__PURE__ */ c.jsx(c.Fragment, { children: "Adds the excerpt input below the post title in the editor" }),
@@ -21144,7 +21144,7 @@ const No = () => {
21144
21144
  }
21145
21145
  ),
21146
21146
  /* @__PURE__ */ c.jsx(
21147
- vr,
21147
+ pr,
21148
21148
  {
21149
21149
  action: /* @__PURE__ */ c.jsx(Uo, { flag: "additionalPaymentMethods" }),
21150
21150
  detail: /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
@@ -21155,7 +21155,7 @@ const No = () => {
21155
21155
  }
21156
21156
  ),
21157
21157
  /* @__PURE__ */ c.jsx(
21158
- vr,
21158
+ pr,
21159
21159
  {
21160
21160
  action: /* @__PURE__ */ c.jsxs("div", { className: "flex flex-col items-end gap-1", children: [
21161
21161
  /* @__PURE__ */ c.jsx(
@@ -21189,7 +21189,7 @@ const No = () => {
21189
21189
  }
21190
21190
  ),
21191
21191
  /* @__PURE__ */ c.jsx(
21192
- vr,
21192
+ pr,
21193
21193
  {
21194
21194
  action: /* @__PURE__ */ c.jsxs("div", { className: "flex flex-col items-end gap-1", children: [
21195
21195
  /* @__PURE__ */ c.jsx(
@@ -21259,7 +21259,7 @@ const No = () => {
21259
21259
  n(o);
21260
21260
  })();
21261
21261
  }, [e]), /* @__PURE__ */ c.jsx(zo, { titleSeparator: !1, children: t.map((r) => /* @__PURE__ */ c.jsx(
21262
- vr,
21262
+ pr,
21263
21263
  {
21264
21264
  action: /* @__PURE__ */ c.jsx(Uo, { flag: r.flag, label: r.title }),
21265
21265
  detail: r.description,
@@ -21514,7 +21514,7 @@ junk.com`,
21514
21514
  ) })
21515
21515
  }
21516
21516
  );
21517
- }, t7 = ye(SN, "Spam Filters"), sr = (e) => {
21517
+ }, t7 = ye(SN, "Spam Filters"), ir = (e) => {
21518
21518
  const { config: t } = Te();
21519
21519
  return t.labs[e] || !1;
21520
21520
  }, At = {
@@ -21532,7 +21532,7 @@ junk.com`,
21532
21532
  labs: ["advanced", "labs", "alpha", "private", "beta", "flag", "routes", "redirect", "translation", "editor", "portal"],
21533
21533
  history: ["advanced", "history", "log", "events", "user events", "staff", "audit", "action"],
21534
21534
  dangerzone: ["danger", "danger zone", "delete", "content", "delete all content", "delete site"]
21535
- }, Vf = () => sr("ui60") ? /* @__PURE__ */ c.jsxs(kn, { keywords: Object.values(jt).flat(), title: "Advanced", children: [
21535
+ }, Vf = () => ir("ui60") ? /* @__PURE__ */ c.jsxs(kn, { keywords: Object.values(jt).flat(), title: "Advanced", children: [
21536
21536
  /* @__PURE__ */ c.jsx(Wf, { keywords: jt.integrations }),
21537
21537
  /* @__PURE__ */ c.jsx(Qf, { keywords: jt.migrationtools }),
21538
21538
  /* @__PURE__ */ c.jsx(Zf, { keywords: jt.codeInjection }),
@@ -21699,7 +21699,7 @@ const FN = ({ keywords: e }) => {
21699
21699
  onSave: o,
21700
21700
  children: /* @__PURE__ */ c.jsxs(We, { columns: 1, children: [
21701
21701
  /* @__PURE__ */ c.jsx(
21702
- xr,
21702
+ Pr,
21703
21703
  {
21704
21704
  hint: "Who should receive your posts by default?",
21705
21705
  options: Kf,
@@ -21820,7 +21820,7 @@ const FN = ({ keywords: e }) => {
21820
21820
  /* @__PURE__ */ c.jsx(Vi, { href: "https://app.mailgun.com/settings/api_security", rel: "noopener noreferrer", target: "_blank", children: "here" })
21821
21821
  ] }), x = /* @__PURE__ */ c.jsx(We, { children: /* @__PURE__ */ c.jsxs("div", { className: "grid grid-cols-[120px_auto] gap-x-3 gap-y-6", children: [
21822
21822
  /* @__PURE__ */ c.jsx(
21823
- xr,
21823
+ Pr,
21824
21824
  {
21825
21825
  options: Fl,
21826
21826
  selectedOption: Fl.find((w) => w.value === d),
@@ -22083,7 +22083,7 @@ const FN = ({ keywords: e }) => {
22083
22083
  "outbound_link_tagging",
22084
22084
  "web_analytics_configured",
22085
22085
  "web_analytics_enabled"
22086
- ]), b = sr("trafficAnalytics"), h = sr("ui60"), m = uT(t, "email_track_clicks"), [x, P] = X(!1), w = No(), { updateRoute: y } = pe();
22086
+ ]), b = ir("trafficAnalytics"), h = ir("ui60"), m = uT(t, "email_track_clicks"), [x, P] = X(!1), w = No(), { updateRoute: y } = pe();
22087
22087
  T(() => {
22088
22088
  w != null && w.isLimited("limitAnalytics") && w.errorIfWouldGoOverLimit("limitAnalytics").catch((H) => {
22089
22089
  H instanceof To && P(!0);
@@ -27172,25 +27172,25 @@ function AI(e, t) {
27172
27172
  Object.defineProperty(t, "__esModule", {
27173
27173
  value: !0
27174
27174
  }), t.default = void 0;
27175
- var r = F(F2), o = F(i7), s = F(dE), i = F(fE), a = F(vE), l = F(pE), u = F(hE), d = F(c7), f = F(gE), v = F(mE), g = F(rl), b = F(bE), h = F(W2), m = F(u7), x = F(xE), P = F(PE), w = F(yE), y = F(wE), A = Rr(Ts), k = Rr(Ns), j = F(CE), z = F(DE), H = F(ME), D = F(LE), L = F(XE), N = F(TE), B = F(NE), S = F(Bo), V = F(Io), Y = F(WE), q = F(YE), ie = F(VE), he = F(UE), Ce = F(Y2), Ie = Rr(Eo), re = F(JE), fe = F(d7), le = F(qE), ue = F(_E), $ = F($E), ae = F(eB), me = F(tB), Me = F(nB), ce = Rr(Es), Se = F(fB), be = F(vB), ve = F(pB), De = F(hB), et = F(gB), vt = F(mB), vn = F(bB), O = F(l7), C = F(xB), M = F(PB), Z = F(yB), R = F(wB), Q = F(AB), ee = F(p7), de = F(jB), xe = F(kB), je = F(zB), Ct = F(OB), bt = F(HB), Et = F(CB), Dt = F(TB), Zn = Rr(Bs), On = F(IB), Gn = F(SB), Fn = F(RB), Zo = Is, il = F(YB), Fs = F(QB), al = F(VB), ll = F(So), cl = F(UB), lt = F(Ss), xt = F(_B), Pt = F($B), pn = F(v7), Mt = F(eI), yt = F(tI), Wt = F(nI), Wn = F(rI), tt = F(oI), en = Rr(Rs), Yt = F(b7), tn = F(m7), cr = F(x7), ur = F(lI), hn = F(cI), dr = F(uI), Go = F(dI), N7 = F(P7), E7 = F(fI), B7 = F(vI), I7 = F(pI), S7 = F(hI), R7 = F(gI), Z7 = F(Zs);
27175
+ var r = F(F2), o = F(i7), s = F(dE), i = F(fE), a = F(vE), l = F(pE), u = F(hE), d = F(c7), f = F(gE), v = F(mE), g = F(rl), b = F(bE), h = F(W2), m = F(u7), x = F(xE), P = F(PE), w = F(yE), y = F(wE), A = Rr(Ts), k = Rr(Ns), j = F(CE), z = F(DE), H = F(ME), D = F(LE), L = F(XE), N = F(TE), B = F(NE), S = F(Bo), V = F(Io), Y = F(WE), q = F(YE), ie = F(VE), he = F(UE), Ce = F(Y2), Ie = Rr(Eo), re = F(JE), fe = F(d7), le = F(qE), ue = F(_E), $ = F($E), ae = F(eB), me = F(tB), Me = F(nB), ce = Rr(Es), Se = F(fB), be = F(vB), ve = F(pB), De = F(hB), et = F(gB), vt = F(mB), vn = F(bB), O = F(l7), C = F(xB), M = F(PB), Z = F(yB), R = F(wB), Q = F(AB), ee = F(p7), de = F(jB), xe = F(kB), je = F(zB), Ct = F(OB), bt = F(HB), Et = F(CB), Dt = F(TB), Zn = Rr(Bs), On = F(IB), Gn = F(SB), Fn = F(RB), Zo = Is, il = F(YB), Fs = F(QB), al = F(VB), ll = F(So), cl = F(UB), lt = F(Ss), xt = F(_B), Pt = F($B), pn = F(v7), Mt = F(eI), yt = F(tI), Wt = F(nI), Wn = F(rI), tt = F(oI), en = Rr(Rs), Yt = F(b7), tn = F(m7), ur = F(x7), dr = F(lI), hn = F(cI), fr = F(uI), Go = F(dI), N7 = F(P7), E7 = F(fI), B7 = F(vI), I7 = F(pI), S7 = F(hI), R7 = F(gI), Z7 = F(Zs);
27176
27176
  function K2(Re) {
27177
27177
  if (typeof WeakMap != "function") return null;
27178
- var gn = /* @__PURE__ */ new WeakMap(), fr = /* @__PURE__ */ new WeakMap();
27178
+ var gn = /* @__PURE__ */ new WeakMap(), vr = /* @__PURE__ */ new WeakMap();
27179
27179
  return (K2 = function(ul) {
27180
- return ul ? fr : gn;
27180
+ return ul ? vr : gn;
27181
27181
  })(Re);
27182
27182
  }
27183
27183
  function Rr(Re, gn) {
27184
27184
  if (Re && Re.__esModule) return Re;
27185
27185
  if (Re === null || n(Re) != "object" && typeof Re != "function") return { default: Re };
27186
- var fr = K2(gn);
27187
- if (fr && fr.has(Re)) return fr.get(Re);
27186
+ var vr = K2(gn);
27187
+ if (vr && vr.has(Re)) return vr.get(Re);
27188
27188
  var Zr = { __proto__: null }, ul = Object.defineProperty && Object.getOwnPropertyDescriptor;
27189
27189
  for (var Gr in Re) if (Gr !== "default" && {}.hasOwnProperty.call(Re, Gr)) {
27190
27190
  var Ws = ul ? Object.getOwnPropertyDescriptor(Re, Gr) : null;
27191
27191
  Ws && (Ws.get || Ws.set) ? Object.defineProperty(Zr, Gr, Ws) : Zr[Gr] = Re[Gr];
27192
27192
  }
27193
- return Zr.default = Re, fr && fr.set(Re, Zr), Zr;
27193
+ return Zr.default = Re, vr && vr.set(Re, Zr), Zr;
27194
27194
  }
27195
27195
  function F(Re) {
27196
27196
  return Re && Re.__esModule ? Re : { default: Re };
@@ -27287,10 +27287,10 @@ function AI(e, t) {
27287
27287
  isLatLong: tt.default,
27288
27288
  ltrim: Yt.default,
27289
27289
  rtrim: tn.default,
27290
- trim: cr.default,
27291
- escape: ur.default,
27290
+ trim: ur.default,
27291
+ escape: dr.default,
27292
27292
  unescape: hn.default,
27293
- stripLow: dr.default,
27293
+ stripLow: fr.default,
27294
27294
  whitelist: Go.default,
27295
27295
  blacklist: N7.default,
27296
27296
  isWhitelisted: E7.default,
@@ -27738,7 +27738,7 @@ const h1 = (e) => `https://x.com/${e.replace("@", "")}`, zI = (e) => {
27738
27738
  onEditingChange: a,
27739
27739
  onSave: o,
27740
27740
  children: /* @__PURE__ */ c.jsx(We, { columns: 1, children: /* @__PURE__ */ c.jsx(
27741
- xr,
27741
+ Pr,
27742
27742
  {
27743
27743
  hint: /* @__PURE__ */ c.jsx(CI, { timezone: l }),
27744
27744
  options: u,
@@ -28183,7 +28183,7 @@ const h1 = (e) => `https://x.com/${e.replace("@", "")}`, zI = (e) => {
28183
28183
  socialAccounts: ["general", "social accounts", "facebook", "twitter", "structured data", "rich cards"],
28184
28184
  lockSite: ["general", "password protection", "lock site", "make this site private"],
28185
28185
  analytics: ["membership", "analytics", "tracking", "privacy", "membership"]
28186
- }, x1 = () => sr("ui60") ? /* @__PURE__ */ c.jsxs(kn, { keywords: Object.values(Je).flat(), title: "General settings", children: [
28186
+ }, x1 = () => ir("ui60") ? /* @__PURE__ */ c.jsxs(kn, { keywords: Object.values(Je).flat(), title: "General settings", children: [
28187
28187
  /* @__PURE__ */ c.jsx(b1, { keywords: Je.titleAndDescription }),
28188
28188
  /* @__PURE__ */ c.jsx(m1, { keywords: Je.timeZone }),
28189
28189
  /* @__PURE__ */ c.jsx(n1, { keywords: Je.publicationLanguage }),
@@ -28840,7 +28840,7 @@ const sl = "OffersResponseType", k7 = Ot({
28840
28840
  return o.length > 0 ? (g = "Manage offers", b = u) : i.length === 0 && o.length === 0 ? (g = "", b = f, h = "") : i.length > 0 && o.length === 0 && (g = "Add offer", b = d), /* @__PURE__ */ c.jsxs(
28841
28841
  ge,
28842
28842
  {
28843
- customButtons: /* @__PURE__ */ c.jsx(ne, { className: "mt-[-5px]", color: "clear", disabled: !Pr(n, r), label: g, size: "sm", onClick: b }),
28843
+ customButtons: /* @__PURE__ */ c.jsx(ne, { className: "mt-[-5px]", color: "clear", disabled: !_n(n, r), label: g, size: "sm", onClick: b }),
28844
28844
  description: /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
28845
28845
  "Create discounts & coupons to boost new subscriptions. ",
28846
28846
  o.length === 0 && /* @__PURE__ */ c.jsx(c.Fragment, { children: /* @__PURE__ */ c.jsx("a", { className: "text-green", href: "https://ghost.org/help/offers", rel: "noopener noreferrer", target: "_blank", children: h }) })
@@ -29345,7 +29345,7 @@ const sl = "OffersResponseType", k7 = Ot({
29345
29345
  inputRef: a,
29346
29346
  placeholder: "5",
29347
29347
  rightPlaceholder: /* @__PURE__ */ c.jsx(
29348
- xr,
29348
+ Pr,
29349
29349
  {
29350
29350
  border: !1,
29351
29351
  clearBg: !0,
@@ -29398,8 +29398,8 @@ const sl = "OffersResponseType", k7 = Ot({
29398
29398
  embedSignupForm: ["growth", "embeddable signup form", "embeddable form", "embeddable sign up form", "embeddable sign up"],
29399
29399
  offers: ["growth", "offers", "discounts", "coupons", "promotions"]
29400
29400
  }, O1 = () => {
29401
- const { config: e, settings: t } = Te(), [n] = Pe(t, ["donations_enabled"]), r = Pr(t || [], e || {});
29402
- return sr("ui60") ? /* @__PURE__ */ c.jsxs(kn, { keywords: Object.values(It).flat(), title: "Growth", children: [
29401
+ const { config: e, settings: t } = Te(), [n] = Pe(t, ["donations_enabled"]), r = _n(t || [], e || {});
29402
+ return ir("ui60") ? /* @__PURE__ */ c.jsxs(kn, { keywords: Object.values(It).flat(), title: "Growth", children: [
29403
29403
  /* @__PURE__ */ c.jsx(FI, { keywords: It.network }),
29404
29404
  /* @__PURE__ */ c.jsx(RI, { keywords: It.explore }),
29405
29405
  /* @__PURE__ */ c.jsx(z1, { keywords: It.recommendations }),
@@ -29499,7 +29499,7 @@ const sl = "OffersResponseType", k7 = Ot({
29499
29499
  /* @__PURE__ */ c.jsxs("div", { className: "flex flex-col content-center items-center gap-4 md:flex-row", children: [
29500
29500
  /* @__PURE__ */ c.jsx("div", { className: "w-full min-w-[160px] max-w-none md:w-2/3 md:max-w-[320px]", children: "Who should be able to subscribe to your site?" }),
29501
29501
  /* @__PURE__ */ c.jsx("div", { className: "w-full md:flex-1", children: /* @__PURE__ */ c.jsx(
29502
- xr,
29502
+ Pr,
29503
29503
  {
29504
29504
  options: H1,
29505
29505
  selectedOption: H1.find((P) => P.value === l),
@@ -29514,7 +29514,7 @@ const sl = "OffersResponseType", k7 = Ot({
29514
29514
  /* @__PURE__ */ c.jsxs("div", { className: "flex flex-col content-center items-center gap-4 md:flex-row", children: [
29515
29515
  /* @__PURE__ */ c.jsx("div", { className: "w-full min-w-[160px] max-w-none md:w-2/3 md:max-w-[320px]", children: "Who should have access to new posts?" }),
29516
29516
  /* @__PURE__ */ c.jsx("div", { className: "w-full md:flex-1", children: /* @__PURE__ */ c.jsx(
29517
- xr,
29517
+ Pr,
29518
29518
  {
29519
29519
  options: C1,
29520
29520
  selectedOption: C1.find((P) => P.value === u),
@@ -29544,7 +29544,7 @@ const sl = "OffersResponseType", k7 = Ot({
29544
29544
  /* @__PURE__ */ c.jsxs("div", { className: "flex flex-col content-center items-center gap-4 md:flex-row", children: [
29545
29545
  /* @__PURE__ */ c.jsx("div", { className: "w-full min-w-[160px] max-w-none md:w-2/3 md:max-w-[320px]", children: "Who can comment on posts?" }),
29546
29546
  /* @__PURE__ */ c.jsx("div", { className: "w-full md:flex-1", children: /* @__PURE__ */ c.jsx(
29547
- xr,
29547
+ Pr,
29548
29548
  {
29549
29549
  options: D1,
29550
29550
  selectedOption: D1.find((P) => P.value === f),
@@ -29717,7 +29717,7 @@ const sl = "OffersResponseType", k7 = Ot({
29717
29717
  /* @__PURE__ */ c.jsx("span", { className: "ml-2", children: "Connected to Stripe" })
29718
29718
  ] })), wS = ({ keywords: e }) => {
29719
29719
  const [t, n] = X("active-tiers"), { settings: r, config: o } = Te(), { data: { tiers: s, meta: i, isEnd: a } = {}, fetchNextPage: l } = ol(), u = WI(s || []), d = YI(s || []), { updateRoute: f } = pe(), v = No(), g = async () => {
29720
- if (v != null && v.isLimited("limitStripeConnect"))
29720
+ if (v != null && v.isDisabled("limitStripeConnect") && !_n(r, o))
29721
29721
  try {
29722
29722
  await v.errorIfWouldGoOverLimit("limitStripeConnect");
29723
29723
  } catch (x) {
@@ -29743,17 +29743,17 @@ const sl = "OffersResponseType", k7 = Ot({
29743
29743
  }
29744
29744
  ];
29745
29745
  let m;
29746
- return Pr(r, o) ? m = /* @__PURE__ */ c.jsx(zn, { selectedTab: t, tabs: h, onTabChange: n }) : m = /* @__PURE__ */ c.jsx(t0, { tab: "free-tier", tiers: u.filter((x) => x.type === "free") }), /* @__PURE__ */ c.jsxs(
29746
+ return _n(r, o) ? m = /* @__PURE__ */ c.jsx(zn, { selectedTab: t, tabs: h, onTabChange: n }) : m = /* @__PURE__ */ c.jsx(t0, { tab: "free-tier", tiers: u.filter((x) => x.type === "free") }), /* @__PURE__ */ c.jsxs(
29747
29747
  ge,
29748
29748
  {
29749
- customButtons: Pr(r, o) ? /* @__PURE__ */ c.jsx(X1, { className: "hidden tablet:!visible tablet:!block", onClick: g }) : /* @__PURE__ */ c.jsx(Df, { className: "hidden tablet:!visible tablet:!block", onClick: g }),
29749
+ customButtons: _n(r, o) ? /* @__PURE__ */ c.jsx(X1, { className: "hidden tablet:!visible tablet:!block", onClick: g }) : /* @__PURE__ */ c.jsx(Df, { className: "hidden tablet:!visible tablet:!block", onClick: g }),
29750
29750
  description: "Set prices and paid member sign up settings",
29751
29751
  keywords: e,
29752
29752
  navid: "tiers",
29753
29753
  testId: "tiers",
29754
29754
  title: "Tiers",
29755
29755
  children: [
29756
- /* @__PURE__ */ c.jsx("div", { className: "w-full tablet:hidden", children: Pr(r, o) ? /* @__PURE__ */ c.jsx(X1, { className: "w-full", onClick: g }) : /* @__PURE__ */ c.jsx(Df, { onClick: g }) }),
29756
+ /* @__PURE__ */ c.jsx("div", { className: "w-full tablet:hidden", children: _n(r, o) ? /* @__PURE__ */ c.jsx(X1, { className: "w-full", onClick: g }) : /* @__PURE__ */ c.jsx(Df, { onClick: g }) }),
29757
29757
  m,
29758
29758
  a === !1 && /* @__PURE__ */ c.jsx(
29759
29759
  ne,
@@ -29777,8 +29777,8 @@ const sl = "OffersResponseType", k7 = Ot({
29777
29777
  portal: ["membership", "portal", "signup", "sign up", "signin", "sign in", "login", "account", "membership", "support", "email", "address", "support email address", "support address"],
29778
29778
  tips: ["growth", "tips", "donations", "one time", "payment"]
29779
29779
  }, N1 = () => {
29780
- const { config: e, settings: t } = Te(), [n] = Pe(t, ["donations_enabled"]), r = Pr(t || [], e || {});
29781
- return sr("ui60") ? /* @__PURE__ */ c.jsxs(kn, { keywords: Object.values(Kt).flat(), title: "Membership", children: [
29780
+ const { config: e, settings: t } = Te(), [n] = Pe(t, ["donations_enabled"]), r = _n(t || [], e || {});
29781
+ return ir("ui60") ? /* @__PURE__ */ c.jsxs(kn, { keywords: Object.values(Kt).flat(), title: "Membership", children: [
29782
29782
  /* @__PURE__ */ c.jsx(M1, { keywords: Kt.access }),
29783
29783
  /* @__PURE__ */ c.jsx(t7, { keywords: Kt.access }),
29784
29784
  /* @__PURE__ */ c.jsx(T1, { keywords: Kt.tiers }),
@@ -30002,7 +30002,7 @@ const HS = () => {
30002
30002
  /* @__PURE__ */ c.jsx(NS, { keywords: Ut.navigation }),
30003
30003
  /* @__PURE__ */ c.jsx(jS, { keywords: Ut.announcementBar })
30004
30004
  ] }) }), ES = () => {
30005
- const e = sr("ui60");
30005
+ const e = ir("ui60");
30006
30006
  return /* @__PURE__ */ c.jsx(c.Fragment, { children: /* @__PURE__ */ c.jsx("div", { className: "mb-[60vh] px-8 pt-16 tablet:max-w-[760px] tablet:px-14 tablet:pt-0", children: e ? /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
30007
30007
  /* @__PURE__ */ c.jsx(x1, {}),
30008
30008
  /* @__PURE__ */ c.jsx(E1, {}),
@@ -30032,7 +30032,7 @@ const HS = () => {
30032
30032
  }
30033
30033
  );
30034
30034
  }, IS = () => {
30035
- const { filter: e, setFilter: t, checkVisible: n, noResult: r, setNoResult: o } = tl(), { updateRoute: s } = pe(), i = G(null), { isAnyTextFieldFocused: a } = hs(), l = sr("ui60");
30035
+ const { filter: e, setFilter: t, checkVisible: n, noResult: r, setNoResult: o } = tl(), { updateRoute: s } = pe(), i = G(null), { isAnyTextFieldFocused: a } = hs(), l = ir("ui60");
30036
30036
  T(() => {
30037
30037
  const x = (P) => {
30038
30038
  P.target instanceof HTMLElement && (P.target.nodeName === "INPUT" || P.target.nodeName === "TEXTAREA" || P.target.isContentEditable) || P.key === "/" && !a && (P == null || P.preventDefault(), i.current && i.current.focus());
@@ -30055,7 +30055,7 @@ const HS = () => {
30055
30055
  (w = i.current) == null || w.removeEventListener("keydown", x);
30056
30056
  };
30057
30057
  }, [e]);
30058
- const { settings: u, config: d } = Te(), [f] = Pe(u, ["donations_enabled"]), [v] = Pe(u, ["editor_default_email_recipients"]), g = Pr(u || [], d || {}), b = (x) => {
30058
+ const { settings: u, config: d } = Te(), [f] = Pe(u, ["donations_enabled"]), [v] = Pe(u, ["editor_default_email_recipients"]), g = _n(u || [], d || {}), b = (x) => {
30059
30059
  x && (t(""), o(!1), s(x.currentTarget.id));
30060
30060
  }, h = (x) => {
30061
30061
  var P;
@@ -30235,7 +30235,7 @@ const HS = () => {
30235
30235
  "offers/edit/:id": "OffersContainerModal",
30236
30236
  "offers/new": "OffersContainerModal",
30237
30237
  about: "AboutModal"
30238
- }, ZS = () => import("./modals-DLPpqlUq.mjs"), GS = () => {
30238
+ }, ZS = () => import("./modals-B5dtfzsB.mjs"), GS = () => {
30239
30239
  const { updateNavigatedSection: e, scrollToSection: t } = $a(), { route: n } = pe();
30240
30240
  return XT((r, o) => {
30241
30241
  r === o && t(r.split("/")[0]);
@@ -30261,7 +30261,7 @@ export {
30261
30261
  it as H,
30262
30262
  uH as I,
30263
30263
  da as J,
30264
- xr as K,
30264
+ Pr as K,
30265
30265
  as as L,
30266
30266
  Nr as M,
30267
30267
  ls as N,
@@ -30364,7 +30364,7 @@ export {
30364
30364
  _T as bG,
30365
30365
  vR as bH,
30366
30366
  AT as bI,
30367
- Pr as bJ,
30367
+ _n as bJ,
30368
30368
  AR as bK,
30369
30369
  sR as bL,
30370
30370
  $T as bM,
@@ -30380,7 +30380,7 @@ export {
30380
30380
  DR as bW,
30381
30381
  eN as bX,
30382
30382
  sX as bY,
30383
- sr as bZ,
30383
+ ir as bZ,
30384
30384
  We as b_,
30385
30385
  fv as ba,
30386
30386
  AC as bb,
@@ -30456,7 +30456,7 @@ export {
30456
30456
  bx as v,
30457
30457
  HP as w,
30458
30458
  S1 as x,
30459
- mr as y,
30459
+ br as y,
30460
30460
  hs as z
30461
30461
  };
30462
- //# sourceMappingURL=index-DIak5kz8.mjs.map
30462
+ //# sourceMappingURL=index-BVxh86CD.mjs.map