ghost 5.76.2 → 5.78.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 (168) hide show
  1. package/components/tryghost-adapter-cache-memory-ttl-5.78.0.tgz +0 -0
  2. package/components/tryghost-adapter-cache-redis-5.78.0.tgz +0 -0
  3. package/components/{tryghost-adapter-manager-5.76.2.tgz → tryghost-adapter-manager-5.78.0.tgz} +0 -0
  4. package/components/tryghost-announcement-bar-settings-5.78.0.tgz +0 -0
  5. package/components/tryghost-api-framework-5.78.0.tgz +0 -0
  6. package/components/tryghost-api-version-compatibility-service-5.78.0.tgz +0 -0
  7. package/components/tryghost-audience-feedback-5.78.0.tgz +0 -0
  8. package/components/{tryghost-bookshelf-repository-5.76.2.tgz → tryghost-bookshelf-repository-5.78.0.tgz} +0 -0
  9. package/components/{tryghost-bootstrap-socket-5.76.2.tgz → tryghost-bootstrap-socket-5.78.0.tgz} +0 -0
  10. package/components/tryghost-collections-5.78.0.tgz +0 -0
  11. package/components/tryghost-constants-5.78.0.tgz +0 -0
  12. package/components/tryghost-custom-theme-settings-service-5.78.0.tgz +0 -0
  13. package/components/{tryghost-data-generator-5.76.2.tgz → tryghost-data-generator-5.78.0.tgz} +0 -0
  14. package/components/tryghost-domain-events-5.78.0.tgz +0 -0
  15. package/components/tryghost-donations-5.78.0.tgz +0 -0
  16. package/components/tryghost-dynamic-routing-events-5.78.0.tgz +0 -0
  17. package/components/tryghost-email-addresses-5.78.0.tgz +0 -0
  18. package/components/tryghost-email-analytics-provider-mailgun-5.78.0.tgz +0 -0
  19. package/components/tryghost-email-analytics-service-5.78.0.tgz +0 -0
  20. package/components/tryghost-email-content-generator-5.78.0.tgz +0 -0
  21. package/components/{tryghost-email-events-5.76.2.tgz → tryghost-email-events-5.78.0.tgz} +0 -0
  22. package/components/tryghost-email-service-5.78.0.tgz +0 -0
  23. package/components/tryghost-email-suppression-list-5.78.0.tgz +0 -0
  24. package/components/tryghost-express-dynamic-redirects-5.78.0.tgz +0 -0
  25. package/components/tryghost-external-media-inliner-5.78.0.tgz +0 -0
  26. package/components/tryghost-extract-api-key-5.78.0.tgz +0 -0
  27. package/components/tryghost-html-to-plaintext-5.78.0.tgz +0 -0
  28. package/components/tryghost-i18n-5.78.0.tgz +0 -0
  29. package/components/tryghost-importer-handler-content-files-5.78.0.tgz +0 -0
  30. package/components/tryghost-importer-revue-5.78.0.tgz +0 -0
  31. package/components/tryghost-in-memory-repository-5.78.0.tgz +0 -0
  32. package/components/{tryghost-job-manager-5.76.2.tgz → tryghost-job-manager-5.78.0.tgz} +0 -0
  33. package/components/tryghost-link-redirects-5.78.0.tgz +0 -0
  34. package/components/tryghost-link-replacer-5.78.0.tgz +0 -0
  35. package/components/tryghost-link-tracking-5.78.0.tgz +0 -0
  36. package/components/{tryghost-magic-link-5.76.2.tgz → tryghost-magic-link-5.78.0.tgz} +0 -0
  37. package/components/tryghost-mail-events-5.78.0.tgz +0 -0
  38. package/components/{tryghost-mailgun-client-5.76.2.tgz → tryghost-mailgun-client-5.78.0.tgz} +0 -0
  39. package/components/{tryghost-member-attribution-5.76.2.tgz → tryghost-member-attribution-5.78.0.tgz} +0 -0
  40. package/components/{tryghost-member-events-5.76.2.tgz → tryghost-member-events-5.78.0.tgz} +0 -0
  41. package/components/tryghost-members-api-5.78.0.tgz +0 -0
  42. package/components/tryghost-members-csv-5.78.0.tgz +0 -0
  43. package/components/{tryghost-members-events-service-5.76.2.tgz → tryghost-members-events-service-5.78.0.tgz} +0 -0
  44. package/components/tryghost-members-importer-5.78.0.tgz +0 -0
  45. package/components/{tryghost-members-offers-5.76.2.tgz → tryghost-members-offers-5.78.0.tgz} +0 -0
  46. package/components/tryghost-members-payments-5.78.0.tgz +0 -0
  47. package/components/{tryghost-members-ssr-5.76.2.tgz → tryghost-members-ssr-5.78.0.tgz} +0 -0
  48. package/components/{tryghost-members-stripe-service-5.76.2.tgz → tryghost-members-stripe-service-5.78.0.tgz} +0 -0
  49. package/components/tryghost-mentions-email-report-5.78.0.tgz +0 -0
  50. package/components/tryghost-milestones-5.78.0.tgz +0 -0
  51. package/components/tryghost-minifier-5.78.0.tgz +0 -0
  52. package/components/tryghost-model-to-domain-event-interceptor-5.78.0.tgz +0 -0
  53. package/components/tryghost-mw-api-version-mismatch-5.78.0.tgz +0 -0
  54. package/components/tryghost-mw-cache-control-5.78.0.tgz +0 -0
  55. package/components/{tryghost-mw-error-handler-5.76.2.tgz → tryghost-mw-error-handler-5.78.0.tgz} +0 -0
  56. package/components/tryghost-mw-session-from-token-5.78.0.tgz +0 -0
  57. package/components/tryghost-mw-update-user-last-seen-5.78.0.tgz +0 -0
  58. package/components/tryghost-mw-version-match-5.78.0.tgz +0 -0
  59. package/components/tryghost-mw-vhost-5.78.0.tgz +0 -0
  60. package/components/{tryghost-nql-filter-expansions-5.76.2.tgz → tryghost-nql-filter-expansions-5.78.0.tgz} +0 -0
  61. package/components/tryghost-oembed-service-5.78.0.tgz +0 -0
  62. package/components/{tryghost-package-json-5.76.2.tgz → tryghost-package-json-5.78.0.tgz} +0 -0
  63. package/components/tryghost-post-events-5.78.0.tgz +0 -0
  64. package/components/tryghost-post-revisions-5.78.0.tgz +0 -0
  65. package/components/tryghost-posts-service-5.78.0.tgz +0 -0
  66. package/components/{tryghost-recommendations-5.76.2.tgz → tryghost-recommendations-5.78.0.tgz} +0 -0
  67. package/components/{tryghost-referrers-5.76.2.tgz → tryghost-referrers-5.78.0.tgz} +0 -0
  68. package/components/{tryghost-security-5.76.2.tgz → tryghost-security-5.78.0.tgz} +0 -0
  69. package/components/{tryghost-session-service-5.76.2.tgz → tryghost-session-service-5.78.0.tgz} +0 -0
  70. package/components/tryghost-settings-path-manager-5.78.0.tgz +0 -0
  71. package/components/tryghost-slack-notifications-5.78.0.tgz +0 -0
  72. package/components/{tryghost-staff-service-5.76.2.tgz → tryghost-staff-service-5.78.0.tgz} +0 -0
  73. package/components/tryghost-stats-service-5.78.0.tgz +0 -0
  74. package/components/tryghost-tiers-5.78.0.tgz +0 -0
  75. package/components/tryghost-update-check-service-5.78.0.tgz +0 -0
  76. package/components/{tryghost-verification-trigger-5.76.2.tgz → tryghost-verification-trigger-5.78.0.tgz} +0 -0
  77. package/components/tryghost-version-notifications-data-service-5.78.0.tgz +0 -0
  78. package/components/{tryghost-webmentions-5.76.2.tgz → tryghost-webmentions-5.78.0.tgz} +0 -0
  79. package/core/boot.js +3 -1
  80. package/core/built/admin/assets/admin-x-demo/admin-x-demo.js +1 -1
  81. package/core/built/admin/assets/admin-x-demo/{index-3d0e9e6b.mjs → index-eee22c84.mjs} +348 -346
  82. package/core/built/admin/assets/admin-x-demo/{modals-f20fa267.mjs → modals-e4b12fba.mjs} +38 -38
  83. package/core/built/admin/assets/admin-x-settings/{CodeEditorView-84bd3824.mjs → CodeEditorView-c3b34635.mjs} +2 -2
  84. package/core/built/admin/assets/admin-x-settings/admin-x-settings.js +2 -2
  85. package/core/built/admin/assets/admin-x-settings/{index-6cc60dce.mjs → index-28680861.mjs} +2 -2
  86. package/core/built/admin/assets/admin-x-settings/{index-c54bcc5d.mjs → index-8808e054.mjs} +2 -2
  87. package/core/built/admin/assets/admin-x-settings/{index-d65cac5f.mjs → index-99bd65a2.mjs} +2579 -2583
  88. package/core/built/admin/assets/admin-x-settings/{modals-2805e75e.mjs → modals-f491bd44.mjs} +4809 -4814
  89. package/core/built/admin/assets/{chunk.143.d41a3a112d0cf7035db0.js → chunk.143.6e73a50be0209a7256b6.js} +5 -5
  90. package/core/built/admin/assets/{chunk.178.28c881b3559706a13f57.js → chunk.178.75b9357c8d68006957a4.js} +4 -4
  91. package/core/built/admin/assets/{chunk.664.0bd9e83a6b03130112ae.js → chunk.664.99d0951b803d7ec00d8b.js} +2 -2
  92. package/core/built/admin/assets/{ghost-971615b195b524bf97f678a350865195.js → ghost-e4af0146175c424ff8b5bfbee8f04258.js} +74 -91
  93. package/core/built/admin/index.html +4 -4
  94. package/core/frontend/helpers/get.js +38 -22
  95. package/core/frontend/services/routing/controllers/previews.js +3 -2
  96. package/core/server/api/endpoints/newsletters.js +1 -2
  97. package/core/server/api/endpoints/stats.js +40 -5
  98. package/core/server/api/endpoints/utils/serializers/output/mappers/newsletters.js +12 -0
  99. package/core/server/data/db/ConnectionPoolInstrumentation.js +142 -0
  100. package/core/server/data/db/connection.js +6 -0
  101. package/core/server/data/db/index.js +9 -0
  102. package/core/server/services/explore/ExploreService.js +1 -1
  103. package/core/server/services/newsletters/NewslettersService.js +22 -3
  104. package/core/server/services/posts-public/service.js +4 -20
  105. package/core/server/services/segment/index.js +0 -14
  106. package/core/server/services/stats/service.js +26 -3
  107. package/core/server/services/tags-public/service.js +4 -19
  108. package/core/shared/labs.js +3 -3
  109. package/core/shared/sentry.js +28 -1
  110. package/package.json +150 -152
  111. package/yarn.lock +569 -1504
  112. package/components/tryghost-adapter-cache-memory-ttl-5.76.2.tgz +0 -0
  113. package/components/tryghost-adapter-cache-redis-5.76.2.tgz +0 -0
  114. package/components/tryghost-announcement-bar-settings-5.76.2.tgz +0 -0
  115. package/components/tryghost-api-framework-5.76.2.tgz +0 -0
  116. package/components/tryghost-api-version-compatibility-service-5.76.2.tgz +0 -0
  117. package/components/tryghost-audience-feedback-5.76.2.tgz +0 -0
  118. package/components/tryghost-collections-5.76.2.tgz +0 -0
  119. package/components/tryghost-constants-5.76.2.tgz +0 -0
  120. package/components/tryghost-custom-theme-settings-service-5.76.2.tgz +0 -0
  121. package/components/tryghost-domain-events-5.76.2.tgz +0 -0
  122. package/components/tryghost-donations-5.76.2.tgz +0 -0
  123. package/components/tryghost-dynamic-routing-events-5.76.2.tgz +0 -0
  124. package/components/tryghost-email-addresses-5.76.2.tgz +0 -0
  125. package/components/tryghost-email-analytics-provider-mailgun-5.76.2.tgz +0 -0
  126. package/components/tryghost-email-analytics-service-5.76.2.tgz +0 -0
  127. package/components/tryghost-email-content-generator-5.76.2.tgz +0 -0
  128. package/components/tryghost-email-service-5.76.2.tgz +0 -0
  129. package/components/tryghost-email-suppression-list-5.76.2.tgz +0 -0
  130. package/components/tryghost-event-aware-cache-wrapper-5.76.2.tgz +0 -0
  131. package/components/tryghost-express-dynamic-redirects-5.76.2.tgz +0 -0
  132. package/components/tryghost-external-media-inliner-5.76.2.tgz +0 -0
  133. package/components/tryghost-extract-api-key-5.76.2.tgz +0 -0
  134. package/components/tryghost-html-to-plaintext-5.76.2.tgz +0 -0
  135. package/components/tryghost-i18n-5.76.2.tgz +0 -0
  136. package/components/tryghost-importer-handler-content-files-5.76.2.tgz +0 -0
  137. package/components/tryghost-importer-revue-5.76.2.tgz +0 -0
  138. package/components/tryghost-in-memory-repository-5.76.2.tgz +0 -0
  139. package/components/tryghost-link-redirects-5.76.2.tgz +0 -0
  140. package/components/tryghost-link-replacer-5.76.2.tgz +0 -0
  141. package/components/tryghost-link-tracking-5.76.2.tgz +0 -0
  142. package/components/tryghost-mail-events-5.76.2.tgz +0 -0
  143. package/components/tryghost-members-api-5.76.2.tgz +0 -0
  144. package/components/tryghost-members-csv-5.76.2.tgz +0 -0
  145. package/components/tryghost-members-importer-5.76.2.tgz +0 -0
  146. package/components/tryghost-members-payments-5.76.2.tgz +0 -0
  147. package/components/tryghost-mentions-email-report-5.76.2.tgz +0 -0
  148. package/components/tryghost-milestones-5.76.2.tgz +0 -0
  149. package/components/tryghost-minifier-5.76.2.tgz +0 -0
  150. package/components/tryghost-model-to-domain-event-interceptor-5.76.2.tgz +0 -0
  151. package/components/tryghost-mw-api-version-mismatch-5.76.2.tgz +0 -0
  152. package/components/tryghost-mw-cache-control-5.76.2.tgz +0 -0
  153. package/components/tryghost-mw-session-from-token-5.76.2.tgz +0 -0
  154. package/components/tryghost-mw-update-user-last-seen-5.76.2.tgz +0 -0
  155. package/components/tryghost-mw-version-match-5.76.2.tgz +0 -0
  156. package/components/tryghost-mw-vhost-5.76.2.tgz +0 -0
  157. package/components/tryghost-oembed-service-5.76.2.tgz +0 -0
  158. package/components/tryghost-post-events-5.76.2.tgz +0 -0
  159. package/components/tryghost-post-revisions-5.76.2.tgz +0 -0
  160. package/components/tryghost-posts-service-5.76.2.tgz +0 -0
  161. package/components/tryghost-settings-path-manager-5.76.2.tgz +0 -0
  162. package/components/tryghost-slack-notifications-5.76.2.tgz +0 -0
  163. package/components/tryghost-stats-service-5.76.2.tgz +0 -0
  164. package/components/tryghost-tiers-5.76.2.tgz +0 -0
  165. package/components/tryghost-update-check-service-5.76.2.tgz +0 -0
  166. package/components/tryghost-version-notifications-data-service-5.76.2.tgz +0 -0
  167. package/core/server/services/segment/ModelEventsAnalytics.js +0 -108
  168. /package/core/built/admin/assets/{chunk.664.0bd9e83a6b03130112ae.js.LICENSE.txt → chunk.664.99d0951b803d7ec00d8b.js.LICENSE.txt} +0 -0
@@ -1,7 +1,7 @@
1
- import { c as e, j as s, u as O, a as te, b as U, d as $, B as K, e as ae, H as T, N as D, f as le } from "./index-3d0e9e6b.mjs";
2
- const ne = ({
1
+ import { c as e, j as s, u as O, a as te, b as U, d as $, B as K, e as ae, H as T, N as D, f as le } from "./index-eee22c84.mjs";
2
+ const oe = ({
3
3
  shiftY: l,
4
- footerBgColorClass: o = "bg-white dark:bg-black",
4
+ footerBgColorClass: n = "bg-white dark:bg-black",
5
5
  contentBgColorClass: i = "bg-white dark:bg-black",
6
6
  height: c = 96,
7
7
  children: m
@@ -14,7 +14,7 @@ const ne = ({
14
14
  ), j = "0", h = e(
15
15
  "sticky z-[299] mb-[-24px] flex items-center justify-between",
16
16
  "h-[96px]",
17
- o
17
+ n
18
18
  ), p = "0", k = `${c}px`, b = "sticky mx-2 block h-[24px] rounded-full shadow-[0_0_0_1px_rgba(0,0,0,.025),0_-8px_16px_-3px_rgba(0,0,0,.08)]", B = l ? `calc(${l} + ${c - 24}px)` : `${c - 24}px`;
19
19
  return /* @__PURE__ */ s.jsxs(
20
20
  "div",
@@ -58,7 +58,7 @@ const ne = ({
58
58
  }
59
59
  );
60
60
  };
61
- function F(l, o, i = {}) {
61
+ function F(l, n, i = {}) {
62
62
  l ? D.show(ce, {
63
63
  title: "Are you sure you want to leave this page?",
64
64
  prompt: /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
@@ -69,14 +69,14 @@ function F(l, o, i = {}) {
69
69
  cancelLabel: "Stay",
70
70
  okColor: "red",
71
71
  onOk: (c) => {
72
- o(), c == null || c.remove();
72
+ n(), c == null || c.remove();
73
73
  },
74
74
  ...i
75
- }) : o();
75
+ }) : n();
76
76
  }
77
- const oe = "bg-[rgba(98,109,121,0.2)] backdrop-blur-[3px]", W = ({
77
+ const ne = "bg-[rgba(98,109,121,0.2)] backdrop-blur-[3px]", W = ({
78
78
  size: l = "md",
79
- width: o,
79
+ width: n,
80
80
  height: i,
81
81
  testId: c,
82
82
  title: m,
@@ -105,10 +105,10 @@ const oe = "bg-[rgba(98,109,121,0.2)] backdrop-blur-[3px]", W = ({
105
105
  formSheet: M = !1,
106
106
  enableCMDS: Z = !0
107
107
  }) => {
108
- const H = O(), { setGlobalDirtyState: G } = te(), [I, Y] = U(!1);
108
+ const H = O(), { setGlobalDirtyState: I } = te(), [G, Y] = U(!1);
109
109
  $(() => {
110
- G(E);
111
- }, [E, G]), $(() => {
110
+ I(E);
111
+ }, [E, I]), $(() => {
112
112
  const r = (w) => {
113
113
  w.key === "Escape" && (document.activeElement && document.activeElement instanceof HTMLElement && document.activeElement.blur(), setTimeout(() => {
114
114
  N ? N() : F(E, () => {
@@ -163,10 +163,10 @@ const oe = "bg-[rgba(98,109,121,0.2)] backdrop-blur-[3px]", W = ({
163
163
  "relative z-50 mx-auto flex max-h-[100%] w-full flex-col justify-between overflow-x-hidden bg-white dark:bg-black",
164
164
  l !== "bleed" && "rounded",
165
165
  M ? "shadow-md" : "shadow-xl",
166
- V && !M && !I && "animate-modal-in",
167
- M && !I && "animate-modal-in-reverse",
166
+ V && !M && !G && "animate-modal-in",
167
+ M && !G && "animate-modal-in-reverse",
168
168
  R ? "overflow-y-auto" : "overflow-y-hidden"
169
- ), n = e(
169
+ ), o = e(
170
170
  "fixed inset-0 z-[1000] h-[100vh] w-[100vw]"
171
171
  ), d = "", t = e(
172
172
  !v || v === "close" ? "" : "flex items-center justify-between gap-5"
@@ -179,8 +179,8 @@ const oe = "bg-[rgba(98,109,121,0.2)] backdrop-blur-[3px]", W = ({
179
179
  a = e(
180
180
  a,
181
181
  "max-w-[480px]"
182
- ), n = e(
183
- n,
182
+ ), o = e(
183
+ o,
184
184
  "p-4 md:p-[8vmin]"
185
185
  ), d = "p-8", t = e(
186
186
  t,
@@ -191,8 +191,8 @@ const oe = "bg-[rgba(98,109,121,0.2)] backdrop-blur-[3px]", W = ({
191
191
  a = e(
192
192
  a,
193
193
  "max-w-[720px]"
194
- ), n = e(
195
- n,
194
+ ), o = e(
195
+ o,
196
196
  "p-4 md:p-[8vmin]"
197
197
  ), d = "p-8", t = e(
198
198
  t,
@@ -203,8 +203,8 @@ const oe = "bg-[rgba(98,109,121,0.2)] backdrop-blur-[3px]", W = ({
203
203
  a = e(
204
204
  a,
205
205
  "max-w-[1020px]"
206
- ), n = e(
207
- n,
206
+ ), o = e(
207
+ o,
208
208
  "p-4 md:p-[4vmin]"
209
209
  ), d = "p-7", t = e(
210
210
  t,
@@ -215,8 +215,8 @@ const oe = "bg-[rgba(98,109,121,0.2)] backdrop-blur-[3px]", W = ({
215
215
  a = e(
216
216
  a,
217
217
  "max-w-[1240px]0"
218
- ), n = e(
219
- n,
218
+ ), o = e(
219
+ o,
220
220
  "p-4 md:p-[3vmin]"
221
221
  ), d = "p-10", t = e(
222
222
  t,
@@ -227,8 +227,8 @@ const oe = "bg-[rgba(98,109,121,0.2)] backdrop-blur-[3px]", W = ({
227
227
  a = e(
228
228
  a,
229
229
  "h-full"
230
- ), n = e(
231
- n,
230
+ ), o = e(
231
+ o,
232
232
  "p-4 md:p-[3vmin]"
233
233
  ), d = "p-10", t = e(
234
234
  t,
@@ -245,8 +245,8 @@ const oe = "bg-[rgba(98,109,121,0.2)] backdrop-blur-[3px]", W = ({
245
245
  );
246
246
  break;
247
247
  default:
248
- n = e(
249
- n,
248
+ o = e(
249
+ o,
250
250
  "p-4 md:p-[8vmin]"
251
251
  ), d = "p-8", t = e(
252
252
  t,
@@ -263,8 +263,8 @@ const oe = "bg-[rgba(98,109,121,0.2)] backdrop-blur-[3px]", W = ({
263
263
  ), A = e(
264
264
  d,
265
265
  "py-0"
266
- ), n = e(
267
- n,
266
+ ), o = e(
267
+ o,
268
268
  "max-[800px]:!pb-20"
269
269
  );
270
270
  const ee = e(
@@ -278,7 +278,7 @@ const oe = "bg-[rgba(98,109,121,0.2)] backdrop-blur-[3px]", W = ({
278
278
  const se = (r) => {
279
279
  r.target === r.currentTarget && P && S();
280
280
  }, L = {};
281
- typeof o == "number" ? (L.width = "100%", L.maxWidth = o + "px") : o === "full" && (a = e(
281
+ typeof n == "number" ? (L.width = "100%", L.maxWidth = n + "px") : n === "full" && (a = e(
282
282
  a,
283
283
  "w-full"
284
284
  )), typeof i == "number" ? (L.height = "100%", L.maxHeight = i + "px") : i === "full" && (a = e(
@@ -289,16 +289,16 @@ const oe = "bg-[rgba(98,109,121,0.2)] backdrop-blur-[3px]", W = ({
289
289
  return u ? y = u : u === !1 ? A += " pb-0 " : y = /* @__PURE__ */ s.jsxs("div", { className: ee, children: [
290
290
  /* @__PURE__ */ s.jsx("div", { children: h && /* @__PURE__ */ s.jsx(K, { ...h }) }),
291
291
  /* @__PURE__ */ s.jsx("div", { className: "flex gap-3", children: /* @__PURE__ */ s.jsx(ae, { buttons: _ }) })
292
- ] }), y = z ? /* @__PURE__ */ s.jsx(ne, { height: 84, children: y }) : /* @__PURE__ */ s.jsx(s.Fragment, { children: y }), /* @__PURE__ */ s.jsxs("div", { className: n, id: "modal-backdrop", onMouseDown: se, children: [
292
+ ] }), y = z ? /* @__PURE__ */ s.jsx(oe, { height: 84, children: y }) : /* @__PURE__ */ s.jsx(s.Fragment, { children: y }), /* @__PURE__ */ s.jsxs("div", { className: o, id: "modal-backdrop", onMouseDown: se, children: [
293
293
  /* @__PURE__ */ s.jsx("div", { className: e(
294
294
  "pointer-events-none fixed inset-0 z-0",
295
- J && !M && oe,
295
+ J && !M && ne,
296
296
  M && "bg-[rgba(98,109,121,0.08)]"
297
297
  ) }),
298
298
  /* @__PURE__ */ s.jsxs("section", { className: a, "data-testid": c, style: L, children: [
299
299
  j === !1 ? "" : !v || v === "close" ? /* @__PURE__ */ s.jsxs("header", { className: t, children: [
300
300
  m && /* @__PURE__ */ s.jsx(T, { level: 3, children: m }),
301
- /* @__PURE__ */ s.jsx("div", { className: `${v !== "close" && "md:!invisible md:!hidden"} ${X && "hidden"} absolute right-6 top-6`, children: /* @__PURE__ */ s.jsx(K, { className: "-m-2 cursor-pointer p-2 opacity-50 hover:opacity-100", icon: "close", iconColorClass: "text-black dark:text-white", size: "sm", unstyled: !0, onClick: S }) })
301
+ /* @__PURE__ */ s.jsx("div", { className: `${v !== "close" && "md:!invisible md:!hidden"} ${X && "hidden"} absolute right-6 top-6`, children: /* @__PURE__ */ s.jsx(K, { className: "-m-2 cursor-pointer p-2 opacity-50 hover:opacity-100", icon: "close", iconColorClass: "text-black dark:text-white", size: "sm", testId: "close-modal", unstyled: !0, onClick: S }) })
302
302
  ] }) : /* @__PURE__ */ s.jsxs("header", { className: t, children: [
303
303
  m && /* @__PURE__ */ s.jsx(T, { level: 3, children: m }),
304
304
  v
@@ -309,7 +309,7 @@ const oe = "bg-[rgba(98,109,121,0.2)] backdrop-blur-[3px]", W = ({
309
309
  ] });
310
310
  }, ie = ({
311
311
  title: l = "Are you sure?",
312
- prompt: o,
312
+ prompt: n,
313
313
  cancelLabel: i = "Cancel",
314
314
  okLabel: c = "OK",
315
315
  okRunningLabel: m = "...",
@@ -343,11 +343,11 @@ const oe = "bg-[rgba(98,109,121,0.2)] backdrop-blur-[3px]", W = ({
343
343
  }
344
344
  k("");
345
345
  },
346
- children: /* @__PURE__ */ s.jsx("div", { className: "py-4 leading-9", children: o })
346
+ children: /* @__PURE__ */ s.jsx("div", { className: "py-4 leading-9", children: n })
347
347
  }
348
348
  );
349
349
  }, ce = D.create(ie), de = D.create(() => {
350
- const { updateRoute: l } = le(), o = D.useModal();
350
+ const { updateRoute: l } = le(), n = D.useModal();
351
351
  return /* @__PURE__ */ s.jsx(
352
352
  W,
353
353
  {
@@ -359,7 +359,7 @@ const oe = "bg-[rgba(98,109,121,0.2)] backdrop-blur-[3px]", W = ({
359
359
  size: "sm",
360
360
  title: "About",
361
361
  onOk: () => {
362
- l(""), o.remove();
362
+ l(""), n.remove();
363
363
  },
364
364
  children: /* @__PURE__ */ s.jsxs("div", { className: "mt-3 flex flex-col gap-4", children: [
365
365
  /* @__PURE__ */ s.jsx("p", { children: "You're looking at a React app inside Ghost Admin. It uses common AdminX framework and Design System packages, and works seamlessly with the current Admin's routing." }),
@@ -378,4 +378,4 @@ const oe = "bg-[rgba(98,109,121,0.2)] backdrop-blur-[3px]", W = ({
378
378
  export {
379
379
  me as default
380
380
  };
381
- //# sourceMappingURL=modals-f20fa267.mjs.map
381
+ //# sourceMappingURL=modals-e4b12fba.mjs.map
@@ -1,4 +1,4 @@
1
- import { a as ce, b as q, bW as Rt, bX as qn, e as wt, bY as _n, j as N, bZ as Hn, u as Vn, R as zn, q as Un, d as $n, H as Gn, c as Kn } from "./index-d65cac5f.mjs";
1
+ import { a as ce, b as q, bW as Rt, bX as qn, e as wt, bY as _n, j as N, bZ as Hn, u as Vn, R as zn, q as Un, d as $n, H as Gn, c as Kn } from "./index-99bd65a2.mjs";
2
2
  import { E as p, F as de, v as Ee, S as Re, o as d, w as qe, C as Jn, x as jn, y as Tt, z as Ot, A as Se, B as It, G as Pt, H as Wt, J as Ue, K as Xe, M as w, O as Z, g as et, b as $e, Q as Qn, R as ee, V as Ft, U as x, W as Yn, X as Zn, Y as ue, Z as L, _ as Xn, $ as er, a0 as tt, a1 as he, a2 as tr, a3 as nr, a4 as rr, a5 as or, a6 as ir, a7 as sr, a8 as lr, a9 as ar, aa as cr, ab as ur, ac as hr, ad as fr, ae as dr, af as mr, ag as Nt, ah as gr, ai as pr, aj as yr, ak as xr, al as kr, am as br, an as qt, ao as Sr, ap as Cr, t as f, aq as vr } from "./index-9cc1df42.mjs";
3
3
  const Ar = (t) => {
4
4
  let { state: e } = t, r = e.doc.lineAt(e.selection.main.from), n = rt(t.state, r.from);
@@ -2361,4 +2361,4 @@ const Ni = [
2361
2361
  export {
2362
2362
  Hi as default
2363
2363
  };
2364
- //# sourceMappingURL=CodeEditorView-84bd3824.mjs.map
2364
+ //# sourceMappingURL=CodeEditorView-c3b34635.mjs.map